@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@200;300;400;500;600&family=Syncopate:wght@400;700&display=swap');

:root {
    --bg-color: #080808;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --accent: #F59768; /* Refract-style orange */
    --accent-glow: rgba(245, 151, 104, 0.3);
    --card-bg: rgba(255, 255, 255, 0.03);
    --border-color: rgba(255, 255, 255, 0.08);
    --nav-bg: rgba(10, 10, 10, 0.6);
    --selection-bg: var(--accent);
}

.light-mode {
    --bg-color: #1a1512; /* Rich dark sepia */
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --card-bg: rgba(255, 255, 255, 0.05);
    --border-color: rgba(255, 255, 255, 0.1);
    --nav-bg: rgba(26, 21, 18, 0.85);
}



::selection {
    background: var(--selection-bg);
    color: #000;
}


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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

@media (min-width: 1024px) {
    body, a, button, .interactive, .glitch-link, .card {
        cursor: none !important;
    }
}

/* ─── THE GLOW CURSOR (MAIN STYLE) ─── */
.cursor-dot, .cursor-glow {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 100000;
    border-radius: 50%;
    will-change: transform;
    opacity: 0;
    transition: opacity 0.5s ease;
}

/* Hide custom cursor elements on mobile/touch devices */
@media (max-width: 1023px), (pointer: coarse) {
    .cursor-dot, .cursor-glow, .cursor-trail-dot {
        display: none !important;
    }
}


.cursor-dot {
    width: 6px;
    height: 6px;
    background: white;
    mix-blend-mode: difference;
    z-index: 100001;
}

.cursor-glow {
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, rgba(245, 151, 104, 0.45) 0%, rgba(245, 151, 104, 0.15) 40%, transparent 70%);
    filter: blur(1px);
    transition: width 0.6s cubic-bezier(0.23, 1, 0.32, 1), 
                height 0.6s cubic-bezier(0.23, 1, 0.32, 1),
                background 0.5s ease,
                opacity 0.6s ease;
}

.cursor-glow.active {
    width: 90px;
    height: 90px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.6) 0%, rgba(245, 151, 104, 0.35) 40%, transparent 70%);
}

.cursor-dot.is-visible, .cursor-glow.is-visible {
    opacity: 1;
}

/* ─── THE CURSOR TRAIL (LIQUID EFFECT) ─── */
.cursor-trail-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    will-change: transform;
    opacity: 0;
    mix-blend-mode: screen;
}

.cursor-trail-dot.is-visible {
    opacity: 0.6;
}


/* Noise Grain Overlay */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3%3Ffilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.05;
    pointer-events: none;
    z-index: 9999;
}

/* Background Shifting Gradients */
.bg-gradients {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    filter: blur(100px);
    opacity: 0.4;
    transition: background 0.7s ease;
}

.light-mode .bg-gradients {
    background: #1a1512;
    opacity: 0.8;
}

.light-mode .gradient-orb {
    opacity: 0.2;
}


.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}

.orb-purple {
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, #6366f1 0%, transparent 70%);
    top: -20%;
    left: -10%;
}

.orb-orange {
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    bottom: -10%;
    right: -10%;
}

.orb-blue {
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, #3b82f6 0%, transparent 70%);
    top: 30%;
    right: 10%;
}


/* Typography */
h1, h2, h3 {
    font-weight: 500;
    letter-spacing: -0.02em; /* Tighter tracking like Refract */
}

p {
    font-weight: 300;
    color: var(--text-secondary);
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}


/* Page Transition Overlay */
.transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #000;
    z-index: 9999;
    pointer-events: none;
    transition: opacity 1.5s cubic-bezier(0.65, 0, 0.35, 1);
}

body.loaded .transition-overlay {
    opacity: 0;
}

/* Navigation - Glassmorphism */
/* Updated Navigation - Pill Style */
nav {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    z-index: 1000;
    background: var(--nav-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 100px;
    padding: 12px 32px;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

nav.active {
    border-radius: 24px;
    width: 90%;
    padding: 24px;
}

nav.scrolled {
    top: 16px;
    background: rgba(10, 10, 10, 0.8);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    width: 100%;
}

@media (max-width: 768px) {
    .nav-container {
        justify-content: space-between;
        gap: 0;
    }
}

@media (min-width: 768px) {
    .nav-container {
        gap: 20px;
    }
}

.nav-brand {
    text-decoration: none;
    font-weight: 700;
    color: #fff;
    font-size: 0.95rem;
    letter-spacing: -0.04em;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-right: 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .nav-brand {
        border-right: none;
        padding-right: 0;
        font-size: 0.85rem;
    }
}

/* Mobile Toggle Hamburger */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.mobile-toggle .line {
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.active .mobile-toggle .line:nth-child(1) {
    transform: translateY(4px) rotate(45deg);
}

.active .mobile-toggle .line:nth-child(2) {
    transform: translateY(-4px) rotate(-45deg);
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 40px;
    transition: all 0.5s ease;
}

@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 24px;
        padding: 20px 0;
        background: var(--nav-bg);
        backdrop-filter: blur(20px);
        border-radius: 20px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        pointer-events: none;
    }

    .active .nav-links {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }
}

.glitch-link {
    position: relative;
    display: block;
    height: 1.2rem;
    overflow: hidden;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
}

.glitch-link span {
    display: block;
    transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1);
}

.glitch-link:hover span {
    transform: translateY(-100%);
}

.glitch-link:hover span:nth-child(1) {
    opacity: 0.5;
}

.glitch-link span:nth-child(2) {
    position: absolute;
    top: 100%;
    color: var(--accent);
    text-shadow: 0 0 12px rgba(245, 151, 104, 0.6);
}

.glitch-link:hover {
    color: var(--accent);
}


/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    text-align: center;
    padding: 0 20px;
}

.hero-bg-wrapper {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    z-index: 1;
}

.hero-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.25;
    /* We'll animate parallax with GSAP */
}

/* Add a dark gradient overhero */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 0%, var(--bg-color) 80%);
    z-index: 2;
}


.hero-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1000px;
    width: 100%;
}


.hero-logo {
    width: 70px;
    height: 70px;
    margin: 0 auto 30px auto;
    opacity: 0;
    transform: translateY(20px);
    animation: pulseLogoSVG 4s infinite alternate;
    overflow: visible;
}

@keyframes pulseLogoSVG {
    0% { filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.5)); }
    100% { filter: drop-shadow(0 0 25px rgba(212, 175, 55, 1)); }
}

.hero-title {
    font-family: 'Syncopate', sans-serif;
    font-size: clamp(3.5rem, 10vw, 8.5rem);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 32px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-align: center;
    perspective: 1000px;
}

.text-mask {
    display: block;
    overflow: hidden;
    height: auto;
}

.text-mask span {
    display: block;
    transform: translateY(0);
    opacity: 1;
    will-change: transform;
}

.reveal-tagline, .reveal-btn {
    opacity: 0;
}

.hero-title span:not(.text-mask span) {
    font-weight: 500;
    font-style: italic;
    color: var(--accent);
}


/* Interactive Ambient Glow & Bokeh */
.ambient-glow {
    position: absolute;
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 50%);
    border-radius: 50%;
    pointer-events: none;
    top: 0; left: 0;
    transform: translate(-50%, -50%);
    z-index: 3;
    opacity: 0;
    transition: opacity 1s ease;
}

.hero:hover .ambient-glow {
    opacity: 1;
}

.bokeh-orbs {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: floatOrb 20s infinite ease-in-out alternate;
}

.orb-1 { width: 500px; height: 500px; background: rgba(245, 151, 104, 0.1); top: -20%; left: -10%; }
.orb-2 { width: 600px; height: 600px; background: rgba(255, 255, 255, 0.05); top: 50%; right: -20%; animation-delay: -5s; animation-duration: 25s; }
.orb-3 { width: 400px; height: 400px; background: rgba(245, 151, 104, 0.08); bottom: -30%; left: 30%; animation-delay: -10s; animation-duration: 30s; }


@keyframes floatOrb {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(150px, 150px) scale(1.3); }
}

.hero-tagline {
    max-width: 800px;
    opacity: 0;
    margin-bottom: 48px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hero-tagline .headline {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 400;
    color: var(--text-primary);
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.hero-tagline .subheadline {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    color: var(--text-secondary);
    font-weight: 300;
}



.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
    opacity: 0;
    z-index: -1;
    filter: blur(40px);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
}

.scroll-indicator span {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 10px;
}

.scroll-indicator .line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    animation: scrollLine 2s infinite;
}

@keyframes scrollLine {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    50.1% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}


/* Sub-sections general */
section {
    padding: 80px 8vw; /* Tightened for better flow */
    max-width: 1600px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.collections {
    padding-top: 20px;
    padding-bottom: 0;
    overflow: visible;
}

.section-header {
    text-align: center;
    margin-bottom: 80px; 
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-title {
    font-size: 2.25rem; /* text-4xl */
    line-height: 1.15;
    font-weight: 600;
    letter-spacing: -0.05em; /* tracking-tighter */
    color: #fff;
}

.section-subtitle {
    font-size: 1rem; /* text-base md:text-xl from source */
    line-height: 1.5;
    color: #9CA3AF; /* gray-400 */
    max-width: 448px; /* max-w-md */
    margin: 16px auto 0;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 3.75rem; /* text-6xl */
    }
    .section-subtitle {
        font-size: 1.25rem; /* text-xl */
    }
}


/* Stats Section */
.stats-section {
    padding: 60px 0; /* Significantly reduced for speed */
    background: transparent;
    position: relative;
    z-index: 5;
}

.stats-container {
    max-width: var(--container);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    padding: 0 60px;
}

/* Collections Stacking Deck */
.cards-container {
    position: relative;
    width: 100%;
    margin-top: 0; /* Zero margin top */
    min-height: 80vh; /* More flexible height */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

@media (max-width: 768px) {
    section {
        padding: 80px 24px;
        text-align: center;
    }

    .hero {
        padding: 120px 24px 60px; 
    }
    .hero-title {
        font-size: clamp(2.6rem, 12vw, 3.5rem) !important;
        letter-spacing: -0.03em !important;
        line-height: 1 !important;
    }
    .hero-tagline .headline {
        font-size: 1.05rem !important;
    }
    .hero-tagline .subheadline {
        font-size: 0.85rem !important;
    }

    /* Professional Horizontal Stats */
    .stats-container {
        flex-direction: row; 
        justify-content: center;
        gap: 20px;
        padding: 0 10px;
    }

    .stat-item {
        flex: 1;
        text-align: center;
    }

    .stat-number-wrapper { font-size: 1.6rem; }
    .stat-label { font-size: 0.45rem; letter-spacing: 0.1em; }

    /* Compact 'Masterpiece' Framed Deck */
    .cards-stack {
        width: 100%; 
        height: auto; 
        min-height: 100vh;
        margin: 0 auto;
        padding-bottom: 10vh; /* Reduced blank space */
    }

    .card {
        height: auto;
        min-height: 420px;
        flex-direction: column;
        padding: 20px;
        align-items: center;
        gap: 32px;
        border-radius: 20px;
    }

    .card-image {
        width: 100%; 
        aspect-ratio: 4 / 3; /* aspect-4/3 mobile */
        height: auto;
        margin-bottom: 0;
        border-radius: 16px; 
        box-shadow: rgba(1, 3, 10, 0.43) 0px 6px 30px;
    }

    .card-content {
        width: 100%;
        padding: 0;
        gap: 16px; /* space-y-4 mobile */
    }

    .card h3 { 
        font-size: 1.4rem;
        font-weight: 600;
        margin-bottom: 0; 
    }
    .card p { 
        font-size: 0.8rem;
        line-height: 1.5;
        color: rgba(255, 255, 255, 0.6) !important;
        margin-bottom: 0;
    }
    .card-icon { width: 20px; height: 20px; margin-bottom: 0; opacity: 0.7; }
    .card-link { font-size: 0.875rem; color: rgba(255, 255, 255, 0.6); }
}

/* Micro-Mobile Polish (480px and below) */
@media (max-width: 480px) {
    nav { width: 92%; padding: 8px 14px; }
    .stats-container { gap: 10px; }
    .stat-number-wrapper { font-size: 1.4rem; }
    
    .cards-stack {
        width: 95%;
        height: auto;
    }
    .card {
        height: auto;
        min-height: 480px;
    }
    .card h3 { font-size: 1.3rem; }
    .card p { font-size: 0.85rem; }
}

.cards-stack {
    position: relative;
    width: 100%;
    max-width: 1152px; /* max-w-6xl */
    display: flex;
    flex-direction: column;
    gap: 0; /* gap-0 mobile */
    margin: 0 auto;
    padding-bottom: 30vh; /* Reduced from 80vh */
}

@media (min-width: 768px) {
    .cards-stack {
        gap: 6.25vh; /* md:gap-[6.25vh] */
        padding-bottom: 12.5vh; /* Consistent spacing for scroll */
    }
}

.card {
    position: sticky;
    top: 25vw; /* top-[25vw] mobile */
    width: 100%;
    background: #0E111B; 
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 24px; /* p-6 mobile */
    border-radius: 24px; /* rounded-3xl approx */
    overflow: hidden;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: rgba(2, 7, 24, 0.38) 0px 2px 20px;
    display: flex;
    flex-direction: column; /* mobile default */
    justify-content: center;
    align-items: center;
    gap: 32px; /* gap-8 extracted from screenshot */
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .card {
        top: 12.5vh; /* md:top-[12.5vh] */
        flex-direction: row;
        padding: 56px 40px; /* md:px-10 md:py-14 */
        gap: 32px;
    }
}

@media (min-width: 1024px) {
    .card {
        padding: 80px 48px; /* lg:px-12 lg:py-20 */
    }
}

.card-image {
    width: 100%; /* mobile */
    aspect-ratio: 4 / 3; /* aspect-4/3 mobile */
    height: auto;
    overflow: hidden;
    border-radius: 16px; /* rounded-2xl */
    flex-shrink: 0;
    box-shadow: rgba(1, 3, 10, 0.43) 0px 6px 30px;
}

@media (min-width: 1024px) {
    .card-image {
        width: 60%; /* lg:w-3/5 */
        aspect-ratio: 16 / 9; /* md:aspect-video */
    }
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.7s ease-in-out; /* duration-700 from screenshot */
}

.card:hover .card-image img {
    transform: scale(1.05); /* hover:scale-105 from screenshot */
}

.card-content {
    width: 100%; /* mobile */
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    gap: 16px; /* space-y-4 from screenshot */
}

@media (min-width: 1024px) {
    .card-content {
        width: 40%; /* lg:w-2/5 */
    }
}

/* Card Specific Aesthetics */
.card-1 { border-top: 1px solid rgba(99, 102, 241, 0.3); }
.card-2 { border-top: 1px solid rgba(245, 151, 104, 0.3); }
.card-3 { border-top: 1px solid rgba(16, 185, 129, 0.3); }
.card-4 { border-top: 1px solid rgba(59, 130, 246, 0.3); }

.text-grad {
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.7) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.card h3 {
    font-size: 1.5rem; /* text-2xl approx */
    font-weight: 600; /* font-semibold */
    text-align: left;
    color: #fff;
    letter-spacing: -0.025em; /* tracking-tight */
    line-height: 1.25; /* leading-tight */
}

@media (min-width: 768px) {
    .card h3 {
        font-size: 1.875rem; /* text-3xl */
    }
}

.card p {
    font-size: 0.875rem; /* text-sm */
    max-width: 100%;
    color: #9CA3AF !important; /* gray-400 */
    line-height: 1.625; /* leading-relaxed */
    text-align: left;
}

@media (min-width: 768px) {
    .card p {
        font-size: 1rem; /* text-base */
    }
}

.card-icon {
    width: 20px; /* size-5 */
    height: 20px;
    color: rgba(255, 255, 255, 0.7);
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px; /* gap-2 */
    font-size: 0.875rem; /* text-sm */
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all 0.3s ease;
}

.card-link:hover {
    color: #fff;
}

.card-link svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.card-link:hover svg {
    transform: translateX(4px); /* group-hover/link:translate-x-1 */
}
.arrow {
    transform: translateX(5px);
}


.card-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0px;
    height: 0px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    box-shadow: 0 0 80px 40px var(--accent-glow);
    opacity: 0;
    transition: opacity 0.6s ease, width 0.6s ease, height 0.6s ease;
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

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

.card-icon {
    width: 20px;
    height: 20px;
    margin-bottom: 8px; /* Reduced margin to match space-y-4 flow */
    color: var(--text-color);
    transition: color 0.4s ease;
}

.card h3 {
    margin-bottom: 8px;
    transition: color 0.4s ease;
}

.card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.05);
}

.card:hover .card-glow {
    opacity: 1;
    width: 300px;
    height: 300px;
}


.card:hover .card-icon,
.card:hover h3 {
    color: var(--accent);
}

@keyframes pulseGlow {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
    100% { transform: translate(-50%, -50%) scale(1.1); opacity: 1; }
}


/* Experience Section Full Width Parallax */
.experience {
    max-width: 100%;
    padding: 200px 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.exp-bg-wrapper {
    position: absolute;
    top: -20%;
    width: 100%;
    height: 140%;
    z-index: -2;
}

.exp-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Native Parallax fallback */
}

.exp-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: -1;
}

.exp-content {
    text-align: center;
    max-width: 800px;
    padding: 0 40px;
}

.exp-content p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    color: #e0e0e0;
}

.btn-primary {
    background: #fff;
    border: none;
    color: #000;
    padding: 18px 48px;
    font-size: 1rem;
    font-weight: 500;
    text-transform: none;
    letter-spacing: -0.01em;
    cursor: pointer;
    border-radius: 100px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
}

.btn-primary:hover {
    background: var(--accent);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}


.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 200%;
    height: 200%;
    background: var(--accent);
    border-radius: 50%;
    transition: transform 0.5s ease;
    z-index: -1;
}

.btn-primary:hover {
    color: #000;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

.btn-primary:hover::before {
    transform: translate(-50%, -50%) scale(1);
}

/* About Section */
.about {
    text-align: center;
    padding: 120px 0;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.about-container .reveal-tagline {
    max-width: 700px;
    margin: 24px auto 0;
}

.about-container p {
    font-size: 1.25rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 24px;
}

.ethos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    margin-top: 80px;
    text-align: left;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.ethos-card {
    padding: 20px 10px;
    background: transparent;
    border: none;
    border-radius: 0;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.ethos-card:hover {
    transform: translateY(-5px);
}

.ethos-icon {
    font-size: 1.8rem;
    margin-bottom: 24px;
    display: block;
    color: var(--accent);
    transition: transform 0.3s ease;
}

.ethos-card:hover .ethos-icon {
    transform: scale(1.1);
}

.ethos-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #fff;
    font-family: 'Outfit', sans-serif;
}

.ethos-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 1024px) {
    .ethos-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 80px auto 0;
    }
}

/* Contact Section */
.contact-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.contact-container .section-header p {
    font-size: 1.25rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
}

.contact-form {
    margin: 40px auto 0;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-group input {
    width: 100%;
    padding: 18px 25px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s, background 0.3s;
}

.input-group input:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.06);
}

/* Footer */
footer {
    text-align: center;
    position: relative;
    z-index: 5;
}

.stats-container {
    max-width: var(--container);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 60px;
    padding: 0 60px;
}

.stat-item {
    flex: 1;
    min-width: 250px;
    text-align: center;
    position: relative;
}

.stat-number-wrapper {
    font-size: clamp(3.5rem, 8vw, 6.5rem);
    font-weight: 400;
    color: var(--accent);
    margin-bottom: 24px;
    letter-spacing: -0.05em;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

.stat-plus {
    font-weight: 200;
    color: #fff;
    opacity: 0.5;
    margin-left: 5px;
}

.stat-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.3em;
    opacity: 0.8;
}


}


















/* CUSTOM OVERRIDE FOR MOBILE NAV AND TEXT */
@media (max-width: 768px) {
    nav {
        position: fixed;
        top: 20px;
        left: 50%;
        transform: translateX(-50%);
        width: 94% !important;
        max-width: 480px;
        background: rgba(10, 10, 10, 0.85);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid rgba(245, 151, 104, 0.25);
        border-radius: 100px;
        padding: 12px 20px !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center;
        z-index: 1000;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }
    .nav-links {
        display: flex !important;
        gap: 12px !important;
        font-size: 0.75rem !important;
        list-style: none;
        margin: 0 !important;
        padding: 0 !important;
        justify-content: center;
        flex: 1;
    }
    .nav-links a {
        padding: 8px 4px; /* Taller tap target */
        white-space: nowrap;
        letter-spacing: 0.02em;
        font-weight: 500;
        color: rgba(255, 255, 255, 0.8);
    }
    .text-grad {
        background: none !important;
        -webkit-text-fill-color: #ffffff !important;
        color: #ffffff !important;
        opacity: 1 !important;
        display: block !important;
        visibility: visible !important;
    }
    .text-mask span {
        transform: translateY(0) !important;
        opacity: 1 !important;
    }
    .card h3, .card p {
        opacity: 1 !important;
        visibility: visible !important;
    }
    .experience {
        padding: 40px 0 !important;
        min-height: auto !important;
    }
    .exp-content {
        margin: 0 !important;
    }
    .cards-stack {
        padding-bottom: 0 !important;
    }
}


/* ============================================================
   THEME TOGGLE BUTTON
   ============================================================ */
.theme-toggle {
    display: flex;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-left: 18px;
    flex-shrink: 0;
}

.toggle-track {
    position: relative;
    display: flex;
    align-items: center;
    width: 54px;
    height: 28px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.light-mode .toggle-track {
    background: linear-gradient(135deg, #c8843a 0%, #d4952a 100%);
    border-color: #b87528;
    box-shadow: 0 0 14px rgba(212, 149, 42, 0.55);
}

.toggle-thumb {
    position: absolute;
    left: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.20);
    border: 1px solid rgba(255, 255, 255, 0.30);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
    color: rgba(255, 255, 255, 0.70);
}

.light-mode .toggle-thumb {
    transform: translateX(26px);
    background: #fff8ee;
    border-color: #e6c27a;
    color: #8b5e0a;
    box-shadow: 0 0 10px rgba(255, 200, 80, 0.70);
}

.toggle-thumb svg {
    width: 13px;
    height: 13px;
    transition: opacity 0.3s ease, transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: absolute;
    top: 50%;
    left: 50%;
    transform-origin: center;
    margin-top: -6.5px;
    margin-left: -6.5px;
}

/* Dark mode: show moon */
.toggle-thumb .icon-sun { 
    opacity: 0; 
    transform: rotate(-180deg) scale(0.5); 
}
.toggle-thumb .icon-moon { 
    opacity: 1; 
    transform: rotate(0deg) scale(1); 
}

/* Light mode: show sun */
.light-mode .toggle-thumb .icon-sun { 
    opacity: 1; 
    transform: rotate(0deg) scale(1); 
}
.light-mode .toggle-thumb .icon-moon { 
    opacity: 0; 
    transform: rotate(180deg) scale(0.5); 
}

@media (max-width: 768px) {
    .section-header {
        margin-bottom: 40px;
        padding: 0 20px;
    }
    .section-title {
        font-size: 2.2rem !important;
        line-height: 1.1 !important;
    }
    .section-subtitle {
        font-size: 0.95rem !important;
        max-width: 100% !important;
        margin-top: 12px !important;
    }
    .lumi-eyebrow {
        margin-bottom: 16px !important;
    }
    
    /* Theme Toggle Mobile */
    .theme-toggle { margin-left: 8px; }
    .toggle-track  { width: 44px; height: 24px; }
    .toggle-thumb  { width: 18px; height: 18px; }
    .light-mode .toggle-thumb { transform: translateX(20px); }
    .toggle-thumb svg { width: 11px; height: 11px; }
}


/* ============================================================
   WARM LIGHT MODE  (.light-mode)
   ============================================================ */
.light-mode {
    --bg-color:        #2C1A0E;
    --text-primary:    #F5ECD7;
    --text-secondary:  rgba(245, 236, 215, 0.70);
    --accent:          #E8A04A;
    --accent-glow:     rgba(232, 160, 74, 0.35);
    --card-bg:         rgba(255, 240, 210, 0.06);
    --border-color:    rgba(255, 230, 180, 0.14);
    --nav-bg:          rgba(30, 16, 6, 0.72);
    background-color: var(--bg-color);
    color: var(--text-primary);
    transition: background-color 0.6s ease, color 0.4s ease;
}

.light-mode .orb-purple { background: radial-gradient(circle, #7B3A10 0%, transparent 70%); }
.light-mode .orb-orange  { background: radial-gradient(circle, #D4852A 0%, transparent 70%); }
.light-mode .orb-blue    { background: radial-gradient(circle, #B0602A 0%, transparent 70%); }

.light-mode nav { background: rgba(28, 12, 4, 0.80) !important; border-color: rgba(220,170,90,0.25) !important; }
.light-mode nav.scrolled { background: rgba(20,8,2,0.92) !important; box-shadow: 0 8px 32px rgba(80,30,0,0.4); }
.light-mode .glitch-link { color: var(--text-secondary); }
.light-mode .glitch-link span:nth-child(2) { color: var(--accent); text-shadow: 0 0 12px rgba(232,160,74,.6); }

.light-mode .hero::after { background: radial-gradient(circle at center, transparent 0%, #2C1A0E 80%); }

.light-mode .card { background: #3A2010; border-color: rgba(220,170,90,0.12); }
.light-mode .card-1 { border-top-color: rgba(180,100,40,0.45); }
.light-mode .card-2 { border-top-color: rgba(232,160,74,0.45); }
.light-mode .card-3 { border-top-color: rgba(200,140,60,0.45); }
.light-mode .card-4 { border-top-color: rgba(160,90,30,0.45); }
.light-mode .card h3  { color: #F5ECD7; }
.light-mode .card p   { color: rgba(245,236,215,0.65) !important; }
.light-mode .card-link { color: rgba(245,236,215,0.55); }
.light-mode .card-link:hover { color: var(--accent); }

.light-mode .text-grad {
    background: linear-gradient(135deg, #F5ECD7 0%, #D4A060 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.light-mode .section-title    { color: #F5ECD7; }
.light-mode .section-subtitle { color: rgba(245,236,215,0.60); }
.light-mode p { color: var(--text-secondary); }

.light-mode .stat-number-wrapper { color: var(--accent); }
.light-mode .stat-plus  { color: #F5ECD7; }
.light-mode .stat-label { color: var(--text-secondary); }

.light-mode .exp-overlay      { background: rgba(20,8,0,0.72); }
.light-mode .exp-content p    { color: #F0DFB5; }

.light-mode .btn-primary { background: #E8A04A; color: #1A0A00; }
.light-mode .btn-primary:hover { background: #f5c070; color: #1A0A00; box-shadow: 0 10px 30px rgba(232,160,74,.30); }
.light-mode .btn-primary::before { background: #f5c070; }

.light-mode .input-group input { background: rgba(255,240,210,0.06); border-color: rgba(220,170,90,.20); color: #F5ECD7; }
.light-mode .input-group input::placeholder { color: rgba(245,236,215,.40); }
.light-mode .input-group input:focus { border-color: var(--accent); background: rgba(255,240,210,.10); }
.light-mode .contact-info p { color: #F5ECD7 !important; }

.light-mode footer p { color: rgba(245,236,215,0.45); }
.light-mode .custom-cursor { background: transparent; border-color: rgba(232, 160, 74, 0.5); mix-blend-mode: normal; }
.light-mode .cursor-dot { background: var(--accent); mix-blend-mode: normal; }
.light-mode .scroll-indicator .line { background: linear-gradient(to bottom, var(--accent), transparent); }
.light-mode .transition-overlay { background-color: #2C1A0E; }
.light-mode .ambient-glow { background: radial-gradient(circle, rgba(232,160,74,0.18) 0%, transparent 50%); }

@media (max-width: 768px) {
    .light-mode .text-grad { background: none !important; -webkit-text-fill-color: #F5ECD7 !important; color: #F5ECD7 !important; }
    .light-mode .card p { color: rgba(245,236,215,0.65) !important; }
}


/* ============================================================
   CARD TEXT VISIBILITY HARD FIX
   Force card titles and descriptions to always be visible
   regardless of GSAP animation state
   ============================================================ */
.card .text-mask span,
.card h3 .text-mask span,
.card p .text-mask span {
    transform: translateY(0) !important;
    opacity: 1 !important;
    filter: none !important;
}

.card h3 {
    opacity: 1 !important;
    visibility: visible !important;
}

.card p {
    opacity: 1 !important;
    visibility: visible !important;
    color: #9CA3AF !important;
}

/* Also fix text-grad on cards - gradient text needs to paint */
.card .text-grad {
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.7) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 1 !important;
}

.card p.text-grad,
.card p .text-grad {
    -webkit-text-fill-color: #9CA3AF !important;
    background: none !important;
    color: #9CA3AF !important;
}

.light-mode .card .text-grad {
    background: none !important;
    -webkit-text-fill-color: #ffffff !important;
    color: #ffffff !important;
    opacity: 1 !important;
}

.light-mode .card p.text-grad,
.light-mode .card p .text-grad {
    -webkit-text-fill-color: rgba(255, 255, 255, 0.8) !important;
    background: none !important;
    color: rgba(255, 255, 255, 0.8) !important;
}


/* ============================================================
   CARD H3 TITLE — HARD PAINT FIX
   The gradient clip fails when combined with GSAP opacity;
   force a solid visible white title on cards at all times.
   ============================================================ */
.card h3,
.card h3.text-mask,
.card h3 .text-mask,
.card h3 .text-grad,
.card h3 span {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    filter: none !important;
}

/* Clear the broken gradient clip on card h3 and use solid colour */
.card h3 .text-grad,
.card h3.text-grad {
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    -webkit-text-fill-color: #ffffff !important;
    color: #ffffff !important;
}

.light-mode .card h3 .text-grad,
.light-mode .card h3.text-grad {
    -webkit-text-fill-color: #F5ECD7 !important;
    color: #F5ECD7 !important;
}


/* ============================================================
   DEFINITIVE CARD TITLE FIX
   Card h3 uses .text-grad which sets -webkit-text-fill-color:
   transparent for gradient clipping. On dark card backgrounds
   the gradient is invisible. Override to solid colour.
   ============================================================ */
.card h3.text-mask,
.card h3.text-mask.text-grad,
.card h3.text-mask > span {
    -webkit-text-fill-color: #ffffff !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    color: #ffffff !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
    filter: none !important;
}

/* Warm mode override for card h3 */

/* ============================================================
   SMART INTERACTION SECTION
   ============================================================ */
.smart-interaction {
    padding: 120px 8vw;
    background: radial-gradient(circle at 20% 50%, rgba(245, 151, 104, 0.05) 0%, transparent 50%);
}

.smart-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
    max-width: 1340px;
    margin: 0 auto;
}

.smart-text-content {
    max-width: 480px;
}

.lumi-eyebrow {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent);
    margin-bottom: 24px;
    display: block;
    font-weight: 500;
}

.smart-interactive-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
    width: 100%;
}

/* Fixture & Light Beam */
.fixture-container {
    position: relative;
    width: 200px;
    height: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ceiling-strip {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    filter: blur(1px);
}

.fixture-body {
    width: 120px;
    height: 8px;
    background: #1a1a1a;
    border-radius: 0 0 12px 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.fixture-chip {
    width: 40px;
    height: 3px;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 0 20px #fff;
    transition: all 0.3s ease;
}

.light-beam {
    position: absolute;
    top: 8px;
    width: 300px;
    height: 500px;
    background: linear-gradient(to bottom, #fff 0%, transparent 100%);
    clip-path: polygon(50% 0%, 15% 100%, 85% 100%);
    opacity: 0.4;
    pointer-events: none;
    z-index: 1;
    transform-origin: top;
    transition: all 0.3s ease;
    mask-image: linear-gradient(to bottom, black 20%, transparent 90%);
}

.ambient-spill {
    position: absolute;
    top: 0;
    width: 300px;
    height: 200px;
    background: radial-gradient(circle at center, #fff 0%, transparent 70%);
    filter: blur(40px);
    opacity: 0.2;
    pointer-events: none;
    transition: all 0.3s ease;
}

/* Phone Mockup */
.phone-mockup {
    position: relative;
    width: 280px;
    height: 580px;
    background: #000;
    border: 10px solid #222;
    border-radius: 45px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), inset 0 0 2px rgba(255, 255, 255, 0.1);
    padding: 20px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.dynamic-island {
    width: 90px;
    height: 24px;
    background: #000;
    margin: 0 auto 30px;
    border-radius: 20px;
    box-shadow: inset 0 0 2px rgba(255, 255, 255, 0.1);
}

.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.room-name {
    font-size: 1.1rem;
    font-weight: 500;
}

.status-indicator {
    font-size: 0.7rem;
    color: var(--text-secondary);
}

.toggle-switch {
    width: 44px;
    height: 24px;
    border-radius: 20px;
    background: #333;
    border: none;
    padding: 3px;
    cursor: pointer;
    display: flex;
    justify-content: flex-start;
    transition: background 0.3s ease;
}

.toggle-switch.active {
    background: var(--accent);
    justify-content: flex-end;
}

.switch-handle {
    width: 18px;
    height: 18px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.control-group {
    margin-bottom: 30px;
}

.control-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.custom-slider {
    position: relative;
    width: 100%;
    height: 44px;
    background: #1a1a1a;
    border-radius: 12px;
    display: flex;
    align-items: center;
    padding: 0 4px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.slider-track {
    position: absolute;
    inset: 4px;
    border-radius: 8px;
    overflow: hidden;
    pointer-events: none;
}

.slider-fill {
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: width 0.1s ease;
}

.slider-thumb {
    position: absolute;
    width: 34px;
    height: 34px;
    background: #fff;
    border-radius: 8px;
    z-index: 2;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: left 0.1s ease;
}

.thumb-detail {
    width: 2px;
    height: 12px;
    background: #ddd;
    border-radius: 2px;
}

.slider-input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 10;
}

.cct-track {
    background: linear-gradient(to right, #ffae00, #ffebd6, #a0d8ef);
}

.scenes-grid {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #222;
}

.scenes-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.scenes-buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.scene-btn {
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 10px 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.scene-btn:hover {
    background: #222;
    border-color: var(--accent);
}

.scene-btn.active {
    background: rgba(245, 151, 104, 0.1);
    border-color: var(--accent);
    box-shadow: 0 0 15px rgba(245, 151, 104, 0.2);
}

.scene-icon {
    font-size: 1.2rem;
}

.scene-name {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #888;
}

.scene-btn.active .scene-name {
    color: #fff;
}

.home-indicator {
    width: 100px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    margin: 20px auto 0;
}

/* Responsiveness */
@media (max-width: 1024px) {
    .smart-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    .smart-text-content {
        margin: 0 auto;
    }
    .smart-interactive-wrapper {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .smart-interaction {
        padding: 60px 4vw;
        overflow: hidden;
    }
    .smart-grid {
        gap: 24px;
    }
    .smart-interactive-wrapper {
        flex-direction: row; /* Force side-by-side */
        justify-content: center;
        align-items: center; /* Perfect vertical alignment */
        gap: 0; /* Tightened for side-by-side balance */
        width: 100%;
        margin-left: 0;
    }
    .fixture-container {
        width: 100px;
        height: 380px;
        transform: scale(0.5);
        margin-bottom: 0;
        display: flex;
        justify-content: flex-start;
    }
    .light-beam {
        width: 160px;
        height: 380px;
    }
    .phone-mockup {
        flex-shrink: 0;
        width: 260px;
        transform: scale(0.65); /* Normalized scale */
        margin-top: 0;
        margin-left: -30px; /* Slight overlap for better integration */
    }
}

/* Smooth Navigation Support */
.instant-load .transition-overlay {
    display: none !important;
}

/* ─── COB TECHNOLOGY SECTION ─── */
.cob-section {
    padding: 120px 8vw;
    background: rgba(8, 8, 8, 0.6);
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.cob-container {
    max-width: 1400px;
    margin: 0 auto;
}

.cob-header {
    text-align: center;
    margin-bottom: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cob-eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.cob-eyebrow::before,
.cob-eyebrow::after {
    content: '';
    width: 30px;
    height: 1px;
    background: var(--accent);
    opacity: 0.4;
}

.cob-title {
    font-family: 'Syncopate', sans-serif;
    font-size: clamp(1.8rem, 4.5vw, 3.2rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
    text-transform: uppercase;
}

.cob-title em {
    font-style: italic;
    color: var(--accent);
    font-weight: 500;
}

.cob-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.7;
    font-weight: 300;
}

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

.cob-card {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 48px 32px;
    border-radius: 28px;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.cob-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(245, 151, 104, 0.08) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.cob-card:hover {
    transform: translateY(-12px);
    border-color: rgba(245, 151, 104, 0.25);
    background: rgba(255, 255, 255, 0.03);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.cob-card:hover::before {
    opacity: 1;
}

.cob-icon {
    font-size: 2.2rem;
    margin-bottom: 28px;
    display: block;
    filter: drop-shadow(0 0 15px rgba(245, 151, 104, 0.2));
}

.cob-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: #fff;
    letter-spacing: -0.02em;
}

.cob-card-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.65;
    font-weight: 300;
}

@media (max-width: 1280px) {
    .cob-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .cob-grid {
        grid-template-columns: 1fr;
    }
    
    .cob-section {
        padding: 80px 5vw;
    }
    
    .cob-header {
        margin-bottom: 50px;
    }
}


