/* =========================================================
   ANIMAITOR
   Global Styles
========================================================= */

:root {
    --bg: #050a12;
    --bg-soft: #0b1421;
    --bg-elevated: rgba(16, 26, 40, 0.84);
    --surface: rgba(16, 26, 40, 0.66);
    --surface-light: rgba(22, 34, 49, 0.88);

    --text: #f6f8fc;
    --muted: #a8b5c6;
    --muted-light: #d8e2ef;

    --line: rgba(174, 193, 214, 0.16);
    --line-bright: rgba(174, 193, 214, 0.34);

    --accent: #9b8cff;
    --accent-2: #64d9e8;
    --accent-3: #9bd9b4;
    --shadow: rgba(0, 0, 0, 0.42);

    --max-width: 1200px;
    --radius: 18px;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
    scroll-padding-top: 112px;
}


body {
    background:
        radial-gradient(circle at 12% 5%, rgba(139, 92, 246, 0.18), transparent 29%),
        radial-gradient(circle at 88% 42%, rgba(34, 211, 238, 0.11), transparent 32%),
        radial-gradient(circle at 42% 100%, rgba(52, 211, 153, 0.07), transparent 38%),
        var(--bg);
    color: var(--text);

    font-family: "Inter", sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}


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


img {
    max-width: 100%;
    display: block;
}


button {
    font: inherit;
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(148, 163, 184, 0.08);
    background: rgba(4, 11, 22, 0.72);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transition: background .3s ease, border-color .3s ease, box-shadow .3s ease;
}


.site-header.scrolled {
    border-color: var(--line);
    background: rgba(5, 10, 18, 0.9);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.18);
}


.nav-container {
    max-width: var(--max-width);
    margin: auto;
    height: 96px;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.brand {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}


.brand-logo {
    width: 285px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 0 12px rgba(34, 211, 238, 0.22));
}


.desktop-nav {
    display: flex;
    gap: 36px;
    margin-left: auto;
    margin-right: 40px;
}


.desktop-nav a {
    color: var(--muted);
    font-size: 13px;
    font-weight: 500;
    transition: color .25s ease;
}


.desktop-nav a:hover {
    color: var(--text);
}


.nav-button {
    border: 1px solid var(--line-bright);
    background: rgba(16, 26, 40, 0.58);
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    transition: .25s ease;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.03);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}


.nav-button:hover {
    background: linear-gradient(135deg, rgba(139,92,246,0.18), rgba(34,211,238,0.18));
    border-color: rgba(139, 92, 246, 0.5);
    transform: translateY(-1px);
    color: var(--text);
}


.mobile-menu-button {
    display: none;

    border: 0;

    background: transparent;

    width: 32px;

    cursor: pointer;
}


.mobile-menu-button span {
    display: block;

    height: 2px;

    margin: 6px 0;

    background: white;
}


.mobile-menu {
    display: flex;
    max-height: 0;
    flex-direction: column;
    gap: 0;
    overflow: hidden;
    padding: 0 20px;
    border-top: 1px solid transparent;
    opacity: 0;
    visibility: hidden;
    transition: max-height .35s ease, opacity .25s ease, padding .35s ease, visibility .35s;
}


.mobile-menu.open {
    max-height: 380px;
    gap: 18px;
    padding: 20px 20px 26px;
    border-color: var(--line);
    opacity: 1;
    visibility: visible;
}


.mobile-menu a {
    font-size: 18px;
    transition: color .2s ease, transform .2s ease;
}


.mobile-menu a:hover {
    color: var(--accent-2);
    transform: translateX(4px);
}


/* =========================================================
   COMMON
========================================================= */

.section {
    max-width: var(--max-width);

    margin: auto;

    padding: 150px 30px;
}


.section-header {
    max-width: 900px;
    margin-bottom: 75px;
}


.section-number {
    color: var(--muted);
    font-size: 11px;
    letter-spacing: .18em;
    font-weight: 700;
    margin-bottom: 25px;
}


.section-header h2,
.architecture-copy h2 {
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(45px, 6vw, 82px);
    line-height: .98;
    letter-spacing: -0.055em;
    margin-bottom: 30px;
    text-wrap: balance;
}


.section-header h2 em,
.architecture-copy h2 em,
.vision h2 em {
    font-style: normal;
    color: rgba(148, 163, 184, 0.85);
}


.section-header p {
    color: var(--muted);
    max-width: 620px;
    font-size: 17px;
    line-height: 1.7;
}


.eyebrow {
    display: inline-flex;

    align-items: center;

    gap: 9px;

    padding: 8px 13px;

    border: 1px solid var(--line);

    border-radius: 100px;

    color: #aaa;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: .14em;
}


.status-dot {
    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: #fff;

    box-shadow: 0 0 12px rgba(255,255,255,.8);
}


/* =========================================================
   BUTTONS
========================================================= */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 14px 22px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: -0.02em;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
}


.button-primary {
    background: linear-gradient(115deg, #8b6cff 0%, #6f91fa 52%, #27c5d9 100%);
    color: white;
    box-shadow: 0 18px 35px rgba(139, 92, 246, 0.32);
}


.button-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 40px rgba(34, 211, 238, 0.2);
}


.button-secondary {
    border: 1px solid var(--line-bright);
    color: var(--text);
    background: rgba(16, 26, 40, 0.46);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}


.button-secondary:hover {
    background: rgba(15, 23, 42, 0.8);
    border-color: rgba(148, 163, 184, 0.4);
}


.button-large {
    padding: 17px 27px;

    font-size: 14px;
}


/* =========================================================
   HERO
========================================================= */

.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 150px 30px 100px;
}


.hero-grid {
    position: absolute;
    inset: 0;
    opacity: 0.45;
    background-image:
        linear-gradient(rgba(148, 163, 184, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.08) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: linear-gradient(to bottom, black, transparent 85%);
}


.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.3;
    pointer-events: none;
}


.hero-glow-one {
    width: 520px;
    height: 520px;
    top: 5%;
    left: 5%;
    background: rgba(139, 92, 246, 0.8);
}


.hero-glow-two {
    width: 440px;
    height: 440px;
    right: 5%;
    bottom: 10%;
    background: rgba(34, 211, 238, 0.75);
}


.hero-content {
    width: 50%;
    max-width: 680px;
    position: relative;
    z-index: 2;
    margin-right: 30px;
}


.hero-content h1 {
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(72px, 10vw, 150px);
    letter-spacing: -0.075em;
    line-height: 0.95;
    margin: 28px 0 18px;
    padding-bottom: 0.18em;
}


.hero-content h1 span {
    display: block;
    background: linear-gradient(135deg, #f8fafc 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}


.hero-subtitle {
    max-width: 560px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 35px;
}


.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}


.hero-note {
    margin-top: 28px;
    color: var(--muted);
    font-size: 11px;
    letter-spacing: .04em;
}


.hero-note span {
    color: var(--accent-2);
}


.hero-visual {
    width: 50%;
    position: relative;
    z-index: 2;
    perspective: 1200px;
}


.visual-window {
    border: 1px solid var(--line-bright);
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(160deg, rgba(20, 32, 49, 0.86), rgba(5, 10, 18, 0.94));
    box-shadow:
        0 30px 80px rgba(2, 6, 23, 0.8),
        0 0 0 1px rgba(148, 163, 184, 0.08);
    transform: perspective(1200px) rotateY(-7deg) rotateX(3deg);
    transition: transform .5s ease;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}


.visual-window:hover {
    transform: perspective(1200px) rotateY(-2deg) rotateX(1deg);
}


.window-header {
    height: 42px;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 14px;
    background: rgba(15, 23, 42, 0.8);
}


.window-dots {
    display: flex;
    gap: 5px;
}


.window-dots i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fca5a5, #f87171);
    box-shadow: 0 0 16px rgba(248, 113, 113, 0.4);
}

.window-dots i:nth-child(2) {
    background: linear-gradient(135deg, #fde68a, #fbbf24);
    box-shadow: 0 0 16px rgba(251, 191, 36, 0.4);
}

.window-dots i:nth-child(3) {
    background: linear-gradient(135deg, #86efac, #22c55e);
    box-shadow: 0 0 16px rgba(34, 197, 94, 0.4);
}


.window-title {
    color: var(--muted);
    font-size: 8px;
    letter-spacing: .15em;
}


.window-status {
    color: var(--muted);
    font-size: 7px;
    letter-spacing: .12em;
}


.visual-body {
    min-height: 390px;
    display: flex;
}


.visual-sidebar {
    width: 150px;
    border-right: 1px solid var(--line);
    padding: 20px 12px;
    background: rgba(15, 23, 42, 0.5);
}


.sidebar-label {
    color: var(--muted);
    font-size: 8px;
    letter-spacing: .15em;
    margin-bottom: 15px;
}


.sidebar-item {
    color: var(--muted);
    font-size: 10px;
    padding: 9px;
    margin-bottom: 4px;
    border-radius: 8px;
}


.sidebar-item span {
    margin-right: 7px;
}


.sidebar-item.active {
    color: var(--text);
    background: linear-gradient(135deg, rgba(139,92,246,0.18), rgba(34,211,238,0.12));
    border: 1px solid rgba(148, 163, 184, 0.14);
}


.visual-main {
    flex: 1;
    padding: 30px;
    background: radial-gradient(circle at top right, rgba(139, 92, 246, 0.12), transparent 30%);
}


.fake-title {
    font-family: "Space Grotesk", sans-serif;
    font-size: 28px;
    letter-spacing: -0.04em;
}


.fake-subtitle {
    color: var(--muted);
    font-size: 9px;
    margin-top: 4px;
}


.scene-preview {
    height: 205px;
    margin-top: 25px;
    border: 1px solid var(--line);
    border-radius: 12px;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background:
        radial-gradient(circle at 65% 40%, rgba(34, 211, 238, 0.18), transparent 20%),
        linear-gradient(145deg, rgba(15, 23, 42, 1), rgba(2, 6, 23, 1));
}


.scene-character {
    position: absolute;
    z-index: 1;
    bottom: 0;
    left: 50%;
    translate: -50% 0;
    width: 66%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    border-radius: 10px 10px 0 0;
    filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.28));
}


.scene-label {
    position: absolute;
    z-index: 2;
    top: 12px;
    right: 12px;
    font-size: 7px;
    letter-spacing: .1em;
    color: #dbeafe;
    border: 1px solid rgba(148, 163, 184, 0.2);
    padding: 5px 7px;
    border-radius: 6px;
    background: rgba(15, 23, 42, 0.45);
}


.generation-bar {
    margin-top: 15px;
    display: flex;
    align-items: center;
    gap: 20px;
}


.generation-bar > div:first-child {
    display: flex;
    flex-direction: column;
}


.generation-bar span {
    color: var(--muted);
    font-size: 7px;
}


.generation-bar strong {
    font-size: 8px;
    font-weight: 600;
    color: var(--text);
}


.progress {
    flex: 1;
    height: 4px;
    background: rgba(148, 163, 184, 0.15);
    border-radius: 999px;
}


.progress span {
    display: block;
    width: 87%;
    height: 100%;
    background: linear-gradient(90deg, #8b5cf6, #22d3ee);
    border-radius: inherit;
    box-shadow: 0 0 18px rgba(34, 211, 238, 0.4);
}


.hero-scroll {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    align-items: center;
    color: var(--muted);
    font-size: 9px;
    letter-spacing: .15em;
}


.hero-scroll span {
    color: var(--text);
    font-size: 15px;
}


/* =========================================================
   FEATURES
========================================================= */

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}


.feature-card {
    min-height: 280px;
    padding: 32px;
    background: linear-gradient(145deg, rgba(24, 36, 54, 0.72), rgba(11, 19, 31, 0.64));
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.055), 0 18px 50px rgba(0,0,0,0.12);
    transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease, background .3s ease;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}


.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(100, 217, 232, 0.42);
    background: linear-gradient(145deg, rgba(30, 44, 63, 0.8), rgba(12, 22, 34, 0.7));
    box-shadow: 0 24px 55px rgba(0, 0, 0, 0.24), 0 0 32px rgba(100, 217, 232, 0.07);
}


.feature-large {
    grid-column: span 2;
}


.feature-icon {
    font-size: 25px;
    margin-bottom: 52px;
    color: var(--muted-light);
    background: linear-gradient(135deg, rgba(155,140,255,0.18), rgba(100,217,232,0.13));
    border: 1px solid var(--line);
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
    transition: transform .3s ease, color .3s ease;
}


.feature-card:hover .feature-icon {
    color: var(--accent-2);
    transform: translateY(-2px) rotate(-4deg);
}


.feature-card h3 {
    font-family: "Space Grotesk", sans-serif;
    font-size: 28px;
    letter-spacing: -0.04em;
    margin-bottom: 10px;
}


.feature-card p {
    color: var(--muted);
    max-width: 600px;
    font-size: 15px;
}


.feature-code {
    margin-top: 25px;
    color: rgba(148, 163, 184, 0.9);
    font-family: monospace;
    font-size: 9px;
    letter-spacing: .1em;
}


/* =========================================================
   MANIFESTO
========================================================= */

.manifesto {
    padding: 180px 30px;
    background: radial-gradient(circle at center, rgba(139, 92, 246, 0.12), transparent 52%);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}


.manifesto-inner {
    max-width: 1000px;
    margin: auto;
    text-align: center;
}


.manifesto-label {
    color: var(--muted);
    font-size: 10px;
    letter-spacing: .2em;
    margin-bottom: 40px;
}


.manifesto blockquote {
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(38px, 6vw, 75px);
    line-height: 1;
    letter-spacing: -.06em;
}


.manifesto blockquote span {
    background: linear-gradient(135deg, #c4b5fd 0%, #67e8f9 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}


.manifesto p {
    margin-top: 35px;
    color: var(--muted);
}


/* =========================================================
   WORKFLOW
========================================================= */

.workflow-line {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}


.workflow-step {
    flex: 1;
    min-width: 0;
    background: linear-gradient(145deg, rgba(24, 36, 54, 0.62), rgba(11, 19, 31, 0.52));
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 24px 18px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.045);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: transform .28s ease, border-color .28s ease, background .28s ease;
}


.workflow-step:hover {
    transform: translateY(-4px);
    border-color: rgba(155, 140, 255, 0.38);
    background: linear-gradient(145deg, rgba(29, 40, 60, 0.76), rgba(12, 21, 34, 0.64));
}


.step-number {
    color: var(--muted);
    font-family: monospace;
    font-size: 10px;
    margin-bottom: 20px;
}


.step-icon {
    width: 55px;
    height: 55px;
    border: 1px solid var(--line-bright);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: var(--text);
    font-size: 20px;
    background: linear-gradient(135deg, rgba(155,140,255,0.17), rgba(100,217,232,0.12));
    transition: transform .3s ease, border-color .3s ease;
}


.workflow-step:hover .step-icon {
    border-color: rgba(100, 217, 232, 0.48);
    transform: rotate(-5deg) scale(1.04);
}


.workflow-step h3 {
    font-family: "Space Grotesk", sans-serif;
    font-size: 21px;
    margin-bottom: 10px;
}


.workflow-step p {
    color: var(--muted);
    font-size: 12px;
    max-width: 180px;
    line-height: 1.7;
}


.workflow-connector {
    height: 1px;
    background: linear-gradient(90deg, rgba(148,163,184,0.15), rgba(139,92,246,0.35), rgba(148,163,184,0.15));
    flex: .3;
    margin-top: 87px;
}


/* =========================================================
   PROJECTS
========================================================= */

.project-header {
    display: grid;

    grid-template-columns: 1fr 1fr;

    align-items: end;

    gap: 50px;

    max-width: none;
}


.project-header > p {
    margin-bottom: 10px;
}


.project-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 15px;
}


.project-card {
    min-height: 550px;

    border: 1px solid var(--line);

    border-radius: var(--radius);

    overflow: hidden;

    position: relative;

    isolation: isolate;
    background: linear-gradient(145deg, rgba(18, 28, 41, 0.9), rgba(5, 10, 18, 0.96));

    transition: transform .4s ease;
}


.project-card:hover {
    transform: translateY(-7px);
}


.project-background {
    position: absolute;

    inset: 0;

    z-index: -1;
    opacity: .85;

    transition: transform .7s ease;
}


.project-card:hover .project-background {
    transform: scale(1.05);
}


.jungle .project-background {
    background:
        radial-gradient(circle at 70% 28%, rgba(52, 211, 153, 0.18), transparent 36%),
        linear-gradient(145deg, #142b2a, #081219 72%);
}


.zerofox .project-background {
    background:
        radial-gradient(circle at 68% 27%, rgba(155, 140, 255, 0.2), transparent 35%),
        linear-gradient(145deg, #1c2131, #090d18 72%);
}


.project-card::after {
    position: absolute;
    z-index: 0;
    inset: 30% 0 0;
    background: linear-gradient(180deg, transparent, rgba(5, 10, 18, 0.94) 78%);
    content: "";
    pointer-events: none;
}


.project-art {
    position: absolute;
    z-index: 0;
    top: 12px;
    left: 8%;
    width: 84%;
    height: 340px;
    object-fit: contain;
    filter: drop-shadow(0 24px 28px rgba(0, 0, 0, 0.38));
    transition: transform .65s cubic-bezier(.2, .7, .2, 1), filter .65s ease;
}


.project-card:hover .project-art {
    transform: translateY(-8px) scale(1.035);
    filter: drop-shadow(0 30px 34px rgba(0, 0, 0, 0.48));
}


.project-content {
    position: absolute;

    left: 35px;
    right: 35px;
    bottom: 35px;

    z-index: 2;
}


.project-meta {
    color: var(--muted);

    font-size: 9px;

    letter-spacing: .17em;

    margin-bottom: 15px;
}


.project-card h3 {
    font-family: "Space Grotesk", sans-serif;

    font-size: clamp(40px, 5vw, 65px);

    letter-spacing: -.06em;

    line-height: 1;

    margin-bottom: 15px;
}


.project-card p {
    color: #aaa;

    max-width: 460px;

    font-size: 13px;
}


.project-tags {
    display: flex;

    gap: 7px;

    margin-top: 20px;

    flex-wrap: wrap;
}


.project-tags span {
    border: 1px solid var(--line-bright);

    color: var(--muted-light);

    padding: 5px 8px;

    border-radius: 999px;

    background: rgba(13, 22, 34, 0.42);

    font-size: 8px;

    letter-spacing: .1em;

    backdrop-filter: blur(10px);
}


.project-arrow {
    position: absolute;

    top: 25px;
    right: 25px;

    width: 40px;
    height: 40px;

    z-index: 2;

    border: 1px solid var(--line-bright);

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    background: rgba(13, 22, 34, 0.46);

    color: var(--muted-light);

    backdrop-filter: blur(12px);
}


/* =========================================================
   ARCHITECTURE
========================================================= */

.architecture {
    border-top: 1px solid var(--line);

    border-bottom: 1px solid var(--line);
}


.architecture-grid {
    display: grid;

    grid-template-columns: .8fr 1.2fr;

    gap: 100px;

    align-items: center;
}


.architecture-copy p {
    color: var(--muted);

    max-width: 480px;

    margin-bottom: 15px;

    font-size: 15px;
}


.architecture-note {
    margin-top: 35px;

    font-family: monospace;

    color: #777;

    font-size: 10px;

    letter-spacing: .12em;
}


.architecture-note span {
    color: #aaa;

    padding: 0 8px;
}


.architecture-diagram {
    height: 550px;

    position: relative;

    display: flex;

    align-items: center;

    justify-content: center;
}


.diagram-core {
    width: 190px;
    height: 190px;

    border: 1px solid var(--line-bright);

    border-radius: 50%;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    position: relative;

    z-index: 3;

    background: linear-gradient(145deg, rgba(28, 41, 58, 0.84), rgba(8, 15, 25, 0.9));

    box-shadow:
        0 0 64px rgba(100, 217, 232, 0.1), inset 0 1px 0 rgba(255,255,255,.08);

    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}


.diagram-core span {
    font-family: "Space Grotesk", sans-serif;

    font-size: 22px;

    font-weight: 700;
}


.diagram-core small {
    color: var(--muted);

    font-size: 6px;

    letter-spacing: .15em;

    margin-top: 5px;
}


.diagram-node {
    position: absolute;

    width: 110px;
    height: 65px;

    border: 1px solid var(--line);

    border-radius: 9px;

    background: rgba(18, 29, 43, 0.74);

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    z-index: 2;

    box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 12px 30px rgba(0,0,0,.16);

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    transition: border-color .25s ease, transform .3s ease, background .25s ease;
}


.diagram-node:hover {
    border-color: rgba(100, 217, 232, 0.48);
    background: rgba(25, 40, 56, 0.9);
    transform: translateY(-3px);
}


.diagram-node span {
    font-size: 9px;

    font-weight: 700;

    letter-spacing: .08em;
}


.diagram-node small {
    color: var(--muted);

    font-size: 6px;

    margin-top: 3px;
}


.node-one {
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
}


.node-two {
    right: 0;
    top: 180px;
}


.node-three {
    right: 50px;
    bottom: 60px;
}


.node-four {
    left: 50px;
    bottom: 60px;
}


.node-five {
    left: 0;
    top: 180px;
}


.diagram-line {
    position: absolute;

    height: 1px;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(100, 217, 232, .4),
        transparent
    );

    transform-origin: center;

    width: 190px;

    z-index: 1;

    background-size: 220% 100%;

    animation: diagram-flow 5s linear infinite;
}


.line-one {
    transform: rotate(90deg);

    top: 180px;
}


.line-two {
    transform: rotate(30deg);

    right: 90px;
}


.line-three {
    transform: rotate(-30deg);

    right: 90px;
}


.line-four {
    transform: rotate(30deg);

    left: 90px;
}


.line-five {
    transform: rotate(-30deg);

    left: 90px;
}


/* =========================================================
   VISION
========================================================= */

.vision {
    padding: 180px 30px;

    text-align: center;
}


.vision-content {
    max-width: 900px;

    margin: auto;
}


.vision h2 {
    font-family: "Space Grotesk", sans-serif;

    font-size: clamp(50px, 8vw, 105px);

    line-height: .9;

    letter-spacing: -.07em;

    margin-bottom: 45px;
}


.vision p {
    max-width: 600px;

    margin: 0 auto 18px;

    color: var(--muted);

    font-size: 16px;
}


.vision strong {
    display: block;

    max-width: 700px;

    margin: 30px auto 0;

    color: var(--muted-light);

    font-size: 20px;
}


/* =========================================================
   CTA
========================================================= */

.cta {
    min-height: 650px;

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;

    position: relative;

    overflow: hidden;

    border-top: 1px solid var(--line);
}


.cta-glow {
    position: absolute;

    width: 700px;
    height: 700px;

    border-radius: 50%;

    background: linear-gradient(135deg, rgba(139,92,246,.18), rgba(34,211,238,.14), rgba(52,211,153,.1));

    filter: blur(100px);
}


.cta-content {
    position: relative;

    z-index: 2;

    max-width: 850px;

    padding: 30px;
}


.cta h2 {
    font-family: "Space Grotesk", sans-serif;

    font-size: clamp(55px, 8vw, 100px);

    letter-spacing: -.07em;

    line-height: .9;

    margin: 30px 0;
}


.cta h2 span {
    display: block;

    background: linear-gradient(110deg, #c4b5fd, #67e8f9 65%, #9bd9b4);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}


.cta p {
    color: var(--muted);

    margin-bottom: 35px;
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    border-top: 1px solid var(--line);

    padding: 60px 30px 25px;
}


.footer-top,
.footer-bottom {
    max-width: var(--max-width);

    margin: auto;
}


.footer-top {
    display: flex;

    justify-content: space-between;

    padding-bottom: 70px;
}


.footer-brand img {
    width: 130px;

    margin-bottom: 15px;
}


.footer-brand p {
    color: var(--muted);

    font-size: 11px;
}


.footer-links {
    display: flex;

    gap: 100px;
}


.footer-links div {
    display: flex;

    flex-direction: column;

    gap: 9px;
}


.footer-links span {
    color: var(--muted);

    font-size: 9px;

    letter-spacing: .15em;

    margin-bottom: 8px;
}


.footer-links a {
    color: var(--muted);

    font-size: 11px;

    transition: color .2s;
}


.footer-links a:hover {
    color: white;
}


.footer-bottom {
    padding-top: 20px;

    border-top: 1px solid var(--line);

    display: flex;

    justify-content: space-between;

    color: var(--muted);

    font-size: 8px;

    letter-spacing: .12em;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1000px) {

    .desktop-nav,
    .nav-button {
        display: none;
    }


    .mobile-menu-button {
        display: block;
    }


    .hero {
        flex-direction: column;

        align-items: stretch;

        padding-top: 150px;
    }


    .hero-content {
        width: 100%;

        margin-right: 0;

        margin-bottom: 80px;
    }


    .hero-visual {
        width: 100%;
    }


    .visual-window {
        transform: none;
    }


    .visual-window:hover {
        transform: none;
    }


    .workflow-line {
        flex-direction: column;

        gap: 30px;
    }


    .workflow-step {
        width: 100%;
    }


    .workflow-step p {
        max-width: 500px;
    }


    .workflow-connector {
        width: 1px;

        height: 30px;

        flex: none;

        margin: 0 0 0 27px;
    }


    .architecture-grid {
        grid-template-columns: 1fr;

        gap: 40px;
    }

}


@media (max-width: 700px) {

    .section {
        padding: 100px 20px;
    }


    .nav-container {
        padding: 0 20px;
    }


    .brand-logo {
        width: 260px;
        max-width: calc(100vw - 100px);
    }


    .nav-container {
        gap: 16px;
    }


    .hero {
        padding-left: 20px;
        padding-right: 20px;
    }


    .hero-content h1 {
        font-size: 72px;
    }


    .hero-subtitle {
        font-size: 16px;
    }


    .hero-actions {
        flex-direction: column;

        align-items: stretch;
    }


    .button {
        width: 100%;
    }


    .visual-sidebar {
        display: none;
    }


    .visual-main {
        padding: 20px;
    }


    .visual-body {
        min-height: 340px;
    }


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


    .feature-large {
        grid-column: span 1;
    }


    .feature-card {
        min-height: 250px;

        padding: 25px;
    }


    .feature-icon {
        margin-bottom: 35px;
    }


    .project-header {
        grid-template-columns: 1fr;

        gap: 20px;
    }


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


    .project-card {
        min-height: 500px;
    }


    .architecture-diagram {
        height: 420px;

        transform: scale(.8);
    }


    .vision {
        padding: 120px 20px;
    }


    .cta {
        min-height: 550px;
    }


    .footer-top {
        flex-direction: column;

        gap: 50px;
    }


    .footer-links {
        gap: 60px;
    }


    .footer-bottom {
        gap: 20px;

        flex-direction: column;
    }

}


@media (max-width: 430px) {

    .hero-content h1 {
        font-size: 60px;
    }


    .section-header h2,
    .architecture-copy h2 {
        font-size: 48px;
    }


    .manifesto blockquote {
        font-size: 38px;
    }


    .architecture-diagram {
        transform: scale(.65);

        margin-left: -50px;

        margin-right: -50px;
    }
}


/* =========================================================
   REVEAL ANIMATION
========================================================= */

@keyframes brand-arrive {
    from {
        opacity: 0;
        transform: translateY(-10px) scale(.96);
    }

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


@keyframes rise-in {
    from {
        opacity: 0;
        transform: translateY(22px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


@keyframes glow-drift {
    from {
        transform: translate3d(-12px, -8px, 0) scale(.96);
    }

    to {
        transform: translate3d(18px, 14px, 0) scale(1.04);
    }
}


@keyframes diagram-flow {
    to {
        background-position: 220% 0;
    }
}


@keyframes character-idle {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-7px);
    }
}


.brand-logo {
    animation: brand-arrive .7s cubic-bezier(.2, .7, .2, 1) both;
}


.hero-content > * {
    opacity: 0;
    animation: rise-in .75s cubic-bezier(.2, .7, .2, 1) both;
}


.hero-content > *:nth-child(1) {
    animation-delay: .08s;
}


.hero-content > *:nth-child(2) {
    animation-delay: .18s;
}


.hero-content > *:nth-child(3) {
    animation-delay: .3s;
}


.hero-content > *:nth-child(4) {
    animation-delay: .42s;
}


.hero-content > *:nth-child(5) {
    animation-delay: .54s;
}


.hero-visual {
    animation: rise-in .9s .24s cubic-bezier(.2, .7, .2, 1) both;
}


.hero-glow-one {
    animation: glow-drift 18s ease-in-out infinite alternate;
}


.hero-glow-two {
    animation: glow-drift 22s -6s ease-in-out infinite alternate-reverse;
}


.scene-character {
    animation: character-idle 3.6s ease-in-out infinite;
}

.reveal {
    opacity: 0;

    transform: translateY(25px);

    transition:
        opacity .7s ease,
        transform .7s ease;
}


.reveal.visible {
    opacity: 1;

    transform: translateY(0);
}


.feature-card.reveal.visible:hover,
.workflow-step.reveal.visible:hover {
    transform: translateY(-5px);
}


.project-card.reveal.visible:hover {
    transform: translateY(-7px);
}


.feature-card:nth-of-type(2),
.workflow-step:nth-child(3),
.project-card:nth-child(2) {
    transition-delay: .1s;
}


.feature-card:nth-of-type(3),
.workflow-step:nth-child(5) {
    transition-delay: .18s;
}


.workflow-step:nth-child(7) {
    transition-delay: .26s;
}


.workflow-step:nth-child(9) {
    transition-delay: .34s;
}


@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation: none !important;
        transition-duration: 0.01ms !important;
    }

    .brand-logo,
    .hero-content > *,
    .hero-visual,
    .hero-glow,
    .scene-character {
        animation: none;
        opacity: 1;
        transform: none;
    }

    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}