/* ===== 黄豆短剧 - 主样式表 ===== */
/* 品牌配色：黑底 + 金黄色 */

:root {
    --primary: #F5C518;
    --primary-dark: #D4A800;
    --primary-light: #FFD633;
    --bg-dark: #0A0A0A;
    --bg-card: #151515;
    --bg-elevated: #1C1C1C;
    --text-primary: #FFFFFF;
    --text-secondary: #B0B0B0;
    --text-muted: #757575;
    --border: rgba(245, 197, 24, 0.15);
    --gold-gradient: linear-gradient(135deg, #FFD633 0%, #F5C518 50%, #D4A800 100%);
    --hero-gradient: radial-gradient(ellipse at top, rgba(245, 197, 24, 0.15) 0%, transparent 60%), #0A0A0A;
    --card-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius: 16px;
    --radius-sm: 10px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* ===== 导航栏 ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 18px 0;
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 12px 0;
    border-bottom-color: var(--border);
    background: rgba(10, 10, 10, 0.95);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
}

.logo-img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--gold-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-text {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-link {
    font-size: 15px;
    color: var(--text-secondary);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-gradient);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-download-btn {
    background: var(--gold-gradient);
    color: var(--bg-dark) !important;
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
}

.nav-download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(245, 197, 24, 0.4);
}

.nav-download-btn::after {
    display: none;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===== 首屏 Hero ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: var(--hero-gradient);
    z-index: 0;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(245, 197, 24, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-30px, 30px); }
}

.hero-container {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    padding: 8px 18px;
    background: rgba(245, 197, 24, 0.12);
    border: 1px solid rgba(245, 197, 24, 0.25);
    border-radius: 30px;
    font-size: 14px;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 28px;
}

.hero-title {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-title span {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 520px;
    line-height: 1.8;
}

.hero-meta {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 20px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 32px;
}

.meta-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.meta-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.meta-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    font-family: 'SF Mono', 'Consolas', monospace;
}

.meta-divider {
    width: 1px;
    height: 32px;
    background: var(--border);
}

.hero-stats {
    display: flex;
    gap: 36px;
    margin-bottom: 40px;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat strong {
    font-size: 24px;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat span {
    font-size: 13px;
    color: var(--text-muted);
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background: var(--gold-gradient);
    color: var(--bg-dark);
    box-shadow: 0 4px 20px rgba(245, 197, 24, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(245, 197, 24, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: rgba(245, 197, 24, 0.1);
    transform: translateY(-3px);
}

/* ===== 截图叠加 ===== */
.hero-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.phone-frame {
    position: relative;
    width: 300px;
    height: 600px;
    background: #1a1a1a;
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 0 2px rgba(245, 197, 24, 0.2);
}

.phone-notch {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 28px;
    background: #000;
    border-radius: 0 0 18px 18px;
    z-index: 10;
}

.screenshot-stack {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 28px;
    overflow: hidden;
    background: #000;
}

.shot {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(0.85) rotateY(15deg);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.shot.active {
    opacity: 1;
    transform: scale(1) rotateY(0);
    pointer-events: auto;
}

.shot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
}

/* 鼠标悬停切换 */
.shot:hover {
    transform: scale(1.02);
}

.shot-indicators {
    display: flex;
    gap: 12px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(245, 197, 24, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    width: 32px;
    border-radius: 5px;
    background: var(--gold-gradient);
}

/* ===== Section 通用 ===== */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(245, 197, 24, 0.1);
    border: 1px solid rgba(245, 197, 24, 0.2);
    border-radius: 20px;
    font-size: 13px;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.section-tag.light {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
}

.section-title {
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.section-title.light {
    color: #fff;
}

.highlight {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-sub {
    font-size: 16px;
    color: var(--text-secondary);
}

/* ===== 功能优点 ===== */
.features {
    padding: 120px 0;
    background: var(--bg-dark);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    padding: 40px 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gold-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(245, 197, 24, 0.4);
    box-shadow: var(--card-shadow);
    background: var(--bg-elevated);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 20px;
    display: block;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== 用户评价 ===== */
.reviews {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, #0f0f0f 100%);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.review-card {
    padding: 36px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
}

.review-card:hover {
    transform: translateY(-4px);
    border-color: rgba(245, 197, 24, 0.3);
}

.review-stars {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.review-text {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
    font-style: italic;
}

.review-user {
    display: flex;
    align-items: center;
    gap: 14px;
}

.avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gold-gradient);
    color: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
}

.user-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.user-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.user-tag {
    font-size: 12px;
    color: var(--text-muted);
}

/* ===== FAQ ===== */
.faq {
    padding: 120px 0;
    background: var(--bg-dark);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active {
    border-color: rgba(245, 197, 24, 0.4);
    background: var(--bg-elevated);
}

.faq-question {
    width: 100%;
    padding: 24px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
}

.faq-icon {
    font-size: 24px;
    color: var(--primary);
    flex-shrink: 0;
    transition: var(--transition);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(245, 197, 24, 0.1);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    background: var(--primary);
    color: var(--bg-dark);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer p {
    padding: 0 28px 24px;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.8;
}

/* ===== 下载模块 ===== */
.download {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

.download-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #1a1500 0%, #0A0A0A 50%, #1a1500 100%);
    z-index: 0;
}

.download-bg::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(245, 197, 24, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.download-container {
    position: relative;
    z-index: 1;
    text-align: center;
}

.download-content {
    max-width: 600px;
    margin: 0 auto;
}

.download-desc {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 48px;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}

.dl-btn {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 22px 36px;
    border-radius: var(--radius);
    transition: var(--transition);
    min-width: 240px;
}

.dl-android {
    background: var(--gold-gradient);
    color: var(--bg-dark);
    box-shadow: 0 8px 32px rgba(245, 197, 24, 0.35);
}

.dl-ios {
    background: #fff;
    color: #000;
    box-shadow: 0 8px 32px rgba(255, 255, 255, 0.15);
}

.dl-btn:hover {
    transform: translateY(-6px) scale(1.02);
}

.dl-android:hover {
    box-shadow: 0 16px 48px rgba(245, 197, 24, 0.5);
}

.dl-ios:hover {
    box-shadow: 0 16px 48px rgba(255, 255, 255, 0.25);
}

.dl-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dl-icon svg {
    width: 40px;
    height: 40px;
}

.dl-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-align: left;
}

.dl-label {
    font-size: 18px;
    font-weight: 700;
}

.dl-sub {
    font-size: 13px;
    opacity: 0.7;
}

.download-meta {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    padding-top: 28px;
    border-top: 1px solid var(--border);
    font-size: 14px;
    color: var(--text-secondary);
}

/* ===== Footer ===== */
.footer {
    padding: 60px 0 30px;
    background: #050505;
    border-top: 1px solid var(--border);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo-img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--gold-gradient);
}

.footer-brand-name {
    font-size: 18px;
    font-weight: 700;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-links {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    font-size: 14px;
    color: var(--text-secondary);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-copy {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    width: 100%;
}

.footer-copy p {
    font-size: 13px;
    color: var(--text-muted);
}

.footer-icp {
    margin-top: 4px;
    font-size: 12px !important;
}

/* ===== 返回顶部 ===== */
.back-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gold-gradient);
    color: var(--bg-dark);
    font-size: 20px;
    font-weight: 700;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 4px 20px rgba(245, 197, 24, 0.4);
}

.back-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-top:hover {
    transform: translateY(-4px);
}

/* ===== Reveal 动画 ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .hero-container {
        gap: 40px;
    }

    .phone-frame {
        width: 260px;
        height: 520px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-elevated);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 32px 32px;
        gap: 24px;
        transition: var(--transition);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    }

    .nav-menu.open {
        right: 0;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }

    .hero-left {
        order: 2;
    }

    .hero-right {
        order: 1;
    }

    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-meta {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .features,
    .reviews,
    .faq,
    .download {
        padding: 80px 0;
    }

    .section-header {
        margin-bottom: 48px;
    }

    .dl-btn {
        min-width: 100%;
        justify-content: center;
    }

    .phone-frame {
        width: 240px;
        height: 480px;
    }

    .back-top {
        bottom: 20px;
        right: 20px;
        width: 42px;
        height: 42px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }

    .hero-meta {
        flex-direction: column;
        gap: 16px;
        padding: 20px;
    }

    .meta-divider {
        width: 100%;
        height: 1px;
    }

    .hero-stats {
        gap: 20px;
    }

    .download-buttons {
        flex-direction: column;
        gap: 16px;
    }

    .phone-frame {
        width: 220px;
        height: 440px;
    }
}
