/* ========================
   空空の无尽冬日自动化脚本 - 官网样式
   ======================== */

:root {
    --primary: #7c3aed;
    --primary-light: #8b5cf6;
    --primary-dark: #6d28d9;
    --accent-pink: #ec4899;
    --accent-cyan: #06b6d4;
    --accent-amber: #f59e0b;
    --bg: #0f0a1e;
    --bg-light: #16102c;
    --bg-card: rgba(255, 255, 255, 0.04);
    --bg-card-hover: rgba(255, 255, 255, 0.08);
    --text: #f8fafc;
    --text-muted: #94a3b8;
    --text-dim: #64748b;
    --border: rgba(255, 255, 255, 0.1);
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 40px rgba(124, 58, 237, 0.35);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========================
   导航栏
   ======================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(15, 10, 30, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.25rem;
}

.logo-icon {
    font-size: 1.5rem;
    filter: drop-shadow(0 0 8px rgba(124, 58, 237, 0.5));
}

.logo-text {
    background: linear-gradient(135deg, #fff 0%, #c4b5fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover {
    color: var(--text);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-light), var(--accent-pink));
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #fff !important;
    padding: 8px 20px;
    border-radius: 100px;
    box-shadow: 0 4px 16px rgba(124, 58, 237, 0.35);
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(124, 58, 237, 0.5);
}

.nav-qq {
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 18px !important;
    border-radius: 100px !important;
    transition: var(--transition) !important;
}

.nav-qq::after {
    display: none !important;
}

.nav-qq:hover {
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(255, 255, 255, 0.35) !important;
    transform: translateY(-2px);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ========================
   Hero 区域
   ======================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 140px 0 100px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.55;
    animation: float 10s ease-in-out infinite;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, var(--primary), var(--accent-pink));
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--accent-cyan), var(--primary-light));
    bottom: -80px;
    left: -80px;
    animation-delay: -5s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -30px) scale(1.05); }
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 28px;
    backdrop-filter: blur(10px);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 12px #22c55e;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent-pink) 50%, var(--accent-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.2vw, 1.25rem);
    color: var(--text-muted);
    max-width: 680px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #fff;
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(124, 58, 237, 0.55);
}

.btn-glow {
    position: relative;
}

.btn-glow::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 100px;
    background: linear-gradient(135deg, var(--primary-light), var(--accent-pink), var(--accent-cyan));
    z-index: -1;
    opacity: 0.6;
    filter: blur(12px);
    animation: glow 3s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.02); }
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text);
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-white {
    background: #fff;
    color: var(--primary-dark);
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.2);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--primary-light);
}

.btn-outline-white {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.2);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.05rem;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fff 0%, #c4b5fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* ========================
   信任条
   ======================== */
.trust-bar {
    padding: 30px 0;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    text-align: center;
}

.trust-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.trust-tags {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.trust-tag {
    padding: 6px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ========================
   通用区域标题
   ======================== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header.light .section-title,
.section-header.light .section-desc {
    color: #fff;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(124, 58, 237, 0.15);
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-light);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto;
}

/* ========================
   截图展示
   ======================== */
.showcase {
    padding: 120px 0;
}

.showcase-frame {
    position: relative;
    background: linear-gradient(145deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 48px 16px 16px;
    box-shadow: var(--shadow-glow), var(--shadow-md);
    overflow: hidden;
    transform: perspective(1200px) rotateX(2deg);
    transition: var(--transition);
}

.showcase-frame:hover {
    transform: perspective(1200px) rotateX(0deg) translateY(-8px);
    box-shadow: 0 0 60px rgba(124, 58, 237, 0.45), var(--shadow-md);
}

.window-controls {
    position: absolute;
    top: 18px;
    left: 20px;
    display: flex;
    gap: 8px;
}

.window-controls span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.window-controls span:nth-child(1) { background: #ff5f57; }
.window-controls span:nth-child(2) { background: #febc2e; }
.window-controls span:nth-child(3) { background: #28c840; }

.showcase-carousel {
    position: relative;
    overflow: hidden;
    /* 默认比例兜底; JS 会根据第一张图片实际宽高比自动修正 */
    aspect-ratio: 16 / 9;
    background: rgba(0, 0, 0, .25);
}

.showcase-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

/* 多图轮播: 图片绝对定位叠层, 进出双向滑动, 丝滑过渡 */
.showcase-carousel .showcase-img {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transform: translateX(100%);
    pointer-events: none;
    transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1),
                opacity 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}
/* 当前图: 归位显示 */
.showcase-carousel .showcase-img.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
    z-index: 2;
}
/* 即将离场的旧图: 向左滑出 */
.showcase-carousel .showcase-img.leaving {
    opacity: 1;
    transform: translateX(-100%);
    z-index: 1;
}
/* 手动反向切换: 新图从右进、旧图向右出 */
.showcase-carousel .showcase-img.prev-mode {
    transform: translateX(-100%);
}
.showcase-carousel .showcase-img.prev-mode.leaving {
    transform: translateX(100%);
}

.showcase-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 14px 0 2px;
}

.showcase-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    cursor: pointer;
    transition: var(--transition);
}

.showcase-dot:hover {
    background: rgba(255, 255, 255, 0.5);
}

.showcase-dot.active {
    width: 22px;
    border-radius: 100px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
}

.showcase-caption {
    display: flex;
    justify-content: space-between;
    padding: 14px 8px 0;
    font-size: 0.85rem;
    color: var(--text-dim);
}

/* ========================
   核心功能
   ======================== */
.features {
    padding: 100px 0;
    background: var(--bg-light);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--icon-color, var(--primary-light)), transparent);
    opacity: 0;
    transition: var(--transition);
}

.feature-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.15);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--icon-color, var(--primary-light));
    margin-bottom: 20px;
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
}

.feature-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ========================
   工作流程
   ======================== */
.workflow {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg) 100%);
    position: relative;
}

.workflow-steps {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.step-card {
    flex: 1;
    min-width: 260px;
    max-width: 340px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 36px 28px;
    text-align: center;
    transition: var(--transition);
}

.step-card:hover {
    transform: translateY(-6px);
    background: var(--bg-card-hover);
}

.step-number {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-light), var(--accent-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
    line-height: 1;
}

.step-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.step-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

.step-arrow {
    display: flex;
    align-items: center;
    color: var(--primary-light);
    opacity: 0.6;
}

/* ========================
   使用教程
   ======================== */
.guide {
    padding: 120px 0;
}

.guide-block {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 40px 36px;
    margin-bottom: 28px;
    transition: var(--transition);
}

.guide-block:hover {
    background: var(--bg-card-hover);
}

.guide-block-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.guide-block-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary), var(--accent-pink));
    color: #fff;
    font-size: 1.1rem;
    font-weight: 800;
    border-radius: 12px;
    flex-shrink: 0;
}

.guide-block-header h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text);
}

.guide-mode-tag {
    display: inline-block;
    padding: 4px 14px;
    background: rgba(124, 58, 237, 0.15);
    color: var(--primary-light);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-left: auto;
}

.guide-steps {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.guide-step {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.guide-step:hover {
    background: rgba(255, 255, 255, 0.05);
}

.guide-step-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(124, 58, 237, 0.2);
    color: var(--primary-light);
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 10px;
    flex-shrink: 0;
}

.guide-step-content h4 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}

.guide-step-content p {
    color: var(--text-muted);
    font-size: 0.93rem;
    line-height: 1.7;
}

.guide-tips {
    border-color: rgba(245, 158, 11, 0.3);
    background: rgba(245, 158, 11, 0.04);
}

.guide-tips:hover {
    background: rgba(245, 158, 11, 0.07);
}

.guide-tips .guide-block-header h3 {
    color: var(--accent-amber);
}

.guide-notice {
    margin-top: 36px;
    padding: 20px 28px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}

.guide-notice p {
    color: var(--text-dim);
    font-size: 0.88rem;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .guide-block {
        padding: 28px 20px;
    }

    .guide-block-header {
        gap: 10px;
    }

    .guide-mode-tag {
        margin-left: 0;
        margin-top: 4px;
    }

    .guide-step {
        padding: 14px 16px;
    }
}

/* ========================
   价格
   ======================== */
.pricing {
    padding: 120px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 960px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 40px 32px;
    position: relative;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-6px);
    background: var(--bg-card-hover);
}

.pricing-card.featured {
    background: linear-gradient(145deg, rgba(124, 58, 237, 0.15), rgba(236, 72, 153, 0.08));
    border-color: rgba(124, 58, 237, 0.4);
    transform: scale(1.03);
    box-shadow: var(--shadow-glow);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-6px);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent-pink) 100%);
    color: #fff;
    padding: 6px 18px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
}

.pricing-header {
    text-align: center;
    margin-bottom: 28px;
}

.pricing-header h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--text-muted);
}

.pricing-price {
    font-size: 3rem;
    font-weight: 900;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 2px;
}

.currency {
    font-size: 1.5rem;
    margin-top: 8px;
}

.period {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 500;
    align-self: flex-end;
    margin-bottom: 10px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 32px;
    flex: 1;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    color: var(--text-muted);
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.pricing-features li svg {
    color: var(--primary-light);
    flex-shrink: 0;
}

.pricing-card .btn {
    width: 100%;
}

/* ========================
   FAQ
   ======================== */
.faq {
    padding: 120px 0;
    background: var(--bg-light);
}

.faq-list {
    max-width: 760px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active {
    background: var(--bg-card-hover);
    border-color: rgba(124, 58, 237, 0.3);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 24px;
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
}

.faq-question span {
    padding-right: 16px;
}

.faq-icon {
    flex-shrink: 0;
    transition: var(--transition);
    color: var(--text-muted);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--primary-light);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 24px 24px;
    color: var(--text-muted);
    line-height: 1.8;
}

/* ========================
   下载 CTA
   ======================== */
.download {
    padding: 120px 0;
}

.download-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, #4c1d95 100%);
    border-radius: var(--radius-lg);
    padding: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-glow);
}

.download-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
    pointer-events: none;
}

.download-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.download-content h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.download-content > p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 32px;
    max-width: 520px;
}

.download-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.download-meta {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    font-size: 0.9rem;
    opacity: 0.75;
}

.download-qr {
    flex-shrink: 0;
    text-align: center;
    position: relative;
    z-index: 1;
}

.qr-img {
    width: 140px;
    height: 140px;
    border-radius: var(--radius-md);
    background: #fff;
    padding: 8px;
    margin-bottom: 12px;
}

.qr-fallback {
    width: 140px;
    height: 140px;
    background: rgba(255, 255, 255, 0.15);
    border: 2px dashed rgba(255, 255, 255, 0.4);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    backdrop-filter: blur(10px);
}

.qr-fallback span {
    font-size: 0.85rem;
    opacity: 0.8;
}

.download-qr p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* ========================
   页脚
   ======================== */
.footer {
    padding: 80px 0 32px;
    background: rgba(0, 0, 0, 0.25);
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 280px;
}

.footer-links h4 {
    font-size: 1rem;
    margin-bottom: 20px;
    color: var(--text);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-links a {
    color: var(--text-muted);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid var(--border);
    color: var(--text-dim);
    font-size: 0.85rem;
}

.footer-bottom p {
    margin-bottom: 6px;
}

/* 备案信息: 居中、不抢眼、与版权说明分隔 */
.footer-beian {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: var(--text-dim);
    font-size: 0.8rem;
    line-height: 1.6;
}

.footer-beian a,
.footer-beian .beian-sep {
    white-space: nowrap;
    color: var(--text-dim);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-beian a:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

.footer-beian .beian-icon {
    width: 16px;
    height: 16px;
    display: inline-block;
    vertical-align: middle;
    margin: 0 2px;
}

/* ========================
   悬浮下载按钮
   ======================== */
/* 站点顶部公告(后台配置 site_notice) */
.site-notice {
    background: linear-gradient(90deg, rgba(124,58,237,0.15), rgba(56,189,248,0.15));
    color: #e6e8ee;
    text-align: center;
    font-size: 0.85rem;
    padding: 8px 16px;
    border-bottom: 1px solid rgba(124,58,237,0.3);
}

.float-download {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 24px rgba(124, 58, 237, 0.5);
    z-index: 999;
    transition: var(--transition);
    animation: float-btn 3s ease-in-out infinite;
}

.float-download:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 32px rgba(124, 58, 237, 0.65);
}

@keyframes float-btn {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* ========================
   滚动动画
   ======================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ========================
   响应式
   ======================== */
@media (max-width: 992px) {
    .download-card {
        flex-direction: column;
        text-align: center;
        padding: 48px 32px;
    }

    .download-buttons {
        justify-content: center;
    }

    .download-meta {
        justify-content: center;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: 16px;
        right: 16px;
        flex-direction: column;
        gap: 8px;
        background: rgba(15, 10, 30, 0.98);
        border: 1px solid var(--border);
        border-radius: var(--radius-md);
        padding: 16px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: var(--transition);
        box-shadow: var(--shadow-md);
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 12px;
        text-align: center;
    }

    .nav-cta {
        margin-top: 8px;
    }

    .mobile-toggle {
        display: flex;
    }

    .hero {
        padding: 120px 0 80px;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
        margin: 0 auto 48px;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-stats {
        gap: 32px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .workflow-steps {
        flex-direction: column;
        align-items: center;
    }

    .step-arrow {
        transform: rotate(90deg);
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
    }

    .pricing-card.featured {
        transform: none;
    }

    .pricing-card.featured:hover {
        transform: translateY(-6px);
    }

    .download-card {
        padding: 40px 24px;
    }

    .download-buttons {
        flex-direction: column;
    }

    .download-buttons .btn {
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .showcase-frame {
        transform: none;
    }

    .showcase-frame:hover {
        transform: translateY(-6px);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .feature-card,
    .pricing-card,
    .step-card {
        padding: 24px;
    }

    .download-card {
        padding: 32px 20px;
    }

    .download-content h2 {
        font-size: 1.6rem;
    }
}
