/* ============================================================
   TOOLING.LIVE — Global Styles
   Design: Ultra-premium AI Developer Tool / SaaS Infra
   Ref: Linear / Vercel / Cursor / Raycast
   ============================================================ */

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

:root {
    /* Backgrounds */
    --bg:        #060810;
    --bg-2:      #090c14;
    --bg-3:      #0d1120;
    --bg-card:   #0d1220;
    --bg-card-h: #121828;

    /* Borders */
    --border:    rgba(255,255,255,0.06);
    --border-md: rgba(255,255,255,0.10);
    --border-hi: rgba(255,255,255,0.16);

    /* Text */
    --text:      #eef0f8;
    --text-2:    #c5c9dc;
    --text-muted:#6e7490;
    --text-dim:  #3c4260;

    /* Accent — teal-blue, distinct from Optoopto's pure blue */
    --accent:    #5a7fff;
    --accent-lt: #7b9dff;
    --accent-tl: #38d9c0;   /* teal secondary */
    --accent-glow: rgba(90,127,255,0.13);
    --purple:    #8b5cf6;
    --green:     #1fd9a0;

    --font:     'Sora', 'Inter', system-ui, sans-serif;
    --mono:     'JetBrains Mono', 'Fira Code', monospace;

    --radius:    18px;
    --radius-sm: 10px;
    --radius-xs:  7px;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --t: 0.3s;
}

/* ── Base ─────────────────────────────────────────────────── */
html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img, svg { display: block; }

/* ── Layout ───────────────────────────────────────────────── */
.container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 2rem;
}

section { padding: 8rem 0; }

/* ── Typography ───────────────────────────────────────────── */
.gradient-text {
    background: linear-gradient(115deg, #7baaff 0%, #5a7fff 35%, #38d9c0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent-lt);
    margin-bottom: 1.1rem;
}

.section-eyebrow::before {
    content: '';
    display: block;
    width: 16px;
    height: 1px;
    background: var(--accent);
    flex-shrink: 0;
}

.section-title {
    font-size: clamp(1.9rem, 3.6vw, 3rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.038em;
    color: var(--text);
    margin-bottom: 1.2rem;
}

.section-desc {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 540px;
    line-height: 1.8;
    font-weight: 300;
}

.section-header {
    text-align: center;
    margin-bottom: 4.5rem;
}

.section-header .section-eyebrow { justify-content: center; }
.section-header .section-desc    { margin: 0 auto; }

/* ── Buttons ──────────────────────────────────────────────── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.78rem 1.6rem;
    background: var(--accent);
    color: #fff;
    font-family: var(--font);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    letter-spacing: -0.01em;
    border: none;
    cursor: pointer;
    transition: opacity var(--t) var(--ease),
                transform var(--t) var(--ease),
                box-shadow var(--t) var(--ease);
    box-shadow: 0 0 0 1px rgba(90,127,255,0.45),
                0 4px 20px rgba(90,127,255,0.26);
}

.btn-primary:hover {
    opacity: 0.88;
    transform: translateY(-2px);
    box-shadow: 0 0 0 1px rgba(90,127,255,0.6),
                0 8px 32px rgba(90,127,255,0.36);
}

.btn-primary.large { padding: 0.95rem 2rem; font-size: 0.95rem; }
.btn-primary.full-width { width: 100%; }

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.78rem 1.6rem;
    background: transparent;
    color: var(--text-muted);
    font-family: var(--font);
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid var(--border-md);
    border-radius: var(--radius-sm);
    letter-spacing: -0.01em;
    transition: color var(--t) var(--ease),
                border-color var(--t) var(--ease),
                background var(--t) var(--ease),
                transform var(--t) var(--ease);
}

.btn-secondary:hover {
    color: var(--text);
    border-color: var(--border-hi);
    background: rgba(255,255,255,0.04);
    transform: translateY(-2px);
}

/* ── Navbar ───────────────────────────────────────────────── */
#navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    transition: background var(--t) var(--ease),
                border-color var(--t) var(--ease);
    border-bottom: 1px solid transparent;
}

#navbar.scrolled {
    background: rgba(6, 8, 16, 0.84);
    backdrop-filter: blur(24px) saturate(160%);
    -webkit-backdrop-filter: blur(24px) saturate(160%);
    border-color: var(--border);
}

.nav-container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 1.1rem 2rem;
    display: flex;
    align-items: center;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    opacity: 0.95;
    transition: opacity var(--t) var(--ease);
}
.logo:hover { opacity: 1; }
.logo-svg { height: 26px; width: auto; }

/* Nav links */
.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.1rem;
    margin-left: auto;
}

.nav-links a {
    padding: 0.42rem 0.8rem;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: -0.005em;
    color: var(--text-muted);
    border-radius: var(--radius-xs);
    transition: color var(--t) var(--ease), background var(--t) var(--ease);
}

.nav-links a:hover {
    color: var(--text);
    background: rgba(255,255,255,0.04);
}

.nav-links .nav-cta {
    background: rgba(90,127,255,0.11);
    border: 1px solid rgba(90,127,255,0.28);
    color: var(--accent-lt);
    padding: 0.42rem 1rem;
    border-radius: var(--radius-xs);
    font-weight: 600;
    margin-left: 0.75rem;
    transition: background var(--t) var(--ease),
                border-color var(--t) var(--ease),
                color var(--t) var(--ease),
                transform var(--t) var(--ease);
}

.nav-links .nav-cta:hover {
    background: rgba(90,127,255,0.20);
    border-color: rgba(90,127,255,0.48);
    color: #fff;
    transform: translateY(-1px);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    margin-left: auto;
}

.hamburger span {
    display: block;
    width: 20px;
    height: 1.5px;
    background: var(--text-muted);
    border-radius: 2px;
    transition: var(--t) var(--ease);
}

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 0.25rem;
    padding: 1rem 2rem 1.5rem;
    border-top: 1px solid var(--border);
    background: rgba(6, 8, 16, 0.97);
    backdrop-filter: blur(24px);
}

.mobile-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--border);
    transition: color var(--t) var(--ease);
}
.mobile-link:hover { color: var(--text); }
.mobile-cta { color: var(--accent-lt) !important; border-bottom: none; margin-top: 0.5rem; font-weight: 600; }

/* ── Hero ─────────────────────────────────────────────────── */
#hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 2rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

#heroCanvas {
    width: 100%;
    height: 100%;
    display: block;
}

/* Dot-grid overlay */
.hero-grid {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: radial-gradient(rgba(90,127,255,0.18) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 20%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 20%, transparent 80%);
    pointer-events: none;
}

#hero::before {
    content: '';
    position: absolute;
    top: -5%;
    left: 50%;
    transform: translateX(-50%);
    width: 860px;
    height: 560px;
    background: radial-gradient(ellipse, rgba(90,127,255,0.08) 0%, transparent 65%);
    z-index: 1;
    pointer-events: none;
}

#hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 240px;
    background: linear-gradient(to bottom, transparent, var(--bg));
    z-index: 2;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
    padding-top: 5rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(56, 217, 192, 0.07);
    border: 1px solid rgba(56, 217, 192, 0.22);
    border-radius: 100px;
    padding: 0.32rem 0.9rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--accent-tl);
    text-transform: uppercase;
    margin-bottom: 2.25rem;
}

.badge-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent-tl);
    animation: blink 2.4s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.25; }
}

.hero-title {
    font-size: clamp(3rem, 7.5vw, 5.8rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.045em;
    margin-bottom: 1.5rem;
    color: var(--text);
}

.hero-subtitle {
    font-size: clamp(0.95rem, 1.6vw, 1.08rem);
    color: var(--text-muted);
    line-height: 1.85;
    max-width: 580px;
    margin: 0 auto 2.75rem;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.875rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

/* ── Terminal Mockup ──────────────────────────────────────── */
.hero-terminal {
    background: var(--bg-card);
    border: 1px solid var(--border-md);
    border-radius: var(--radius);
    overflow: hidden;
    text-align: left;
    max-width: 680px;
    margin: 0 auto;
    box-shadow:
        0 0 0 1px var(--border),
        0 32px 80px rgba(0,0,0,0.5),
        inset 0 1px 0 rgba(255,255,255,0.04);
}

.terminal-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 1.25rem;
    border-bottom: 1px solid var(--border);
    background: rgba(255,255,255,0.02);
}

.terminal-dots {
    display: flex;
    gap: 6px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot.red    { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green  { background: #28c840; }

.terminal-title {
    font-family: var(--mono);
    font-size: 0.72rem;
    color: var(--text-dim);
    letter-spacing: 0.04em;
    margin-left: auto;
    margin-right: auto;
    transform: translateX(-20px);
}

.terminal-body {
    padding: 1.4rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.terminal-line {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.t-prompt {
    font-family: var(--mono);
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-dim);
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 0.15rem 0.45rem;
    flex-shrink: 0;
    margin-top: 0.05rem;
    letter-spacing: 0.03em;
}

.t-prompt.agent { color: var(--accent-lt); border-color: rgba(90,127,255,0.25); background: rgba(90,127,255,0.07); }
.t-prompt.done  { color: var(--green); border-color: rgba(31,217,160,0.25); background: rgba(31,217,160,0.07); }

.t-text {
    font-size: 0.84rem;
    color: var(--text-muted);
    line-height: 1.65;
    font-weight: 300;
}

.t-agent .t-text { color: var(--text-2); }
.t-done  .t-text { color: var(--text); }

.t-code {
    font-family: var(--mono);
    font-size: 0.78rem;
    color: var(--accent-lt);
    background: rgba(90,127,255,0.10);
    border-radius: 4px;
    padding: 0.1rem 0.35rem;
}

.t-link {
    color: var(--accent-lt);
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
}

/* reveal-up for terminal */
.reveal-up {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.8s var(--ease) 0.3s, transform 0.8s var(--ease) 0.3s;
}
.reveal-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.scroll-line {
    width: 1px;
    height: 52px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.22), transparent);
    margin: 0 auto;
    animation: scrollFade 2.2s ease-in-out infinite;
}

@keyframes scrollFade {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.25; }
}

/* ── How It Works ─────────────────────────────────────────── */
#how {
    background: var(--bg-2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.steps-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.step-item {
    display: grid;
    grid-template-columns: 56px 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
    padding: 3rem 0;
    border-bottom: 1px solid var(--border);
    position: relative;
}

.step-item:last-child { border-bottom: none; }

.step-num {
    font-family: var(--mono);
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--accent);
    letter-spacing: 0.08em;
    align-self: flex-start;
    padding-top: 0.3rem;
}

.step-body h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.6rem;
    letter-spacing: -0.02em;
}

.step-body p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.8;
    font-weight: 300;
}

/* Mini visuals */
.mini-terminal {
    background: var(--bg-card);
    border: 1px solid var(--border-md);
    border-radius: var(--radius-sm);
    padding: 1.1rem 1.2rem;
}

.mt-label {
    font-family: var(--mono);
    font-size: 0.65rem;
    color: var(--text-dim);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.6rem;
}

.mini-terminal p {
    font-size: 0.82rem;
    color: var(--text-2);
    line-height: 1.65;
    font-style: italic;
    font-weight: 300;
}

.agent-activity {
    background: var(--bg-card);
    border: 1px solid var(--border-md);
    border-radius: var(--radius-sm);
    padding: 1.1rem 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.activity-row {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 400;
}

.act-icon {
    font-size: 0.6rem;
    line-height: 1;
}

.act-icon.blue   { color: var(--accent-lt); }
.act-icon.green  { color: var(--green); }
.act-icon.purple { color: #a78bfa; }
.act-icon.orange { color: #fb923c; }

.iterate-block {
    background: var(--bg-card);
    border: 1px solid var(--border-md);
    border-radius: var(--radius-sm);
    padding: 1.1rem 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.iter-msg {
    font-size: 0.82rem;
    line-height: 1.6;
    padding: 0.6rem 0.85rem;
    border-radius: 8px;
    font-weight: 300;
}

.iter-msg.user {
    background: rgba(90,127,255,0.08);
    border: 1px solid rgba(90,127,255,0.18);
    color: var(--text-2);
    border-bottom-left-radius: 2px;
    font-style: italic;
}

.iter-msg.agent {
    background: rgba(31,217,160,0.07);
    border: 1px solid rgba(31,217,160,0.18);
    color: var(--green);
    font-family: var(--mono);
    font-size: 0.78rem;
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}

/* ── Why Now ──────────────────────────────────────────────── */
#why { background: var(--bg); }

.why-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.why-points {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.why-point {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    padding-bottom: 1.75rem;
    border-bottom: 1px solid var(--border);
}

.why-point:last-child { border-bottom: none; padding-bottom: 0; }

.wp-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(90,127,255,0.09);
    border: 1px solid rgba(90,127,255,0.18);
    border-radius: 9px;
    color: var(--accent-lt);
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.why-point h4 {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.35rem;
    letter-spacing: -0.015em;
}

.why-point p {
    font-size: 0.84rem;
    color: var(--text-muted);
    line-height: 1.75;
    font-weight: 300;
}

/* Comparison Card */
.why-right { display: flex; justify-content: center; }

.comparison-card {
    background: var(--bg-card);
    border: 1px solid var(--border-md);
    border-radius: var(--radius);
    padding: 1.75rem;
    width: 100%;
    max-width: 380px;
    box-shadow:
        0 0 0 1px var(--border),
        0 24px 72px rgba(0,0,0,0.4),
        inset 0 1px 0 rgba(255,255,255,0.04);
}

.comp-header {
    margin-bottom: 1.1rem;
}

.comp-header.after {
    margin-top: 1.5rem;
    margin-bottom: 1.1rem;
}

.comp-title {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-dim);
}

.comp-header.after .comp-title { color: var(--accent-lt); }

.comp-steps {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.comp-step {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.84rem;
    font-weight: 400;
    padding: 0.6rem 0.8rem;
    border-radius: 8px;
}

.comp-step::before {
    content: '';
    width: 16px;
    height: 16px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 700;
}

.comp-step.cross {
    color: var(--text-muted);
    background: rgba(255,255,255,0.02);
}

.comp-step.cross::before {
    content: '×';
    background: rgba(255,80,80,0.1);
    color: #ff6b6b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

.comp-step.check {
    color: var(--text-2);
    background: rgba(31,217,160,0.05);
}

.comp-step.check::before {
    content: '✓';
    background: rgba(31,217,160,0.12);
    color: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
}

.comp-divider {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 1.25rem 0;
    color: var(--text-dim);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.comp-divider::before,
.comp-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-md);
}

/* ── Platforms ────────────────────────────────────────────── */
#platforms {
    background: var(--bg-2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.platforms-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.platform-card {
    background: var(--bg-card);
    padding: 2rem;
    position: relative;
    transition: background var(--t) var(--ease);
    overflow: hidden;
}

.platform-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(90,127,255,0.5), transparent);
    opacity: 0;
    transition: opacity var(--t) var(--ease);
}

.platform-card:hover { background: var(--bg-card-h); }
.platform-card:hover::before { opacity: 1; }

.platform-card.active { background: var(--bg-card-h); }
.platform-card.active::before { opacity: 1; }

.platform-badge {
    position: absolute;
    top: 1.1rem;
    right: 1.1rem;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--green);
    background: rgba(31,217,160,0.1);
    border: 1px solid rgba(31,217,160,0.22);
    border-radius: 5px;
    padding: 0.2rem 0.5rem;
}

.platform-badge.soon {
    color: var(--text-dim);
    background: rgba(255,255,255,0.04);
    border-color: var(--border);
}

.platform-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    margin-bottom: 1.1rem;
    border: 1px solid rgba(255,255,255,0.06);
}

.platform-icon.retool    { background: rgba(90,127,255,0.10); color: var(--accent-lt); }
.platform-icon.bubble    { background: rgba(139,92,246,0.10); color: #a78bfa; }
.platform-icon.webflow   { background: rgba(56,217,192,0.10); color: var(--accent-tl); }
.platform-icon.powerapps { background: rgba(59,130,246,0.10); color: #60a5fa; }
.platform-icon.flutterflow { background: rgba(251,146,60,0.10); color: #fb923c; }
.platform-icon.more      { background: rgba(255,255,255,0.04); color: var(--text-muted); }

.platform-card h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.5rem;
    letter-spacing: -0.015em;
}

.platform-card p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.7;
    font-weight: 300;
}

/* ── Team ─────────────────────────────────────────────────── */
#team { background: var(--bg); }

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.team-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.25rem;
    display: flex;
    gap: 1.75rem;
    align-items: flex-start;
    transition: border-color var(--t) var(--ease),
                transform var(--t) var(--ease),
                background var(--t) var(--ease);
}

.team-card:hover {
    border-color: var(--border-hi);
    background: var(--bg-card-h);
    transform: translateY(-3px);
}

.team-avatar { flex-shrink: 0; }

.avatar-initials {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.03em;
}

.avatar-initials.va {
    background: linear-gradient(135deg, #5a7fff 0%, #38d9c0 100%);
    box-shadow: 0 4px 16px rgba(90,127,255,0.28);
}

.avatar-initials.fs {
    background: linear-gradient(135deg, #8b5cf6 0%, #5a7fff 100%);
    box-shadow: 0 4px 16px rgba(139,92,246,0.28);
}

.team-info h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.2rem;
    letter-spacing: -0.02em;
}

.team-role {
    font-size: 0.75rem;
    color: var(--accent-lt);
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: 0.9rem;
}

.team-bio {
    font-size: 0.83rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 0.75rem;
    font-weight: 300;
}

.team-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.35rem;
}

.team-tags span {
    font-size: 0.67rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--text-dim);
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    border-radius: 5px;
    padding: 0.22rem 0.55rem;
}

/* ── Waitlist ─────────────────────────────────────────────── */
#waitlist {
    background: var(--bg-2);
    border-top: 1px solid var(--border);
}

.waitlist-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: flex-start;
}

.waitlist-left h2 {
    font-size: clamp(1.9rem, 3.5vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: var(--text);
}

.waitlist-left p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.waitlist-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.ws-stat {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.ws-num {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    color: var(--text);
    line-height: 1;
}

.ws-suf {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent);
}

.ws-label {
    font-size: 0.7rem;
    color: var(--text-dim);
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-top: 0.15rem;
}

.ws-divider {
    width: 1px;
    height: 44px;
    background: var(--border-md);
}

/* Form */
.waitlist-form {
    background: var(--bg-card);
    border: 1px solid var(--border-md);
    border-radius: var(--radius);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    box-shadow: 0 0 0 1px var(--border), 0 24px 72px rgba(0,0,0,0.4);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.form-group label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-2);
    letter-spacing: 0.01em;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border-md);
    border-radius: var(--radius-xs);
    padding: 0.7rem 0.9rem;
    font-family: var(--font);
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--text);
    outline: none;
    transition: border-color var(--t) var(--ease), background var(--t) var(--ease);
    width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-dim);
}

.form-group select {
    appearance: none;
    cursor: pointer;
    color: var(--text-muted);
}

.form-group select:has(option:not([value=""]):checked) {
    color: var(--text);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: rgba(90,127,255,0.45);
    background: rgba(90,127,255,0.04);
}

.form-group textarea { resize: vertical; min-height: 80px; line-height: 1.6; }

.form-note {
    font-size: 0.73rem;
    color: var(--text-dim);
    text-align: center;
    font-weight: 400;
}

/* Success state */
.form-success {
    background: var(--bg-card);
    border: 1px solid rgba(31,217,160,0.25);
    border-radius: var(--radius);
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 0 0 1px var(--border), 0 24px 72px rgba(0,0,0,0.4);
}

.success-icon {
    width: 52px;
    height: 52px;
    background: rgba(31,217,160,0.1);
    border: 1px solid rgba(31,217,160,0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--green);
    margin: 0 auto 1.25rem;
}

.form-success h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.6rem;
    letter-spacing: -0.02em;
}

.form-success p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.75;
    font-weight: 300;
}

/* ── Footer ───────────────────────────────────────────────── */
#footer {
    background: var(--bg);
    border-top: 1px solid var(--border);
    padding: 4rem 0 2.5rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border);
}

.footer-brand .logo { margin-bottom: 1rem; }

.footer-brand p {
    font-size: 0.83rem;
    color: var(--text-muted);
    line-height: 1.75;
    max-width: 280px;
    font-weight: 300;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.footer-col h5 {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 1rem;
}

.footer-col a {
    display: block;
    font-size: 0.83rem;
    color: var(--text-muted);
    margin-bottom: 0.6rem;
    transition: color var(--t) var(--ease);
    font-weight: 300;
}

.footer-col a:hover { color: var(--text-2); }

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.copyright {
    font-size: 0.78rem;
    color: var(--text-dim);
    font-weight: 500;
    letter-spacing: 0.01em;
}

.disclaimer {
    font-size: 0.72rem;
    color: var(--text-dim);
    line-height: 1.7;
    max-width: 720px;
    font-weight: 300;
}

/* ── Reveal Animations ────────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

[data-delay="0"]   { transition-delay: 0s; }
[data-delay="80"]  { transition-delay: 0.08s; }
[data-delay="100"] { transition-delay: 0.10s; }
[data-delay="150"] { transition-delay: 0.15s; }
[data-delay="160"] { transition-delay: 0.16s; }
[data-delay="200"] { transition-delay: 0.20s; }
[data-delay="240"] { transition-delay: 0.24s; }
[data-delay="320"] { transition-delay: 0.32s; }
[data-delay="400"] { transition-delay: 0.40s; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
    .why-inner       { grid-template-columns: 1fr; gap: 3.5rem; }
    .why-right       { justify-content: flex-start; }
    .comparison-card { max-width: 100%; }

    .step-item {
        grid-template-columns: 40px 1fr;
        grid-template-rows: auto auto;
    }
    .step-visual {
        grid-column: 2;
        grid-row: 2;
    }

    .platforms-grid { grid-template-columns: repeat(2, 1fr); }

    .waitlist-inner { grid-template-columns: 1fr; gap: 3.5rem; }
}

@media (max-width: 768px) {
    section { padding: 5.5rem 0; }

    .nav-links  { display: none; }
    .hamburger  { display: flex; }
    .mobile-menu.open { display: flex; }

    .platforms-grid { grid-template-columns: 1fr; }
    .team-grid      { grid-template-columns: 1fr; }

    .team-card {
        flex-direction: column;
        gap: 1.25rem;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title    { font-size: 2.6rem; }
    .section-title { font-size: 1.85rem; }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .hero-actions a { text-align: center; }

    .step-item {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    .step-num { padding-top: 0; }

    .platform-card { padding: 1.5rem; }
    .team-card     { padding: 1.5rem; }
    .waitlist-form { padding: 1.5rem; }

    .waitlist-stats { gap: 1.25rem; }
    .ws-divider { display: none; }
}
