/*
Theme Name: Suno Prompt Tool
Author: 猫头鹰AI音乐训练营
Description: A clean, light-themed WordPress block theme for showcasing the Suno Prompt Tool product page. Features a refined black-white-gray palette with modern typography, subtle card designs, and a professional tech aesthetic.
Version: 0.2.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: suno-prompt-tool
Tags: block-theme, full-site-editing
*/

/* === Global Resets === */
.wp-site-blocks > * + * {
    margin-block-start: 0;
}

.wp-site-blocks > footer {
    margin-block-start: 0;
}

/* === Sticky Header === */
.site-header-group {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.site-header-group .wp-block-navigation a {
    color: #86868B;
    font-weight: 400;
    font-size: 15px;
    letter-spacing: 0.01em;
    transition: color 0.3s ease;
    text-decoration: none;
}

.site-header-group .wp-block-navigation a:hover {
    color: #1D1D1F;
}

.site-header-group .wp-block-site-title a {
    text-decoration: none;
    font-weight: 800;
    font-size: 20px;
    letter-spacing: 0.02em;
    color: #1D1D1F;
}

/* === Site Logo === */
.owl-logo-icon img {
    width: 64px !important;
    height: 64px !important;
    object-fit: contain;
    display: block;
}

.owl-logo-icon {
    margin: 0 !important;
}

.owl-logo-icon figure {
    margin: 0;
}

.wp-block-site-logo img {
    object-fit: contain;
}

/* === Hero Section === */
.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-section .wp-block-cover__inner-container {
    z-index: 10;
    position: relative;
}

.hero-title {
    color: #1D1D1F !important;
    -webkit-text-fill-color: #1D1D1F;
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    text-shadow: none;
    filter: none;
}

.hero-subtitle {
    letter-spacing: 0.06em;
}

.hero-cta .wp-block-button__link {
    background: #1D1D1F !important;
    color: #FFFFFF !important;
    border-radius: 999px !important;
    padding: 18px 48px !important;
    font-weight: 600;
    font-size: 18px;
    letter-spacing: 0.02em;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    border: none;
}

.hero-cta .wp-block-button__link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
    background: #3A3A3C !important;
}

/* === Feature Cards === */
.equal-cards > .wp-block-column {
    display: flex;
    flex-direction: column;
    flex-grow: 0;
}

.equal-cards > .wp-block-column > .wp-block-group {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.feature-card {
    background: #FFFFFF !important;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    animation: none;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.02) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 0, 0, 0.12);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.feature-card:hover::before {
    opacity: 1;
}

/* === Showcase Section === */
.showcase-section {
    position: relative;
    overflow: hidden;
}

.showcase-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at 30% 50%, rgba(0, 0, 0, 0.02) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 50%, rgba(0, 0, 0, 0.01) 0%, transparent 50%);
    pointer-events: none;
}

.screenshot-frame {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.4s ease;
    height: 100%;
}

.screenshot-frame:hover {
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.12);
}

.screenshot-frame .wp-block-image {
    height: 100%;
}

.screenshot-frame .wp-block-image img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

/* === Testimonials === */
.testimonial-card {
    background: #FFFFFF !important;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.testimonial-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.testimonial-card:hover {
    border-color: rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.testimonial-card:hover::after {
    opacity: 1;
}

.quote-mark {
    color: #C7C7CC;
    -webkit-text-fill-color: #C7C7CC;
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
}

/* === CTA Section === */
.cta-section {
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.01);
    border-radius: 24px;
    pointer-events: none;
}

.cta-button .wp-block-button__link {
    background: #1D1D1F !important;
    color: #FFFFFF !important;
    border-radius: 999px !important;
    padding: 16px 40px !important;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: none;
}

.cta-button .wp-block-button__link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    background: #3A3A3C !important;
}

.cta-outline .wp-block-button__link {
    background: transparent !important;
    border: 1px solid rgba(0, 0, 0, 0.15) !important;
    border-radius: 999px !important;
    padding: 16px 40px !important;
    font-weight: 500;
    font-size: 16px;
    color: #86868B !important;
    transition: all 0.3s ease;
}

.cta-outline .wp-block-button__link:hover {
    border-color: #1D1D1F !important;
    color: #1D1D1F !important;
    background: rgba(0, 0, 0, 0.02) !important;
}

/* === Stats === */
.stat-value {
    color: #1D1D1F;
    -webkit-text-fill-color: #1D1D1F;
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
}

/* === Footer === */
.site-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.site-footer a {
    color: #86868B;
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-footer a:hover {
    color: #1D1D1F;
}

/* === Gradient Divider === */
.gradient-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.08), transparent);
    border: none;
}

/* === Animations === */
@keyframes float-up {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* === Hero Brand Icons === */
.hero-brand-icon img {
    width: 60px !important;
    height: 60px !important;
    object-fit: contain;
    display: block;
    border-radius: 12px;
}

.hero-brand-icon {
    margin: 0 !important;
}

.hero-brand-icon figure {
    margin: 0;
}

/* === Platform Icons === */
.platform-icon-circle {
    margin: 0 !important;
}

.platform-link:hover {
    border-color: #1D1D1F !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

/* === Platform Upload Icons === */
.platform-upload-icon img {
    width: 52px !important;
    height: 52px !important;
    object-fit: contain;
    display: block;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
}

.platform-upload-icon img:hover {
    border-color: #1D1D1F;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.platform-upload-icon {
    margin: 0 !important;
}

.platform-upload-icon figure {
    margin: 0;
}

/* === Feature Card Icons === */
.feature-card svg {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* === Responsive === */
@media (max-width: 768px) {
    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem) !important;
    }
}

/* === Scrollbar === */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #F5F5F7;
}

::-webkit-scrollbar-thumb {
    background: #C7C7CC;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #86868B;
}