/* ============ 基础变量 ============ */
:root {
    --bg: #0f0a1e;
    --bg-soft: #15102a;
    --bg-card: #1a1430;
    --bg-card-2: #221a3d;
    --primary: #a855f7;
    --primary-2: #ec4899;
    --accent: #f472b6;
    --text: #ffffff;
    --text-soft: #b8b3cc;
    --text-dim: #7a7290;
    --border: rgba(168, 85, 247, 0.18);
    --gradient: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
    --gradient-soft: linear-gradient(135deg, rgba(168,85,247,0.15) 0%, rgba(236,72,153,0.15) 100%);
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 10px 40px rgba(168, 85, 247, 0.35);
    --radius: 16px;
    --radius-lg: 24px;
    --maxw: 1200px;
}

/* ============ 重置 ============ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

.container {
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 24px;
}

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

/* ============ 导航栏 ============ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.35s ease;
    padding: 18px 0;
}

.navbar.scrolled {
    background: rgba(15, 10, 30, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
}

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

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

.brand-logo {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    object-fit: cover;
}

.brand-name {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.5px;
}

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

.nav-link {
    padding: 8px 16px;
    color: var(--text-soft);
    font-size: 15px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.25s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--text);
    background: rgba(168, 85, 247, 0.1);
}

.nav-cta {
    background: var(--gradient);
    color: #fff !important;
    font-weight: 600;
    box-shadow: 0 6px 20px rgba(236, 72, 153, 0.35);
}

.nav-cta:hover {
    background: var(--gradient);
    transform: translateY(-1px);
    box-shadow: 0 8px 26px rgba(236, 72, 153, 0.5);
}

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

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

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

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.5;
    animation: floatBlob 18s ease-in-out infinite;
}

.blob-1 {
    width: 520px; height: 520px;
    background: #a855f7;
    top: -120px; left: -120px;
}

.blob-2 {
    width: 460px; height: 460px;
    background: #ec4899;
    bottom: -140px; right: -100px;
    animation-delay: -6s;
}

.blob-3 {
    width: 380px; height: 380px;
    background: #6366f1;
    top: 40%; left: 45%;
    animation-delay: -12s;
    opacity: 0.35;
}

@keyframes floatBlob {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(40px, -30px) scale(1.08); }
    66% { transform: translate(-30px, 40px) scale(0.95); }
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 60px;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    background: rgba(168, 85, 247, 0.12);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 13px;
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 24px;
}

.badge .dot {
    width: 7px; height: 7px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(244, 114, 182, 0.7);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(244, 114, 182, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(244, 114, 182, 0); }
    100% { box-shadow: 0 0 0 0 rgba(244, 114, 182, 0); }
}

.hero-title {
    font-size: clamp(34px, 5.2vw, 60px);
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 22px;
}

.hero-desc {
    font-size: 17px;
    color: var(--text-soft);
    max-width: 560px;
    margin-bottom: 30px;
}

.hero-meta {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-bottom: 34px;
    flex-wrap: wrap;
}

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

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

.meta-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
}

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

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient);
    color: #fff;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 44px rgba(236, 72, 153, 0.5);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-ghost:hover {
    background: rgba(168, 85, 247, 0.12);
    border-color: var(--primary);
}

/* ============ 截图叠加展示 ============ */
.hero-showcase {
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shots-stack {
    position: relative;
    width: 100%;
    max-width: 420px;
    height: 480px;
}

.shot {
    position: absolute;
    width: 260px;
    height: 420px;
    border-radius: 22px;
    overflow: hidden;
    background: var(--gradient-soft);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: transform 0.5s cubic-bezier(.22,1,.36,1);
}

.shot::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(168,85,247,0.25) 0%, rgba(236,72,153,0.4) 100%);
    z-index: 0;
}

.shot img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.shot figcaption {
    position: relative;
    z-index: 2;
    padding: 16px 18px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(0deg, rgba(0,0,0,0.55), transparent);
    text-align: center;
}

.shot-1 {
    left: 0;
    top: 30px;
    transform: rotate(-7deg) translateY(0);
    animation: floatShot 7s ease-in-out infinite;
}

.shot-2 {
    left: 50%;
    top: 0;
    transform: translateX(-50%) rotate(2deg) translateY(0);
    animation: floatShot 7s ease-in-out infinite -2.3s;
    z-index: 2;
}

.shot-3 {
    right: 0;
    top: 50px;
    transform: rotate(7deg) translateY(0);
    animation: floatShot 7s ease-in-out infinite -4.6s;
}

@keyframes floatShot {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -18px; }
}

.shots-stack:hover .shot-1 { transform: rotate(-10deg) translateX(-12px); }
.shots-stack:hover .shot-3 { transform: rotate(10deg) translateX(12px); }
.shots-stack:hover .shot-2 { transform: translateX(-50%) translateY(-10px) rotate(2deg); }

.scroll-hint {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    width: 26px;
    height: 42px;
    border: 2px solid var(--text-dim);
    border-radius: 14px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
    z-index: 2;
}

.scroll-hint span {
    width: 4px;
    height: 8px;
    background: var(--accent);
    border-radius: 2px;
    animation: scrollDot 1.8s infinite;
}

@keyframes scrollDot {
    0% { opacity: 0; transform: translateY(-4px); }
    50% { opacity: 1; }
    100% { opacity: 0; transform: translateY(12px); }
}

/* ============ 通用 Section ============ */
.section {
    padding: 100px 0;
    position: relative;
}

.section-alt {
    background: var(--bg-soft);
}

.section-head {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--accent);
    padding: 5px 14px;
    border: 1px solid var(--border);
    border-radius: 100px;
    margin-bottom: 18px;
    background: rgba(168, 85, 247, 0.08);
}

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

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

/* ============ 功能卡片 ============ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 34px 28px;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(236, 72, 153, 0.4);
    background: var(--bg-card-2);
    box-shadow: var(--shadow-glow);
}

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

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--gradient-soft);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin-bottom: 20px;
}

.feature-icon svg { width: 28px; height: 28px; }

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--text-soft);
    font-size: 15px;
}

/* ============ 用户评价 ============ */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.review-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 30px 28px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.review-card:hover {
    transform: translateY(-4px);
    border-color: rgba(236, 72, 153, 0.35);
    box-shadow: var(--shadow-glow);
}

.stars {
    color: #fbbf24;
    font-size: 16px;
    letter-spacing: 2px;
}

.review-text {
    color: var(--text-soft);
    font-size: 15px;
    flex: 1;
    line-height: 1.75;
}

.reviewer {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.reviewer .avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff;
    font-size: 16px;
}

.reviewer strong {
    display: block;
    font-size: 15px;
    color: var(--text);
}

.reviewer small {
    color: var(--text-dim);
    font-size: 13px;
}

/* ============ FAQ ============ */
.faq-list {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.faq-item:hover { border-color: rgba(236, 72, 153, 0.3); }

.faq-item.active {
    border-color: var(--primary);
    background: var(--bg-card-2);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    transition: color 0.25s ease;
}

.faq-question:hover { color: var(--accent); }

.faq-icon {
    position: relative;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
}

.faq-icon::before,
.faq-icon::after {
    content: "";
    position: absolute;
    background: var(--accent);
    border-radius: 2px;
    transition: transform 0.3s ease;
}

.faq-icon::before {
    top: 50%; left: 0;
    width: 18px; height: 2px;
    transform: translateY(-50%);
}

.faq-icon::after {
    left: 50%; top: 0;
    width: 2px; height: 18px;
    transform: translateX(-50%);
}

.faq-item.active .faq-icon::after {
    transform: translateX(-50%) scaleY(0);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 320px;
    padding: 0 24px 22px;
}

.faq-answer p {
    color: var(--text-soft);
    font-size: 15px;
    line-height: 1.8;
}

/* ============ FAQ 到下载区间距压缩 ============ */
.section:has(+ #download),
.section#faq {
    padding-bottom: 50px;
}

/* ============ 下载区 ============ */
.download-section {
    padding: 50px 0 90px;
}

.download-card {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 32px;
    padding: 44px 40px 40px;
    overflow: hidden;
}

.download-glow {
    position: absolute;
    top: -70%; left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(236,72,153,0.22) 0%, rgba(168,85,247,0.1) 40%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.download-card > * { position: relative; z-index: 1; }

.download-title {
    font-size: clamp(28px, 4.2vw, 44px);
    font-weight: 800;
    margin: 10px 0 12px;
    letter-spacing: -0.5px;
}

.download-desc {
    color: var(--text-soft);
    font-size: 15px;
    margin-bottom: 28px;
    line-height: 1.7;
}

.download-meta {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 26px;
    flex-wrap: wrap;
}

.download-meta-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 12px 22px;
    background: var(--gradient-soft);
    border: 1px solid var(--border);
    border-radius: 14px;
    min-width: 130px;
}

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

.download-meta-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 44px;
    background: var(--gradient);
    color: #fff;
    border-radius: 100px;
    font-size: 17px;
    font-weight: 700;
    box-shadow: 0 14px 44px rgba(236, 72, 153, 0.45);
    transition: all 0.3s ease;
    position: relative;
    animation: btnPulse 2.5s ease-in-out infinite;
}

@keyframes btnPulse {
    0%, 100% { box-shadow: 0 14px 44px rgba(236, 72, 153, 0.45); }
    50% { box-shadow: 0 14px 64px rgba(236, 72, 153, 0.7); }
}

.btn-download:hover {
    transform: translateY(-3px) scale(1.03);
}

.download-info {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px solid var(--border);
}

.download-info span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-soft);
    font-size: 13px;
}

.download-info svg { color: #34d399; }

/* ============ 页脚 ============ */
.footer {
    background: var(--bg-soft);
    border-top: 1px solid var(--border);
    padding: 50px 0 36px;
    text-align: center;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 18px;
}

.footer-brand .brand-name {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-text {
    color: var(--text-soft);
    font-size: 15px;
}

.footer-copy {
    color: var(--text-dim);
    font-size: 13px;
    margin-top: 8px;
}

/* ============ 滚动渐入动画 ============ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.22,1,.36,1);
}

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

/* ============ 响应式 ============ */
@media (max-width: 980px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .hero-showcase {
        order: -1;
        min-height: 420px;
    }

    .shots-stack {
        max-width: 360px;
        height: 420px;
        margin: 0 auto;
    }

    .shot { width: 220px; height: 360px; }

    .features-grid,
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 720px) {
    .menu-toggle { display: flex; }

    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: 78%;
        max-width: 320px;
        height: 100vh;
        background: rgba(15, 10, 30, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        padding: 90px 24px 30px;
        gap: 6px;
        transform: translateX(100%);
        transition: transform 0.35s ease;
        border-left: 1px solid var(--border);
    }

    .nav-menu.open { transform: translateX(0); }

    .nav-link {
        padding: 14px 18px;
        font-size: 16px;
        border-radius: 10px;
    }

    .nav-cta {
        margin-top: 10px;
        text-align: center;
        justify-content: center;
    }

    .hero { padding: 110px 0 60px; }

    .hero-meta { gap: 14px; }
    .meta-divider { display: none; }

    .section { padding: 70px 0; }

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

    .download-section { padding: 40px 0 70px; }

    .download-card { padding: 36px 22px 32px; }

    .download-meta {
        gap: 12px;
        margin-bottom: 22px;
    }

    .download-meta-item {
        min-width: calc(50% - 6px);
        padding: 10px 14px;
    }

    .btn-download {
        padding: 17px 34px;
        font-size: 16px;
        width: 100%;
        justify-content: center;
    }

    .download-info { gap: 14px; }
}

@media (max-width: 420px) {
    .shots-stack { height: 380px; }
    .shot { width: 190px; height: 320px; }
    .hero-actions .btn { flex: 1; justify-content: center; }
}
