:root {
    --bg-base: #090909; /* DarkBackground */
    --bg-card: #181818; /* DarkSurfaceCard */
    --text-primary: #FFFFFF; /* DarkTextPrimary */
    --text-dim: #A0A0A0; /* DarkTextSecondary */
    --accent: #8FD9FF; /* BaseAccentBlue */
    --accent-glow: rgba(143, 217, 255, 0.15); /* AccentBlue with opacity */
    --divider: rgba(255,255,255,0.05);
    
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 8rem;
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --font-primary: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

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

/* Background Gradients */
.bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-glow) 0%, rgba(10,10,12,0) 70%);
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
}

.top-glow {
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
}

.bottom-glow {
    bottom: -200px;
    right: -200px;
}

/* Navigation */
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 2rem; /* Slimmer top/bottom padding */
    max-width: 1200px;
    margin: 1.5rem auto;
    
    /* Glassmorphism */
    position: sticky;
    top: 1.5rem;
    z-index: 100;
    background: rgba(24, 24, 24, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.05);
    border-radius: 100px; /* Pill shape for the navbar */
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    text-decoration: none;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo:hover {
    transform: scale(1.05);
}

.curiq-logo-icon {
    width: 36px;
    height: 36px;
    border-radius: 9px; /* Squircle rounding */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid rgba(255,255,255,0.1);
}

.curiq-logo-icon img {
    width: 140%; /* Zoom in slightly to crop out the blurred background */
    height: 140%;
    object-fit: cover;
    object-position: center;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 100px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    gap: 0.5rem;
}

.btn:hover {
    transform: scale(1.05);
}

.btn-primary {
    background-color: var(--text-primary);
    color: var(--bg-base);
}

.btn-primary:hover {
    box-shadow: 0 10px 20px rgba(255,255,255,0.15);
}

.btn-secondary {
    background-color: rgba(255,255,255,0.05);
    color: var(--text-primary);
    border: 1px solid rgba(255,255,255,0.1);
}

.btn-secondary:hover {
    background-color: rgba(255,255,255,0.1);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.play-icon {
    width: 20px;
    height: 20px;
}

/* Typography */
h1, h2, h3 {
    line-height: 1.1;
    letter-spacing: -0.02em;
}

h1 { font-weight: 800; }
h2 { font-weight: 700; }
h3 { font-weight: 600; }

.text-dim { color: var(--text-dim); }
.text-highlight { color: var(--text-primary); }

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 1.5rem;
}

/* Layout */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

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

/* Hero */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: var(--space-lg);
}

.hero h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.hero .subtitle {
    font-size: 1.25rem;
    color: var(--text-dim);
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.hero-journey {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 3rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dim);
    flex-wrap: wrap;
}

.hero-journey .arrow {
    opacity: 0.5;
}

/* Problem Section */
.problem {
    text-align: center;
    padding: var(--space-xl) 0;
}

.problem h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
}

/* Feature Sections */
.feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: center;
}

.feature.reverse {
    direction: rtl;
}
.feature.reverse > * {
    direction: ltr;
}

.feature-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.feature-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-dim);
    font-weight: 500;
}

/* Ask Curiq Section */
.ask-curiq {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.ask-curiq-header {
    margin-bottom: 3rem;
}

.ask-curiq-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.chat-container {
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: var(--radius-lg);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: left;
}

.chat-bubble {
    max-width: 80%;
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    font-size: 1rem;
}

.user-bubble {
    align-self: flex-end;
    background: rgba(255,255,255,0.1);
    border-bottom-right-radius: 4px;
}

.curiq-bubble {
    align-self: flex-start;
    background: rgba(74, 144, 226, 0.1);
    border: 1px solid rgba(74, 144, 226, 0.2);
    border-bottom-left-radius: 4px;
}

.references {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.reference-card {
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-sm);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.8rem;
}

.ref-domain {
    color: var(--text-dim);
    font-size: 0.7rem;
}

/* Privacy */
.privacy {
    display: flex;
    justify-content: center;
}

.privacy-card {
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: var(--radius-lg);
    padding: 4rem 2rem;
    text-align: center;
    max-width: 800px;
    width: 100%;
}

.privacy-card h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.privacy-card p {
    color: var(--text-dim);
    font-size: 1.1rem;
}

/* Final CTA */
.final-cta {
    text-align: center;
    padding: var(--space-xl) 0 calc(var(--space-xl) * 1.5);
}

.final-cta h2 {
    font-size: 3rem;
    margin-bottom: 2.5rem;
}

/* Mockup Placeholders */
.mockup-container {
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1; /* Establish stacking context */
}

.hero-mockup {
    margin-top: 4rem;
    aspect-ratio: 16/9;
    max-width: 800px;
}

.mockup-placeholder {
    color: var(--text-dim);
    font-size: 0.9rem;
    font-family: monospace;
}

/* --- Conversion Rate Optimization (CRO) Elements --- */
/* Social Proof */
.social-proof {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    font-size: 0.95rem;
    color: var(--text-dim);
    font-weight: 500;
}
.stars {
    display: flex;
    gap: 2px;
}
.stars svg {
    width: 16px;
    height: 16px;
}

/* Final CTA */
.final-cta {
    padding: 8rem 5%;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.final-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 600px;
    background: radial-gradient(circle, rgba(143, 217, 255, 0.08) 0%, rgba(9,9,9,0) 70%);
    z-index: -1;
    pointer-events: none;
}
.cta-content {
    max-width: 600px;
    margin: 0 auto;
}
.cta-content h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
}
.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
}
.play-badge {
    display: inline-block;
}
.play-badge img {
    height: 60px; /* Standard play store badge height */
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.play-badge:hover img {
    transform: scale(1.05);
}

/* Footer */
footer {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 3rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-logo {
    font-size: 1.25rem;
    font-weight: 700;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-dim);
    text-decoration: none;
    display: inline-block; /* Required for transform to work properly */
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-links a:hover {
    color: var(--text-primary);
    transform: scale(1.05);
}

.footer-bottom {
    text-align: center;
    color: var(--text-dim);
    font-size: 0.8rem;
}

/* Scroll Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .feature {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .feature.reverse {
        direction: ltr;
    }
    
    .feature-text {
        order: -1;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
    }
}

/* --- Floating Parallax Images --- */
.floating-parallax {
    width: 100%;
    /* Remove background transparency so it blends right into the DOM */
    mix-blend-mode: lighten;
    will-change: transform;
}

.banner-parallax {
    width: 100%;
    will-change: transform;
    /* No mix-blend-mode because it's a bright banner on a dark background */
}

.billboard-mockup-img {
    max-width: 800px;
    border-radius: 24px;
}

.phone-mockup-img {
    max-width: 400px;
}
