/* ==========================================================================
   冰点VPN · icevpn 官网样式
   扁平、清爽：浅灰底 + 白卡片 + 轻投影；品牌金（和 App 一致）做主按钮，冰蓝做点缀。
   支持白天 / 夜间两种模式（<html data-theme="light|dark">），自包含，无需构建。
   ========================================================================== */

:root {
    --gold: #d6a21e;           /* App 的品牌金 */
    --gold-ink: #9a6f05;       /* 金色文字（白底上看得清） */
    --gold-soft: #fbf3dc;
    --ice: #1e9bf0;            /* logo 的冰蓝 */
    --ice-ink: #0b7bcc;
    --ice-soft: #e6f3fd;
    --green: #1f9d63;
    --green-soft: #e3f5ec;

    --bg: #f4f7fb;
    --bg-soft: #ebf1f8;
    --surface: #ffffff;
    --surface-2: #f6f8fb;
    --text: #121a2b;
    --text-2: #46536a;
    --muted: #7a8599;
    --line: #e2e8f1;
    --nav-bg: rgba(244, 247, 251, .82);

    --shadow-card: 0 1px 2px rgba(18, 32, 64, .05), 0 10px 30px rgba(18, 32, 64, .07);
    --shadow-lift: 0 2px 4px rgba(18, 32, 64, .06), 0 22px 50px rgba(18, 32, 64, .12);
    --shadow-gold: 0 10px 24px rgba(214, 162, 30, .32);
    --phone-frame: #151a24;

    --radius: 18px;
    --radius-lg: 26px;
    --maxw: 1180px;
    color-scheme: light;
}

[data-theme="dark"] {
    --gold-ink: #f0c24f;
    --gold-soft: rgba(214, 162, 30, .14);
    --ice-ink: #5cbcff;
    --ice-soft: rgba(30, 155, 240, .14);
    --green-soft: rgba(31, 157, 99, .16);

    --bg: #0d1016;
    --bg-soft: #11151d;
    --surface: #171b24;
    --surface-2: #1c212c;
    --text: #eef2f8;
    --text-2: #b4bdcc;
    --muted: #8590a3;
    --line: #262c38;
    --nav-bg: rgba(13, 16, 22, .82);

    --shadow-card: 0 0 0 1px rgba(255, 255, 255, .04);
    --shadow-lift: 0 0 0 1px rgba(255, 255, 255, .05), 0 24px 50px rgba(0, 0, 0, .45);
    --shadow-gold: 0 10px 24px rgba(214, 162, 30, .2);
    --phone-frame: #05070b;
    color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
        "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    transition: background-color .25s ease, color .25s ease;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
svg { width: 1em; height: 1em; flex-shrink: 0; }
h1, h2, h3, h4 { line-height: 1.25; margin: 0; font-weight: 800; color: var(--text); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }

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

.skip-link { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--surface); padding: 8px 14px; border-radius: 10px; }
.skip-link:focus { left: 12px; }

/* 白天 / 夜间专用元素 */
.only-dark { display: none !important; }
[data-theme="dark"] .only-dark { display: block !important; }
[data-theme="dark"] .only-light { display: none !important; }

/* ---------- 按钮 / 标签 ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 44px; padding: 0 20px; border-radius: 12px; border: 1px solid transparent;
    font-size: 15px; font-weight: 700; white-space: nowrap; cursor: pointer;
    transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-1px); }
.btn-sm { height: 38px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.btn-lg { height: 52px; padding: 0 26px; font-size: 16px; border-radius: 14px; }
.btn-primary { background: var(--gold); color: #fff; box-shadow: var(--shadow-gold); }
.btn-primary:hover { background: #c99515; }
.btn-dark { background: var(--text); color: var(--bg); }
.btn-light { background: var(--surface); color: var(--text); border-color: var(--line); box-shadow: var(--shadow-card); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { background: var(--surface); }
.btn-block { width: 100%; }

.pill {
    display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
    font-size: 13px; font-weight: 700;
}
.pill--gold { background: var(--gold-soft); color: var(--gold-ink); }
.eyebrow {
    display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .08em;
    color: var(--ice-ink); background: var(--ice-soft); padding: 4px 12px; border-radius: 999px; margin-bottom: 14px;
}

/* ---------- 导航 ---------- */
.site-nav {
    position: sticky; top: 0; z-index: 100;
    background: var(--nav-bg); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid transparent; transition: border-color .2s ease, box-shadow .2s ease;
}
.site-nav.is-scrolled { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { width: 38px; height: 38px; border-radius: 11px; background: #fff; display: grid; place-items: center; box-shadow: var(--shadow-card); }
.brand-mark img { width: 28px; height: 28px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-cn { font-size: 18px; font-weight: 800; }
.brand-en { font-size: 11px; color: var(--muted); letter-spacing: .12em; text-transform: uppercase; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { padding: 8px 12px; border-radius: 10px; font-size: 15px; font-weight: 600; color: var(--text-2); }
.nav-links a:hover, .nav-links a.is-active { color: var(--text); background: var(--surface); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.theme-toggle {
    width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface);
    display: grid; place-items: center; cursor: pointer; color: var(--text-2);
}
.theme-toggle svg { width: 19px; height: 19px; display: block; }
.theme-toggle:hover { color: var(--gold-ink); }
.nav-toggle { display: none; width: 40px; height: 40px; border: 0; background: transparent; cursor: pointer; padding: 10px 9px; }
.nav-toggle span { display: block; height: 2px; background: var(--text); border-radius: 2px; margin: 4px 0; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- 区块 ---------- */
.section { padding: 96px 0; position: relative; }
.section--tight { padding: 56px 0; }
.section--soft { background: var(--bg-soft); }
.section--page { padding: 48px 0 88px; }
.section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -.01em; }
.section-head p { margin-top: 14px; color: var(--text-2); font-size: 17px; }
.section-head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; text-align: left; margin-bottom: 32px; gap: 16px; }
.section-head--row .eyebrow { margin-bottom: 10px; }
.link-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--gold-ink); white-space: nowrap; }
.link-more svg { width: 18px; height: 18px; }

/* ---------- 手机外框 ---------- */
.phone {
    position: relative; width: 100%; max-width: 300px; aspect-ratio: 360 / 808;
    padding: 9px; border-radius: 42px; background: var(--phone-frame);
    box-shadow: var(--shadow-lift);
}
.phone-screen { width: 100%; height: 100%; border-radius: 34px; overflow: hidden; background: #000; }
.phone-screen img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 首屏 ---------- */
.hero { position: relative; padding: 64px 0 88px; overflow: hidden; }
.hero-bg {
    position: absolute; inset: 0; z-index: -1;
    background:
        radial-gradient(600px 380px at 85% 20%, rgba(30, 155, 240, .14), transparent 70%),
        radial-gradient(520px 340px at 70% 85%, rgba(214, 162, 30, .14), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero-copy h1 { margin-top: 20px; font-size: clamp(40px, 5.6vw, 64px); letter-spacing: -.02em; line-height: 1.12; }
.hero-copy .hl { color: var(--gold-ink); position: relative; white-space: nowrap; }
.hero-copy .hl::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .28em; z-index: -1;
    background: var(--gold-soft); border-radius: 6px;
}
.hero-copy .lead { margin-top: 20px; font-size: 18px; color: var(--text-2); max-width: 540px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
/* 首屏 4 个平台的下载按钮排成两列两行，比一行放不下自动换行更整齐 */
.hero-copy .hero-cta { display: grid; grid-template-columns: repeat(2, minmax(0, 230px)); }
.hero-copy .hero-cta .btn { width: 100%; }
.hero-badges { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 28px; }
.hero-badges li { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--text-2); }
.hero-badges svg { color: var(--green); width: 16px; height: 16px; }

.hero-visual { position: relative; height: 600px; }
.hero-visual .phone { position: absolute; }
.phone--front { width: 280px; right: 22%; top: 0; z-index: 2; }
.phone--back { width: 240px; right: 0; top: 70px; transform: rotate(6deg); opacity: .96; }
.float-chip {
    position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px;
    background: var(--surface); border-radius: 16px; padding: 12px 16px; box-shadow: var(--shadow-lift);
    font-weight: 700; font-size: 15px; animation: floaty 6s ease-in-out infinite;
}
.float-chip small { display: block; font-size: 12px; color: var(--muted); font-weight: 500; }
.float-chip--free { left: 0; top: 90px; }
.float-chip--free strong { font-size: 30px; line-height: 1; color: var(--gold-ink); }
.float-chip--safe { left: -2%; bottom: 34px; animation-delay: -3s; }
.fc-ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--green-soft); color: var(--green); }
.fc-ic svg { width: 22px; height: 22px; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- 永久免费 ---------- */
.free-band {
    display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center;
    background: var(--surface); border-radius: var(--radius-lg); padding: 40px 48px; box-shadow: var(--shadow-card);
    position: relative; overflow: hidden;
}
.free-band::before {
    content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%;
    background: var(--gold-soft);
}
[data-theme="dark"] .free-band::before { opacity: .5; }
.free-band__price { display: flex; align-items: baseline; gap: 4px; flex-wrap: wrap; max-width: 200px; position: relative; }
.free-band__price .cur { font-size: 34px; font-weight: 800; color: var(--gold-ink); }
.free-band__price .num { font-size: 104px; font-weight: 900; line-height: .9; color: var(--gold-ink); }
.free-band__price .per { width: 100%; font-weight: 800; color: var(--text-2); letter-spacing: .1em; }
.free-band__body { position: relative; }
.free-band__body h2 { font-size: clamp(24px, 3vw, 32px); }
.free-band__body p { margin-top: 10px; color: var(--text-2); font-size: 16px; }
.free-band__list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.free-band__list li {
    display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px;
    background: var(--green-soft); color: var(--green); font-weight: 700; font-size: 14px;
}

/* ---------- 功能展示 ---------- */
.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 28px 0; }
.showcase + .showcase { margin-top: 40px; }
.showcase__media { display: flex; justify-content: center; position: relative; }
.showcase__media::before {
    content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; top: 50%; left: 50%;
    transform: translate(-50%, -50%); background: radial-gradient(circle, var(--ice-soft), transparent 70%);
}
.showcase__media .phone { width: 280px; }
.showcase--reverse .showcase__media { order: 2; }
.showcase--duo .showcase__media { gap: 0; }
.showcase--duo .phone { width: 240px; }
.phone--tilt-l { transform: rotate(-5deg) translateX(18px); z-index: 1; }
.phone--tilt-r { transform: rotate(5deg) translateX(-18px) translateY(30px); }
.showcase__text h3 { font-size: clamp(24px, 2.8vw, 32px); margin-top: 18px; }
.showcase__text > p { margin-top: 14px; font-size: 17px; color: var(--text-2); }
.feature-ic {
    width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center;
    background: var(--gold-soft); color: var(--gold-ink);
}
.feature-ic svg { width: 26px; height: 26px; }
.check-list { list-style: none; margin-top: 20px; display: grid; gap: 10px; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 16px; color: var(--text); }
.check-list svg { width: 20px; height: 20px; color: var(--green); margin-top: 4px; padding: 3px; border-radius: 50%; background: var(--green-soft); }

/* ---------- 界面一览 ---------- */
.gallery { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding: 10px 0 30px; scrollbar-width: thin; }
.gallery__track { display: flex; gap: 26px; width: max-content; padding: 0 max(22px, calc((100vw - var(--maxw)) / 2 + 22px)); }
.gallery__item { margin: 0; scroll-snap-align: center; text-align: center; }
.gallery__btn { border: 0; padding: 0; background: none; cursor: zoom-in; display: block; }
.gallery__item .phone { width: 220px; box-shadow: var(--shadow-card); transition: transform .2s ease; }
.gallery__btn:hover .phone { transform: translateY(-4px); }
.gallery__item figcaption { margin-top: 14px; font-weight: 700; color: var(--text-2); font-size: 15px; }

/* ---------- 节点地区 ---------- */
.country-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.country-chip {
    display: grid; grid-template-columns: 34px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center;
    background: var(--surface); border-radius: 16px; padding: 14px 16px; box-shadow: var(--shadow-card);
}
.country-chip img, .flag-fallback {
    grid-row: span 2; width: 34px; height: 34px; border-radius: 50%; object-fit: cover;
    box-shadow: 0 0 0 1px var(--line);
}
.flag-fallback { display: grid; place-items: center; font-size: 12px; font-weight: 800; background: var(--surface-2); color: var(--muted); }
.cc-name { font-weight: 800; font-size: 16px; }
.cc-count { font-size: 13px; color: var(--muted); }

/* ---------- 安全 ---------- */
.security {
    display: grid; grid-template-columns: 300px 1fr; gap: 56px; align-items: center;
    background: var(--surface); border-radius: var(--radius-lg); padding: 52px; box-shadow: var(--shadow-card);
}
.security__badge { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.shield {
    width: 180px; height: 180px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 14px;
    background: radial-gradient(circle, var(--green-soft) 0 58%, transparent 59%), var(--green-soft);
    color: var(--green); position: relative;
}
.shield::after { content: ""; position: absolute; inset: -12px; border-radius: 50%; border: 2px dashed var(--green); opacity: .35; }
.shield svg { width: 88px; height: 88px; }
.security__badge-text { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.security__badge strong { font-size: 24px; }
.security__badge span { color: var(--green); font-weight: 800; letter-spacing: .1em; }
.security__body h2 { font-size: clamp(26px, 3.2vw, 36px); }
.security__body > p { margin-top: 12px; color: var(--text-2); font-size: 17px; }
.security__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; }
.sec-item { display: flex; gap: 14px; padding: 18px; border-radius: 16px; background: var(--surface-2); }
.sec-ic { width: 42px; height: 42px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center; background: var(--green-soft); color: var(--green); }
.sec-ic svg { width: 22px; height: 22px; }
.sec-item h3 { font-size: 16px; }
.sec-item p { margin-top: 4px; font-size: 14px; color: var(--text-2); }
.security__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* ---------- 使用步骤 ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { background: var(--surface); border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow-card); }
.step__no {
    width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center;
    background: var(--gold); color: #fff; font-weight: 900; font-size: 20px; box-shadow: var(--shadow-gold);
}
.step h3 { margin-top: 18px; font-size: 20px; }
.step p { margin-top: 8px; color: var(--text-2); }

/* ---------- 新闻 ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card { background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card); display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.news-card__cover { display: block; aspect-ratio: 16 / 9; background: var(--ice-soft); overflow: hidden; }
.news-card__cover img { width: 100%; height: 100%; object-fit: cover; }
.news-card__placeholder {
    width: 100%; height: 100%; display: grid; place-items: center;
    background: linear-gradient(135deg, var(--ice-soft), var(--gold-soft));
}
.news-card__placeholder img { width: 56px; height: 56px; opacity: .9; }
.news-card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.news-card time { font-size: 13px; color: var(--muted); }
.news-card h3 { font-size: 18px; line-height: 1.45; }
.news-card h3 a:hover { color: var(--gold-ink); }
.news-card p { color: var(--text-2); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- 下载 ---------- */
.download-card {
    display: grid; grid-template-columns: 1fr 260px; gap: 48px; align-items: center;
    background: var(--surface); border-radius: var(--radius-lg); padding: 48px; box-shadow: var(--shadow-card);
}
.download-info h2 { font-size: clamp(26px, 3.2vw, 36px); }
.download-info > p { margin-top: 10px; color: var(--text-2); }
.platform-list { display: grid; gap: 12px; margin-top: 26px; }
.platform-row { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; background: var(--surface-2); }
.pf-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--surface); color: var(--text); box-shadow: var(--shadow-card); }
.pf-ic svg { width: 24px; height: 24px; }
.pf-info { flex: 1; display: flex; flex-direction: column; }
.pf-info small { color: var(--muted); }
.platform-row--soon { opacity: .6; }
.pf-tag {
    display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; vertical-align: 2px;
    font-size: 12px; font-weight: 800; background: var(--gold-soft); color: var(--gold-ink);
}
.platform-row--sponsor { box-shadow: inset 0 0 0 1px var(--gold-soft); }
.dl-actions { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.dl-actions .btn { flex: 1 1 140px; }
.platform-row--soon .btn { cursor: default; }
.platform-row--soon .btn:hover { transform: none; background: transparent; }
.dl-hint { margin-top: 18px; display: flex; align-items: center; gap: 8px; color: var(--green); font-weight: 600; font-size: 14px; }
.qr-box { text-align: center; color: var(--text-2); font-size: 14px; }
.qr-frame { background: #fff; border-radius: 20px; padding: 16px; box-shadow: var(--shadow-card); margin-bottom: 14px; }
.qr-code { aspect-ratio: 1; display: grid; place-items: center; }
.qr-code img, .qr-code svg { width: 100%; height: auto; }
.qr-box strong { color: var(--text); }

/* ---------- 常见问题 ---------- */
.faq-wrap { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { background: var(--surface); border-radius: 16px; box-shadow: var(--shadow-card); }
.faq-item h3 { font-size: inherit; }
.faq-q {
    width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 20px 22px; background: none; border: 0; cursor: pointer; text-align: left; font-size: 17px; font-weight: 700;
}
.faq-icon { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); color: var(--text-2); transition: transform .25s ease; flex-shrink: 0; }
.faq-icon svg { width: 16px; height: 16px; }
.faq-item.is-open .faq-icon { transform: rotate(45deg); background: var(--gold-soft); color: var(--gold-ink); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-item.is-open .faq-a { max-height: 400px; }
.faq-a-inner { padding: 0 22px 22px; color: var(--text-2); font-size: 16px; }

/* ---------- 结尾 ---------- */
.cta {
    text-align: center; border-radius: var(--radius-lg); padding: 64px 28px;
    background: linear-gradient(135deg, #102340 0%, #0b1424 100%); color: #fff; position: relative; overflow: hidden;
}
.cta::before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; right: -120px; top: -180px; background: rgba(214, 162, 30, .22); }
.cta::after { content: ""; position: absolute; width: 320px; height: 320px; border-radius: 50%; left: -120px; bottom: -160px; background: rgba(30, 155, 240, .22); }
.cta > * { position: relative; z-index: 1; }
.cta h2 { color: #fff; font-size: clamp(26px, 3.6vw, 40px); }
.cta p { margin-top: 12px; color: rgba(255, 255, 255, .78); font-size: 17px; }
.cta .hero-cta { justify-content: center; }
.cta .btn-light { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .25); box-shadow: none; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand p { margin-top: 16px; color: var(--text-2); font-size: 14px; max-width: 320px; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); color: var(--text-2); }
.footer-social a:hover { color: var(--gold-ink); }
.footer-social svg { width: 18px; height: 18px; }
.footer-col h2 { font-size: 15px; margin-bottom: 14px; }
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a { color: var(--text-2); font-size: 14px; }
.footer-col a:hover { color: var(--gold-ink); }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: 13px; }
.fb-links { display: flex; gap: 18px; }
.fb-links a:hover { color: var(--text); }

/* ---------- 内页（新闻、条款） ---------- */
.page-hero { padding: 48px 0 40px; background: linear-gradient(180deg, var(--bg-soft), var(--bg)); }
.page-hero h1 { font-size: clamp(30px, 4.2vw, 44px); margin-top: 10px; }
.page-hero p { margin-top: 12px; color: var(--text-2); font-size: 17px; max-width: 720px; }
.page-hero--article h1 { font-size: clamp(26px, 3.6vw, 38px); line-height: 1.35; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); }
.breadcrumb a:hover { color: var(--gold-ink); }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 16px; color: var(--muted); font-size: 14px; }
.article-meta span { display: inline-flex; align-items: center; gap: 6px; }
.article-meta svg { width: 16px; height: 16px; }

.article { background: var(--surface); border-radius: var(--radius-lg); padding: 40px 44px; box-shadow: var(--shadow-card); }
.article__cover { width: 100%; height: auto; border-radius: 16px; margin-bottom: 28px; }
.article__summary { font-size: 17px; color: var(--text-2); padding: 16px 20px; border-left: 4px solid var(--gold); background: var(--gold-soft); border-radius: 0 12px 12px 0; margin-bottom: 26px; }
.prose, .legal-content { font-size: 17px; line-height: 1.9; color: var(--text); word-wrap: break-word; }
.prose > * + *, .legal-content > * + * { margin-top: 16px; }
.prose h2, .legal-content h2 { font-size: 24px; margin-top: 36px; }
.prose h3, .legal-content h3 { font-size: 20px; margin-top: 28px; }
.prose a, .legal-content a { color: var(--ice-ink); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol, .legal-content ul, .legal-content ol { padding-left: 24px; }
.prose li + li, .legal-content li + li { margin-top: 6px; }
.prose img { height: auto; border-radius: 12px; margin-left: auto; margin-right: auto; }
.prose blockquote { margin: 20px 0; padding: 12px 18px; border-left: 4px solid var(--ice); background: var(--ice-soft); border-radius: 0 12px 12px 0; color: var(--text-2); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 12px; }
.prose iframe { max-width: 100%; border-radius: 12px; }
.prose code { background: var(--surface-2); padding: 2px 6px; border-radius: 6px; font-size: .92em; }

.article-cta {
    display: flex; align-items: center; gap: 16px; margin-top: 28px; padding: 20px 24px;
    border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-card);
}
.article-cta img { width: 52px; height: 52px; border-radius: 14px; }
.article-cta div { flex: 1; display: flex; flex-direction: column; }
.article-cta span { color: var(--text-2); font-size: 14px; }
.article-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.article-nav__item { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-card); }
.article-nav__item:hover span { color: var(--gold-ink); }
.article-nav__item small { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); }
.article-nav__item span { font-weight: 700; line-height: 1.5; }
.article-nav__item--next { text-align: right; align-items: flex-end; grid-column: 2; }

.pager { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 48px; }
.pager__btn { display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 18px; border-radius: 12px; background: var(--surface); box-shadow: var(--shadow-card); font-weight: 700; }
.pager__btn.is-disabled { opacity: .45; }
.pager__info { color: var(--muted); font-size: 14px; }
.empty-state { text-align: center; padding: 60px 20px; display: flex; flex-direction: column; align-items: center; gap: 18px; color: var(--text-2); }
.empty-state__ic { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); box-shadow: var(--shadow-card); color: var(--muted); }
.empty-state__ic svg { width: 34px; height: 34px; }

.legal { padding: 40px 0 88px; }
.legal-card { background: var(--surface); border-radius: var(--radius-lg); padding: 40px 44px; box-shadow: var(--shadow-card); }

/* ---------- 安装向导弹窗 ---------- */
.dl-modal { position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center; padding: 18px; }
.dl-modal.is-open { display: flex; }
.dl-modal__overlay { position: absolute; inset: 0; background: rgba(6, 10, 18, .6); backdrop-filter: blur(4px); }
.dl-modal__dialog {
    position: relative; display: none; width: 100%; max-width: 600px; max-height: 88vh; overflow-y: auto;
    background: var(--surface); border-radius: 22px; padding: 30px; box-shadow: var(--shadow-lift);
}
.dl-modal__dialog.is-active { display: block; animation: pop .25s ease; }
@keyframes pop { from { transform: translateY(12px) scale(.98); opacity: 0; } to { transform: none; opacity: 1; } }
.dl-modal__close { position: absolute; right: 16px; top: 14px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--surface-2); font-size: 22px; cursor: pointer; line-height: 1; }
.dl-guide-head { display: flex; gap: 14px; align-items: center; padding-right: 36px; }
.dl-guide-head h3 { font-size: 20px; }
.dl-guide-head p { font-size: 14px; color: var(--text-2); margin-top: 4px; }
.dl-guide-head a { color: var(--ice-ink); text-decoration: underline; }
.dl-guide-ic { width: 50px; height: 50px; flex-shrink: 0; border-radius: 15px; display: grid; place-items: center; background: var(--green-soft); color: var(--green); }
.dl-guide-ic--ios { background: var(--surface-2); color: var(--text); }
.dl-guide-ic svg { width: 26px; height: 26px; }
.dl-steps { margin: 20px 0; padding-left: 22px; display: grid; gap: 12px; color: var(--text-2); font-size: 15px; }
.dl-steps strong { color: var(--text); }
.dl-sub { margin-top: 4px; font-size: 14px; color: var(--muted); }
.dl-note { padding: 16px 18px; border-radius: 14px; background: var(--ice-soft); font-size: 14px; color: var(--text-2); margin-top: 14px; }
.dl-note strong { color: var(--text); display: inline-flex; align-items: center; gap: 6px; }
.dl-note ul { padding-left: 20px; margin-top: 8px; display: grid; gap: 6px; }
.dl-note p { margin-top: 6px; }
.dl-note--warn { background: var(--gold-soft); }
.dl-note--ok { background: var(--green-soft); }
.dl-note--ok strong svg { color: var(--green); width: 18px; height: 18px; }

/* ---------- 截图大图 ---------- */
.lightbox { position: fixed; inset: 0; z-index: 320; display: none; align-items: center; justify-content: center; background: rgba(6, 10, 18, .9); padding: 24px 70px; }
.lightbox.is-open { display: flex; }
.lightbox__figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; max-height: 100%; }
.lightbox__figure img { max-height: calc(100vh - 110px); width: auto; border-radius: 28px; }
.lightbox__figure figcaption { color: #fff; font-weight: 700; }
.lightbox__close { position: absolute; top: 16px; right: 18px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); color: #fff; font-size: 26px; cursor: pointer; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); color: #fff; cursor: pointer; display: grid; place-items: center; }
.lightbox__nav svg { width: 24px; height: 24px; }
.lightbox__prev { left: 14px; }
.lightbox__next { right: 14px; }

/* ---------- 进场动画（关闭动画偏好时不播放） ---------- */
/* 只有脚本能运行时才先隐藏（<html class="js">），避免脚本失败时内容一直不显示 */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js [data-reveal].in-view { opacity: 1; transform: none; }
.js [data-reveal][data-delay="1"] { transition-delay: .08s; }
.js [data-reveal][data-delay="2"] { transition-delay: .16s; }
.js [data-reveal][data-delay="3"] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .js [data-reveal] { opacity: 1; transform: none; transition: none; }
    .float-chip { animation: none; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
    .nav-links a { padding: 8px 9px; font-size: 14px; }
    .hero-visual { height: 540px; }
    .phone--front { width: 250px; }
    .phone--back { width: 210px; }
    .security { grid-template-columns: 1fr; padding: 40px; }
    .security__badge { flex-direction: row; justify-content: center; gap: 18px; }
    .security__badge-text { align-items: flex-start; }
    .shield { width: 110px; height: 110px; margin-bottom: 0; }
    .shield svg { width: 54px; height: 54px; }
}

@media (max-width: 900px) {
    .nav-links {
        position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; gap: 0; padding: 10px 16px 18px;
        background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lift);
        display: none;
    }
    .site-nav.is-menu-open .nav-links { display: flex; }
    .nav-links a { padding: 12px; font-size: 16px; }
    .nav-toggle { display: block; }
    .hero { padding: 36px 0 56px; }
    .hero-grid { grid-template-columns: 1fr; gap: 24px; }
    .hero-copy { text-align: center; }
    .hero-copy .lead { margin-left: auto; margin-right: auto; }
    .hero-cta, .hero-badges { justify-content: center; }
    .hero-copy .hero-cta { justify-content: center; }
    .hero-visual { height: 520px; max-width: 460px; width: 100%; margin: 0 auto; }
    .phone--front { right: 30%; }
    .free-band { grid-template-columns: 1fr; padding: 32px 26px; text-align: center; gap: 18px; }
    .free-band__price { margin: 0 auto; justify-content: center; }
    .free-band__list { justify-content: center; }
    .showcase, .showcase--reverse { grid-template-columns: 1fr; gap: 28px; text-align: left; }
    .showcase--reverse .showcase__media { order: 0; }
    .showcase + .showcase { margin-top: 56px; }
    .steps { grid-template-columns: 1fr; }
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .download-card { grid-template-columns: 1fr; padding: 32px 24px; }
    .qr-box { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
    .container { padding: 0 16px; }
    .section { padding: 64px 0; }
    .section--tight { padding: 40px 0; }
    .section-head { margin-bottom: 34px; }
    .section-head p { font-size: 16px; }
    .nav-download { display: none; }
    .brand-en { display: none; }
    .hero-copy h1 { font-size: 38px; }
    .hero-copy .lead { font-size: 16px; }
    .hero-cta .btn { flex: 1 1 140px; }
    .hero-visual { height: 440px; }
    .phone--front { width: 200px; right: 34%; }
    .phone--back { width: 170px; right: 4%; top: 50px; }
    .float-chip { padding: 9px 12px; font-size: 13px; }
    .float-chip--free { top: 40px; }
    .float-chip--free strong { font-size: 24px; }
    .float-chip--safe { left: auto; right: 0; bottom: 30px; }
    .fc-ic { width: 32px; height: 32px; }
    .free-band__price .num { font-size: 80px; }
    .showcase__media .phone { width: 230px; }
    .showcase--duo .phone { width: 168px; }
    .showcase__text > p { font-size: 16px; }
    .gallery__item .phone { width: 180px; }
    .country-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .country-chip { padding: 12px; column-gap: 10px; grid-template-columns: 30px 1fr; }
    .country-chip img, .flag-fallback { width: 30px; height: 30px; }
    .cc-name { font-size: 15px; }
    .security { padding: 28px 20px; }
    .security__grid { grid-template-columns: 1fr; }
    .news-grid { grid-template-columns: 1fr; }
    .platform-row { flex-wrap: wrap; }
    .platform-row .btn { width: 100%; }
    .faq-q { font-size: 16px; padding: 18px; }
    .faq-a-inner { padding: 0 18px 18px; font-size: 15px; }
    .cta { padding: 48px 20px; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .article, .legal-card { padding: 24px 18px; border-radius: var(--radius); }
    .prose, .legal-content { font-size: 16px; }
    .article-cta { flex-wrap: wrap; }
    .article-cta .btn { width: 100%; }
    .article-nav { grid-template-columns: 1fr; }
    .article-nav__item--next { grid-column: auto; }
    .section-head--row { flex-direction: column; align-items: flex-start; }
    .lightbox { padding: 24px 12px; }
    .lightbox__nav { display: none; }
    .dl-modal__dialog { padding: 24px 18px; }
}
