:root {
    --bg-color: #000000;
    --primary-blue: #ffffff; /* Silver/White */
    --primary-cyan: #94a3b8; /* Slate/Silver */
    --ice-white: #f8fafc;
    --body-gray: #64748b;
    --dark-gray: #0f172a;
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition-slow: 1.5s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-smooth: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    --cursor-size: 10px;
    --cursor-follower-size: 40px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-color);
}

body {
    background-color: var(--bg-color);
    color: var(--ice-white);
    font-family: var(--font-body);
    overflow-x: hidden;
    cursor: none; /* Hide default cursor for custom one */
}

/* Loader */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: opacity 1s ease-out, visibility 1s;
}

.loader-logo {
    width: 120px;
    opacity: 0;
    animation: fadeInOut 2s infinite alternate;
}

@keyframes fadeInOut {
    0% { opacity: 0.3; transform: scale(0.95); }
    100% { opacity: 1; transform: scale(1.05); }
}

/* Custom Cursor */
.custom-cursor {
    width: var(--cursor-size);
    height: var(--cursor-size);
    background-color: #fff;
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    transition: transform 0.1s ease;
}

.custom-cursor-follower {
    width: var(--cursor-follower-size);
    height: var(--cursor-follower-size);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    background: rgba(255, 255, 255, 0.03);
}

/* Noise Overlay */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://grainy-gradients.vercel.app/noise.svg');
    opacity: 0.08;
    pointer-events: none;
    z-index: 5;
}

/* Background Blobs */
.bg-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.2;
    transition: transform 1s ease-out;
}

.blob-1 {
    width: 600px;
    height: 600px;
    background: var(--primary-blue);
    top: -100px;
    right: -100px;
}

.blob-2 {
    width: 500px;
    height: 500px;
    background: var(--primary-cyan);
    bottom: -100px;
    left: -100px;
}

/* Particle Background */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.4;
}

/* Main Layout */
.section {
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0 10%;
    overflow: hidden;
}

.content-wrapper {
    width: 100%;
    max-width: 1200px;
    z-index: 1;
}

.content-wrapper.centered {
    text-align: center;
}

.content-wrapper.split {
    display: flex;
    align-items: flex-start;
    gap: 100px;
}

/* Typography */
h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.03em;
}

.gradient-text-blue {
    background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-text-cyan {
    background: linear-gradient(135deg, #cbd5e1 0%, #64748b 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Cinematic Shadow & Glows */
.premium-glow {
    box-shadow: 0 0 50px rgba(14, 165, 233, 0.2);
}

.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
}

/* Section 1: Hero */
#hero .word {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.revealed #hero .word {
    opacity: 1;
    transform: translateY(0);
}

.hero-logo.wide-logo {
    width: 400px;
    margin-bottom: 40px;
    opacity: 0;
    transition: opacity 1.5s ease-out;
}

.cta-logo.square-logo {
    width: 80px;
    margin-bottom: 32px;
    opacity: 0;
}

.hero-title {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 24px;
    color: #fff;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--body-gray);
    max-width: 600px;
    margin: 0 auto 48px;
    opacity: 0;
    transform: translateY(20px);
}

/* Section 2 & 6: Statements */
.statement-line-1 {
    font-size: 32px;
    color: var(--body-gray);
    margin-bottom: 12px;
    opacity: 0;
    transform: translateY(30px);
}

.statement-line-2 {
    font-size: 40px;
    font-weight: 700;
    color: #fff;
    opacity: 0;
    transform: translateY(30px);
}

#statement-2 .statement-line-1.small {
    font-size: 44px;
}

#statement-2 .statement-line-2.large {
    font-size: 60px;
}

.underline-reveal {
    position: relative;
    display: inline-block;
}

.underline-reveal::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 4px;
    background: var(--primary-cyan);
    transition: width 1s ease-out 0.5s;
}

.underline-reveal.active::after {
    width: 100%;
}

/* Section 3: About */
.left-panel { flex: 1; }
.right-panel { flex: 1; }

.massive-headline {
    font-size: 52px; /* Reduced from 60px */
    line-height: 1;
}

.reveal-line {
    display: block;
    opacity: 0;
    transform: translateY(30px);
}

.body-text {
    font-size: 18px;
    line-height: 1.6;
    color: var(--body-gray);
    margin-bottom: 32px;
    opacity: 0;
    transform: translateY(30px);
}

.badge-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    opacity: 0;
    transform: translateY(30px);
}

.badge {
    padding: 8px 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 100px;
    font-size: 14px;
    color: #94a3b8;
    transition: all 0.3s ease;
}

.badge:hover {
    border-color: #fff;
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

/* Section 4: Task Anchor Reveal */
.product-name {
    font-size: 52px;
    margin-bottom: 8px;
    opacity: 0;
    transform: scale(0.95);
}

.product-tagline {
    font-size: 28px;
    color: var(--primary-blue);
    margin-bottom: 24px;
    opacity: 0;
    transform: translateY(20px);
}

.product-desc {
    font-size: 18px;
    color: var(--body-gray);
    max-width: 700px;
    margin: 0 auto 60px;
    opacity: 0;
    transform: translateY(20px);
}

.dashboard-container {
    perspective: 2000px;
    margin-top: 60px;
}

.dashboard-mockup {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.8), 0 0 40px rgba(255, 255, 255, 0.03);
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(40px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transform: translateY(150px) rotateX(15deg) scale(0.9);
    filter: brightness(0.7);
    transition: all 1.8s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
}

.dashboard-mockup.reveal {
    transform: translateY(0) rotateX(0) scale(1);
    filter: brightness(1);
    opacity: 1;
}

/* Section 5: Stats */
.stats-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.stat-item { flex: 1; }

.stat-number {
    font-family: var(--font-heading);
    font-size: 80px; /* Reduced from 96px */
    font-weight: 700;
    margin-bottom: 8px;
    opacity: 0;
    transform: translateY(20px);
    background: linear-gradient(180deg, #fff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 16px;
    color: var(--body-gray);
    opacity: 0;
    transform: translateY(10px);
}

.stat-divider {
    width: 1px;
    height: 120px;
    background: var(--primary-cyan);
    opacity: 0.3;
}

/* Section 7: CTA */
#cta { position: relative; }

.radial-glow {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 80%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 2s ease-out;
}

.cta-logo {
    width: 80px;
    margin-bottom: 32px;
    opacity: 0;
}

.cta-title {
    font-size: 42px;
    margin-bottom: 48px;
    opacity: 0;
    transform: translateY(30px);
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(20px);
}

.cta-footer-info {
    font-size: 14px;
    color: var(--body-gray);
    opacity: 0;
}

.cta-form-container {
    max-width: 500px;
    margin: 0 auto 40px;
    opacity: 0;
    transform: translateY(20px);
}

.waitlist-form {
    display: flex;
    gap: 12px;
    background: rgba(255, 255, 255, 0.05);
    padding: 8px;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: border-color 0.3s;
}

.waitlist-form:focus-within {
    border-color: var(--primary-blue);
}

.form-input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 0 24px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 16px;
    outline: none;
}

.form-message {
    margin-top: 16px;
    font-size: 14px;
    min-height: 20px;
}

.form-message.success { color: #10b981; }
.form-message.error { color: #ef4444; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    padding: 14px 32px;
    border-radius: 100px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.btn-primary {
    background: #fff;
    color: #000;
    border: none;
    height: 48px;
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    transform: scale(1.05);
    border-color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

/* Footer */
.footer {
    background: #000;
    padding: 80px 10% 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-gradient-line {
    height: 1px;
    width: 100%;
    background: linear-gradient(90deg, transparent, var(--primary-blue), var(--primary-cyan), transparent);
    margin-bottom: 60px;
}

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

.footer-logo.wide-footer { width: 180px; }

.footer-nav a {
    color: var(--body-gray);
    text-decoration: none;
    margin: 0 20px;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-nav a:hover { color: #fff; }

.social-links a {
    color: var(--body-gray);
    text-decoration: none;
    margin-left: 24px;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.3s;
}

.social-links a:hover { color: var(--primary-cyan); }

.footer-bottom {
    text-align: center;
    font-size: 12px;
    color: #475569;
}

/* Reveal Animations */
.reveal-section .word,
.reveal-section .hero-subtitle,
.reveal-section .btn,
.reveal-section .statement-line-1,
.reveal-section .statement-line-2,
.reveal-section .reveal-line,
.reveal-section .body-text,
.reveal-section .badge-container,
.reveal-section .product-name,
.reveal-section .product-tagline,
.reveal-section .product-desc,
.reveal-section .stat-number,
.reveal-section .stat-label,
.reveal-section .cta-title,
.reveal-section .cta-buttons,
.reveal-section .cta-footer-info {
    transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.revealed .word,
.revealed .hero-subtitle,
.revealed .btn,
.revealed .statement-line-1,
.revealed .statement-line-2,
.revealed .reveal-line,
.revealed .body-text,
.revealed .badge-container,
.revealed .product-name,
.revealed .product-tagline,
.revealed .product-desc,
.revealed .stat-number,
.revealed .stat-label,
.revealed .cta-title,
.revealed .cta-buttons,
.revealed .cta-footer-info {
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
}

/* Stagger reveals */
.revealed .word:nth-child(1) { transition-delay: 0.2s; }
.revealed .word:nth-child(2) { transition-delay: 0.4s; }
.revealed .hero-subtitle { transition-delay: 0.6s; }
.revealed .btn { transition-delay: 0.8s; }

/* Responsive Refinement */
@media (max-width: 1024px) {
    .section {
        padding: 0 5%;
    }
    .content-wrapper.split {
        flex-direction: column;
        gap: 60px;
        text-align: center;
    }
    .massive-headline {
        font-size: 48px;
    }
    .badge-container {
        justify-content: center;
    }
    .stats-grid {
        gap: 30px;
    }
}

/* Proper Mobile Refinement */
@media (max-width: 768px) {
    .custom-cursor, .custom-cursor-follower {
        display: none !important;
    }
    
    body {
        cursor: auto !important;
    }

    .section {
        padding: 40px 20px;
        height: auto !important;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .logo-container .hero-logo {
        width: 180px; /* Elegant smaller logo for mobile */
        margin-bottom: 24px;
    }

    .hero-title {
        font-size: 26px !important;
        line-height: 1.3;
        margin-top: 12px;
    }

    .hero-subtitle {
        font-size: 15px;
        margin-bottom: 32px;
    }

    .statement-line-1 { font-size: 20px !important; }
    .statement-line-2 { font-size: 24px !important; }

    .massive-headline {
        font-size: 24px !important;
        line-height: 1.4;
    }

    .product-name { 
        font-size: 32px !important; 
    }
    
    .stats-grid {
        flex-direction: column;
        gap: 32px;
        margin-top: 40px;
    }

    .stat-number {
        font-size: 42px !important;
    }

    .stat-divider { display: none; }

    .cta-title {
        font-size: 28px !important;
    }

    .waitlist-form {
        flex-direction: column;
        background: transparent;
        border: none;
        padding: 0;
    }

    .form-input {
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 100px;
        height: 52px;
        width: 100%;
        margin-bottom: 12px;
        text-align: center;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .footer-content {
        flex-direction: column;
        gap: 32px;
        text-align: center;
    }

    .footer-nav {
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .footer-logo.wide-footer {
        width: 140px;
        margin: 0 auto;
    }
}
