/* ============================================================
   幸福工厂服务器管理器 · 设计系统 v2
   灵感来源：WorkBuddy 官网（青绿+紫渐变 / 数黑体 / 毛玻璃）
             3DApollo（明暗双主题切换 / 极简卡片）
   ============================================================ */

/* ---------- 字体 ---------- */
@font-face {
    font-family: 'AlimamaShuHeiTi';
    src: url('https://acc-1258344699.cos.accelerate.myqcloud.com/web/website/assets/AlimamaShuHeiTi-Bold.woff2') format('woff2');
    font-weight: 700;
    font-display: swap;
}
@font-face {
    font-family: 'AlimamaFangYuanTi';
    src: url('https://acc-1258344699.cos.accelerate.myqcloud.com/web/website/assets/AlimamaFangYuanTiVF-Thin.woff2') format('woff2');
    font-weight: 300;
    font-display: swap;
}

/* ---------- 主题变量（亮色默认） ---------- */
:root {
    --brand: #28B894;
    --brand-bright: #32E6B9;
    --brand-dark: #14947A;
    --brand-soft: rgba(40, 184, 148, 0.12);
    --accent: #6C4DFF;
    --accent-soft: rgba(108, 77, 255, 0.12);

    --bg: #F8F9FA;
    --bg-2: #FFFFFF;
    --bg-3: #EEF9F7;
    --bg-hero: #191A23;
    --card-bg: #FFFFFF;
    --card-border: #E8E9EF;
    --text-strong: #191A23;
    --text-body: #4B4D5A;
    --text-muted: #858699;
    --text-invert: #F5F7FA;

    --gradient-brand: linear-gradient(135deg, #28B894 0%, #32E6B9 45%, #6C4DFF 110%);
    --gradient-hero: linear-gradient(160deg, #1E2333 0%, #191A23 55%, #101427 100%);
    --hero-glow-1: rgba(50, 230, 185, 0.22);
    --hero-glow-2: rgba(108, 77, 255, 0.24);

    --shadow-sm: 0 1px 2px rgba(25, 26, 35, 0.04), 0 1px 3px rgba(25, 26, 35, 0.06);
    --shadow-md: 0 6px 16px rgba(25, 26, 35, 0.08);
    --shadow-lg: 0 16px 40px rgba(25, 26, 35, 0.12);
    --shadow-brand: 0 8px 24px rgba(40, 184, 148, 0.28);

    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    --font-display: 'AlimamaShuHeiTi', 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    --font-body: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', 'Cascadia Code', Consolas, 'Courier New', monospace;

    --navbar-bg: rgba(255, 255, 255, 0.78);
    --navbar-border: rgba(25, 26, 35, 0.08);
    --code-bg: #1E2333;
    --code-text: #D6E3E0;
    --grid-line: rgba(25, 26, 35, 0.045);
}

/* ---------- 主题变量（暗色） ---------- */
[data-theme="dark"] {
    --brand: #32E6B9;
    --brand-bright: #5CF2CC;
    --brand-dark: #28B894;
    --brand-soft: rgba(50, 230, 185, 0.14);
    --accent: #8B7DFF;
    --accent-soft: rgba(139, 125, 255, 0.14);

    --bg: #0D0D0F;
    --bg-2: #16161A;
    --bg-3: #101D1B;
    --bg-hero: #0A0A0D;
    --card-bg: #16161A;
    --card-border: #26262E;
    --text-strong: #F5F7FA;
    --text-body: #C2C4D0;
    --text-muted: #858699;
    --text-invert: #191A23;

    --gradient-brand: linear-gradient(135deg, #32E6B9 0%, #28B894 45%, #8B7DFF 110%);
    --gradient-hero: linear-gradient(160deg, #131722 0%, #0A0A0D 55%, #0E0B1E 100%);
    --hero-glow-1: rgba(50, 230, 185, 0.16);
    --hero-glow-2: rgba(139, 125, 255, 0.18);

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3), 0 1px 3px rgba(0, 0, 0, 0.35);
    --shadow-md: 0 6px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.5);
    --shadow-brand: 0 8px 24px rgba(50, 230, 185, 0.18);

    --navbar-bg: rgba(13, 13, 15, 0.72);
    --navbar-border: rgba(255, 255, 255, 0.08);
    --code-bg: #12151F;
    --code-text: #B9D8CF;
    --grid-line: rgba(255, 255, 255, 0.045);
}

/* ---------- 基础 ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text-body);
    line-height: 1.75;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    transition: background 0.35s ease, color 0.35s ease;
}
img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--brand-bright); }
h1, h2, h3, h4, h5 { font-family: var(--font-display); color: var(--text-strong); font-weight: 700; line-height: 1.3; }
::selection { background: rgba(40, 184, 148, 0.25); }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------- 顶部导航（毛玻璃） ---------- */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--navbar-bg);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    border-bottom: 1px solid var(--navbar-border);
    transition: background 0.35s ease, border-color 0.35s ease;
}
.navbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--text-strong); }
.brand img { height: 32px; width: 32px; border-radius: 8px; object-fit: contain; }
.brand .logo-dark { display: none; }
[data-theme="dark"] .brand .logo-light { display: none; }
[data-theme="dark"] .brand .logo-dark { display: inline-block; }
.brand .brand-sub { font-size: 0.72rem; font-weight: 400; color: var(--text-muted); font-family: var(--font-body); margin-left: 2px; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links a {
    display: block;
    padding: 8px 14px;
    border-radius: 999px;
    color: var(--text-body);
    font-size: 0.92rem;
    font-weight: 500;
    transition: all 0.2s;
}
.nav-links a:hover { color: var(--brand); background: var(--brand-soft); }
.nav-links a.active { color: var(--brand); background: var(--brand-soft); font-weight: 600; }
.nav-right { display: flex; align-items: center; gap: 12px; }

/* 主题切换按钮 */
.theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--card-border);
    background: var(--card-bg);
    color: var(--text-strong);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s;
}
.theme-toggle:hover { border-color: var(--brand); color: var(--brand); transform: rotate(15deg); }
.theme-toggle .fa-sun { display: none; }
[data-theme="dark"] .theme-toggle .fa-sun { display: inline; }
[data-theme="dark"] .theme-toggle .fa-moon { display: none; }

.nav-cta {
    padding: 9px 20px;
    border-radius: 999px;
    background: var(--gradient-brand);
    color: #fff !important;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: var(--shadow-brand);
    transition: transform 0.2s, box-shadow 0.2s;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(40, 184, 148, 0.35); }

/* 汉堡菜单 */
.nav-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border: none;
    background: none;
    color: var(--text-strong);
    font-size: 1.3rem;
    cursor: pointer;
}

/* 移动端菜单内下载按钮（桌面隐藏） */
.nav-mobile-cta { display: none; }
.nav-cta-in-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px !important;
    border-radius: var(--radius-sm);
    background: var(--gradient-brand);
    color: #fff !important;
    font-size: 0.95rem;
    font-weight: 600;
    box-shadow: var(--shadow-brand);
    text-align: center;
}
.nav-cta-in-menu:hover { color: #fff; background: var(--gradient-brand); }

/* ---------- Hero ---------- */
.home-hero {
    position: relative;
    overflow: hidden;
    background: var(--gradient-hero);
    color: var(--text-invert);
    padding: 108px 0 120px;
}
.home-hero::before {
    content: '';
    position: absolute;
    width: 640px;
    height: 640px;
    top: -180px;
    left: -120px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--hero-glow-1), transparent 65%);
    filter: blur(10px);
    pointer-events: none;
}
.home-hero::after {
    content: '';
    position: absolute;
    width: 720px;
    height: 720px;
    bottom: -260px;
    right: -160px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--hero-glow-2), transparent 65%);
    filter: blur(10px);
    pointer-events: none;
}
.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
    pointer-events: none;
}
.hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 56px;
    align-items: center;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    margin-bottom: 24px;
    backdrop-filter: blur(8px);
}
.hero-badge .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brand-bright);
    box-shadow: 0 0 0 4px rgba(50, 230, 185, 0.18);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(50, 230, 185, 0.18); }
    50% { box-shadow: 0 0 0 8px rgba(50, 230, 185, 0.05); }
}
.hero-title {
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    font-family: var(--font-display);
    color: #fff;
    line-height: 1.18;
    letter-spacing: 0.01em;
    margin-bottom: 20px;
}
.hero-title .grad {
    background: linear-gradient(120deg, #32E6B9 0%, #6C4DFF 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.hero-sub {
    color: rgba(255, 255, 255, 0.66);
    font-size: 1.05rem;
    max-width: 520px;
    margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.25s;
    font-family: var(--font-body);
}
.btn-primary {
    background: var(--gradient-brand);
    color: #fff;
    box-shadow: 0 10px 30px rgba(40, 184, 148, 0.35);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(40, 184, 148, 0.45); color: #fff; }
.btn-ghost {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.32); color: #fff; }

/* Hero 右侧截图卡片 */
.hero-visual { position: relative; }
.hero-shot {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: var(--code-bg);
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.45);
    transform: perspective(1200px) rotateY(-6deg) rotateX(2deg);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    animation: float 6s ease-in-out infinite;
}
.hero-shot:hover { transform: perspective(1200px) rotateY(-2deg) rotateX(0deg); }
@keyframes float {
    0%, 100% { margin-top: 0; }
    50% { margin-top: -12px; }
}
.hero-shot img { width: 100%; }
.hero-shot-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.hero-shot-bar span {
    width: 10px; height: 10px; border-radius: 50%;
}
.hero-shot-bar .dot-r { background: #FF5F57; }
.hero-shot-bar .dot-y { background: #FEBC2E; }
.hero-shot-bar .dot-g { background: #28C840; }
.hero-shot-bar .shot-title {
    margin-left: 10px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.75rem;
    font-family: var(--font-mono);
}
.hero-stats-card {
    position: absolute;
    bottom: -22px;
    left: -20px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    box-shadow: var(--shadow-lg);
    display: flex;
    gap: 20px;
    backdrop-filter: blur(12px);
}
.hero-stats-card .hs-item { text-align: center; }
.hero-stats-card .hs-num {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-strong);
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-stats-card .hs-label { font-size: 0.72rem; color: var(--text-muted); }

/* ---------- 统计条 ---------- */
.stats-bar {
    background: var(--card-bg);
    border-bottom: 1px solid var(--card-border);
}
.stats-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 28px 24px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.stat-item {
    text-align: center;
    padding: 12px;
    border-radius: var(--radius-md);
    transition: background 0.2s;
}
.stat-item:hover { background: var(--bg-3); }
.stat-num {
    font-family: var(--font-display);
    font-size: 1.9rem;
    font-weight: 700;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    line-height: 1.2;
}
.stat-label { font-size: 0.88rem; color: var(--text-muted); margin-top: 4px; }

/* ---------- 通用 Section ---------- */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-3); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--brand);
    margin-bottom: 12px;
}
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: 14px; }
.section-head p { color: var(--text-muted); font-size: 0.98rem; }

/* 渐变边框卡片 */
.g-card {
    position: relative;
    border-radius: var(--radius-lg);
    background:
        linear-gradient(var(--card-bg), var(--card-bg)) padding-box,
        linear-gradient(180deg, rgba(40, 184, 148, 0.28), rgba(40, 184, 148, 0.06) 30%, rgba(108, 77, 255, 0.14) 100%) border-box;
    border: 1px solid transparent;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.g-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

/* ---------- Bento 功能网格 ---------- */
.bento {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
}
.bento-card {
    position: relative;
    border-radius: var(--radius-lg);
    padding: 30px;
    background:
        linear-gradient(var(--card-bg), var(--card-bg)) padding-box,
        linear-gradient(180deg, rgba(40, 184, 148, 0.22), rgba(40, 184, 148, 0.05) 35%, rgba(108, 77, 255, 0.12) 100%) border-box;
    border: 1px solid transparent;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.bento-card::after {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--brand-soft), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}
.bento-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.bento-card:hover::after { opacity: 1; }
.bento-card .b-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 18px;
    background: var(--brand-soft);
    color: var(--brand);
}
.bento-card .b-icon.alt { background: var(--accent-soft); color: var(--accent); }
.bento-card h3 { font-size: 1.12rem; margin-bottom: 8px; }
.bento-card p { font-size: 0.9rem; color: var(--text-muted); }
.bento-6 { grid-column: span 6; }
.bento-4 { grid-column: span 4; }
.bento-12 { grid-column: span 12; }

/* ---------- 界面预览 ---------- */
.preview-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.preview-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background:
        linear-gradient(var(--card-bg), var(--card-bg)) padding-box,
        linear-gradient(180deg, rgba(40, 184, 148, 0.25), rgba(40, 184, 148, 0.05) 40%, rgba(108, 77, 255, 0.15) 100%) border-box;
    border: 1px solid transparent;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s, box-shadow 0.3s;
}
.preview-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.preview-card .shot { position: relative; overflow: hidden; }
.preview-card .shot img {
    transition: transform 0.45s ease;
    width: 100%;
    aspect-ratio: 16/9.6;
    object-fit: cover;
    object-position: top;
}
.preview-card:hover .shot img { transform: scale(1.04); }
.preview-card .shot::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(13, 13, 15, 0.35));
    pointer-events: none;
}
.preview-meta { padding: 18px 22px 20px; }
.preview-meta h3 { font-size: 1.02rem; margin-bottom: 4px; }
.preview-meta p { font-size: 0.85rem; color: var(--text-muted); }

/* ---------- 下载 CTA ---------- */
.cta-band {
    border-radius: var(--radius-xl);
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
    padding: 72px 48px;
    text-align: center;
    color: #fff;
}
.cta-band::before {
    content: '';
    position: absolute;
    width: 420px; height: 420px;
    top: -160px; right: -100px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--hero-glow-1), transparent 65%);
    pointer-events: none;
}
.cta-band::after {
    content: '';
    position: absolute;
    width: 460px; height: 460px;
    bottom: -200px; left: -120px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--hero-glow-2), transparent 65%);
    pointer-events: none;
}
.cta-band h2 {
    font-size: clamp(1.6rem, 3.2vw, 2.2rem);
    color: #fff;
    margin-bottom: 12px;
    position: relative;
    z-index: 2;
}
.cta-band p { color: rgba(255, 255, 255, 0.68); margin-bottom: 32px; position: relative; z-index: 2; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 2; }

/* ---------- 页脚 ---------- */
.footer {
    background: var(--bg-hero);
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0;
}
.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 56px 24px 32px;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 40px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand img { height: 30px; width: 30px; border-radius: 6px; object-fit: contain; }
.footer-brand span { font-family: var(--font-display); color: #fff; font-size: 1.05rem; }
.footer-col h4 { color: #fff; font-size: 0.95rem; margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(255, 255, 255, 0.6); font-size: 0.88rem; }
.footer-col a:hover { color: var(--brand-bright); }
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 0 28px;
    text-align: center;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ---------- 子页面 Hero ---------- */
.page-hero {
    position: relative;
    background: var(--gradient-hero);
    overflow: hidden;
    padding: 76px 0 84px;
    color: #fff;
}
.page-hero::before {
    content: '';
    position: absolute;
    width: 480px; height: 480px;
    top: -160px; right: -80px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--hero-glow-2), transparent 65%);
    pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin-bottom: 12px; }
.page-hero p { color: rgba(255, 255, 255, 0.65); max-width: 640px; font-size: 0.98rem; }
.page-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 16px;
}
.page-breadcrumb a { color: rgba(255, 255, 255, 0.7); }
.page-breadcrumb a:hover { color: var(--brand-bright); }
.page-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------- 功能卡片网格（子页） ---------- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.feature-card {
    border-radius: var(--radius-lg);
    padding: 28px;
    background:
        linear-gradient(var(--card-bg), var(--card-bg)) padding-box,
        linear-gradient(180deg, rgba(40, 184, 148, 0.2), rgba(40, 184, 148, 0.04) 40%, rgba(108, 77, 255, 0.12) 100%) border-box;
    border: 1px solid transparent;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s, box-shadow 0.3s;
}
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.feature-icon {
    width: 48px; height: 48px;
    border-radius: 13px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.15rem;
    margin-bottom: 16px;
    background: var(--brand-soft);
    color: var(--brand);
}
.feature-icon--violet { background: var(--accent-soft); color: var(--accent); }
.feature-card h4 { font-size: 1rem; margin-bottom: 6px; }
.feature-card p { font-size: 0.86rem; color: var(--text-muted); }

/* ---------- 步骤 / 时间线 ---------- */
.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    counter-reset: step;
}
.step-card {
    position: relative;
    border-radius: var(--radius-lg);
    padding: 30px 26px;
    background:
        linear-gradient(var(--card-bg), var(--card-bg)) padding-box,
        linear-gradient(180deg, rgba(40, 184, 148, 0.2), rgba(40, 184, 148, 0.04) 40%, rgba(108, 77, 255, 0.12) 100%) border-box;
    border: 1px solid transparent;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s, box-shadow 0.3s;
}
.step-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.step-num {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    line-height: 1;
    margin-bottom: 12px;
}
.step-card h4 { font-size: 1rem; margin-bottom: 6px; }
.step-card p { font-size: 0.86rem; color: var(--text-muted); }

/* ---------- 折叠面板（FAQ / 版本记录） ---------- */
.accordion {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.accordion-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--card-bg);
    border: 1px solid rgba(40, 184, 148, 0.15);
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.3s;
}
.accordion-item[open] { box-shadow: var(--shadow-md); }
.accordion-item summary {
    padding: 16px 22px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-strong);
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.2s;
}
.accordion-item summary::-webkit-details-marker { display: none; }
.accordion-item summary::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-left: auto;
    font-size: 0.8rem;
    color: var(--text-muted);
    transition: transform 0.25s;
}
.accordion-item[open] summary::after { transform: rotate(180deg); color: var(--brand); }
.accordion-item summary:hover { color: var(--brand); }
.accordion-body {
    padding: 0 22px 18px;
    font-size: 0.9rem;
    color: var(--text-muted);
}
.accordion-body ul { padding-left: 20px; }
.accordion-body li { margin-bottom: 6px; }

/* ---------- 版本记录分组 ---------- */
.version-group {
    margin-bottom: 44px;
}
.version-group-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--text-strong);
    margin-bottom: 18px;
}
.version-group-title i { color: var(--brand); }
.badge {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    background: var(--brand-soft);
    color: var(--brand);
    font-family: var(--font-body);
}

/* ---------- 需求卡片 ---------- */
.req-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.req-card {
    border-radius: var(--radius-lg);
    padding: 30px;
    text-align: center;
    background:
        linear-gradient(var(--card-bg), var(--card-bg)) padding-box,
        linear-gradient(180deg, rgba(40, 184, 148, 0.2), rgba(40, 184, 148, 0.04) 40%, rgba(108, 77, 255, 0.12) 100%) border-box;
    border: 1px solid transparent;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s, box-shadow 0.3s;
}
.req-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.req-card i {
    font-size: 1.8rem;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    margin-bottom: 12px;
}
.req-card h4 { font-size: 1.05rem; margin-bottom: 4px; }
.req-card p { font-size: 0.85rem; color: var(--text-muted); }

/* ---------- 滚动渐显（内容默认可见，JS 动画仅作为增强，不隐藏内容） ---------- */
.reveal { opacity: 1; transform: none; transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- 返回顶部 ---------- */
.back-top {
    position: fixed;
    right: 28px;
    bottom: 28px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid var(--card-border);
    background: var(--card-bg);
    color: var(--text-strong);
    font-size: 1.05rem;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all 0.3s;
    z-index: 90;
}
.back-top.show { opacity: 1; visibility: visible; transform: none; }
.back-top:hover { color: var(--brand); border-color: var(--brand); }

/* ---------- 内容区文字卡片 ---------- */
.prose-card {
    border-radius: var(--radius-lg);
    padding: 36px;
    background:
        linear-gradient(var(--card-bg), var(--card-bg)) padding-box,
        linear-gradient(180deg, rgba(40, 184, 148, 0.2), rgba(40, 184, 148, 0.04) 40%, rgba(108, 77, 255, 0.12) 100%) border-box;
    border: 1px solid transparent;
    box-shadow: var(--shadow-sm);
}
.prose-card p { color: var(--text-body); line-height: 1.85; }
.prose-card strong { color: var(--text-strong); }

/* ---------- 关于页卡片 ---------- */
.about-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.about-card {
    border-radius: var(--radius-lg);
    padding: 30px;
    text-align: center;
    background:
        linear-gradient(var(--card-bg), var(--card-bg)) padding-box,
        linear-gradient(180deg, rgba(40, 184, 148, 0.2), rgba(40, 184, 148, 0.04) 40%, rgba(108, 77, 255, 0.12) 100%) border-box;
    border: 1px solid transparent;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s, box-shadow 0.3s;
}
.about-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.about-card i {
    font-size: 2rem;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    margin-bottom: 14px;
}
.about-card h4 { font-size: 1.05rem; margin-bottom: 6px; }
.about-card p { font-size: 0.88rem; color: var(--text-muted); }
.about-card .price { font-family: var(--font-display); color: var(--brand); font-size: 1.25rem; margin-top: 6px; }

/* ---------- 基础移动端优化 ---------- */
html { overflow-x: hidden; }
body {
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}
button, a.btn, .nav-cta, .theme-toggle, .nav-toggle, .back-top {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
    .hero-inner { grid-template-columns: 1fr; gap: 48px; }
    .hero-visual { max-width: 520px; }
    .stats-bar-inner { grid-template-columns: repeat(2, 1fr); }
    .features-grid, .req-grid, .about-grid { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .bento-6 { grid-column: span 12; }
    .bento-4 { grid-column: span 6; }
}

@media (max-width: 720px) {
    /* --- 导航 --- */
    .nav-toggle { display: flex; align-items: center; justify-content: center; }
    .nav-mobile-cta { display: block; margin-bottom: 8px; }
    .nav-links {
        position: fixed;
        top: 56px;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        background: var(--card-bg);
        border-bottom: 1px solid var(--card-border);
        padding: 8px 16px 16px;
        gap: 2px;
        transform: translateY(-12px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.25s;
        box-shadow: var(--shadow-lg);
        max-height: calc(100vh - 56px);
        overflow-y: auto;
    }
    .nav-links.open { transform: none; opacity: 1; visibility: visible; }
    .nav-links a { padding: 14px 16px; font-size: 1rem; border-radius: var(--radius-sm); }
    .nav-links li { width: 100%; }
    .nav-cta { display: none; }
    .navbar-inner { height: 56px; padding: 0 16px; gap: 12px; }
    .brand { font-size: 1rem; }
    .brand .brand-sub { display: none; }
    .brand img { height: 28px; width: 28px; border-radius: 6px; object-fit: contain; }
    .brand .logo-dark { display: none; }
    [data-theme="dark"] .brand .logo-light { display: none; }
    [data-theme="dark"] .brand .logo-dark { display: inline-block; }
    .theme-toggle { width: 36px; height: 36px; font-size: 0.9rem; }

    /* --- Hero --- */
    .home-hero { padding: 64px 0 72px; }
    .hero-inner { padding: 0 16px; gap: 40px; }
    .hero-badge { font-size: 0.75rem; padding: 5px 12px; margin-bottom: 16px; }
    .hero-title { font-size: clamp(1.8rem, 8vw, 2.4rem); margin-bottom: 14px; }
    .hero-sub { font-size: 0.95rem; margin-bottom: 24px; }
    .hero-actions { gap: 12px; }
    .btn { padding: 11px 22px; font-size: 0.9rem; }
    .hero-visual { max-width: 100%; }
    .hero-shot {
        transform: none;
        animation: none;
    }
    .hero-shot:hover { transform: none; }
    .hero-stats-card {
        position: static;
        margin-top: 16px;
        width: fit-content;
        max-width: 100%;
        gap: 16px;
        padding: 14px 18px;
    }
    .hero-stats-card .hs-num { font-size: 1.1rem; }
    .hero-stats-card .hs-label { font-size: 0.68rem; }

    /* --- 统计条 --- */
    .stats-bar-inner { grid-template-columns: repeat(2, 1fr); gap: 8px; padding: 20px 16px; }
    .stat-num { font-size: 1.5rem; }
    .stat-label { font-size: 0.82rem; }

    /* --- Section --- */
    .section { padding: 56px 0; }
    .section-head { margin-bottom: 36px; }
    .section-head h2 { font-size: clamp(1.4rem, 6vw, 1.8rem); }
    .wrap, .page-wrap { padding: 0 16px; }

    /* --- 卡片网格 --- */
    .preview-grid { grid-template-columns: 1fr; }
    .bento-4 { grid-column: span 12; }
    .bento { gap: 12px; }
    .bento-card { padding: 20px; }
    .features-grid, .req-grid, .about-grid, .steps { grid-template-columns: 1fr; gap: 12px; }
    .feature-card, .req-card, .about-card, .step-card { padding: 22px; }
    .prose-card { padding: 22px; }

    /* --- 预览卡片 --- */
    .preview-meta { padding: 14px 16px 16px; }

    /* --- CTA --- */
    .cta-band { padding: 48px 20px; }
    .cta-band h2 { font-size: clamp(1.3rem, 6vw, 1.6rem); }
    .cta-band p { font-size: 0.9rem; }
    .cta-actions { gap: 12px; }
    .cta-actions .btn { width: 100%; justify-content: center; }

    /* --- 页脚 --- */
    .footer-inner { grid-template-columns: 1fr; gap: 28px; padding: 40px 16px 24px; }
    .footer-bottom { font-size: 0.78rem; padding: 16px 16px 20px; }

    /* --- 子页面 Hero --- */
    .page-hero { padding: 48px 0 52px; }
    .page-hero-inner { padding: 0 16px; }
    .page-hero h1 { font-size: clamp(1.5rem, 6vw, 2rem); }
    .page-hero p { font-size: 0.92rem; }

    /* --- 返回顶部 --- */
    .back-top { right: 16px; bottom: 16px; width: 42px; height: 42px; }

    /* --- 版本记录折叠面板 --- */
    .accordion-item summary { padding: 14px 16px; font-size: 0.9rem; }
    .accordion-body { padding: 0 16px 14px; font-size: 0.86rem; }
    .version-group { margin-bottom: 28px; }
}

@media (max-width: 480px) {
    /* --- Hero 进一步压缩 --- */
    .home-hero { padding: 48px 0 56px; }
    .hero-inner { gap: 32px; }
    .hero-badge { font-size: 0.7rem; padding: 4px 10px; }
    .hero-title { font-size: 1.6rem; }
    .hero-sub { font-size: 0.88rem; margin-bottom: 20px; }
    .hero-actions { gap: 10px; }
    .btn { padding: 10px 18px; font-size: 0.85rem; width: 100%; justify-content: center; }
    .hero-stats-card { gap: 12px; padding: 12px 14px; }
    .hero-stats-card .hs-num { font-size: 1rem; }
    .hero-stats-card .hs-label { font-size: 0.65rem; }

    /* --- 统计条 --- */
    .stats-bar-inner { grid-template-columns: repeat(2, 1fr); padding: 16px 12px; }
    .stat-num { font-size: 1.3rem; }
    .stat-label { font-size: 0.78rem; }

    /* --- Section --- */
    .section { padding: 44px 0; }
    .section-head { margin-bottom: 28px; }
    .section-eyebrow { font-size: 0.72rem; }
    .section-head h2 { font-size: 1.35rem; }
    .section-head p { font-size: 0.88rem; }

    /* --- 卡片 --- */
    .bento-card { padding: 18px; }
    .bento-card .b-icon { width: 44px; height: 44px; font-size: 1.1rem; margin-bottom: 14px; }
    .bento-card h3 { font-size: 1rem; }
    .bento-card p { font-size: 0.85rem; }
    .feature-card, .req-card, .about-card, .step-card { padding: 18px; }
    .feature-icon { width: 40px; height: 40px; font-size: 1rem; }
    .step-num { font-size: 1.8rem; }
    .prose-card { padding: 18px; }
    .prose-card p { font-size: 0.9rem; }

    /* --- 预览卡片 --- */
    .preview-meta { padding: 12px 14px 14px; }
    .preview-meta h3 { font-size: 0.95rem; }
    .preview-meta p { font-size: 0.82rem; }

    /* --- CTA --- */
    .cta-band { padding: 36px 16px; }
    .cta-band h2 { font-size: 1.2rem; }
    .cta-band p { font-size: 0.85rem; margin-bottom: 24px; }

    /* --- 页脚 --- */
    .footer-inner { padding: 32px 16px 20px; gap: 24px; }
    .footer-col h4 { font-size: 0.9rem; margin-bottom: 12px; }
    .footer-col li { margin-bottom: 8px; }
    .footer-col a { font-size: 0.82rem; }
    .footer-bottom { font-size: 0.72rem; }

    /* --- 子页面 --- */
    .page-hero { padding: 40px 0 44px; }
    .page-hero h1 { font-size: 1.4rem; }
    .page-hero p { font-size: 0.86rem; }

    /* --- 返回顶部 --- */
    .back-top { right: 12px; bottom: 12px; width: 38px; height: 38px; font-size: 0.9rem; }

    /* --- 版本记录 --- */
    .version-group { margin-bottom: 20px; }
    .version-group-title { font-size: 1rem; margin-bottom: 12px; }
    .accordion-item summary { padding: 12px 14px; font-size: 0.86rem; }
    .accordion-body { padding: 0 14px 12px; font-size: 0.82rem; }
    .badge { font-size: 0.68rem; padding: 2px 10px; }
}

@media (max-width: 360px) {
    .hero-title { font-size: 1.4rem; }
    .hero-sub { font-size: 0.82rem; }
    .hero-badge { font-size: 0.65rem; }
    .section-head h2 { font-size: 1.2rem; }
    .cta-band h2 { font-size: 1.1rem; }
    .page-hero h1 { font-size: 1.25rem; }
    .stats-bar-inner { grid-template-columns: 1fr; }
    .hero-stats-card { gap: 10px; padding: 10px 12px; }
    .hero-stats-card .hs-num { font-size: 0.9rem; }
    .hero-stats-card .hs-label { font-size: 0.6rem; }
    .footer-bottom { font-size: 0.68rem; }
}

/* ---------- 安全面积适配（刘海屏 / 挖孔屏） ---------- */
@supports (padding: env(safe-area-inset-top)) {
    .navbar-inner { padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); }
    .nav-links.open { padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); }
    .footer-bottom { padding-bottom: max(20px, env(safe-area-inset-bottom)); }
    .back-top { bottom: max(16px, env(safe-area-inset-bottom)); }
}
