/* Landing Page Styles - Clean, Professional Design */

/* Import Premium Fonts */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* CSS Variables for Landing Page */
/* Using User's Provided Scheme but adapted for Dark Mode defaults */
:root {
    /* Base Colors - Neutral Black Background as requested */
    --background: #050505;
    /* Deep neutral black */
    --foreground: oklch(0.8717 0.0093 258.3382);

    /* Card & Popover */
    --card: oklch(0.2795 0.0368 260.0310);
    --card-foreground: oklch(0.8717 0.0093 258.3382);
    --popover: oklch(0.2795 0.0368 260.0310);
    --popover-foreground: oklch(0.8717 0.0093 258.3382);

    /* Primary / Accent - Green/Teal from scheme */
    --primary: oklch(0.7729 0.1535 163.2231);
    /* Bright Green */
    --primary-foreground: oklch(0.2520 0.0099 268.2851);

    --secondary: oklch(0.3351 0.0331 260.9120);
    --secondary-foreground: oklch(0.7118 0.0129 286.0665);

    --muted: oklch(0.2463 0.0275 259.9628);
    --muted-foreground: oklch(0.5510 0.0234 264.3637);

    --accent: oklch(0.7729 0.1535 163.2231);
    /* Using Primary Green as Accent for consistency */
    --accent-foreground: oklch(0.7118 0.0129 286.0665);

    --destructive: oklch(0.6368 0.2078 25.3313);
    --destructive-foreground: oklch(0.2077 0.0398 265.7549);

    --border: oklch(0.2 0 0);
    /* Darker border */
    --input: oklch(0.4461 0.0263 256.8018);
    --ring: oklch(0.7729 0.1535 163.2231);

    /* Grid / Circuit Vars */
    --circuit-primary: rgba(74, 222, 128, 0.1);
}

/* Reset */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Base */
html {
    scroll-behavior: smooth;
}

body.landing-body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    letter-spacing: -0.01em;
    overflow-x: hidden;
    position: relative;
}

/* Futuristic CPU Circuit Background */
body.landing-body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    opacity: 0.2;
    /* Subtle opacity without pulse */
    background-image:
        repeating-linear-gradient(90deg,
            transparent,
            transparent 79px,
            var(--circuit-primary) 79px,
            var(--circuit-primary) 81px),
        repeating-linear-gradient(0deg,
            transparent,
            transparent 79px,
            var(--circuit-primary) 79px,
            var(--circuit-primary) 81px);
    background-size: 80px 80px;
    pointer-events: none;
    transform: translate3d(0, 0, 0);
    /* Force HWA */
}

/* Removed expensive full-screen pulse animation */


/* Ensure content is above background */
.scroll-container,
.landing-nav,
.scroll-indicator,
.scroll-progress {
    position: relative;
    z-index: 1;
}

/* =================================================================
   MAIN CONTENT WRAPPER - For Sticky Footer Reveal Effect
   ================================================================= */
.main-content {
    position: relative;
    z-index: 10;
    /* Above the fixed footer */
    background: var(--background);
    /* margin-bottom will be set dynamically by JS based on footer height */
}

/* Main Container */
.scroll-container {
    padding-top: 80px;
    /* Space for fixed nav */
    min-height: 100vh;
}

/* Navigation Styles - Minimalist Voltpile Style */
.landing-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 24px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: transparent;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, background 0.4s ease;
    will-change: transform, padding, background;
}

@media (max-width: 768px) {
    .landing-nav {
        padding: 16px 20px;
    }

    .nav-links {
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .landing-nav {
        padding: 12px 16px;
    }

    .nav-links {
        gap: 8px;
    }

    .btn-contact {
        padding: 6px 6px 6px 20px !important;
        font-size: 0.9rem !important;
    }

    .btn-menu {
        padding: 0 16px !important;
        font-size: 0.9rem !important;
    }
}

.landing-nav.navbar-scrolled {
    background: rgba(5, 5, 5, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.landing-nav.navbar-hidden {
    transform: translateY(-100%);
}

/* Show navbar on hover when hidden */
.landing-nav.navbar-hidden:hover {
    transform: translateY(0);
}

/* Invisible hover trigger zone at top of screen */
.nav-hover-zone {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 20px;
    z-index: 99;
    pointer-events: auto;
}

.nav-hover-zone:hover+.landing-nav.navbar-hidden,
.nav-hover-zone:hover~.landing-nav.navbar-hidden {
    transform: translateY(0);
}

.landing-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--foreground);
    text-decoration: none;
    letter-spacing: -0.02em;
    transition: opacity 0.3s ease;
}

.landing-logo:hover {
    opacity: 0.7;
}

.nav-links {
    display: flex;
    gap: 16px;
}

.btn-menu {
    height: 52px;
    padding: 0 32px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 100px;
    background: transparent;
    color: var(--foreground);
    text-decoration: none;
    font-size: 1rem;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 200;
    /* Above sidebar */
}

.btn-menu:hover {
    border-color: var(--foreground);
    background: rgba(255, 255, 255, 0.05);
}

.hamburger {
    width: 20px;
    height: 6px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger .line {
    width: 100%;
    height: 1px;
    background-color: currentColor;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
    will-change: transform;
}

/* Hamburger to X Transformation */
.btn-menu.active .line-1 {
    transform: translateY(2.5px) rotate(45deg);
}

.btn-menu.active .line-2 {
    transform: translateY(-2.5px) rotate(-45deg);
}

.btn-contact {
    height: 52px;
    padding: 6px 6px 6px 32px;
    background: #e0f2e5;
    color: #000;
    border: none;
    border-radius: 100px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.btn-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-icon svg {
    width: 16px;
    height: 16px;
    stroke: #000;
}

/* =================================================================
   FIXED CANVAS (Persists across hero and showcase)
   ================================================================= */

.fixed-canvas-wrapper {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 50;
    /* Above marquee, below showcase content */
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.fixed-canvas-wrapper #hero-canvas {
    width: 90vw;
    /* Mobile-first: large on small screens */
    max-width: 800px;
    height: auto;
    filter: drop-shadow(0 20px 80px rgba(0, 0, 0, 0.4));
    will-change: transform, opacity;
}

/* Scale canvas down on larger screens */
@media (min-width: 481px) {
    .fixed-canvas-wrapper #hero-canvas {
        width: 80vw;
    }
}

@media (min-width: 769px) {
    .fixed-canvas-wrapper #hero-canvas {
        width: 65vw;
    }
}

@media (min-width: 1025px) {
    .fixed-canvas-wrapper #hero-canvas {
        width: 55vw;
    }
}

/* Hide canvas when past the showcase section */
.fixed-canvas-wrapper.hidden {
    opacity: 0;
    visibility: hidden;
}

/* =================================================================
   HERO INTRO SECTION (Dark with Marquee)
   ================================================================= */

.hero-intro {
    height: 100vh;
    background: #050505;
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-intro-content {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* =================================================================
   PRODUCT SHOWCASE SECTION (Light Sage - Voltpile Style)
   ================================================================= */

.product-showcase {
    height: 500vh;
    /* Extended scroll runway for animation + text reveals */
    background: #050505;
    /* Dark background behind the box */
    position: relative;
    z-index: 40;
    /* Above hero intro, allows canvas to show through */
    padding: 120px 40px 40px 40px;
    /* More top padding to clear navbar */
}

.showcase-sticky {
    position: sticky;
    top: 120px;
    /* Well below navbar */
    width: calc(100% - 80px);
    max-width: 1300px;
    height: calc(100vh - 180px);
    /* Smaller box */
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #d4e4d3;
    /* Sage green box */
    border-radius: 32px;
    /* Rounded corners */
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Showcase Header */
.showcase-header {
    position: absolute;
    top: 60px;
    left: 60px;
    z-index: 60;
    /* Above canvas */
    max-width: 500px;
}

.showcase-header h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 500;
    line-height: 1.1;
    color: #1a1a1a;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.showcase-subtext {
    position: absolute;
    top: 60px;
    right: 60px;
    max-width: 350px;
    font-size: 1rem;
    color: #444;
    line-height: 1.6;
    text-align: right;
    z-index: 60;
    /* Above canvas */
}

/* Canvas is now fixed - see .fixed-canvas-wrapper */

/* Showcase Features - Staggered Layout */
.showcase-feature {
    position: absolute;
    max-width: 320px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 60;
    /* Above the fixed canvas */
}

.showcase-feature.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Feature 1: Left Side */
.showcase-feature.feature-left {
    left: 60px;
    top: 50%;
    transform: translateY(-50%) translateY(30px);
}

.showcase-feature.feature-left.visible {
    transform: translateY(-50%) translateY(0);
}

/* Feature 2: Right Side */
.showcase-feature.feature-right {
    right: 60px;
    top: 50%;
    transform: translateY(-50%) translateY(30px);
}

.showcase-feature.feature-right.visible {
    transform: translateY(-50%) translateY(0);
}

/* Feature Content Styling */
.feature-number {
    width: 32px;
    height: 32px;
    border: 2px solid #4ADE80;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    color: #4ADE80;
    margin-bottom: 16px;
}

.showcase-feature h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.showcase-feature p {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.6;
    margin-bottom: 16px;
}

.feature-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: #1a1a1a;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.3s ease;
}

.feature-link:hover {
    color: #4ADE80;
}

/* Responsive for Product Showcase */
@media (max-width: 1024px) {
    .showcase-header {
        top: 40px;
        left: 40px;
    }

    .showcase-header h2 {
        font-size: 2rem;
    }

    .showcase-subtext {
        display: none;
    }

    .showcase-feature {
        max-width: 240px;
    }

    .showcase-feature.feature-left {
        left: 40px;
    }

    .showcase-feature.feature-right {
        right: 40px;
    }
}

@media (max-width: 768px) {
    .product-showcase {
        height: 400vh;
        padding: 80px 12px 12px 12px;
    }

    .showcase-sticky {
        top: 80px;
        width: calc(100% - 24px);
        height: calc(100vh - 100px);
        border-radius: 24px;
    }

    .showcase-header {
        top: 40px;
        left: 24px;
        right: 24px;
        max-width: none;
    }

    .showcase-header h2 {
        font-size: 1.75rem;
    }

    .showcase-feature {
        max-width: 160px;
    }

    .showcase-feature.feature-left {
        left: 20px;
        top: 30%;
    }

    .showcase-feature.feature-right {
        right: 20px;
        bottom: 10%;
    }

    .showcase-feature h3 {
        font-size: 1.1rem;
    }

    .showcase-feature p {
        font-size: 0.8rem;
    }
}

/* New Modern Headline */
.hero-headline-modern {
    position: absolute;
    top: 120px;
    left: 5vw;
    z-index: 10;
    pointer-events: none;
}

.hero-headline-modern h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3rem;
    font-weight: 500;
    line-height: 1.1;
    color: #fff;
    letter-spacing: -0.02em;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .hero-headline-modern h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .hero-headline-modern h1 {
        font-size: 1.8rem;
    }
}

/* Bottom Keywords */
.hero-bottom-keywords {
    position: absolute;
    bottom: 40px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 5vw;
    z-index: 10;
    pointer-events: none;
}

.hero-bottom-keywords span {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 768px) {
    .hero-headline-modern {
        top: 100px;
    }

    .hero-headline-modern h1 {
        font-size: 2rem;
    }

    .hero-bottom-keywords {
        display: none;
        /* Hide on mobile to avoid clutter */
    }
}

/* 1. Scrolling Text (Background Layer) */
.marquee-container {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    z-index: 1;
    overflow: hidden;
    white-space: nowrap;
    pointer-events: none;
    contain: paint layout;
    opacity: 0.8;
    overflow: hidden;
    /* Prevent horizontal scroll on mobile */
    /* Subdued background removed */
    transition: opacity 1s ease;
}

.marquee-content {
    display: inline-block;
    animation: marquee 40s linear infinite;
    /* Slightly slower for less visual 'strobe' */
    will-change: transform;
    text-rendering: optimizeSpeed;
    -webkit-font-smoothing: antialiased;
}

/* Pause marquee when menu is open to save CPU/GPU */
body.menu-active .marquee-content {
    animation-play-state: paused;
}

.marquee-content span {
    font-family: 'Space Grotesk',
        sans-serif;
    font-size: 12vw;
    /* Massive text */
    font-weight: 700;
    line-height: 1;
    color: var(--primary);
    /* Bright Green */
    margin-right: 0.2em;
    letter-spacing: -0.06em;
}

@keyframes marquee {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

/* 2. Central Visual (Middle Layer) */
.hero-center-visual {
    position: relative;
    z-index: 5;
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#hero-canvas {
    width: 65vw;
    max-width: 1100px;
    height: auto;
    filter: drop-shadow(0 20px 80px rgba(0, 0, 0, 0.4));
    will-change: transform, opacity;
}

/* Hero loader removed */

@keyframes subtleFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-30px);
    }
}

/* 3. Text & UI Overlays (Top Layer) */
/* Old feature reveals removed - now using .showcase-feature */

/* =================================================================
   CHEVRON REVEAL SECTION (Problem Statement - Voltpile Style)
   ================================================================= */
.section-reveal {
    position: relative;
    height: 300vh;
    background: #1a2e2e;
}

/* Sticky wrapper that stays in view */
.reveal-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

/* Background image revealed by chevrons - bottom layer */
.reveal-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0f766e 0%, #134e4a 50%, #1e3a3a 100%);
    background-image: url('/static/assets/pexels-riiyad-35550801.jpg');
    background-size: cover;
    background-position: center center;
    z-index: 1;
}

/* Horizontal bars container */
.chevrons-left {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 2;
    display: flex;
    flex-direction: column;
    pointer-events: none;
}

.chevrons-right {
    display: none;
}

/* Individual horizontal bar */
.chevrons-left .chevron {
    flex: 1;
    background: #1a2e2e;
    transform: translateX(0%);
    transform-origin: left center;
}

/* Content layer - top layer */
.reveal-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 5vw;
    z-index: 3;
    transition: opacity 0.3s ease;
}

/* Vertical label on right */
.reveal-label {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: rotate(90deg) translateX(-50%);
    transform-origin: center center;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

/* Main statement text */
.reveal-statement {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 500;
    line-height: 1.05;
    color: #fff;
    letter-spacing: -0.03em;
    max-width: 900px;
    margin: 0;
}

/* Bottom row */
.reveal-bottom {
    position: absolute;
    bottom: 60px;
    left: 5vw;
    right: 5vw;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

/* Pagination indicator */
.reveal-pagination {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.page-line {
    width: 40px;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
}

/* Description text */
.reveal-description {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    text-align: right;
    max-width: 350px;
}

@media (max-width: 768px) {
    .section-reveal {
        height: 250vh;
    }

    .reveal-statement {
        font-size: 2.5rem;
    }

    .reveal-label {
        right: 20px;
    }

    .reveal-bottom {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }

    .reveal-description {
        text-align: left;
    }
}

/* =================================================================
   BENTO GRID SECTION (Ref: Image 0)
   ================================================================= */
.section-bento {
    padding: 120px 40px;
    background: var(--background);
    position: relative;
    z-index: 60;
    /* Above fixed canvas so bin hides behind this */
}

.bento-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.bento-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 20px;
}

.bento-header h2 {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 500;
    letter-spacing: -0.04em;
    color: var(--foreground);
    text-transform: lowercase;
}

.bento-header p {
    font-size: 0.9rem;
    color: var(--muted-foreground);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(2, minmax(240px, auto));
    gap: 20px;
}

.bento-card {
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 2px;
    /* Sharp modern corners from ref */
    background: rgba(255, 255, 255, 0.02);
    overflow: hidden;
    position: relative;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-half-dark {
    grid-column: span 8;
    background: rgba(255, 255, 255, 0.02);
    color: var(--foreground);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.card-green {
    grid-column: span 4;
    background: var(--primary);
    color: #000;
}

.card-clean {
    grid-column: span 6;
    background: #ffffff;
    color: #000000;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.bento-card h3 {
    font-size: 2rem;
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.bento-card p {
    font-size: 1.1rem;
    opacity: 0.8;
}

.card-green h3 {
    font-size: 1.5rem;
}

.card-green p {
    font-size: 0.9rem;
    margin-bottom: 40px;
}

.bento-visual-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.tag {
    padding: 4px 12px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* =================================================================
   IMPACT STATS SECTION (Ref: Image 2)
   ================================================================= */
.section-impact {
    position: relative;
    padding: 160px 40px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    z-index: 60;
    /* Above fixed canvas */
}

.impact-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: url('/static/assets/forest_bg.png') center/cover no-repeat;
    filter: brightness(0.4);
    /* Darken slightly for readability */
}

.impact-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, #050505 0%, transparent 20%, transparent 80%, #050505 100%);
}

.impact-header {
    margin-bottom: 80px;
}

.impact-header h2 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    letter-spacing: -0.04em;
    max-width: 800px;
    line-height: 1;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.impact-card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 40px;
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* Removed hover effect as per user request */
}

.impact-card .stat-value {
    font-family: 'Space Grotesk';
    font-size: 6rem;
    font-weight: 500;
    color: var(--foreground);
    line-height: 1;
}

.impact-card .stat-label {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 12px;
}

.impact-card p {
    font-size: 0.9rem;
    color: var(--muted-foreground);
    line-height: 1.5;
}

/* =================================================================
   MASSIVE BRAND SECTION (Ref: Image 1) - Sticky Footer Reveal
   ================================================================= */
.section-massive {
    padding: 100px 40px;
    background: var(--background);
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    /* Sticky footer reveal effect */
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1;
    /* Below main content */
}

.massive-title {
    font-family: 'Space Grotesk';
    font-size: 28vw;
    font-weight: 700;
    color: var(--primary);
    line-height: 0.8;
    letter-spacing: -0.08em;
    margin: 40px 0;
}

.cta-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 80px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.cta-footer h3 a {
    transition: color 0.3s ease, padding-left 0.3s ease;
    display: inline-block;
}

.cta-footer h3 a:hover {
    color: var(--foreground);
    padding-left: 20px;
}

@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .card-half-dark,
    .card-green,
    .card-clean,
    .card-visual,
    .card-wide,
    .card-tall {
        grid-column: span 12;
    }

    .impact-grid {
        grid-template-columns: 1fr 1fr;
    }

    .card-wide {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .impact-grid {
        grid-template-columns: 1fr;
    }

    .impact-card .stat-value {
        font-size: 4rem;
    }
}

/* =================================================================
   Sidebar Menu Overlay
   ================================================================= */
.side-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #050505;
    /* Solid background for max performance */
    z-index: 150;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    will-change: opacity;
    transform: translate3d(0, 0, 0);
}

.side-nav.active {
    opacity: 1;
    visibility: visible;
}

.side-nav-content {
    width: 100%;
    max-width: 1400px;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
}

.side-nav-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.side-nav-links a {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: 700;
    color: var(--foreground);
    text-decoration: none;
    line-height: 1;
    letter-spacing: -0.04em;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.3s ease;
    transform: translate3d(0, 20px, 0);
    opacity: 0;
    will-change: transform, opacity;
    display: block;
}

.side-nav.active .side-nav-links a {
    transform: translate3d(0, 0, 0);
    opacity: 1;
}

/* Snappier delays for entrance */
.side-nav.active .side-nav-links a:nth-child(1) {
    transition-delay: 0.05s;
}

.side-nav.active .side-nav-links a:nth-child(2) {
    transition-delay: 0.1s;
}

.side-nav.active .side-nav-links a:nth-child(3) {
    transition-delay: 0.15s;
}

.side-nav.active .side-nav-links a:nth-child(4) {
    transition-delay: 0.2s;
}

.side-nav.active .side-nav-links a:nth-child(5) {
    transition-delay: 0.25s;
}

/* Fixed Hover: High specificity to ensure it overrides entrance transform */
.side-nav.active .side-nav-links a:hover {
    color: var(--primary);
    transform: translate3d(20px, 0, 0);
    transition: transform 0.2s cubic-bezier(0.33, 1, 0.68, 1), color 0.15s ease;
}

.side-nav-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 40px;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.6s ease 0.7s;
}

.side-nav.active .side-nav-footer {
    transform: translateY(0);
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 24px;
}

.social-links a {
    color: var(--muted-foreground);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.3s;
}

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

.side-nav-footer p {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .marquee-content span {
        font-size: 8rem;
    }

    .hero-center-visual {
        width: 80vw;
        height: 80vw;
    }

    .hero-features {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        text-align: center;
    }

    .side-nav-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
}

/* Features Section */
.section-features {
    padding: 120px 0;
    background: linear-gradient(to bottom, var(--background), #0a0a0a);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

.feature-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 24px;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
}

.feature-image {
    width: 100%;
    height: 240px;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.feature-image img {
    height: 80%;
    width: auto;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.feature-card:hover .feature-image img {
    transform: scale(1.1);
}

.feature-content {
    padding: 32px;
}

.feature-content h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 12px;
}

.feature-content p {
    color: var(--muted-foreground);
    line-height: 1.6;
}

/* Stats Section */
.section-stats {
    padding: 100px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.02);
}

.stats-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-item h4 {
    font-family: 'Space Grotesk';
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 16px;
}

.stat-item p {
    color: var(--muted-foreground);
    font-size: 1.1rem;
}

/* Footer */
.landing-footer {
    padding: 60px 5%;
    background: #000;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--muted-foreground);
}

@media (max-width: 768px) {
    .hero-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 40px;
        align-content: center;
    }

    .hero-text {
        margin-bottom: 60px;
    }

    .hero-text h1 {
        font-size: 3rem;
    }

    .stats-wrapper {
        grid-template-columns: 1fr;
    }
}


/* Performance-optimized Scroll Animations */
.feature-card,
.stat-item,
.pipeline-step,
.hero-text,
.hero-visual,
.bento-card,
.impact-card {
    opacity: 0;
    transform: translate3d(0, 20px, 0);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: opacity, transform;
}

.feature-card.visible,
.stat-item.visible,
.pipeline-step.visible,
.hero-text.visible,
.hero-visual.visible,
.bento-card.visible,
.impact-card.visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

/* Massive title in fixed footer - always visible */
.massive-title {
    opacity: 1;
    transform: none;
}

/* Staggered delays for feature cards */
.feature-card:nth-child(1) {
    transition-delay: 0.1s;
}

.feature-card:nth-child(2) {
    transition-delay: 0.2s;
}

.feature-card:nth-child(3) {
    transition-delay: 0.3s;
}

/* ============================================
   STATS SECTION
   ============================================ */

.section-stats {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.stats-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 6%;
    position: relative;
}

/* Background Element */
.stats-bg-element {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(74, 222, 128, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.stats-header {
    margin-bottom: 50px;
}

.stats-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.25rem, 5.5vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.1;
    color: var(--text-primary);
}

/* Stats Showcase */
.stats-showcase {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.stat-item {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 60px;
    align-items: center;
    padding: 60px 0;
}

.stat-item.stat-hero {
    padding-top: 0;
}

/* Stat Value */
.stat-value-wrapper {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.stat-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(5rem, 10vw, 8rem);
    font-weight: 700;
    color: var(--accent);
    letter-spacing: -0.04em;
    line-height: 1;
}

.stat-unit {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: var(--accent);
    opacity: 0.7;
}

/* Stat Info */
.stat-info h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.stat-info p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 400px;
}

/* Divider */
.stat-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

/* ============================================
   FINAL CTA SECTION
   ============================================ */

.section-final-cta {
    padding: 80px 0 100px;
    position: relative;
    overflow: hidden;
}

.cta-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 6%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* CTA Content */
.cta-content {
    position: relative;
    z-index: 2;
}

.cta-headline {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.1;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.cta-subtext {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

/* CTA Button */
.cta-btn-final {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    padding: 20px 20px 20px 40px;
    background: var(--accent);
    color: var(--landing-bg);
    font-size: 1.125rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 100px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-btn-final:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 50px rgba(74, 222, 128, 0.3);
}

.btn-arrow {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.cta-btn-final:hover .btn-arrow {
    transform: translateX(6px);
}

.btn-arrow svg {
    width: 24px;
    height: 24px;
}

/* CTA Visual */
.cta-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.visual-rings {
    position: relative;
    width: 400px;
    height: 400px;
}

.ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid rgba(74, 222, 128, 0.2);
}

.ring-1 {
    width: 100%;
    height: 100%;
    animation: ringPulse 4s ease-in-out infinite;
}

.ring-2 {
    width: 70%;
    height: 70%;
    animation: ringPulse 4s ease-in-out infinite 0.5s;
}

.ring-3 {
    width: 40%;
    height: 40%;
    animation: ringPulse 4s ease-in-out infinite 1s;
}

@keyframes ringPulse {

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

    50% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1.05);
    }
}

.ring-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--accent) 0%, #22c55e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 60px rgba(74, 222, 128, 0.4);
}

.ring-center span {
    font-size: 3rem;
    color: var(--landing-bg);
}

/* ============================================
   FOOTER
   ============================================ */

.landing-footer {
    background: rgba(17, 17, 17, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: var(--space-xl) 0;
    text-align: center;
    position: relative;
    z-index: 10;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.footer-brand {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.footer-brand span {
    color: var(--accent);
}

.footer-content p {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1200px) {
    .pipeline-step {
        grid-template-columns: 100px 1fr;
        gap: 30px;
    }

    .step-number-large {
        font-size: 4rem;
    }

    .flow-connector {
        margin-left: 130px;
    }

    .flow-connector.flip {
        margin-left: calc(10% + 130px);
    }

    .stat-item {
        grid-template-columns: 200px 1fr;
        gap: 40px;
    }
}

@media (max-width: 1024px) {
    .why-grid {
        grid-template-columns: 1fr 1fr;
    }

    .why-card-large {
        grid-column: span 2;
        grid-row: span 1;
    }

    .cta-wrapper {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .cta-visual {
        order: -1;
    }

    .visual-rings {
        width: 300px;
        height: 300px;
    }
}

@media (max-width: 768px) {

    .section-pipeline,
    .section-why,
    .section-stats,
    .section-final-cta {
        padding: 100px 0;
    }

    .pipeline-wrapper,
    .why-wrapper,
    .stats-wrapper,
    .cta-wrapper {
        padding: 0 5%;
    }

    .section-bg-text {
        display: none;
    }

    .giant-title,
    .massive-heading {
        font-size: clamp(2.5rem, 10vw, 4rem);
    }

    .pipeline-step {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 40px 0;
    }

    .pipeline-step.step-2,
    .pipeline-step.step-4 {
        margin-left: 0;
    }

    .step-number-large {
        font-size: 3rem;
        position: absolute;
        top: 0;
        right: 0;
    }

    .step-content {
        padding-left: 24px;
    }

    .flow-connector {
        display: none;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .why-card-large,
    .why-card-medium {
        grid-column: span 1;
    }

    .why-card-inner {
        padding: 32px;
    }

    .stat-item {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }

    .stat-value-wrapper {
        justify-content: center;
    }

    .stat-info {
        text-align: center;
    }

    .stat-info p {
        max-width: none;
    }

    .cta-headline {
        text-align: center;
    }

    .cta-subtext {
        text-align: center;
    }

    .cta-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .why-card-inner {
        padding: 24px;
    }

    .why-number {
        font-size: 2.5rem;
    }

    .stat-value {
        font-size: 4rem;
    }

    .stat-unit {
        font-size: 1.5rem;
    }

    .cta-btn-final {
        padding: 16px 16px 16px 32px;
        font-size: 1rem;
    }

    .btn-arrow {
        width: 40px;
        height: 40px;
    }

    .visual-rings {
        width: 250px;
        height: 250px;
    }

    .ring-center {
        width: 80px;
        height: 80px;
    }

    .ring-center span {
        font-size: 2.5rem;
    }
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

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

.animate-fade-in {
    animation: fadeInUp 0.8s ease forwards;
}

/* Intersection Observer animations */
.section-pipeline,
.section-why,
.section-stats,
.section-final-cta {
    opacity: 0;
    transform: translateY(40px);
    animation: sectionFadeIn 1s ease forwards;
}

.section-pipeline {
    animation-delay: 0.1s;
}

.section-why {
    animation-delay: 0.1s;
}

.section-stats {
    animation-delay: 0.1s;
}

.section-final-cta {
    animation-delay: 0.1s;
}

@keyframes sectionFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =================================================================
   COMPREHENSIVE RESPONSIVE FIXES
   Mobile-first approach for key elements
   ================================================================= */

/* ---- Typography Fluid Scaling ---- */
.hero-headline-modern h1 {
    font-size: clamp(1.6rem, 6vw, 3rem);
}

.showcase-header h2 {
    font-size: clamp(1.5rem, 5vw, 3rem);
}

.reveal-statement {
    font-size: clamp(1.8rem, 8vw, 6rem);
}

.bento-header h2 {
    font-size: clamp(1.75rem, 6vw, 4rem);
}

.impact-header h2 {
    font-size: clamp(2rem, 7vw, 5rem);
}

/* ---- Touch Target Improvements ---- */
@media (max-width: 480px) {
    .btn-menu {
        min-height: 48px;
        padding: 0 20px !important;
    }

    .btn-contact {
        min-height: 48px;
        padding: 8px 8px 8px 20px !important;
    }

    .btn-icon {
        width: 36px;
        height: 36px;
    }

    .landing-logo {
        font-size: 1.1rem;
    }
}

@media (max-width: 360px) {
    .btn-contact {
        padding: 6px 6px 6px 14px !important;
        font-size: 0.8rem !important;
        gap: 10px;
    }

    .btn-menu {
        padding: 0 14px !important;
        font-size: 0.8rem !important;
    }

    .btn-icon {
        width: 32px;
        height: 32px;
    }

    .landing-logo {
        font-size: 1rem;
    }
}

/* ---- Section Padding Mobile ---- */
@media (max-width: 480px) {
    .section-bento {
        padding: 60px 16px;
    }

    .section-impact {
        padding: 80px 16px;
    }

    .product-showcase {
        padding: 60px 8px 8px 8px;
    }

    .showcase-sticky {
        width: calc(100% - 16px);
        border-radius: 20px;
        top: 70px;
        height: calc(100vh - 90px);
    }
}

/* ---- Bento Cards Mobile ---- */
@media (max-width: 768px) {
    .bento-card h3 {
        font-size: 1.5rem;
    }

    .bento-card p {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .bento-card {
        padding: 24px;
    }

    .bento-card h3 {
        font-size: 1.25rem;
        margin-bottom: 12px;
    }

    .bento-card p {
        font-size: 0.875rem;
    }

    .card-green h3 {
        font-size: 1.2rem;
    }
}

/* ---- Impact Cards Mobile ---- */
@media (max-width: 768px) {
    .impact-card {
        height: auto;
        min-height: 300px;
        padding: 32px;
    }

    .impact-card .stat-value {
        font-size: 4.5rem;
    }

    .impact-card .stat-label {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .impact-card {
        min-height: 260px;
        padding: 24px;
    }

    .impact-card .stat-value {
        font-size: 3.5rem;
    }

    .impact-card .stat-label {
        font-size: 1.15rem;
    }

    .impact-card p {
        font-size: 0.85rem;
    }
}

/* ---- Footer Reveal Mobile ---- */
@media (max-width: 768px) {
    .section-massive {
        padding: 60px 20px;
    }

    .massive-title {
        font-size: 20vw;
        margin: 24px 0;
    }

    .cta-footer {
        flex-direction: column;
        gap: 24px;
        text-align: center;
        padding: 40px 0;
    }

    .cta-footer h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .section-massive {
        padding: 40px 16px;
    }

    .massive-title {
        font-size: 16vw;
        margin: 16px 0;
    }

    .cta-footer {
        padding: 24px 0;
    }
}

/* ---- Showcase Features Mobile ---- */
@media (max-width: 768px) {
    .showcase-feature {
        max-width: 180px;
    }

    .showcase-feature h3 {
        font-size: 1.15rem;
    }

    .showcase-feature p {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    .showcase-header {
        top: 30px;
        left: 24px;
    }

    .showcase-feature.feature-left {
        left: 24px;
        top: 28%;
    }

    .showcase-feature.feature-right {
        right: 24px;
        bottom: 12%;
    }
}

@media (max-width: 480px) {
    .showcase-feature {
        max-width: 140px;
    }

    .showcase-feature h3 {
        font-size: 1rem;
    }

    .showcase-feature p {
        font-size: 0.75rem;
    }

    .feature-number {
        width: 26px;
        height: 26px;
        font-size: 0.75rem;
        margin-bottom: 10px;
    }

    .showcase-header {
        top: 20px;
        left: 16px;
    }

    .showcase-feature.feature-left {
        left: 16px;
    }

    .showcase-feature.feature-right {
        right: 16px;
    }

    .feature-link {
        font-size: 0.75rem;
    }
}

/* ---- Marquee Mobile ---- */
@media (max-width: 768px) {
    .marquee-content span {
        font-size: 15vw;
    }
}

@media (max-width: 480px) {
    .marquee-content span {
        font-size: 18vw;
    }
}

/* ---- Reveal Section Mobile ---- */
@media (max-width: 480px) {
    .reveal-statement {
        font-size: 1.6rem;
    }

    .reveal-bottom {
        bottom: 40px;
        left: 4vw;
        right: 4vw;
    }

    .reveal-description {
        font-size: 0.75rem;
        max-width: 280px;
    }

    .reveal-label {
        right: 16px;
        font-size: 0.6rem;
    }
}

/* ---- Side Nav Mobile ---- */
@media (max-width: 480px) {
    .side-nav-content {
        padding: 0 20px;
    }

    .side-nav-links a {
        font-size: clamp(2.5rem, 12vw, 4rem);
    }

    .side-nav-footer {
        padding-top: 24px;
    }

    .side-nav-footer p {
        font-size: 0.65rem;
    }
}

/* ---- Extra Small Screens (320px) ---- */
@media (max-width: 360px) {
    .hero-headline-modern h1 {
        font-size: 1.4rem;
    }

    .hero-headline-modern {
        left: 3vw;
        top: 90px;
    }

    .showcase-header h2 {
        font-size: 1.3rem;
    }

    .bento-header h2 {
        font-size: 1.5rem;
    }

    .bento-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .impact-header h2 {
        font-size: 1.75rem;
    }

    .reveal-statement {
        font-size: 1.4rem;
    }
}

/* =================================================================
   PREMIUM PRE-LOADER STYLES - CIRCULAR
   ================================================================= */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #050505;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity;
}

.preloader.fade-out {
    opacity: 0;
}

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.preloader-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--foreground);
    letter-spacing: -0.04em;
    opacity: 0.9;
}

.preloader-visual {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.progress-ring {
    transform: rotate(-90deg);
}

.progress-ring__circle {
    transition: stroke-dashoffset 0.35s;
    transform-origin: 50% 50%;
}

.preloader-status {
    position: absolute;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    text-shadow: 0 0 20px rgba(74, 222, 128, 0.3);
}

.preloader-text {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--muted-foreground);
    opacity: 0.5;
    font-weight: 500;
}