/* ================================================================
   WHIZWISER - DESIGN SYSTEM & CSS BOILERPLATE
   Theme: Dark Mode | Accent: #37ec81 (Mint Green)
================================================================= */

/* ========== FONTS ========== */
@font-face {
    font-family: "Agoma";
    src: local("Agoma"), local("Agoma-Regular"), local("Agoma Regular");
    font-weight: 100 900;
}

/* ========== ROOT VARIABLES ========== */
:root {

    /* --- Colors: Backgrounds --- */
    --bg-primary: #111111;
    /* Main body background */
    --bg-secondary: #1a1a1a;
    /* Cards, elevated surfaces */
    --bg-tertiary: #222222;
    /* Subtle surface variation */
    --bg-elevated: #2a2a2a;
    /* Hover states, modals */

    /* --- Colors: Text --- */
    --text-primary: #ffffff;
    /* Headlines, primary text */
    --text-secondary: #b3b3b3;
    /* Body text, descriptions */
    --text-muted: #777777;
    /* Captions, labels, subtle text */
    --text-inverse: #111111;
    /* Text on accent backgrounds */

    /* --- Colors: Accent --- */
    --accent: #ffffff;
    /* Primary accent */
    --accent-hover: #cccccc;
    /* Accent hover state */
    --accent-soft: rgba(255, 255, 255, 0.08);
    /* Accent glow / subtle bg */
    --accent-medium: rgba(255, 255, 255, 0.15);
    /* Accent medium opacity */

    /* --- Colors: Borders --- */
    --border-color: rgba(255, 255, 255, 0.08);
    /* Subtle borders */
    --border-color-hover: rgba(255, 255, 255, 0.15);
    /* Border on hover */
    --border-accent: rgba(255, 255, 255, 0.20);
    /* Accent-tinted border */

    /* --- Colors: Utility --- */
    --overlay: rgba(17, 17, 17, 0.85);
    /* Overlay backdrop */
    --shadow-color: rgba(0, 0, 0, 0.40);
    /* Box shadow base */
    --glow-accent: rgba(255, 255, 255, 0.05);
    /* Accent glow for cards */

    /* --- Typography --- */
    --font-primary: "Plus Jakarta Sans", sans-serif;
    /* Headlines, titles, display */
    --font-secondary: "Agoma", "Plus Jakarta Sans", sans-serif;
    /* Subtitles, badges, labels, UI elements */
    --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    /* Body, paragraphs, general copy */

    /* --- Font Sizes --- */
    --fs-display: 3.5rem;
    /* 56px - Hero headline */
    --fs-h1: 2.75rem;
    /* 44px */
    --fs-h2: 2.25rem;
    /* 36px */
    --fs-h3: 1.5rem;
    /* 24px */
    --fs-h4: 1.25rem;
    /* 20px */
    --fs-body: 1rem;
    /* 16px */
    --fs-body-lg: 1.125rem;
    /* 18px */
    --fs-small: 0.875rem;
    /* 14px */
    --fs-xs: 0.75rem;
    /* 12px */
    --fs-label: 0.8125rem;
    /* 13px - Section labels */

    /* --- Font Weights --- */
    --fw-light: 300;
    --fw-regular: 400;
    --fw-medium: 500;
    --fw-semibold: 600;
    --fw-bold: 700;
    --fw-extrabold: 800;
    --fw-black: 900;

    /* --- Line Heights --- */
    --lh-tight: 1.2;
    --lh-snug: 1.35;
    --lh-normal: 1.6;
    --lh-relaxed: 1.8;

    /* --- Letter Spacing --- */
    --ls-tight: -0.02em;
    --ls-normal: 0em;
    --ls-wide: 0.05em;
    --ls-wider: 0.1em;
    --ls-label: 0.15em;
    /* For uppercase labels */

    /* --- Spacing Scale --- */
    --space-xs: 0.25rem;
    /* 4px */
    --space-sm: 0.5rem;
    /* 8px */
    --space-md: 1rem;
    /* 16px */
    --space-lg: 1.5rem;
    /* 24px */
    --space-xl: 2rem;
    /* 32px */
    --space-2xl: 3rem;
    /* 48px */
    --space-3xl: 4rem;
    /* 64px */
    --space-4xl: 5rem;
    /* 80px */
    --space-5xl: 6rem;
    /* 96px */
    --section-padding: 6rem 0;
    /* Default section padding */

    /* --- Border Radius --- */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 50px;
    /* Pill shape */
    --radius-circle: 50%;

    /* --- Shadows --- */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.20);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.30);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.40);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.50);
    --shadow-accent: 0 4px 20px rgba(255, 255, 255, 0.15);
    --shadow-accent-lg: 0 8px 40px rgba(255, 255, 255, 0.20);

    /* --- Transitions --- */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-bounce: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);

    /* --- Layout --- */
    --container-max: 1200px;
    --navbar-height: 80px;

    /* --- Z-Index Scale --- */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-navbar: 500;
    --z-overlay: 800;
    --z-modal: 1000;
    --z-toast: 1200;
}


/* ================================================================
   RESET & BASE STYLES
================================================================= */

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    font-size: var(--fs-body);
    font-weight: var(--fw-regular);
    line-height: var(--lh-normal);
    color: var(--text-secondary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-primary);
}

.hero-badge,
.badge-text,
.navbar-link,
.btn,
.btn-get-started,
.section-label,
.hero-trust {
    font-family: var(--font-secondary) !important;
}

/* --- Selection --- */
::selection {
    background-color: var(--accent);
    color: var(--text-inverse);
}

/* --- Scrollbar (Webkit) --- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-elevated);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}


/* ================================================================
   TYPOGRAPHY
================================================================= */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-primary);
    color: var(--text-primary);
    font-weight: var(--fw-bold);
    line-height: var(--lh-tight);
    letter-spacing: var(--ls-tight);
}

h1 {
    font-size: var(--fs-h1);
}

h2 {
    font-size: var(--fs-h2);
}

h3 {
    font-size: var(--fs-h3);
}

h4 {
    font-size: var(--fs-h4);
}

p {
    color: var(--text-secondary);
    line-height: var(--lh-normal);
    margin-bottom: var(--space-md);
}

p:last-child {
    margin-bottom: 0;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color var(--transition-base);
}

a:hover {
    color: var(--accent-hover);
}

/* --- Section Label (small uppercase text above headlines) --- */
.section-label {
    display: inline-block;
    font-family: var(--font-secondary);
    font-size: var(--fs-label);
    font-weight: var(--fw-semibold);
    text-transform: uppercase;
    letter-spacing: var(--ls-label);
    color: var(--accent);
    margin-bottom: var(--space-md);
}

/* --- Section Headline --- */
.section-title {
    font-size: var(--fs-h2);
    font-weight: var(--fw-bold);
    margin-bottom: var(--space-lg);
}

/* --- Section Description --- */
.section-desc {
    font-size: var(--fs-body-lg);
    color: var(--text-secondary);
    max-width: 640px;
}


/* ================================================================
   UTILITY CLASSES
================================================================= */

.text-accent {
    color: var(--accent) !important;
}

.text-white {
    color: var(--text-primary) !important;
}

.text-muted {
    color: var(--text-muted) !important;
}

.bg-dark-alt {
    background-color: var(--bg-secondary);
}

.bg-dark-deep {
    background-color: var(--bg-primary);
}

/* ================================================================ */
.fs-5{
    font-size: var(--fs-h4) !important;
}
/* ================================================================ */
/* ================================================================ */

/* ================================================================
   SECTION SPACING
================================================================= */

section {
    padding: var(--section-padding);
    position: relative;
}


/* ================================================================
   BUTTONS - BASE & VARIANTS
================================================================= */

/* --- Base Button --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    font-family: var(--font-secondary);
    font-size: var(--fs-body);
    font-weight: var(--fw-semibold);
    line-height: 1;
    padding: 14px 32px;
    border: 2px solid transparent;
    border-radius: var(--radius-full);
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    transition:
        background-color var(--transition-base),
        color var(--transition-base),
        border-color var(--transition-base),
        box-shadow var(--transition-base),
        transform var(--transition-fast);
}

.btn:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

.btn:active {
    transform: scale(0.97);
}

/* --- Primary Button (Accent filled) --- */
.btn.primary-btn {
    background-color: var(--accent);
    color: var(--text-inverse);
    border-color: var(--accent);
}

.btn.primary-btn:hover {
    background-color: var(--accent-hover);
    border-color: var(--accent-hover);
    box-shadow: var(--shadow-accent);
    transform: translateY(-2px);
    color: var(--text-inverse);
}

.btn.primary-btn:active {
    transform: translateY(0) scale(0.97);
    box-shadow: none;
}

/* --- Secondary Button (Ghost / Outline) --- */
.btn.secondary-btn {
    background-color: transparent;
    color: var(--text-primary);
    border-color: var(--border-color-hover);
}

.btn.secondary-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    background-color: var(--accent-soft);
    transform: translateY(-2px);
}

.btn.secondary-btn:active {
    transform: translateY(0) scale(0.97);
    background-color: transparent;
}

/* --- Small Button --- */
.btn.btn-sm {
    font-size: var(--fs-small);
    padding: 10px 24px;
}

/* --- Large Button --- */
.btn.btn-lg {
    font-size: var(--fs-body-lg);
    padding: 18px 40px;
}

/* --- Icon inside button --- */
.btn i,
.btn svg {
    font-size: 0.9em;
    transition: transform var(--transition-base);
}

.btn:hover i,
.btn:hover svg {
    transform: translateX(3px);
}


/* ================================================================
   CARDS - BASE STYLE
================================================================= */

.card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    transition:
        border-color var(--transition-base),
        box-shadow var(--transition-base),
        transform var(--transition-base);
}

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


/* ================================================================
   IMAGES
================================================================= */

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


/* ================================================================
   LISTS
================================================================= */

ul,
ol {
    list-style: none;
    padding: 0;
}


/* ================================================================
   HEADER / NAVBAR
================================================================= */

.navbar-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    pointer-events: none;
}

.navbar {
    position: relative;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid transparent;
    background-color: transparent;
    padding: 12px 24px;
    width: 100%;
    max-width: 1152px;
    margin-top: 0px;
    border-radius: 0px;
    box-shadow: rgba(0, 0, 0, 0) 0px 2px 24px;
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    pointer-events: auto;
    transition:
        max-width 0.7s cubic-bezier(0.16, 1, 0.3, 1),
        margin-top 0.7s cubic-bezier(0.16, 1, 0.3, 1),
        padding 0.7s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.7s cubic-bezier(0.16, 1, 0.3, 1),
        background-color 0.7s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.7s cubic-bezier(0.16, 1, 0.3, 1),
        backdrop-filter 0.7s cubic-bezier(0.16, 1, 0.3, 1),
        border-radius 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (min-width: 768px) {
    .navbar {
        padding: 20px 24px;
    }
}

/* --- Scrolled State --- */
.navbar.scrolled {
    max-width: 768px;
    margin-top: 12px;
    padding: 8px 16px;
    border-radius: 20px;
    border-color: rgba(255, 255, 255, 0.08);
    background-color: rgba(255, 255, 255, 0.04);
    box-shadow: rgba(0, 0, 0, 0.3) 0px 2px 24px;
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
}

/* --- Logo styling --- */
.navbar-logo-link {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
}

.navbar-logo {
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    transform: scale(0.95);
    transform-origin: left center;
    filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.4));
    display: block;
    height: 28px;
    width: auto;
}

@media (min-width: 768px) {
    .navbar-logo {
        transform: scale(1);
        height: 32px;
    }
}

.navbar.scrolled .navbar-logo {
    transform: scale(0.85);
}

/* --- Center Navigation Links --- */
.navbar-links {
    display: none;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    align-items: center;
    justify-content: center;
    gap: 28px;
}

@media (min-width: 768px) {
    .navbar-links {
        display: flex;
    }
}

.navbar-link {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    transition: color 0.2s ease;
}

.navbar-link:hover {
    color: rgba(255, 255, 255, 0.9);
}

/* ================================================================
   MEGAMENU DROPDOWN STYLE (Column Based)
   ================================================================= */
.nav-item-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}

/* Dropdown toggle button styling - Pill Shape */
.nav-dropdown-toggle {
    background: none;
    border: 1px solid transparent;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 6px 14px !important;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.45);
    font-family: var(--font-secondary) !important;
    transition: color 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                background-color 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-dropdown-toggle:hover {
    color: rgba(255, 255, 255, 0.9);
}

.dropdown-chevron {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    stroke-width: 2.5px;
}

.nav-item-dropdown:hover .dropdown-chevron,
.nav-item-dropdown.active .dropdown-chevron {
    transform: rotate(180deg);
}

.nav-item-dropdown:hover .nav-dropdown-toggle,
.nav-item-dropdown.active .nav-dropdown-toggle {
    color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.12);
    background-color: rgba(255, 255, 255, 0.05);
}

/* Mega menu dropdown container */
.megamenu-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    width: 960px;
    padding-top: 12px; /* Bridges the hover gap between navbar link and dropdown content */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 1000;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
                visibility 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Show dropdown on hover or active class */
.nav-item-dropdown:hover .megamenu-dropdown,
.nav-item-dropdown.active .megamenu-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

/* Dropdown Container Card */
.megamenu-container {
    background-color: #0b0b0b;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), inset 0 0 30px rgba(255, 255, 255, 0.01);
}

/* Megamenu Cards (Columns) */
.megamenu-card {
    display: block;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    padding: 20px;
    height: 100%;
    text-decoration: none !important;
    transition: border-color 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
}

.megamenu-card:hover {
    border-color: rgba(255, 255, 255, 0.12);
    background-color: rgba(255, 255, 255, 0.04);
    transform: translateY(-2px);
}

.megamenu-card-header {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.megamenu-icon {
    font-size: 1.25rem;
    color: #ffffff;
    width: 38px;
    height: 38px;
    min-width: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.megamenu-card:hover .megamenu-icon {
    background-color: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.15);
}

.megamenu-card-title {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 2px;
    font-family: var(--font-primary) !important;
}

.megamenu-badge {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.08em;
    padding: 2px 6px;
    border-radius: 50px;
    text-transform: uppercase;
}

.badge-live {
    background-color: rgba(52, 211, 153, 0.1);
    color: #34d399;
    border: 1px solid rgba(52, 211, 153, 0.2);
}

.badge-soon {
    background-color: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.megamenu-card-desc {
    font-size: 12px;
    color: #a1a1aa;
    line-height: 1.4;
    margin-bottom: 0;
    margin-top: 6px;
}

/* Mockup in Megamenu */
.megamenu-mockup {
    width: 100%;
    height: 105px;
    background-color: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    margin-top: 16px;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.8);
}

.mockup-screen {
    width: 100%;
    height: 100%;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mockup-header {
    display: flex;
    gap: 4px;
    margin-bottom: 4px;
}

.mockup-header .dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
}

.mockup-header .dot.red { background-color: #ef4444; }
.mockup-header .dot.yellow { background-color: #f59e0b; }
.mockup-header .dot.green { background-color: #10b981; }

.mockup-body {
    flex-grow: 1;
    position: relative;
}

/* Column 1 chart line animation mockup */
.mockup-chart-line {
    width: 80%;
    height: 30px;
    border-bottom: 1.5px solid rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
    margin: 10px auto 0;
}

.mockup-chart-line::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-bottom: 2px solid #34d399;
    border-radius: 50% 50% 0 0;
    transform: scaleY(0.7) translateY(12px);
    opacity: 0.7;
}

/* Column 2 AI Chat mockup */
.mockup-bubble {
    height: 8px;
    border-radius: 4px;
    margin-bottom: 6px;
    background-color: rgba(255, 255, 255, 0.05);
}

.mockup-bubble.ai-query {
    width: 40%;
    margin-left: auto;
    background-color: rgba(255, 255, 255, 0.08);
}

.mockup-bubble.ai-response {
    width: 65%;
    background-color: rgba(52, 211, 153, 0.15);
}

/* Column 3 grid items */
.mockup-grid {
    display: flex;
    gap: 6px;
    height: 100%;
}

.mockup-grid-item {
    flex: 1;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.mockup-grid-item::before {
    content: '';
    display: block;
    width: 60%;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.08);
    margin: 6px auto;
    border-radius: 2px;
}

/* Megamenu Footer Banner */
.megamenu-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin-top: 24px;
    padding-top: 18px;
    text-align: center;
    font-size: 13px;
    color: #a1a1aa;
}

.megamenu-footer-link {
    color: #ffffff;
    font-weight: 600;
    text-decoration: none !important;
    transition: opacity 0.2s ease;
}

.megamenu-footer-link:hover {
    opacity: 0.8;
}

/* Responsive Overrides */
@media (max-width: 991px) {
    .megamenu-dropdown {
        position: static;
        width: 100%;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        display: none;
        margin-top: 10px;
    }

    .megamenu-dropdown.show {
        display: block;
    }

    .megamenu-container {
        padding: 16px;
        background-color: rgba(255, 255, 255, 0.02);
        border: 1px solid rgba(255, 255, 255, 0.05);
        border-radius: 16px;
    }
    
    .megamenu-card {
        padding: 14px;
        margin-bottom: 12px;
    }

    .megamenu-mockup {
        display: none;
    }
}

/* Make sure header nav container doesn't cut off megamenu */
.navbar-wrapper {
    overflow: visible !important;
}

.navbar {
    overflow: visible !important;
}

/* Mobile Nav Overlay Dropdown */
.mobile-dropdown-wrapper {
    width: 100%;
}

.mobile-dropdown-toggle {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    color: rgba(255, 255, 255, 0.45);
    font-size: 24px;
    font-weight: 700;
    font-family: var(--font-primary);
    transition: color 0.2s ease;
}

.mobile-dropdown-toggle:hover {
    color: #ffffff;
}

.mobile-dropdown-menu {
    display: none;
    padding-left: 20px;
    flex-direction: column;
    gap: 12px;
    margin-top: 12px;
    margin-bottom: 8px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-dropdown-menu.show {
    display: flex;
}

.mobile-dropdown-item {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    padding: 4px 0;
    font-weight: 500;
    transition: color 0.2s ease;
}

.mobile-dropdown-item:hover {
    color: #ffffff;
}

/* --- Action Buttons (Right Aligned) --- */
.navbar-actions {
    display: none;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

@media (min-width: 768px) {
    .navbar-actions {
        display: flex;
    }
}

/* --- Get Started Button --- */
.btn-get-started {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 9999px;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
    background-color: #ffffff;
    color: #0a0a0a;
    text-decoration: none;
    box-shadow: 0 2px 12px rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease-out;
}

.btn-get-started:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.14);
}

.arrow-icon {
    width: 14px;
    height: 14px;
    overflow: hidden;
    max-width: 16px;
    opacity: 1;
    transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Scrolled Get Started Arrow */
.navbar.scrolled .arrow-icon {
    max-width: 0;
    margin-left: -6px;
    opacity: 0;
}

/* --- Mobile Toggle --- */
.mobile-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 100;
}

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

/* Hamburger lines */
.burger-lines {
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: center;
}

.burger-lines span {
    display: block;
    width: 20px;
    height: 2px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: transform 0.3s ease;
}

.mobile-toggle:hover .burger-lines span:first-child {
    transform: translateX(-2px);
}
.mobile-toggle:hover .burger-lines span:last-child {
    transform: translateX(2px);
}

/* ================================================================
   FULLSCREEN BURGER MENU OVERLAY
================================================================= */
.burgerMenuWrap {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background-color: #0a0a0a;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    clip-path: circle(0% at calc(100% - 36px) 36px);
    transition:
        clip-path 0.7s cubic-bezier(0.77, 0, 0.175, 1),
        opacity 0.3s ease,
        visibility 0.7s;
    overflow-y: auto;
}

.burgerMenuWrap.show {
    opacity: 1;
    visibility: visible;
    clip-path: circle(150% at calc(100% - 36px) 36px);
}

/* --- Top Bar (Logo + Close) --- */
.burgerMenuTopBar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 40px;
    flex-shrink: 0;
}

.burgerMenuLogoLink img {
    height: 28px;
    display: block;
}

.burgerMenuToggleBtn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.burgerMenuToggleBtn:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: rotate(90deg);
}

/* --- Body (two columns) --- */
.burgerMenuBody {
    display: flex;
    flex-direction: row;
    flex: 1;
    min-height: 0;
}

.burgerMenuLeft {
    flex: 0 0 38%;
    padding: 40px 60px 60px;
    background-color: #111111;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.burgerMenuTagline {
    font-family: var(--font-primary);
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.25;
    margin-bottom: 0;
}

.burgerMenuInfoBox {
    margin-top: 40px;
}

.burgerMenuInfoLabel {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.35);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.burgerMenuInfoBox ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.burgerMenuInfoBox a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.burgerMenuInfoBox a:hover {
    color: #ffffff;
}

.burgerMenuRight {
    flex: 1;
    padding: 40px 60px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* --- Navigation Links --- */
.burgerMenuNav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.burgerMenuNav > ul > li {
    margin-bottom: 8px;
}

.burgerMenuNav > ul > li > a {
    font-size: 28px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-family: var(--font-primary);
    transition: color 0.3s, padding-left 0.3s;
    line-height: 1.4;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.burgerMenuNav > ul > li > a:hover {
    color: #ffffff;
    padding-left: 6px;
}

/* Chevron inside Product link */
.burger-chevron {
    width: 14px;
    height: 14px;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
    opacity: 0.5;
}

.mobile-dropdown-wrapper.open .burger-chevron {
    transform: rotate(180deg);
    opacity: 1;
}

/* Submenu — animated via jQuery slideToggle */
.burgerMenuNav .sub-menu {
    display: none;
    padding-left: 20px;
    margin-top: 8px;
    margin-bottom: 4px;
    border-left: 2px solid rgba(255, 255, 255, 0.08);
}

.burgerMenuNav .sub-menu li {
    margin-bottom: 6px;
}

.burgerMenuNav .sub-menu a {
    font-size: 15px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.2s;
}

.burgerMenuNav .sub-menu a:hover {
    color: #ffffff;
}

/* CTA button inside burger menu */
.burgerMenuCta {
    margin-top: 24px;
    display: inline-block;
    width: fit-content;
}

/* ================================================================
   RESPONSIVE: Burger Menu on mobile
================================================================= */
@media (max-width: 991px) {
    .burgerMenuBody {
        flex-direction: column;
    }
    .burgerMenuLeft {
        flex: none;
        margin-top: auto;
        order: 2;
        padding: 30px;
    }
    .burgerMenuRight {
        flex: none;
        order: 1;
        padding: 10px 30px 30px;
        justify-content: flex-start;
    }
    .burgerMenuNav > ul > li > a {
        font-size: 24px;
    }
    .burgerMenuTagline {
        font-size: 1.2rem;
    }
    .burgerMenuTopBar {
        padding: 20px 24px;
    }
    .burger-chevron {
        width: 12px;
        height: 12px;
    }
    .burgerMenuNav .sub-menu a {
        font-size: 14px;
    }
}

/* --- Body padding offset --- */


/* --- Hero Section --- */
.hero-section {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image:
        linear-gradient(to top, var(--bg-primary) 0%, rgba(17, 17, 17, 0) 100%),
        url('../images/hero-bg-main.png');
    background-size: 100% 100%, 100% auto;
    background-position: bottom center, top center;
    background-repeat: no-repeat;
    padding-top: 140px;
    padding-bottom: 120px;
}

.container {
    max-width: var(--container-max);
    margin-inline: auto;
    padding: 0;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.star-shower-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background-color: rgba(255, 255, 255, 0.04);
    margin-bottom: 32px;
}

.badge-icon {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
}

.badge-text {
    font-size: 12px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-title {
    font-size: var(--fs-display);
    font-weight: var(--fw-bold);
    line-height: var(--lh-tight);
    letter-spacing: var(--ls-tight);
    color: var(--text-primary);
    margin-bottom: var(--space-lg);
}

.hero-desc {
    font-size: var(--fs-body-lg);
    font-family: var(--font-body);
    color: var(--text-secondary);
    line-height: var(--lh-normal);
    max-width: 720px;
    margin-bottom: var(--space-2xl);
    text-align: center;
}

.hero-ctas {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
    width: 100%;
}

@media (max-width: 480px) {
    .hero-ctas {
        flex-wrap: wrap;
        gap: var(--space-sm);
    }
}

.hero-trust {
    font-size: var(--fs-small);
    color: var(--text-muted);
    font-weight: var(--fw-medium);
}

/* ================================================================
   MARQUEE SECTION
================================================================= */
.marquee-section {
    position: relative;
    width: 100%;
    max-width: 650px;
    margin: var(--space-xl) auto 0 auto;
    padding: var(--space-xs) 0;
    background: transparent;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    border-top: none;
    border-bottom: none;
    z-index: 2;
}

.marquee-row {
    width: 100%;
    overflow: hidden;
    display: flex;
    position: relative;
    user-select: none;
    white-space: nowrap;
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    padding: var(--space-xs) 0;
}

.marquee-track {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    will-change: transform;
}

/* Base continuous looping animation via CSS */
.marquee-row-1 .marquee-track {
    animation: marquee-scroll-left 45s linear infinite;
}

.marquee-row-2 .marquee-track {
    animation: marquee-scroll-right 45s linear infinite;
}

.marquee-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.65);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 100px;
    padding: 6px 18px;
    font-family: var(--font-primary);
    font-size: 0.8rem;
    font-weight: var(--fw-medium);
    letter-spacing: 0.03em;
    transition: all var(--transition-base);
}

.marquee-item:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.02);
    transform: translateY(-1px);
}

@keyframes marquee-scroll-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes marquee-scroll-right {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

/* Stagger Animation Helpers */
.single-word {
    display: inline-block;
    white-space: nowrap;
}

.single-box {
    display: inline-block;
    overflow: hidden;
    vertical-align: bottom;
}

.single-char {
    display: inline-block;
    opacity: 0;
    transform: translateY(1.2em);
    will-change: transform, opacity;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    z-index: 10;
    cursor: pointer;
    transition: opacity var(--transition-base), transform var(--transition-base);
}

.scroll-indicator:hover {
    transform: translateX(-50%) translateY(3px);
}

.scroll-indicator .mouse {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 14px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
    transition: border-color var(--transition-base);
}

.scroll-indicator:hover .mouse {
    border-color: rgba(255, 255, 255, 0.8);
}

.scroll-indicator .wheel {
    width: 4px;
    height: 8px;
    background-color: var(--text-primary);
    border-radius: 2px;
    animation: scroll-wheel-anim 1.8s ease-in-out infinite;
}

@keyframes scroll-wheel-anim {
    0% {
        transform: translateY(0);
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    60% {
        transform: translateY(10px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 0;
    }
}

/* ================================================================
   SOLUTION SECTION
================================================================= */
.solution-section {
    padding: var(--section-padding);
    background-color: var(--bg-primary);
}

/* ================================================================
   BENTO GRID — 3-column asymmetric layout
   Col 1 (left, wide): stat card spans 2 rows
   Col 2 (mid):  chart top / number bottom
   Col 3 (right): globe top / chat bottom
================================================================= */
.bento-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 14px;
    margin-top: 3rem;
}

/* ---- Base bento card ---- */
.bento-card {
    background-color: #161616;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 28px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.bento-card:hover {
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

/* Monospace retro label */
.bento-label {
    display: block;
    font-family: "Courier New", Courier, monospace;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.22em;
    color: rgba(255, 255, 255, 0.28);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.bento-title {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.bento-desc {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.42);
    line-height: 1.55;
    margin: 0;
}

/* ================================================================
   CARD 1 — STAT (left, spans 2 rows)
================================================================= */
.bento-card--stat {
    grid-row: 1 / 3;
    background: #111111;
    border-color: rgba(255, 255, 255, 0.09);
}

.bento-card--stat:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.stat-visual {
    flex: 1;
    display: flex;
    flex-direction: column;
    /* justify-content: flex-end; */
    padding-top: 28px;
    gap: 0;
}

.stat-block {
    display: flex;
    flex-direction: column;
}

.stat-block--primary {
    padding-bottom: 24px;
}

.stat-block--secondary {
    padding-top: 20px;
}

.stat-tiny-label {
    font-family: "Courier New", monospace;
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 6px;
}

.stat-huge {
    font-family: var(--font-primary);
    font-size: clamp(8rem, 10vw, 13rem);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.04em;
    color: #fff;
}

.stat-mid {
    font-family: var(--font-primary);
    font-size: clamp(4rem, 4vw, 7rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.03em;
    color: rgba(255, 255, 255, 0.6);
}

.stat-unit {
    font-size: 0.55em;
    vertical-align: super;
    font-weight: 600;
    letter-spacing: 0;
}

.stat-sub-text {
    font-family: "Courier New", monospace;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.22);
    letter-spacing: 0.08em;
    margin-top: 8px;
}

.stat-divider {
    height: 1px;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.1), transparent);
}

/* Very subtle white glow behind the big number */
.bento-card--stat::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: -40px;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.stat-visual,
.bento-card--stat .bento-label,
.bento-card--stat .bento-title,
.bento-card--stat .bento-desc {
    position: relative;
    z-index: 1;
}

/* ================================================================
   CARD 2 — CHART (top middle)
================================================================= */
.bento-card--chart {
    background-color: #141414;
}

.bento-canvas-wrap {
    flex: 1;
    position: relative;
    min-height: 155px;
    margin-top: 18px;
}

.bento-canvas-wrap canvas {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
}

/* ================================================================
   CARD 3 — GLOBE (top right)
================================================================= */
.bento-card--globe {
    background: #111111;
    border-color: rgba(255, 255, 255, 0.09);
    min-height: 360px;
}

.bento-card--globe:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

/* Card text stays above the globe layer */
.bento-card--globe .bento-label,
.bento-card--globe .bento-title,
.bento-card--globe .bento-desc {
    position: relative;
    z-index: 2;
}

/* Globe 400×400, anchored to bottom-right — bleeds off right+bottom, clipped */
.bento-globe-wrap {
    position: absolute;
    bottom: -60%;
    right: -30%;
    width: 450px;
    height: 450px;
    margin: 0;
    z-index: 1;
}

/* Canvas fills the 400×400 wrapper exactly */
#bentoGlobe {
    width: 400px;
    height: 400px;
    display: block;
    cursor: grab;
    opacity: 0;
    transition: opacity 0.6s ease;
}


/* ================================================================
   CARD 4 — NUMBER (bottom middle)
================================================================= */
.bento-card--number {
    background-color: #141414;
    overflow: hidden;
}

.bento-watermark {
    position: absolute;
    bottom: 24px;
    font-family: var(--font-primary);
    font-size: clamp(5rem, 8vw, 8rem);
    font-weight: 900;
    color: rgba(255, 255, 255, 0.04);
    line-height: 1;
    pointer-events: none;
    user-select: none;
    letter-spacing: 0.05em;
    position: absolute;
    text-transform: uppercase;
    font-weight: 700;
    color: #f5f5f5;
    text-shadow: 1px 1px 1px #919191,
        1px 2px 1px #919191,
        1px 3px 1px #919191,
        1px 4px 1px #919191,
        1px 5px 1px #919191,
        1px 6px 1px #919191,
        1px 7px 1px #919191,
        1px 8px 1px #919191,
        1px 9px 1px #919191,
        1px 10px 1px #919191,
        1px 18px 6px rgba(16, 16, 16, 0.4),
        1px 22px 10px rgba(16, 16, 16, 0.2),
        1px 25px 35px rgba(16, 16, 16, 0.2),
        1px 30px 60px rgba(16, 16, 16, 0.4);
    transition: all 0.3s ease-in-out;
}



/* ================================================================
   CARD 5 — CHAT (bottom right)
================================================================= */
.bento-card--chat {
    background: #111111;
    border-color: rgba(255, 255, 255, 0.09);
}

.chat-preview {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 16px;
}

.chat-bubble {
    border-radius: 10px;
    padding: 10px 14px;
    font-family: var(--font-body);
    font-size: 0.78rem;
    line-height: 1.45;
}

.chat-bubble--user {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.55);
    align-self: flex-end;
    max-width: 92%;
}

.chat-bubble--ai {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.82);
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.chat-ai-dot {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8px;
    color: #fff;
    margin-top: 1px;
}

.chat-input-mock {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 8px;
    padding: 9px 12px;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.2);
    font-family: var(--font-body);
    margin-top: 4px;
}

.chat-send {
    width: 22px;
    height: 22px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
}

/* ================================================================
   BENTO RESPONSIVE
================================================================= */
@media (max-width: 900px) {
    .bento-grid {
        grid-template-columns: 1fr 1fr;
    }

    .bento-card--stat {
        grid-column: 1 / 3;
        grid-row: auto;
    }
}

@media (max-width: 600px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }

    .bento-card--stat {
        grid-column: auto;
    }
}

/* ================================================================
   PROBLEM SECTION
================================================================= */

.problem-section {
    padding: var(--section-padding);
    background-color: var(--bg-primary);
    position: relative;
}



.problem-section .container {
    position: relative;
    z-index: 2;
}

/* ================================================================
   PROBLEM SECTION — RETRO BENTO GRID
================================================================= */

/* Asymmetric bento layout:
   Left col (55%): featured card spans both rows
   Right col (45%): two stacked cards              */
.problem-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    grid-template-rows: auto auto;
    gap: 12px;
    text-align: left;
}

/* Featured card occupies the entire left column */
.problem-card--featured {
    grid-row: 1 / 3;
}

/* ---- Problem Card base ---- */
.problem-card {
    background-color: var(--bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 10px;
    /* sharper = more retro */
    padding: var(--space-xl);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
    /* overflow: hidden; */
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
    will-change: transform;
    cursor: default;
    /* Mouse position for dot glow mask */
    --mouse-x: 50%;
    --mouse-y: 50%;
}

/* Featured card: slightly elevated bg + taller padding */
.problem-card--featured {
    background-color: #1e1e1e;
    padding: var(--space-2xl);
    border-color: rgba(255, 255, 255, 0.12);
}

/* ---- Retro tag label (top of card) ---- */
.card-retro-tag {
    display: inline-block;
    font-family: "Courier New", Courier, monospace;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.25);
    text-transform: uppercase;
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    width: 100%;
    position: relative;
    z-index: 3;
}

/* ---- Huge watermark number — bottom-right corner ---- */
.card-number {
    position: absolute;
    bottom: -10px;
    right: 12px;
    font-family: "Courier New", Courier, monospace;
    font-size: 110px;
    font-weight: 900;
    line-height: 1;
    color: rgba(255, 255, 255, 0.035);
    pointer-events: none;
    user-select: none;
    z-index: 0;
    letter-spacing: -0.05em;
    transition: color 0.4s ease;
}

/* Number brightens on hover */
.problem-card:hover .card-number {
    color: rgba(255, 255, 255, 0.065);
}

/* Featured card: bigger number */
.problem-card--featured .card-number {
    font-size: 160px;
    bottom: -20px;
    right: 16px;
}

/* ---- Grid line pattern layers ---- */

/* Layer 1 — faint graph-paper grid, always present */
.problem-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.01) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.01) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
    z-index: 0;
    border-radius: inherit;
}

/* Layer 2 — bright grid lines revealed near cursor via CSS mask */
.problem-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.55) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.55) 1px, transparent 1px);
    background-size: 28px 28px;
    -webkit-mask-image: radial-gradient(circle 100px at var(--mouse-x) var(--mouse-y),
            black 0%,
            black 20%,
            transparent 100%);
    mask-image: radial-gradient(circle 100px at var(--mouse-x) var(--mouse-y),
            black 0%,
            black 20%,
            transparent 100%);
    pointer-events: none;
    z-index: 1;
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.problem-card:hover::after {
    opacity: 1;
}

/* ---- Card content — above dot layers ---- */
.problem-card .card-icon,
.problem-card .card-title,
.problem-card .card-text {
    position: relative;
    z-index: 3;
}

/* ---- Hover state ---- */
.problem-card:hover {
    border-color: rgba(255, 255, 255, 0.22);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.06),
        0 24px 60px rgba(0, 0, 0, 0.45),
        0 0 40px rgba(255, 255, 255, 0.03);
}

/* ---- Icon ---- */
.problem-card .card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    color: var(--text-primary);
    font-size: 1.1rem;
    will-change: transform;
}

/* Featured: larger icon */
.problem-card--featured .card-icon {
    width: 52px;
    height: 52px;
    font-size: 1.3rem;
}

/* ---- Typography ---- */
.problem-card .card-title {
    font-family: var(--font-primary);
    font-weight: var(--fw-bold);
    font-size: var(--fs-h4);
    color: var(--text-primary);
    will-change: transform;
}

.problem-card--featured .card-title {
    font-size: var(--fs-h3);
    letter-spacing: var(--ls-tight);
}

.problem-card .card-text {
    font-family: var(--font-body);
    font-size: var(--fs-body);
    line-height: var(--lh-normal);
    color: var(--text-secondary);
    will-change: transform;
}

/* ---- Responsive: single column stack on mobile ---- */
@media (max-width: 768px) {
    .problem-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .problem-card--featured {
        grid-row: auto;
    }

    .card-number {
        font-size: 80px;
    }

    .problem-card--featured .card-number {
        font-size: 100px;
    }
}

/* Transition text below cards */
.transition-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

}

.transition-text {
    font-family: var(--font-secondary);
    font-size: var(--fs-body-lg);
    font-weight: var(--fw-medium);
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
    letter-spacing: var(--ls-tight);
}

/* 3D TEXT FLIP COMPONENT (LOOPING) */
.text-3d-wrap {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    perspective: 1200px;
}

.text-3d-word {
    display: inline-flex;
    white-space: pre;
}

.text-3d-char {
    position: relative;
    display: inline-flex;
    transform-style: preserve-3d;
    transform: translateZ(-0.5em);
    /* Increased loop duration to 8s for a longer delay between wave cycles */
    animation: text3dFlipLoop 8s cubic-bezier(0.34, 1.56, 0.64, 1) infinite;
}

@keyframes text3dFlipLoop {

    0%,
    20% {
        transform: translateZ(-0.5em) rotateX(0deg);
    }

    40%,
    60% {
        transform: translateZ(-0.5em) rotateX(90deg);
    }

    80%,
    100% {
        transform: translateZ(-0.5em) rotateX(0deg);
    }
}

.text-3d-front,
.text-3d-back {
    display: block;
    backface-visibility: hidden;
    height: 1em;
}

.text-3d-front {
    transform: translateZ(0.5em);
}

.text-3d-back {
    position: absolute;
    top: 0;
    left: 0;
    transform: rotateX(-90deg) translateZ(0.5em);
    color: var(--text-primary);
    /* Keep it white */
}

.transition-line-accent {
    width: 48px;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--text-primary), transparent);
    border-radius: var(--radius-full);
}

/* ================================================================
   PANDA MASCOT
================================================================= */
.panda-mascot {
    position: absolute;
    width: 100%;
    top: -65%;
    z-index: 2;
    pointer-events: none;

}



/* ================================================================
   ORBITING CIRCLES (MagicUI adaptation)
================================================================= */
.orbiting-circles-wrap {
    position: absolute;
    width: 100%;
    aspect-ratio: 1/1;
    top: 100%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    pointer-events: none;
}

.orbit-path-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.orbit-path-svg circle {
    fill: none;
    stroke: rgba(255, 255, 255, 0.08);
    stroke-width: 1.5;
    stroke-dasharray: 4 6;
}

.orbiting-circle {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    animation: orbit calc(var(--duration) * 1s) linear infinite;
}

@keyframes orbit {
    0% {
        transform: rotate(calc(var(--angle) * 1deg)) translateY(calc(var(--radius) * 1%)) rotate(calc(var(--angle) * -1deg));
    }

    100% {
        transform: rotate(calc(var(--angle) * 1deg + 360deg)) translateY(calc(var(--radius) * 1%)) rotate(calc((var(--angle) * -1deg) - 360deg));
    }
}

.ai-node {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(20, 20, 20, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.ai-node img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

/* Ensure the card hides the bottom half of the circles */
.problem-card.z-1 {
    position: relative;
    z-index: 1;
}

/* ================================================================
   SMOOTH CURSOR — rotating SVG arrow
================================================================= */
@media (any-hover: hover) and (any-pointer: fine) {

    body.has-smooth-cursor,
    body.has-smooth-cursor *:not(input):not(textarea):not(select) {
        cursor: none !important;
    }

    .custom-cursor {
        position: fixed;
        top: 0;
        left: 0;
        width: 20px;
        height: 24px;
        /* Offset so translate(mouseX, mouseY) places the arrow TIP on the cursor.
           Tip is at 55% of 50px = 27.5px from left, 12.6% of 54px = 6.8px from top */
        margin-left: -10.5px;
        margin-top: -6.8px;
        pointer-events: none;
        z-index: 10000;
        opacity: 0;
        will-change: transform;
        /* Pivot rotation around the tip point */
        /* transform-origin: 27.5px 6.8px; */
    }
}

/* Hide on touch / mobile */
@media (max-width: 767px) {
    .custom-cursor {
        display: none !important;
    }
}

/* ================================================================
   PRODUCTS SECTION (MCP)
================================================================= */
.products-section {
    padding: var(--section-padding);
}

/* --- Product Card --- */
.product-card {
    background-color: #111111;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    padding: 36px 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 100%;
    position: relative;
    overflow: hidden;
}

/* Particles canvas inside each card */
.product-particles {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    border-radius: inherit;
}

/* --- Header --- */
.product-card-header {
    position: relative;
    z-index: 2;
}

/* Status badges */
.product-status {
    display: inline-block;
    font-family: var(--font-secondary);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 12px;
}

.product-status--live {
    background-color: rgba(52, 211, 153, 0.15);
    color: #34d399;
    border: 1px solid rgba(52, 211, 153, 0.25);
}

.product-status--soon {
    background-color: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.product-card-header h3 {
    font-size: 22px;
    color: #ffffff;
    margin-bottom: 8px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.product-card-header p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 0;
    line-height: 1.5;
}

/* --- Image --- */
.product-card-image {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 16px 0;
    flex-grow: 1;
    position: relative;
    z-index: 2;
}

.product-card-image img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.5));
}

/* --- Footer / CTA --- */
.product-card-footer {
    position: relative;
    z-index: 3;
    margin-top: auto;
}

.btn-product {
    background-color: #ffffff;
    color: #0a0a0a;
    border-radius: 16px;
    font-weight: 600;
    padding: 16px 24px;
    font-size: 16px;
    border: 2px solid transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    transition:
        background-color 0.3s ease,
        color 0.3s ease,
        transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.btn-product:hover {
    background-color: #ffffff;
    color: #0a0a0a;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.2), 0 0 40px rgba(255, 255, 255, 0.06);
}

.btn-product:active {
    transform: translateY(0) scale(0.97);
    box-shadow: none;
}

/* ================================================================
   WHY SECTION (Pinning Slides)
================================================================= */
.why-section {
    padding: var(--section-padding);
    background-color: var(--bg-primary);
    /* Dark theme */
    position: relative;
    z-index: 10;
}


.why-slide {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    box-sizing: border-box;
    overflow: hidden;
}

.why-slide-content {
    width: 100%;
    max-width: 1200px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-slide-inner {
    width: 100%;
    padding: 60px 40px;
    background-color: #0f0f0f;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.why-slide-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.why-slide-body {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: rgba(255, 255, 255, 0.65);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ================================================================
   WHY CHOOSE US — Full Screen Slides (Sticky Folder Effect)
================================================================= */
.why-slides-wrapper {
    width: 100%;
    position: relative;
}

.why-slide {
    width: 100%;
    height: 100vh;
}

.why-slide-inner {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    text-align: center;
}

/* Custom typography for the slides so sizes can be easily tweaked */
.why-slide-title-large {
    font-size: clamp(3rem, 6vw, 5rem);
    /* Equivalent to Bootstrap display-1 */
}

.why-slide-body-large {
    font-size: clamp(1.25rem, 2.5vw, 1.7rem);
    max-width: 850px;
    margin: 0 auto;
}

/* Odd slide: White background, black text */
.why-slide.odd-slide .why-slide-inner {
    background-color: #ffffff;
    color: #000000;
}

/* Even slide: Black background, white text */
.why-slide.even-slide .why-slide-inner {
    background-color: #050505;
    color: #ffffff;
}

/* Ensure padding on smaller screens so the big text doesn't hit the edges */
@media (max-width: 768px) {
    .why-slide-inner {
        padding-top: 80px;
        padding-bottom: 80px;
    }
}

/* ================================================================
   LINE SHADOW TEXT (MagicUI adaptation)
================================================================= */
.line-shadow-text {
    position: relative;
    z-index: 0;
    display: inline-flex;
    --shadow-color: #000000;
}

.line-shadow-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0.04em;
    left: 0.04em;
    z-index: -10;

    /* Striped gradient */
    background: linear-gradient(45deg,
            transparent 45%,
            var(--shadow-color) 45%,
            var(--shadow-color) 55%,
            transparent 0);
    background-size: 0.06em 0.06em;

    /* Clip text */
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;

    /* Animate */
    animation: line-shadow 80s linear infinite;
}

@keyframes line-shadow {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 100% -100%;
    }
}

/* ================================================================
   MISSION SECTION
================================================================= */
#mission {
    position: relative;
    z-index: 10;
}

#mission>* {
    position: relative;
    z-index: 11;

}

.mission-profile-wrapper {
    position: relative;
    display: inline-block;
    max-width: 400px;
}


.mission-profile-img {
    position: relative;
    z-index: 1;

}

.mission-profile-info {
    position: absolute;
    bottom: 0;
    border-top: 1px solid rgba(255, 255, 255, .2);
    width: 50%;
    padding-top: 20px;
    margin-top: 20px;
    z-index: -1;
}

.mission-quote-box {
    position: relative;
    padding-left: 50px;

    /* Aligns with the width of the profile wrapper */
    margin-top: 30px;
}

.mission-quote-icon {
    position: absolute;
    top: -20px;
    left: 0;
    font-size: 6rem;
    font-family: Georgia, serif;
    color: #ffffff;
    /* Accent red color for quote */
    line-height: 1;
}

.mission-quote-text {
    /* Equivalent to Bootstrap display-6, customizable here */
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    text-align: left;
}

/* Stagger text highlighted styling */
.stagger-word-wrap {
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
    margin-right: 0.25em;
    /* Space between words */
    padding-bottom: 2px;
    /* space for letters like g, y, p */
}

.stagger-word-inner {
    display: inline-block;
    transform: translateY(100%);
    opacity: 0;
    /* The highlight background as seen in the screenshot */
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.08) 100%);
    background-repeat: no-repeat;
    background-size: 100% 35%;
    background-position: 0 85%;
}

/* ================================================================
   FINAL CTA SECTION
================================================================= */
.final-cta-section {
    background-color: #000000;
}

.cta-card {
    background-color: #111111;
    border-radius: 40px;
    padding: 80px 60px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

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


/* Panda image container & absolute positioning */
.cta-panda-wrapper {
    position: absolute;
    bottom: 0%;
    /* Drops below the card so it gets clipped by overflow:hidden */
    right: 0%;
    width: 50%;
    height: 125%;
    /* Let it grow tall */
    z-index: 1;
    pointer-events: none;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
}

.cta-panda-img {
    height: 100%;
    width: auto;
    object-fit: contain;
    object-position: bottom right;
}

@media (max-width: 991px) {
    .cta-card {
        padding: 50px 30px;
    }

}