/* ========================================
   BASE.CSS - Reset, Variables, Typography,
   Header, Footer, Buttons, Modals
   ======================================== */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --accent: #ff6847;
    --mint: #35cfa4;
    --dark: #0f172a;
    --slate-950: #020617;
    --slate-900: #0f172a;
    --slate-800: #1e293b;
    --slate-600: #475569;
    --slate-500: #64748b;
    --slate-400: #94a3b8;
    --slate-300: #cbd5e1;
    --slate-200: #e2e8f0;
    --slate-100: #f1f5f9;
    --slate-50: #f8fafc;
    --success: #10b981;
    --radius-card: 2rem;
    --radius-lg: 1.25rem;
    --radius-md: 0.75rem;
    --radius-pill: 9999px;
}

html { overflow-x: hidden; max-width: 100%; scroll-behavior: smooth; }
body { overflow-x: hidden; max-width: 100%; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--slate-900);
    min-height: 100vh;
    background: #fafafa;
}

/* Brand typography */
.brand-display {
    font-weight: 800;
    letter-spacing: -0.055em;
    line-height: 0.95;
}

.brand-eyebrow {
    letter-spacing: 0.18em;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 12px;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn-appstore {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--slate-950);
    color: white;
    padding: 12px 20px;
    border-radius: var(--radius-lg);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.1);
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

.btn-appstore:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(15, 23, 42, 0.15); }
.btn-appstore .arrow { transition: transform 0.2s; }
.btn-appstore:hover .arrow { transform: translateX(4px); }

.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(255,255,255,0.7);
    color: var(--slate-800);
    padding: 12px 20px;
    border-radius: var(--radius-lg);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    border: 1px solid var(--slate-200);
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    backdrop-filter: blur(8px);
    transition: all 0.2s;
    cursor: pointer;
}

.btn-ghost:hover { transform: translateY(-2px); background: white; }

.btn-accent {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: white;
    padding: 12px 20px;
    border-radius: var(--radius-lg);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(255, 104, 71, 0.25);
    transition: all 0.2s;
    width: 100%;
    text-align: center;
}

.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(255, 104, 71, 0.3); }

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: white;
    color: var(--slate-800);
    padding: 12px 20px;
    border-radius: var(--radius-lg);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    border: 1px solid var(--slate-200);
    cursor: pointer;
    transition: all 0.2s;
    width: 100%;
    text-align: center;
}

.btn-outline:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.06); }

/* ========================================
   GLASS CARD (shared)
   ======================================== */
.glass-card {
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: var(--radius-card);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

/* ========================================
   HEADER
   ======================================== */
.header {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-weight: 800;
    color: var(--slate-900);
}

.logo-icon { display: block; flex-shrink: 0; }

.logo-text { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }

.nav-links {
    display: flex;
    gap: 24px;
    align-items: center;
}

.nav-links a {
    color: var(--slate-600);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.2s;
}

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

/* ========================================
   FOOTER
   ======================================== */
/* ========================================
   ANDROID WAITLIST
   ======================================== */
.android-section {
    border-radius: var(--radius-card);
    background: #fef6ee;
    padding: 48px;
    position: relative;
    overflow: hidden;
}


.android-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.android-features {
    display: flex;
    gap: 16px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.android-feat {
    background: rgba(255,255,255,0.8);
    border-radius: 16px;
    padding: 16px 20px;
    flex: 1;
    min-width: 120px;
}

.android-feat strong {
    display: block;
    font-size: 14px;
    font-weight: 800;
    color: var(--slate-900);
    margin-bottom: 4px;
}

.android-feat span {
    font-size: 13px;
    color: var(--slate-500);
}

.android-form-card {
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--slate-200);
    padding: 28px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.android-input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--slate-200);
    border-radius: var(--radius-md);
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.2s;
}

.android-input:focus {
    outline: none;
    border-color: var(--accent);
}

@media (max-width: 768px) {
    .android-grid { grid-template-columns: 1fr; }
    .android-section { padding: 28px; }
    .android-section h2 { font-size: 36px !important; }
}

.footer-dark {
    background: var(--slate-100);
    padding: 0 24px;
    margin-top: 24px;
}

.footer-bar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-copy { color: var(--slate-400); font-size: 14px; }

.footer-links {
    display: flex;
    gap: 28px;
}

.footer-links a {
    color: var(--slate-400);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

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

/* ========================================
   MODALS
   ======================================== */
.modal { display: none; position: fixed; z-index: 2000; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background: rgba(0,0,0,0.5); backdrop-filter: blur(4px); }
.modal.active { display: flex; align-items: center; justify-content: center; }

.modal-content {
    background: white; margin: auto; padding: 36px; border-radius: var(--radius-card);
    width: 90%; max-width: 500px; box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    position: relative; animation: modalSlide 0.3s ease-out;
}

@keyframes modalSlide { from { transform: translateY(-40px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.modal-close { position: absolute; top: 16px; right: 20px; font-size: 28px; font-weight: 700; color: var(--slate-400); cursor: pointer; line-height: 1; transition: color 0.2s; }
.modal-close:hover { color: var(--slate-900); }
.modal h3 { font-size: 24px; font-weight: 800; margin-bottom: 8px; color: var(--slate-900); }
.modal p { font-size: 15px; color: var(--slate-500); margin-bottom: 20px; line-height: 1.6; }

.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 700; color: var(--slate-800); margin-bottom: 6px; }
.form-group input, .form-group select { width: 100%; padding: 10px 14px; border: 2px solid var(--slate-200); border-radius: var(--radius-md); font-size: 14px; font-family: 'Inter', sans-serif; transition: border-color 0.2s; }
.form-group input:focus, .form-group select:focus { outline: none; border-color: var(--accent); }
.form-group select { cursor: pointer; background: white; }

.checkbox-group { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.checkbox-group input[type="checkbox"] { width: 18px; height: 18px; cursor: pointer; accent-color: var(--accent); }
.checkbox-group label { font-size: 13px; color: var(--slate-800); cursor: pointer; }
.modal .btn-accent { font-size: 15px; padding: 14px; }

.success-message { display: none; text-align: center; padding: 24px; }
.success-message.active { display: block; }
.success-message .icon { font-size: 56px; margin-bottom: 16px; }

/* ========================================
   SHARED UTILITIES
   ======================================== */
.section-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; margin-bottom: 48px; }
.section-center { text-align: center; margin-bottom: 32px; }
.section-center h2 { font-size: 40px; }
.section-center p { font-size: 16px; color: var(--slate-600); margin-top: 16px; max-width: 640px; margin-left: auto; margin-right: auto; }

.eyebrow { color: var(--mint); margin-bottom: 12px; }
.hi { color: var(--accent); }

/* App Store badge */
.appstore-badge { display: inline-block; transition: transform 0.2s; }
.appstore-badge:hover { transform: translateY(-2px); }
.appstore-badge img { display: block; }

/* Filler word style in demo voice text */
.filler { color: var(--slate-300); }

@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ========================================
   RESPONSIVE - base
   ======================================== */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .footer-left { flex-direction: column; align-items: flex-start; gap: 8px; }
    .section-center h2 { font-size: 32px; }
}

@media (max-width: 500px) {
    .footer-bar { flex-direction: column; align-items: flex-start; }
}
