/* Design Tokens */
:root {
    /* Brand Palette - Clean Startup Feel */
    --brand-primary: #009499;
    --brand-dark: #006366;
    --text-main: #111827;
    /* Sharp charcoal */
    --text-muted: #6B7280;
    /* Cool gray */
    --bg-page: #F9FAFB;
    /* Very clean off-white */
    --bg-white: #ffffff;
    --bg-dark: #111827;
    /* Dark section bg */

    /* Typography */
    --font-stack: 'Inter', system-ui, -apple-system, sans-serif;

    /* Layout */
    --width-container: 1140px;
    --radius-img: 12px;
    --radius-card: 16px;
    --radius-btn: 6px;
    /* Sharper, more tech */

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-page);
    color: var(--text-main);
    font-family: var(--font-stack);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: 0.2s;
}

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

/* Typography Scale */
h1 {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 24px;
    color: #ffffff;
    /* Override for hero */
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 20px;
    color: var(--text-main);
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
}

p.lead {
    font-size: 1.25rem;
    color: var(--text-muted);
    font-weight: 400;
    margin-bottom: 24px;
}

p {
    margin-bottom: 16px;
    color: var(--text-muted);
}

.text-center {
    text-align: center;
}

.text-white {
    color: #fff !important;
}

.text-white-dim {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* Utilities */
.container {
    width: 100%;
    max-width: var(--width-container);
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
}

.section-pad {
    padding: 96px 0;
}

.max-60 {
    max-width: 640px;
    margin: 0 auto;
}

.bg-white {
    background: var(--bg-white);
}

.bg-light {
    background: var(--bg-page);
}

.bg-dark {
    background: var(--bg-dark);
}

.mt-medium {
    margin-top: 48px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 18px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 32px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-main);
}

.nav-links a:hover {
    color: var(--brand-primary);
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-main);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    padding: 24px;
    border-bottom: 1px solid #eee;
}

.mobile-nav.active {
    display: flex;
}

.mobile-nav a {
    padding: 12px 0;
    font-size: 1.1rem;
    border-bottom: 1px solid #f3f3f3;
}

/* Hero Video */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: white;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    /* Dark overlay for text readability */
    z-index: -1;
}

.hero-content {
    max-width: 700px;
}

.subhead {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

.badge-pill {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(4px);
    border-radius: 99px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 0.02em;
}

/* Buttons */
.cta-group {
    display: flex;
    gap: 16px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: var(--radius-btn);
    font-weight: 600;
    font-size: 1rem;
}

.btn-primary {
    background: var(--brand-primary);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 148, 153, 0.4);
}

.btn-primary:hover {
    background: var(--brand-dark);
    transform: translateY(-1px);
}

.btn-outline-white {
    border: 1px solid rgba(255, 255, 255, 0.8);
    color: white;
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
}

.micro-trust {
    margin-top: 32px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Split Layouts */
.grid-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-img);
    /* No shadow for cleaner premium look as requested */
}

.image-wrapper img {
    transition: transform 0.6s ease;
    width: 100%;
}

.image-wrapper:hover img {
    transform: scale(1.02);
}

.quote-box {
    margin-top: 24px;
    padding-left: 16px;
    border-left: 3px solid var(--brand-primary);
    font-style: italic;
    font-size: 1.1rem;
    color: var(--text-main);
}

.feature-list {
    list-style: none;
}

.feature-list li {
    margin-bottom: 20px;
    /* Compacted from 24px */
    position: relative;
    padding-left: 20px;
}

.feature-list li strong {
    display: block;
    color: var(--text-main);
    margin-bottom: 4px;
}

.feature-list li span {
    font-size: 0.95rem;
}

/* Dark Cards (Commitment) */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.card-dark {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 32px;
    border-radius: var(--radius-card);
}

.card-dark h3 {
    color: white;
}

.card-dark p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    font-size: 0.95rem;
}

/* Early Access */
.early-access-card.white-bg {
    background: #fff;
    border: 1px solid #eee;
    padding: 64px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.form-wrapper {
    margin-top: 32px;
}

/* Footer */
.footer-section {
    background: #fff;
    padding: 80px 0 32px;
    border-top: 1px solid #eee;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-brand .footer-logo {
    height: 28px;
    width: auto;
    display: block;
}

/* Smaller logo */
.footer-brand p {
    font-size: 0.9rem;
    margin-top: 12px;
}

.footer-nav h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
    color: var(--text-main);
}

.footer-nav a {
    display: block;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.footer-nav a:hover {
    color: var(--brand-primary);
}

.footer-bottom {
    margin-top: 64px;
    padding-top: 32px;
    border-top: 1px solid #f3f3f3;
    text-align: center;
    font-size: 0.85rem;
    color: #9CA3AF;
}

/* Responsive */
@media (max-width: 900px) {
    .grid-split {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .reverse-mobile {
        display: flex;
        flex-direction: column-reverse;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

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

    /* Fix 1: Hero spacing on mobile */
    .hero-section {
        align-items: flex-start;
        /* Start from top, don't center vertically */
        padding-top: 140px;
        /* Clear fixed header + breathing room */
        text-align: center;
    }

    .hero-content {
        margin: 0 auto;
    }

    /* Fix 2: Email form centering */
    .form-wrapper {
        display: flex;
        justify-content: center;
        width: 100%;
        overflow: hidden;
    }
}