/* Design System & Variables */
:root {
    --color-bg: #FDFBF7; /* Warm cream background */
    --color-text-main: #2D2A26; /* Soft black/brown */
    --color-text-muted: #6B665F;
    --color-accent: #E87A5D; /* Soft warm orange/terracotta */
    --color-accent-hover: #D6694D;
    --color-surface: #FFFFFF;
    --color-surface-transparent: rgba(255, 255, 255, 0.8);
    --color-border: #EBE5DE;
    
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 32px;
    --radius-full: 9999px;
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.08);
    
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4 {
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: 1.5rem; }

p {
    font-size: 1.125rem;
    color: var(--color-text-muted);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    display: block;
    border-radius: var(--radius-md);
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--color-text-main);
    color: var(--color-surface);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    background-color: #000;
}

.btn-secondary {
    background-color: var(--color-surface);
    color: var(--color-text-main);
    border: 1px solid var(--color-border);
}

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

.section-padding {
    padding: var(--spacing-xl) 0;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: var(--color-surface-transparent);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.nav-links {
    display: flex;
    gap: var(--spacing-md);
}

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

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

/* Hero */
.hero {
    padding-top: 160px;
    padding-bottom: var(--spacing-xl);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto var(--spacing-lg);
}

.hero h1 {
    margin-bottom: var(--spacing-sm);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-md);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-image-container {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-top: var(--spacing-lg);
}

/* Problem Section */
.problem {
    background-color: #F5F2ED;
}

.problem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

/* How It Works */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.step-card {
    background: var(--color-surface);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
}

.step-number {
    font-size: 3rem;
    font-weight: 700;
    color: rgba(0,0,0,0.05);
    margin-bottom: var(--spacing-sm);
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.feature-item {
    text-align: center;
    padding: var(--spacing-md);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--color-surface);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-sm);
    box-shadow: var(--shadow-sm);
    font-size: 1.5rem;
}

/* AI Companion */
.ai-section {
    background: #000;
    color: #fff;
    border-radius: var(--radius-lg);
    margin: var(--spacing-md);
    padding: var(--spacing-xl) var(--spacing-md);
    text-align: center;
}

.ai-section h2 {
    color: #fff;
}

.ai-section p {
    color: rgba(255,255,255,0.7);
}

.ai-visual {
    margin-top: var(--spacing-lg);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

/* Founder */
.founder {
    text-align: center;
}

.founder-quote {
    font-size: 2rem;
    font-weight: 500;
    max-width: 800px;
    margin: 0 auto var(--spacing-md);
    line-height: 1.4;
}

.founder-profile {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
}

.founder-img {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-full);
    object-fit: cover;
}

/* Waitlist */
.waitlist {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.waitlist-form {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.waitlist-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--color-border);
    font-size: 1rem;
    font-family: var(--font-main);
    outline: none;
    transition: var(--transition);
}

.waitlist-input:focus {
    border-color: var(--color-text-main);
}

/* Footer */
footer {
    padding: var(--spacing-lg) 0;
    border-top: 1px solid var(--color-border);
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.copyright {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .problem-grid, .features-grid, .waitlist-form {
        grid-template-columns: 1fr;
        flex-direction: column;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .nav-links {
        display: none; /* Simple mobile hide for now */
    }
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--color-surface-transparent);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(0,0,0,0.05);
    padding: var(--spacing-sm) 0;
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner.visible {
    transform: translateY(0);
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-md);
}

.cookie-content p {
    font-size: 0.9rem;
    margin: 0;
}

.cookie-content a {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-sm);
    }
}
