@font-face {
    font-family: 'Google Sans Flex';
    src: url('../fonts/GoogleSansFlex.ttf') format('truetype');
}

:root {
    --bg-color: #000000;
    --text-primary: #ffffff;
    --brand-purple: #8652ff; /* Adjusted to match image */
    --brand-purple-glow: #6a0dad;
    --glass-bg: rgba(255, 255, 255, 0.08); /* Lighter glass for nav */
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-border-hover: rgba(255, 255, 255, 0.2);
    --nav-inner-bg: rgba(255, 255, 255, 0.05);
    --text-secondary: rgba(255, 255, 255, 0.6);
    --transition-medium: 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    --font-logo: 'Dela Gothic One', cursive;
    --font-primary: 'Google Sans Flex', 'Plus Jakarta Sans', sans-serif;
    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'Google Sans Flex', 'Plus Jakarta Sans', sans-serif;
}

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

html, body {
    background-color: var(--bg-color); /* Fix iOS overscroll white rectangles */
}

body {
    color: var(--text-primary);
    font-family: var(--font-body);
    overflow-x: hidden;
    min-height: 100vh; /* Fix iOS bottom gap */
    display: flex;
    flex-direction: column;
    position: relative;
}

.home-page::after {
    content: "";
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 5%, rgba(255, 255, 255, 0.08), transparent 45%),
                radial-gradient(circle at 20% 80%, rgba(134, 82, 255, 0.18), transparent 50%);
    pointer-events: none;
    z-index: 1;
}

/* 1. Background Gradient (Purple Haze on Left) */
.ambient-glow {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 70vw;
    height: 120vh;
    background: radial-gradient(
        circle at center, 
        var(--brand-purple) 0%, 
        rgba(140, 82, 255, 0.4) 30%,
        transparent 70%
    );
    filter: blur(80px); /* Heavy blur for smooth gradient */
    opacity: 0.8;
    pointer-events: none;
    z-index: 0;
}

/* 2. Navbar (Pill Shape) */
nav {
    position: fixed;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1000px;
    padding: 0.75rem 1.5rem;
    background: transparent; 
    border: none;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    z-index: 1000;
}

nav > *:first-child {
    justify-self: start;
}

nav > *:last-child {
    justify-self: end;
}

/* Left: Logo */
.brand {
    font-family: var(--font-logo);
    font-size: 1.5rem; 
    color: #fff;
    letter-spacing: -0.02em;
    text-decoration: none;
    
    text-shadow: none;
    position: relative;
    z-index: 1;
    font-weight: 400;
    
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

/* Center: Nav Menu (Tabs Style - Robust & Fixed) */
.tabs {
    display: flex;
    align-items: center;
    position: relative;
    
    /* "Opaco" Style -> Heavy Frosted Glass (Smerigliato) */
    background-color: rgba(20, 20, 20, 0.6) !important; 
    backdrop-filter: blur(30px) !important;
    -webkit-backdrop-filter: blur(30px) !important;
    
    height: 58px;              
    padding: 0.5rem;           
    box-sizing: border-box;    
    
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    z-index: 10;
}

.tabs * {
    z-index: 2;
}

.tabs input[type="radio"] {
    display: none;
}

.tab {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px; 
    width: 90px; /* Fixed width for perfect alignment */
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    border-radius: 99px;
    cursor: pointer;
    transition: color 0.15s ease-in;
    user-select: none;
}

.tabs input[type="radio"]:checked + label {
    color: #fff;
}

.glider {
    position: absolute;
    display: flex;
    height: 40px;
    width: 90px; /* Exact match to tab width */
    background-color: var(--brand-purple);
    z-index: 1;
    border-radius: 99px;
    transition: 0.25s cubic-bezier(0.25, 1, 0.5, 1);
    
    /* Align with the first item (considering parent padding) */
    top: 0.5rem;   
    left: 0.5rem;  
}

/* Glider Translations (100% of own width) */
.tabs input[id="radio-1"]:checked ~ .glider { transform: translateX(0); }
.tabs input[id="radio-2"]:checked ~ .glider { transform: translateX(100%); }
.tabs input[id="radio-3"]:checked ~ .glider { transform: translateX(200%); }
.tabs input[id="radio-4"]:checked ~ .glider { transform: translateX(300%); }
.tabs input[id="radio-5"]:checked ~ .glider { transform: translateX(400%); }

/* Right: Join Search Button */
.join-btn {
    background: rgba(255, 255, 255, 0.08); /* Slightly visible bg */
    color: #fff;
    padding: 0.6rem 1.2rem;
    border-radius: 9999px;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    display: inline-block;
    border: 1px solid transparent; /* Placeholder for border if needed */
    transition: background 0.3s;
}

.join-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* 3. Hero Content */
/* =========================================
   GLOBAL SECTION PADDING
   ========================================= */
.section-hero,
.section-ecosystem,
.section-features,
.section-values,
.section-cta {
    padding: 8rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

/* =========================================
   HERO SECTION
   ========================================= */
.section-hero {
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 10rem; /* Give nav room to breathe */
}

.kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--brand-purple);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--brand-purple-glow);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(134, 82, 255, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(134, 82, 255, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(134, 82, 255, 0); }
}

.hero-title {
    font-family: var(--font-primary);
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 700;
    line-height: 1.1;
    max-width: 900px;
    margin-bottom: 2rem;
    color: #fff;
    letter-spacing: -0.02em;
}

.hero-title .line {
    display: block;
    white-space: nowrap;
}

/* =========================================
   CINEMATIC SPLASH SEQUENCE
   ========================================= */
body.splash-active {
    overflow: hidden; /* Prevent scrolling during splash */
}

/* Ensure hero is visible during splash */
body.splash-active .hero-content.reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
}

/* Hide everything except hero title during splash */
body.splash-active nav,
body.splash-active .kicker,
body.splash-active #preloader,
body.splash-active .hero-subtitle,
body.splash-active .hero-cta-group,
body.splash-active .hero-strip,
body.splash-active .features-section,
body.splash-active .stats-section,
body.splash-active .bento-container,
body.splash-active .cta-section,
body.splash-active .hero-mockup-container,
body.splash-active .move-features,
body.splash-active .bento-grid,
body.splash-active .product-hunt-embed,
body.splash-active footer {
    opacity: 0;
    pointer-events: none;
}

/* When splash finishes, fade the rest of the site in */
body:not(.loading) .kicker,
body:not(.loading) .hero-subtitle,
body:not(.loading) .hero-cta-group,
body:not(.loading) .hero-strip,
body:not(.loading) .features-section,
body:not(.loading) .stats-section,
body:not(.loading) .bento-container,
body:not(.loading) .cta-section,
body:not(.loading) .hero-mockup-container,
body:not(.loading) .move-features,
body:not(.loading) .bento-grid,
body:not(.loading) .product-hunt-embed,
body:not(.loading) footer {
    animation: fade-in-site 1.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

body:not(.loading) nav {
    animation: fade-in-nav 1.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes fade-in-site {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fade-in-nav {
    from { opacity: 0; transform: translate(-50%, -20px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}

.hero-title {
    font-family: var(--font-primary);
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 400; /* reset */
    line-height: 1.1;
    max-width: 900px;
    margin-bottom: 2rem;
    color: #fff;
    letter-spacing: -0.02em;
}

.hero-title .giant-word {
    display: inline-block;
    will-change: font-variation-settings, transform;
    animation: giant-ecosystem 6s cubic-bezier(0.77, 0, 0.175, 1) forwards;
    transform-origin: center center;
}

.hero-title .fade-word {
    display: inline-block;
}

/* ---- MOOD SYSTEM: Word base state ---- */
.hero-title .word {
    display: inline-block;
    will-change: font-variation-settings, filter, transform, opacity;
    opacity: 0; /* Hidden until splash-finished triggers animations */
}

/* =====================================================
   MOOD: WAVE — 3 sub-variants, randomly assigned per word
   Words slam in from below in a rolling staggered wave.
   Animations gated on body:not(.loading) so they start
   right when the preloader disappears, not 5s+ after.
   ===================================================== */
body:not(.loading) .hero-title[data-mood="wave"] .word {
    animation-name: var(--anim-name, wave-a);
    animation-duration: var(--dur, 1.1s);
    animation-timing-function: cubic-bezier(0.34, 1.56, 0.64, 1);
    animation-fill-mode: forwards;
    animation-delay: var(--delay, 0.3s);
    opacity: 0;
}

/* wave-a: from below, ultra-bold condensed that opens */
@keyframes wave-a {
    0%   { opacity:0; transform:translateY(55px) skewX(-8deg) scaleY(0.8); font-variation-settings:'wght' 900,'wdth' 25,'opsz' 8,'GRAD' 150,'slnt' -12,'ROND' 0; filter:blur(5px); }
    55%  { opacity:1; transform:translateY(-10px) skewX(3deg) scaleY(1.05); font-variation-settings:'wght' 800,'wdth' 80,'opsz' 48,'GRAD' 20,'slnt' -2,'ROND' 0; filter:blur(0px); }
    78%  { transform:translateY(4px) skewX(-1deg) scaleY(0.98); font-variation-settings:'wght' 650,'wdth' 95,'opsz' 48,'GRAD' 0,'slnt' 0,'ROND' 0; }
    100% { opacity:1; transform:translateY(0) skewX(0) scaleY(1); font-variation-settings:'wght' 700,'wdth' 100,'opsz' 48,'GRAD' 0,'slnt' 0,'ROND' 0; filter:blur(0px); }
}

/* wave-b: from right-below with rotation, wide thin → normal */
@keyframes wave-b {
    0%   { opacity:0; transform:translateX(30px) translateY(45px) rotate(-4deg) scale(0.85); font-variation-settings:'wght' 200,'wdth' 125,'opsz' 144,'GRAD' -150,'slnt' -8,'ROND' 100; filter:blur(6px); }
    50%  { opacity:1; transform:translateX(-5px) translateY(-8px) rotate(1.5deg) scale(1.04); font-variation-settings:'wght' 700,'wdth' 75,'opsz' 24,'GRAD' 50,'slnt' -1,'ROND' 10; filter:blur(0px); }
    78%  { transform:translateX(2px) translateY(3px) rotate(-0.5deg) scale(0.98); font-variation-settings:'wght' 680,'wdth' 92,'opsz' 48,'GRAD' 0,'slnt' 0,'ROND' 0; }
    100% { opacity:1; transform:translateX(0) translateY(0) rotate(0deg) scale(1); font-variation-settings:'wght' 700,'wdth' 100,'opsz' 48,'GRAD' 0,'slnt' 0,'ROND' 0; filter:blur(0px); }
}

/* wave-c: from below with double bounce, ultra-bold that deflates */
@keyframes wave-c {
    0%   { opacity:0; transform:translateY(70px) scale(0.75); font-variation-settings:'wght' 1000,'wdth' 75,'opsz' 8,'GRAD' 200,'slnt' 0,'ROND' 0; filter:blur(8px); }
    45%  { opacity:1; transform:translateY(-15px) scale(1.08); font-variation-settings:'wght' 400,'wdth' 100,'opsz' 48,'GRAD' 0,'slnt' 0,'ROND' 50; filter:blur(0px); }
    68%  { transform:translateY(5px) scale(0.97); font-variation-settings:'wght' 750,'wdth' 95,'opsz' 48,'GRAD' 0,'slnt' 0,'ROND' 0; }
    85%  { transform:translateY(-2px) scale(1.01); }
    100% { opacity:1; transform:translateY(0) scale(1); font-variation-settings:'wght' 700,'wdth' 100,'opsz' 48,'GRAD' 0,'slnt' 0,'ROND' 0; filter:blur(0px); }
}

/* ecosystem in wave: enters last with maximum mass */
body:not(.loading) .hero-title[data-mood="wave"] .ecosystem-word {
    animation-name: wave-enter-eco;
    animation-duration: var(--dur, 1.5s);
    animation-timing-function: cubic-bezier(0.34, 1.4, 0.64, 1);
    animation-fill-mode: forwards;
    animation-delay: var(--delay, 0.6s);
    opacity: 0;
}
@keyframes wave-enter-eco {
    0%   { opacity:0; transform:translateY(70px) skewX(-10deg) scaleY(0.7); font-variation-settings:'wght' 1000,'wdth' 25,'opsz' 8,'GRAD' 200,'slnt' -15,'ROND' 0; filter:blur(8px); }
    50%  { opacity:1; transform:translateY(-14px) skewX(4deg) scaleY(1.08); font-variation-settings:'wght' 900,'wdth' 70,'opsz' 48,'GRAD' 30,'slnt' -3,'ROND' 0; filter:blur(0px); }
    75%  { transform:translateY(5px) skewX(-1.5deg) scaleY(0.97); font-variation-settings:'wght' 680,'wdth' 92,'opsz' 48,'GRAD' 0,'slnt' 0,'ROND' 0; }
    100% { opacity:1; transform:translateY(0) skewX(0) scaleY(1); font-variation-settings:'wght' 700,'wdth' 100,'opsz' 48,'GRAD' 0,'slnt' 0,'ROND' 0; filter:blur(0px); }
}

/* =====================================================
   MOOD: FOG — 3 sub-variants, randomly assigned per word
   Words materialise from dense blur. Weight fattens.
   ===================================================== */
body:not(.loading) .hero-title[data-mood="fog"] .word {
    animation-name: var(--anim-name, fog-a);
    animation-duration: var(--dur, 2.2s);
    animation-timing-function: ease-out;
    animation-fill-mode: forwards;
    animation-delay: var(--delay, 0.3s);
    opacity: 0;
}

/* fog-a: heavy blur, ultra-thin weight that fattens */
@keyframes fog-a {
    0%   { opacity:0; filter:blur(28px) brightness(1.6); font-variation-settings:'wght' 100,'wdth' 75,'opsz' 8,'GRAD' -200,'slnt' -5,'ROND' 100; transform:translateY(10px) scale(0.95); }
    30%  { opacity:0.4; filter:blur(14px) brightness(1.2); }
    65%  { opacity:0.9; filter:blur(4px) brightness(1.0); font-variation-settings:'wght' 450,'wdth' 88,'opsz' 32,'GRAD' -30,'slnt' -1,'ROND' 20; transform:translateY(2px) scale(0.99); }
    100% { opacity:1; filter:blur(0px) brightness(1.0); font-variation-settings:'wght' 700,'wdth' 100,'opsz' 48,'GRAD' 0,'slnt' 0,'ROND' 0; transform:translateY(0) scale(1); }
}

/* fog-b: from scale-down, moderate blur, fat → thin → normal oscillation */
@keyframes fog-b {
    0%   { opacity:0; filter:blur(20px) brightness(1.4); font-variation-settings:'wght' 800,'wdth' 90,'opsz' 8,'GRAD' 100,'slnt' 0,'ROND' 0; transform:scale(0.8) translateY(6px); }
    25%  { opacity:0.5; filter:blur(10px); font-variation-settings:'wght' 200,'wdth' 100,'opsz' 48,'GRAD' -50,'slnt' 0,'ROND' 50; transform:scale(0.92); }
    60%  { opacity:0.85; filter:blur(3px); font-variation-settings:'wght' 600,'wdth' 95,'opsz' 48,'GRAD' 0,'slnt' 0,'ROND' 10; transform:scale(0.99); }
    100% { opacity:1; filter:blur(0px); font-variation-settings:'wght' 700,'wdth' 100,'opsz' 48,'GRAD' 0,'slnt' 0,'ROND' 0; transform:scale(1); }
}

/* fog-c: drifts in from left, letter-spacing collapses, thin wide → normal */
@keyframes fog-c {
    0%   { opacity:0; filter:blur(22px) brightness(1.8); font-variation-settings:'wght' 150,'wdth' 125,'opsz' 144,'GRAD' -150,'slnt' -6,'ROND' 80; transform:translateX(-15px) translateY(8px) scale(0.96); letter-spacing:0.08em; }
    35%  { opacity:0.45; filter:blur(10px) brightness(1.2); transform:translateX(-5px); letter-spacing:0.03em; }
    70%  { opacity:0.88; filter:blur(2px); font-variation-settings:'wght' 500,'wdth' 105,'opsz' 48,'GRAD' -20,'slnt' -1,'ROND' 10; transform:translateX(0) translateY(2px) scale(0.99); letter-spacing:0em; }
    100% { opacity:1; filter:blur(0px); font-variation-settings:'wght' 700,'wdth' 100,'opsz' 48,'GRAD' 0,'slnt' 0,'ROND' 0; transform:translateX(0) translateY(0) scale(1); letter-spacing:-0.02em; }
}

/* ecosystem in fog: last to clear, denser blur, wider letter-spacing */
body:not(.loading) .hero-title[data-mood="fog"] .ecosystem-word {
    animation-name: fog-enter-eco;
    animation-duration: var(--dur, 3.2s);
    animation-timing-function: ease-out;
    animation-fill-mode: forwards;
    animation-delay: var(--delay, 0.6s);
    opacity: 0;
}
@keyframes fog-enter-eco {
    0%   { opacity:0; filter:blur(50px) brightness(2.0); font-variation-settings:'wght' 100,'wdth' 60,'opsz' 8,'GRAD' -200,'slnt' -8,'ROND' 100; transform:translateY(15px) scale(0.92); letter-spacing:0.2em; }
    20%  { opacity:0.2; filter:blur(35px) brightness(1.7); }
    55%  { opacity:0.7; filter:blur(12px) brightness(1.1); font-variation-settings:'wght' 300,'wdth' 80,'opsz' 24,'GRAD' -80,'slnt' -2,'ROND' 40; letter-spacing:0.05em; }
    85%  { opacity:0.95; filter:blur(2px) brightness(1.0); transform:translateY(2px) scale(0.99); letter-spacing:-0.01em; }
    100% { opacity:1; filter:blur(0px) brightness(1.0); font-variation-settings:'wght' 700,'wdth' 100,'opsz' 48,'GRAD' 0,'slnt' 0,'ROND' 0; transform:translateY(0) scale(1); letter-spacing:-0.02em; }
}

/* =====================================================
   MOOD: SNAP
   All words fly in from random positions simultaneously.
   CSS vars --tx, --ty, --rot set per word via JS.
   ===================================================== */
body:not(.loading) .hero-title[data-mood="snap"] .word {
    animation-name: snap-enter;
    animation-duration: var(--dur, 0.7s);
    animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
    animation-fill-mode: forwards;
    animation-delay: var(--delay, 0.2s);
    opacity: 0;
}

@keyframes snap-enter {
    0%   { opacity:0; transform:translateX(var(--tx,0px)) translateY(var(--ty,30px)) rotate(var(--rot,0deg)) scale(0.8); font-variation-settings:'wght' 1000,'wdth' 25,'opsz' 8,'GRAD' 150,'slnt' -15,'ROND' 0; filter:blur(10px); }
    72%  { opacity:1; filter:blur(0px); font-variation-settings:'wght' 750,'wdth' 90,'opsz' 48,'GRAD' 10,'slnt' -1,'ROND' 0; }
    100% { opacity:1; transform:translateX(0) translateY(0) rotate(0deg) scale(1); font-variation-settings:'wght' 700,'wdth' 100,'opsz' 48,'GRAD' 0,'slnt' 0,'ROND' 0; filter:blur(0px); }
}

/* =====================================================
   MOOD: MORPH — 5 sub-variants of wild font-variation
   Each word gets a completely unique morphing path,
   oscillating through extreme font-variation axes.
   ===================================================== */
body:not(.loading) .hero-title[data-mood="morph"] .word {
    animation-name: var(--anim-name, morph-a);
    animation-duration: var(--dur, 6s);
    animation-timing-function: cubic-bezier(0.25, 1, 0.5, 1);
    animation-fill-mode: forwards;
    animation-delay: var(--delay, 0.3s);
    opacity: 0;
}

@keyframes morph-a {
    0%   { font-variation-settings:'wght' 100,'wdth' 25,'opsz' 144,'GRAD' -200,'slnt' -10,'ROND' 100; opacity:0; filter:blur(10px); transform:translateY(20px) scale(0.9); letter-spacing:0.1em; }
    12%  { font-variation-settings:'wght' 1000,'wdth' 30,'opsz' 8,'GRAD' 150,'slnt' 0,'ROND' 0; opacity:1; filter:blur(0px); transform:translateY(0) scale(1.05); }
    25%  { font-variation-settings:'wght' 300,'wdth' 40,'opsz' 72,'GRAD' -50,'slnt' -5,'ROND' 100; transform:scale(0.98); }
    37%  { font-variation-settings:'wght' 800,'wdth' 25,'opsz' 144,'GRAD' 100,'slnt' -10,'ROND' 50; transform:scale(1.02); }
    50%  { font-variation-settings:'wght' 200,'wdth' 50,'opsz' 18,'GRAD' -150,'slnt' -2,'ROND' 80; transform:scale(0.95); letter-spacing:-0.02em; }
    62%  { font-variation-settings:'wght' 900,'wdth' 30,'opsz' 96,'GRAD' 50,'slnt' -8,'ROND' 10; transform:scale(1.03); }
    75%  { font-variation-settings:'wght' 400,'wdth' 25,'opsz' 24,'GRAD' -100,'slnt' -4,'ROND' 100; transform:scale(0.99); }
    87%  { font-variation-settings:'wght' 800,'wdth' 45,'opsz' 144,'GRAD' 20,'slnt' -1,'ROND' 30; transform:scale(1.01); }
    100% { font-variation-settings:'wght' 700,'wdth' 100,'opsz' 48,'GRAD' 0,'slnt' 0,'ROND' 0; transform:scale(1); letter-spacing:-0.02em; opacity:1; }
}

@keyframes morph-b {
    0%   { font-variation-settings:'wght' 900,'wdth' 25,'opsz' 8,'GRAD' 150,'slnt' 0,'ROND' 0; opacity:0; filter:blur(10px); transform:translateY(20px) scale(1.1); letter-spacing:-0.05em; }
    15%  { font-variation-settings:'wght' 100,'wdth' 40,'opsz' 144,'GRAD' -200,'slnt' -10,'ROND' 100; opacity:1; filter:blur(0px); transform:translateY(0) scale(0.95); }
    30%  { font-variation-settings:'wght' 600,'wdth' 30,'opsz' 36,'GRAD' 100,'slnt' -5,'ROND' 0; transform:scale(1.02); letter-spacing:0.05em; }
    45%  { font-variation-settings:'wght' 200,'wdth' 25,'opsz' 100,'GRAD' -50,'slnt' -8,'ROND' 80; transform:scale(0.97); }
    60%  { font-variation-settings:'wght' 1000,'wdth' 45,'opsz' 12,'GRAD' 150,'slnt' -2,'ROND' 20; transform:scale(1.04); }
    75%  { font-variation-settings:'wght' 300,'wdth' 30,'opsz' 144,'GRAD' -150,'slnt' -10,'ROND' 90; transform:scale(0.98); letter-spacing:-0.01em; }
    90%  { font-variation-settings:'wght' 800,'wdth' 25,'opsz' 72,'GRAD' 50,'slnt' -4,'ROND' 10; transform:scale(1.01); }
    100% { font-variation-settings:'wght' 700,'wdth' 100,'opsz' 48,'GRAD' 0,'slnt' 0,'ROND' 0; transform:scale(1); letter-spacing:-0.02em; opacity:1; }
}

@keyframes morph-c {
    0%   { font-variation-settings:'wght' 500,'wdth' 25,'opsz' 72,'GRAD' 0,'slnt' -5,'ROND' 50; opacity:0; filter:blur(10px); transform:translateY(20px) scale(1); letter-spacing:0.02em; }
    11%  { font-variation-settings:'wght' 200,'wdth' 35,'opsz' 12,'GRAD' -100,'slnt' -10,'ROND' 100; opacity:1; filter:blur(0px); transform:translateY(0) scale(1.05); }
    22%  { font-variation-settings:'wght' 900,'wdth' 25,'opsz' 144,'GRAD' 150,'slnt' 0,'ROND' 0; transform:scale(0.95); }
    33%  { font-variation-settings:'wght' 100,'wdth' 30,'opsz' 8,'GRAD' -200,'slnt' -8,'ROND' 80; transform:scale(1.02); letter-spacing:-0.03em; }
    44%  { font-variation-settings:'wght' 1000,'wdth' 25,'opsz' 100,'GRAD' 100,'slnt' -2,'ROND' 10; transform:scale(0.98); }
    55%  { font-variation-settings:'wght' 300,'wdth' 45,'opsz' 36,'GRAD' -50,'slnt' -10,'ROND' 90; transform:scale(1.03); letter-spacing:0.04em; }
    66%  { font-variation-settings:'wght' 800,'wdth' 30,'opsz' 144,'GRAD' 50,'slnt' -4,'ROND' 20; transform:scale(0.97); }
    77%  { font-variation-settings:'wght' 200,'wdth' 25,'opsz' 24,'GRAD' -150,'slnt' -6,'ROND' 100; transform:scale(1.01); }
    88%  { font-variation-settings:'wght' 600,'wdth' 50,'opsz' 96,'GRAD' 20,'slnt' -1,'ROND' 30; transform:scale(0.99); }
    100% { font-variation-settings:'wght' 700,'wdth' 100,'opsz' 48,'GRAD' 0,'slnt' 0,'ROND' 0; transform:scale(1); letter-spacing:-0.02em; opacity:1; }
}

@keyframes morph-d {
    0%   { font-variation-settings:'wght' 200,'wdth' 40,'opsz' 18,'GRAD' -150,'slnt' 0,'ROND' 80; opacity:0; filter:blur(10px); transform:translateY(-10px) scale(0.95); }
    15%  { font-variation-settings:'wght' 800,'wdth' 25,'opsz' 144,'GRAD' 100,'slnt' -8,'ROND' 20; opacity:1; filter:blur(0px); transform:translateY(0) scale(1.03); letter-spacing:-0.04em; }
    30%  { font-variation-settings:'wght' 400,'wdth' 35,'opsz' 36,'GRAD' -50,'slnt' -2,'ROND' 100; transform:scale(0.98); }
    45%  { font-variation-settings:'wght' 900,'wdth' 25,'opsz' 72,'GRAD' 150,'slnt' -10,'ROND' 0; transform:scale(1.05); }
    60%  { font-variation-settings:'wght' 100,'wdth' 50,'opsz' 8,'GRAD' -200,'slnt' 0,'ROND' 90; transform:scale(0.96); letter-spacing:0.05em; }
    75%  { font-variation-settings:'wght' 700,'wdth' 30,'opsz' 96,'GRAD' 50,'slnt' -6,'ROND' 40; transform:scale(1.01); }
    90%  { font-variation-settings:'wght' 300,'wdth' 25,'opsz' 24,'GRAD' -100,'slnt' -2,'ROND' 100; transform:scale(0.99); }
    100% { font-variation-settings:'wght' 700,'wdth' 100,'opsz' 48,'GRAD' 0,'slnt' 0,'ROND' 0; transform:scale(1); letter-spacing:-0.02em; opacity:1; }
}

@keyframes morph-e {
    0%   { font-variation-settings:'wght' 1000,'wdth' 25,'opsz' 144,'GRAD' 150,'slnt' -10,'ROND' 0; opacity:0; filter:blur(10px); transform:scale(1.1); letter-spacing:-0.05em; }
    18%  { font-variation-settings:'wght' 200,'wdth' 50,'opsz' 12,'GRAD' -200,'slnt' 0,'ROND' 100; opacity:1; filter:blur(0px); transform:scale(0.95); letter-spacing:0.02em; }
    36%  { font-variation-settings:'wght' 700,'wdth' 30,'opsz' 72,'GRAD' 50,'slnt' -6,'ROND' 30; transform:scale(1.02); }
    54%  { font-variation-settings:'wght' 100,'wdth' 25,'opsz' 8,'GRAD' -150,'slnt' -10,'ROND' 80; transform:scale(0.97); }
    72%  { font-variation-settings:'wght' 900,'wdth' 45,'opsz' 144,'GRAD' 100,'slnt' -2,'ROND' 10; transform:scale(1.04); letter-spacing:-0.03em; }
    86%  { font-variation-settings:'wght' 400,'wdth' 25,'opsz' 36,'GRAD' -50,'slnt' -8,'ROND' 100; transform:scale(0.98); }
    100% { font-variation-settings:'wght' 700,'wdth' 100,'opsz' 48,'GRAD' 0,'slnt' 0,'ROND' 0; transform:scale(1); letter-spacing:-0.02em; opacity:1; }
}


@keyframes giant-ecosystem {
    0%, 35% { /* Stays giant for ~2s */
        /* Start NARROW and elegant */
        font-variation-settings: 'wght' 100, 'wdth' 25, 'opsz' 144, 'GRAD' -100, 'slnt' -5, 'ROND' 100; 
        /* Move it heavily to the left so it sits roughly in the center */
        transform: translate(-18vw, 15vh) scale(3.5);
    }
    100% {
        font-variation-settings: 'wght' 700, 'wdth' 100, 'opsz' 48, 'GRAD' 0, 'slnt' 0, 'ROND' 0;
        transform: translate(0, 0) scale(1);
    }
}

@keyframes giant-ecosystem-mobile {
    0%, 35% {
        font-variation-settings: 'wght' 100, 'wdth' 25, 'opsz' 144, 'GRAD' -100, 'slnt' -5, 'ROND' 100; 
        /* On mobile, don't move it so far left, and don't scale it as huge */
        transform: translate(0, 10vh) scale(1.6);
    }
    100% {
        font-variation-settings: 'wght' 700, 'wdth' 100, 'opsz' 48, 'GRAD' 0, 'slnt' 0, 'ROND' 0;
        transform: translate(0, 0) scale(1);
    }
}

@keyframes reveal-text {
    0% { opacity: 0; filter: blur(10px); transform: translateY(10px); }
    100% { opacity: 1; filter: blur(0px); transform: translateY(0); }
}

.hero-subtitle {
    max-width: 680px;
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0 auto 3.5rem auto;
}

.hero-cta-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.hero-stats .divider {
    width: 1px;
    height: 12px;
    background: rgba(255,255,255,0.2);
}

.cta-secondary {
    padding: 1rem 2.8rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(20px);
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.cta-secondary:hover {
    transform: translateY(-2px);
    border-color: rgba(134, 82, 255, 0.6);
    box-shadow: 0 10px 30px rgba(134, 82, 255, 0.25);
}

.hero-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
    margin-top: 1rem;
}

.hero-meta-item {
    background: rgba(20, 20, 20, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1rem 1.5rem;
    min-width: 160px;
}

.meta-value {
    display: block;
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
}

.meta-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.45);
}

.hero-strip {
    margin-top: 3rem;
    overflow: hidden;
    width: 100%;
    max-width: 900px;
}

.hero-strip-label {
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 600;
    margin-bottom: 2rem;
}

/* 4. CTA Button (Main) */
.cta-main {
    background-color: #8c52ff; /* Strong purple */
    color: #fff;
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-weight: 400;
    padding: 1rem 3.5rem;
    border-radius: 9999px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(140, 82, 255, 0.4); /* Glow effect */
    transition: transform 0.2s, box-shadow 0.2s;
    display: inline-block;
}

.section-header {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.section-kicker {
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-size: 0.7rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: #fff;
    letter-spacing: -0.02em;
}

.features-section {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
}

.feature-card {
    background: rgba(20, 20, 20, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 2rem;
    text-align: left;
    backdrop-filter: blur(14px);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(134, 82, 255, 0.4);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.feature-title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.feature-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
}

.stats-section {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, rgba(134, 82, 255, 0.15) 0%, rgba(10, 10, 10, 0.2) 100%);
    border-top: 1px solid rgba(134, 82, 255, 0.2);
    border-bottom: 1px solid rgba(134, 82, 255, 0.2);
}

.stats-band {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-card {
    background: rgba(10, 10, 10, 0.6);
    border-radius: 18px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-value {
    font-size: 2.4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: rgba(255, 255, 255, 0.6);
}

.cta-section {
    padding: 6rem 2rem;
}

.cta-panel {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 3rem;
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.9), rgba(60, 30, 90, 0.7));
    border: 1px solid rgba(134, 82, 255, 0.3);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.cta-panel h2 {
    font-size: clamp(2rem, 4vw, 2.6rem);
    margin-bottom: 1rem;
    color: #fff;
}

.cta-panel p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-primary {
    padding: 1rem 2.2rem;
    border-radius: 14px;
    background: linear-gradient(135deg, #8652ff, #6d3fd9);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid rgba(134, 82, 255, 0.5);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(134, 82, 255, 0.35);
}

.cta-outline {
    padding: 1rem 2.2rem;
    border-radius: 14px;
    border: 2px solid rgba(134, 82, 255, 0.5);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.cta-outline:hover {
    transform: translateY(-2px);
    border-color: rgba(134, 82, 255, 0.9);
}

.cta-main:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 25px rgba(140, 82, 255, 0.6);
}

/* =========================================
   BENTO GRID SYSTEM
   ========================================= */

.bento-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(240px, auto);
    gap: 1.5rem;
    padding-bottom: 5rem;
    position: relative;
    z-index: 10;
}

.bento-card {
    background: rgba(20, 20, 20, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    text-decoration: none; /* If card is a link */
}

.bento-card:hover {
    transform: translateY(-5px);
    background: rgba(30, 30, 30, 0.8);
    border-color: rgba(140, 82, 255, 0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

/* Grid Spans */
.span-2 { grid-column: span 2; }
.span-3 { grid-column: span 3; }
.span-row-2 { grid-row: span 2; }
.span-full { grid-column: 1 / -1; }

/* Responsive Grid */
@media (max-width: 1024px) {
    .bento-container {
        grid-template-columns: repeat(2, 1fr);
    }
    .span-3 { grid-column: span 2; }
}

@media (max-width: 768px) {
    .bento-container {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        gap: 1.2rem;
        padding-bottom: 2rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        scroll-padding-left: 2rem;
        scroll-padding-right: 2rem;
    }
    
    .bento-container::-webkit-scrollbar {
        display: none;
    }

    .bento-container > .bento-card {
        flex: 0 0 85vw !important;
        scroll-snap-align: center;
    }

    .span-2, .span-3, .span-row-2, .span-full {
        grid-column: span 1;
        grid-row: span 1;
    }
}

/* Card Content Typography */
.card-subtitle {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.card-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.5rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.card-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.5;
    margin-bottom: 1rem;
}

/* Visuals & Icons */
.card-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--brand-purple);
}

.card-image-container {
    width: 100%;
    height: 120px;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    margin-top: auto;
}

.card-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: transform 0.3s;
}

.bento-card:hover .card-image-container img {
    transform: scale(1.05);
    opacity: 1;
}

/* Team Specifics */
.team-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.team-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.1);
}

.team-role {
    font-size: 0.85rem;
    color: var(--brand-purple);
    font-weight: 600;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

.stat-item {
    background: rgba(255,255,255,0.03);
    padding: 0.75rem;
    border-radius: 12px;
    text-align: center;
}

.stat-val {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
}

.stat-label {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: auto;
    padding-top: 1.5rem;
}

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 700;
    transition: all 0.2s;
    border: 1px solid rgba(255,255,255,0.1);
}

.social-icon:hover {
    background: #fff;
    color: #000;
    transform: translateY(-2px);
}

/* =========================================
   TEAM MODAL
   ========================================= */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    background: radial-gradient(circle at top right, rgba(40, 40, 40, 1), rgba(20, 20, 20, 1));
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border-radius: 24px;
    width: 100%;
    max-width: 500px;
    padding: 2.5rem;
    position: relative;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.active .modal-card {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.2s;
}

.modal-close:hover {
    color: #fff;
}

.modal-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.modal-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid rgba(134, 82, 255, 0.3);
}

.modal-name {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.25rem;
}

.modal-role {
    color: var(--brand-purple);
    font-weight: 600;
    font-size: 1rem;
}

.modal-bio {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.modal-btn {
    display: block;
    width: 100%;
    background: #fff;
    color: #000;
    text-align: center;
    padding: 1rem;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s;
}

.modal-btn:hover {
    transform: scale(1.02);
}

/* =========================================
   CONTACT FORM STYLES
   ========================================= */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    margin-top: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.7);
    font-weight: 500;
}

.form-input, .form-textarea {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 0.8rem;
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: all 0.2s;
    outline: none;
    width: 100%;
}

.form-input:focus, .form-textarea:focus {
    background: rgba(255,255,255,0.1);
    border-color: rgba(134, 82, 255, 0.5);
    box-shadow: 0 0 0 3px rgba(134, 82, 255, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.form-btn {
    background: #fff;
    color: #000;
    border: none;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s;
    margin-top: 0.5rem;
}

.form-btn:hover {
    transform: translateY(-2px);
}

/* LOGO SHOWCASE ANIMATION */
.logo-scroll {
    display: flex;
    gap: 4rem;
    align-items: center;
    will-change: transform;
}

/* TEAM PAGE - TIMELINE DESIGN */
.team-pill {
    position: relative;
    margin: 3rem 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    opacity: 0;
    animation: slideIn 0.6s ease both;
}

.team-pill-left {
    flex-direction: row;
    animation-delay: 0.1s;
    justify-content: flex-end;
}

.team-pill-right {
    flex-direction: row-reverse;
    animation-delay: 0.3s;
    justify-content: flex-end;
}

.team-pill-center {
    flex-direction: row;
    animation-delay: 0.5s;
    justify-content: center;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.team-pill-right {
    animation: slideInRight 0.6s ease both;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scrollBounce {
    0%, 100% {
        transform: translateY(0);
        opacity: 0.8;
    }
    50% {
        transform: translateY(12px);
        opacity: 1;
    }
}

.pill-dot {
    width: 16px;
    height: 16px;
    background: linear-gradient(135deg, rgba(134, 82, 255, 1) 0%, rgba(134, 82, 255, 0.6) 100%);
    border-radius: 50%;
    border: 3px solid #050507;
    margin: 0 25px;
    transition: all 0.3s ease;
    z-index: 2;
    box-shadow: 0 0 20px rgba(134, 82, 255, 0.5);
}

.team-pill:hover .pill-dot {
    width: 24px;
    height: 24px;
    box-shadow: 0 0 35px rgba(134, 82, 255, 0.8);
    margin: 0 23px;
}

.pill-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(134, 82, 255, 0.3);
    border-radius: 9999px;
    padding: 1.2rem 2rem 1.2rem 1.2rem;
    width: auto;
    min-height: 150px;
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
}

.team-pill-left .pill-content {
    max-width: 480px;
}

.team-pill-right .pill-content {
    padding: 1.2rem 1.2rem 1.2rem 2rem;
    flex-direction: row;
    gap: 1.5rem;
    max-width: 450px;
}

.team-pill-center .pill-content {
    padding: 1.2rem 2rem 1.2rem 1.2rem;
    flex-direction: row;
    gap: 1.5rem;
    max-width: 520px;
}

.team-pill-right .pill-avatar {
    width: 110px;
    height: 110px;
}

.team-pill-center .pill-avatar {
    width: 110px;
    height: 110px;
}

.team-pill-right .pill-info {
    text-align: right;
}

.team-pill-left .pill-info {
    text-align: left;
}

.team-pill-center .pill-info {
    text-align: left;
}

.team-pill:hover .pill-content {
    background: rgba(20, 20, 20, 0.9);
    border-color: rgba(134, 82, 255, 0.8);
    box-shadow: 0 20px 50px rgba(134, 82, 255, 0.25);
    transform: translateY(-8px);
    backdrop-filter: blur(30px);
}

.pill-avatar {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(134, 82, 255, 0.7);
    flex-shrink: 0;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(134, 82, 255, 0.3), inset 0 0 20px rgba(134, 82, 255, 0.2);
}

.pill-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-pill:hover .pill-avatar {
    border-color: rgba(134, 82, 255, 1);
    transform: scale(1.08);
    box-shadow: 0 12px 40px rgba(134, 82, 255, 0.6), inset 0 0 20px rgba(134, 82, 255, 0.3);
}

.pill-info {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    z-index: 1;
}

.pill-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.2;
}

.pill-role {
    font-size: 0.8rem;
    color: rgba(134, 82, 255, 0.9);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.2rem;
}

.pill-quote {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
    margin-top: 0.4rem;
    line-height: 1.4;
}

/* TEAM PAGE - MOBILE RESPONSIVE */
@media (max-width: 768px) {
    /* Hide vertical timeline center line */
    .team-timeline-center-line {
        display: none !important;
    }

    .team-pill {
        margin: 1.5rem auto;
        flex-direction: row !important;
        justify-content: flex-start !important;
        align-items: center !important;
        width: calc(100% - 2rem);
        max-width: none;
        padding: 0;
    }

    .team-pill-left,
    .team-pill-right,
    .team-pill-center {
        flex-direction: row !important;
        justify-content: flex-start !important;
        align-items: center !important;
    }

    .pill-dot {
        display: none;
    }

    .pill-content {
        width: 100%;
        max-width: none !important;
        padding: 1.2rem !important;
        min-height: auto;
        gap: 1rem !important;
        flex-direction: row !important;
        border-radius: 999px !important;
        align-items: center;
        justify-content: flex-start;
    }

    .team-pill-right .pill-content,
    .team-pill-left .pill-content,
    .team-pill-center .pill-content {
        padding: 1.2rem !important;
        flex-direction: row !important;
        width: 100%;
        max-width: none !important;
        align-items: center;
    }

    .team-pill-right .pill-avatar,
    .team-pill-center .pill-avatar,
    .team-pill-left .pill-avatar {
        width: 80px;
        height: 80px;
        flex-shrink: 0;
        order: 1;
    }

    .pill-avatar {
        width: 80px;
        height: 80px;
        flex-shrink: 0;
        order: 1;
    }

    .team-pill-right .pill-info,
    .team-pill-left .pill-info,
    .team-pill-center .pill-info {
        text-align: left !important;
        order: 2;
    }

    .pill-name {
        font-size: 1rem;
    }

    .pill-role {
        font-size: 0.65rem;
    }

    .pill-quote {
        font-size: 0.75rem;
    }
}

@media (max-width: 600px) {
    .team-pill {
        margin: 1.2rem auto;
        width: calc(100% - 1.5rem);
        max-width: none;
        padding: 0;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-start !important;
    }

    .pill-content {
        width: 100%;
        max-width: none !important;
        padding: 1rem !important;
        border-radius: 999px !important;
        flex-direction: row !important;
        gap: 1rem !important;
        align-items: center;
        justify-content: flex-start;
    }

    .pill-avatar {
        width: 70px;
        height: 70px;
        flex-shrink: 0;
        order: 1;
    }

    .pill-info {
        text-align: left !important;
        order: 2;
    }

    .pill-name {
        font-size: 0.95rem;
    }

    .pill-role {
        font-size: 0.6rem;
    }

    .pill-quote {
        font-size: 0.7rem;
    }

    .pill-dot {
        display: none;
    }
}

/* FOOTER */
footer {
    margin-top: 5rem;
    padding: 3rem 2rem 1.5rem;
    background: rgba(10, 10, 10, 0.6);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    position: relative;
    z-index: 10;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo {
    font-family: var(--font-logo);
    font-size: 1.8rem;
    color: #fff;
    text-decoration: none;
}

.footer-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
    max-width: 300px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.4;
    margin-bottom: 0.5rem;
}

.footer-link {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.2s;
    width: fit-content;
}

.footer-link:hover {
    color: var(--brand-purple);
    transform: translateX(5px);
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s, border-color 0.2s, transform 0.2s;
}

.footer-social-link:hover {
    color: #fff;
    border-color: var(--brand-purple);
    transform: translateY(-2px);
}

.footer-legal {
    max-width: 1200px;
    margin: 2.5rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.8rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.4);
}

.footer-legal p { margin: 0 0 0.6rem; max-width: 900px; }
.footer-legal strong { color: rgba(255, 255, 255, 0.65); font-weight: 600; }

.footer-bottom {
    max-width: 1200px;
    margin: 3rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 900px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 600px) {
    footer {
        padding: 3rem 1.5rem 1.5rem;
        margin-top: 4rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        text-align: left;
    }
    
    .footer-brand {
        grid-column: 1 / -1;
        align-items: flex-start;
        margin-bottom: 1rem;
    }
    
    .footer-col {
        align-items: flex-start;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        margin-top: 2rem;
    }
}

/* =========================================
   ANIMATIONS
   ========================================= */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.fade-in-up {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   MOBILE RESPONSIVENESS
   ========================================= */

/* Mobile Toggle (Hamburger) - Hidden on Desktop by default */
.mobile-toggle {
    display: none;
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 1001;
    width: 58px;
    height: 58px;
    background-color: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
    transition: all 0.3s ease;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-toggle.open span:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
}

.mobile-toggle.open span:nth-child(2) {
    transform: translateY(-5px) rotate(-45deg);
}

/* Ensure mobile toggle is hidden on desktop (overriding any other rules) */
@media (min-width: 1025px) {
    .mobile-toggle {
        display: none !important;
    }
}

/* Mobile Menu Overlay */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mobile-link {
    font-family: var(--font-body);
    font-size: 1.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
}

.mobile-link:hover,
.mobile-link.active {
    color: #fff;
    text-shadow: 0 0 20px rgba(134, 82, 255, 0.4);
}

/* Tablet Media Query (1024px and below) */
@media (max-width: 1024px) {
    /* Hide Desktop Tabs */
    .tabs, nav .cir-tabs {
        display: none !important;
    }

    .hero-meta {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1rem;
    }

    .feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
     /* Nav Container fixes */
    nav {
        width: 100% !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        transform: none !important;
        justify-content: flex-start !important;
        background: rgba(20, 20, 20, 0.6) !important;
        backdrop-filter: blur(30px) !important;
        -webkit-backdrop-filter: blur(30px) !important;
        box-shadow: 0 5px 20px rgba(0,0,0,0.5) !important;
        border-bottom: 1px solid rgba(255,255,255,0.1) !important;
        padding: 0 1rem !important;
        height: 70px !important;
        display: flex !important;
        align-items: center !important;
        z-index: 1000 !important;
    }

    .brand {
        margin: 0 !important;
        background: transparent !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        font-size: 1.5rem !important;
        height: auto !important;
    }

    .mobile-toggle {
        display: flex !important;
        position: absolute !important;
        top: 50% !important;
        right: 1.5rem !important;
        transform: translateY(-50%) !important;
        width: 40px !important;
        height: 40px !important;
        background: transparent !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        border: none !important;
        box-shadow: none !important;
        z-index: 1001 !important;
    }
}

/* Phone Media Query (768px and below) */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.15;
    }

    .hero-title .giant-word {
        animation: giant-ecosystem-mobile 6s cubic-bezier(0.77, 0, 0.175, 1) forwards;
    }

    .mobile-link {
        font-size: 1.5rem;
    }

    .home-hero {
        min-height: 85vh;
    }

    .hero-meta {
        grid-template-columns: 1fr;
    }

    .hero-meta-item {
        min-width: auto;
    }

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

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

    .cta-panel {
        padding: 2.5rem 1.5rem;
    }
}

/* iPhone Media Query (480px and below) */
@media (max-width: 480px) {
    .mobile-menu {
        gap: 1.5rem;
    }
    
    .mobile-link {
        font-size: 1.3rem;
    }
}

/* =========================================
   NAV FADE & FIXES
   ========================================= */
nav {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

nav.scrolled {
    padding: 0.8rem 2.5rem;
    background: rgba(15, 15, 15, 0.6);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
}

@media (max-width: 768px) {
    nav.scrolled {
        padding: 0.8rem 2rem;
    }
}

nav::before {
    content: '';
    position: absolute;
    top: -2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 250px; /* Fade più esteso e morbido */
    background: linear-gradient(to bottom, rgba(6,6,6,1) 0%, rgba(6,6,6,0.9) 30%, rgba(6,6,6,0.5) 65%, rgba(6,6,6,0) 100%);
    z-index: -1;
    pointer-events: none;
}

/* =========================================
   CIRRUS COMPONENTS (TABS, BTN, RADIO)
   ========================================= */

/* cir-tabs */
.cir-tabs {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px;
  background: rgba(20, 20, 20, 0.6);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.cir-tabs__pill {
  position: absolute;
  top: 6px;
  left: 6px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 0;
  pointer-events: none;
}

.cir-tabs__r {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.cir-tabs__t {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  font-family: var(--font-brand);
  font-variation-settings: 'wght' 600, 'ROND' 100;
  font-size: 14.5px;
  letter-spacing: 0.02em;
  color: var(--text-secondary);
  cursor: pointer;
  transition: color 200ms ease;
  z-index: 1;
}

.cir-tabs__r:checked + .cir-tabs__t {
  color: #fff;
  background: transparent;
}

/* cir-btn */
.cir-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 0 24px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  background: #fff;
  color: #000;
  font-family: var(--font-brand);
  font-variation-settings: 'wght' 700, 'ROND' 100;
  font-size: 15px;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1);
  transition: transform 140ms ease, box-shadow 220ms ease;
}

.cir-btn:hover {
  transform: scale(1.02);
  box-shadow: 0 14px 28px rgba(255, 255, 255, 0.2);
}

.cir-btn__arrow {
  width: 20px;
  height: 20px;
  transition: transform 220ms ease;
}

.cir-btn:hover .cir-btn__arrow {
  transform: translateX(4px) translateY(-4px);
}

/* cir-radio (Pricing) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.cir-radio {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 500px;
  padding: 0;
  margin: 0;
  border: 0;
  font-family: var(--font-primary);
}

.cir-radio__opt {
  display: grid;
  grid-template-columns: 24px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  cursor: pointer;
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.cir-radio__opt input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.cir-radio__dot {
  position: relative;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.5px solid var(--glass-border);
  background: transparent;
  transition: border-color 220ms ease, background-color 220ms ease;
}

.cir-radio__dot::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: #fff;
  transform: scale(0);
  transition: transform 220ms ease;
}

.cir-radio__opt:hover {
  border-color: var(--glass-border-hover);
  transform: translateY(-2px);
}

.cir-radio__opt input:checked ~ .cir-radio__dot {
  background: rgba(134, 82, 255, 0.2);
  border-color: var(--brand-purple);
}

.cir-radio__opt input:checked ~ .cir-radio__dot::after {
  transform: scale(1);
}

.cir-radio__opt.active,
.cir-radio__opt--rec {
  border-color: var(--brand-purple);
  box-shadow: 0 0 0 1px var(--brand-purple), 0 10px 30px rgba(134, 82, 255, 0.15);
  background: rgba(134, 82, 255, 0.05);
}

.cir-radio__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.cir-radio__t {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.cir-radio__chip {
  background: var(--brand-purple);
  color: #fff;
  font-family: var(--font-primary);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}

.cir-radio__d {
  font-size: 14px;
  line-height: 1.45;
  color: var(--text-secondary);
}

.cir-radio__price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.02em;
  color: #fff;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.cir-radio__price small {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-left: 4px;
}

/* Pricing Section Container */
.section-pricing {
    padding: 10rem 0; /* Removing side padding for full bleed slider */
    margin: 0 auto;
}
.section-pricing .section-header, .section-pricing .pricing-switch {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 2rem;
}

.pricing-scroll-wrapper {
    height: 300vh;
    position: relative;
    width: 100%;
}
.pricing-sticky-container {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Default, JS can handle centering if needed, but let's use margin auto on the grid */
    overflow: hidden;
}

.pricing-grid {
    display: flex;
    gap: 2rem;
    padding: 0 2rem;
    width: max-content;
    will-change: transform;
}
.pricing-grid .feature-box {
    width: 320px;
    flex-shrink: 0;
    min-height: 480px;
}
.pricing-switch {
    margin: 0 auto 3rem auto;
    display: flex;
    justify-content: center;
    width: max-content;
}

/* =========================================
   NEW COMPONENT STYLES (ECOSYSTEM BENTO GRID, FEATURES, VALUES, CTA)
   ========================================= */

/* --- Ecosystem Bento Grid --- */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.bento-card {
    position: relative;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform var(--transition-medium), border-color var(--transition-medium);
}

.col-span-1 { grid-column: span 1; }
.col-span-2 { grid-column: span 2; }
.col-span-3 { grid-column: span 3; }
.col-span-4 { grid-column: span 4; }

.flex-row { flex-direction: row !important; }
.flex-col { flex-direction: column !important; }
.justify-between { justify-content: space-between !important; }
.h-full { height: 100% !important; }
.items-center { align-items: center !important; }
.gap-6 { gap: 1.5rem !important; }
.flex-1 { flex: 1 !important; }
.mt-auto { margin-top: auto !important; }
.mb-4 { margin-bottom: 1rem !important; }
.text-sm { font-size: 0.875rem !important; }

.card-hover-effect:hover {
    transform: translateY(-4px);
    border-color: var(--glass-border-hover);
}

.card-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(134,82,255,0.05) 0%, transparent 50%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 0;
}

.card-content {
    position: relative;
    z-index: 1;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.badge {
    padding: 0.25rem 0.75rem;
    border-radius: 99px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #fff;
}

.logos-stack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.logos-stack img {
    height: 40px;
    object-fit: contain;
}

/* --- Features Matrix --- */
.features-matrix {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-box {
    position: relative;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    overflow: hidden;
    transition: transform var(--transition-medium);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: rgba(134,82,255,0.1);
    border: 1px solid rgba(134,82,255,0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-purple);
    margin-bottom: 1.5rem;
}

.feature-box h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.feature-box p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* --- Values & Story --- */
.story-container {
    max-width: 800px;
    margin: 0 auto;
}

.story-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 4rem;
}
.story-text em {
    color: #fff;
    font-style: normal;
}

.value-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.value-list li {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.value-num {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brand-purple);
    padding-top: 0.2rem;
}

.value-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-secondary);
}
.value-text strong {
    color: #fff;
}

/* --- Final CTA --- */
.cta-glass {
    position: relative;
    background: rgba(134,82,255,0.05);
    border: 1px solid rgba(134,82,255,0.2);
    border-radius: 32px;
    padding: 5rem 2rem;
    text-align: center;
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
}

.cta-glass h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    color: #fff;
}

.cta-glass p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--brand-purple);
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(134,82,255,0.3);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    background: transparent;
    border: 1px solid var(--glass-border);
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    transition: background var(--transition-medium), border-color var(--transition-medium);
}
.btn-outline:hover {
    background: var(--glass-bg);
    border-color: var(--glass-border-hover);
}

/* --- Responsive Overrides --- */
@media (min-width: 769px) {
    .hide-on-desktop {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .bento-grid {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        gap: 1.2rem;
        padding-bottom: 2rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        
        /* Full bleed to edge of screen to prevent cutoff */
        width: 100vw !important;
        max-width: 100vw !important;
        margin-top: 1rem !important;
        margin-bottom: 2rem !important;
        margin-left: calc(50% - 50vw) !important;
        padding-left: 2rem !important;
        padding-right: 2rem !important;
        box-sizing: border-box;

        align-items: stretch;
    }
    
    .bento-grid::after {
        content: '';
        flex: 0 0 0.5rem;
        display: block;
    }
    
    .bento-grid::-webkit-scrollbar {
        display: none;
    }

    .bento-grid > .bento-card {
        flex: 0 0 75vw !important;
        scroll-snap-align: center;
        padding: 1.2rem !important; /* Smaller padding */
    }

    .bento-grid > .bento-card h3 {
        font-size: 1.2rem !important;
        margin-bottom: 0.5rem !important;
    }

    .bento-grid > .bento-card svg,
    .bento-grid > .bento-card img {
        margin-bottom: 0.5rem !important;
    }

    .bento-card.col-span-2,
    .bento-card.col-span-3,
    .bento-card.col-span-4 {
        grid-column: span 1;
    }
    
    /* Optimize .flex-row cards for mobile carousel: shrink mockups instead of moving below */
    .bento-card.flex-row .card-content {
        gap: 0.8rem !important;
    }
    .bento-card.flex-row img {
        height: 35px !important;
        margin-top: 0 !important;
    }
    .bento-card.flex-row svg {
        width: 35px !important;
        height: 35px !important;
    }
    .bento-card.flex-row .card-desc {
        font-size: 0.85rem !important;
    }

    /* Fix images overlapping text on mobile */
    .bento-card {
        min-height: auto !important; /* Let content dictate height */
    }
    .bento-card .card-desc {
        font-size: 0.85rem !important;
        line-height: 1.3 !important;
    }

    /* Hide mockups on mobile */
    .music-mockup, .move-mockup {
        display: none !important;
    }
    
    /* Utility to hide navbar items on mobile */
    .hide-on-mobile {
        display: none !important;
    }

    /* Disable custom cursor on mobile */
    .orb-cursor, .custom-cursor-dot {
        display: none !important;
    }

    .logos-stack {
        flex-direction: row;
        margin-top: 1.5rem;
    }
    .features-matrix {
        grid-template-columns: 1fr;
    }
}

/* --- Carousel Dots (Mobile Only) --- */
.carousel-dots {
    display: none;
    justify-content: center;
    gap: 8px;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}
@media (max-width: 768px) {
    .carousel-dots {
        display: flex;
    }
}
.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}
.carousel-dot.active {
    background: rgba(255, 255, 255, 0.9);
    width: 24px;
}

/* =========================================
   SCROLL REVEAL & ANIMATIONS (GLOBAL)
   ========================================= */
.reveal-on-scroll {
    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);
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* Custom Foreground Cursor */
.custom-cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: width 0.3s ease, height 0.3s ease, border-radius 0.3s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    mix-blend-mode: difference;
    transform-origin: center center;
}

.custom-cursor-dot.active {
    width: 60px;
    height: 60px;
    background: rgba(134, 82, 255, 0.3); /* brand purple, translucent */
    border-color: rgba(134, 82, 255, 0.8);
    box-shadow: 0 0 30px rgba(134, 82, 255, 0.4);
    mix-blend-mode: normal;
}

.custom-cursor-dot.snap-active {
    background: transparent !important;
    border: 2px solid rgba(134, 82, 255, 1) !important;
    box-shadow: 0 0 15px rgba(134, 82, 255, 0.4) !important;
    mix-blend-mode: normal !important;
}

/* Made with love component */
.made-with-love {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 2rem;
    font-weight: 700;
    margin-top: 3rem;
    flex-wrap: wrap;
    font-family: var(--font-display);
}

.made-with-love .text {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
}

.avatar-group {
    display: flex;
    align-items: center;
}

.avatar-wrapper {
    position: relative;
    margin-left: -12px;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), z-index 0.3s;
    border-radius: 50%;
    cursor: pointer;
}

.avatar-wrapper:first-child {
    margin-left: 0;
}

.avatar-wrapper img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 4px solid #000; /* Assuming black background in hero */
    object-fit: cover;
    background: #111;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.avatar-wrapper:hover {
    transform: scale(1.1) translateY(-5px);
    z-index: 10;
}

.avatar-wrapper:hover img {
    border-color: var(--brand-purple);
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

.avatar-tooltip {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(20, 20, 20, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 12px;
    border-radius: 12px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-align: center;
    min-width: max-content;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    z-index: 100;
}

.avatar-wrapper:hover .avatar-tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.avatar-tooltip .name {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.2;
    font-family: var(--font-body);
}

.avatar-tooltip .username {
    display: block;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 2px;
    font-family: var(--font-body);
    font-weight: 400;
}

/* Footer variant */
.footer-made-with-love {
    margin-top: 2rem;
    font-size: 1.2rem;
    padding-bottom: 2rem;
}

.footer-made-with-love .avatar-wrapper {
    margin-left: -8px;
    cursor: default;
}
.footer-made-with-love .avatar-wrapper:hover {
    transform: none;
    z-index: 1;
}
.footer-made-with-love .avatar-wrapper img {
    width: 36px;
    height: 36px;
    border-width: 2px;
}
.footer-made-with-love .avatar-tooltip {
    display: none !important;
}
