/* Google Fonts - Inter for headings */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap');

/* Google Sans Flex Font Settings */
body {
    font-family: "Google Sans Flex", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-variation-settings:
        "slnt" 0,
        "wdth" 100,
        "GRAD" 0,
        "ROND" 0;
}

/* Smooth Scroll Behavior */
html {
    scroll-behavior: smooth;
}

/* Global Typography & Spacing */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    text-shadow: none;
}

/* Hero h1 - Inter bold without shadow */
.hero-floating-card h1 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    text-shadow: none;
}

h2 {
    font-size: 2rem !important;
    margin-bottom: 1.5rem;
    line-height: 1.2em;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: 1rem;
}

.eyebrow {
    margin-bottom: 1rem;
    letter-spacing: 0.1em;
}

/* Section Spacing */
section {
    padding-bottom: 90px;
}

/* Content Section Spacing (for divs inside main-content) */
.content-section {
    padding-bottom: 90px;
    margin-bottom: 90px;
}

.content-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Footer headings */
.footer-section h4 {
    color: #ffffff !important;
}

/* Full Bleed Sections */
.section-full-bleed {
    width: 100%;
    padding: 90px 0;
    margin-bottom: 0; /* No gap between sections */
    position: relative;
    overflow: hidden; /* Contains parallax background within section */
    min-height: 600px; /* Minimum section height */
}

.section-full-bleed::before {
    content: '';
    position: absolute; /* Absolute to section, not viewport */
    top: -100px; /* Extend above section for parallax movement */
    left: 0;
    right: 0;
    bottom: -100px; /* Extend below section for parallax movement */
    background:
        linear-gradient(to bottom, rgba(10, 22, 40, 0.6), rgba(5, 8, 16, 0.9)),
        url('/assets/img/gradient-bg-05.jpg') center center / cover no-repeat;
    z-index: 0;
    will-change: transform;
    transform: translateY(var(--parallax-offset, 0px)); /* Background moves up as you scroll down */
}

/* Don't add parallax background to sections with color bends */
.section-full-bleed.bg-color-bends::before {
    display: none;
}

.section-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 1.25rem 0;
    position: relative;
    z-index: 1;
}


/* Footer Section */
.footer-section {
    width: 100%;
    padding: 60px 0 40px;
    margin-top: 0;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-section::before {
    content: '';
    position: absolute; /* Absolute to section, not viewport */
    top: -100px; /* Extend above section for parallax movement */
    left: 0;
    right: 0;
    bottom: -100px; /* Extend below section for parallax movement */
    background:
        linear-gradient(to bottom, rgba(5, 8, 16, 0.8), rgba(5, 8, 16, 0.95)),
        url('/assets/img/gradient-bg-05.jpg') center center / cover no-repeat;
    z-index: 0;
    will-change: transform;
    transform: translateY(var(--parallax-offset, 0px)); /* Background moves up as you scroll down */
}

/* Interactive dot grid is now handled by dot-grid.js canvas */
.footer-section.bg-dot-grid {
    overflow: hidden;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
    position: relative;
    z-index: 1;
}

.space-y-6 > * + * {
    margin-top: 30px;
}

.space-y-16 > * + * {
    margin-top: 90px;
}

/* Grid Gaps */
.grid {
    gap: 60px;
    row-gap: 60px;
    column-gap: 60px;
}

.md\:grid-cols-2 {
    gap: 60px;
}

.md\:grid-cols-3 {
    gap: 60px;
}

.lg\:grid-cols-4 {
    gap: 60px;
}

/* Section Headers - Center Aligned */
section .eyebrow,
section h2,
section > div > .eyebrow,
section > div > h2 {
    text-align: center !important;
}

section h2 {
    font-size: 2.5rem !important;
    line-height: 1.2em !important;
}

/* Force center alignment for specific sections */
#gallery .max-w-3xl,
#specs .max-w-3xl,
#preorder .max-w-3xl,
#faq .max-w-3xl {
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
}

#gallery .max-w-3xl *,
#specs .max-w-3xl *,
#preorder .max-w-3xl *,
#faq .max-w-3xl * {
    text-align: center !important;
}

/* Spacing after section headers before cards */
section > .space-y-3,
section > div > .space-y-3 {
    margin-bottom: 24px;
    padding-bottom: 24px;
}

/* Header Navigation - Floating Glass Extended */
.header-nav {
    transition: transform 0.8s ease;
}

.header-nav.header-hidden {
    transform: translate(-50%, -150%);
}

.glass-nav-extended {
    background: rgba(10, 15, 26, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 212, 255, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 212, 255, 0.1);
    padding: 0.75rem 0;
}

.glass-nav-inner {
    padding: 0 1.25rem;
}

/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: linear-gradient(to bottom right, #1a2840, #0a1628, #0a1628);
    padding-top: 120px !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, #1a2840, #0a1628, #0a1628);
    z-index: 0;
}

/* Neon Strips Container */
.neon-strips {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.neon-strips .neon-strip:nth-child(1) {
    top: 15%;
    left: 0;
    width: 100%;
}

.neon-strips .neon-strip:nth-child(2) {
    top: 28%;
    left: 0;
    width: 100%;
}

.neon-strips .neon-strip:nth-child(3) {
    top: 45%;
    left: 0;
    width: 100%;
}

.neon-strips .neon-strip:nth-child(4) {
    top: 58%;
    left: 0;
    width: 100%;
}

.neon-strips .neon-strip:nth-child(5) {
    top: 75%;
    left: 0;
    width: 100%;
}

/* Hero Image Container */
.hero-image-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    z-index: 10;
}

.hero-machine-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

/* Hero Spotlight Effect */
.hero-section .spotlight-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    background: radial-gradient(
        800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(0, 212, 255, 0.2),
        transparent 50%
    );
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 2;
    mix-blend-mode: screen;
}

.hero-section:hover .spotlight-overlay {
    opacity: 1;
}

.hero-content h1 {
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.9);
    letter-spacing: 0.02em;
}

/* TCT Awards Badge */
.tct-badge {
    position: absolute;
    bottom: -60px;
    left: 20px;
    z-index: 30;
    display: block;
    width: 70px;
    transition: transform 0.3s ease;
}
.tct-badge:hover {
    transform: scale(1.05);
}
.tct-badge-img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.5));
}

@media (min-width: 768px) {
    .tct-badge {
        bottom: -60px;
        left: 30px;
        width: 90px;
    }
}

@media (min-width: 1024px) {
    .tct-badge {
        bottom: -60px;
        left: 40px;
        width: 140px;
    }
}

/* Hero Floating Card - macOS Glass Effect with Spotlight */
.hero-floating-card {
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
    z-index: 20;
    padding: 3rem 2.5rem;
    max-width: 600px;
    width: 45%;
    background: rgba(10, 15, 26, 0.3);
    backdrop-filter: blur(20px) saturate(120%);
    -webkit-backdrop-filter: blur(20px) saturate(120%);
    border-radius: 20px;
    border: 1.3px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Spotlight overlay for hero card */
.hero-floating-card > .spotlight-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    background: radial-gradient(
        600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(0, 212, 255, 0.15),
        transparent 40%
    );
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.hero-floating-card:hover > .spotlight-overlay {
    opacity: 1;
}

.hero-floating-card:hover {
    border-color: rgba(129, 234, 255, 0.2);
    box-shadow:
        0 0 30px rgba(0, 212, 255, 0.2),
        0 8px 32px rgba(0, 0, 0, 0.5);
}

/* Ensure hero card content is above spotlight */
.hero-floating-card > *:not(.spotlight-overlay) {
    position: relative;
    z-index: 2;
}

.hero-floating-card h1 {
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.9);
}

/* Responsive: Adjust hero card on tablets */
@media (max-width: 1024px) {
    .hero-floating-card {
        width: 50%;
        padding: 2rem;
    }

    .hero-floating-card h1 {
        font-size: 2.5rem;
    }
}

/* Responsive: Stack on mobile phones only */
@media (max-width: 640px) {
    .hero-image-container {
        padding: 0 1.25rem;
    }

    .hero-machine-img {
        border-radius: 16px;
    }

    .hero-floating-card {
        position: relative;
        top: auto;
        right: auto;
        transform: none;
        width: 100%;
        max-width: none;
        margin: 1.5rem 0 0 0;
        padding: 1.5rem;
        box-sizing: border-box;
    }

    .hero-floating-card h1 {
        font-size: 2rem;
        text-align: left;
    }

    .hero-floating-card p {
        text-align: left;
        font-size: 0.9375rem;
    }

    .hero-floating-card .flex {
        justify-content: flex-start;
    }
}

/* Logo Ticker Banner */
.logo-ticker-wrapper {
    position: relative;
    width: 100%;
    left: 0;
    right: 0;
    z-index: 20;
    padding: 1rem 0;
    overflow: hidden;
    clear: both;
    display: block;
}

.logo-ticker {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.logo-ticker-track {
    display: flex;
    gap: 8rem;
    align-items: center;
    animation: tickerScroll 40s linear infinite;
    width: fit-content;
}

.ticker-logo {
    height: 100px;
    width: auto;
    object-fit: contain;
    opacity: 0.3;
    filter: invert(1) brightness(2) grayscale(100%);
    transition: all 0.3s ease;
}

.ticker-logo:hover {
    opacity: 0.9;
    filter: invert(1) brightness(2.5) grayscale(0%);
    transform: scale(1.15);
}

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

/* Neon Light Strips */
.neon-strip {
    position: absolute;
    height: 3px;
    background: linear-gradient(90deg,
        rgba(0, 212, 255, 0.1) 0%,
        rgba(0, 212, 255, 0.4) 20%,
        rgba(0, 212, 255, 0.9) 40%,
        rgba(0, 212, 255, 1) 50%,
        rgba(0, 212, 255, 1) 60%,
        rgba(0, 212, 255, 0.9) 80%,
        rgba(0, 212, 255, 0.1) 100%
    );
    box-shadow:
        0 0 10px rgba(0, 212, 255, 0.8),
        0 0 20px rgba(0, 212, 255, 0.6),
        0 0 40px rgba(0, 212, 255, 0.4);
    animation: neonPulse 3s ease-in-out infinite;
}

.neon-strip:nth-child(2) {
    animation-delay: 0.5s;
    height: 2px;
}

.neon-strip:nth-child(3) {
    animation-delay: 1s;
    height: 4px;
}

.neon-strip:nth-child(4) {
    animation-delay: 1.5s;
    height: 2px;
}

.neon-strip:nth-child(5) {
    animation-delay: 2s;
    height: 3px;
}

@keyframes neonPulse {
    0%, 100% {
        opacity: 0.8;
        box-shadow:
            0 0 10px rgba(0, 212, 255, 0.8),
            0 0 20px rgba(0, 212, 255, 0.6),
            0 0 40px rgba(0, 212, 255, 0.4);
    }
    50% {
        opacity: 1;
        box-shadow:
            0 0 15px rgba(0, 212, 255, 1),
            0 0 30px rgba(0, 212, 255, 0.8),
            0 0 60px rgba(0, 212, 255, 0.6);
    }
}

/* Hero Button */
.btn-hero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 40px;
    border-radius: 8px;
    background: linear-gradient(135deg, #ff8c00, #ffa500);
    color: #0a1628;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 20px rgba(255, 140, 0, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(255, 140, 0, 0.6);
}


/* Navigation Pills */
.nav-pill {
    padding: 10px 20px;
    border-radius: 999px;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-weight: 500;
}

.nav-pill:hover {
    color: #ffffff;
    border-color: rgba(0, 212, 255, 0.5);
    background: rgba(0, 212, 255, 0.15);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
    transform: translateY(-1px);
}

.nav-pill-cta {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.3), rgba(0, 212, 255, 0.2));
    border-color: rgba(0, 212, 255, 0.4);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.2);
}

.nav-pill-cta:hover {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.4), rgba(0, 212, 255, 0.3));
    border-color: rgba(0, 212, 255, 0.6);
    box-shadow: 0 0 25px rgba(0, 212, 255, 0.4);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 12px;
    background: linear-gradient(135deg, #00d4ff, #00a8ff);
    color: #0a0a0f;
    font-weight: 700;
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.5), 0 0 10px rgba(0, 212, 255, 0.8), inset 0 1px 1px rgba(255, 255, 255, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 50px rgba(0, 212, 255, 0.7), 0 0 20px rgba(0, 212, 255, 1), 0 10px 30px rgba(0, 0, 0, 0.4);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #f0f4f8;
    background: rgba(255, 255, 255, 0.03);
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.btn-ghost:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}


.chip {
    padding: 6px 12px;
    border-radius: 12px;
    border: 1px solid rgba(0, 212, 255, 0.25);
    background: rgba(0, 212, 255, 0.08);
    box-shadow: 0 0 12px rgba(0, 212, 255, 0.15);
    transition: all 0.2s ease;
}

.chip:hover {
    border-color: rgba(0, 212, 255, 0.4);
    background: rgba(0, 212, 255, 0.12);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.25);
}

/* Cache Preset Buttons */
.cache-preset-btn {
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: #b0b8c5;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cache-preset-btn:hover {
    border-color: rgba(0, 212, 255, 0.3);
    background: rgba(0, 212, 255, 0.1);
    color: #ffffff;
}

.cache-preset-btn.active {
    border-color: rgba(0, 212, 255, 0.5);
    background: rgba(0, 212, 255, 0.15);
    color: #00d4ff;
}

/* Real-time Data Section Image Parallax */
.realtime-parallax,
.rpi-parallax {
    transition: transform 0.1s ease-out;
    will-change: transform;
}

.card {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1.3px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    padding: 2rem;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Spotlight overlay for cards */
.card > .spotlight-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    background: radial-gradient(
        600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(0, 212, 255, 0.15),
        transparent 40%
    );
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.card:hover > .spotlight-overlay {
    opacity: 1;
}

/* Ensure card content is above spotlight */
.card > *:not(.spotlight-overlay) {
    position: relative;
    z-index: 2;
}

.card img {
    margin-bottom: 1.5rem;
}

/* Specific override for cart page images */
#cartItems img,
#cartItems .cart-item img {
    margin-bottom: 0 !important;
}

/* Remove margin for images in table cells */
.card table img,
td .card img,
td img {
    margin-bottom: 0 !important;
}

/* Remove margin for images in cart items */
.cart-item img {
    margin: 0 !important;
    padding: 0 !important;
    display: block;
}

/* Align cart item image container */
.cart-item {
    align-items: flex-start !important;
}

.cart-item > div:first-child {
    margin-top: 0.7rem;
}

/* Checkout page grid alignment - removed align-items to allow sticky */

/* Checkout page sticky sidebar */
.sticky {
    position: -webkit-sticky !important;
    position: sticky !important;
}

.top-24 {
    top: 6rem !important;
}

/* Ensure parent containers don't break sticky on checkout/cart pages */
body:has(.sticky) .section-full-bleed {
    overflow: visible !important;
}

/* Checkout page product images - similar to cart */
.space-y-4 .flex.gap-3 img {
    margin: 0 !important;
    display: block;
}

.card h3 {
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}

.card p {
    line-height: 1.6;
}


/* Subtle Cyan Glow on Hover (matches spec-card style) */
.card:hover {
    border-color: rgba(129, 234, 255, 0.2);
    box-shadow:
        0 0 30px rgba(0, 212, 255, 0.2),
        0 8px 32px rgba(0, 0, 0, 0.5);
}


.card h3,
.card p,
.card img,
.card > * {
    position: relative;
    z-index: 1;
}

.glow-card {
    position: relative;
}

.glow-card::before {
    content: '';
    position: absolute;
    inset: -25%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.1), transparent 50%);
    filter: blur(40px);
    z-index: -1;
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 0.8;
    }
}

.machine-frame {
    position: relative;
    height: 320px;
    border-radius: 20px;
    background: linear-gradient(145deg, #151520, #0a0a0f);
    border: 1px solid rgba(0, 212, 255, 0.2);
    display: grid;
    place-items: center;
    overflow: hidden;
    box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 212, 255, 0.15);
}

.machine-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
    filter: saturate(1.05);
}

.machine-core {
    width: 70%;
    height: 70%;
    border-radius: 14px;
    background: linear-gradient(160deg, rgba(42, 215, 255, 0.1), rgba(127, 90, 240, 0.08));
    border: 1px solid rgba(42, 215, 255, 0.2);
    box-shadow: 0 0 50px rgba(42, 215, 255, 0.12), inset 0 0 40px rgba(127, 90, 240, 0.1);
}

.machine-halo {
    position: absolute;
    inset: 10%;
    border-radius: 18px;
    border: 1px dashed rgba(0, 212, 255, 0.3);
    box-shadow: 0 0 50px rgba(0, 212, 255, 0.2);
    animation: haloRotate 10s linear infinite;
}

@keyframes haloRotate {
    0% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(180deg) scale(1.02);
    }
    100% {
        transform: rotate(360deg) scale(1);
    }
}

.slides {
    position: relative;
    overflow: hidden;
}

.slide {
    opacity: 0;
    transition: opacity 0.7s ease;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    pointer-events: none;
}

.slide:first-child {
    position: relative; /* First slide sets the height */
}

.slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.slide-img {
    width: 100%;
    display: block;
}

/* Slide Caption - Glass card overlay */
.slide-caption {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    max-width: 280px;
    padding: 0.875rem 1rem;
    background: rgba(10, 15, 26, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.slide-caption h4 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 0.25rem 0;
}

.slide-caption p {
    font-size: 0.8125rem;
    color: #b0b8c5;
    margin: 0;
    line-height: 1.4;
}

@media (max-width: 640px) {
    .slide-caption {
        bottom: 0.75rem;
        left: 0.75rem;
        right: 0.75rem;
        max-width: none;
        padding: 0.75rem;
    }

    .slide-caption h4 {
        font-size: 0.875rem;
    }

    .slide-caption p {
        font-size: 0.75rem;
    }
}

/* SVG Animation Styles */
/* For stroked paths (outlines) */
.svg-animate [stroke]:not([fill]),
.svg-animate line,
.svg-animate polyline {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: svgDraw 2.5s ease-in-out forwards;
}

/* For filled paths (solid shapes) - fade in with scale */
.svg-animate [fill]:not([fill="none"]) {
    opacity: 0;
    transform-origin: center;
    animation: svgFadeIn 1.5s ease-out forwards;
}

/* Stagger the animations */
.svg-animate path:nth-child(1) { animation-delay: 0.1s; }
.svg-animate path:nth-child(2) { animation-delay: 0.15s; }
.svg-animate path:nth-child(3) { animation-delay: 0.2s; }
.svg-animate path:nth-child(4) { animation-delay: 0.25s; }
.svg-animate path:nth-child(5) { animation-delay: 0.3s; }
.svg-animate line:nth-child(n) { animation-delay: 0.1s; }
.svg-animate polyline { animation-delay: 0.1s; }

@keyframes svgDraw {
    0% {
        stroke-dashoffset: 1000;
    }
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes svgFadeIn {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* ========================================
   ANIMATED BACKGROUNDS
   Add class to section to enable:
   - bg-color-bends
   - bg-dot-grid
   - bg-liquid-ether
   - bg-floating-lines
   ======================================== */

/* Color Bends Background */
.bg-color-bends {
    position: relative;
}

body.bg-color-bends {
    overflow-x: hidden;
}

.bg-color-bends::before {
    /* Disabled CSS version - using Three.js now */
    display: none;
}

@keyframes colorBendsMove {
    0% {
        transform: translate(0, 0) rotate(0deg);
        background-position: 0% 50%;
    }
    25% {
        transform: translate(5%, 5%) rotate(90deg);
        background-position: 100% 50%;
    }
    50% {
        transform: translate(0, 10%) rotate(180deg);
        background-position: 50% 100%;
    }
    75% {
        transform: translate(-5%, 5%) rotate(270deg);
        background-position: 0% 50%;
    }
    100% {
        transform: translate(0, 0) rotate(360deg);
        background-position: 0% 50%;
    }
}

.bg-color-bends-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 1;
}

/* Dot Grid Background */
.bg-dot-grid {
    position: relative;
}

.bg-dot-grid::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-image: radial-gradient(circle, rgba(0, 212, 255, 0.15) 1px, transparent 1px);
    background-size: 30px 30px;
    animation: dotGridMove 20s linear infinite;
}

@keyframes dotGridMove {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 30px 30px;
    }
}

/* Liquid Ether Background */
.bg-liquid-ether {
    position: relative;
}

.bg-liquid-ether::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: linear-gradient(45deg, #0a1628 0%, #050810 100%);
}

.bg-liquid-ether-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.4;
}

/* Floating Lines Background */
.bg-floating-lines {
    position: relative;
}

.bg-floating-lines::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: linear-gradient(45deg, #0a1628 0%, #050810 100%);
}

.bg-floating-lines-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.5;
}

.spec-card {
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(15, 29, 53, 0.25);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.4),
        inset 0 4px 20px rgba(255, 255, 255, 0.05),
        inset 0 -2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.spec-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.08) 0%,
        rgba(255, 255, 255, 0) 50%,
        rgba(255, 255, 255, 0.04) 100%
    );
    box-shadow:
        inset 0 2px 4px rgba(255, 255, 255, 0.15),
        inset -2px -2px 4px rgba(0, 0, 0, 0.1);
    filter: blur(1px) brightness(115%);
    opacity: 0.6;
    border-radius: 12px;
    pointer-events: none;
    z-index: 0;
}

.spec-card h4 {
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;
}

.spec-card p {
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.spec-card:hover {
    background: rgba(15, 29, 53, 0.35);
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow:
        0 6px 20px rgba(0, 0, 0, 0.6),
        0 0 20px rgba(0, 212, 255, 0.15),
        inset 0 4px 20px rgba(255, 255, 255, 0.1),
        inset 0 -2px 10px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

.spec-card:hover::after {
    opacity: 0.8;
}

.input {
    background: rgba(21, 21, 32, 0.6);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 12px;
    padding: 14px;
    color: #f0f4f8;
    font-size: 15px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.input::placeholder {
    color: #a8b3cf;
    opacity: 0.6;
}

.input:focus {
    outline: none;
    border-color: rgba(0, 212, 255, 0.6);
    background: rgba(21, 21, 32, 0.8);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.2), 0 0 20px rgba(0, 212, 255, 0.15);
}

.eyebrow {
    color: #00d4ff;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12px;
    font-weight: 700;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-up {
    animation: fadeUp 0.65s ease forwards;
    opacity: 0;
}

/* Neon Blue Glow for 5-Axis Motion SVG */
.svg-neon-glow {
    filter: brightness(1.2)
            drop-shadow(0 0 8px rgba(2, 231, 254, 0.4))
            drop-shadow(0 0 15px rgba(2, 231, 254, 0.3))
            drop-shadow(0 0 25px rgba(2, 231, 254, 0.2));
    animation: neonPulseGlow 3s ease-in-out infinite;
    transition: transform 0.3s ease;
}

.svg-neon-glow:hover {
    transform: scale(1.05);
    animation-play-state: paused;
    filter: brightness(1.5)
            drop-shadow(0 0 15px rgba(2, 231, 254, 0.8))
            drop-shadow(0 0 30px rgba(2, 231, 254, 0.6))
            drop-shadow(0 0 50px rgba(2, 231, 254, 0.4));
}

@keyframes neonPulseGlow {
    0%, 100% {
        filter: brightness(1)
                drop-shadow(0 0 5px rgba(255, 255, 255, 0.3))
                drop-shadow(0 0 10px rgba(255, 255, 255, 0.2))
                drop-shadow(0 0 15px rgba(255, 255, 255, 0.1));
    }
    50% {
        filter: brightness(1.3)
                drop-shadow(0 0 12px rgba(2, 231, 254, 0.6))
                drop-shadow(0 0 20px rgba(2, 231, 254, 0.4))
                drop-shadow(0 0 35px rgba(2, 231, 254, 0.3));
    }
}

/* ========================================
   GLASS CARD STYLING (TEST)
   ======================================== */

.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transition: left 0.5s ease;
}

.glass-card:hover::before {
    left: 100%;
}

.glass-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px 0 rgba(0, 212, 255, 0.05);
    border-color: rgba(0, 212, 255, 0.08);
}

/* Glass Card with Spotlight Effect (Style 3) */
.glass-card-spotlight {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1.3px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    padding: 2rem;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.spotlight-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    background: radial-gradient(
        600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(0, 212, 255, 0.15),
        transparent 40%
    );
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.glass-card-spotlight:hover .spotlight-overlay {
    opacity: 1;
}

.glass-card-spotlight:hover {
    border-color: rgba(129, 234, 255, 0.2);
    box-shadow:
        0 0 30px rgba(0, 212, 255, 0.2),
        0 8px 32px rgba(0, 0, 0, 0.5);
}

.spotlight-content {
    position: relative;
    z-index: 2;
}

.glass-btn {
    background: rgba(0, 212, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 10px;
    padding: 0.75rem 1.5rem;
    color: #00d4ff;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.glass-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(0, 212, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.glass-btn:hover::before {
    width: 300px;
    height: 300px;
}

.glass-btn:hover {
    background: rgba(0, 212, 255, 0.2);
    border-color: rgba(0, 212, 255, 0.5);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
    transform: translateY(-2px);
}

.glass-btn:active {
    transform: translateY(0);
}

/* Glass Card with Gradient Border (Style 2) */
.glass-card-gradient {
    position: relative;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
    overflow: visible;
}

.glass-card-gradient::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(
        45deg,
        #001f3f,
        #003d7a,
        #00a3cc,
        #00d4ff,
        #02e7fe,
        #00d4ff,
        #00a3cc,
        #001f3f
    );
    border-radius: 20px;
    z-index: -1;
    background-size: 400% 400%;
    animation: gradientRotate 6s ease infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.glass-card-gradient::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 15, 26, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    z-index: -1;
}

.glass-card-gradient:hover::before {
    opacity: 1;
}

.glass-card-gradient:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.3);
}

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

/* WhatsApp Support Card Styling */
.whatsapp-icon-circle {
    background: rgba(37, 211, 102, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(37, 211, 102, 0.3);
    box-shadow: 0 4px 6px rgba(37, 211, 102, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.whatsapp-icon path {
    fill: #25D366;
    transition: all 0.3s ease;
}

.whatsapp-card:hover .whatsapp-icon-circle {
    background: rgba(37, 211, 102, 0.25);
    border-color: rgba(37, 211, 102, 0.5);
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.3), 0 4px 6px rgba(37, 211, 102, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

.whatsapp-card:hover .whatsapp-icon path {
    fill: #2EE47A;
}

.whatsapp-card:hover {
    border-color: rgba(37, 211, 102, 0.3) !important;
    box-shadow: 0 0 30px rgba(37, 211, 102, 0.15), 0 8px 32px rgba(0, 0, 0, 0.5) !important;
}

/* FAQ Accordion Styling */
.faq-item {
    transition: all 0.3s ease;
}

.faq-item.is-open {
    border-color: rgba(0, 212, 255, 0.3);
}

.faq-header {
    outline: none;
}

.faq-header:focus {
    outline: none;
}

.faq-header:focus-visible {
    outline: 2px solid rgba(0, 212, 255, 0.5);
    outline-offset: 2px;
    border-radius: 4px;
}

.faq-item.is-open .faq-icon {
    transform: rotate(180deg);
}

.faq-content {
    transition: max-height 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}

.faq-item.is-open .faq-content {
    opacity: 1;
}

.faq-item .faq-header h3 {
    margin: 0 !important;
}

.faq-item .faq-content p {
    margin: 0 !important;
}

/* ========================================
   MOBILE NAVIGATION
   ======================================== */

/* Mobile Menu Button - Round */
#mobileMenuBtn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hamburger Icon */
.hamburger-icon {
    width: 16px;
    height: 12px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger-icon span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Hamburger to X animation */
#mobileMenuBtn.is-open .hamburger-icon span:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
}

#mobileMenuBtn.is-open .hamburger-icon span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

#mobileMenuBtn.is-open .hamburger-icon span:nth-child(3) {
    transform: translateY(-5px) rotate(-45deg);
}

/* Mobile Header */
.mobile-header {
    padding: 0.5rem 0;
}

/* Mobile Menu Dropdown - Fixed below header */
.mobile-menu {
    position: fixed;
    top: 70px;
    right: 1.25rem;
    width: 220px;
    background: rgba(10, 15, 26, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 212, 255, 0.15);
    border-radius: 1rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 212, 255, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all 0.3s ease;
    z-index: 40;
    overflow: hidden;
    max-height: calc(100vh - 90px);
    overflow-y: auto;
}

.mobile-menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-menu-nav {
    display: flex;
    flex-direction: column;
    padding: 0.75rem;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    padding: 0.875rem 1rem;
    color: #ffffff;
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: 0.75rem;
    transition: all 0.2s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link:focus {
    background: rgba(0, 212, 255, 0.1);
    color: #00d4ff;
}

.mobile-nav-link:active {
    background: rgba(0, 212, 255, 0.15);
}

.mobile-nav-cta {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(0, 212, 255, 0.1));
    border: 1px solid rgba(0, 212, 255, 0.3);
    margin-top: 0.5rem;
}

.mobile-nav-cta:hover {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.3), rgba(0, 212, 255, 0.2));
    border-color: rgba(0, 212, 255, 0.5);
}

/* Hide mobile menu on desktop */
@media (min-width: 768px) {
    .mobile-menu {
        display: none !important;
    }
}

/* ========================================
   AUTHENTICATED NAV STATES
   ======================================== */

/* User logged in - Orange accent */
.glass-nav-extended.nav-user {
    border: 1px solid rgba(255, 159, 67, 0.25);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 159, 67, 0.1);
    background: linear-gradient(135deg, rgba(255, 159, 67, 0.08) 0%, rgba(255, 159, 67, 0.03) 100%);
}

.nav-pill.nav-user {
    border-color: rgba(255, 159, 67, 0.3);
    box-shadow: 0 0 15px rgba(255, 159, 67, 0.15);
    background: linear-gradient(135deg, rgba(255, 159, 67, 0.12) 0%, rgba(255, 159, 67, 0.05) 100%);
}

.nav-pill.nav-user:hover {
    border-color: rgba(255, 159, 67, 0.5);
    box-shadow: 0 0 20px rgba(255, 159, 67, 0.25);
}

/* Admin logged in - Green accent */
.glass-nav-extended.nav-admin {
    border: 1px solid rgba(37, 211, 102, 0.25);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 20px rgba(37, 211, 102, 0.1);
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.08) 0%, rgba(37, 211, 102, 0.03) 100%);
}

.nav-pill.nav-admin {
    border-color: rgba(37, 211, 102, 0.3);
    box-shadow: 0 0 15px rgba(37, 211, 102, 0.15);
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.12) 0%, rgba(37, 211, 102, 0.05) 100%);
}

.nav-pill.nav-admin:hover {
    border-color: rgba(37, 211, 102, 0.5);
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.25);
}

/* ========================================
   SCROLLING NEON GLOW EFFECT
   ======================================== */

#main-content {
    background: linear-gradient(to bottom, #0a1628, #050810);
}

.scroll-glow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.scroll-glow {
    position: fixed;
    width: 90vw;
    height: 50vw;
    left: 50%;
    top: 50vh;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(
        ellipse 80% 40%,
        rgba(0, 212, 255, 0.33) 0%,
        rgba(0, 212, 255, 0.18) 35%,
        rgba(0, 212, 255, 0.07) 55%,
        transparent 75%
    );
    filter: blur(100px);
    pointer-events: none;
}


/* ========================================
   TESTIMONIALS SLIDER
   ======================================== */

.testimonials-slider {
    overflow: hidden;
    position: relative;
}

.testimonials-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.testimonial-slide {
    flex-shrink: 0;
    width: 100%;
    padding: 0 1rem;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .testimonial-slide {
        width: 33.333%;
    }
}

.testimonial-slide > div {
    height: 100%;
    display: flex;
    flex-direction: column;
}
