:root {
    /* New Palette: Warm, Human, High-Fidelity */
    --bg-deep: #13161c; /* Softer than pure black */
    --bg-card: #1c2029;
    --text-primary: #f0f2f5;
    --text-secondary: #9ca3af;
    
    --coral: #ff8e72; /* Warmth/Empathy */
    --coral-dim: rgba(255, 142, 114, 0.15);
    --blue-grey: #64748b;
    --sage: #10b981;
    --alert: #ef4444;
    
    --font-serif: 'Fraunces', serif; /* Storytelling */
    --font-sans: 'Inter', sans-serif; /* Utility */
    
    --ease-fluid: cubic-bezier(0.65, 0, 0.35, 1);
}

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

html.lenis { height: auto; } 
.lenis.lenis-smooth { scroll-behavior: auto; } 
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; } 
.lenis.lenis-stopped { overflow: hidden; } 
.lenis.lenis-scrolling iframe { pointer-events: none; }

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

/* Cursor Glow */
.cursor-glow {
    position: fixed;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(255, 142, 114, 0.08), transparent 70%);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 0;
    mix-blend-mode: screen;
}

h1, h2, h3 { font-family: var(--font-serif); font-weight: 500; line-height: 1.1; }
.title-serif { font-family: var(--font-serif); font-size: 3rem; margin-bottom: 1.5rem; }
.text-coral { color: var(--coral); font-style: italic; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 2; }
.text-center { text-align: center; }
.mb-large { margin-bottom: 5rem; }

/* Navigation */
.nav-bar {
    position: fixed; top: 0; width: 100%;
    padding: 24px 0;
    z-index: 100;
    transition: padding 0.3s ease, background 0.3s ease;
}
.nav-bar.scrolled {
    background: rgba(19, 22, 28, 0.85);
    backdrop-filter: blur(12px);
    padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.nav-container {
    max-width: 1200px; margin: 0 auto; padding: 0 24px;
    display: flex; justify-content: space-between; align-items: center;
}
.brand { font-family: var(--font-serif); font-size: 1.5rem; display: flex; align-items: center; gap: 8px; font-weight: 600; }
.brand i { color: var(--coral); }

.nav-menu { display: flex; gap: 32px; background: rgba(255,255,255,0.05); padding: 8px 24px; border-radius: 100px; border: 1px solid rgba(255,255,255,0.05); }
.nav-item { color: var(--text-secondary); text-decoration: none; font-size: 0.9rem; font-weight: 500; transition: color 0.3s; }
.nav-item:hover { color: #fff; }

.nav-actions { display: flex; gap: 20px; align-items: center; }
.link-btn { text-decoration: none; color: #fff; font-weight: 500; font-size: 0.95rem; }
.btn-primary {
    background: var(--coral);
    color: #1a0f0d;
    border: none;
    padding: 10px 24px;
    border-radius: 100px;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(255, 142, 114, 0.2); }
.btn-primary.large { padding: 16px 32px; font-size: 1.1rem; }

/* Hero Section */
.hero { padding-top: 160px; padding-bottom: 100px; min-height: 100vh; position: relative; }
.hero-container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; max-width: 1280px; margin: 0 auto; padding: 0 24px; }

.tag-pill {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--coral-dim); color: var(--coral);
    padding: 6px 14px; border-radius: 20px;
    font-size: 0.8rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase;
    margin-bottom: 24px; border: 1px solid rgba(255, 142, 114, 0.2);
}
.pulse { width: 8px; height: 8px; background: currentColor; border-radius: 50%; animation: pulse 2s infinite; }

.hero-title { font-size: 4.5rem; letter-spacing: -0.02em; margin-bottom: 24px; line-height: 1.05; }
.hero-desc { font-size: 1.25rem; color: var(--text-secondary); max-width: 520px; margin-bottom: 40px; line-height: 1.6; }

.hero-btns { display: flex; gap: 20px; margin-bottom: 40px; align-items: center; }
.btn-text { background: none; border: none; color: #fff; font-size: 1rem; display: flex; align-items: center; gap: 8px; cursor: pointer; border-bottom: 1px solid transparent; transition: border 0.2s; }
.btn-text:hover { border-bottom-color: var(--coral); }

.trust-badges { display: flex; gap: 24px; color: var(--blue-grey); font-size: 0.9rem; font-weight: 500; }
.trust-badges span { display: flex; align-items: center; gap: 6px; }

/* Hero Visual (Fixed - No rotation on hover to prevent missing image) */
.hero-visual { position: relative; display: flex; justify-content: center; height: 600px; align-items: center; }
.glass-phone {
    width: 320px; height: 650px;
    background: #000;
    border-radius: 48px;
    border: 6px solid #2d3342;
    box-shadow: 0 40px 80px -20px rgba(0,0,0,0.6);
    position: relative;
    overflow: hidden;
    /* Gentle floating animation instead of 3D tilt */
    animation: float 6s ease-in-out infinite;
}
.phone-screen { background: #13161c; width: 100%; height: 100%; padding: 20px; position: relative; }
.ui-header { display: flex; justify-content: space-between; color: #fff; margin-bottom: 24px; font-size: 0.8rem; margin-top: 8px; }
.ui-feed { display: flex; flex-direction: column; gap: 16px; }
.ui-card {
    background: #1e222b; border-radius: 16px; padding: 16px; border: 1px solid rgba(255,255,255,0.05);
}
.ui-card.alert { background: rgba(239, 68, 68, 0.05); border-color: rgba(239, 68, 68, 0.2); }
.card-top { display: flex; justify-content: space-between; margin-bottom: 12px; }
.badge { font-size: 0.65rem; font-weight: 700; text-transform: uppercase; padding: 4px 8px; border-radius: 6px; }
.badge.red { background: rgba(239, 68, 68, 0.2); color: #f87171; }
.badge.green { background: rgba(16, 185, 129, 0.2); color: #34d399; }
.time-ago { font-size: 0.7rem; color: var(--text-secondary); }
.ui-card h4 { font-family: var(--font-sans); font-size: 0.85rem; margin-bottom: 8px; font-weight: 600; line-height: 1.4; }
.ui-card p { font-size: 0.75rem; color: var(--text-secondary); line-height: 1.4; }
.ui-action-btn { width: 100%; margin-top: 12px; background: rgba(255,255,255,0.08); border: none; color: #fff; padding: 8px; border-radius: 8px; font-size: 0.75rem; font-weight: 600; cursor: pointer; }

.voice-fab {
    position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
    width: 64px; height: 64px; border-radius: 50%;
    background: var(--coral); display: flex; align-items: center; justify-content: center;
    color: #1a0f0d; box-shadow: 0 10px 30px rgba(255, 142, 114, 0.3);
}
.voice-fab i { z-index: 2; }
.wave { position: absolute; width: 100%; height: 100%; border: 1px solid var(--coral); border-radius: 50%; animation: ripple 2s infinite; }

.float-context {
    position: absolute;
    background: rgba(30, 34, 43, 0.9); backdrop-filter: blur(8px);
    padding: 12px 20px; border-radius: 12px;
    font-size: 0.85rem; font-weight: 600; display: flex; align-items: center; gap: 8px;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}
.c1 { top: 20%; left: -40px; }
.c2 { bottom: 25%; right: -30px; }

/* Problem Section */
.problem-section { padding: 120px 0; background: #181b23; }
.section-intro { max-width: 700px; margin-bottom: 60px; }
.section-intro p { font-size: 1.2rem; color: var(--text-secondary); }
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.feature-card {
    background: var(--bg-deep); padding: 40px 30px; border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.03); transition: transform 0.3s;
}
.feature-card:hover { transform: translateY(-10px); }
.highlight-card { border-color: var(--coral-dim); background: linear-gradient(180deg, var(--bg-deep), #1e1b1b); }
.icon-box { width: 56px; height: 56px; background: rgba(255,255,255,0.05); border-radius: 16px; display: flex; align-items: center; justify-content: center; margin-bottom: 24px; color: var(--coral); }
.feature-card h3 { font-size: 1.35rem; margin-bottom: 12px; font-family: var(--font-serif); }
.feature-card p { font-size: 1rem; color: var(--text-secondary); }

/* Scroll Telling Section */
.scroll-telling { padding: 80px 0; position: relative; }
.sticky-container { display: flex; gap: 60px; }
.scroller-content { width: 45%; padding-bottom: 200px; }
.scroll-step { min-height: 90vh; display: flex; flex-direction: column; justify-content: center; opacity: 0.2; transition: opacity 0.5s; }
.scroll-step.active { opacity: 1; }
.step-num { font-family: var(--font-serif); font-size: 4rem; color: rgba(255,255,255,0.05); font-weight: 700; line-height: 1; margin-bottom: -20px; display: block; }
.scroll-step h2 { font-size: 2.5rem; margin-bottom: 20px; }
.scroll-step p { font-size: 1.15rem; color: var(--text-secondary); margin-bottom: 24px; }
.feature-tags span { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.05); padding: 6px 12px; border-radius: 8px; font-size: 0.85rem; margin-right: 8px; }

/* AI Widget */
.ai-widget { background: rgba(255, 142, 114, 0.05); border: 1px solid rgba(255, 142, 114, 0.15); padding: 20px; border-radius: 16px; margin-top: 20px; }
.ai-label { color: var(--coral); font-size: 0.8rem; font-weight: 600; margin-bottom: 12px; display: flex; align-items: center; gap: 6px; }
.ai-box { display: flex; gap: 10px; margin-bottom: 10px; }
#aiInput { flex: 1; background: rgba(0,0,0,0.2); border: 1px solid rgba(255,255,255,0.1); padding: 10px; border-radius: 8px; color: #fff; font-family: var(--font-sans); }
#aiBtn { background: var(--coral); border: none; border-radius: 8px; width: 40px; cursor: pointer; color: #1a0f0d; }
.ai-result { font-size: 0.9rem; min-height: 20px; }

/* Visual Display Sticky */
.visual-display { width: 50%; height: 100vh; position: sticky; top: 0; display: flex; align-items: center; justify-content: center; }
.display-stage { width: 100%; height: 500px; position: relative; }
.stage-item { position: absolute; inset: 0; opacity: 0; transform: scale(0.95); transition: all 0.6s var(--ease-fluid); pointer-events: none; }
.stage-item.active { opacity: 1; transform: scale(1); }

/* Stage Visuals */
.doc-stack { position: relative; width: 300px; margin: 0 auto; top: 50px; }
.doc-card {
    background: #fff; color: #000; padding: 16px; border-radius: 12px; width: 100%;
    position: absolute; top: calc(var(--i) * -20px); left: calc(var(--i) * 10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2); transform: rotate(calc(var(--i) * 3deg));
}
.doc-meta { font-weight: 600; font-size: 0.9rem; }
.doc-line { height: 4px; background: #e5e7eb; width: 60%; margin-top: 8px; border-radius: 2px; }
.upload-zone { margin-top: 140px; background: rgba(255,255,255,0.05); border: 2px dashed rgba(255,255,255,0.2); border-radius: 16px; height: 120px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: var(--text-secondary); }

.timeline-ui { max-width: 320px; margin: 0 auto; margin-top: 80px; border-left: 2px solid rgba(255,255,255,0.1); padding-left: 30px; }
.t-event { position: relative; margin-bottom: 40px; }
.t-dot { position: absolute; left: -36px; top: 6px; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--bg-deep); }
.t-dot.warning { background: var(--coral); }
.t-dot.info { background: var(--text-primary); }
.t-content { background: var(--bg-card); padding: 16px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.05); }
.t-date { font-size: 0.75rem; color: var(--text-secondary); display: block; margin-bottom: 4px; }
.t-content strong { display: block; margin-bottom: 4px; font-size: 0.95rem; }
.t-content p { font-size: 0.85rem; color: var(--coral); }

.voice-ui { text-align: center; margin-top: 100px; }
.voice-avatar { width: 80px; height: 80px; background: var(--coral); border-radius: 50%; margin: 0 auto 30px; display: flex; align-items: center; justify-content: center; color: #1a0f0d; font-size: 1.5rem; }
.voice-bars { display: flex; gap: 6px; justify-content: center; height: 40px; align-items: center; margin-bottom: 30px; }
.voice-bars span { width: 6px; background: #fff; border-radius: 4px; animation: eq 1s infinite ease-in-out; }
.voice-bars span:nth-child(2) { animation-delay: 0.1s; height: 25px; }
.voice-caption { font-family: var(--font-serif); font-size: 1.5rem; font-style: italic; }

/* Trust Grid */
.trust-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.trust-box { background: var(--bg-card); padding: 40px; border-radius: 20px; border: 1px solid rgba(255,255,255,0.05); transition: background 0.3s; }
.trust-box:hover { background: #232833; }
.box-header { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.box-header i { width: 24px; height: 24px; }
.t-yellow i { color: #fbbf24; }
.t-blue i { color: #60a5fa; }
.t-red i { color: #f87171; }
.t-green i { color: #34d399; }
.trust-box h3 { font-size: 1.25rem; font-family: var(--font-serif); }
.trust-box p { color: var(--text-secondary); font-size: 0.95rem; }

/* CTA Section */
.cta-section { padding: 100px 0; text-align: center; background: radial-gradient(circle at 50% 0%, #1e222b 0%, var(--bg-deep) 70%); }
.roadmap-pill { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.1); padding: 8px 16px; border-radius: 100px; font-size: 0.9rem; margin-bottom: 30px; }
.large-text { font-size: 3.5rem; margin-bottom: 20px; }
.cta-desc { font-size: 1.25rem; color: var(--text-secondary); max-width: 600px; margin: 0 auto 40px; }

/* Footer */
footer { padding: 80px 0 30px; border-top: 1px solid rgba(255,255,255,0.05); font-size: 0.9rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 60px; }
.links-col h4 { color: #fff; margin-bottom: 20px; font-family: var(--font-serif); }
.links-col a { display: block; color: var(--text-secondary); text-decoration: none; margin-bottom: 12px; transition: color 0.2s; }
.links-col a:hover { color: var(--coral); }
.footer-bottom { text-align: center; color: var(--text-secondary); padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.05); }

/* Animation Utils */
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 142, 114, 0.4); } 70% { box-shadow: 0 0 0 10px rgba(255, 142, 114, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 142, 114, 0); } }
@keyframes ripple { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
@keyframes eq { 0%, 100% { height: 10px; } 50% { height: 25px; } }

@media (max-width: 768px) {
    .hero-container, .sticky-container, .cards-grid, .trust-grid, .footer-grid { grid-template-columns: 1fr; }
    .hero-title, .large-text { font-size: 2.5rem; }
    .hero-visual { height: 400px; }
    .glass-phone { width: 280px; height: 500px; }
    .visual-display { display: none; }
    .scroller-content { width: 100%; padding-bottom: 0; }
    .nav-menu, .nav-actions { display: none; }
}
