:root {
    --bg: #050a14;
    --bg-deep: #02050d;
    --surface: rgba(255, 255, 255, 0.04);
    --surface-strong: rgba(255, 255, 255, 0.06);
    --line: rgba(255, 255, 255, 0.08);
    --line-strong: rgba(255, 255, 255, 0.14);
    --text: #e6f0fa;
    --text-soft: #b5c6db;
    --text-muted: #6b7d94;
    --cyan: #2dd4f7;
    --cyan-deep: #0aa6e0;
    --blue: #0093d4;
    --blue-deep: #006baf;
    --emerald: #00e5a3;
    --brand-grad: linear-gradient(135deg, #2dd4f7 0%, #0093d4 50%, #0058a3 100%);
    --brand-grad-v: linear-gradient(180deg, #2dd4f7 0%, #0078c2 100%);
    --glow-cyan: 0 0 36px rgba(45, 212, 247, 0.45);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-width: 1120px;
    margin: 0;
    color: var(--text);
    background: var(--bg);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.aurora {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(820px 520px at 18% 12%, rgba(45, 212, 247, 0.18), transparent 65%),
        radial-gradient(900px 600px at 86% 8%, rgba(0, 147, 212, 0.22), transparent 60%),
        radial-gradient(700px 500px at 50% 95%, rgba(0, 88, 163, 0.18), transparent 70%);
}

.grid-veil {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
}

button,
a {
    font: inherit;
    color: inherit;
}

button {
    border: 0;
    background: none;
    cursor: pointer;
}

a {
    text-decoration: none;
}

.page-shell {
    position: relative;
    z-index: 1;
    width: min(1280px, calc(100vw - 64px));
    margin: 0 auto;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
    border-bottom: 1px solid var(--line);
    background: rgba(5, 10, 20, 0.72);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: var(--text);
}

.brand img {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    box-shadow: var(--glow-cyan);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 38px;
    color: var(--text-soft);
    font-size: 14px;
    font-weight: 500;
}

.nav-links a {
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--cyan);
}

.nav-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 42px;
    padding: 0 22px;
    color: #04111d;
    background: linear-gradient(135deg, #2dd4f7 0%, #00b8e6 100%);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.4px;
    box-shadow: 0 10px 30px rgba(45, 212, 247, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.5);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.nav-action::after {
    content: "→";
    font-weight: 900;
}

.nav-action:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 36px rgba(45, 212, 247, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

/* === HERO === */
.hero {
    position: relative;
    padding: 110px 0 90px;
    text-align: center;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 32px;
    padding: 0 16px 0 6px;
    color: var(--text-soft);
    background: var(--surface-strong);
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.6px;
}

.hero-tag b {
    display: inline-flex;
    align-items: center;
    height: 22px;
    padding: 0 10px;
    color: #04111d;
    background: var(--cyan);
    border-radius: 999px;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.2px;
}

.hero h1 {
    margin: 30px auto 22px;
    max-width: 980px;
    font-size: 92px;
    line-height: 1.05;
    letter-spacing: -2px;
    font-weight: 800;
}

.hero h1 em {
    font-style: normal;
    background: linear-gradient(180deg, #ffffff 0%, #6cdfff 60%, #2dd4f7 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 60px rgba(45, 212, 247, 0.4);
}

.hero-lead {
    max-width: 680px;
    margin: 0 auto;
    color: var(--text-soft);
    font-size: 18px;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 44px;
}

.btn-primary,
.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 54px;
    padding: 0 28px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 15px;
    letter-spacing: 0.4px;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
    cursor: pointer;
}

.btn-primary {
    color: #04111d;
    background: linear-gradient(135deg, #2dd4f7 0%, #00b8e6 100%);
    box-shadow: 0 18px 40px rgba(45, 212, 247, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.btn-primary::after {
    content: "↓";
    font-size: 16px;
    font-weight: 900;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 48px rgba(45, 212, 247, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.btn-ghost {
    color: var(--text);
    background: var(--surface);
    border: 1px solid var(--line-strong);
}

.btn-ghost:hover {
    border-color: var(--cyan);
    color: var(--cyan);
}

.hero-stage {
    position: relative;
    margin: 80px auto 0;
    max-width: 1080px;
    height: 280px;
}

.stage-core {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 120px;
    height: 120px;
    margin: -60px 0 0 -60px;
    border-radius: 26px;
    background: var(--brand-grad);
    box-shadow: 0 0 80px rgba(45, 212, 247, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.4);
    display: grid;
    place-items: center;
}

.stage-core img {
    width: 72px;
    height: 72px;
    border-radius: 16px;
}

.stage-ring {
    position: absolute;
    left: 50%;
    top: 50%;
    border: 1px solid rgba(45, 212, 247, 0.22);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.stage-ring.r1 {
    width: 280px;
    height: 280px;
}

.stage-ring.r2 {
    width: 460px;
    height: 460px;
    border-color: rgba(45, 212, 247, 0.14);
}

.stage-ring.r3 {
    width: 680px;
    height: 680px;
    border-color: rgba(45, 212, 247, 0.08);
}

.stage-node {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    height: 44px;
    padding: 0 16px 0 12px;
    background: rgba(8, 18, 32, 0.85);
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-soft);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.stage-node i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--emerald);
    box-shadow: 0 0 12px rgba(0, 229, 163, 0.8);
    font-style: normal;
}

.stage-node.n1 {
    left: 4%;
    top: 22%;
}

.stage-node.n2 {
    right: 6%;
    top: 18%;
}

.stage-node.n3 {
    left: 12%;
    bottom: 14%;
}

.stage-node.n4 {
    right: 14%;
    bottom: 12%;
}

.stage-node.n5 {
    left: 50%;
    top: 8%;
    transform: translateX(-50%);
}

.stage-node.n6 {
    left: 50%;
    bottom: 8%;
    transform: translateX(-50%);
}

/* === MARQUEE STRIP === */
.trust-strip {
    margin: 90px 0 0;
    padding: 22px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.015);
}

.trust-row {
    display: flex;
    justify-content: space-around;
    align-items: center;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.trust-row span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.trust-row span::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 10px rgba(45, 212, 247, 0.8);
}

/* === PILLARS === */
.section {
    padding: 120px 0 40px;
    position: relative;
}

.section-kicker {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--cyan);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.section-kicker::before {
    content: "";
    width: 28px;
    height: 1px;
    background: var(--cyan);
    box-shadow: 0 0 8px rgba(45, 212, 247, 0.7);
}

.section-title {
    margin: 18px 0 0;
    font-size: 56px;
    line-height: 1.12;
    letter-spacing: -1px;
    font-weight: 800;
    max-width: 760px;
}

.section-sub {
    margin: 22px 0 0;
    max-width: 560px;
    color: var(--text-soft);
    font-size: 16px;
    line-height: 1.85;
}

.pillars {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 18px;
    margin-top: 56px;
}

.pillar {
    position: relative;
    grid-column: span 6;
    padding: 36px 36px 32px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
    overflow: hidden;
    transition: border-color 0.25s ease, transform 0.25s ease;
}

.pillar.tall {
    grid-column: span 6;
    grid-row: span 2;
}

.pillar.wide {
    grid-column: span 12;
}

.pillar:hover {
    border-color: rgba(45, 212, 247, 0.4);
    transform: translateY(-3px);
}

.pillar::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 30px;
    width: 80px;
    height: 2px;
    background: var(--brand-grad);
    border-radius: 0 0 4px 4px;
    box-shadow: 0 0 14px rgba(45, 212, 247, 0.7);
}

.pillar-index {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--text-muted);
}

.pillar h3 {
    margin: 14px 0 16px;
    font-size: 28px;
    line-height: 1.2;
    letter-spacing: -0.3px;
    font-weight: 800;
}

.pillar p {
    margin: 0;
    color: var(--text-soft);
    font-size: 15px;
    line-height: 1.85;
}

.pillar-visual {
    margin-top: 32px;
    height: 160px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.pillar.tall .pillar-visual {
    height: 260px;
}

/* visual: encryption packets */
.viz-packets {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 6px;
    padding: 22px;
}

.viz-packets span {
    border-radius: 4px;
    background: linear-gradient(180deg, rgba(45, 212, 247, 0.6), rgba(45, 212, 247, 0.1));
    box-shadow: 0 0 12px rgba(45, 212, 247, 0.4);
    opacity: 0.4;
}

.viz-packets span:nth-child(3n) {
    opacity: 0.8;
}

.viz-packets span:nth-child(5n) {
    opacity: 1;
    background: linear-gradient(180deg, #2dd4f7, #00b8e6);
}

.viz-packets span:nth-child(7n) {
    background: linear-gradient(180deg, rgba(0, 229, 163, 0.7), rgba(0, 229, 163, 0.1));
    box-shadow: 0 0 12px rgba(0, 229, 163, 0.4);
}

/* visual: tunnel */
.viz-tunnel {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.viz-tunnel::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 4px;
    margin-top: -2px;
    background: linear-gradient(90deg, transparent, rgba(45, 212, 247, 0.5), transparent);
}

.viz-tunnel-chip {
    position: relative;
    z-index: 2;
    padding: 12px 18px;
    font-family: "SF Mono", Menlo, Consolas, monospace;
    font-size: 12px;
    color: var(--cyan);
    background: rgba(5, 10, 20, 0.9);
    border: 1px solid rgba(45, 212, 247, 0.4);
    border-radius: 8px;
    box-shadow: 0 0 24px rgba(45, 212, 247, 0.3);
}

.viz-tunnel-chip + .viz-tunnel-chip {
    margin-left: 80px;
}

/* visual: shield */
.viz-shield {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
}

.viz-shield-core {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 40%, rgba(45, 212, 247, 0.4), rgba(0, 88, 163, 0.1) 60%, transparent);
    border: 1px solid rgba(45, 212, 247, 0.3);
    box-shadow: inset 0 0 40px rgba(45, 212, 247, 0.3), 0 0 60px rgba(45, 212, 247, 0.2);
    display: grid;
    place-items: center;
    font-size: 36px;
    color: var(--cyan);
    font-weight: 900;
}

.viz-shield-ring {
    position: absolute;
    border: 1px dashed rgba(45, 212, 247, 0.25);
    border-radius: 50%;
}

.viz-shield-ring.a {
    width: 200px;
    height: 200px;
}

.viz-shield-ring.b {
    width: 260px;
    height: 260px;
    border-color: rgba(45, 212, 247, 0.12);
}

/* visual: terminal */
.viz-term {
    position: absolute;
    inset: 0;
    padding: 22px 24px;
    font-family: "SF Mono", Menlo, Consolas, monospace;
    font-size: 12.5px;
    line-height: 1.8;
    color: var(--text-soft);
}

.viz-term .ln {
    display: block;
}

.viz-term .tag {
    color: var(--cyan);
}

.viz-term .ok {
    color: var(--emerald);
}

.viz-term .num {
    color: #ffb86b;
}

/* === METRICS BAND === */
.metrics-band {
    margin: 120px 0 0;
    padding: 56px 56px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background:
        radial-gradient(700px 280px at 0% 0%, rgba(45, 212, 247, 0.18), transparent 60%),
        radial-gradient(700px 280px at 100% 100%, rgba(0, 147, 212, 0.16), transparent 65%),
        rgba(255, 255, 255, 0.025);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.metric {
    border-left: 1px solid var(--line);
    padding-left: 24px;
}

.metric:first-child {
    border-left: 0;
    padding-left: 0;
}

.metric-num {
    font-size: 56px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -1px;
    background: linear-gradient(180deg, #ffffff, #6cdfff 80%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.metric-num sup {
    font-size: 22px;
    vertical-align: super;
    margin-left: 4px;
    color: var(--cyan);
    -webkit-text-fill-color: var(--cyan);
}

.metric-label {
    margin-top: 12px;
    color: var(--text-soft);
    font-size: 14px;
    letter-spacing: 0.5px;
}

/* === DOWNLOAD === */
.download-shell {
    margin-top: 56px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--line);
    border-radius: 18px;
    overflow: hidden;
}

.dl-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 32px 28px;
    background: #060c16;
    border: 0;
    border-radius: 0;
    text-align: left;
    transition: background 0.25s ease;
    min-height: 240px;
}

.dl-card:hover {
    background: #0a1422;
}

.dl-plat {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--cyan);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.dl-plat::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 10px rgba(45, 212, 247, 0.8);
}

.dl-name {
    font-size: 22px;
    font-weight: 800;
    color: var(--text);
}

.dl-meta {
    font-size: 12px;
    color: var(--text-muted);
    font-family: "SF Mono", Menlo, Consolas, monospace;
    letter-spacing: 0.3px;
}

.dl-action {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 38px;
    padding: 0 16px;
    color: var(--text);
    background: var(--surface-strong);
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.dl-action::after {
    content: "↓";
}

.dl-action:hover {
    border-color: var(--cyan);
    color: var(--cyan);
}

.dl-qr {
    margin-top: 4px;
    width: 108px;
    height: 108px;
    padding: 8px;
    background: #fff;
    border-radius: 10px;
}

.dl-qr img {
    width: 100%;
    height: 100%;
    display: block;
}

.dl-qr:empty::before {
    content: "PENDING";
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    color: #6b7d94;
    background: #0a1322;
    border: 1px dashed var(--line-strong);
    border-radius: 6px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

/* === FINAL CTA === */
.cta-band {
    position: relative;
    margin: 140px 0 100px;
    padding: 72px 56px;
    border-radius: 28px;
    border: 1px solid rgba(45, 212, 247, 0.3);
    background:
        radial-gradient(800px 400px at 50% 0%, rgba(45, 212, 247, 0.25), transparent 70%),
        linear-gradient(135deg, #061523 0%, #021624 50%, #051a2c 100%);
    text-align: center;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 88, 163, 0.4);
}

.cta-band h2 {
    margin: 0 auto;
    max-width: 700px;
    font-size: 48px;
    line-height: 1.15;
    letter-spacing: -0.5px;
    font-weight: 800;
}

.cta-band p {
    margin: 18px auto 0;
    max-width: 540px;
    color: var(--text-soft);
    font-size: 16px;
    line-height: 1.8;
}

.cta-band .hero-cta {
    margin-top: 38px;
}

.page-footer {
    padding: 36px 0 48px;
    border-top: 1px solid var(--line);
    color: var(--text-muted);
    font-size: 12px;
    letter-spacing: 0.5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-footer span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.page-footer span::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--emerald);
    box-shadow: 0 0 10px rgba(0, 229, 163, 0.8);
}

@media (max-width: 1240px) {
    .page-shell {
        width: calc(100vw - 40px);
    }

    .hero h1 {
        font-size: 72px;
    }

    .section-title {
        font-size: 44px;
    }

    .metric-num {
        font-size: 44px;
    }

    .cta-band h2 {
        font-size: 38px;
    }
}
