:root {
    --bg-0: #05060d;
    --bg-1: #07101d;
    --surface: rgba(16, 24, 52, 0.56);
    --surface-strong: rgba(10, 16, 36, 0.82);
    --ink: #eaf0ff;
    --ink-dim: #8a9bc8;
    --ink-mute: #5c6b95;
    --cyan: #35e7ff;
    --cyan-2: #8cf2ff;
    --violet: #a06bff;
    --lime: #c8ff5a;
    --stroke: rgba(140, 175, 230, 0.14);
    --stroke-strong: rgba(140, 175, 230, 0.24);
    --shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.72);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    color: var(--ink);
    font-family: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    background:
        radial-gradient(1200px 800px at 78% -10%, rgba(160, 107, 255, 0.18), transparent 60%),
        radial-gradient(1200px 900px at 10% 110%, rgba(53, 231, 255, 0.12), transparent 60%),
        radial-gradient(700px 500px at 50% 55%, rgba(22, 40, 100, 0.24), transparent 70%),
        linear-gradient(180deg, #04050b 0%, #060912 50%, #04050b 100%);
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea {
    font: inherit;
}

.shell {
    width: min(1320px, calc(100% - 40px));
    margin: 0 auto;
}

.stars,
.scan,
.vignette,
.orbs {
    position: fixed;
    inset: 0;
    pointer-events: none;
}

.stars {
    z-index: 0;
    opacity: 0.6;
    background-image:
        radial-gradient(1px 1px at 12% 22%, #fff, transparent 60%),
        radial-gradient(1px 1px at 28% 70%, #bde3ff, transparent 60%),
        radial-gradient(1.2px 1.2px at 55% 12%, #fff, transparent 60%),
        radial-gradient(1px 1px at 78% 38%, #c6baff, transparent 60%),
        radial-gradient(1px 1px at 85% 82%, #fff, transparent 60%),
        radial-gradient(1px 1px at 40% 90%, #aef5ff, transparent 60%),
        radial-gradient(1px 1px at 65% 60%, #fff, transparent 60%);
    animation: twinkle 6s ease-in-out infinite alternate;
}

.scan {
    z-index: 1;
    background: repeating-linear-gradient(to bottom, rgba(255, 255, 255, 0.014) 0 2px, transparent 2px 4px);
    mix-blend-mode: overlay;
}

.vignette {
    z-index: 1;
    background: radial-gradient(ellipse at center, transparent 40%, rgba(0, 0, 0, 0.65) 100%);
}

.orbs {
    z-index: 0;
    overflow: hidden;
}

.orb {
    position: absolute;
    left: var(--x, 50%);
    bottom: -20px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    opacity: 0.7;
    animation: floatUp var(--dur, 18s) linear infinite;
    animation-delay: var(--delay, 0s);
}

.orb.c {
    background: #8cf2ff;
    box-shadow: 0 0 10px #35e7ff;
}

.orb.v {
    background: #c9a8ff;
    box-shadow: 0 0 10px #a06bff;
}

.orb.l {
    background: #e8ff9a;
    box-shadow: 0 0 10px #c8ff5a;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    padding: 18px 0;
    backdrop-filter: blur(18px);
    background: linear-gradient(180deg, rgba(4, 5, 11, 0.86), rgba(4, 5, 11, 0.42));
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 2;
}

.brand .mark {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: radial-gradient(circle at 30% 25%, #8cf2ff, #35e7ff 50%, #1a3988 85%);
    box-shadow: 0 0 0 1px rgba(140, 175, 230, 0.25), 0 0 24px rgba(53, 231, 255, 0.38);
    position: relative;
}

.brand .mark::after {
    content: "";
    position: absolute;
    inset: -7px;
    border-radius: 50%;
    border: 1.5px solid rgba(53, 231, 255, 0.4);
    transform: rotate(-20deg) scaleY(0.3);
    box-shadow: 0 0 12px rgba(53, 231, 255, 0.3);
}

.brand .word {
    font-family: "Sora", sans-serif;
    font-size: 21px;
    font-weight: 800;
    letter-spacing: 0.005em;
}

.nav {
    display: flex;
    gap: 2px;
    padding: 5px;
    border-radius: 999px;
    background: rgba(10, 16, 36, 0.55);
    border: 1px solid var(--stroke);
    backdrop-filter: blur(12px);
}

.nav a {
    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink-dim);
    padding: 9px 16px;
    border-radius: 999px;
    transition: all 0.2s ease;
}

.nav a:hover {
    color: var(--ink);
    background: rgba(53, 231, 255, 0.08);
}

.nav a.active {
    color: #06111f;
    background: linear-gradient(90deg, #8cf2ff, #35e7ff);
    box-shadow: 0 0 18px rgba(53, 231, 255, 0.4);
}

.top-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lang-switcher {
    position: relative;
}

.lang-trigger,
.ghost-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.lang-trigger {
    padding: 9px 12px;
    border: 1px solid var(--stroke);
    background: rgba(10, 16, 36, 0.52);
    color: var(--ink-dim);
    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
    letter-spacing: 0.14em;
}

.lang-trigger:hover {
    color: var(--ink);
    border-color: rgba(53, 231, 255, 0.35);
}

.lang-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    min-width: 82px;
    padding: 8px;
    border-radius: 14px;
    background: rgba(10, 16, 36, 0.94);
    border: 1px solid var(--stroke);
    box-shadow: var(--shadow);
    display: none;
}

.lang-switcher:hover .lang-menu,
.lang-switcher:focus-within .lang-menu {
    display: grid;
    gap: 4px;
}

.lang-menu a {
    padding: 8px 10px;
    border-radius: 10px;
    color: var(--ink-dim);
    font-family: "JetBrains Mono", monospace;
    font-size: 12px;
}

.lang-menu a:hover,
.lang-menu a.is-active {
    background: rgba(53, 231, 255, 0.1);
    color: var(--ink);
}

.ghost-btn {
    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink);
    background: transparent;
    border: 1px solid var(--stroke-strong);
    padding: 10px 14px;
}

.ghost-btn:hover {
    border-color: var(--cyan);
    box-shadow: 0 0 18px rgba(53, 231, 255, 0.22);
}

.app {
    position: relative;
    z-index: 2;
    padding: 28px 0 72px;
}

.hero {
    display: grid;
    grid-template-columns: 1.05fr 1.05fr 0.9fr;
    gap: 30px;
    align-items: center;
    min-height: calc(100vh - 160px);
}

.col-left,
.col-center,
.col-right {
    position: relative;
}

.eyebrow,
.section-kicker,
.panel-label,
.modal-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: "JetBrains Mono", monospace;
    font-size: 10.5px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.eyebrow {
    color: #a8e8ff;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(53, 231, 255, 0.06);
    border: 1px solid rgba(53, 231, 255, 0.22);
}

.dot,
.modal-eyebrow .dot,
.eyebrow .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #35e7ff;
    box-shadow: 0 0 8px #35e7ff;
    animation: pulse 1.8s ease-in-out infinite;
}

.headline {
    margin: 22px 0 18px;
    color: #f4f7ff;
    font-family: "Sora", sans-serif;
    font-size: clamp(48px, 4.8vw, 78px);
    line-height: 1;
    letter-spacing: -0.028em;
}

.headline em {
    font-style: normal;
    background: linear-gradient(92deg, #35e7ff 0%, #a06bff 65%, #c8ff5a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.sub {
    color: #b5c3e8;
    font-family: "Sora", sans-serif;
    font-size: 22px;
    line-height: 1.3;
    font-weight: 500;
    margin-bottom: 34px;
}

.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.btn-primary,
.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-radius: 16px;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.25s ease, filter 0.2s ease;
}

.btn-primary {
    position: relative;
    border: none;
    padding: 18px 28px;
    color: #031018;
    background: linear-gradient(180deg, #a8f5ff 0%, #35e7ff 55%, #1ab6cf 100%);
    font-family: "Sora", sans-serif;
    font-size: 16px;
    font-weight: 700;
    box-shadow:
        0 0 0 1px rgba(53, 231, 255, 0.6),
        0 16px 44px -10px rgba(53, 231, 255, 0.65),
        0 0 60px -10px rgba(53, 231, 255, 0.35),
        inset 0 -2px 0 rgba(0, 40, 60, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.75);
    animation: ctaPulse 2.8s ease-in-out infinite;
}

.btn-primary:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
}

.btn-primary.wide {
    width: 100%;
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    animation: none;
}

.btn-ghost {
    padding: 16px 20px;
    color: #eaf0ff;
    background: rgba(10, 16, 36, 0.55);
    border: 1px solid var(--stroke-strong);
    backdrop-filter: blur(10px);
}

.btn-ghost:hover {
    border-color: rgba(160, 107, 255, 0.55);
    color: #fff;
}

.btn-ghost .play {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.arrow {
    width: 18px;
    height: 18px;
}

.trust-line {
    margin-top: 22px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink-dim);
    font-family: "JetBrains Mono", monospace;
    font-size: 12px;
}

.coin {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #1a2b00;
    font-size: 10px;
    font-weight: 800;
    background: radial-gradient(circle at 30% 30%, #f6ffb8, #c8ff5a 60%, #7da82c);
    box-shadow: 0 0 10px rgba(200, 255, 90, 0.55);
}

.trust-line b {
    color: #e8ff9a;
}

.sep {
    color: var(--ink-mute);
}

.stage {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 620px;
}

.orbit,
.halo {
    position: absolute;
    left: 50%;
    top: 52%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
}

.orbit {
    pointer-events: none;
    animation: orbitSpin var(--t, 40s) linear infinite;
}

.orbit.o1 {
    width: 560px;
    height: 560px;
    border: 1px dashed rgba(140, 242, 255, 0.22);
    --t: 60s;
}

.orbit.o2 {
    width: 420px;
    height: 420px;
    border: 1px solid rgba(160, 107, 255, 0.16);
    --t: 44s;
    animation-direction: reverse;
}

.orbit.o3 {
    width: 680px;
    height: 680px;
    border: 1px dotted rgba(200, 255, 90, 0.14);
    --t: 80s;
}

.halo {
    width: 520px;
    height: 520px;
    background: radial-gradient(circle at 50% 50%, rgba(53, 231, 255, 0.28), rgba(160, 107, 255, 0.14) 45%, transparent 72%);
    filter: blur(24px);
    animation: halo 6s ease-in-out infinite;
}

.node {
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #eaf0ff;
    background: rgba(10, 16, 36, 0.75);
    border: 1px solid var(--stroke-strong);
    font-family: "Sora", sans-serif;
    font-size: 13px;
    font-weight: 700;
    backdrop-filter: blur(10px);
}

.node.en {
    width: 56px;
    height: 56px;
    font-size: 15px;
    color: #031018;
    background: radial-gradient(circle at 30% 25%, #a8f5ff, #35e7ff 70%);
    border: 1px solid rgba(53, 231, 255, 0.7);
    box-shadow: 0 0 0 4px rgba(53, 231, 255, 0.12), 0 0 30px rgba(53, 231, 255, 0.55);
}

.node.mini {
    width: 32px;
    height: 32px;
    font-size: 11px;
}

.whisper {
    position: absolute;
    top: 14%;
    left: 62%;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 14px 14px 14px 4px;
    background: rgba(10, 16, 36, 0.82);
    border: 1px solid rgba(53, 231, 255, 0.3);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.6), 0 0 24px rgba(53, 231, 255, 0.18);
}

.wdot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #35e7ff;
    box-shadow: 0 0 8px #35e7ff;
}

.wmeta {
    color: var(--ink-mute);
    font-family: "JetBrains Mono", monospace;
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.video-stage {
    position: relative;
    z-index: 3;
    width: 460px;
    height: 560px;
    border: 1px solid rgba(140, 175, 230, 0.16);
    border-radius: 32px;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 40%, rgba(53, 231, 255, 0.14), transparent 60%),
        linear-gradient(180deg, rgba(20, 30, 60, 0.3), rgba(6, 10, 22, 0.5));
    box-shadow:
        0 40px 80px -30px rgba(0, 0, 0, 0.7),
        0 0 80px -20px rgba(53, 231, 255, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.video-stage::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 120%, rgba(53, 231, 255, 0.2), transparent 60%);
}

.vs-tag,
.vs-timecode {
    position: absolute;
    z-index: 4;
    font-family: "JetBrains Mono", monospace;
}

.vs-tag {
    top: 14px;
    left: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(10, 16, 36, 0.65);
    border: 1px solid rgba(255, 90, 90, 0.35);
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #ff9595;
}

.rdot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ff5a5a;
    box-shadow: 0 0 8px #ff5a5a;
    animation: pulse 1.2s ease-in-out infinite;
}

.vs-timecode {
    top: 14px;
    right: 14px;
    padding: 5px 9px;
    border-radius: 6px;
    background: rgba(10, 16, 36, 0.55);
    border: 1px solid rgba(140, 175, 230, 0.14);
    color: rgba(234, 240, 255, 0.55);
    font-size: 10px;
    letter-spacing: 0.14em;
}

.vs-rings,
.vs-ring {
    position: absolute;
    left: 50%;
    top: 55%;
    transform: translate(-50%, -50%);
}

.vs-ring {
    left: 50%;
    top: 50%;
    border-radius: 50%;
    border: 1px dashed rgba(140, 242, 255, 0.15);
    animation: orbitSpin 30s linear infinite;
}

.vs-ring.r1 {
    width: 340px;
    height: 340px;
}

.vs-ring.r2 {
    width: 260px;
    height: 260px;
    border-style: solid;
    border-color: rgba(160, 107, 255, 0.12);
    animation-duration: 22s;
    animation-direction: reverse;
}

.vs-dot {
    position: absolute;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #8cf2ff;
    box-shadow: 0 0 6px #35e7ff;
    opacity: 0;
    animation: vsDot var(--d, 7s) ease-in-out infinite;
}

.vs-media {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.98;
    filter: saturate(1.06) contrast(1.02);
    background: #050814;
}

.video-stage::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(180deg, rgba(4, 6, 13, 0.02), rgba(4, 6, 13, 0.2));
    pointer-events: none;
}

.shimmer {
    position: absolute;
    inset: 0;
    z-index: 3;
    background: linear-gradient(100deg, transparent 40%, rgba(140, 242, 255, 0.06) 50%, transparent 60%);
    animation: shimmer 5s ease-in-out infinite;
}

.panel-label {
    color: var(--ink-mute);
    margin-bottom: 14px;
    opacity: 0.8;
}

.tick {
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: #35e7ff;
    box-shadow: 0 0 8px #35e7ff;
}

.card,
.feature-card,
.parent-point,
.launch-strip,
.modal-card,
.video-modal,
.cookie-box {
    background: linear-gradient(180deg, rgba(16, 24, 52, 0.56), rgba(8, 12, 28, 0.62));
    border: 1px solid var(--stroke);
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
}

.card {
    padding: 18px;
    border-radius: 20px;
}

.card + .card {
    margin-top: 14px;
}

.card header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.c-icon {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    background: rgba(53, 231, 255, 0.08);
    border: 1px solid rgba(53, 231, 255, 0.28);
}

.c-icon.lim {
    background: rgba(200, 255, 90, 0.08);
    border-color: rgba(200, 255, 90, 0.28);
}

.c-tag,
.lesson-sub,
.c-meta,
.m-pct {
    font-family: "JetBrains Mono", monospace;
}

.c-tag {
    color: var(--ink-mute);
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.c-title {
    margin-top: 3px;
    font-family: "Sora", sans-serif;
    font-size: 16px;
    font-weight: 600;
}

.c-meta {
    margin-left: auto;
    color: var(--ink-dim);
    font-size: 11px;
    letter-spacing: 0.12em;
}

.lessons-list,
.missions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lesson {
    display: grid;
    grid-template-columns: 14px 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.lesson.active {
    background: rgba(200, 255, 90, 0.05);
    border-color: rgba(200, 255, 90, 0.22);
}

.lesson .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--c);
    box-shadow: 0 0 10px var(--c);
}

.lesson-title,
.mission-head {
    font-size: 14px;
}

.lesson-sub {
    margin-top: 3px;
    color: var(--ink-mute);
    font-size: 10.5px;
    letter-spacing: 0.06em;
}

.lesson-time {
    color: var(--ink-dim);
    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
}

.mission-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.m-name {
    display: flex;
    align-items: center;
    gap: 10px;
}

.m-ic {
    width: 22px;
    height: 22px;
    border-radius: 7px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.m-pct {
    color: #c8ff5a;
    font-size: 11.5px;
}

.mbar {
    height: 6px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
}

.mbar span {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #35e7ff, #a06bff);
    box-shadow: 0 0 12px rgba(53, 231, 255, 0.45);
}

.mbar.alt span {
    background: linear-gradient(90deg, #c8ff5a, #35e7ff);
    box-shadow: 0 0 12px rgba(200, 255, 90, 0.4);
}

.story-section {
    margin-top: 72px;
    padding: 38px 0 0;
}

.section-head {
    max-width: 820px;
    margin-bottom: 26px;
}

.section-head h2 {
    margin: 14px 0 14px;
    font-family: "Sora", sans-serif;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.05;
}

.section-head p {
    margin: 0;
    color: #b6c4e8;
    font-size: 18px;
    line-height: 1.6;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.feature-card,
.parent-point {
    border-radius: 22px;
    padding: 24px;
}

.feature-number {
    color: var(--cyan-2);
    font-family: "JetBrains Mono", monospace;
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.feature-card h3 {
    margin: 18px 0 12px;
    font-family: "Sora", sans-serif;
    font-size: 24px;
}

.feature-card p,
.parent-point,
.launch-strip p {
    color: #b5c3e8;
    line-height: 1.6;
}

.dual {
    display: grid;
    grid-template-columns: 1.2fr 0.9fr;
    gap: 24px;
    align-items: start;
}

.parent-points {
    display: grid;
    gap: 16px;
}

.launch-strip {
    margin-top: 72px;
    border-radius: 28px;
    padding: 32px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 28px;
}

.launch-strip h2 {
    margin: 14px 0 10px;
    font-family: "Sora", sans-serif;
    font-size: clamp(28px, 4vw, 42px);
}

.site-footer {
    position: relative;
    z-index: 2;
    padding: 0 0 50px;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    gap: 28px;
    padding: 24px 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(4, 7, 15, 0.45);
    border-radius: 20px;
}

.footer-brand {
    font-family: "Sora", sans-serif;
    font-size: 22px;
    font-weight: 700;
}

.footer-copy {
    color: var(--ink-dim);
    margin: 8px 0 0;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    align-items: center;
    justify-content: flex-end;
}

.footer-links a {
    color: var(--ink-dim);
}

.footer-links a:hover {
    color: #fff;
}

.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(2, 4, 10, 0.76);
    backdrop-filter: blur(16px);
}

.modal-overlay.open {
    display: flex;
}

.modal-card,
.video-modal {
    position: relative;
    width: 100%;
    border-radius: 24px;
}

.modal-card {
    max-width: 480px;
    padding: 32px;
}

.video-modal {
    max-width: 920px;
    min-height: 420px;
    overflow: hidden;
}

.modal-close {
    position: absolute;
    right: 16px;
    top: 16px;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    border: 1px solid rgba(140, 175, 230, 0.14);
    background: rgba(255, 255, 255, 0.04);
    color: var(--ink-dim);
    cursor: pointer;
}

.modal-close:hover {
    color: #fff;
    border-color: rgba(53, 231, 255, 0.4);
}

.modal-eyebrow {
    color: #a8e8ff;
    margin-bottom: 12px;
}

.modal-card h2 {
    margin: 0 0 8px;
    font-family: "Sora", sans-serif;
    font-size: 28px;
}

.modal-subtitle {
    margin: 0 0 24px;
    color: var(--ink-dim);
    line-height: 1.5;
}

.field {
    margin-bottom: 14px;
}

.field label {
    display: block;
    margin-bottom: 6px;
    color: var(--ink-mute);
    font-family: "JetBrains Mono", monospace;
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.field input,
.field textarea {
    width: 100%;
    padding: 13px 14px;
    border-radius: 12px;
    background: rgba(5, 10, 22, 0.6);
    border: 1px solid rgba(140, 175, 230, 0.18);
    color: #eaf0ff;
    outline: none;
}

.field textarea {
    resize: vertical;
    min-height: 120px;
}

.field.is-error input,
.field.is-error textarea {
    border-color: rgba(255, 107, 138, 0.8);
}

.field.is-valid input,
.field.is-valid textarea {
    border-color: rgba(200, 255, 90, 0.45);
}

.field-hint {
    margin-top: 5px;
    color: var(--ink-mute);
    font-family: "JetBrains Mono", monospace;
    font-size: 10.5px;
}

.field-error {
    min-height: 16px;
    margin-top: 5px;
    color: #ff7a94;
    font-family: "JetBrains Mono", monospace;
    font-size: 10.5px;
}

.checks {
    margin: 8px 0 20px;
    display: grid;
    gap: 10px;
}

.check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--ink-dim);
    cursor: pointer;
}

.check input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.check .box {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    border-radius: 6px;
    background: rgba(5, 10, 22, 0.6);
    border: 1.5px solid rgba(140, 175, 230, 0.28);
}

.check input:checked + .box {
    background: linear-gradient(135deg, #35e7ff, #8cf2ff);
    border-color: #35e7ff;
    box-shadow: 0 0 12px rgba(53, 231, 255, 0.45);
}

.hp-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

.modal-footnote {
    margin: 16px 0 0;
    color: var(--ink-mute);
    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
    text-align: center;
}

.video-modal video {
    display: block;
    width: 100%;
    height: auto;
    max-height: 78vh;
    object-fit: contain;
    background: #000;
}

.video-caption {
    position: absolute;
    left: 20px;
    bottom: 16px;
    z-index: 2;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(10, 16, 36, 0.68);
    border: 1px solid rgba(140, 175, 230, 0.16);
    color: var(--ink-dim);
    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.cookie-box {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 120;
    max-width: 310px;
    padding: 14px;
    border-radius: 16px;
}

.cookie-title {
    font-family: "Sora", sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.15;
}

.cookie-text {
    margin: 8px 0 12px;
    color: var(--ink-dim);
    font-size: 11px;
    line-height: 1.35;
}

.cookie-text a {
    color: var(--cyan-2);
}

.cookie-actions {
    display: flex;
    gap: 8px;
}

.cookie-btn {
    flex: 1;
    padding: 8px 10px;
    border-radius: 10px;
    border: 1px solid var(--stroke-strong);
    background: transparent;
    color: var(--ink);
    cursor: pointer;
    font-size: 12px;
}

.cookie-btn.accept {
    color: #031018;
    background: linear-gradient(180deg, #a8f5ff 0%, #35e7ff 55%, #1ab6cf 100%);
    border-color: rgba(53, 231, 255, 0.6);
}

@keyframes twinkle {
    0% {
        opacity: 0.4;
    }
    100% {
        opacity: 0.75;
    }
}

@keyframes floatUp {
    0% {
        transform: translateY(0);
        opacity: 0;
    }
    12%,
    88% {
        opacity: 0.7;
    }
    100% {
        transform: translateY(-110vh) translateX(30px);
        opacity: 0;
    }
}

@keyframes orbitSpin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes halo {
    50% {
        transform: translate(-50%, -50%) scale(1.06);
        opacity: 0.9;
    }
}

@keyframes pulse {
    50% {
        transform: scale(0.72);
        opacity: 0.55;
    }
}

@keyframes shimmer {
    0%,
    100% {
        transform: translateX(-30%);
        opacity: 0;
    }
    50% {
        transform: translateX(30%);
        opacity: 1;
    }
}

@keyframes ctaPulse {
    0%,
    100% {
        box-shadow:
            0 0 0 1px rgba(53, 231, 255, 0.6),
            0 16px 44px -10px rgba(53, 231, 255, 0.55),
            0 0 50px -10px rgba(53, 231, 255, 0.3),
            inset 0 -2px 0 rgba(0, 40, 60, 0.35),
            inset 0 1px 0 rgba(255, 255, 255, 0.75);
    }
    50% {
        box-shadow:
            0 0 0 1px rgba(53, 231, 255, 0.8),
            0 20px 50px -10px rgba(53, 231, 255, 0.85),
            0 0 80px -10px rgba(53, 231, 255, 0.55),
            inset 0 -2px 0 rgba(0, 40, 60, 0.35),
            inset 0 1px 0 rgba(255, 255, 255, 0.75);
    }
}

@keyframes vsDot {
    0% {
        transform: translate(var(--x0), var(--y0));
        opacity: 0;
    }
    20%,
    80% {
        opacity: 1;
    }
    100% {
        transform: translate(var(--x1), var(--y1));
        opacity: 0;
    }
}

@media (max-width: 1180px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 28px;
        min-height: auto;
    }

    .col-right {
        max-width: 520px;
    }

    .feature-grid,
    .dual,
    .launch-strip,
    .footer-grid {
        grid-template-columns: 1fr;
        display: grid;
    }

    .footer-links {
        justify-content: flex-start;
    }
}

@media (max-width: 960px) {
    .shell {
        width: min(100% - 28px, 1320px);
    }

    .nav {
        display: none;
    }

    .topbar {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .stage {
        min-height: 520px;
    }

    .video-stage {
        width: min(100%, 420px);
        height: 500px;
    }

    .orbit.o3 {
        width: 520px;
        height: 520px;
    }

    .orbit.o1 {
        width: 430px;
        height: 430px;
    }

    .orbit.o2 {
        width: 320px;
        height: 320px;
    }

    .whisper {
        left: auto;
        right: 0;
        top: 8%;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .site-header {
        padding: 14px 0;
    }

    .top-actions {
        width: 100%;
        justify-content: space-between;
    }

    .headline {
        font-size: clamp(40px, 12vw, 54px);
    }

    .sub,
    .section-head p {
        font-size: 16px;
    }

    .cta-row {
        flex-direction: column;
        align-items: stretch;
    }

    .stage {
        min-height: 420px;
    }

    .video-stage {
        height: 420px;
    }

    .orbit,
    .node,
    .whisper {
        display: none;
    }

    .halo {
        width: 320px;
        height: 320px;
    }

    .modal-overlay {
        padding: 0;
    }

    .modal-card,
    .video-modal {
        min-height: 100vh;
        border-radius: 0;
    }

    .cookie-box {
        right: 14px;
        left: 14px;
        bottom: 14px;
        max-width: none;
    }

    .cookie-actions {
        flex-direction: column;
    }
}
