/* ═══════════════════════════════════════════════════════════════
   APNASHOW — Creative Powerhouse | Master Stylesheet
   Dark-mode · Glassmorphism · Cinematic Aesthetic
   ═══════════════════════════════════════════════════════════════ */

/* ─── CSS Custom Properties ─── */
:root {
    /* Core palette */
    --bg-primary: #0a0a0f;
    --bg-secondary: #111118;
    --bg-tertiary: #16161f;
    --bg-card: rgba(22, 22, 31, 0.6);
    --bg-glass: rgba(var(--fg-rgb), 0.03);
    --bg-glass-hover: rgba(var(--fg-rgb), 0.06);

    /* Animated Background Colors */
    --bg-anim-1: rgba(139, 92, 246, 0.07);
    --bg-anim-2: rgba(245, 158, 11, 0.05);
    --bg-anim-3: rgba(6, 182, 212, 0.05);

    /* Accent colors */
    --accent-primary: var(--gold);
    --accent-secondary: var(--accent2);
    --accent-tertiary: #b45309;
    --accent-orange: #f97316;
    --accent-amber: #fcd34d;
    --accent-purple: #a855f7;
    --accent-pink: #ec4899;
    --accent-cyan: #22d3ee;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--gold) 0%, var(--accent2) 100%);
    --gradient-warm: linear-gradient(135deg, #f97316 0%, var(--accent2) 100%);
    --gradient-cool: linear-gradient(135deg, #22d3ee 0%, var(--accent2) 100%);
    --gradient-gold: linear-gradient(135deg, var(--gold) 0%, var(--accent2) 100%);
    --gradient-hero-overlay: linear-gradient(180deg, rgba(10,10,15,0.7) 0%, rgba(10,10,15,0.95) 100%);

    /* Text */
    --text-primary: #f0eef5;
    --text-secondary: rgba(240, 238, 245, 0.65);
    --text-muted: rgba(240, 238, 245, 0.4);
    --text-accent: var(--accent-primary);

    /* Borders */
    --border-subtle: rgba(var(--fg-rgb), 0.08);
    --border-hover: rgba(245, 158, 11, 0.2);
    --border-active: rgba(245, 158, 11, 0.4);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(245, 158, 11, 0.15);
    --shadow-glow-strong: 0 0 80px rgba(245, 158, 11, 0.25);

    /* Typography */
    --font-display: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --section-padding: 120px 0;
    --container-max: 1200px;
    --container-padding: 0 24px;

    /* Transitions */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition-fast: 0.2s var(--ease-out-expo);
    --transition-base: 0.4s var(--ease-out-expo);
    --transition-slow: 0.6s var(--ease-out-expo);
    --transition-slower: 0.8s var(--ease-out-expo);

    /* Border radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    /* cursor: none; */
    position: relative;
}

/* ─── Global Animated Background ─── */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    background: 
        radial-gradient(circle at 20% 30%, var(--bg-anim-1) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, var(--bg-anim-2) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, var(--bg-anim-3) 0%, transparent 50%);
    filter: blur(80px);
    animation: bgMove 20s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes bgMove {
    0% { transform: scale(1) translate(0, 0); }
    50% { transform: scale(1.1) translate(-2%, 2%); }
    100% { transform: scale(1) translate(2%, -2%); }
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    background-image: 
        linear-gradient(rgba(var(--fg-rgb), 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(var(--fg-rgb), 0.015) 1px, transparent 1px);
    background-size: 80px 80px;
    opacity: 0.3;
    pointer-events: none;
}

a {
    text-decoration: none;
    color: inherit;
    /* cursor: none; */
}

button, input, select, textarea {
    font-family: inherit;
    /* cursor: none; */
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

::selection {
    background: rgba(139, 92, 246, 0.3);
    color: var(--text-primary);
}

/* ─── Utility ─── */
.section-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: var(--container-padding);
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ─── Scroll Animations ─── */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
}

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

/* GPU-optimized will-change for continuous scroll animations */
.hero-content,
.hero-stats,
.section-header,
.legacy-card,
.bento-card,
.bento-icon-wrap,
.feature-chip,
.founder-visual,
.founder-content,
.founder-badge,
.pillar,
.ow-featured,
.ow-card,
.ticker-section,
.contact-info,
.contact-form-wrap,
.perk,
.legacy-icon,
.stat,
.footer-grid,
.section-tag {
    will-change: transform, opacity;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}


/* ═══════════════════════════════════════════════════════════════
   CUSTOM CURSOR - TECH STYLE
   ═══════════════════════════════════════════════════════════════ */
.cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 10px;
    height: 10px;
    background: var(--accent-primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    /* transform will be handled in JS for performance */
    box-shadow: 0 0 10px var(--accent-primary), 0 0 20px var(--accent-secondary);
    transition: width 0.3s var(--ease-out-expo),
                height 0.3s var(--ease-out-expo),
                box-shadow 0.3s var(--ease-out-expo);
    animation: cursorPulse 2s ease-in-out infinite;
    will-change: transform;
}

@keyframes cursorPulse {
    0%, 100% { box-shadow: 0 0 10px var(--accent-primary), 0 0 20px var(--accent-secondary); }
    50% { box-shadow: 0 0 15px var(--accent-primary), 0 0 30px var(--accent-secondary), 0 0 45px rgba(251, 191, 36, 0.3); }
}

.cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    width: 50px;
    height: 50px;
    border: 2px solid var(--accent-primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    /* transform will be handled in JS for performance */
    transition: width 0.4s var(--ease-out-expo),
                height 0.4s var(--ease-out-expo),
                border-color 0.4s var(--ease-out-expo),
                background 0.4s var(--ease-out-expo);
    border-top-color: transparent;
    border-bottom-color: transparent;
    will-change: transform;
}

/* Rotating outer ring */
.cursor-ring::before {
    content: '';
    position: absolute;
    inset: -4px;
    border: 1px dashed rgba(251, 191, 36, 0.4);
    border-radius: 50%;
    animation: cursorRotate 10s linear infinite;
}

@keyframes cursorRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.cursor-dot.cursor-hover {
    width: 16px;
    height: 16px;
    background: var(--accent-secondary);
    box-shadow: 0 0 20px var(--accent-primary), 0 0 40px var(--accent-secondary);
}

.cursor-ring.cursor-hover {
    width: 70px;
    height: 70px;
    border-color: var(--accent-primary);
    border-top-color: transparent;
    border-bottom-color: transparent;
    background: rgba(245, 158, 11, 0.05);
    transform: translate(-50%, -50%) rotate(180deg);
}

/* Tech corner accents on cursor */
.cursor-ring::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60px;
    height: 60px;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(251, 191, 36, 0.2);
    border-radius: 50%;
    animation: cursorExpand 3s ease-in-out infinite;
}

@keyframes cursorExpand {
    0%, 100% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.3; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.6; }
}


/* ═══════════════════════════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════════════════════════ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: background var(--transition-base),
                padding var(--transition-base),
                backdrop-filter var(--transition-base);
}

.navbar.scrolled {
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px) saturate(1.5);
    -webkit-backdrop-filter: blur(20px) saturate(1.5);
    padding: 10px 0;
    border-bottom: 1px solid var(--border-subtle);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1001;
}

.logo-image {
    height: 48px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(245, 158, 11, 0.4));
    animation: spinLogo 15s linear infinite;
    transform-origin: center center;
}

@keyframes spinLogo {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 3px;
    color: var(--text-primary);
}

.logo-accent {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 8px;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    transition: color var(--transition-fast), background var(--transition-fast);
    letter-spacing: 0.3px;
}

.nav-link:hover {
    color: var(--text-primary);
    background: var(--bg-glass-hover);
}

.nav-link.active {
    color: var(--text-primary);
    position: relative;
    background: rgba(139, 92, 246, 0.05);
}

.nav-link.active::after {
    content: '_';
    position: absolute;
    right: 4px;
    color: var(--accent-primary);
    animation: blinkCursor 1s step-end infinite;
}

.nav-cta {
    background: var(--gradient-primary) !important;
    color: var(--fg) !important;
    -webkit-text-fill-color: var(--fg);
    font-weight: 600;
    padding: 10px 24px;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.25);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(139, 92, 246, 0.4);
}

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    z-index: 1001;
    cursor: pointer;
}

.hamburger {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text-primary);
    position: relative;
    transition: background var(--transition-fast);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    left: 0;
    transition: transform var(--transition-base);
}

.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

.nav-toggle.active .hamburger {
    background: transparent;
}

.nav-toggle.active .hamburger::before {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active .hamburger::after {
    transform: rotate(-45deg) translate(5px, -5px);
}


/* ═══════════════════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════════════════ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 20%, rgba(139, 92, 246, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 80%, rgba(249, 115, 22, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse 40% 40% at 20% 70%, rgba(34, 211, 238, 0.05) 0%, transparent 50%);
}

/* Hero Badge (Side Watermark) */
.hero-badge-side {
    position: absolute;
    left: 10px;
    bottom: 20vh;
    transform: rotate(-90deg);
    transform-origin: left top;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 5px;
    text-transform: uppercase;
    z-index: 10;
    pointer-events: none;
    opacity: 0.7;
}

.badge-line {
    width: 60px;
    height: 1px;
    background: var(--accent-primary);
    box-shadow: 0 0 10px var(--accent-primary);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero-overlay);
}

.hero-grain {
    position: absolute;
    inset: 0;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-size: 128px 128px;
    pointer-events: none;
}

.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.hero-swarm-canvas {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.8;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 0 24px;
}

/* Hero badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
    margin-bottom: 32px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    backdrop-filter: blur(12px);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 50%;
    animation: pulseDot 2s infinite;
    box-shadow: 0 0 12px rgba(200, 162, 255, 0.5);
}

@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

/* Hero title */
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -2px;
    margin-bottom: 24px;
}

.title-line {
    display: block;
}

.title-accent {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

/* Hero Tech Vibe Additions */
.hero-tech-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(var(--fg-rgb), 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(var(--fg-rgb), 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 1;
    transform: perspective(600px) rotateX(60deg) translateY(-100px) translateZ(-200px);
    transform-origin: top center;
    opacity: 0.6;
    animation: gridMove 15s linear infinite;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 80%);
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 80%);
}

@keyframes gridMove {
    0% { transform: perspective(600px) rotateX(60deg) translateY(0) translateZ(-200px); }
    100% { transform: perspective(600px) rotateX(60deg) translateY(50px) translateZ(-200px); }
}

/* Enhanced tech grid with pulse effect */
.hero-tech-grid::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(251, 191, 36, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.15) 0%, transparent 40%);
    animation: techPulse 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes techPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.hero-scanner {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent-primary);
    box-shadow: 0 0 20px 4px var(--accent-primary);
    z-index: 1;
    opacity: 0.5;
    animation: scannerMove 6s ease-in-out infinite;
}

@keyframes scannerMove {
    0% { top: -10%; opacity: 0; }
    10% { opacity: 0.5; }
    50% { opacity: 0.8; height: 3px; }
    90% { opacity: 0.5; }
    100% { top: 110%; opacity: 0; }
}

/* Floating data nodes */
.hero-tech-grid::before {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 50%;
    top: 20%;
    left: 30%;
    box-shadow:
        40px 60px 0 rgba(251, 191, 36, 0.4),
        -80px 120px 0 rgba(251, 191, 36, 0.3),
        120px -40px 0 rgba(251, 191, 36, 0.5),
        -40px -80px 0 rgba(251, 191, 36, 0.3);
    animation: dataNodes 8s ease-in-out infinite;
    opacity: 0.6;
}

@keyframes dataNodes {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.6; }
    50% { transform: translateY(-20px) scale(1.2); opacity: 1; }
}

/* Hexagon pattern overlay */
.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='49' viewBox='0 0 28 49'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%23fbbf24' fill-opacity='0.03'%3E%3Cpath d='M13.99 9.25l13 7.5v15l-13 7.5L1 31.75v-15l12.99-7.5zM3 17.9v12.7l10.99 6.34 11-6.35V17.9l-11-6.34L3 17.9zM0 15l12.98-7.5V0h-2v6.35L0 12.69v2.3zm0 18.5L12.98 41v8h-2v-6.85L0 35.81v-2.3zM15 0v7.5L27.99 15H28v-2.31h-.01L17 6.35V0h-2zm0 49v-8l12.99-7.5H28v2.31h-.01L17 42.15V49h-2z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    background-size: 40px 70px;
    animation: hexFloat 20s linear infinite;
    pointer-events: none;
    z-index: 2;
}

@keyframes hexFloat {
    0% { background-position: 0 0; }
    100% { background-position: 40px 70px; }
}

/* Circuit lines animation */
.hero-circuit {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.hero-circuit::before,
.hero-circuit::after {
    content: '';
    position: absolute;
    border: 1px solid rgba(251, 191, 36, 0.1);
    border-radius: 50%;
    animation: circuitPulse 3s ease-out infinite;
}

.hero-circuit::before {
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    transform: translate(-50%, -50%);
}

.hero-circuit::after {
    top: 50%;
    left: 50%;
    width: 500px;
    height: 500px;
    transform: translate(-50%, -50%);
    animation-delay: 1.5s;
}

@keyframes circuitPulse {
    0% { opacity: 0; transform: translate(-50%, -50%) scale(0.8); }
    50% { opacity: 0.3; }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(1.2); }
}

.title-highlight {
    position: relative;
    z-index: 1;
    display: inline-block;
    overflow: hidden;
}

.title-highlight::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: -4px;
    right: -4px;
    height: 30%;
    background: rgba(139, 92, 246, 0.2);
    border-radius: 4px;
    z-index: -1;
}

.title-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 30px;
    height: 100%;
    background: rgba(var(--fg-rgb), 0.5);
    transform: skewX(-20deg);
    animation: techScan 4s linear infinite;
    filter: blur(2px);
    z-index: 2;
}

@keyframes techScan {
    0%, 60% { left: -100%; }
    80%, 100% { left: 200%; }
}

/* Hero subtitle */
.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-secondary);
    max-width: 620px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-subtitle strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Hero CTA buttons */
.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: transform var(--transition-fast),
                box-shadow var(--transition-fast),
                background var(--transition-fast);
    letter-spacing: 0.3px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--fg);
    box-shadow: 0 4px 24px rgba(139, 92, 246, 0.3), inset 0 1px 0 rgba(var(--fg-rgb),0.1);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 40px rgba(139, 92, 246, 0.45), inset 0 1px 0 rgba(var(--fg-rgb),0.1);
}

.btn-ghost {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
    backdrop-filter: blur(8px);
}

.btn-ghost:hover {
    background: var(--bg-glass-hover);
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

/* Hero stats */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.stat {
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-plus {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 4px;
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-subtle);
}

/* Scroll indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 2;
    animation: floatScroll 3s ease-in-out infinite;
}

.hero-scroll-indicator span {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 500;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--accent-primary), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes floatScroll {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}




/* ═══════════════════════════════════════════════════════════════
   SECTION HEADERS (shared)
   ═══════════════════════════════════════════════════════════════ */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 16px;
    padding: 6px 16px;
    background: transparent;
    border: 1px solid rgba(139, 92, 246, 0.3);
    position: relative;
}

.section-tag::before {
    content: '[ //';
    color: var(--text-muted);
    margin-right: 6px;
}

.section-tag::after {
    content: ']';
    color: var(--text-muted);
    margin-left: 6px;
}

.section-tag-glow {
    position: absolute;
    top: 50%;
    right: -20px;
    width: 6px;
    height: 1px;
    background: var(--accent-primary);
    box-shadow: 0 0 10px var(--accent-primary);
    animation: blinkCursor 1s step-end infinite;
}

@keyframes blinkCursor {
    50% { opacity: 0; }
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}


/* ═══════════════════════════════════════════════════════════════
   LEGACY SECTION
   ═══════════════════════════════════════════════════════════════ */
.legacy {
    padding: var(--section-padding);
    position: relative;
    background: transparent;
}

.legacy::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-subtle), transparent);
}

.legacy-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
}

.legacy-main {
    grid-row: 1 / 3;
}

.legacy-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform var(--transition-base),
                border-color var(--transition-base),
                box-shadow var(--transition-base);
    position: relative;
}

.legacy-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow);
}

.legacy-card-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.legacy-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out-expo);
}

.legacy-card:hover .legacy-card-image img {
    transform: scale(1.05);
}

.legacy-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--bg-secondary) 0%, transparent 60%);
}

.legacy-card-content {
    padding: 28px;
}

.legacy-card-content h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.legacy-card-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Side cards */
.legacy-side {
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.legacy-side h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
}

.legacy-side p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.legacy-icon {
    font-size: 2rem;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
}

.legacy-card-glow {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.legacy-card:hover .legacy-card-glow {
    opacity: 1;
}


/* ═══════════════════════════════════════════════════════════════
   SERVICES — BENTO GRID
   ═══════════════════════════════════════════════════════════════ */
.services {
    padding: var(--section-padding);
    position: relative;
    background: transparent;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-subtle), transparent);
}

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

.bento-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform var(--transition-base),
                border-color var(--transition-base),
                box-shadow var(--transition-base);
}

.bento-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow);
}

/* Grid layout assignments */
.bento-large {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    min-height: 420px;
}

.bento-medium {
    min-height: 220px;
}

.bento-small {
    min-height: 200px;
}

.bento-wide {
    grid-column: 1 / 4;
    min-height: 180px;
}

/* Bento content */
.bento-bg-image {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.bento-bg-image img,
.bento-bg-image .visual-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out-expo);
    opacity: 0.4;
}

.bento-card:hover .bento-bg-image img,
.bento-card:hover .bento-bg-image .visual-placeholder {
    transform: scale(1.08);
    opacity: 0.55;
}

.bento-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10,10,15,0.9) 0%, rgba(10,10,15,0.7) 100%);
    z-index: 1;
}

.bento-overlay-orange {
    background: linear-gradient(135deg, rgba(10,10,15,0.92) 0%, rgba(249,115,22,0.08) 100%);
}

.bento-overlay-gradient {
    background: linear-gradient(135deg, rgba(10,10,15,0.92) 0%, rgba(139,92,246,0.08) 50%, rgba(249,115,22,0.05) 100%);
}

.bento-content {
    position: relative;
    z-index: 2;
    padding: 28px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.bento-icon-wrap {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    color: var(--accent-primary);
    transition: background var(--transition-fast), transform var(--transition-fast);
}

.bento-card:hover .bento-icon-wrap {
    background: rgba(139, 92, 246, 0.15);
    transform: scale(1.05);
}

.icon-orange {
    background: rgba(249, 115, 22, 0.1);
    border-color: rgba(249, 115, 22, 0.2);
    color: var(--accent-orange);
}

.icon-purple {
    background: rgba(168, 85, 247, 0.1);
    border-color: rgba(168, 85, 247, 0.2);
    color: var(--accent-purple);
}

.icon-amber {
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.2);
    color: var(--accent-amber);
}

.icon-gradient {
    background: linear-gradient(135deg, rgba(139,92,246,0.15), rgba(249,115,22,0.1));
    border-color: rgba(139, 92, 246, 0.2);
    color: var(--accent-primary);
}

.bento-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.bento-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.bento-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.bento-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}

.feature-chip {
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--accent-tertiary);
    background: rgba(139, 92, 246, 0.08);
    border: 1px solid rgba(139, 92, 246, 0.15);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    letter-spacing: 0.5px;
}

.chip-orange {
    color: var(--accent-orange);
    background: rgba(249, 115, 22, 0.08);
    border-color: rgba(249, 115, 22, 0.15);
}

.icon-emerald {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.2);
    color: #10b981;
}

.bento-card:hover .icon-emerald {
    background: rgba(16, 185, 129, 0.18);
}

.bento-overlay-emerald {
    background: linear-gradient(135deg, rgba(10,10,15,0.92) 0%, rgba(16,185,129,0.08) 100%);
}

.chip-emerald {
    color: #34d399;
    background: rgba(16, 185, 129, 0.08);
    border-color: rgba(16, 185, 129, 0.15);
}


/* ═══════════════════════════════════════════════════════════════
   FOUNDER SECTION
   ═══════════════════════════════════════════════════════════════ */
.founder {
    padding: var(--section-padding);
    position: relative;
    background: transparent;
}

.founder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-subtle), transparent);
}

.founder-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 64px;
    align-items: center;
}

/* Founder visual */
.founder-visual {
    display: flex;
    justify-content: center;
}

.founder-image-wrap {
    position: relative;
    width: 320px;
    height: 320px;
}

.founder-image-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(139,92,246,0.15), rgba(249,115,22,0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    border: 2px solid var(--border-subtle);
}

.founder-initials {
    font-family: var(--font-display);
    font-size: 5rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.founder-image-ring {
    position: absolute;
    inset: -16px;
    border-radius: 50%;
    border: 2px dashed rgba(139, 92, 246, 0.2);
    z-index: 1;
    animation: ringRotate 20s linear infinite;
}

.founder-image-ring::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    width: 8px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 12px rgba(200, 162, 255, 0.6);
}

.ring-2 {
    inset: -36px;
    border-color: rgba(139, 92, 246, 0.05);
    border-width: 1px;
    border-style: dashed;
    animation-duration: 30s;
    animation-direction: reverse;
}

.ring-2::before {
    top: -4px;
    background: var(--accent-orange);
    box-shadow: 0 0 12px rgba(249, 115, 22, 0.6);
}

@keyframes ringRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Floating badges */
.founder-badges {
    position: absolute;
    inset: 0;
    z-index: 3;
}

.founder-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(22, 22, 31, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: var(--shadow-md);
}

.badge-emoji {
    font-size: 1.1rem;
}

.badge-float-1 {
    top: 10%;
    right: -20px;
    animation: badgeFloat1 5s ease-in-out infinite;
}

.badge-float-2 {
    bottom: 20%;
    left: -30px;
    animation: badgeFloat2 6s ease-in-out infinite;
}

.badge-float-3 {
    bottom: 5%;
    right: -10px;
    animation: badgeFloat3 4.5s ease-in-out infinite;
}

@keyframes badgeFloat1 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(2deg); }
}

@keyframes badgeFloat2 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(10px) rotate(-2deg); }
}

@keyframes badgeFloat3 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(1deg); }
}

/* Founder content */
.founder-content .section-tag {
    display: inline-block;
}

.founder-intro {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
}

.founder-intro strong {
    color: var(--text-primary);
}

.founder-pillars {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
}

.pillar {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px;
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    transition: border-color var(--transition-fast),
                background var(--transition-fast);
}

.pillar:hover {
    border-color: var(--border-hover);
    background: var(--bg-glass-hover);
}

.pillar-icon {
    font-size: 1.5rem;
    min-width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
}

.pillar-content h4 {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.pillar-content p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Founder quote */
.founder-quote {
    padding: 24px;
    background: var(--bg-glass);
    border-left: 3px solid var(--accent-primary);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.founder-quote blockquote {
    font-size: 1rem;
    font-style: italic;
    color: var(--text-primary);
    line-height: 1.7;
    margin-bottom: 8px;
}

.founder-quote cite {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-style: normal;
    letter-spacing: 0.5px;
}


/* ═══════════════════════════════════════════════════════════════
   TICKER / MARQUEE
   ═══════════════════════════════════════════════════════════════ */
.ticker-section {
    padding: 40px 0;
    overflow: hidden;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    background: rgba(17, 17, 24, 0.6);
    backdrop-filter: blur(10px);
}

.ticker-wrap {
    position: relative;
}

.ticker-wrap::before,
.ticker-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    width: 120px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.ticker-wrap::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-secondary), transparent);
}

.ticker-wrap::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-secondary), transparent);
}

.ticker-track {
    display: flex;
    align-items: center;
    gap: 24px;
    white-space: nowrap;
    animation: tickerScroll 25s linear infinite;
    width: max-content;
}

.ticker-item {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-secondary);
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color var(--transition-fast);
}

.ticker-item:hover {
    color: var(--text-primary);
}

.ticker-dot {
    color: var(--accent-primary);
    font-size: 0.6rem;
    opacity: 0.6;
}

@keyframes tickerScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}


/* ═══════════════════════════════════════════════════════════════
   CONTACT SECTION
   ═══════════════════════════════════════════════════════════════ */
.contact {
    padding: var(--section-padding);
    position: relative;
    background: transparent;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139,92,246,0.06) 0%, transparent 70%);
    pointer-events: none;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.contact-info .section-tag {
    display: inline-block;
}

.contact-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-top: 20px;
    margin-bottom: 32px;
}

.contact-perks {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.perk {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.perk svg {
    color: var(--accent-primary);
    flex-shrink: 0;
}

/* Contact form */
.contact-form-wrap {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 40px;
    backdrop-filter: blur(12px);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    font-size: 0.95rem;
    color: var(--text-primary);
    outline: none;
    transition: border-color var(--transition-fast),
                background var(--transition-fast),
                box-shadow var(--transition-fast);
    -webkit-appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent-primary);
    background: rgba(139, 92, 246, 0.04);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.form-group select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(240,238,245,0.4)' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-group select option {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

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

.btn-submit {
    width: 100%;
    justify-content: center;
    margin-top: 8px;
    font-size: 1rem;
    padding: 16px 32px;
}

.btn-submit:hover {
    box-shadow: 0 8px 40px rgba(139, 92, 246, 0.4), inset 0 1px 0 rgba(var(--fg-rgb),0.1);
}


/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
.footer {
    padding: 80px 0 32px;
    background: rgba(10, 10, 15, 0.7);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border-subtle);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

.footer-tagline {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 16px;
    line-height: 1.6;
}

.footer-links-group h4 {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.footer-links-group ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links-group a {
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: color var(--transition-fast),
                padding-left var(--transition-fast);
}

.footer-links-group a:hover {
    color: var(--text-primary);
    padding-left: 4px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    transition: color var(--transition-fast),
                border-color var(--transition-fast),
                background var(--transition-fast),
                transform var(--transition-fast);
}

.social-link:hover {
    color: var(--accent-primary);
    border-color: var(--border-hover);
    background: rgba(139, 92, 246, 0.08);
    transform: translateY(-3px);
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--border-subtle);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}


/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */

/* ─── Tablet (1024px) ─── */
@media (max-width: 1024px) {
    .hero-content {
        max-width: 700px;
    }

    .hero-title .title-line {
        font-size: 3.2rem;
    }

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

    .legacy-main {
        grid-column: 1 / 3;
        grid-row: auto;
    }

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

    .bento-large {
        grid-column: 1 / 3;
        grid-row: auto;
        min-height: 320px;
    }

    .bento-wide {
        grid-column: 1 / 3;
    }

    .founder-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .founder-visual {
        order: -1;
    }

    .founder-content {
        text-align: center;
    }

    .founder-pillars {
        text-align: left;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

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

    .hero-badge-side {
        display: none;
    }

    .nav-links {
        gap: 4px;
    }

    .nav-link {
        padding: 8px 12px;
        font-size: 0.8rem;
    }

    .nav-cta {
        padding: 8px 18px;
    }
}

/* ─── Mobile (768px) ─── */
@media (max-width: 768px) {
    :root {
        --section-padding: 80px 0;
    }

    /* Navbar — fixed layout: logo left, hamburger right */
    .navbar {
        background: rgba(10, 10, 15, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 8px 0;
        width: 100vw;
        left: 0;
        right: 0;
        box-sizing: border-box;
    }

    .nav-container {
        padding: 0 16px;
        width: 100%;
        box-sizing: border-box;
    }

    /* Logo stays on the left, no absolute positioning */
    .nav-logo {
        position: relative;
        left: auto;
        transform: none;
        gap: 8px;
        flex-shrink: 0;
    }

    .logo-image {
        height: 36px;
    }

    .logo-text {
        font-size: 1.2rem;
        letter-spacing: 2px;
    }

    /* Hide custom cursor on touch devices */
    .cursor-dot, .cursor-ring {
        display: none;
    }

    body {
        cursor: auto;
    }

    a, button, input, select, textarea {
        cursor: auto;
    }

    /* Mobile nav toggle */
    .nav-toggle {
        display: flex;
        flex-shrink: 0;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 280px;
        flex-direction: column;
        align-items: stretch;
        padding: 100px 32px 32px;
        background: rgba(10, 10, 15, 0.95);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        border-left: 1px solid var(--border-subtle);
        transform: translateX(100%);
        transition: transform var(--transition-base);
        gap: 0;
        z-index: 1000;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-link {
        font-size: 1rem;
        padding: 14px 0;
        border-bottom: 1px solid var(--border-subtle);
        border-radius: 0;
    }

    .nav-cta {
        margin-top: 16px;
        text-align: center;
        border-radius: var(--radius-full) !important;
        border-bottom: none;
    }

    /* Hero adjustments */
    .hero {
        min-height: 100svh;
    }

    .hero-content {
        padding: 0 20px;
    }

    .hero-title .title-line {
        font-size: 2.4rem;
        letter-spacing: -1px;
    }

    .hero-title .title-accent {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.7;
        margin-bottom: 28px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

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

    .hero-stats {
        gap: 24px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.65rem;
        letter-spacing: 1px;
    }

    .hero-scroll-indicator {
        display: none;
    }

    .hero-badge-side {
        display: none;
    }

    /* Section headers */
    .section-header {
        margin-bottom: 40px;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-desc {
        font-size: 0.9rem;
        padding: 0 10px;
    }

    /* Legacy */
    .legacy-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .legacy-main {
        grid-column: 1;
    }

    .legacy-card-image {
        height: 200px;
    }

    .legacy-card-content h3 {
        font-size: 1.3rem;
    }

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

    .legacy-side {
        padding: 24px;
    }

    .legacy-side h3 {
        font-size: 1.1rem;
    }

    .legacy-side p {
        font-size: 0.8rem;
    }

    /* Bento */
    .bento-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .bento-large, .bento-wide {
        grid-column: 1;
    }

    .bento-large {
        min-height: 280px;
    }

    .bento-content {
        padding: 24px;
    }

    .bento-title {
        font-size: 1.2rem;
    }

    .bento-desc {
        font-size: 0.85rem;
    }

    .bento-features {
        flex-wrap: wrap;
        gap: 6px;
    }

    .feature-chip {
        font-size: 0.65rem;
        padding: 4px 10px;
    }

    /* Founder */
    .founder-image-wrap {
        width: 220px;
        height: 220px;
    }

    .founder-initials {
        font-size: 3.5rem;
    }

    .founder-badges {
        transform: scale(0.85);
    }

    .founder-intro {
        font-size: 0.95rem;
    }

    .pillar {
        padding: 16px;
    }

    .pillar h4 {
        font-size: 0.95rem;
    }

    .pillar p {
        font-size: 0.8rem;
    }

    .founder-quote blockquote {
        font-size: 1rem;
    }

    /* Contact */
    .contact-form-wrap {
        padding: 24px;
    }

    .contact-desc {
        font-size: 0.9rem;
    }

    .form-group label {
        font-size: 0.8rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 0.9rem;
        padding: 12px 16px;
    }

    /* Ticker */
    .ticker-section {
        padding: 16px 0;
    }

    .ticker-item {
        font-size: 1.1rem;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-brand .logo-image {
        height: 32px;
    }

    .footer {
        padding: 60px 0 24px;
    }

    /* Theme picker */
    .theme-picker {
        bottom: 16px;
        right: 16px;
    }

    .theme-toggle {
        width: 40px;
        height: 40px;
    }

    .theme-btn {
        width: 24px;
        height: 24px;
    }

    /* Tech effects toned down on mobile */
    .hero-tech-grid {
        opacity: 0.3;
    }

    .hero-scanner {
        opacity: 0.4;
    }

    /* Our Work section responsive */
    .ow-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ow-featured-title {
        font-size: 16px;
    }

    .ow-card-title {
        font-size: 12px;
    }
}

/* ─── Small Mobile (480px) ─── */
@media (max-width: 480px) {
    :root {
        --section-padding: 60px 0;
    }

    .nav-container {
        padding: 0 12px;
    }

    .hero-title .title-line {
        font-size: 1.8rem;
    }

    .hero-title .title-accent {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 0.85rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

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

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .section-desc {
        font-size: 0.8rem;
    }

    /* Logo smaller on small screens */
    .logo-image {
        height: 30px;
    }

    .logo-text {
        font-size: 1rem;
        letter-spacing: 1.5px;
    }

    /* Nav toggle smaller */
    .nav-toggle {
        width: 40px;
        height: 40px;
    }

    .nav-links {
        width: 100%;
        padding: 80px 24px 24px;
    }

    /* Legacy */
    .legacy-card-image {
        height: 160px;
    }

    .legacy-icon {
        font-size: 1.5rem;
    }

    /* Bento */
    .bento-content {
        padding: 20px;
    }

    .bento-icon-wrap {
        width: 40px;
        height: 40px;
    }

    .bento-icon-wrap svg {
        width: 20px;
        height: 20px;
    }

    /* Founder */
    .founder-image-wrap {
        width: 180px;
        height: 180px;
    }

    .founder-initials {
        font-size: 3rem;
    }

    .founder-badges {
        transform: scale(0.7);
    }

    .founder-badge {
        font-size: 0.7rem;
        padding: 6px 12px;
    }

    .founder-pillars {
        gap: 12px;
    }

    .pillar {
        padding: 14px;
    }

    .founder-quote blockquote {
        font-size: 0.9rem;
        padding-left: 16px;
    }

    /* Contact */
    .contact-form-wrap {
        padding: 20px;
    }

    .contact-perks {
        gap: 10px;
    }

    .perk span {
        font-size: 0.8rem;
    }

    /* Ticker */
    .ticker-item {
        font-size: 0.9rem;
    }

    .ticker-dot {
        font-size: 0.5rem;
    }

    /* Footer */
    .footer-links-group h4 {
        font-size: 0.85rem;
    }

    .footer-links-group li a {
        font-size: 0.8rem;
    }

    .footer-bottom p {
        font-size: 0.7rem;
    }

    /* Our Work section */
    .ow-grid {
        grid-template-columns: 1fr;
    }

    .ow-featured-placeholder {
        aspect-ratio: 16/10;
    }

    .ow-featured-title {
        font-size: 14px;
    }
}


/* ─── Loading / Page Transition ─── */
.page-loader {
    position: fixed;
    inset: 0;
    z-index: 20000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-primary);
    transition: opacity 0.6s var(--ease-out-expo);
}

.page-loader.loaded {
    opacity: 0;
    pointer-events: none;
}

/* ─── Smooth section reveal ─── */
section {
    position: relative;
}


/* ═══════════════════════════════════════════════════════════════
   VISUAL PLACEHOLDERS (CSS-generated cinematic backgrounds)
   ═══════════════════════════════════════════════════════════════ */
.visual-placeholder {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.visual-placeholder::before,
.visual-placeholder::after {
    content: '';
    position: absolute;
    inset: 0;
}

/* Theater Stage */
.visual-theater {
    background:
        radial-gradient(ellipse 40% 60% at 50% 30%, rgba(220, 38, 38, 0.25) 0%, transparent 60%),
        radial-gradient(ellipse 30% 50% at 25% 50%, rgba(245, 158, 11, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse 30% 50% at 75% 50%, rgba(168, 85, 247, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse 80% 40% at 50% 90%, rgba(10, 10, 15, 0.9) 0%, transparent 70%),
        linear-gradient(180deg, #1a0a0a 0%, #0d0515 40%, #0a0a0f 100%);
}

.visual-theater::before {
    background:
        linear-gradient(90deg, rgba(139, 30, 30, 0.4) 0%, transparent 8%, transparent 92%, rgba(139, 30, 30, 0.4) 100%);
    z-index: 1;
}

.visual-theater::after {
    background:
        radial-gradient(circle 3px at 30% 20%, rgba(255, 200, 100, 0.7) 0%, transparent 100%),
        radial-gradient(circle 4px at 50% 15%, rgba(255, 220, 150, 0.8) 0%, transparent 100%),
        radial-gradient(circle 3px at 70% 22%, rgba(255, 200, 100, 0.6) 0%, transparent 100%),
        radial-gradient(circle 2px at 40% 18%, rgba(200, 162, 255, 0.5) 0%, transparent 100%),
        radial-gradient(circle 2px at 60% 16%, rgba(200, 162, 255, 0.5) 0%, transparent 100%);
    z-index: 2;
    animation: spotlightShimmer 4s ease-in-out infinite alternate;
}

@keyframes spotlightShimmer {
    0% { opacity: 0.7; }
    100% { opacity: 1; }
}

/* Cinema Lens */
.visual-cinema {
    background:
        radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, transparent 20%, rgba(100, 60, 200, 0.08) 22%, transparent 24%),
        radial-gradient(circle at 50% 50%, transparent 35%, rgba(139, 92, 246, 0.06) 37%, transparent 39%),
        radial-gradient(circle at 50% 50%, transparent 48%, rgba(200, 162, 255, 0.05) 50%, transparent 52%),
        radial-gradient(circle at 35% 35%, rgba(255, 200, 100, 0.12) 0%, transparent 30%),
        radial-gradient(circle at 65% 40%, rgba(139, 92, 246, 0.1) 0%, transparent 25%),
        linear-gradient(135deg, #0c0812 0%, #0a0a1a 50%, #0d0a14 100%);
}

.visual-cinema::before {
    background:
        radial-gradient(circle at 50% 50%, rgba(200, 162, 255, 0.2) 0%, rgba(139, 92, 246, 0.05) 30%, transparent 60%);
    z-index: 1;
    animation: lensPulse 5s ease-in-out infinite;
}

.visual-cinema::after {
    background:
        radial-gradient(circle 1px at 40% 30%, rgba(var(--fg-rgb), 0.4) 0%, transparent 100%),
        radial-gradient(circle 1px at 55% 45%, rgba(200, 162, 255, 0.3) 0%, transparent 100%),
        radial-gradient(circle 2px at 62% 35%, rgba(255, 200, 100, 0.3) 0%, transparent 100%);
    z-index: 2;
}

@keyframes lensPulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}

/* Music Studio */
.visual-music {
    background:
        radial-gradient(ellipse 60% 40% at 50% 60%, rgba(139, 92, 246, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse 30% 50% at 20% 50%, rgba(34, 211, 238, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse 40% 30% at 80% 40%, rgba(168, 85, 247, 0.12) 0%, transparent 50%),
        repeating-linear-gradient(90deg, rgba(var(--fg-rgb),0.01) 0px, rgba(var(--fg-rgb),0.01) 1px, transparent 1px, transparent 20px),
        linear-gradient(180deg, #0c0816 0%, #0a0a18 50%, #0a0a0f 100%);
}

.visual-music::before {
    background:
        linear-gradient(0deg,
            rgba(139, 92, 246, 0.05) 0%,
            transparent 3%,
            transparent 6%,
            rgba(34, 211, 238, 0.03) 7%,
            transparent 9%,
            transparent 12%,
            rgba(139, 92, 246, 0.04) 13%,
            transparent 15%);
    background-size: 100% 30px;
    z-index: 1;
    opacity: 0.6;
}

.visual-music::after {
    background:
        radial-gradient(circle 4px at 25% 55%, rgba(34, 211, 238, 0.4) 0%, transparent 100%),
        radial-gradient(circle 3px at 75% 45%, rgba(168, 85, 247, 0.4) 0%, transparent 100%),
        radial-gradient(circle 5px at 50% 50%, rgba(139, 92, 246, 0.2) 0%, transparent 100%);
    z-index: 2;
    animation: studioGlow 3s ease-in-out infinite alternate;
}

@keyframes studioGlow {
    0% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* Lighting Design */
.visual-lighting {
    background:
        conic-gradient(from 180deg at 50% 30%, rgba(245, 158, 11, 0.2) 0deg, transparent 60deg, rgba(168, 85, 247, 0.15) 120deg, transparent 180deg, rgba(245, 158, 11, 0.1) 240deg, transparent 300deg, rgba(139, 92, 246, 0.15) 360deg),
        radial-gradient(ellipse 50% 70% at 50% 20%, rgba(245, 158, 11, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse 40% 60% at 30% 25%, rgba(168, 85, 247, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse 40% 60% at 70% 25%, rgba(255, 200, 100, 0.12) 0%, transparent 50%),
        linear-gradient(180deg, #0a0812 0%, #0a0a0f 100%);
}

.visual-lighting::before {
    background:
        linear-gradient(160deg, transparent 40%, rgba(245, 158, 11, 0.06) 41%, rgba(245, 158, 11, 0.02) 55%, transparent 56%),
        linear-gradient(200deg, transparent 40%, rgba(168, 85, 247, 0.06) 41%, rgba(168, 85, 247, 0.02) 55%, transparent 56%),
        linear-gradient(180deg, transparent 30%, rgba(var(--fg-rgb), 0.02) 31%, rgba(var(--fg-rgb), 0.01) 50%, transparent 51%);
    z-index: 1;
}

.visual-lighting::after {
    background:
        radial-gradient(circle 3px at 35% 15%, rgba(245, 158, 11, 0.6) 0%, transparent 100%),
        radial-gradient(circle 3px at 50% 12%, rgba(var(--fg-rgb), 0.5) 0%, transparent 100%),
        radial-gradient(circle 3px at 65% 15%, rgba(168, 85, 247, 0.5) 0%, transparent 100%),
        radial-gradient(circle 2px at 30% 18%, rgba(255, 200, 100, 0.4) 0%, transparent 100%),
        radial-gradient(circle 2px at 70% 18%, rgba(200, 162, 255, 0.4) 0%, transparent 100%);
    z-index: 2;
    animation: lightsFlicker 6s ease-in-out infinite;
}

@keyframes lightsFlicker {
    0%, 100% { opacity: 0.8; }
    30% { opacity: 1; }
    50% { opacity: 0.6; }
    70% { opacity: 0.9; }
}


/* ─── Accessibility: Reduced Motion ─── */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .animate-on-scroll {
        opacity: 1;
        transform: none;
    }

    .ticker-track {
        animation: none;
    }
}

/* ═══════════════════════════════════════════════════════════════
   THEME OVERRIDES
   ═══════════════════════════════════════════════════════════════ */
[data-theme="amber"] {
    --accent-primary: #f59e0b;
    --accent-secondary: #fbbf24;
    --accent-tertiary: #d97706;
    --gradient-primary: linear-gradient(135deg, #fcd34d 0%, #f59e0b 50%, #d97706 100%);
    --shadow-glow: 0 0 40px rgba(245, 158, 11, 0.15);
    --shadow-glow-strong: 0 0 80px rgba(245, 158, 11, 0.25);
    --border-hover: rgba(245, 158, 11, 0.2);
    --border-active: rgba(245, 158, 11, 0.4);
}

[data-theme="cyan"] {
    --accent-primary: #06b6d4;
    --accent-secondary: #22d3ee;
    --accent-tertiary: #0891b2;
    --gradient-primary: linear-gradient(135deg, #67e8f9 0%, #06b6d4 50%, #0891b2 100%);
    --shadow-glow: 0 0 40px rgba(6, 182, 212, 0.15);
    --shadow-glow-strong: 0 0 80px rgba(6, 182, 212, 0.25);
    --border-hover: rgba(6, 182, 212, 0.2);
    --border-active: rgba(6, 182, 212, 0.4);
}

[data-theme="pink"] {
    --accent-primary: #ec4899;
    --accent-secondary: #f472b6;
    --accent-tertiary: #db2777;
    --gradient-primary: linear-gradient(135deg, #f9a8d4 0%, #ec4899 50%, #db2777 100%);
    --shadow-glow: 0 0 40px rgba(236, 72, 153, 0.15);
    --shadow-glow-strong: 0 0 80px rgba(236, 72, 153, 0.25);
    --border-hover: rgba(236, 72, 153, 0.2);
    --border-active: rgba(236, 72, 153, 0.4);
}

[data-theme="emerald"] {
    --accent-primary: #10b981;
    --accent-secondary: #34d399;
    --accent-tertiary: #059669;
    --gradient-primary: linear-gradient(135deg, #6ee7b7 0%, #10b981 50%, #059669 100%);
    --shadow-glow: 0 0 40px rgba(16, 185, 129, 0.15);
    --shadow-glow-strong: 0 0 80px rgba(16, 185, 129, 0.25);
    --border-hover: rgba(16, 185, 129, 0.2);
    --border-active: rgba(16, 185, 129, 0.4);
}

/* ─── Theme Picker UI ─── */
.theme-picker {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 9999;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 16px;
}

.theme-toggle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    /* cursor: none; */
    backdrop-filter: blur(12px);
    transition: all 0.3s var(--ease-out-expo);
}

.theme-toggle:hover {
    background: var(--bg-glass-hover);
    border-color: var(--accent-primary);
    transform: scale(1.05);
}

.theme-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s var(--ease-out-expo);
    background: var(--bg-card);
    padding: 12px;
    border-radius: 30px;
    border: 1px solid var(--border-subtle);
    backdrop-filter: blur(12px);
}

.theme-picker.open .theme-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.theme-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--btn-color);
    border: 2px solid transparent;
    /* cursor: none; */
    transition: transform 0.2s, border-color 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.theme-btn:hover {
    transform: scale(1.15);
}

.theme-btn.active {
    border-color: var(--fg);
    box-shadow: 0 0 12px var(--btn-color);
}

/* ═══════════════════════════════════════════════════════════════
   GLOBAL TECH UPGRADES
   ═══════════════════════════════════════════════════════════════ */
/* Tech Hover Scan Line for Cards */
.legacy-card::before, .bento-card::before {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent-primary);
    box-shadow: 0 0 12px 1px var(--accent-primary);
    transition: none;
    z-index: 10;
    opacity: 0;
    pointer-events: none;
}

.legacy-card:hover::before, .bento-card:hover::before {
    animation: cardScan 2s linear infinite;
    opacity: 1;
}

@keyframes cardScan {
    0% { top: -10%; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 110%; opacity: 0; }
}

/* Form focus tech styling */
.form-control:focus {
    border-color: var(--accent-primary) !important;
    background: rgba(139, 92, 246, 0.05) !important;
    box-shadow: inset 4px 0 0 var(--accent-primary) !important;
    outline: none;
}
#quick-nav {
    position: fixed !important;
    right: 24px !important;
    bottom: 100px !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    z-index: 10000 !important;
    pointer-events: auto !important;
}

#quick-nav .quick-nav-btn {
    width: 48px !important;
    height: 48px !important;
    border-radius: 12px !important; /* More squarish tech look */
    background: var(--bg-card) !important;
    border: 1px solid var(--border-subtle) !important;
    color: var(--text-primary) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: none !important;
    backdrop-filter: blur(16px) !important;
    transition: all 0.4s var(--ease-out-expo) !important;
    opacity: 0.25 !important;
    box-shadow: var(--shadow-md) !important;
}

#quick-nav .quick-nav-btn:hover {
    opacity: 0.9 !important;
    transform: translateY(-4px) !important;
    background: var(--bg-glass-hover) !important;
    border-color: var(--accent-primary) !important;
    color: var(--accent-primary) !important;
    box-shadow: var(--shadow-glow) !important;
}

.quick-nav-btn svg {
    transition: transform 0.3s var(--ease-out-expo);
}

.quick-nav-btn:active {
    transform: scale(0.9);
}

/* Hide scroll top initially */
#scroll-to-top {
    display: none;
}

#scroll-to-top.visible {
    display: flex;
}

@media (max-width: 768px) {
    #quick-nav {
        right: 12px !important;
        bottom: 80px !important;
        gap: 8px !important;
    }
    #quick-nav .quick-nav-btn {
        width: 38px !important;
        height: 38px !important;
        cursor: auto !important;
    }
}

/* ===== APNASHOW PATCH: mobile overflow fix, Bebas letter-spacing, gold shimmer nav, Host FAB ===== */
@media (max-width:768px){
  html,body{overflow-x:hidden!important;width:100%;max-width:100vw}
  body{position:relative}
  .hc-section,.hc-track,.hc-overlay,.hc-content,section,header,nav,footer{max-width:100vw}
  .city-dropdown-box{width:92vw!important;max-width:92vw!important}
  h1,h2,h3,.hc-title,.hc-badge,.hero-badge{word-break:break-word;overflow-wrap:anywhere}
}
.section-label,.slider-title,.hc-title,.card-price,.zone-card-price,.zone-price,.ad-amount,.stat-num,.hiw-num,.tc-count,.event-price,.qt-price,.total-amount,.card-badge,.event-badge,.screen-label,.bk-screen-label{letter-spacing:0.12em!important}
@keyframes cxGoldShimmer{0%{background-position:-150% 0}100%{background-position:250% 0}}
.cx-bnav-tab.active span{background:linear-gradient(90deg,var(--gold) 0%,#fff3d6 50%,var(--gold) 100%);background-size:200% 100%;-webkit-background-clip:text;background-clip:text;color:transparent;animation:cxGoldShimmer 2.2s linear infinite}
.cx-host-fab{display:none;position:fixed;right:16px;bottom:78px;z-index:9998;width:56px;height:56px;border-radius:50%;background:linear-gradient(135deg,var(--gold),var(--gold2));box-shadow:0 6px 20px rgba(var(--gold-rgb),0.45);align-items:center;justify-content:center;text-decoration:none;color:var(--on-accent);animation:cxFabPulse 2.5s ease-in-out infinite}
.cx-host-fab svg{width:24px;height:24px;stroke:var(--on-accent);stroke-width:2.2;fill:none;stroke-linecap:round;stroke-linejoin:round}
@keyframes cxFabPulse{0%,100%{box-shadow:0 6px 20px rgba(var(--gold-rgb),0.45)}50%{box-shadow:0 6px 30px rgba(var(--gold-rgb),0.75)}}
@media(max-width:768px){.cx-host-fab{display:flex}}


/* Hide logo text in mobile view */
@media (max-width: 768px) {
  .logo-text-styled {
    display: none !important;
  }
}


/* Hide plus button FAB globally */
.cx-host-fab {
  display: none !important;
}
