/* ==========================================================================
   hicnjsq.com — "Aurora" stylesheet
   Light-first surfaces, Proton-style violet accents, pill controls.
   Performance-first, zero external assets.
   ========================================================================== */

:root {
    /* violet ramp */
    --brand: #6d4aff;
    --brand-strong: #5c3be7;
    --brand-deep: #372580;
    --brand-soft: #b09dff;
    --brand-tint: #e2dbff;
    --brand-wash: #f7f5ff;

    /* dark surfaces (inverted sections + footer) */
    --ink: #1b1340;
    --ink-deep: #08031f;
    --ink-soft: #40395f;

    /* secondary accents */
    --pink: #fa528e;
    --cyan: #51e9fe;
    --mint: #8cffe3;
    --cream: #ffe7b7;
    --green: #10b981;

    /* neutral surfaces */
    --page: #ffffff;
    --surface: #ffffff;
    --surface-alt: #f6f7f9;

    --text: #16141c;
    --text-mid: #4b4a57;
    --text-dim: #6f6d7d;

    --border: #e9e7f3;
    --border-strong: #e2dbff;

    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --pill: 9999px;

    --shadow-xs: 0 1px 2px rgba(16, 14, 35, 0.05), 0 3px 10px rgba(16, 14, 35, 0.04);
    --shadow: 0 6px 26px rgba(37, 25, 90, 0.08);
    --shadow-lg: 0 22px 58px rgba(37, 25, 90, 0.14);
    --shadow-brand: 0 12px 30px rgba(109, 74, 255, 0.28);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    position: relative;
    overflow-x: hidden;
    margin: 0;
    background: var(--page);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
        "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
    line-height: 1.72;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-strong); }

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

.container { max-width: 1180px; margin: 0 auto; padding: 0 22px; }
.container-narrow { max-width: 840px; }
.site-main { position: relative; }

.visually-hidden {
    position: absolute; width: 1px; height: 1px;
    margin: -1px; padding: 0; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
    position: absolute; left: -9999px; top: 0;
    background: var(--brand); color: #fff; padding: 8px 16px; z-index: 100;
}
.skip-link:focus { left: 0; }

:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
}

/* ---------- header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(18px) saturate(1.4);
}
.header-inner {
    display: flex; align-items: center; gap: 14px;
    min-height: 72px; flex-wrap: wrap;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.01em;
}
.brand img {
    display: block;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    box-shadow: 0 4px 12px rgba(109, 74, 255, 0.32);
}
.brand-text {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    line-height: 1.2;
    white-space: nowrap;
}
.brand-badge {
    padding: 3px 8px;
    border-radius: 6px;
    background: var(--brand-wash);
    color: var(--brand);
    font-size: 11px;
    font-weight: 750;
    letter-spacing: 0.02em;
}

.main-nav {
    display: flex;
    flex: 1;
    flex-wrap: wrap;
    gap: 0;
}
.main-nav a {
    border-radius: var(--pill);
    color: var(--text-mid);
    padding: 8px 11px;
    font-size: 14.5px;
    font-weight: 600;
    white-space: nowrap;
    transition: color 0.2s ease, background 0.2s ease;
}
.main-nav a:hover { color: var(--text); background: var(--surface-alt); }
.main-nav a.is-active { color: var(--brand); background: var(--brand-wash); }

.header-actions { display: flex; align-items: center; gap: 12px; }

.lang-switcher {
    display: flex;
    gap: 1px;
    padding: 3px;
    border: 1px solid var(--border);
    border-radius: var(--pill);
    background: var(--surface-alt);
    font-size: 12px;
}
.lang-switcher a {
    color: var(--text-dim);
    padding: 4px 7px;
    white-space: nowrap;
    border-radius: var(--pill);
    transition: color 0.2s ease, background 0.2s ease;
}
.lang-switcher a:hover { color: var(--text); }
.lang-switcher a.is-active {
    color: var(--brand);
    background: #fff;
    box-shadow: var(--shadow-xs);
    font-weight: 700;
}

.header-cta {
    display: inline-flex;
    align-items: center;
    padding: 9px 17px;
    border-radius: var(--pill);
    background: var(--brand);
    color: #fff;
    font-size: 13.5px;
    font-weight: 700;
    white-space: nowrap;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.header-cta:hover {
    background: var(--brand-strong);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: var(--shadow-brand);
}

/* ---------- buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 30px;
    border-radius: var(--pill);
    font-size: 15px;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease,
        border-color 0.2s ease, color 0.2s ease;
}
.btn-primary {
    background: var(--brand);
    color: #fff;
    box-shadow: 0 8px 22px rgba(109, 74, 255, 0.26);
}
.btn-primary:hover {
    background: var(--brand-strong);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-brand);
}
.btn-ghost {
    border: 1px solid var(--brand-tint);
    background: #fff;
    color: var(--brand);
}
.btn-ghost:hover {
    border-color: var(--brand-soft);
    background: var(--brand-wash);
    color: var(--brand-strong);
    transform: translateY(-2px);
}
/* solid light button, used on brand-coloured bands */
.btn-invert {
    background: #fff;
    color: var(--brand-strong);
    box-shadow: 0 8px 22px rgba(8, 3, 31, 0.22);
}
.btn-invert:hover {
    background: #fff;
    color: var(--brand-deep);
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(8, 3, 31, 0.3);
}
.btn-lg { padding: 15px 34px; font-size: 16px; }

/* ---------- hero / page head ---------- */
.hero {
    position: relative;
    overflow: hidden;
    padding: 84px 0 68px;
    background:
        radial-gradient(ellipse 60% 70% at 88% 4%, rgba(250, 82, 142, 0.09), transparent 62%),
        radial-gradient(ellipse 72% 82% at 12% -8%, rgba(109, 74, 255, 0.15), transparent 66%),
        linear-gradient(180deg, var(--brand-wash) 0%, #fff 78%);
}
.hero--home { padding-top: 74px; }
.hero--platform { padding-top: 54px; }

/* soft violet orbs replace the previous scanning beams */
.scene-beam {
    position: absolute;
    z-index: 0;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(60px);
    opacity: 0.5;
}
.scene-beam--1 {
    top: -8%; left: -6%;
    width: 380px; height: 380px;
    background: radial-gradient(circle, rgba(109, 74, 255, 0.42), transparent 68%);
    animation: orbDrift 16s ease-in-out infinite;
}
.scene-beam--2 {
    top: 32%; right: 4%;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(81, 233, 254, 0.34), transparent 68%);
    animation: orbDrift 21s ease-in-out infinite reverse;
}
.scene-beam--3 {
    bottom: -14%; left: 42%;
    width: 340px; height: 340px;
    background: radial-gradient(circle, rgba(250, 82, 142, 0.26), transparent 68%);
    animation: orbDrift 25s ease-in-out infinite;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
    align-items: center;
    gap: clamp(34px, 5vw, 66px);
}
.hero--home .hero-grid {
    grid-template-columns: minmax(0, 1.14fr) minmax(300px, 0.86fr);
}
.hero-copy { min-width: 0; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 18px;
    padding: 6px 15px 6px 12px;
    border: 1px solid var(--brand-tint);
    border-radius: var(--pill);
    background: #fff;
    color: var(--brand);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    box-shadow: var(--shadow-xs);
}
.eyebrow::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--brand);
    box-shadow: 0 0 0 3px rgba(109, 74, 255, 0.18);
    animation: signalPulse 2.4s ease-in-out infinite;
}

.hero-title {
    max-width: 880px;
    font-size: clamp(36px, 5.2vw, 62px);
    margin: 0 0 18px;
    line-height: 1.08;
    letter-spacing: -0.045em;
    font-weight: 800;
}
.hero-title em {
    font-style: normal;
    background: linear-gradient(100deg, var(--brand) 10%, var(--pink) 92%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero-sub {
    max-width: 660px;
    color: var(--text-mid);
    font-size: clamp(16px, 1.6vw, 19px);
    margin: 0 0 20px;
}
/* trial pill: mint-green, the single warm-neutral accent on the hero */
.hero-trial {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 26px;
    padding: 7px 17px;
    border: 1px solid rgba(16, 185, 129, 0.28);
    border-radius: var(--pill);
    background: rgba(16, 185, 129, 0.09);
    color: #047857;
    font-size: 14.5px;
    font-weight: 700;
}
.hero-trial::before {
    content: "\2713";
    color: var(--green);
    font-weight: 900;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 26px; }

/* inline rating strip under the hero copy */
.hero-proof {
    display: flex;
    align-items: center;
    gap: 10px 22px;
    flex-wrap: wrap;
    margin: 0 0 26px;
    color: var(--text-mid);
    font-size: 14px;
}
.hero-proof__item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-weight: 650;
}
.hero-proof__item + .hero-proof__item {
    padding-left: 22px;
    border-left: 1px solid var(--border);
}
.hero-proof strong {
    color: var(--text);
    font-size: 16px;
    font-weight: 800;
}

.stars {
    display: inline-flex;
    gap: 1px;
    color: #f5a524;
    font-size: 13px;
    letter-spacing: 0.04em;
}

/* "Available on" chips */
.platform-chips {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    list-style: none;
}
.platform-chips__label {
    margin-right: 4px;
    color: var(--text-dim);
    font-size: 13px;
    font-weight: 650;
}
.platform-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 13px;
    border: 1px solid var(--border);
    border-radius: var(--pill);
    background: #fff;
    color: var(--text-mid);
    font-size: 13px;
    font-weight: 650;
    box-shadow: var(--shadow-xs);
    transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.platform-chip:hover {
    border-color: var(--brand-soft);
    color: var(--brand);
    transform: translateY(-2px);
}
.platform-chip svg { width: 15px; height: 15px; fill: currentColor; }

.hero-device {
    position: relative;
    min-height: 430px;
}
.hero-device::before {
    content: "";
    position: absolute;
    inset: 8% 2% 6%;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(109, 74, 255, 0.24), transparent 66%);
    filter: blur(26px);
    animation: glowPulse 8s ease-in-out infinite alternate;
}
.hero-device img {
    position: absolute;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 26px 48px rgba(37, 25, 90, 0.22));
}
.hero-device__desktop {
    top: 2%;
    right: -8%;
    width: min(118%, 640px);
    animation: deviceFloat 7.8s ease-in-out infinite;
}
.hero-device__mobile {
    right: 2%;
    bottom: 0;
    width: min(98%, 300px);
    animation: deviceFloat 7.8s ease-in-out infinite reverse;
}

.page-head {
    position: relative;
    padding: 52px 0 14px;
    background: linear-gradient(180deg, var(--brand-wash), #fff);
}
.page-head .container {
    padding-top: 18px;
    padding-bottom: 24px;
}
.page-head h1 {
    max-width: 820px;
    font-size: clamp(30px, 4.3vw, 46px);
    margin: 14px 0 8px;
    line-height: 1.15;
    letter-spacing: -0.038em;
    font-weight: 800;
}
.page-sub, .page-head__desc {
    color: var(--text-mid);
    max-width: 780px;
}
.page-head__desc { margin: 10px 0 0; font-size: 15px; }

.breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    color: var(--text-dim);
    font-size: 13px;
}
.breadcrumb a { color: var(--text-mid); }
.breadcrumb a:hover { color: var(--brand); }

/* ---------- sections ---------- */
.section { padding: 62px 0; }
.section--wash { background: var(--brand-wash); }
.section--alt { background: var(--surface-alt); }
.section--tight { padding-top: 34px; }

.section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
}
.section-title {
    font-size: clamp(24px, 3.2vw, 36px);
    margin: 0 0 14px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.032em;
}
.section-head .section-title { margin-bottom: 26px; }
.section-lead {
    max-width: 660px;
    margin: 0 0 34px;
    color: var(--text-mid);
    font-size: 16.5px;
}
.section-center { text-align: center; }
.section-center .section-lead { margin-left: auto; margin-right: auto; }
.section-more { font-size: 14px; font-weight: 650; white-space: nowrap; }

/* ---------- inverted (dark) sections ---------- */
.section--dark {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse 60% 80% at 88% 0%, rgba(250, 82, 142, 0.16), transparent 62%),
        radial-gradient(ellipse 70% 90% at 6% 8%, rgba(109, 74, 255, 0.34), transparent 64%),
        var(--ink);
    color: #ede9ff;
}
.section--dark .section-title { color: #fff; }
.section--dark .section-lead { color: #c3bce0; }
.section--dark .section-more { color: var(--brand-soft); }
.section--dark .section-more:hover { color: #fff; }

/* ---------- stat band ---------- */
.stat-band {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    overflow: hidden;
    padding: 1px;
    border-radius: 28px;
    background: linear-gradient(120deg, rgba(176, 157, 255, 0.7), rgba(109, 74, 255, 0.35) 42%, rgba(250, 82, 142, 0.45) 78%, rgba(81, 233, 254, 0.4));
    box-shadow:
        0 28px 64px rgba(27, 19, 64, 0.22),
        0 0 0 1px rgba(109, 74, 255, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.stat-band::before {
    content: "";
    position: absolute;
    inset: 1px;
    z-index: 0;
    border-radius: 27px;
    background:
        radial-gradient(ellipse 42% 90% at 8% -10%, rgba(109, 74, 255, 0.45), transparent 58%),
        radial-gradient(ellipse 38% 80% at 96% 110%, rgba(250, 82, 142, 0.28), transparent 54%),
        radial-gradient(ellipse 30% 50% at 50% 0%, rgba(81, 233, 254, 0.16), transparent 62%),
        linear-gradient(180deg, #22185a 0%, #120c32 100%);
}
.stat-band::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(115deg, transparent 32%, rgba(255, 255, 255, 0.16) 50%, transparent 68%);
    transform: translateX(-70%);
    animation: statSheen 6.5s ease-in-out infinite;
}
.stat-item {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 32px 18px 28px;
    text-align: center;
}
.stat-item:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 22%;
    right: 0;
    bottom: 22%;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(226, 219, 255, 0.28), transparent);
}
.stat-item::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 12px rgba(81, 233, 254, 0.85);
    animation: signalPulse 2.6s ease-in-out infinite;
}
.stat-num {
    margin: 0;
    font-size: clamp(28px, 3.4vw, 40px);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.05;
    background: linear-gradient(180deg, #fff 10%, #e2dbff 55%, #b09dff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 18px rgba(176, 157, 255, 0.35));
}
.stat-label {
    margin: 0;
    color: #c3bce0;
    font-size: 12.5px;
    font-weight: 650;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

@keyframes statSheen {
    0%, 28% { transform: translateX(-70%); opacity: 0; }
    42% { opacity: 1; }
    58%, 100% { transform: translateX(70%); opacity: 0; }
}

/* ---------- scenario cards ---------- */
.scene-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fit, minmax(252px, 1fr));
}
.scene-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 28px 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow-xs);
    transition: transform 0.26s ease, border-color 0.26s ease, box-shadow 0.26s ease;
}
.scene-card:hover {
    transform: translateY(-5px);
    border-color: var(--brand-tint);
    box-shadow: var(--shadow-lg);
}
.scene-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 15px;
    background: linear-gradient(140deg, var(--brand-wash), var(--brand-tint));
    color: var(--brand);
}
.scene-card__icon svg { width: 25px; height: 25px; }
.scene-card h3 { margin: 0; font-size: 18px; font-weight: 750; }
.scene-card p { margin: 0; color: var(--text-mid); font-size: 14.5px; }
.scene-card__apps {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 4px 0 0;
    padding: 0;
    list-style: none;
}
.app-chip {
    padding: 3px 10px;
    border-radius: var(--pill);
    background: var(--surface-alt);
    color: var(--text-dim);
    font-size: 12px;
    font-weight: 600;
}

/* ---------- reason list (expandable) ---------- */
.reason-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.reason-item {
    padding: 26px 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow-xs);
    transition: border-color 0.24s ease, box-shadow 0.24s ease;
}
.reason-item:hover {
    border-color: var(--brand-tint);
    box-shadow: var(--shadow);
}
.reason-item__title {
    margin: 0;
    font-size: 18px;
    font-weight: 750;
    line-height: 1.4;
}
.reason-item__body {
    margin: 14px 0 0;
    color: var(--text-mid);
    font-size: 14.5px;
}
.reason-item__num {
    display: block;
    margin-bottom: 10px;
    color: var(--brand);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
}

/* ---------- comparison table ---------- */
.compare-scroll {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    -webkit-overflow-scrolling: touch;
}
.compare-table {
    width: 100%;
    min-width: 680px;
    border-collapse: separate;
    border-spacing: 0;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(226, 219, 255, 0.16);
    border-radius: var(--radius-lg);
    overflow: hidden;
    font-size: 14.5px;
}
.compare-table th, .compare-table td {
    padding: 15px 18px;
    text-align: center;
    border-bottom: 1px solid rgba(226, 219, 255, 0.12);
}
.compare-table thead th {
    background: rgba(8, 3, 31, 0.42);
    color: #fff;
    font-size: 13.5px;
    font-weight: 750;
    white-space: nowrap;
}
.compare-table tbody th {
    text-align: left;
    color: #ded8f7;
    font-weight: 600;
    white-space: nowrap;
}
.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table tbody tr:hover td,
.compare-table tbody tr:hover th { background: rgba(109, 74, 255, 0.12); }
/* the HiCN column is the reference column and stays highlighted */
.compare-table .is-own {
    background: rgba(109, 74, 255, 0.16);
    color: #fff;
}
.compare-table thead .is-own {
    background: linear-gradient(160deg, var(--brand) 0%, var(--brand-strong) 100%);
}
.compare-table .is-own strong { display: block; font-size: 15px; }

.mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 900;
    line-height: 1;
}
.mark--yes { background: rgba(16, 185, 129, 0.18); color: #34d399; }
.mark--part { background: rgba(255, 231, 183, 0.18); color: var(--cream); }
.mark--no { background: rgba(250, 82, 142, 0.16); color: #ff9dc0; }

/* ---------- feature grid ---------- */
.feature-grid, .card-grid {
    display: grid;
    gap: 18px;
    /* auto-fit：卡片数少于列数时收起空轨道并平分宽度，避免右侧留空 */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
/* 首页 6 条能力、平台页 3 条，都按 3 列排布，避免出现落单的半行 */
.feature-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.feature-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 26px 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow-xs);
    transition: transform 0.26s ease, border-color 0.26s ease, box-shadow 0.26s ease;
}
.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--brand-tint);
    box-shadow: var(--shadow-lg);
}
.feature-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 13px;
    background: var(--brand-wash);
    color: var(--brand);
}
.feature-card__icon svg { width: 22px; height: 22px; }
.feature-card h3 { margin: 0; font-size: 17px; font-weight: 750; line-height: 1.45; }
.feature-card p { margin: 0; color: var(--text-mid); font-size: 14.5px; }

.section--dark .feature-card,
.section--dark .scene-card,
.section--dark .reason-item {
    border-color: rgba(226, 219, 255, 0.16);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: none;
}
.section--dark .feature-card h3,
.section--dark .scene-card h3 { color: #fff; }
.section--dark .feature-card p,
.section--dark .scene-card p { color: #c3bce0; }
.section--dark .feature-card__icon,
.section--dark .scene-card__icon {
    background: rgba(109, 74, 255, 0.24);
    color: var(--brand-soft);
}
.section--dark .feature-card:hover,
.section--dark .scene-card:hover {
    border-color: rgba(176, 157, 255, 0.5);
    background: rgba(255, 255, 255, 0.08);
}
.section--dark .app-chip {
    background: rgba(255, 255, 255, 0.08);
    color: #c3bce0;
}

/* ---------- plans ---------- */
.plan-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fit, minmax(268px, 1fr));
}
.plan-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 30px 26px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow-xs);
    transition: transform 0.26s ease, box-shadow 0.26s ease;
}
.plan-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
/* featured plan mirrors Proton's "Best deal" card: brand border + ribbon */
.plan-card--featured {
    border: 2px solid var(--brand);
    box-shadow: var(--shadow-lg);
}
.plan-badge {
    position: absolute;
    top: -13px;
    left: 26px;
    padding: 4px 14px;
    border-radius: var(--pill);
    background: var(--brand);
    color: #fff;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.plan-name { margin: 0; font-size: 20px; font-weight: 800; }
.plan-tagline { margin: -6px 0 0; color: var(--text-dim); font-size: 14px; }
.plan-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
    font-size: 15px;
    font-weight: 700;
    color: var(--brand);
}
.plan-price small { color: var(--text-dim); font-size: 12.5px; font-weight: 600; }
.plan-list {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 14.5px;
    color: var(--text-mid);
}
.plan-list li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
}
.plan-list li::before {
    content: "";
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin-top: 5px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310b981' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.plan-card .btn { margin-top: auto; }
.plan-note {
    margin: 26px 0 0;
    color: var(--text-dim);
    font-size: 13px;
    text-align: center;
}

/* ---------- testimonials ---------- */
.quote-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.quote-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 26px 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow-xs);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.quote-card:hover {
    transform: translateY(-3px);
    border-color: var(--border-strong);
    box-shadow: var(--shadow-lg);
}
.quote-card blockquote {
    margin: 0;
    color: var(--text);
    font-size: 15.5px;
    line-height: 1.7;
}
.quote-author {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-top: auto;
    color: var(--text-dim);
    font-size: 13px;
}
.quote-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(140deg, var(--brand), var(--pink));
    color: #fff;
    font-size: 14px;
    font-weight: 800;
}
.quote-author strong { display: block; color: var(--text); font-size: 13.5px; }

/* press / store badges row */
.badge-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 30px;
}
.store-badge {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    padding: 11px 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
    color: var(--text);
    box-shadow: var(--shadow-xs);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.store-badge:hover {
    transform: translateY(-2px);
    border-color: var(--brand-tint);
    box-shadow: var(--shadow);
    color: var(--text);
}
.store-badge svg { width: 24px; height: 24px; fill: currentColor; }
.store-badge__text { display: flex; flex-direction: column; line-height: 1.3; }
.store-badge__score { font-size: 17px; font-weight: 800; letter-spacing: -0.02em; }
.store-badge__name { color: var(--text-dim); font-size: 12px; font-weight: 600; }

/* ---------- CTA band ---------- */
.cta-band {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 28px;
    padding: 44px 46px;
    border-radius: var(--radius-xl);
    background:
        radial-gradient(ellipse 60% 120% at 92% 10%, rgba(250, 82, 142, 0.34), transparent 62%),
        linear-gradient(120deg, var(--brand-deep) 0%, var(--brand-strong) 58%, var(--brand) 100%);
    color: #fff;
    box-shadow: var(--shadow-lg);
}
.cta-band h2 {
    margin: 0 0 10px;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.18;
    letter-spacing: -0.03em;
    font-weight: 800;
}
.cta-band p { margin: 0; color: rgba(255, 255, 255, 0.82); }
.cta-band .btn-ghost {
    border-color: rgba(255, 255, 255, 0.42);
    background: transparent;
    color: #fff;
}
.cta-band .btn-ghost:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- tags ---------- */
.tag-cloud, .filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }
.tag {
    display: inline-block;
    padding: 6px 15px;
    border-radius: var(--pill);
    border: 1px solid var(--border);
    background: #fff;
    color: var(--text-mid);
    font-size: 13px;
    font-weight: 600;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.tag:hover {
    border-color: var(--brand-soft);
    background: var(--brand-wash);
    color: var(--brand);
}
.tag.is-active {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
    font-weight: 700;
}
.tag-sm { padding: 2px 11px; font-size: 12px; }
.section--wash .tag { border-color: var(--brand-tint); }

/* ---------- FAQ ---------- */
.faq-list { margin: 0; display: grid; gap: 12px; }
.faq-item {
    padding: 4px 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-xs);
    transition: border-color 0.24s ease, box-shadow 0.24s ease;
}
.faq-item[open], .faq-item:hover { border-color: var(--brand-tint); box-shadow: var(--shadow); }
.faq-item > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 0;
    cursor: pointer;
    list-style: none;
    color: var(--text);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::after {
    content: "";
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--brand-wash) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236d4aff' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / 14px no-repeat;
    transition: transform 0.24s ease;
}
.faq-item[open] > summary::after { transform: rotate(180deg); }
.faq-item__body {
    margin: 0;
    padding: 0 0 18px;
    color: var(--text-mid);
    font-size: 14.5px;
}
.faq-item__body a { font-weight: 650; }
/* legacy dl markup fallback */
.faq-item dt { font-weight: 700; margin-bottom: 6px; }
.faq-item dt a { color: var(--text); }
.faq-item dt a:hover { color: var(--brand); }
.faq-item dd { margin: 0; color: var(--text-mid); font-size: 14px; }

/* ---------- article cards ---------- */
.article-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow-xs);
    transition: transform 0.26s ease, border-color 0.26s ease, box-shadow 0.26s ease;
}
.article-card:hover {
    transform: translateY(-5px);
    border-color: var(--brand-tint);
    box-shadow: var(--shadow-lg);
}
.article-card h2, .article-card h3 { margin: 0 0 10px; font-size: 17px; line-height: 1.5; font-weight: 750; }
.article-card h2 a, .article-card h3 a { color: var(--text); }
.article-card h2 a:hover, .article-card h3 a:hover { color: var(--brand); }
.article-card p {
    margin: 0 0 12px; color: var(--text-mid); font-size: 14px;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.article-card time { color: var(--text-dim); font-size: 12px; }
.article-card__thumb {
    display: block;
    position: relative;
    aspect-ratio: 4 / 3;
    min-height: 180px;
    overflow: hidden;
    background: var(--surface-alt);
}
.article-card__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.32s ease;
}
.article-card:hover .article-card__thumb img { transform: scale(1.05); }
.article-card__content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 22px 24px 24px;
}
/* cards without a thumbnail (platform page) still need their own padding */
.article-card > h3:first-child { padding: 24px 24px 0; }
.article-card > h3:first-child + p { padding: 0 24px 24px; margin-bottom: 0; }
.card-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: auto; }

/* ---------- article detail ---------- */
.article-detail { padding-top: 26px; }
.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(200px, 1fr);
    align-items: start;
    gap: clamp(24px, 3.4vw, 40px);
}
.article-main { min-width: 0; }
.article-header h1 {
    font-size: clamp(24px, 3.4vw, 34px);
    line-height: 1.34;
    margin: 0 0 14px;
    font-weight: 800;
    letter-spacing: -0.03em;
}
.article-meta {
    display: flex; gap: 16px; flex-wrap: wrap; align-items: center;
    color: var(--text-dim); font-size: 13px; margin-bottom: 10px;
}
.article-hierarchy {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin: -4px 0 16px;
    color: var(--text-dim);
    font-size: 13px;
}
.article-hierarchy a { color: var(--brand); }
.article-translations { font-size: 13px; color: var(--text-dim); }
.article-translations a { margin-left: 8px; font-weight: 650; }
.article-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }

.article-summary {
    background: var(--brand-wash);
    border: 1px solid var(--brand-tint);
    border-left: 3px solid var(--brand);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 16px 20px;
    margin: 22px 0;
}
.article-summary p { margin: 0; color: var(--text); }

.article-toc {
    margin: 24px 0 30px;
    padding: 20px 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface-alt);
}
.article-toc__title {
    margin: 0 0 12px;
    color: var(--brand);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.article-toc ol { margin: 0; padding-left: 22px; display: grid; gap: 7px; }
.article-toc li { color: var(--text-dim); }
.article-toc li.is-sub { margin-left: 16px; font-size: 14px; }
.article-toc a { color: var(--text-mid); }
.article-toc a:hover { color: var(--brand); }

.article-body { font-size: 16px; color: var(--text); }
.article-body h2, .article-body h3 { scroll-margin-top: 96px; }
.article-body h2 {
    position: relative;
    padding-left: 15px;
    font-size: 23px;
    margin: 40px 0 14px;
    font-weight: 800;
    letter-spacing: -0.02em;
}
.article-body h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.24em;
    bottom: 0.24em;
    width: 4px;
    border-radius: var(--pill);
    background: linear-gradient(180deg, var(--brand), var(--pink));
}
.article-body h3 { font-size: 18.5px; margin: 30px 0 12px; font-weight: 750; }
.article-body p { margin: 0 0 16px; }
.article-body img { border-radius: var(--radius); box-shadow: var(--shadow-xs); }
.article-body ul, .article-body ol { padding-left: 24px; }
.article-body li::marker { color: var(--brand); }
.article-body code {
    background: var(--brand-wash);
    border: 1px solid var(--brand-tint);
    color: var(--brand-strong);
    padding: 2px 6px;
    border-radius: 5px;
    font-size: 14px;
}
.article-body pre {
    background: var(--ink-deep);
    color: #ede9ff;
    padding: 18px;
    border-radius: var(--radius);
    overflow-x: auto;
}
.article-body pre code { border: 0; background: none; padding: 0; color: inherit; }
.article-body table { border-collapse: collapse; width: 100%; }
.article-body th, .article-body td { border: 1px solid var(--border); padding: 10px 13px; }
.article-body th { background: var(--brand-wash); font-weight: 700; }
.article-body blockquote {
    margin: 20px 0;
    padding: 12px 18px;
    border-left: 3px solid var(--brand);
    background: var(--brand-wash);
    color: var(--text-mid);
}

.article-footer {
    margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--border);
    color: var(--text-dim); font-size: 13px;
}

.article-sidebar {
    position: sticky;
    top: 100px;
    display: grid;
    gap: 16px;
    min-width: 0;
}
.article-sidebar__panel {
    position: relative;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow-xs);
}
.article-sidebar__title {
    margin: 0 0 12px;
    color: var(--brand);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.article-sidebar .download-panel--sidebar {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
    max-width: none;
}
.article-sidebar .download-panel--sidebar .download-card {
    min-height: 58px;
    justify-content: flex-start;
    gap: 9px;
    padding: 9px 12px;
    border-radius: var(--radius-sm);
    text-align: left;
}
.article-sidebar .download-panel--sidebar .download-card--featured {
    grid-column: auto;
    min-height: 64px;
}
.article-sidebar .download-panel--sidebar .download-card__icon { width: 32px; height: 32px; border-radius: 9px; }
.article-sidebar .download-panel--sidebar .download-card--featured .download-card__icon { width: 36px; height: 36px; }
.article-sidebar .download-panel--sidebar .download-card__label,
.article-sidebar .download-panel--sidebar .download-card__note { white-space: normal; }
.article-sidebar .download-panel--sidebar .download-card__label { font-size: 12px; line-height: 1.25; }
.article-sidebar .download-panel--sidebar .download-card--featured .download-card__label { font-size: 13px; }
.article-sidebar .download-panel--sidebar .download-card__note { font-size: 10.5px; }
.article-sidebar .download-panel--sidebar .download-card__qr { display: none; }

.article-recommend-list { display: grid; gap: 8px; }
.article-recommend-link {
    display: block;
    padding: 11px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface-alt);
    color: var(--text-mid);
    font-size: 13px;
    line-height: 1.45;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.article-recommend-link:hover {
    color: var(--brand);
    border-color: var(--brand-tint);
    background: var(--brand-wash);
    transform: translateX(3px);
}

/* ---------- pager ---------- */
.pager { display: flex; gap: 8px; justify-content: center; list-style: none; padding: 0; margin: 40px 0 0; }
.pager-link {
    display: inline-block; min-width: 40px; text-align: center; padding: 8px 12px;
    border: 1px solid var(--border); border-radius: var(--radius-sm);
    background: #fff;
    color: var(--text-mid); font-size: 14px; font-weight: 600;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.pager-link:hover { border-color: var(--brand-soft); background: var(--brand-wash); color: var(--brand); }
.pager .active .pager-link { background: var(--brand); border-color: var(--brand); color: #fff; }
.pager-link.is-disabled { opacity: 0.4; pointer-events: none; }

.empty-tip { color: var(--text-dim); text-align: center; padding: 48px 0; }

.fallback-notice {
    background: #fffaf0;
    border: 1px solid #fde9c2;
    border-left: 3px solid #f0a72e;
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 14px 18px;
    margin: 0 0 26px;
    color: #8a5a10;
    font-size: 14px;
}

/* ---------- downloads ---------- */
.download-panel {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    max-width: 860px;
}
.download-card {
    position: relative;
    min-height: 74px;
    overflow: visible;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
    color: var(--text);
    box-shadow: var(--shadow-xs);
    transition: transform 0.26s ease, border-color 0.26s ease, box-shadow 0.26s ease;
}
.download-card:hover {
    transform: translateY(-3px);
    border-color: var(--brand-tint);
    color: var(--text);
    box-shadow: var(--shadow-lg);
}
/* primary (desktop) entry spans the row and carries the brand gradient */
.download-card--featured {
    grid-column: 1 / -1;
    min-height: 86px;
    border-color: transparent;
    background: linear-gradient(120deg, var(--brand-strong) 0%, var(--brand) 62%, #8b6bff 100%);
    color: #fff;
    box-shadow: var(--shadow-brand);
}
.download-card--featured:hover {
    color: #fff;
    border-color: transparent;
    box-shadow: 0 18px 40px rgba(109, 74, 255, 0.4);
}
.download-card__icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: var(--surface-alt);
    border: 1px solid var(--border);
    color: var(--text);
}
.download-card--featured .download-card__icon {
    width: 48px;
    height: 48px;
    border-color: transparent;
    background: #fff;
    box-shadow: 0 6px 18px rgba(8, 3, 31, 0.22);
}
.download-card__icon svg { width: 20px; height: 20px; display: block; fill: currentColor; }
.download-card__icon--appstore { background: #111017; border-color: #111017; color: #fff; }
.download-card__icon--android { background: rgba(61, 220, 132, 0.14); border-color: rgba(61, 220, 132, 0.45); color: #21a95c; }
.download-card__icon--googleplay { background: #fff; color: transparent; }
.download-card__text { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.download-card__label {
    color: inherit;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}
.download-card__note {
    margin-top: 3px;
    color: var(--text-dim);
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}
.download-card--featured .download-card__label { font-size: clamp(16px, 1.6vw, 19px); }
.download-card--featured .download-card__note { color: rgba(255, 255, 255, 0.78); }
.download-card__qr {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 14px);
    z-index: 10;
    width: 156px;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 10px) scale(0.96);
    transition: opacity 0.24s ease, transform 0.24s ease;
}
.download-card__qr::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -7px;
    width: 13px;
    height: 13px;
    background: #fff;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    transform: translateX(-50%) rotate(45deg);
}
.download-card__qr img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    border-radius: var(--radius-sm);
    background: #fff;
}
.download-card__qr span {
    position: relative;
    z-index: 1;
    display: block;
    margin-top: 8px;
    color: var(--text-dim);
    font-size: 12px;
    text-align: center;
}
.download-card:hover .download-card__qr { opacity: 1; transform: translate(-50%, 0) scale(1); }

/* ---------- footer ---------- */
.site-footer {
    position: relative;
    margin-top: 96px;
    padding: 0 0 28px;
    background:
        radial-gradient(ellipse 70% 90% at 14% 0%, rgba(109, 74, 255, 0.3), transparent 62%),
        var(--ink-deep);
    color: #c3bce0;
}
/* 深紫下载条：浮在浅色页面与深色页脚交界，避免白卡叠白底 */
.footer-download {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
    align-items: center;
    gap: 30px;
    transform: translateY(-52px);
    margin-bottom: -20px;
    padding: 42px 44px;
    border-radius: var(--radius-xl);
    background:
        radial-gradient(ellipse 60% 120% at 92% 10%, rgba(250, 82, 142, 0.34), transparent 62%),
        linear-gradient(120deg, var(--brand-deep) 0%, var(--brand-strong) 58%, var(--brand) 100%);
    color: #fff;
    box-shadow: var(--shadow-lg);
}
.footer-download .eyebrow {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.32);
    color: #fff;
    box-shadow: none;
}
.footer-download .eyebrow::before {
    background: #fff;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.28);
}
.footer-download__copy h2 {
    margin: 0 0 10px;
    color: #fff;
    font-size: clamp(24px, 3vw, 33px);
    line-height: 1.2;
    letter-spacing: -0.03em;
    font-weight: 800;
}
.footer-download__copy p:last-child { margin: 0; color: rgba(255, 255, 255, 0.82); }
.footer-download .download-panel { max-width: none; }
/* 深色底上的下载卡保持浅色，和紫色条形成对比；主按钮不再用同色渐变 */
.footer-download .download-card {
    background: #fff;
    border-color: transparent;
    color: var(--text);
}
.footer-download .download-card--featured {
    background: #fff;
    color: var(--text);
    box-shadow: 0 10px 28px rgba(8, 3, 31, 0.22);
}
.footer-download .download-card--featured .download-card__note {
    color: var(--text-dim);
}
.footer-download .download-card--featured .download-card__icon {
    background: var(--brand-wash);
    color: var(--brand);
    box-shadow: none;
}

.footer-inner {
    display: grid; gap: 30px;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    padding-top: 10px;
    padding-bottom: 44px;
}
.footer-brand { color: #fff; font-weight: 800; font-size: 17px; margin: 0 0 8px; }
.footer-desc { color: #a49cc8; font-size: 13px; margin: 0; }
.footer-title {
    margin: 0 0 12px;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.footer-col a { display: block; color: #a49cc8; font-size: 13px; padding: 3px 0; }
.footer-col a:hover { color: #fff; }
.footer-copy {
    border-top: 1px solid rgba(226, 219, 255, 0.12);
    padding: 24px 22px 6px;
    color: #8d85b3; font-size: 12px; text-align: center;
}
.footer-copy p { margin: 0; }
.footer-licenses {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px 18px;
    margin-top: 8px;
}
.footer-licenses a { color: inherit; }
.footer-licenses a:hover { color: #fff; }

/* ---------- keyframes ---------- */
@keyframes signalPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.72); }
}

@keyframes orbDrift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(26px, -22px) scale(1.12); }
}

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

@keyframes glowPulse {
    from { transform: scale(0.9); opacity: 0.55; }
    to { transform: scale(1.1); opacity: 1; }
}

/* ---------- Supported Games & Apps ---------- */
.support-page { position: relative; }

.support-search {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    max-width: 560px;
}
.support-search input[type="search"] {
    flex: 1;
    min-width: 0;
    padding: 13px 20px;
    border: 1px solid var(--border);
    border-radius: var(--pill);
    background: #fff;
    color: var(--text);
    font-size: 14px;
    outline: none;
    box-shadow: var(--shadow-xs);
    transition: border-color .2s ease, box-shadow .2s ease;
}
.support-search input[type="search"]::placeholder { color: var(--text-dim); }
.support-search input[type="search"]:focus {
    border-color: var(--brand-soft);
    box-shadow: 0 0 0 4px rgba(109, 74, 255, 0.14);
}
.support-search button {
    padding: 13px 28px;
    border: 0;
    border-radius: var(--pill);
    background: var(--brand);
    color: #fff;
    font-size: 14px;
    font-weight: 750;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.support-search button:hover {
    background: var(--brand-strong);
    transform: translateY(-1px);
    box-shadow: var(--shadow-brand);
}
.support-search button:disabled { opacity: .6; cursor: wait; transform: none; }

.support-search__hint,
.support-search__status {
    margin: 0 0 18px;
    color: var(--text-dim);
    font-size: 13px;
}
.support-search__status { color: var(--brand); font-weight: 600; }

.support-section { margin-top: 42px; }

.support-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    padding: 0 11px;
    border-radius: var(--pill);
    background: var(--brand-wash);
    border: 1px solid var(--brand-tint);
    color: var(--brand);
    font-size: 13px;
    font-weight: 700;
}

/* Infinite marquee carousel — only limited showcase items */
.support-carousel {
    position: relative;
    margin: 0 -8px;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.support-carousel__track {
    display: flex;
    gap: 16px;
    width: max-content;
    padding: 18px 8px 10px;
    animation: supportMarquee var(--support-duration, 48s) linear infinite;
    will-change: transform;
}
.support-carousel--apps .support-carousel__track {
    --support-duration: 42s;
    animation-direction: reverse;
}
.support-carousel.is-paused .support-carousel__track { animation-play-state: paused; }

@keyframes supportMarquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.support-carousel .support-card { flex: 0 0 auto; width: 128px; }
.support-carousel--apps .support-card { width: 112px; }

.support-grid { display: grid; gap: 14px; }
.support-grid--windows { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
.support-grid--apps { grid-template-columns: repeat(auto-fill, minmax(108px, 1fr)); }

.support-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 14px 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
    text-align: center;
    overflow: hidden;
    isolation: isolate;
    box-shadow: var(--shadow-xs);
    opacity: 0;
    transform: translateY(18px) scale(0.94);
    animation: supportCardIn .55s cubic-bezier(.22, 1, .36, 1) forwards;
    animation-delay: var(--card-delay, 0s);
    transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.support-card.is-enter { animation-name: supportCardPop; }

@keyframes supportCardIn {
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes supportCardPop {
    0% { opacity: 0; transform: translateY(16px) scale(0.9); }
    70% { opacity: 1; transform: translateY(-3px) scale(1.03); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

.support-card__glow {
    position: absolute;
    inset: auto 18% -40% 18%;
    height: 70%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(109, 74, 255, 0.32), transparent 70%);
    filter: blur(14px);
    opacity: 0;
    transition: opacity .3s ease;
    pointer-events: none;
    z-index: 0;
}
.support-card:hover {
    border-color: var(--brand-tint);
    transform: translateY(-6px) scale(1.03);
    box-shadow: var(--shadow-lg);
    z-index: 2;
}
.support-card:hover .support-card__glow { opacity: 1; }

.support-card__icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: var(--radius-sm);
    background: var(--surface-alt);
    box-shadow: 0 8px 20px rgba(37, 25, 90, 0.14);
    animation: supportIconFloat 4.8s ease-in-out infinite;
    animation-delay: var(--card-delay, 0s);
    z-index: 1;
}
.support-card--windows .support-card__icon { width: 92px; height: 134px; }
.support-card--app .support-card__icon { width: 72px; height: 72px; border-radius: 16px; }
.support-card__icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .45s ease;
}
.support-card:hover .support-card__icon img { transform: scale(1.08); }

.support-card__shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.55) 48%, transparent 62%);
    transform: translateX(-120%);
    pointer-events: none;
}
.support-card:hover .support-card__shine { animation: supportShine .85s ease; }

@keyframes supportShine {
    to { transform: translateX(120%); }
}

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

.support-card__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(140deg, var(--brand), var(--pink));
    color: #fff;
    font-size: 28px;
    font-weight: 800;
}
.support-card__name {
    position: relative;
    z-index: 1;
    margin: 0;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.35;
    color: var(--text);
    word-break: break-word;
}

.support-empty { display: none; margin-top: 12px; }
.support-empty.is-visible { display: block; }
.support-results__meta { margin: 10px 0 0; color: var(--text-dim); font-size: 12px; }
.support-page.is-searching .support-carousel__track { animation-play-state: paused; }

/* ---------- responsive ---------- */
/* 语言标签用的是各语言自称（English / Tiếng Việt 等），比中文长不少。
   窄于此宽度时先撤掉头部 CTA，把空间留给导航，避免主导航折成两行。 */
@media (max-width: 1140px) {
    .header-cta { display: none; }
}
@media (max-width: 1080px) {
    html:lang(en) .brand-badge,
    html:lang(ja) .brand-badge,
    html:lang(vi) .brand-badge { display: none; }
}

@media (max-width: 980px) {
    .cta-band { grid-template-columns: 1fr; padding: 34px 28px; }
    .quote-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
    .container { padding-left: 16px; padding-right: 16px; }
    .header-inner {
        gap: 10px 12px;
        min-height: 0;
        padding: 10px 0 12px;
    }
    .brand { flex: 1 1 auto; min-width: 120px; gap: 8px; font-size: 18px; }
    .brand img { width: 30px; height: 30px; }
    .brand-text { font-size: 17px; gap: 6px; }
    .brand-badge { font-size: 10px; padding: 2px 6px; }
    .header-actions { margin-left: auto; gap: 8px; }
    .lang-switcher a { padding: 4px 9px; font-size: 12px; }
    .header-cta { display: none; }
    .main-nav {
        order: 3;
        width: 100%;
        flex: 0 0 100%;
        flex-wrap: nowrap;
        gap: 4px;
        overflow-x: auto;
        padding: 4px 0;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    .main-nav::-webkit-scrollbar { display: none; }
    .main-nav a {
        flex: 1 0 auto;
        min-width: max-content;
        padding: 7px 13px;
        font-size: 14px;
        text-align: center;
    }
    .hero { padding: 40px 0 40px; }
    .hero--home { padding-top: 40px; }
    .hero--platform { padding-top: 34px; }
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero--home .hero-grid { grid-template-columns: 1fr; }
    .hero-title {
        margin-left: auto;
        margin-right: auto;
        font-size: clamp(30px, 9.5vw, 44px);
        letter-spacing: -0.04em;
    }
    .hero-sub { margin-left: auto; margin-right: auto; font-size: 15.5px; }
    .hero-trial { margin-bottom: 20px; font-size: 14px; }
    .hero-actions { justify-content: stretch; }
    .hero-actions .btn { flex: 1 1 auto; }
    .hero-proof { justify-content: center; gap: 8px 16px; }
    .hero-proof__item + .hero-proof__item { padding-left: 16px; }
    .platform-chips { justify-content: center; }
    .download-panel {
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .download-card { min-height: 66px; text-align: left; }
    .download-card--featured { min-height: 78px; }
    .download-card__label, .download-card__note { white-space: normal; }
    .download-card__qr { display: none; }
    .hero-device { min-height: 240px; }
    .hero--platform .hero-device { display: none; }
    .hero-device__desktop {
        top: 0;
        right: 50%;
        width: min(92vw, 460px);
        transform: translateX(50%);
        animation: none;
    }
    .hero-device__mobile {
        right: 5%;
        bottom: 2%;
        width: min(28vw, 128px);
        animation: none;
    }
    .page-head { padding: 26px 0 8px; }
    .page-head .container { padding-top: 14px; padding-bottom: 18px; }
    .page-head h1 { font-size: clamp(27px, 8.5vw, 36px); letter-spacing: -0.032em; }
    .breadcrumb { max-width: 100%; font-size: 12px; }
    .article-layout { grid-template-columns: 1fr; }
    .article-sidebar { position: static; grid-template-columns: 1fr; }
    .section { padding: 40px 0; }
    .section-head { align-items: flex-start; flex-direction: column; gap: 4px; }
    .section-head .section-title { margin-bottom: 14px; }
    .feature-grid, .card-grid, .scene-grid, .reason-grid, .plan-grid, .quote-grid {
        grid-template-columns: 1fr;
    }
    .feature-card, .scene-card, .reason-item, .quote-card { padding: 22px 20px; }
    /* 四项指标在窄屏排成 2×2，避免拉成很长的一列 */
    .stat-band { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stat-item { padding: 22px 12px; }
    .stat-item:not(:last-child)::after { display: none; }
    .stat-label { letter-spacing: 0.06em; }
    .footer-download {
        grid-template-columns: 1fr;
        transform: translateY(-28px);
        margin-bottom: -12px;
        padding: 28px 22px;
        text-align: center;
    }
    .footer-download .download-card { text-align: left; }
    .footer-licenses { display: grid; gap: 6px; }
    .support-search { flex-direction: column; max-width: none; }
    .support-search button { width: 100%; }
    .support-grid--windows { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); }
    .support-grid--apps { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }
    .support-carousel .support-card { width: 110px; }
    .support-carousel--apps .support-card { width: 100px; }
}

@media (max-width: 520px) {
    .brand-badge { display: none; }
    .hero { padding-top: 32px; }
    .hero-device { display: none; }
    .scene-beam { display: none; }
    .download-card__icon { width: 34px; height: 34px; }
    .download-card--featured .download-card__icon { width: 42px; height: 42px; }
    .footer-download { margin-left: 16px; margin-right: 16px; }
    .cta-band { padding: 28px 20px; border-radius: var(--radius-lg); }
    .cta-band__actions .btn { width: 100%; }
}

@media (max-width: 920px) and (min-width: 721px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero--home .hero-grid { grid-template-columns: 1fr; }
    .hero-title, .hero-sub { margin-left: auto; margin-right: auto; }
    .hero-actions, .hero-proof, .platform-chips { justify-content: center; }
    .download-panel { margin-left: auto; margin-right: auto; }
    .hero-device { min-height: 380px; }
    .article-layout { grid-template-columns: 1fr; }
    .article-sidebar {
        position: static;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }
    .footer-download { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .scene-beam,
    .eyebrow::before,
    .hero-device::before,
    .hero-device img,
    .stat-band::after,
    .stat-item::before,
    .support-carousel__track,
    .support-card,
    .support-card__icon,
    .support-card__shine {
        animation: none !important;
    }
    .stat-band::after { opacity: 0.08; transform: none; }
    .support-card { opacity: 1; transform: none; }
}
