/* ==========================================================================
   Nitron Labs — design system
   Dark, premium, enterprise. CSS-only visuals (no image dependencies required).
   ========================================================================== */

/* ---- Design tokens ---- */
:root {
    /* Backgrounds */
    --bg:           #06070D;
    --bg-2:         #0A0E1A;
    --surface:      #0E1322;
    --surface-2:    #131A2C;
    --border:       rgba(255, 255, 255, 0.08);
    --border-strong:rgba(255, 255, 255, 0.16);

    /* Text */
    --text:         #EDF1F8;
    --text-soft:    #AEB7CC;
    --text-dim:     #6F7B96;

    /* Accents */
    --blue:         #3B82F6;
    --violet:       #7C3AED;
    --cyan:         #22D3EE;
    --accent-grad:  linear-gradient(120deg, #22D3EE 0%, #3B82F6 45%, #7C3AED 100%);
    --accent-grad-soft: linear-gradient(120deg, rgba(34,211,238,0.16), rgba(124,58,237,0.16));

    /* Effects */
    --glass:        rgba(255, 255, 255, 0.035);
    --glass-2:      rgba(255, 255, 255, 0.05);
    --shadow:       0 24px 60px -20px rgba(0, 0, 0, 0.65);
    --shadow-glow:  0 0 0 1px var(--border), 0 30px 80px -30px rgba(34, 211, 238, 0.25);
    --radius:       18px;
    --radius-sm:    12px;
    --radius-lg:    26px;

    /* Layout */
    --maxw:         1180px;
    --gutter:       24px;

    --font:         'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --mono:         'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
}

/* ---- Reset / base ---- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 { line-height: 1.12; letter-spacing: -0.022em; font-weight: 700; }

::selection { background: rgba(124, 58, 237, 0.4); color: #fff; }

.skip-link {
    position: absolute; left: -999px; top: 0; z-index: 200;
    background: var(--surface); color: var(--text);
    padding: 12px 18px; border-radius: 0 0 12px 0;
}
.skip-link:focus { left: 0; }

/* ---- Layout helpers ---- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }

.section__head { max-width: 720px; margin-bottom: 56px; }
.section__head--center { margin-inline: auto; text-align: center; }

.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--cyan);
    padding: 6px 14px; border-radius: 999px;
    background: var(--accent-grad-soft);
    border: 1px solid var(--border);
    margin-bottom: 22px;
}

h1.display {
    font-size: clamp(2.5rem, 6vw, 4.4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.04;
}
h2.headline { font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 800; }
h3.subhead  { font-size: clamp(1.2rem, 2vw, 1.45rem); font-weight: 700; }

.lead { font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: var(--text-soft); }

.text-grad {
    background: var(--accent-grad);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
}

.muted { color: var(--text-dim); }

/* ---- Background layers ---- */
.bg-layer { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.bg-grid {
    position: absolute; inset: -2px;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(circle at 50% 0%, #000 0%, transparent 75%);
    -webkit-mask-image: radial-gradient(circle at 50% 0%, #000 0%, transparent 75%);
}
.bg-glow { position: absolute; border-radius: 50%; filter: blur(120px); opacity: 0.5; }
.bg-glow--violet { width: 620px; height: 620px; background: rgba(124,58,237,0.30); top: -180px; left: -120px; }
.bg-glow--cyan   { width: 560px; height: 560px; background: rgba(34,211,238,0.18);  top: 220px;  right: -160px; }

/* ---- Buttons ---- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    font-weight: 600; font-size: 0.97rem;
    padding: 13px 22px; border-radius: 12px;
    border: 1px solid transparent;
    transition: transform .18s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
    white-space: nowrap;
}
.btn--sm { padding: 10px 16px; font-size: 0.9rem; }
.btn--lg { padding: 16px 28px; font-size: 1.02rem; }
.btn--primary {
    color: #04060c; background: var(--accent-grad);
    box-shadow: 0 10px 30px -10px rgba(59,130,246,0.6);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(59,130,246,0.7); }
.btn--ghost {
    color: var(--text); background: var(--glass);
    border-color: var(--border-strong);
    backdrop-filter: blur(8px);
}
.btn--ghost:hover { background: var(--glass-2); border-color: rgba(255,255,255,0.32); transform: translateY(-2px); }
.btn--block { width: 100%; }
.btn svg { width: 17px; height: 17px; }

/* ---- Navigation ---- */
.nav {
    position: sticky; top: 0; z-index: 100;
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    background: rgba(6, 7, 13, 0.6);
    border-bottom: 1px solid transparent;
    transition: background .3s ease, border-color .3s ease;
}
.nav.is-scrolled { background: rgba(6, 7, 13, 0.88); border-bottom-color: var(--border); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 20px; }

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; }
.brand__mark { display: inline-flex; filter: drop-shadow(0 4px 12px rgba(34,211,238,0.4)); }
.brand__name { font-size: 1.12rem; letter-spacing: -0.02em; }
.brand__name-accent { color: var(--text-soft); font-weight: 600; }

.nav__links { display: flex; align-items: center; gap: 26px; }
.nav__links > a { font-size: 0.94rem; color: var(--text-soft); transition: color .2s ease; }
.nav__links > a:hover { color: var(--text); }

.nav__pill {
    display: inline-flex; align-items: center; gap: 7px;
    font-size: 0.78rem; font-weight: 600; color: var(--text-soft);
    padding: 6px 12px; border-radius: 999px;
    border: 1px solid var(--border); background: var(--glass);
}
.nav__dot {
    width: 7px; height: 7px; border-radius: 50%; background: var(--cyan);
    box-shadow: 0 0 0 0 rgba(34,211,238,0.55); animation: pulse 2.4s infinite;
}
@keyframes pulse {
    0%   { box-shadow: 0 0 0 0 rgba(34,211,238,0.5); }
    70%  { box-shadow: 0 0 0 7px rgba(34,211,238,0); }
    100% { box-shadow: 0 0 0 0 rgba(34,211,238,0); }
}

.nav__toggle {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: 0; padding: 8px;
}
.nav__toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s ease, opacity .3s ease; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- Glass card primitive ---- */
.card {
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    backdrop-filter: blur(10px);
    transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.card:hover { border-color: var(--border-strong); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { position: relative; padding-top: clamp(48px, 7vw, 92px); padding-bottom: clamp(56px, 8vw, 110px); }
.hero__grid {
    display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 64px);
    align-items: center;
}
.hero__copy { max-width: 600px; }
.hero h1 { margin: 6px 0 22px; }
.hero .lead { margin-bottom: 30px; max-width: 540px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.hero__micro { font-size: 0.9rem; color: var(--text-dim); max-width: 480px; }

.badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.badge {
    display: inline-flex; align-items: center; gap: 7px;
    font-size: 0.8rem; font-weight: 500; color: var(--text-soft);
    padding: 7px 13px; border-radius: 999px;
    border: 1px solid var(--border); background: var(--glass);
}
.badge svg { width: 13px; height: 13px; color: var(--cyan); }

/* ---- Hero console visual ---- */
.console {
    position: relative;
    background: linear-gradient(160deg, rgba(19,26,44,0.92), rgba(10,14,26,0.92));
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow), 0 0 90px -40px rgba(124,58,237,0.6);
    padding: 18px;
    backdrop-filter: blur(12px);
}
.console::before {
    content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
    background: linear-gradient(140deg, rgba(34,211,238,0.5), transparent 40%, rgba(124,58,237,0.45));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.console__bar { display: flex; align-items: center; gap: 7px; padding: 4px 6px 14px; }
.console__bar i { width: 11px; height: 11px; border-radius: 50%; background: #2a3450; display: inline-block; }
.console__bar i:nth-child(1) { background: #ff5f57; opacity: .8; }
.console__bar i:nth-child(2) { background: #febc2e; opacity: .8; }
.console__bar i:nth-child(3) { background: #28c840; opacity: .8; }
.console__bar span { margin-left: auto; font-family: var(--mono); font-size: 0.72rem; color: var(--text-dim); }

.console__req {
    font-family: var(--mono); font-size: 0.8rem; line-height: 1.7;
    background: rgba(0,0,0,0.35); border: 1px solid var(--border);
    border-radius: var(--radius-sm); padding: 14px 16px; margin-bottom: 14px;
    overflow-x: auto;
}
.console__req .tok-method { color: #28c840; font-weight: 600; }
.console__req .tok-key { color: var(--cyan); }
.console__req .tok-str { color: #ffd479; }
.console__req .tok-mut { color: var(--text-dim); }

.frame-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.frame {
    aspect-ratio: 16 / 10; border-radius: 10px; position: relative; overflow: hidden;
    background-size: cover; background-position: center;
    border: 1px solid var(--border);
}
/* CSS-generated placeholder gradients (used when no image provided) */
.frame--1 { background-image: url("/assets/img/frame-01.jpg"), linear-gradient(135deg, #1b3a5b, #0b1422); }
.frame--2 { background-image: url("/assets/img/frame-02.jpg"), linear-gradient(135deg, #3a1d5e, #120b22); }
.frame--3 { background-image: url("/assets/img/frame-03.jpg"), linear-gradient(135deg, #0d4f55, #07181c); }
.frame--4 { background-image: url("/assets/img/frame-04.jpg"), linear-gradient(135deg, #4a2b14, #1c1107); }
.frame--5 { background-image: url("/assets/img/frame-05.jpg"), linear-gradient(135deg, #14324a, #08141c); }
.frame--6 { background-image: url("/assets/img/frame-06.jpg"), linear-gradient(135deg, #2a1b4a, #100b1f); }
.frame::after {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.12), transparent 60%);
}
.frame__tag {
    position: absolute; left: 7px; bottom: 6px; z-index: 1;
    font-size: 0.6rem; font-family: var(--mono); color: var(--text);
    background: rgba(0,0,0,0.5); padding: 2px 6px; border-radius: 6px;
}

/* Waveform */
.wave { display: flex; align-items: center; gap: 3px; height: 34px; padding: 0 4px; margin-bottom: 14px; }
.wave i {
    flex: 1; background: var(--accent-grad); border-radius: 3px; opacity: 0.85;
    animation: wave 1.2s ease-in-out infinite;
}
@keyframes wave { 0%,100% { transform: scaleY(0.25); } 50% { transform: scaleY(1); } }

.console__status { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 0.72rem; font-family: var(--mono); color: var(--text-soft);
    padding: 5px 10px; border-radius: 8px;
    border: 1px solid var(--border); background: rgba(0,0,0,0.3);
}
.chip--ok { color: #4ade80; }
.chip--ok::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #4ade80; }

/* Floating mini stat over console */
.console__float {
    position: absolute; right: -14px; bottom: -18px;
    display: flex; align-items: center; gap: 10px;
    background: var(--surface-2); border: 1px solid var(--border-strong);
    border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow);
}
.console__float b { font-size: 1.15rem; }
.console__float small { display: block; font-size: 0.7rem; color: var(--text-dim); }

/* ==========================================================================
   Credibility strip
   ========================================================================== */
.cred-grid {
    display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px;
}
.cred {
    text-align: center; padding: 22px 14px;
    background: var(--glass); border: 1px solid var(--border); border-radius: var(--radius-sm);
}
.cred svg { width: 24px; height: 24px; margin: 0 auto 10px; color: var(--cyan); }
.cred span { font-size: 0.86rem; font-weight: 600; color: var(--text-soft); }

/* ==========================================================================
   Generic card grids
   ========================================================================== */
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

/* Model cards */
.model { padding: 26px; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.model__thumb {
    aspect-ratio: 16/9; border-radius: var(--radius-sm); margin-bottom: 20px;
    background-size: cover; background-position: center; border: 1px solid var(--border);
    position: relative;
}
.model__thumb--video   { background-image: url("/assets/img/model-video.jpg"), linear-gradient(135deg, #14324a, #0b1422); }
.model__thumb--lipsync  { background-image: url("/assets/img/model-lipsync.jpg"), linear-gradient(135deg, #3a1d5e, #120b22); }
.model__thumb--media   { background-image: url("/assets/img/model-media.jpg"), linear-gradient(135deg, #0d4f55, #07181c); }
.model__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.model h3 { font-size: 1.3rem; }
.tag-private {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 0.72rem; font-weight: 600; letter-spacing: 0.04em;
    color: var(--cyan); padding: 5px 11px; border-radius: 999px;
    border: 1px solid rgba(34,211,238,0.3); background: rgba(34,211,238,0.08);
}
.tag-private::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); }
.model p { color: var(--text-soft); font-size: 0.96rem; margin-bottom: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 22px; }
.chips span {
    font-size: 0.78rem; color: var(--text-soft);
    padding: 5px 10px; border-radius: 7px; background: var(--glass-2); border: 1px solid var(--border);
}
.model .btn { margin-top: auto; }

/* Feature / benefit cards */
.feature { padding: 26px; }
.feature__icon {
    width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
    background: var(--accent-grad-soft); border: 1px solid var(--border); margin-bottom: 16px;
}
.feature__icon svg { width: 22px; height: 22px; color: var(--cyan); }
.feature h3 { font-size: 1.12rem; margin-bottom: 8px; }
.feature p { color: var(--text-soft); font-size: 0.95rem; }

/* Use case cards */
.usecase { padding: 24px; display: flex; gap: 15px; align-items: flex-start; }
.usecase__num { font-family: var(--mono); font-size: 0.85rem; color: var(--cyan); padding-top: 2px; }
.usecase h3 { font-size: 1.08rem; margin-bottom: 6px; }
.usecase p { color: var(--text-soft); font-size: 0.93rem; }

/* ==========================================================================
   Performance snapshot — table + charts
   ========================================================================== */
.perf-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 28px; align-items: start; }

.compare {
    width: 100%; border-collapse: collapse;
    background: var(--glass); border: 1px solid var(--border); border-radius: var(--radius);
    overflow: hidden;
}
.compare th, .compare td { padding: 15px 18px; text-align: left; font-size: 0.92rem; border-bottom: 1px solid var(--border); }
.compare thead th { font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-dim); }
.compare thead th:nth-child(2) { color: var(--cyan); }
.compare tbody th { font-weight: 500; color: var(--text-soft); }
.compare td:nth-child(2) { font-weight: 600; color: var(--text); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }

.charts { display: grid; gap: 20px; }
.chart { padding: 22px; }
.chart h4 { font-size: 0.95rem; margin-bottom: 4px; }
.chart small { color: var(--text-dim); font-size: 0.78rem; }
.bars { margin-top: 18px; display: grid; gap: 14px; }
.bar-row { display: grid; grid-template-columns: 110px 1fr; align-items: center; gap: 12px; }
.bar-row > span { font-size: 0.82rem; color: var(--text-soft); }
.bar-track { background: rgba(255,255,255,0.05); border-radius: 8px; height: 30px; position: relative; overflow: hidden; }
.bar-fill {
    height: 100%; width: 0; border-radius: 8px;
    display: flex; align-items: center; justify-content: flex-end;
    padding-right: 10px; font-size: 0.78rem; font-weight: 600; color: #04060c;
    transition: width 1.1s cubic-bezier(.22,.61,.36,1);
}
.bar-fill--base { background: rgba(255,255,255,0.18); color: var(--text); }
.bar-fill--nitron { background: var(--accent-grad); }

.footnote {
    margin-top: 22px; font-size: 0.8rem; color: var(--text-dim); line-height: 1.6;
    padding: 16px 18px; border-left: 2px solid var(--border-strong);
    background: var(--glass); border-radius: 0 12px 12px 0;
}

/* ==========================================================================
   How it works — steps + pipeline diagram
   ========================================================================== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 44px; }
.step { padding: 26px; position: relative; }
.step__n {
    font-family: var(--mono); font-size: 0.8rem; color: #04060c; font-weight: 700;
    width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center;
    background: var(--accent-grad); margin-bottom: 16px;
}
.step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.step p { color: var(--text-soft); font-size: 0.94rem; }

.pipeline {
    display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px;
    padding: 30px; text-align: center;
}
.pipe-node {
    padding: 16px 26px; border-radius: 14px; font-weight: 600;
    border: 1px solid var(--border-strong); background: var(--glass-2);
}
.pipe-node--mid { background: var(--accent-grad); color: #04060c; border: 0; box-shadow: 0 0 40px -10px rgba(34,211,238,0.55); }
.pipe-arrow { color: var(--cyan); font-size: 1.4rem; }
.pipe-labels { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 22px; }
.pipe-labels span {
    font-size: 0.76rem; font-family: var(--mono); color: var(--text-dim);
    padding: 5px 11px; border-radius: 999px; border: 1px solid var(--border);
}

/* ==========================================================================
   Developer preview
   ========================================================================== */
.dev-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 36px; align-items: center; }
.codeblock {
    font-family: var(--mono); font-size: 0.82rem; line-height: 1.75;
    background: linear-gradient(160deg, rgba(14,19,34,0.95), rgba(8,11,20,0.95));
    border: 1px solid var(--border-strong); border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}
.codeblock__bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--border); }
.codeblock__bar i { width: 10px; height: 10px; border-radius: 50%; background: #2a3450; }
.codeblock__bar span { margin-left: auto; color: var(--text-dim); font-size: 0.74rem; }
.codeblock pre { padding: 18px 18px 20px; overflow-x: auto; margin: 0; }
.codeblock code { display: block; white-space: pre; color: var(--text-soft); }
.c-method { color: #28c840; font-weight: 600; }
.c-url { color: var(--text); }
.c-key { color: var(--cyan); }
.c-str { color: #ffd479; }
.c-num { color: #c792ea; }
.c-com { color: var(--text-dim); }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.quote { padding: 28px; display: flex; flex-direction: column; }
.quote__stars { display: flex; gap: 3px; margin-bottom: 14px; color: var(--cyan); }
.quote__stars svg { width: 16px; height: 16px; }
.quote p { font-size: 1.02rem; color: var(--text); margin-bottom: 20px; }
.quote__by { margin-top: auto; font-size: 0.86rem; color: var(--text-dim); }

/* ==========================================================================
   Platform availability + CTA bands
   ========================================================================== */
.band {
    position: relative; overflow: hidden;
    border: 1px solid var(--border-strong); border-radius: var(--radius-lg);
    padding: clamp(36px, 5vw, 60px); text-align: center;
    background: linear-gradient(150deg, rgba(34,211,238,0.08), rgba(124,58,237,0.10));
}
.band::before {
    content: ""; position: absolute; width: 460px; height: 460px; border-radius: 50%;
    background: radial-gradient(circle, rgba(124,58,237,0.4), transparent 70%);
    top: -180px; left: 50%; transform: translateX(-50%); filter: blur(60px); pointer-events: none;
}
.band > * { position: relative; }
.band .lead { margin: 16px auto 26px; max-width: 600px; }
.band__cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

.platform-note {
    display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center;
    margin-top: 22px; font-size: 0.92rem; color: var(--text-soft);
}
.platform-note a { color: var(--cyan); font-weight: 600; }
.platform-note a:hover { text-decoration: underline; }

/* ==========================================================================
   Security band
   ========================================================================== */
.sec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.sec { padding: 24px; }
.sec h3 { font-size: 1.02rem; margin-bottom: 8px; }
.sec p { font-size: 0.9rem; color: var(--text-soft); }
.sec svg { width: 22px; height: 22px; color: var(--cyan); margin-bottom: 14px; }

/* ==========================================================================
   Forms
   ========================================================================== */
.form-page { padding-top: clamp(48px, 6vw, 80px); }
.form-wrap { max-width: 760px; margin-inline: auto; }
.form-card { padding: clamp(26px, 4vw, 44px); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.88rem; font-weight: 600; color: var(--text-soft); }
.field label .req { color: var(--cyan); }

.field input[type="text"],
.field input[type="email"],
.field input[type="url"],
.field select,
.field textarea {
    width: 100%; font-family: inherit; font-size: 0.95rem; color: var(--text);
    background: rgba(0,0,0,0.28); border: 1px solid var(--border-strong);
    border-radius: 11px; padding: 13px 15px; transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(34,211,238,0.15);
}
.field textarea { resize: vertical; min-height: 120px; }
.field select { appearance: none; -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236F7B96' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 15px center; padding-right: 38px;
}
.field option { background: var(--surface); color: var(--text); }

.checks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.check {
    display: flex; align-items: center; gap: 10px; cursor: pointer;
    font-size: 0.9rem; color: var(--text-soft);
    padding: 11px 14px; border-radius: 10px; border: 1px solid var(--border); background: rgba(0,0,0,0.2);
    transition: border-color .2s ease, background .2s ease;
}
.check:hover { border-color: var(--border-strong); }
.check input { width: 17px; height: 17px; accent-color: var(--cyan); }

.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-error {
    background: rgba(255,95,87,0.08); border: 1px solid rgba(255,95,87,0.35);
    color: #ffb4ae; border-radius: 12px; padding: 14px 16px; margin-bottom: 22px; font-size: 0.9rem;
}
.form-note { font-size: 0.84rem; color: var(--text-dim); margin-top: 18px; }

/* Success state */
.success {
    text-align: center; padding: clamp(40px, 6vw, 70px) clamp(20px, 4vw, 40px);
}
.success__check {
    width: 72px; height: 72px; margin: 0 auto 24px; border-radius: 50%;
    display: grid; place-items: center; background: var(--accent-grad-soft);
    border: 1px solid rgba(34,211,238,0.4);
}
.success__check svg { width: 34px; height: 34px; color: var(--cyan); }
.success h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 14px; }
.success p { color: var(--text-soft); max-width: 460px; margin: 0 auto 28px; }

/* ==========================================================================
   Legal / prose pages
   ========================================================================== */
.prose { max-width: 800px; margin-inline: auto; }
.prose h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 10px; }
.prose .updated { color: var(--text-dim); font-size: 0.88rem; margin-bottom: 36px; }
.prose h2 { font-size: 1.3rem; margin: 36px 0 12px; }
.prose p, .prose li { color: var(--text-soft); margin-bottom: 12px; }
.prose ul { padding-left: 22px; }
.prose a { color: var(--cyan); }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { border-top: 1px solid var(--border); padding: 64px 0 36px; margin-top: 40px; background: rgba(0,0,0,0.25); }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 44px; }
.footer__tag { color: var(--text-dim); font-size: 0.92rem; margin-top: 14px; max-width: 280px; }
.footer__col h4 { font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text); margin-bottom: 16px; }
.footer__col a { display: block; color: var(--text-soft); font-size: 0.92rem; margin-bottom: 10px; transition: color .2s ease; }
.footer__col a:hover { color: var(--cyan); }
.footer__disclaimer { font-size: 0.8rem; color: var(--text-dim); line-height: 1.7; padding-top: 28px; border-top: 1px solid var(--border); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 24px; font-size: 0.84rem; color: var(--text-dim); }
.footer__status { display: inline-flex; align-items: center; gap: 8px; }

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
    .hero__grid { grid-template-columns: 1fr; }
    .hero__copy { max-width: 640px; }
    .console { max-width: 560px; }
    .perf-grid, .dev-grid { grid-template-columns: 1fr; }
    .cred-grid { grid-template-columns: repeat(3, 1fr); }
    .sec-grid { grid-template-columns: repeat(2, 1fr); }
    .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
    .nav__links {
        position: fixed; inset: 70px 0 auto 0;
        flex-direction: column; align-items: stretch; gap: 4px;
        background: rgba(8,11,20,0.97); backdrop-filter: blur(16px);
        padding: 18px var(--gutter) 26px; border-bottom: 1px solid var(--border);
        transform: translateY(-12px); opacity: 0; pointer-events: none;
        transition: transform .3s ease, opacity .3s ease;
    }
    .nav__links.is-open { transform: none; opacity: 1; pointer-events: auto; }
    .nav__links > a { padding: 12px 4px; border-bottom: 1px solid var(--border); }
    .nav__pill { align-self: flex-start; margin-top: 8px; }
    .nav__cta { margin-top: 10px; }
    .nav__toggle { display: flex; }

    .grid--2, .grid--3, .steps, .form-grid, .checks { grid-template-columns: 1fr; }
    .cred-grid { grid-template-columns: repeat(2, 1fr); }
    .sec-grid { grid-template-columns: 1fr; }
    .console__float { display: none; }
    .pipe-arrow { transform: rotate(90deg); }
    .footer__grid { grid-template-columns: 1fr; }
    .footer__bottom { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; }
}
