/* Home-page copy of global.css: the @import of Google Fonts (Inter + Space Grotesk, a render-blocking chain) is removed and the two
   Space Grotesk rules use the site heading font. Keep in step with global.css. */
/* SAGERANK SENTINEL — GLOBAL INTELLIGENCE STYLES */
400;500;600;700;800&family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

*, *::before, *::after {
    box-sizing: border-box;
}

:root {
    --primary: #0ea5e9;
    --primary-rgb: 14, 165, 233;
    --secondary: #d946ef;
    --secondary-rgb: 217, 70, 239;
    --tertiary: #f59e0b;
    --tertiary-rgb: 245, 158, 11;
    --background: #050505;
    --surface: #0a0a0a;
    --surface-variant: #121212;
    --on-surface: #ffffff;
    --on-surface-variant: #94a3b8;
    --outline: rgba(255, 255, 255, 0.08);
    --grad-primary: linear-gradient(135deg, #0ea5e9 0%, #2dd4bf 100%);
    --grad-secondary: linear-gradient(135deg, #d946ef 0%, #8b5cf6 100%);
    --grad-tertiary: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
    --mouse-x: 50%;
    --mouse-y: 50%;

    /* Fluid font scaling */
    --fs-xs:   clamp(0.625rem, 1.5vw, 0.6875rem);
    --fs-sm:   clamp(0.75rem,  2vw,   0.875rem);
    --fs-base: clamp(0.9rem,   2.5vw, 1rem);
    --fs-lg:   clamp(1rem,     3vw,   1.25rem);
    --fs-xl:   clamp(1.25rem,  4vw,   1.5rem);
    --fs-2xl:  clamp(1.5rem,   5vw,   2rem);
    --fs-3xl:  clamp(1.75rem,  5.5vw, 2.5rem);
    --fs-4xl:  clamp(2rem,     6vw,   3rem);
    --fs-hero: clamp(2.25rem,  8vw,   5rem);
}

html {
    width: 100%;
    max-width: 100vw;
    overflow-x: clip;
}

body {
    width: 100%;
    max-width: 100vw;
    margin: 0;
    padding: 0;
    overflow-x: clip;
    position: relative;
    background-color: var(--background);
}

.font-headline {
    font-family: var(--font-head), sans-serif;
}

/* =============================================
   GLASSMORPHISM COMPONENTS (PERFECTLY ALIGNED SHADING)
   ============================================= */
.glass-card {
    background: rgba(10, 16, 28, 0.65);
    backdrop-filter: blur(28px) saturate(190%);
    -webkit-backdrop-filter: blur(28px) saturate(190%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 10px 30px -5px rgba(0, 0, 0, 0.6),
        0 0 20px -2px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.2),
        inset 0 0 16px 0 rgba(255, 255, 255, 0.02);
    border-radius: 1.5rem;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.glass-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 
        0 20px 45px -10px rgba(0, 0, 0, 0.75),
        0 0 30px -5px rgba(14, 165, 233, 0.2),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.35);
}

/* Dropdown */
.dropdown-card {
    background: #080c16 !important;
    background-color: #080c16 !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    box-shadow: 
        0 25px 60px -10px rgba(0, 0, 0, 0.98),
        0 0 35px rgba(14, 165, 233, 0.18),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.25) !important;
    border-radius: 1.5rem !important;
    opacity: 1 !important;
    z-index: 100 !important;
}

/* Chromatic Glass Variants */
.glass-primary {
    background: linear-gradient(145deg, rgba(14, 165, 233, 0.08) 0%, rgba(10, 16, 28, 0.7) 100%);
    border-color: rgba(14, 165, 233, 0.25);
    box-shadow: 
        0 10px 30px -5px rgba(0, 0, 0, 0.6),
        0 0 25px -5px rgba(14, 165, 233, 0.15),
        inset 0 1px 0 0 rgba(56, 189, 248, 0.35);
}
.glass-primary:hover {
    border-color: rgba(14, 165, 233, 0.45);
    box-shadow: 
        0 20px 45px -10px rgba(0, 0, 0, 0.75),
        0 0 35px -5px rgba(14, 165, 233, 0.3),
        inset 0 1px 0 0 rgba(56, 189, 248, 0.5);
}

.glass-secondary {
    background: linear-gradient(145deg, rgba(217, 70, 239, 0.08) 0%, rgba(10, 16, 28, 0.7) 100%);
    border-color: rgba(217, 70, 239, 0.25);
    box-shadow: 
        0 10px 30px -5px rgba(0, 0, 0, 0.6),
        0 0 25px -5px rgba(217, 70, 239, 0.15),
        inset 0 1px 0 0 rgba(244, 114, 182, 0.35);
}
.glass-secondary:hover {
    border-color: rgba(217, 70, 239, 0.45);
    box-shadow: 
        0 20px 45px -10px rgba(0, 0, 0, 0.75),
        0 0 35px -5px rgba(217, 70, 239, 0.3),
        inset 0 1px 0 0 rgba(244, 114, 182, 0.5);
}

.glass-tertiary {
    background: linear-gradient(145deg, rgba(245, 158, 11, 0.08) 0%, rgba(10, 16, 28, 0.7) 100%);
    border-color: rgba(245, 158, 11, 0.25);
    box-shadow: 
        0 10px 30px -5px rgba(0, 0, 0, 0.6),
        0 0 25px -5px rgba(245, 158, 11, 0.15),
        inset 0 1px 0 0 rgba(251, 191, 36, 0.35);
}
.glass-tertiary:hover {
    border-color: rgba(245, 158, 11, 0.45);
    box-shadow: 
        0 20px 45px -10px rgba(0, 0, 0, 0.75),
        0 0 35px -5px rgba(245, 158, 11, 0.3),
        inset 0 1px 0 0 rgba(251, 191, 36, 0.5);
}

/* Scrollbar and Platter Utilities */
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

.mobile-platter-chip {
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    background: rgba(12, 18, 30, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #94a3b8;
    transition: all 0.2s ease;
    flex-shrink: 0;
}
.mobile-platter-chip:hover, .mobile-platter-chip.active {
    background: rgba(14, 165, 233, 0.15);
    border-color: rgba(14, 165, 233, 0.4);
    color: #ffffff;
    box-shadow: 0 0 15px rgba(14, 165, 233, 0.2);
}

/* =============================================
   MOBILE MENU (GLASSMORPHISM)
   ============================================= */
#mobile-menu {
    background: rgba(4, 6, 10, 0.95);
    backdrop-filter: blur(40px) saturate(200%);
    -webkit-backdrop-filter: blur(40px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    /* Hidden by default - JS adds .active to show */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-16px);
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 0s linear 0.4s;
}
#mobile-menu.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 0s linear 0s;
}

/* Burger animation */
.burger-line { transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1); }
.burger-active .line-1 { transform: translateY(7px) rotate(45deg);  }
.burger-active .line-2 { opacity: 0; transform: scaleX(0); }
.burger-active .line-3 { transform: translateY(-7px) rotate(-45deg); }

/* =============================================
   PRISMATIC MULTI-COLOR AMBIENT BACKGROUND FX
   ============================================= */
.ambient-blobs-bg {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
    filter: hue-rotate(0deg) saturate(135%);
}

.ambient-blob {
    position: absolute;
    filter: blur(120px);
    opacity: 0.32;
    border-radius: 50%;
    will-change: transform;
}

/* 1. Electric Cyan (Top-Left) */
.ambient-blob.blob-cyan {
    top: 5%;
    left: 8%;
    width: 620px;
    height: 620px;
    background: radial-gradient(circle at 35% 35%, #38bdf8 0%, #0ea5e9 40%, rgba(30, 58, 138, 0.75) 75%, transparent 100%);
    animation: floatPath1 20s ease-in-out infinite alternate;
}

/* 2. Vivid Magenta / Orchid (Top-Right) */
.ambient-blob.blob-magenta {
    top: 15%;
    right: 8%;
    width: 660px;
    height: 660px;
    background: radial-gradient(circle at 40% 40%, #f43f5e 0%, #d946ef 45%, #7c3aed 80%, transparent 100%);
    animation: floatPath2 24s ease-in-out infinite alternate;
}

/* 3. Golden Amber / Coral (Bottom-Right) */
.ambient-blob.blob-amber {
    bottom: 8%;
    right: 18%;
    width: 640px;
    height: 640px;
    background: radial-gradient(circle at 45% 45%, #fbbf24 0%, #f97316 40%, #e11d48 75%, transparent 100%);
    animation: floatPath3 19s ease-in-out infinite alternate;
}

/* 4. Emerald Neon / Mint (Bottom-Left) */
.ambient-blob.blob-emerald {
    bottom: 5%;
    left: 15%;
    width: 670px;
    height: 670px;
    background: radial-gradient(circle at 50% 50%, #34d399 0%, #14b8a6 40%, #0369a1 80%, transparent 100%);
    animation: floatPath4 25s ease-in-out infinite alternate;
}

/* 5. Royal Purple Nexus (Center Drift) */
.ambient-blob.blob-purple {
    top: 40%;
    left: 35%;
    width: 520px;
    height: 520px;
    background: radial-gradient(circle at 40% 40%, #818cf8 0%, #6366f1 45%, #312e81 85%, transparent 100%);
    animation: floatPath5 22s ease-in-out infinite alternate;
}

@keyframes floatPath1 {
    0%   { transform: translate3d(0, 0, 0) scale(1) rotate(0deg); }
    33%  { transform: translate3d(80px, 60px, 0) scale(1.08) rotate(15deg); }
    66%  { transform: translate3d(-50px, 110px, 0) scale(0.94) rotate(-10deg); }
    100% { transform: translate3d(60px, -40px, 0) scale(1.12) rotate(20deg); }
}

@keyframes floatPath2 {
    0%   { transform: translate3d(0, 0, 0) scale(1) rotate(0deg); }
    40%  { transform: translate3d(-90px, -70px, 0) scale(1.1) rotate(-20deg); }
    75%  { transform: translate3d(50px, 80px, 0) scale(0.92) rotate(15deg); }
    100% { transform: translate3d(-70px, 40px, 0) scale(1.05) rotate(-10deg); }
}

@keyframes floatPath3 {
    0%   { transform: translate3d(0, 0, 0) scale(1); }
    50%  { transform: translate3d(-100px, -80px, 0) scale(1.12); }
    100% { transform: translate3d(70px, -50px, 0) scale(0.95); }
}

@keyframes floatPath4 {
    0%   { transform: translate3d(0, 0, 0) scale(0.96); }
    50%  { transform: translate3d(110px, -90px, 0) scale(1.14); }
    100% { transform: translate3d(-70px, 60px, 0) scale(1.02); }
}

@keyframes floatPath5 {
    0%   { transform: translate3d(0, 0, 0) scale(1) rotate(0deg); }
    50%  { transform: translate3d(80px, 60px, 0) scale(1.15) rotate(25deg); }
    100% { transform: translate3d(-80px, -60px, 0) scale(0.92) rotate(-25deg); }
}

@media (max-width: 768px) {
    .ambient-blob {
        filter: blur(80px);
        opacity: 0.28;
    }
    .ambient-blob.blob-cyan { width: 340px; height: 340px; }
    .ambient-blob.blob-magenta { width: 360px; height: 360px; }
    .ambient-blob.blob-amber { width: 340px; height: 340px; }
    .ambient-blob.blob-emerald { width: 360px; height: 360px; }
    .ambient-blob.blob-purple { width: 300px; height: 300px; }
}

/* Legacy color-blob support */
.color-blob {
    display: none;
}

/* =============================================
   TYPOGRAPHY
   ============================================= */
.hyper-gradient {
    background: linear-gradient(135deg, #ffffff 0%, #0ea5e9 50%, #d946ef 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: gradient-flow 5s linear infinite;
}
.hyper-gradient-secondary {
    background: linear-gradient(135deg, #d946ef 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes gradient-flow {
    0%  { background-position: 0% center;   }
    100%{ background-position: 200% center; }
}

/* Responsive headings */
.hero-h1 {
    font-size: clamp(2rem, 8vw, 5rem);
    line-height: 1;
    letter-spacing: -0.03em;
}
.section-h2 {
    font-size: clamp(1.75rem, 5.5vw, 4rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
}
.section-h3 {
    font-size: clamp(1.25rem, 4vw, 2rem);
    line-height: 1.1;
}

/* =============================================
   TERMINAL
   ============================================= */
.terminal-window {
    background: #020202;
    border: 1px solid rgba(14,165,233,0.2);
    box-shadow: 0 0 30px rgba(14,165,233,0.1);
}

/* =============================================
   ANIMATIONS & UTILITIES
   ============================================= */
@keyframes shimmer {
    0%   { transform: translateX(-100%); }
    100% { transform: translateX(100%);  }
}
@keyframes gold-flow {
    0%   { filter: hue-rotate(0deg)   brightness(1);   }
    50%  { filter: hue-rotate(15deg)  brightness(1.2); }
    100% { filter: hue-rotate(0deg)   brightness(1);   }
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* 3D Utilities — disabled on mobile to prevent overflow */
.perspective-2000  { perspective: 2000px; }
.preserve-3d       { transform-style: preserve-3d; }
.translate-z-50    { transform: translateZ(50px); }
.translate-z-100   { transform: translateZ(100px); }

@media (max-width: 1023px) {
    .perspective-2000 { perspective: none; }
    #terminal-tilt,
    #extension-tilt {
        transform: none !important;
    }
    #dashboard-tilt {
        transform: none !important;
    }
}

@keyframes bounce-slow {
    0%, 100% { transform: translateY(0) translateZ(50px);   }
    50%       { transform: translateY(-12px) translateZ(50px); }
}
.animate-bounce-slow { animation: bounce-slow 4s ease-in-out infinite; }

/* Mouse halo — desktop only */
.mouse-halo {
    position: fixed;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(14,165,233,0.1) 0%, rgba(217,70,239,0.1) 30%, rgba(245,158,11,0.1) 60%, transparent 80%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    filter: blur(80px);
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 1s ease;
}
@media (max-width: 768px) { .mouse-halo { display: none; } }

/* Blueprint dots */
.bg-dots {
    background-image: radial-gradient(circle at 2px 2px, rgba(255,255,255,0.05) 1px, transparent 0);
    background-size: 24px 24px;
}

/* Masks */
.mask-radial {
    mask-image: radial-gradient(circle at center, black, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black, transparent 80%);
}
.mask-linear-b {
    mask-image: linear-gradient(to bottom, black 60%, transparent);
    -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent);
}

/* =============================================
   CUSTOM SCROLLBAR
   ============================================= */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--background); }
::-webkit-scrollbar-thumb { background: var(--surface-variant); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }
.no-scrollbar::-webkit-scrollbar { display: none; }

/* =============================================
   MOBILE SNAP CAROUSEL
   ============================================= */
.snap-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 1.5rem;
    gap: 1rem;
}
.snap-carousel::-webkit-scrollbar { display: none; }

.snap-item {
    flex: 0 0 82%;
    scroll-snap-align: start;
}
.snap-item:last-child { margin-right: 1rem; }

/* Carousel indicators */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
    margin-bottom: 1.5rem;
}
.indicator-dot {
    width: 6px; height: 6px;
    border-radius: 9999px;
    background: rgba(255,255,255,0.12);
    transition: all 0.3s ease;
}
.indicator-dot.active {
    width: 24px;
    background: var(--primary);
    border-radius: 4px;
}

/* Carousel fade edge */
.carousel-mask { position: relative; }
.carousel-mask::after {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 1.5rem;
    width: 50px;
    background: linear-gradient(to right, transparent, rgba(0,0,0,0.5));
    pointer-events: none;
    z-index: 10;
    border-radius: 0 1.5rem 1.5rem 0;
}

/* Desktop: switch snap → grid */
@media (min-width: 1024px) {
    .carousel-indicators,
    .carousel-mask::after { display: none !important; }

    .snap-carousel {
        display: grid !important;
        overflow-x: visible !important;
        scroll-snap-type: none !important;
        padding-bottom: 0 !important;
        gap: 2rem;
    }

/* =============================================
   MAIN HEADER & MEGA-MENU ARCHITECTURE
   ============================================= */

header.main-header {
    transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}

header.main-header.scrolled {
    background: rgba(2, 4, 10, 0.85) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
}

/* Mega-Menu Container Styling */
.mega-menu-card {
    background: #080c16 !important;
    background-color: #080c16 !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    box-shadow: 
        0 30px 70px -10px rgba(0, 0, 0, 0.98),
        0 0 40px rgba(14, 165, 233, 0.2),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.25) !important;
    border-radius: 1.75rem !important;
    opacity: 1 !important;
    z-index: 100 !important;
}

/* Spotlight Card inside Mega-Menu */
.mega-spotlight-card {
    background: linear-gradient(145deg, rgba(14, 165, 233, 0.08) 0%, rgba(217, 70, 239, 0.06) 100%);
    border: 1px solid rgba(14, 165, 233, 0.2);
    border-radius: 1.25rem;
    transition: all 0.3s ease;
}

.mega-spotlight-card:hover {
    border-color: rgba(14, 165, 233, 0.45);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(14, 165, 233, 0.25);
}
    .snap-item {
        flex: none !important;
        margin-right: 0 !important;
    }
}

/* =============================================
   HUBSPOT OVERRIDES
   ============================================= */
.hs-backlink,[class*="hs-backlink"],.hs-form-frame + a,
.hs-cta-embed-branding,footer.hs-footer {
    display: none !important; visibility: hidden !important;
    opacity: 0 !important; height: 0 !important; pointer-events: none !important;
}
.hubspot-dark-theme + a,
[href*="hubspot.com/products/marketing/forms"],
.hs-form-frame ~ a { display: none !important; height: 0 !important; opacity: 0 !important; pointer-events: none !important; }

/* =============================================
   GLOBAL SECTION SPACING (mobile-first)
   ============================================= */
.section-padding {
    padding-top: clamp(3rem, 8vw, 8rem);
    padding-bottom: clamp(3rem, 8vw, 8rem);
    padding-left: clamp(1.25rem, 5vw, 2.5rem);
    padding-right: clamp(1.25rem, 5vw, 2.5rem);
}

/* =============================================
   MOBILE SPECIFIC HELPERS
   ============================================= */
@media (max-width: 768px) {
    .glass-card { padding: 1.25rem !important; }
    
    section, main {
        overflow-x: hidden;
    }

    /* Prevent 3D elements from causing horizontal overflow */
    #3d-dashboard-container {
        height: 220px !important;
        overflow: hidden !important;
    }
    #dashboard-tilt {
        transform: none !important;
        scale: 0.85;
    }
}

/* =============================================
   FOOTER MOBILE
   ============================================= */
@media (max-width: 640px) {
    footer .grid { gap: 2.5rem !important; }
}

/* =============================================
   MOBILE MENU — FULL FLEDGED GLASSMORPHISM
   ============================================= */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #060911 !important;
    background-color: #060911 !important;
    backdrop-filter: blur(32px) saturate(200%);
    -webkit-backdrop-filter: blur(32px) saturate(200%);
    /* Hidden by default */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(100%);
    transition:
        opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        visibility 0s linear 0.4s;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
    transition:
        opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        visibility 0s linear 0s;
}

.mobile-menu-inner {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 0 0 2.5rem 0;
    position: relative;
}

/* Radial glow inside the menu */
.mobile-menu-inner::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 400px;
    background: radial-gradient(circle, rgba(14,165,233,0.12) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.mobile-menu-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    position: relative;
    z-index: 1;
}

.mobile-menu-nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 2rem 1.5rem;
    gap: 0.5rem;
    position: relative;
    z-index: 1;
}

.mobile-nav-link {
    display: block;
    padding: 0.875rem 1rem;
    font-family: var(--font-head), sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255,255,255,0.85);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: color 0.2s, padding-left 0.2s;
    text-decoration: none;
}
.mobile-nav-link:hover {
    color: #ffffff;
    padding-left: 1.5rem;
}

.mobile-nav-section {
    padding: 1.25rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.mobile-nav-section-label {
    display: block;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.35em;
    color: #0ea5e9;
    margin-bottom: 1rem;
    padding: 0 1rem;
}

.mobile-product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.625rem;
}

.mobile-product-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(12, 18, 30, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    text-decoration: none;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.mobile-product-card:hover {
    background: rgba(18, 26, 44, 0.75);
    border-color: rgba(255, 255, 255, 0.22);
    border-top-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.75), 0 0 20px -5px rgba(14, 165, 233, 0.15);
}

.mobile-product-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.625rem;
    border: 1px solid;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mobile-product-icon .material-symbols-outlined {
    font-size: 1.25rem;
}

.mobile-product-name {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #ffffff;
}

.mobile-product-desc {
    font-size: 0.625rem;
    color: rgba(148,163,184,0.7);
    line-height: 1.4;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.mobile-menu-cta {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.5rem;
    position: relative;
    z-index: 1;
}

.mobile-cta-primary {
    display: block;
    width: 100%;
    padding: 1rem 1.5rem;
    background: #0ea5e9;
    color: white;
    font-weight: 700;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    border-radius: 9999px;
    text-align: center;
    text-decoration: none;
    transition: background 0.25s, color 0.25s, transform 0.15s;
    box-shadow: 0 0 30px rgba(14,165,233,0.3);
}
.mobile-cta-primary:hover {
    background: white;
    color: black;
    transform: translateY(-1px);
}

.mobile-cta-secondary {
    display: block;
    width: 100%;
    padding: 0.875rem 1.5rem;
    background: rgba(255,255,255,0.04);
    color: rgba(255,255,255,0.6);
    font-weight: 700;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    border-radius: 9999px;
    text-align: center;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.08);
    transition: background 0.25s, color 0.25s;
}
.mobile-cta-secondary:hover {
    background: rgba(255,255,255,0.08);
    color: white;
}

/* Desktop: hide overlay entirely */
@media (min-width: 1024px) {
    .mobile-menu-overlay { display: none !important; }
}

/* =============================================
   FORM INPUTS
   ============================================= */
input, textarea, select {
    -webkit-appearance: none;
    appearance: none;
}

/* =============================================
   GRADIENT SWIPE BUTTON ANIMATION
   ============================================= */
@keyframes gradientSwipe {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.gradient-swipe-btn {
    background: linear-gradient(135deg, #0ea5e9 0%, #f59e0b 50%, #0ea5e9 100%) !important;
    background-size: 200% 200% !important;
    animation: gradientSwipe 3s ease infinite !important;
    transition: all 0.3s ease !important;
    border: none !important;
}

.gradient-swipe-btn:hover {
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.4), 0 0 40px rgba(245, 158, 11, 0.2) !important;
    transform: translateY(-2px) !important;
    color: #ffffff !important;
}

/* =============================================
   RIPPLING GLOW BUTTON & ROCKET FLIGHT SYSTEM
   ============================================= */

.btn-rippling-glow {
    position: relative;
    background: #FFFFFF !important;
    color: #000000 !important;
    font-weight: 800;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.4), 0 0 45px rgba(14, 165, 233, 0.25) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    z-index: 10;
    overflow: visible !important;
}

.btn-rippling-glow::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 9999px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.8), rgba(14, 165, 233, 0.9), rgba(217, 70, 239, 0.8), rgba(245, 158, 11, 0.8));
    background-size: 300% 300%;
    z-index: -1;
    animation: rippleGlowRing 3s ease infinite;
    opacity: 0.8;
}

.btn-rippling-glow::after {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 9999px;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    z-index: -2;
    animation: rippleWavePulse 2.4s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    pointer-events: none;
}

@keyframes rippleGlowRing {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes rippleWavePulse {
    0% {
        transform: scale(0.96);
        opacity: 0.9;
        border-color: rgba(245, 158, 11, 0.8);
    }
    50% {
        transform: scale(1.15);
        opacity: 0.4;
        border-color: rgba(14, 165, 233, 0.6);
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
        border-color: rgba(217, 70, 239, 0);
    }
}

.btn-rippling-glow:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 0 35px rgba(255, 255, 255, 0.6), 0 0 60px rgba(14, 165, 233, 0.5) !important;
}

/* Paper Rocket Flight Element */
.rocket-launch-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 999999;
    overflow: hidden;
}

.flying-origami-rocket {
    position: fixed;
    width: 60px;
    height: 60px;
    filter: drop-shadow(0 0 20px rgba(14, 165, 233, 0.8)) drop-shadow(0 0 35px rgba(245, 158, 11, 0.6));
    will-change: transform, left, top;
    pointer-events: none;
    z-index: 10000000;
}

.rocket-contrail-particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    will-change: transform, opacity;
    animation: particleFade 0.6s ease-out forwards;
}

@keyframes particleFade {
    0% {
        opacity: 0.9;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(0.2);
    }
}


