/* ========================================
   MIYU AI - 样式文件
   主题配色：粉紫色浪漫渐变风格
   ======================================== */

/* ---------- CSS Reset & 基础变量 ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* 主题色 - 粉紫渐变系 */
    --primary: #e91e8c;
    --primary-light: #ff6b9d;
    --primary-dark: #c2185b;
    --secondary: #9c27b0;
    --secondary-light: #ce93d8;
    --accent: #7c4dff;
    --accent-soft: #b388ff;

    /* 渐变 */
    --gradient-primary: linear-gradient(135deg, #ff6b9d 0%, #e91e8c 50%, #9c27b0 100%);
    --gradient-soft: linear-gradient(135deg, #ffe0ec 0%, #f3e5f5 50%, #ede7f6 100%);
    --gradient-btn: linear-gradient(135deg, #ff6b9d 0%, #e91e8c 40%, #9c27b0 100%);
    --gradient-btn-hover: linear-gradient(135deg, #ff8fb1 0%, #f06292 40%, #ba68c8 100%);
    --gradient-text: linear-gradient(135deg, #e91e8c 0%, #9c27b0 50%, #7c4dff 100%);

    /* 中性色 */
    --text-primary: #1a1a2e;
    --text-secondary: #4a4a68;
    --text-muted: #8e8ea8;
    --bg-primary: #ffffff;
    --bg-secondary: #faf7fc;
    --bg-tertiary: #f5f0fa;
    --border-color: #ece4f2;

    /* 功能色 */
    --success: #4caf50;
    --warning: #ff9800;
    --error: #f44336;
    --info: #2196f3;

    /* 阴影 */
    --shadow-sm: 0 2px 8px rgba(233, 30, 140, 0.08);
    --shadow-md: 0 8px 24px rgba(233, 30, 140, 0.12);
    --shadow-lg: 0 16px 48px rgba(156, 39, 176, 0.18);
    --shadow-xl: 0 24px 64px rgba(156, 39, 176, 0.25);
    --shadow-btn: 0 8px 24px rgba(233, 30, 140, 0.35);
    --shadow-btn-hover: 0 12px 32px rgba(233, 30, 140, 0.5);

    /* 圆角 */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 999px;

    /* 过渡 */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

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

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

code {
    font-family: "SF Mono", "Consolas", "Liberation Mono", monospace;
    background: var(--bg-tertiary);
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    font-size: 0.9em;
    color: var(--primary-dark);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

/* ---------- 按钮组件 ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: all var(--transition-normal);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

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

.btn-primary:hover {
    background: var(--gradient-btn-hover);
    box-shadow: var(--shadow-btn-hover);
    transform: translateY(-2px);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.85);
    color: var(--primary);
    border: 2px solid var(--primary-light);
    backdrop-filter: blur(10px);
}

.btn-ghost:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 16px;
}

.btn-xl {
    padding: 22px 48px;
    font-size: 18px;
}

.btn-download {
    background: var(--gradient-btn);
    color: #fff;
    box-shadow: var(--shadow-xl);
    flex-direction: column;
    gap: 4px;
    padding: 20px 56px;
    min-width: 320px;
    position: relative;
    animation: pulseGlow 2.5s ease-in-out infinite;
}

.btn-download:hover {
    background: var(--gradient-btn-hover);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 32px 80px rgba(233, 30, 140, 0.45);
}

.btn-text-main {
    font-size: 18px;
    font-weight: 700;
}

.btn-text-sub {
    font-size: 13px;
    font-weight: 400;
    opacity: 0.9;
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: var(--shadow-xl);
    }
    50% {
        box-shadow: 0 24px 72px rgba(233, 30, 140, 0.45),
                    0 0 40px rgba(233, 30, 140, 0.3);
    }
}

/* ---------- 顶部导航 ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: all var(--transition-normal);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    border-bottom-color: var(--border-color);
    box-shadow: var(--shadow-sm);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.logo-img {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--gradient-primary);
    box-shadow: var(--shadow-md);
}

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

.nav-link {
    padding: 10px 18px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
}

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

.nav-download {
    background: var(--gradient-btn);
    color: #fff !important;
    padding: 10px 24px;
    box-shadow: var(--shadow-btn);
    margin-left: 8px;
}

.nav-download:hover {
    background: var(--gradient-btn-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-btn-hover);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    height: 2.5px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* ---------- Hero 首屏 ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    padding: 120px 0 80px;
    background: var(--gradient-soft);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.bg-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: blobFloat 20s ease-in-out infinite;
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #ff8fb1, #e91e8c);
    top: -150px;
    right: -100px;
    animation-delay: 0s;
}

.blob-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #ce93d8, #9c27b0);
    bottom: -100px;
    left: -100px;
    animation-delay: -7s;
}

.blob-3 {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, #b388ff, #7c4dff);
    top: 40%;
    left: 50%;
    animation-delay: -14s;
}

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

.hero-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    min-height: calc(100vh - 200px);
}

.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(233, 30, 140, 0.15);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(233, 30, 140, 0.5);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(233, 30, 140, 0);
    }
}

.hero-title {
    font-size: clamp(40px, 6vw, 64px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 16px;
}

.title-gradient {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    animation: textShimmer 4s ease-in-out infinite;
    background-size: 200% auto;
}

@keyframes textShimmer {
    0%, 100% {
        background-position: 0% center;
    }
    50% {
        background-position: 100% center;
    }
}

.hero-subtitle {
    font-size: clamp(20px, 2.5vw, 26px);
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

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

.hero-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 18px 28px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    margin-bottom: 32px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.meta-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    flex: 1;
    min-width: 0;
}

.meta-label {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

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

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

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

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

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

.stat-num {
    font-size: 28px;
    font-weight: 800;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-text {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}

/* ---------- 截图展示区 ---------- */
.hero-screenshots {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
    animation: fadeInRight 1s ease-out;
}

.screenshot-stack {
    position: relative;
    width: 100%;
    max-width: 380px;
    height: 620px;
}

.screenshot {
    position: absolute;
    width: 280px;
    height: 560px;
    border-radius: 36px;
    padding: 10px;
    background: #fff;
    box-shadow: var(--shadow-lg);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, box-shadow;
}

.screenshot-1 {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) rotate(0deg) scale(1);
    z-index: 3;
}

.screenshot-2 {
    left: 0;
    top: 50%;
    transform: translate(0, -50%) rotate(-8deg) scale(0.9);
    z-index: 2;
    opacity: 0.9;
}

.screenshot-3 {
    right: 0;
    top: 50%;
    transform: translate(0, -50%) rotate(8deg) scale(0.9);
    z-index: 2;
    opacity: 0.9;
}

.screenshot-stack:hover .screenshot-1 {
    transform: translate(-50%, -50%) scale(1.03);
    box-shadow: var(--shadow-xl);
}

.screenshot-stack:hover .screenshot-2 {
    transform: translate(-30px, -55%) rotate(-12deg) scale(0.88);
}

.screenshot-stack:hover .screenshot-3 {
    transform: translate(30px, -55%) rotate(12deg) scale(0.88);
}

.screenshot-frame {
    width: 100%;
    height: 100%;
    border-radius: 28px;
    overflow: hidden;
    position: relative;
}

.screenshot-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 40px 24px;
    position: relative;
    overflow: hidden;
}

.screenshot-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: rgba(0, 0, 0, 0.04);
}

.screenshot-placeholder::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 5px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 3px;
    bottom: 16px;
}

.screenshot-placeholder-1 {
    background: linear-gradient(160deg, #ffe0ec 0%, #ffc8dd 50%, #f3e5f5 100%);
}

.screenshot-placeholder-2 {
    background: linear-gradient(160deg, #f3e5f5 0%, #e1bee7 50%, #ede7f6 100%);
}

.screenshot-placeholder-3 {
    background: linear-gradient(160deg, #ede7f6 0%, #d1c4e9 50%, #ffe0ec 100%);
}

.sp-icon {
    font-size: 72px;
    line-height: 1;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.1));
    animation: iconFloat 3s ease-in-out infinite;
}

.screenshot-2 .sp-icon { animation-delay: -1s; }
.screenshot-3 .sp-icon { animation-delay: -2s; }

@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}

.sp-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
}

.sp-desc {
    font-size: 14px;
    color: var(--text-secondary);
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: var(--radius-full);
    backdrop-filter: blur(10px);
}

.screenshot-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(233, 30, 140, 0.2) 0%, transparent 70%);
    z-index: 0;
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

/* 滚动提示 */
.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 500;
    z-index: 2;
    animation: fadeIn 1.5s ease-out 1s both;
}

.scroll-line {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, var(--primary), transparent);
    border-radius: 1px;
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: -40px;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, #fff, transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0% {
        top: -40px;
    }
    100% {
        top: 40px;
    }
}

/* ---------- Section 通用 ---------- */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    padding: 6px 18px;
    background: var(--bg-tertiary);
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(30px, 4vw, 42px);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 17px;
    color: var(--text-muted);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ---------- 功能特点 ---------- */
.features {
    padding: 120px 0;
    background: var(--bg-primary);
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

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

.feature-card {
    padding: 36px 28px;
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

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

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    background: #fff;
    border-color: transparent;
}

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

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-bottom: 24px;
    transition: transform var(--transition-normal);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(-5deg);
}

.feature-icon-1 { background: linear-gradient(135deg, #ff6b9d, #e91e8c); }
.feature-icon-2 { background: linear-gradient(135deg, #e91e8c, #9c27b0); }
.feature-icon-3 { background: linear-gradient(135deg, #9c27b0, #7c4dff); }
.feature-icon-4 { background: linear-gradient(135deg, #7c4dff, #536dfe); }
.feature-icon-5 { background: linear-gradient(135deg, #ff6b9d, #9c27b0); }
.feature-icon-6 { background: linear-gradient(135deg, #9c27b0, #e91e8c); }

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

.feature-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.75;
}

/* ---------- 用户评价 ---------- */
.reviews {
    padding: 120px 0;
    background: var(--bg-secondary);
    position: relative;
}

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

.review-card {
    padding: 32px 28px;
    background: #fff;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    position: relative;
}

.review-card::after {
    content: '"';
    position: absolute;
    top: 16px;
    right: 24px;
    font-size: 80px;
    font-family: Georgia, serif;
    color: var(--primary-light);
    opacity: 0.15;
    line-height: 1;
    pointer-events: none;
}

.review-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.review-avatar {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}

.avatar-1 { background: linear-gradient(135deg, #ff6b9d, #e91e8c); }
.avatar-2 { background: linear-gradient(135deg, #9c27b0, #7c4dff); }
.avatar-3 { background: linear-gradient(135deg, #7c4dff, #536dfe); }
.avatar-4 { background: linear-gradient(135deg, #e91e8c, #9c27b0); }
.avatar-5 { background: linear-gradient(135deg, #ff8fb1, #ff6b9d); }
.avatar-6 { background: linear-gradient(135deg, #ce93d8, #9c27b0); }

.review-stars {
    font-size: 18px;
    color: #ffc107;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.review-text {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.review-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

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

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

/* ---------- FAQ 常见问题 ---------- */
.faq {
    padding: 120px 0;
    background: var(--bg-primary);
}

.faq-list {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal);
}

.faq-item:hover {
    border-color: var(--primary-light);
    background: #fff;
}

.faq-item.active {
    background: #fff;
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    padding: 22px 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);
    transition: color var(--transition-fast);
}

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

.faq-arrow {
    flex-shrink: 0;
    color: var(--primary);
    transition: transform var(--transition-normal);
}

.faq-item.active .faq-arrow {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-slow), padding var(--transition-slow);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

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

/* ---------- 下载 CTA ---------- */
.download-section {
    padding: 100px 0;
    background: var(--gradient-soft);
    position: relative;
    overflow: hidden;
}

.download-section::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    top: -300px;
    right: -200px;
    background: radial-gradient(circle, rgba(233, 30, 140, 0.12), transparent 70%);
    border-radius: 50%;
}

.download-section::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    bottom: -250px;
    left: -150px;
    background: radial-gradient(circle, rgba(156, 39, 176, 0.12), transparent 70%);
    border-radius: 50%;
}

.download-card {
    position: relative;
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 80px 40px;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

.download-bg-effect {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, rgba(233, 30, 140, 0.05), rgba(156, 39, 176, 0.05), rgba(124, 77, 255, 0.05), rgba(233, 30, 140, 0.05));
    animation: rotateBg 30s linear infinite;
    pointer-events: none;
}

@keyframes rotateBg {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

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

.download-logo {
    margin-bottom: 28px;
    display: flex;
    justify-content: center;
}

.download-logo-img {
    width: 96px;
    height: 96px;
    border-radius: 28px;
    background: var(--gradient-primary);
    box-shadow: var(--shadow-lg);
    animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

.download-title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.2;
}

.download-desc {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.7;
}

.download-info {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 40px;
}

.info-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
}

.pill-icon {
    font-size: 16px;
}

.download-btn-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.download-tip {
    font-size: 14px;
    color: var(--text-muted);
    display: inline-block;
    padding: 8px 16px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
}

/* ---------- 移动端底部悬浮下载栏 ---------- */
.mobile-download-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-color);
    z-index: 999;
}

.btn-mobile-download {
    width: 100%;
    padding: 14px 24px;
    font-size: 16px;
    justify-content: center;
}

/* ---------- 页脚 ---------- */
.footer {
    background: var(--text-primary);
    color: rgba(255, 255, 255, 0.8);
    padding: 64px 0 24px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-logo {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--gradient-primary);
}

.footer-slogan {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-col h4 {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
}

.footer-col a {
    display: block;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    padding: 6px 0;
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    padding-top: 24px;
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}

/* ---------- 动画 ---------- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* ---------- 响应式：平板 ---------- */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 48px;
        min-height: auto;
    }

    .hero-content {
        text-align: center;
        order: 1;
    }

    .hero-screenshots {
        order: 2;
        min-height: 480px;
    }

    .hero-meta,
    .hero-actions,
    .hero-stats {
        justify-content: center;
    }

    .hero-stats {
        text-align: center;
    }

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

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* ---------- 响应式：手机 ---------- */
@media (max-width: 768px) {
    .container,
    .nav-container,
    .hero-container {
        padding-left: 20px;
        padding-right: 20px;
    }

    /* 导航 */
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 16px;
        border-bottom: 1px solid var(--border-color);
        transform: translateY(-120%);
        transition: transform var(--transition-normal);
        box-shadow: var(--shadow-md);
    }

    .nav-menu.active {
        transform: translateY(0);
    }

    .nav-link {
        padding: 14px 20px;
        border-radius: var(--radius-md);
        text-align: center;
    }

    .nav-download {
        margin: 8px 0 0;
    }

    /* Hero */
    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .hero-meta {
        gap: 12px;
        padding: 16px 20px;
        flex-wrap: wrap;
    }

    .meta-divider {
        display: none;
    }

    .meta-item {
        flex: 1 1 calc(33.33% - 12px);
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-stats {
        gap: 24px;
        flex-wrap: wrap;
    }

    /* 截图 */
    .screenshot-stack {
        max-width: 300px;
        height: 500px;
    }

    .screenshot {
        width: 230px;
        height: 460px;
    }

    .sp-icon {
        font-size: 56px;
    }

    .sp-title {
        font-size: 18px;
    }

    /* Sections */
    .features,
    .reviews,
    .faq,
    .download-section {
        padding: 80px 0;
    }

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

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

    .feature-card,
    .review-card {
        padding: 28px 24px;
    }

    /* FAQ */
    .faq-question {
        padding: 18px 20px;
        font-size: 15px;
    }

    .faq-answer p {
        padding: 0 20px 20px;
    }

    /* Download */
    .download-card {
        padding: 56px 24px;
    }

    .btn-download {
        min-width: 100%;
        width: 100%;
        padding: 18px 32px;
    }

    .btn-text-main {
        font-size: 16px;
    }

    .btn-text-sub {
        font-size: 12px;
    }

    .download-info {
        gap: 10px;
    }

    .info-pill {
        padding: 8px 14px;
        font-size: 13px;
    }

    /* Footer */
    .footer {
        padding-bottom: calc(90px + env(safe-area-inset-bottom));
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }

    /* 移动端底部悬浮栏显示 */
    .mobile-download-bar {
        display: block;
    }

    .scroll-indicator {
        display: none;
    }
}

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

    .hero-subtitle {
        font-size: 19px;
    }

    .hero-desc {
        font-size: 15px;
    }

    .section-title {
        font-size: 28px;
    }

    .section-subtitle {
        font-size: 15px;
    }

    .screenshot-stack {
        max-width: 260px;
        height: 440px;
    }

    .screenshot {
        width: 200px;
        height: 400px;
        border-radius: 30px;
    }

    .sp-icon {
        font-size: 48px;
    }

    .sp-title {
        font-size: 16px;
    }

    .sp-desc {
        font-size: 12px;
        padding: 4px 12px;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }
}

/* ---------- 滚动条美化 ---------- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--secondary-light);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-light);
}

/* 禁用动画（无障碍偏好） */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}
