/* ========================================
   MYGENICS
   Apple + Neuralink + A24 + Luxury Biotech
   ======================================== */

/* Design System */
:root {
    /* Colors - Refined, Muted, Premium */
    --black: #000000;
    --carbon: #0a0a0a;
    --charcoal: #141414;
    --slate: #1a1a1a;
    --graphite: #242424;
    --stone: #2a2a2a;
    
    /* Warm Neutrals */
    --ivory: #faf9f7;
    --cream: #f5f3f0;
    --linen: #ebe8e4;
    --sand: #d9d4ce;
    --stone-light: #b8b2aa;
    
    /* Accent - Refined Gold */
    --gold: #c9a87c;
    --gold-light: #d4b88a;
    --gold-muted: rgba(201, 168, 124, 0.15);
    
    /* Text Hierarchy */
    --text-primary: #faf9f7;
    --text-secondary: #8a8680;
    --text-tertiary: #5c5955;
    
    /* Functional */
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-light: rgba(255, 255, 255, 0.12);
    
    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    --space-4xl: 96px;
    --space-5xl: 128px;
    
    /* Typography */
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
    --tracking-tight: -0.03em;
    --tracking-normal: -0.01em;
    --tracking-wide: 0.05em;
    
    /* Transitions */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
    --duration-fast: 150ms;
    --duration-base: 300ms;
    --duration-slow: 500ms;
}

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

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

body {
    font-family: var(--font);
    background: var(--black);
    color: var(--text-primary);
    font-size: 17px;
    line-height: 1.6;
    letter-spacing: var(--tracking-normal);
}

/* Typography Scale */
h1, h2, h3, h4 {
    font-weight: 500;
    letter-spacing: var(--tracking-tight);
    line-height: 1.1;
}

h1 { font-size: clamp(3rem, 8vw, 5.5rem); }
h2 { font-size: clamp(2rem, 5vw, 3.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: 1rem; }

p {
    color: var(--text-secondary);
    line-height: 1.7;
}

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

.container-narrow {
    max-width: 800px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 14px 28px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: var(--tracking-wide);
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 0;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all var(--duration-base) var(--ease);
    font-family: var(--font);
}

.btn-primary {
    background: var(--ivory);
    color: var(--black);
    border-color: var(--ivory);
}

.btn-primary:hover {
    background: transparent;
    color: var(--ivory);
}

.btn-secondary {
    background: transparent;
    color: var(--ivory);
    border-color: var(--border-light);
}

.btn-secondary:hover {
    border-color: var(--ivory);
}

/* ========================================
   Navigation - Ultra Minimal
   ======================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-xl) 0;
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-2xl);
}

.nav-logo {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ivory);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: var(--space-3xl);
}

.nav-links a {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: var(--tracking-wide);
    text-transform: uppercase;
    color: var(--text-tertiary);
    text-decoration: none;
    transition: color var(--duration-fast) var(--ease);
}

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

/* ========================================
   Hero - Single Statement
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: var(--space-5xl) var(--space-xl);
}

.hero-content {
    text-align: center;
    max-width: 900px;
    position: relative;
    z-index: 1;
}

.hero-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: var(--space-2xl);
}

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

.hero-title span {
    display: block;
}

.hero-title .accent {
    color: var(--gold);
}

.hero-text {
    font-size: 1.25rem;
    max-width: 540px;
    margin: 0 auto var(--space-3xl);
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
}

/* ========================================
   Sections - Consistent Rhythm
   ======================================== */
section {
    padding: var(--space-5xl) 0;
}

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

.section-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-tertiary);
    margin-bottom: var(--space-md);
}

.section-title {
    margin-bottom: var(--space-lg);
}

.section-text {
    font-size: 1.125rem;
    max-width: 600px;
}

/* ========================================
   Manifesto - The Problem
   ======================================== */
.manifesto {
    background: var(--carbon);
}

.manifesto-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.manifesto-content p {
    font-size: 1.125rem;
    margin-bottom: var(--space-lg);
}

.manifesto-content p:last-child {
    margin-bottom: 0;
}

.manifesto-visual {
    aspect-ratio: 4/3;
    background: var(--slate);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ========================================
   Product - Essence Adapter
   ======================================== */
.product {
    background: var(--black);
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.product-visual {
    aspect-ratio: 1;
    background: var(--charcoal);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-features {
    list-style: none;
    margin-top: var(--space-2xl);
}

.product-features li {
    padding: var(--space-lg) 0;
    border-bottom: 1px solid var(--border-subtle);
    font-size: 15px;
    color: var(--text-secondary);
    display: flex;
    justify-content: space-between;
}

.product-features li:last-child {
    border-bottom: none;
}

/* ========================================
   Process - How It Works
   ======================================== */
.process {
    background: var(--carbon);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.process-step {
    padding: var(--space-2xl) 0;
    border-top: 1px solid var(--border-subtle);
}

.process-number {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--text-tertiary);
    margin-bottom: var(--space-2xl);
}

.process-step h3 {
    margin-bottom: var(--space-md);
}

.process-step p {
    font-size: 15px;
}

/* ========================================
   Pricing - Clean Table
   ======================================== */
.pricing {
    background: var(--black);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border-subtle);
    margin-top: var(--space-4xl);
}

.pricing-card {
    background: var(--black);
    padding: var(--space-2xl);
}

.pricing-card.featured {
    background: var(--charcoal);
}

.pricing-tier {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-tertiary);
    margin-bottom: var(--space-md);
}

.pricing-amount {
    font-size: 3rem;
    font-weight: 500;
    letter-spacing: var(--tracking-tight);
    margin-bottom: var(--space-xs);
}

.pricing-period {
    font-size: 14px;
    color: var(--text-tertiary);
    margin-bottom: var(--space-2xl);
}

.pricing-features {
    list-style: none;
}

.pricing-features li {
    font-size: 14px;
    color: var(--text-secondary);
    padding: var(--space-sm) 0;
}

/* ========================================
   Waitlist - Final CTA
   ======================================== */
.waitlist {
    background: var(--carbon);
    padding: var(--space-5xl) 0;
}

.waitlist-form {
    max-width: 500px;
    margin: var(--space-3xl) auto 0;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

input, select {
    width: 100%;
    padding: var(--space-md);
    background: transparent;
    border: 1px solid var(--border-light);
    color: var(--ivory);
    font-family: var(--font);
    font-size: 15px;
    transition: border-color var(--duration-fast) var(--ease);
}

input:focus, select:focus {
    outline: none;
    border-color: var(--gold);
}

input::placeholder {
    color: var(--text-tertiary);
}

select {
    appearance: none;
    cursor: pointer;
}

.waitlist-form .btn {
    width: 100%;
    margin-top: var(--space-md);
}

/* ========================================
   Footer
   ======================================== */
.footer {
    padding: var(--space-3xl) 0;
    border-top: 1px solid var(--border-subtle);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.footer-links a {
    font-size: 12px;
    letter-spacing: var(--tracking-wide);
    text-transform: uppercase;
    color: var(--text-tertiary);
    text-decoration: none;
}

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

.footer-copy {
    font-size: 12px;
    color: var(--text-tertiary);
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {
    .manifesto-grid,
    .product-grid {
        grid-template-columns: 1fr;
        gap: var(--space-3xl);
    }
    
    .process-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: var(--space-3xl) auto 0;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-inner {
        flex-direction: column;
        gap: var(--space-lg);
        text-align: center;
    }
}
