/* ============================================================
   UNCX — Universal Code Xchange
   Design System v1.0
   © 2026 UNCX, LLC — Wyoming, USA
   Exclusive template — not for redistribution
   ============================================================ */

/* --- Fonts -------------------------------------------------- */
@font-face {
    font-family: 'CreatoDisplay';
    src: url('../fonts/CreatoDisplay-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'CreatoDisplay';
    src: url('../fonts/CreatoDisplay-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'CreatoDisplay';
    src: url('../fonts/CreatoDisplay-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600&family=JetBrains+Mono:wght@300;400;500&display=swap');

/* --- Design Tokens ------------------------------------------ */
:root {
    /* Core palette */
    --bg:            #070809;
    --bg-alt:        #0c0e10;
    --bg-surface:    #111417;
    --bg-elevated:   #161b1f;

    /* Borders */
    --border:        #1e2428;
    --border-light:  #252d33;
    --border-focus:  rgba(0, 229, 160, 0.5);

    /* Text */
    --text:          #f0f2f4;
    --text-secondary:#9aa3ad;
    --text-muted:    #4d5a63;

    /* Sovereign Green — primary accent */
    --accent:        #00e5a0;
    --accent-dim:    #00b37e;
    --accent-glow:   rgba(0, 229, 160, 0.15);
    --accent-glow-strong: rgba(0, 229, 160, 0.28);

    /* Secondary: cold blue — data/technical */
    --blue:          #38bdf8;
    --blue-dim:      #0ea5e9;
    --blue-glow:     rgba(56, 189, 248, 0.12);

    /* Status */
    --red:           #f87171;
    --yellow:        #fbbf24;
    --green:         #4ade80;

    /* Typography */
    --font-display:  'CreatoDisplay', 'DM Sans', sans-serif;
    --font-body:     'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono:     'JetBrains Mono', 'Courier New', monospace;

    /* Spacing scale */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-24: 6rem;

    /* Radius */
    --radius-sm:  0.375rem;
    --radius-md:  0.625rem;
    --radius-lg:  1rem;
    --radius-xl:  1.5rem;
    --radius-full: 9999px;

    /* Transitions */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out: cubic-bezier(0, 0, 0.2, 1);

    /* Gradients */
    --gradient-accent: linear-gradient(135deg, #00e5a0 0%, #00b37e 100%);
    --gradient-hero: linear-gradient(160deg, #070809 0%, #0a0f0d 40%, #070809 100%);
    --gradient-card: linear-gradient(135deg, #111417 0%, #0c0e10 100%);
    --gradient-text: linear-gradient(135deg, #00e5a0 0%, #38bdf8 100%);
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    font-size: 16px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* --- Hex Grid Background Pattern ---------------------------- */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 229, 160, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 229, 160, 0.025) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
    z-index: 0;
}

body > * { position: relative; z-index: 1; }

/* --- Typography -------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.15;
    color: var(--text);
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.75rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.25rem; font-weight: 500; }
h5 { font-size: 1.05rem; font-weight: 500; }
h6 { font-size: 0.9rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }

p {
    color: var(--text-secondary);
    margin-bottom: var(--space-4);
    line-height: 1.75;
}

p:last-child { margin-bottom: 0; }

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s var(--ease);
}
a:hover { color: var(--accent-dim); }

strong { color: var(--text); font-weight: 600; }

code, .mono {
    font-family: var(--font-mono);
    font-size: 0.875em;
    color: var(--accent);
    background: rgba(0, 229, 160, 0.08);
    padding: 0.15em 0.4em;
    border-radius: var(--radius-sm);
}

pre {
    font-family: var(--font-mono);
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: var(--space-6);
    overflow-x: auto;
    font-size: 0.875rem;
    line-height: 1.6;
}

pre code {
    background: none;
    padding: 0;
    color: var(--text-secondary);
}

/* --- Layout ------------------------------------------------ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.container-wide {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.container-narrow {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.section {
    padding: var(--space-24) 0;
}

.section-sm {
    padding: var(--space-16) 0;
}

.section-alt {
    background: var(--bg-alt);
}

/* --- Navigation -------------------------------------------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-4) 0;
    background: rgba(7, 8, 9, 0.75);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid transparent;
    transition: all 0.3s var(--ease);
}

.navbar.scrolled {
    background: rgba(7, 8, 9, 0.95);
    border-bottom-color: var(--border);
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

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

/* Logo */
.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    text-decoration: none;
    flex-shrink: 0;
}

.nav-logo-mark {
    width: 36px;
    height: 36px;
    background: var(--gradient-accent);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-weight: 500;
    font-size: 0.75rem;
    color: #070809;
    letter-spacing: 0.05em;
    flex-shrink: 0;
}

.nav-logo-text {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text);
    letter-spacing: -0.02em;
}

.nav-logo-text span {
    color: var(--accent);
}

/* Nav Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    list-style: none;
}

.nav-links a {
    display: block;
    padding: var(--space-2) var(--space-4);
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: all 0.2s var(--ease);
    letter-spacing: 0.01em;
}

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

.nav-links a.active {
    color: var(--accent);
    background: var(--accent-glow);
}

/* Nav dropdown */
.has-dropdown { position: relative; }

.dropdown-arrow {
    display: inline-block;
    margin-left: 4px;
    vertical-align: middle;
    transition: transform 0.2s var(--ease);
}

.has-dropdown:hover .dropdown-arrow { transform: rotate(180deg); }

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 180px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    list-style: none;
    padding: var(--space-2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s var(--ease);
    box-shadow: 0 16px 48px rgba(0,0,0,0.5);
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    top: calc(100% + 4px);
}

.dropdown-menu li a {
    display: block;
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
}

/* Nav CTA */
.nav-cta {
    display: inline-flex !important;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-6) !important;
    background: var(--gradient-accent) !important;
    color: #070809 !important;
    font-weight: 600 !important;
    border-radius: var(--radius-md);
    font-size: 0.875rem !important;
    transition: all 0.2s var(--ease) !important;
    box-shadow: 0 0 20px var(--accent-glow-strong);
}

.nav-cta:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 24px var(--accent-glow-strong) !important;
    background: var(--accent) !important;
}

/* Mobile nav */
.mobile-toggle {
    display: none;
    background: none;
    border: 1px solid var(--border);
    color: var(--text);
    cursor: pointer;
    padding: var(--space-2);
    border-radius: var(--radius-sm);
    transition: all 0.2s;
}

.mobile-toggle:hover {
    border-color: var(--accent);
    color: var(--accent);
}

@media (max-width: 900px) {
    .mobile-toggle { display: flex; align-items: center; }

    .nav-links {
        position: fixed;
        top: 65px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--bg);
        flex-direction: column;
        align-items: flex-start;
        padding: var(--space-6);
        gap: var(--space-2);
        overflow-y: auto;
        transform: translateX(100%);
        transition: transform 0.3s var(--ease);
    }

    .nav-links.open {
        transform: translateX(0);
    }

    .nav-links a {
        font-size: 1.1rem;
        padding: var(--space-4) var(--space-4);
        width: 100%;
    }

    .nav-cta {
        margin-top: var(--space-4);
        width: 100%;
        justify-content: center;
    }

    .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        background: var(--bg-surface);
        box-shadow: none;
        border-color: var(--border);
        margin-top: var(--space-2);
    }
}

/* --- Buttons ----------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: 0.75rem 1.75rem;
    font-family: var(--font-body);
    font-size: 0.925rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s var(--ease);
    text-decoration: none;
    white-space: nowrap;
    letter-spacing: 0.01em;
}

.btn-primary {
    background: var(--gradient-accent);
    color: #070809;
    box-shadow: 0 0 24px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px var(--accent-glow-strong);
    color: #070809;
}

.btn-secondary {
    background: var(--bg-surface);
    color: var(--text);
    border-color: var(--border-light);
}

.btn-secondary:hover {
    background: var(--bg-elevated);
    border-color: var(--accent);
    color: var(--text);
}

.btn-ghost {
    background: transparent;
    color: var(--accent);
    border-color: var(--accent);
}

.btn-ghost:hover {
    background: var(--accent-glow);
    color: var(--accent);
}

.btn-lg {
    padding: 1rem 2.25rem;
    font-size: 1.05rem;
    border-radius: var(--radius-lg);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
}

/* --- Hero Section ------------------------------------------ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem var(--space-6) var(--space-24);
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

/* Radial glow orbs */
.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(0, 229, 160, 0.07) 0%, transparent 65%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.05) 0%, transparent 65%);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: rgba(0, 229, 160, 0.07);
    border: 1px solid rgba(0, 229, 160, 0.2);
    border-radius: var(--radius-full);
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--accent);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: var(--space-6);
}

.hero-eyebrow::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.4; transform: scale(0.8); }
}

.hero-title {
    margin-bottom: var(--space-6);
}

.hero-title .line-accent {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 580px;
    margin-bottom: var(--space-8);
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    flex-wrap: wrap;
    margin-bottom: var(--space-16);
}

.hero-proof {
    display: flex;
    align-items: center;
    gap: var(--space-6);
    padding-top: var(--space-8);
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
}

.hero-proof-item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: 0.875rem;
    color: var(--text-muted);
}

.hero-proof-item svg { color: var(--accent); flex-shrink: 0; }

/* --- Section Headers --------------------------------------- */
.section-header {
    margin-bottom: var(--space-12);
}

.section-header.centered { text-align: center; }

.section-header.centered p {
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--accent);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: var(--space-4);
}

.section-eyebrow::before {
    content: '//';
    color: var(--text-muted);
}

.section-header h2 { margin-bottom: var(--space-4); }

/* --- Cards ------------------------------------------------- */
.card {
    background: var(--gradient-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-8);
    transition: all 0.3s var(--ease);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 100% 0%, rgba(0,229,160,0.04) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s var(--ease);
    pointer-events: none;
}

.card:hover {
    border-color: var(--border-light);
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.4), 0 0 0 1px var(--border-light);
}

.card:hover::before { opacity: 1; }

.card-accent-top::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-accent);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

/* Product Cards */
.product-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-8);
    transition: all 0.3s var(--ease);
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    border-color: var(--accent);
    box-shadow: 0 0 40px var(--accent-glow), 0 16px 48px rgba(0,0,0,0.3);
    transform: translateY(-4px);
}

.product-card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-glow);
    border: 1px solid rgba(0, 229, 160, 0.2);
    border-radius: var(--radius-md);
    font-size: 1.4rem;
    margin-bottom: var(--space-6);
}

.product-card-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--accent);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: var(--space-2);
}

.product-card h3 {
    font-size: 1.35rem;
    margin-bottom: var(--space-3);
}

.product-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-6);
}

.product-card-status {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
    font-weight: 500;
    letter-spacing: 0.05em;
}

.status-included {
    background: var(--accent-glow);
    color: var(--accent);
    border: 1px solid rgba(0, 229, 160, 0.2);
}

.status-included::before {
    content: '';
    width: 5px;
    height: 5px;
    background: var(--accent);
    border-radius: 50%;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-6);
}

.feature-item {
    display: flex;
    gap: var(--space-4);
}

.feature-icon-wrap {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-glow);
    border: 1px solid rgba(0, 229, 160, 0.15);
    border-radius: var(--radius-md);
    color: var(--accent);
    font-size: 1.1rem;
}

.feature-item h4 {
    margin-bottom: var(--space-2);
    font-size: 1rem;
    font-weight: 600;
}

.feature-item p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.65;
}

/* Product Grid (6 tools) */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

@media (max-width: 900px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); }
}

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

/* --- Team Cards -------------------------------------------- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--space-6);
}

.team-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-8);
    text-align: center;
    transition: all 0.3s var(--ease);
}

.team-card:hover {
    border-color: var(--border-light);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.team-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto var(--space-4);
    background: var(--bg-elevated);
    border: 2px solid var(--border-light);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--accent);
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-name {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: var(--space-1);
    color: var(--text);
}

.team-role {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--accent);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: var(--space-3);
}

.team-bio {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

.team-card.placeholder {
    border-style: dashed;
    opacity: 0.55;
}

/* --- Stats Bar --------------------------------------------- */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.stat-item {
    background: var(--bg-surface);
    padding: var(--space-8) var(--space-6);
    text-align: center;
}

.stat-value {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1;
    margin-bottom: var(--space-2);
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* --- Waitlist Form ----------------------------------------- */
.waitlist-form {
    display: flex;
    gap: var(--space-3);
    max-width: 480px;
    flex-wrap: wrap;
}

.waitlist-form input[type="email"] {
    flex: 1;
    min-width: 220px;
    padding: 0.875rem 1.25rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 0.925rem;
    transition: all 0.2s var(--ease);
}

.waitlist-form input[type="email"]::placeholder {
    color: var(--text-muted);
}

.waitlist-form input[type="email"]:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

/* --- Forms ------------------------------------------------- */
.form-group {
    margin-bottom: var(--space-6);
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: var(--space-2);
    letter-spacing: 0.02em;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 0.875rem 1.25rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 0.925rem;
    transition: all 0.2s var(--ease);
    appearance: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

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

.form-hint {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: var(--space-2);
}

/* --- Page Header ------------------------------------------- */
.page-header {
    padding: 9rem 0 5rem;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}

.page-header::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 229, 160, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.page-header .container { position: relative; z-index: 1; }

.page-header h1 { margin-bottom: var(--space-4); }

.page-header p {
    color: var(--text-secondary);
    max-width: 580px;
    font-size: 1.1rem;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: var(--space-6);
    letter-spacing: 0.04em;
}

.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb-sep { color: var(--border-light); }
.breadcrumb-current { color: var(--accent); }

/* --- Terminal Block ---------------------------------------- */
.terminal {
    background: var(--bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    font-family: var(--font-mono);
    font-size: 0.875rem;
}

.terminal-bar {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-4);
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border);
}

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

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

.terminal-title {
    flex: 1;
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.06em;
}

.terminal-body {
    padding: var(--space-6);
    line-height: 2;
    color: var(--text-secondary);
}

.terminal-body .prompt { color: var(--accent); }
.terminal-body .cmd    { color: var(--text); }
.terminal-body .out    { color: var(--text-muted); }
.terminal-body .ok     { color: var(--green); }
.terminal-body .info   { color: var(--blue); }

/* --- Divider ----------------------------------------------- */
.divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: var(--space-12) 0;
}

.divider-accent {
    border-color: transparent;
    position: relative;
}

.divider-accent::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 1px;
    background: var(--gradient-accent);
}

/* --- Alerts ------------------------------------------------ */
.alert {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    padding: var(--space-4) var(--space-6);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    border: 1px solid;
}

.alert-success {
    background: rgba(74, 222, 128, 0.07);
    border-color: rgba(74, 222, 128, 0.25);
    color: var(--green);
}

.alert-error {
    background: rgba(248, 113, 113, 0.07);
    border-color: rgba(248, 113, 113, 0.25);
    color: var(--red);
}

.alert-info {
    background: var(--blue-glow);
    border-color: rgba(56, 189, 248, 0.25);
    color: var(--blue);
}

/* --- Footer ------------------------------------------------ */
.footer {
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
    padding: var(--space-16) 0 var(--space-8);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2.5fr repeat(3, 1fr);
    gap: var(--space-12);
    margin-bottom: var(--space-12);
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-8);
    }
    .footer-brand { grid-column: 1 / -1; }
}

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

.footer-brand-logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
    text-decoration: none;
}

.footer-brand-logo .mark {
    width: 32px;
    height: 32px;
    background: var(--gradient-accent);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 500;
    color: #070809;
    letter-spacing: 0.04em;
}

.footer-brand-logo .name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text);
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.7;
    max-width: 280px;
    margin-bottom: var(--space-6);
}

.footer-social {
    display: flex;
    gap: var(--space-2);
}

.footer-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-muted);
    transition: all 0.2s var(--ease);
}

.footer-social a:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-glow);
}

.footer-col h5 {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: var(--space-4);
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.footer-col ul a {
    font-size: 0.875rem;
    color: var(--text-muted);
    transition: color 0.2s;
}

.footer-col ul a:hover { color: var(--accent); }

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--space-8);
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
    gap: var(--space-4);
}

.footer-bottom p {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    margin: 0;
    letter-spacing: 0.04em;
}

.footer-bottom-links {
    display: flex;
    gap: var(--space-6);
}

.footer-bottom-links a {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.footer-bottom-links a:hover { color: var(--accent); }

/* --- Utilities --------------------------------------------- */
.text-center  { text-align: center; }
.text-accent  { color: var(--accent); }
.text-blue    { color: var(--blue); }
.text-muted   { color: var(--text-muted); }
.text-mono    { font-family: var(--font-mono); }
.font-display { font-family: var(--font-display); }

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* --- Scrollbar --------------------------------------------- */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border-light); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* --- Animations -------------------------------------------- */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes scanline {
    0%   { transform: translateY(-100%); }
    100% { transform: translateY(100vh); }
}

.animate-fade-up {
    animation: fadeUp 0.65s var(--ease-out) both;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* Intersection Observer targets */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}

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

/* --- Responsive -------------------------------------------- */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    .hero { padding-top: 7rem; }
    .section { padding: 4rem 0; }
    .hero-actions { flex-direction: column; align-items: flex-start; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .footer-bottom-links { justify-content: center; }
    .stats-bar { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
    .container { padding: 0 var(--space-4); }
    h1 { font-size: 2rem; }
    .btn-lg { width: 100%; }
    .waitlist-form { flex-direction: column; }
    .waitlist-form input[type="email"] { min-width: unset; }
}
