/* ==================== */
/* CSS Variables & Reset */
/* ==================== */

:root {
    /* Colors */
    --color-bg: #0a0a0a;
    --color-bg-secondary: #111111;
    --color-text: #e8e8e8;
    --color-text-muted: #a0a0a0;
    --color-accent: #00ff88;
    --color-accent-secondary: #00d4ff;
    --color-border: rgba(255, 255, 255, 0.1);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #00ff88 0%, #00d4ff 100%);
    --gradient-secondary: linear-gradient(135deg, #ff6b9d 0%, #c06bff 100%);

    /* Spacing - Significantly Increased */
    --spacing-xs: 1rem;
    --spacing-sm: 2rem;
    --spacing-md: 4rem;
    --spacing-lg: 8rem;
    --spacing-xl: 12rem;
    --spacing-2xl: 20rem;

    /* Typography - Scaled Up */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-size-base: 1.5rem;
    /* Increased base size */
    --font-size-lg: 2.5rem;
    --font-size-xl: 4rem;
    --font-size-2xl: 6rem;
    --font-size-3xl: 8rem;
    --line-height-tight: 1.1;
    --line-height-normal: 1.5;

    /* Effects */
    --blur-amount: 100px;
    --transition-speed: 0.3s;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: var(--line-height-normal);
    color: var(--color-text);
    background-color: var(--color-bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ==================== */
/* Grain Overlay Effect */
/* ==================== */

.grain-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='4' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* ==================== */
/* Navigation */
/* ==================== */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    /* Cleaner look */
    padding-top: 2rem;
}

.nav-content {
    max-width: 1800px;
    /* Wider container */
    margin: 0 auto;
    padding: 1.5rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 600;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ==================== */
/* Hero Section */
/* ==================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: var(--spacing-lg) var(--spacing-md);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.1) 0%, transparent 70%);
    filter: blur(var(--blur-amount));
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.4;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 0.7;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 1400px;
}

.hero-title {
    font-size: clamp(4rem, 12vw, 9rem);
    /* Massive hero text */
    font-weight: 700;
    /* Bolder */
    line-height: 1;
    letter-spacing: -0.04em;
    margin-bottom: var(--spacing-md);
}

.gradient-text {
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.gradient-text-alt {
    font-weight: 800;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

/* ==================== */
/* Story Section */
/* ==================== */

.story {
    padding: var(--spacing-xl) var(--spacing-md);
    position: relative;
}

.story-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    /* Center everything */
}

.story-block {
    margin-bottom: var(--spacing-2xl);
    /* Huge spacing between blocks */
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease, transform 1s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 40vh;
    /* Each block takes up significant vertical space */
}

.story-block.visible {
    opacity: 1;
    transform: translateY(0);
}

.story-text {
    font-size: clamp(2rem, 5vw, 3.5rem);
    /* Much larger default text */
    line-height: 1.3;
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-sm);
    max-width: 900px;
}

.story-text.small {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    opacity: 0.6;
    margin-bottom: var(--spacing-xs);
    font-weight: 300;
}

.story-text.large {
    font-size: clamp(3rem, 8vw, 6rem);
    /* Massive impact text */
    font-weight: 600;
    line-height: 1.1;
    color: var(--color-text);
    letter-spacing: -0.03em;
}

.story-heading {
    font-size: clamp(5rem, 15vw, 12rem);
    /* Gigantic brand name */
    font-weight: 800;
    line-height: 1;
    margin-bottom: var(--spacing-sm);
    letter-spacing: -0.05em;
}

/* ==================== */
/* CTA Section */
/* ==================== */

.cta-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-xl) var(--spacing-md);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
    filter: blur(var(--blur-amount));
}

.cta-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: clamp(3rem, 10vw, 7rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    background: linear-gradient(to right, #fff, #888);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ==================== */
/* Animations */
/* ==================== */

.fade-in {
    animation: fadeIn 1.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(50px);
        filter: blur(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

.fade-in-scroll {
    opacity: 0;
    transform: translateY(50px);
    filter: blur(10px);
    transition: opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1),
        transform 1s cubic-bezier(0.2, 0.8, 0.2, 1),
        filter 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

/* ==================== */
/* Responsive Design */
/* ==================== */

@media (max-width: 768px) {
    :root {
        --spacing-md: 2rem;
        --spacing-lg: 4rem;
        --spacing-xl: 6rem;
        --spacing-2xl: 8rem;
    }

    .nav-content {
        padding: 1.5rem 2rem;
    }

    .hero-title {
        font-size: 15vw;
        /* Ensure it fits on mobile but stays huge */
    }

    .story-block {
        min-height: 30vh;
        margin-bottom: var(--spacing-xl);
    }

    .story-heading {
        font-size: 20vw;
    }
}