@import url("https://fonts.googleapis.com/css2?family=Sora:wght@500;700;800&family=Space+Grotesk:wght@400;500;700&display=swap");

:root {
    --bg-main: #060d18;
    --bg-deep: #0a1628;
    --panel: rgba(8, 21, 36, 0.76);
    --panel-strong: rgba(6, 16, 29, 0.9);
    --line: rgba(144, 201, 241, 0.25);
    --line-strong: rgba(179, 232, 255, 0.44);
    --text: #eef8ff;
    --muted: #a9c2d8;
    --accent: #49ebd2;
    --accent-strong: #2aa496;
    --accent-cold: #62abff;
    --warm: #ffb46e;
    --danger: #ff7b7b;
    --shadow: 0 30px 56px rgba(2, 9, 18, 0.58);
    --radius-xl: 28px;
    --radius-lg: 22px;
    --radius-md: 16px;
}

* {
    box-sizing: border-box;
}

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

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    font-family: "Space Grotesk", "Segoe UI", sans-serif;
    color: var(--text);
    background:
        radial-gradient(1200px 600px at -16% -20%, rgba(43, 116, 190, 0.38), transparent 58%),
        radial-gradient(1000px 560px at 116% -14%, rgba(47, 110, 176, 0.3), transparent 56%),
        radial-gradient(760px 420px at 50% 120%, rgba(47, 110, 176, 0.22), transparent 66%),
        linear-gradient(162deg, var(--bg-main), var(--bg-deep));
    overflow-x: clip;
}

a {
    color: inherit;
}

#neuroCanvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -6;
    pointer-events: none;
}

.bg-grid {
    position: fixed;
    inset: 0;
    z-index: -5;
    pointer-events: none;
    opacity: 0.3;
    background-image:
        linear-gradient(rgba(139, 188, 228, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(139, 188, 228, 0.08) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: radial-gradient(circle at center, black 52%, transparent 94%);
}

.bg-glow {
    position: fixed;
    width: 560px;
    height: 560px;
    border-radius: 50%;
    filter: blur(96px);
    pointer-events: none;
    z-index: -4;
}

.glow-a {
    top: -220px;
    left: -200px;
    background: rgba(83, 188, 255, 0.24);
}

.glow-b {
    right: -240px;
    bottom: -220px;
    background: rgba(255, 172, 99, 0.2);
}

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    z-index: 90;
    transform-origin: 0 50%;
    transform: scaleX(0);
    background: linear-gradient(90deg, var(--accent-cold), var(--accent), var(--warm));
    box-shadow: 0 0 24px rgba(98, 171, 255, 0.4);
    pointer-events: none;
}

.page-transition {
    position: fixed;
    inset: 0;
    z-index: 120;
    pointer-events: none;
    opacity: 0;
    transform: scaleY(0.01);
    transform-origin: top;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.page-transition::before,
.page-transition::after {
    content: "";
    position: absolute;
    inset: 0;
}

.page-transition::before {
    background: linear-gradient(180deg, rgba(7, 20, 36, 0.98), rgba(6, 14, 26, 0.98));
}

.page-transition::after {
    background:
        radial-gradient(900px 500px at 16% 18%, rgba(74, 169, 255, 0.22), transparent 58%),
        radial-gradient(760px 440px at 84% 82%, rgba(73, 235, 210, 0.18), transparent 58%);
}

body.is-transitioning .page-transition {
    opacity: 1;
    transform: scaleY(1);
}

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

.glass {
    border: 1px solid var(--line);
    background: linear-gradient(168deg, rgba(8, 20, 35, 0.76), rgba(7, 16, 28, 0.74));
    backdrop-filter: blur(13px);
    -webkit-backdrop-filter: blur(13px);
    box-shadow: var(--shadow);
}

.site-top {
    position: sticky;
    top: 10px;
    z-index: 80;
    padding-top: 10px;
}

.top-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 14px;
    border-radius: 17px;
    transition: border-color 0.24s ease, background 0.24s ease;
}

.site-top.is-scrolled .top-nav {
    border-color: var(--line-strong);
    background: linear-gradient(168deg, rgba(8, 21, 35, 0.92), rgba(7, 16, 28, 0.88));
}

.brand {
    text-decoration: none;
    font-family: "Sora", "Space Grotesk", sans-serif;
    font-weight: 800;
    font-size: 24px;
    letter-spacing: 0.04em;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

.nav-link {
    text-decoration: none;
    color: var(--muted);
    border-radius: 999px;
    border: 1px solid transparent;
    padding: 7px 12px;
    font-size: 14px;
    transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.nav-link:hover {
    color: var(--text);
    border-color: rgba(170, 227, 255, 0.28);
    background: rgba(255, 255, 255, 0.04);
}

.nav-link.is-active {
    color: #e8fbff;
    border-color: rgba(73, 235, 210, 0.36);
    background: rgba(73, 235, 210, 0.12);
}

.landing {
    padding: 8px 0 8px;
}

.hero {
    margin-top: 14px;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: 16px;
}

.hero-panel {
    border-radius: var(--radius-xl);
    padding: clamp(24px, 4vw, 42px);
    background:
        radial-gradient(circle at 90% 10%, rgba(73, 235, 210, 0.2), transparent 42%),
        radial-gradient(circle at 8% 94%, rgba(255, 180, 110, 0.14), transparent 40%),
        linear-gradient(170deg, var(--panel), var(--panel-strong));
}

.eyebrow {
    margin: 0;
    color: var(--warm);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 12px;
    font-weight: 700;
}

.hero-title {
    margin: 10px 0 0;
    font-family: "Sora", "Space Grotesk", sans-serif;
    font-size: clamp(42px, 8vw, 86px);
    line-height: 0.9;
    letter-spacing: 0.01em;
}

.hero-headline {
    margin: 16px 0 0;
    font-size: clamp(21px, 2.6vw, 31px);
    line-height: 1.28;
    color: #daf2ff;
    max-width: 760px;
}

.hero-subline {
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.65;
    max-width: 720px;
}

.hero-actions {
    margin-top: 24px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.hero-note {
    margin: 14px 0 0;
    color: #c6dded;
    font-size: 14px;
    line-height: 1.5;
}

.btn {
    appearance: none;
    border: 1px solid transparent;
    border-radius: 999px;
    font-family: inherit;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    padding: 12px 18px;
    cursor: pointer;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    color: #04211c;
    background: linear-gradient(136deg, var(--accent), var(--accent-strong));
    border-color: rgba(104, 255, 226, 0.5);
    box-shadow: 0 16px 30px rgba(27, 130, 117, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 20px 32px rgba(27, 130, 117, 0.4);
}

.btn-muted {
    color: var(--text);
    border-color: var(--line);
    background: rgba(255, 255, 255, 0.04);
}

.btn-muted:hover {
    border-color: rgba(175, 227, 255, 0.42);
    background: rgba(255, 255, 255, 0.08);
}

.is-disabled {
    opacity: 0.62;
    pointer-events: none;
}

.status-strip {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.status-chip {
    border: 1px solid rgba(157, 218, 255, 0.26);
    border-radius: 14px;
    padding: 10px 12px;
    background: rgba(6, 19, 32, 0.7);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.status-chip span {
    color: var(--muted);
    font-size: 12px;
}

.status-chip strong {
    font-size: 14px;
    color: #dff4ff;
}

.hero-visual {
    border-radius: var(--radius-xl);
    padding: clamp(18px, 3vw, 26px);
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 520px;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 22% 8%, rgba(98, 171, 255, 0.2), transparent 48%),
        radial-gradient(circle at 88% 96%, rgba(73, 235, 210, 0.16), transparent 54%),
        linear-gradient(174deg, rgba(8, 20, 34, 0.84), rgba(6, 14, 25, 0.92));
}

.holo-stage {
    position: relative;
    flex: 1;
    min-height: 310px;
    display: grid;
    place-items: center;
    isolation: isolate;
}

.holo-core {
    width: 124px;
    height: 124px;
    border-radius: 30px;
    display: grid;
    place-items: center;
    font-family: "Sora", "Space Grotesk", sans-serif;
    font-size: 46px;
    font-weight: 800;
    color: #d8f8ff;
    background: linear-gradient(145deg, rgba(53, 143, 210, 0.9), rgba(41, 182, 165, 0.84));
    box-shadow:
        inset 0 0 18px rgba(255, 255, 255, 0.22),
        0 24px 40px rgba(1, 9, 16, 0.5);
    animation: corePulse 3.8s ease-in-out infinite;
    z-index: 4;
}

.holo-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(168, 224, 255, 0.28);
    left: 50%;
    top: 50%;
    transform-style: preserve-3d;
}

.ring-a {
    width: 230px;
    height: 230px;
    transform: translate(-50%, -50%) rotateX(74deg) rotateY(14deg);
    animation: spinA 11.5s linear infinite;
}

.ring-b {
    width: 312px;
    height: 312px;
    transform: translate(-50%, -50%) rotateX(36deg) rotateY(64deg);
    animation: spinB 15.5s linear infinite;
}

.ring-c {
    width: 390px;
    height: 390px;
    opacity: 0.56;
    transform: translate(-50%, -50%) rotateX(18deg) rotateY(24deg);
    animation: ringBreath 4.6s ease-in-out infinite;
}

.holo-orbit {
    position: absolute;
    left: 50%;
    top: 50%;
    border-radius: 999px;
    border: 1px dashed rgba(175, 229, 255, 0.28);
    transform-origin: center;
}

.orbit-a {
    width: 322px;
    height: 116px;
    transform: translate(-50%, -50%) rotate(16deg);
    animation: orbitSweep 8.2s linear infinite;
}

.orbit-b {
    width: 240px;
    height: 90px;
    transform: translate(-50%, -50%) rotate(-18deg);
    animation: orbitSweepReverse 6.4s linear infinite;
}

.holo-pulse {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.pulse-a {
    width: 230px;
    height: 230px;
    background: radial-gradient(circle, rgba(98, 171, 255, 0.22), transparent 70%);
    animation: pulseDrift 5.2s ease-in-out infinite;
}

.pulse-b {
    width: 186px;
    height: 186px;
    background: radial-gradient(circle, rgba(73, 235, 210, 0.2), transparent 72%);
    animation: pulseDrift 6.1s ease-in-out infinite reverse;
}

.visual-meta {
    border: 1px solid rgba(163, 221, 255, 0.28);
    border-radius: 15px;
    padding: 12px;
    background: rgba(6, 18, 30, 0.78);
}

.visual-meta p {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted);
    font-size: 11px;
}

.visual-meta strong {
    display: block;
    margin-top: 6px;
    font-size: 16px;
    color: #dbf3ff;
}

.stack-list {
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 8px;
}

.stack-list li {
    border: 1px solid rgba(165, 224, 255, 0.2);
    border-radius: 12px;
    padding: 8px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    background: rgba(7, 20, 34, 0.6);
}

.stack-list span {
    color: var(--muted);
}

.stack-list b {
    color: #dff4ff;
    font-weight: 700;
}

.section {
    padding: 48px 0 4px;
}

.section-heading {
    max-width: 900px;
}

.section-heading h2 {
    margin: 8px 0 10px;
    font-family: "Sora", "Space Grotesk", sans-serif;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.1;
}

.section-heading p {
    margin: 0;
    color: var(--muted);
    line-height: 1.63;
}

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

.feature-card {
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 16px;
    background: linear-gradient(164deg, rgba(8, 22, 38, 0.74), rgba(7, 16, 28, 0.86));
    box-shadow: var(--shadow);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-3px);
    border-color: rgba(167, 228, 255, 0.44);
}

.feature-card h3 {
    margin: 0;
    font-family: "Sora", "Space Grotesk", sans-serif;
    font-size: 20px;
}

.feature-card p {
    margin: 9px 0 0;
    color: var(--muted);
    line-height: 1.56;
}

.pillar-grid {
    margin-top: 12px;
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pillar-card {
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 14px;
    background: linear-gradient(164deg, rgba(7, 20, 35, 0.72), rgba(7, 15, 26, 0.86));
    box-shadow: var(--shadow);
}

.pillar-index {
    margin: 0;
    color: var(--warm);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 700;
}

.pillar-card h3 {
    margin: 8px 0 0;
    font-family: "Sora", "Space Grotesk", sans-serif;
    font-size: 20px;
}

.pillar-card p {
    margin: 9px 0 0;
    color: var(--muted);
    line-height: 1.55;
}

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

.status-card {
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 16px;
    background: linear-gradient(165deg, rgba(8, 21, 36, 0.74), rgba(6, 14, 26, 0.88));
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.status-title {
    margin: 0;
    color: #dff2ff;
    font-size: 15px;
    font-weight: 700;
}

.status-card strong {
    color: #d3fff7;
    font-size: 22px;
}

.status-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.56;
    font-size: 14px;
}

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

.roadmap-card {
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 16px;
    background: linear-gradient(166deg, rgba(8, 22, 38, 0.74), rgba(7, 15, 28, 0.86));
    box-shadow: var(--shadow);
}

.phase {
    margin: 0;
    color: var(--warm);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 700;
}

.roadmap-card h3 {
    margin: 8px 0 0;
    font-family: "Sora", "Space Grotesk", sans-serif;
    font-size: 24px;
    line-height: 1.2;
}

.roadmap-card p {
    margin: 8px 0 0;
    color: var(--muted);
    line-height: 1.58;
}

.contact-panel {
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-lg);
    padding: clamp(20px, 3.5vw, 34px);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 18px;
    background:
        radial-gradient(circle at 8% 10%, rgba(73, 235, 210, 0.18), transparent 48%),
        radial-gradient(circle at 90% 88%, rgba(98, 171, 255, 0.2), transparent 48%),
        linear-gradient(168deg, rgba(7, 20, 34, 0.9), rgba(7, 15, 27, 0.92));
    box-shadow: var(--shadow);
}

.contact-panel h2 {
    margin: 8px 0 0;
    font-family: "Sora", "Space Grotesk", sans-serif;
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.1;
}

.contact-panel p {
    margin: 10px 0 0;
    color: var(--muted);
    line-height: 1.58;
}

.contact-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.footer {
    padding: 36px 0 30px;
}

.footer-panel {
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: linear-gradient(170deg, rgba(8, 20, 32, 0.8), rgba(10, 22, 34, 0.7));
    box-shadow: var(--shadow);
}

.footer-title {
    margin: 0;
    font-size: 18px;
    color: #d8edff;
}

.copyright {
    margin: 12px 2px 0;
    color: var(--muted);
    font-size: 13px;
}

.web404-main {
    min-height: calc(100vh - 194px);
    display: grid;
    place-items: center;
    padding: 24px 0;
}

.web404-panel {
    width: min(760px, 100%);
    border: 1px solid var(--line-strong);
    border-radius: 24px;
    padding: clamp(24px, 4vw, 44px);
    text-align: center;
    background:
        radial-gradient(circle at 50% 0%, rgba(255, 123, 123, 0.12), transparent 44%),
        radial-gradient(circle at 12% 100%, rgba(73, 235, 210, 0.12), transparent 46%),
        linear-gradient(168deg, rgba(8, 20, 33, 0.86), rgba(7, 16, 27, 0.94));
    box-shadow: var(--shadow);
}

.web404-code {
    margin: 0;
    font-family: "Sora", "Space Grotesk", sans-serif;
    font-size: clamp(84px, 16vw, 154px);
    line-height: 0.9;
    letter-spacing: 0.02em;
    color: rgba(255, 168, 168, 0.9);
    text-shadow: 0 0 30px rgba(255, 123, 123, 0.4);
}

.web404-panel h1 {
    margin: 10px 0 0;
    font-family: "Sora", "Space Grotesk", sans-serif;
    font-size: clamp(29px, 4vw, 41px);
}

.web404-panel p {
    margin: 10px 0 0;
    color: var(--muted);
    line-height: 1.6;
}

.web404-actions {
    margin-top: 18px;
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

[data-reveal] {
    opacity: 0;
    transform: translateY(18px) scale(0.992);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

[data-parallax] {
    --parallax-x: 0px;
    --parallax-y: 0px;
    transform: translate3d(var(--parallax-x), var(--parallax-y), 0);
    transition: transform 0.14s linear;
    will-change: transform;
}

@keyframes corePulse {
    0% { transform: scale(0.96); }
    50% { transform: scale(1); }
    100% { transform: scale(0.96); }
}

@keyframes spinA {
    0% { transform: translate(-50%, -50%) rotateX(74deg) rotateY(14deg) rotateZ(0deg); }
    100% { transform: translate(-50%, -50%) rotateX(74deg) rotateY(14deg) rotateZ(360deg); }
}

@keyframes spinB {
    0% { transform: translate(-50%, -50%) rotateX(36deg) rotateY(64deg) rotateZ(360deg); }
    100% { transform: translate(-50%, -50%) rotateX(36deg) rotateY(64deg) rotateZ(0deg); }
}

@keyframes ringBreath {
    0% { opacity: 0.42; }
    50% { opacity: 0.74; }
    100% { opacity: 0.42; }
}

@keyframes orbitSweep {
    0% { transform: translate(-50%, -50%) rotate(16deg); }
    100% { transform: translate(-50%, -50%) rotate(376deg); }
}

@keyframes orbitSweepReverse {
    0% { transform: translate(-50%, -50%) rotate(-18deg); }
    100% { transform: translate(-50%, -50%) rotate(-378deg); }
}

@keyframes pulseDrift {
    0% {
        transform: scale(0.88);
        opacity: 0.4;
    }
    50% {
        transform: scale(1.06);
        opacity: 0.72;
    }
    100% {
        transform: scale(0.88);
        opacity: 0.4;
    }
}

@media (max-width: 1080px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        min-height: 420px;
    }

    .feature-grid,
    .pillar-grid,
    .status-grid,
    .roadmap-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 780px) {
    .shell {
        width: min(1180px, calc(100% - 24px));
    }

    .site-top {
        position: static;
        padding-top: 8px;
    }

    .top-nav {
        border-radius: 14px;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .brand {
        font-size: 21px;
    }

    .nav-links {
        width: 100%;
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        gap: 6px;
        padding-bottom: 2px;
    }

    .nav-link {
        white-space: nowrap;
        flex: 0 0 auto;
        font-size: 13px;
        padding: 6px 10px;
    }

    .hero-panel,
    .hero-visual {
        border-radius: 20px;
    }

    .hero-title {
        font-size: clamp(38px, 15vw, 62px);
    }

    .status-strip {
        grid-template-columns: 1fr;
    }

    .holo-core {
        width: 94px;
        height: 94px;
        font-size: 34px;
        border-radius: 24px;
    }

    .ring-a {
        width: 176px;
        height: 176px;
    }

    .ring-b {
        width: 236px;
        height: 236px;
    }

    .ring-c {
        width: 292px;
        height: 292px;
    }

    .orbit-a {
        width: 246px;
        height: 92px;
    }

    .orbit-b {
        width: 184px;
        height: 72px;
    }

    .feature-grid,
    .pillar-grid,
    .status-grid,
    .roadmap-grid {
        grid-template-columns: 1fr;
    }

    .contact-panel {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-panel {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    [data-reveal] {
        opacity: 1;
        transform: none;
    }

    .scroll-progress,
    .page-transition,
    [data-parallax] {
        transition: none !important;
    }
}
