/* ================================
   EXIMIA - Ultra Premium "Palantir" Design System
   ================================ */

/* CSS Custom Properties */
:root {
    /* Colors - Palantir Dark Mode (Purple Accent Edition) */
    --bg-primary: #000000;
    --bg-secondary: #050505;
    --bg-tertiary: #0a0a0a;

    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.9);
    --text-tertiary: #64748b;

    /* Electric Purple Accents (Minimalist) */
    --accent-blue: #a855f7;
    /* Now Purple */
    --accent-indigo: #9333ea;
    /* Darker Purple */
    --accent-cyan: #c084fc;
    /* Light Purple */

    /* Gradients */
    --accent-gradient: linear-gradient(90deg, var(--accent-blue), var(--accent-indigo));
    --accent-gradient-subtle: linear-gradient(180deg, rgba(168, 85, 247, 0.1), rgba(147, 51, 234, 0.05));
    --card-gradient: linear-gradient(145deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);

    /* Borders */
    --border-color: rgba(255, 255, 255, 0.08);
    /* Finer, subtler */
    --border-color-hover: rgba(168, 85, 247, 0.3);

    /* Glows */
    --glow-primary: 0 0 20px rgba(168, 85, 247, 0.15);
    --glow-strong: 0 0 30px rgba(168, 85, 247, 0.25);

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 5rem;
    /* Increased for breathing room */
    --spacing-3xl: 8rem;

    --section-padding: 8rem 0;
    --section-padding-mobile: 4rem 0;

    /* Border Radius - Refined */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 200ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);

    /* Container */
    --container-max: 1280px;
    --container-padding: 2rem;
}

/* ================================
   Reset & Base Styles
   ================================ */

/* ================================
   Reset & Base Styles
   ================================ */

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: var(--bg-primary);
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    /* Pure Black */
    overflow-x: hidden;
}

/* ================================
   Custom Scrollbar
   ================================ */
::-webkit-scrollbar {
    width: 10px;
}

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

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 5px;
    border: 2px solid var(--bg-primary);
}

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

/* Firefox Support */
@supports (scrollbar-color: auto) {
    html {
        scrollbar-color: #333 var(--bg-primary);
        scrollbar-width: thin;
    }
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ================================
   Container & Grid
   ================================ */

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    position: relative;
    z-index: 10;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-2xl);
    align-items: center;
}

@media (max-width: 768px) {
    .grid-2 {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
}

/* ================================
   Typography
   ================================ */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    /* Slightly lighter for modern tech feel */
    line-height: 1.1;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
}

h2 {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
}

h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 500;
}

p {
    font-size: 1.125rem;
    line-height: 1.75;
    color: var(--text-secondary);
    font-weight: 300;
}

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

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-md);
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.section-subtitle {
    text-align: center;
    font-size: 1.25rem;
    color: #ffffff;
    opacity: 0.9;
    margin-bottom: var(--spacing-3xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* ================================
   Buttons
   ================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.95rem 2rem;
    /* Adjusted for better visual centering */
    line-height: 1;
    /* Crucial for vertical center */
    font-size: 0.9375rem;
    font-weight: 600;
    /* Increased weight */
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    letter-spacing: 0.05em;
    /* Increased spacing */
}

.btn-primary {
    background: linear-gradient(135deg,
            #7c3aed 0%,
            #9333ea 25%,
            #a855f7 50%,
            #7c3aed 75%,
            #6d28d9 100%);
    background-size: 200% 200%;
    color: #fff;
    box-shadow:
        0 0 20px rgba(147, 51, 234, 0.5),
        0 0 40px rgba(147, 51, 234, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    animation: metallic-shimmer 3s ease infinite;
}

@keyframes metallic-shimmer {

    0%,
    100% {
        background-position: 0% 50%;
    }

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

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow:
        0 0 30px rgba(147, 51, 234, 0.7),
        0 0 60px rgba(147, 51, 234, 0.3),
        0 10px 30px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.3);
}

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

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

.btn-outline {
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(4px);
}

.btn-outline:hover {
    border-color: var(--accent-blue);
    background: rgba(56, 189, 248, 0.05);
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.1);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1.0625rem;
}

.btn-block {
    width: 100%;
}

.btn-hero-violet {
    background: linear-gradient(135deg, #a855f7 0%, #7e22ce 100%);
    color: #ffffff;
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.5);
    border: 1px solid rgba(168, 85, 247, 0.4);
    min-width: 200px;
    /* Make it substantial */
    font-weight: 600;
}

.btn-hero-violet:hover {
    background: linear-gradient(135deg, #9333ea 0%, #6b21a8 100%);
    box-shadow: 0 0 35px rgba(168, 85, 247, 0.7);
    transform: translateY(-2px);
    border-color: rgba(168, 85, 247, 0.8);
}

.btn-hero-violet::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 600ms ease;
}

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

/* ================================
   Navigation
   ================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    padding: 1.5rem 0;
    transition: all var(--transition-base);
    border-bottom: 1px solid transparent;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(20px);
}

.navbar.scrolled {
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    /* For absolute centering */
}

.logo {
    display: flex;
    align-items: center;
    z-index: 2;
    /* Keep above links */
}

.logo img {
    height: 28px;
    /* Sleek height for navbar */
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 2rem;
    /* Cleaner, tighter gap */
    align-items: center;
    position: absolute;
    /* Technical Centering */
    left: 50%;
    transform: translateX(-50%);
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #ffffff;
    transition: all var(--transition-fast);
    opacity: 1;
    position: relative;
    padding-bottom: 2px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-blue);
    transition: width 0.3s ease;
    box-shadow: 0 0 8px var(--accent-blue);
}

.nav-links a:hover {
    color: white;
    text-shadow: 0 0 12px rgba(168, 85, 247, 0.6);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Dropdown Menu Styles */
.nav-dropdown {
    position: relative;
}

.dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    vertical-align: middle;
}

.dropdown-arrow {
    transition: transform 0.3s ease;
}

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

.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 200px;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 12px;
    padding: 0.5rem 0;
    display: none;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6),
        0 0 40px rgba(147, 51, 234, 0.2);
    z-index: 9999;
    list-style: none;
}

/* Invisible bridge for hover gap */
.nav-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 15px;
    background: transparent;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-bottom-color: rgba(168, 85, 247, 0.5);
}

.nav-dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    padding: 0;
    display: block;
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.dropdown-menu a:hover {
    background: linear-gradient(90deg, rgba(168, 85, 247, 0.2), transparent);
    color: #fff;
    padding-left: 1.5rem;
}

.dropdown-menu a::after {
    display: none;
}

.nav-cta {
    display: flex;
    gap: var(--spacing-sm);
}

.nav-cta .btn {
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.3), rgba(59, 130, 246, 0.3));
    border: 1px solid rgba(147, 51, 234, 0.5);
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    box-shadow: 0 0 15px rgba(147, 51, 234, 0.3);
    transition: all 0.3s ease;
}

.nav-cta .btn:hover {
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.5), rgba(59, 130, 246, 0.5));
    box-shadow: 0 0 25px rgba(147, 51, 234, 0.5);
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 8px;
}

.hamburger span {
    width: 24px;
    height: 1px;
    /* Thinner lines */
    background: white;
    transition: all var(--transition-base);
}

/* =================================
   CHECKBOX HACK FOR iOS MOBILE MENU
   ================================= */
.menu-toggle-checkbox {
    display: none;
}

/* When checkbox is checked, show the menu */
.menu-toggle-checkbox:checked~.container .nav-links {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
}

/* When checkbox is checked, animate hamburger to X */
.menu-toggle-checkbox:checked~.container .hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle-checkbox:checked~.container .hamburger span:nth-child(2) {
    opacity: 0;
}

.menu-toggle-checkbox:checked~.container .hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 1024px) {

    /* 1. Ensure Logo/Hamburger are clickable above overlay */
    .logo,
    .hamburger {
        z-index: 99999 !important;
        position: relative;
        display: flex;
        flex-direction: column;
        gap: 6px;
        padding: 12px;
        background: transparent;
        border: none;
        cursor: pointer;
        /* iOS Touch Fixes */
        -webkit-tap-highlight-color: transparent;
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        touch-action: manipulation;
        user-select: none;
    }

    /* 2. Fullscreen Menu Overlay */
    .nav-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        /* Start from top */
        padding-top: 120px;
        /* Safe space for header */
        gap: 2rem;

        position: fixed;
        inset: 0;
        /* Top, Right, Bottom, Left: 0 */
        width: 100%;
        height: 100vh;

        background-color: #000;
        /* Solid Black */
        z-index: 2999;
        /* Just below logo/hamburger */

        /* Hidden State */
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-20px);
        transition: all 0.3s ease-in-out;
    }

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

    /* 4. Menu Items Styling */
    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        font-size: 1.5rem;
        font-weight: 600;
        color: #fff;
        display: block;
        padding: 10px;
    }

    /* Mobile Dropdown */
    .nav-dropdown {
        width: 100%;
    }

    .dropdown-toggle {
        justify-content: center;
        /* Prevent text selection on mobile */
        -webkit-user-select: none;
        user-select: none;
    }

    .dropdown-menu {
        position: static;
        transform: none;
        width: 100%;
        min-width: 100%;
        left: 0;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(168, 85, 247, 0.2);
        border-radius: 8px;
        margin-top: 0.75rem;
        padding: 0;
        display: none;
        box-shadow: inset 0 0 20px rgba(147, 51, 234, 0.1);
    }

    .dropdown-menu::before {
        display: none;
    }

    /* Mobile: show via .active class (click/tap) */
    .nav-dropdown.active .dropdown-menu {
        display: block !important;
        padding: 0.5rem 0 !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .dropdown-menu a {
        font-size: 1.1rem;
        padding: 0.75rem 1rem;
        justify-content: center;
    }

    .dropdown-menu a:hover {
        padding-left: 1rem;
    }

    /* 5. Mobile Button */
    .mobile-cta-item {
        display: block !important;
        margin-top: 2rem;
        width: 80%;
    }

    .mobile-cta-item .btn {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        background: #ffffff !important;
        color: #000000 !important;
        font-weight: 700;
        font-size: 1.1rem;
        padding: 1rem;
        box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
    }

    /* 6. Hide Desktop CTA */
    /* 6. Show CTA in Header (Mobile) */
    .nav-cta {
        display: flex;
        margin-left: auto;
        /* Push to right */
        margin-right: 15px;
        /* Space from hamburger */
        z-index: 3001;
        /* Ensure visible */
    }

    .nav-cta .btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
        height: auto;
        min-height: 0;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .nav-cta .btn:hover {
        background: rgba(255, 255, 255, 0.2);
    }

    /* 7. Hamburger Animations */
    .hamburger {
        display: flex;
        border: none;
        background: transparent;
        cursor: pointer;
    }
}

/* Hamburger Active State (Global or Scoped) */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 4rem;
}

/* Prevent background elements from blocking clicks */
#hero-animation-container,
#hero-animation-container canvas,
.hero-gradient,
.hero-gradient-left,
.hero-gradient-bottom {
    pointer-events: none !important;
}

/* Workflow Animation Canvas - Removed
#workflowCanvas { ... } */

/* Gradient overlay - left side for text readability */
.hero-gradient-left {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.6) 30%, transparent 60%);
    z-index: 1;
    pointer-events: none;
}

/* Gradient overlay - bottom for fade effect */
.hero-gradient-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.7) 40%, transparent 100%);
    z-index: 1;
    pointer-events: none;
}

/* Legacy gradient - hidden */
.hero-gradient {
    display: none;
}

/* Mobile optimization */
@media (max-width: 768px) {
    .hero-gradient-left {
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.7) 30%, transparent 70%);
    }

    .hero-content {
        margin-top: -45%;
        /* Pull content up even more */
        transform: translateY(-20px);
    }

    #hero-animation-container {
        top: -15% !important;
        /* Move animation up */
        height: 115% !important;
        /* compensate for the shift */
    }

    .trust-row {
        display: none !important;
    }
}

/* ... */

/* Spotlight Effect Shared Styles */
.step-card,
.plan-card,
.case-card,
.metric,
.testimonial-card,
.cost-row {
    background: rgba(255, 255, 255, 0.02);
    /* Base */
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    /* Contain the spotlight */
    transition: border-color var(--transition-base);
}

.step-card::before,
.plan-card::before,
.case-card::before,
.metric::before,
.testimonial-card::before,
.cost-row::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
            rgba(168, 85, 247, 0.15),
            transparent 40%);
    opacity: 0;
    /* Hidden by default, JS toggles/moves it */
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 1;
}

.step-card:hover::before,
.plan-card:hover::before,
.case-card:hover::before,
.metric:hover::before,
.testimonial-card:hover::before,
.cost-row:hover::before {
    opacity: 1;
}

.step-card:hover,
.plan-card:hover,
.case-card:hover,
.metric:hover,
.testimonial-card:hover,
.cost-row:hover {
    border-color: var(--accent-blue);
    background: rgba(255, 255, 255, 0.03);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 960px;
    margin: 0 auto;
}

.badge {
    display: inline-block;
    padding: 0.375rem 1rem;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--accent-blue);
    margin-bottom: var(--spacing-md);
    backdrop-filter: blur(10px);
    text-transform: uppercase;
    margin-top: 2rem;
}

.hero-title {
    margin-bottom: var(--spacing-md);
    color: #ffffff !important;
    text-shadow:
        0 2px 4px rgba(0, 0, 0, 0.5),
        0 4px 20px rgba(0, 0, 0, 0.3),
        0 0 50px rgba(255, 255, 255, 0.1);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-md);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: #ffffff !important;
    opacity: 0.95;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.trust-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-3xl);
    opacity: 0.8;
}

/* Typewriter Effect */
.typewriter-cursor {
    display: inline-block;
    font-weight: 400;
    color: var(--accent-blue);
    margin-left: 2px;
    opacity: 1;
    animation: blink 1s step-end infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.typewriter-cursor.hidden {
    display: none;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.trust-icon {
    width: 18px;
    height: 18px;
    color: var(--accent-blue);
}

.hero-demo {
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    margin-bottom: var(--spacing-2xl);
    text-align: left;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.demo-label {
    display: block;
    font-size: 1.1rem;
    /* Larger */
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: none;
    /* Remove uppercase for cleaner look */
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    /* Brighter than tertiary */
    text-align: center;
    /* Center alignment */
}



.cta-row {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--spacing-lg);
}

.hero-microcopy {
    font-size: 0.8125rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.5;
}

/* ================================
   Problem → Solution
   ================================ */

.problem-solution {
    padding: var(--section-padding);
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
}

.problem {
    position: relative;
    padding-right: var(--spacing-xl);
}

.problem-list li {
    padding: 1rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-secondary);
    font-size: 1.125rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.problem-list li:last-child {
    border-bottom: none;
}

.problem-list li::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: #ef4444;
    /* Alert red */
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.4);
}

.solution p {
    font-size: 1.5rem;
    font-weight: 300;
    color: white;
    margin-bottom: var(--spacing-xl);
}

/* Metric Cards - Technical Look */
.metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--spacing-md);
}

.metric {
    text-align: left;
    padding: 1.5rem;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
}

.metric-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    /* Clean white numbers */
    margin-bottom: 0.25rem;
    letter-spacing: -0.05em;
    font-feature-settings: "tnum";
    font-variant-numeric: tabular-nums;
}

.metric-label {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ================================
   How It Works
   ================================ */

.how-it-works {
    padding: var(--section-padding);
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-3xl);
}

.step-card {
    padding: var(--spacing-2xl) var(--spacing-xl);
    /* Taller cards */
    background: transparent;
    border: 1px solid var(--border-color);
    /* Minimal borders */
    border-radius: var(--radius-sm);
    position: relative;
    transition: all var(--transition-base);
}

.step-card:hover {
    border-color: var(--accent-blue);
    background: rgba(56, 189, 248, 0.02);
}

.step-number {
    position: absolute;
    top: -1.5rem;
    left: var(--spacing-xl);
    font-size: 4rem;
    font-weight: 800;
    color: var(--bg-primary);
    /* Cutout effect on text */
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.15);
    line-height: 1;
}

.step-icon {
    width: 40px;
    height: 40px;
    margin-bottom: var(--spacing-lg);
    color: var(--accent-blue);
}

.step-card h3 {
    margin-bottom: var(--spacing-sm);
    font-size: 1.25rem;
}

/* ================================
   Plans
   ================================ */

.plans {
    padding: var(--section-padding);
}

.plan-toggle {
    display: flex;
    gap: 4px;
    justify-content: center;
    margin-bottom: var(--spacing-3xl);
    background: rgba(255, 255, 255, 0.05);
    padding: 4px;
    border-radius: var(--radius-full);
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid var(--border-color);
}

.toggle-btn {
    padding: 0.5rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-tertiary);
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
}

.toggle-btn.active {
    background: var(--bg-primary);
    color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    /* Consistent gap */
    margin-bottom: var(--spacing-xl);
}

.plan-card {
    padding: var(--spacing-lg);
    /* Reduced from xl */
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    position: relative;
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
}

/* Featured Card Distinction */
.plan-card.featured {
    border-color: rgba(56, 189, 248, 0.4);
    background: linear-gradient(180deg, rgba(56, 189, 248, 0.05) 0%, transparent 100%);
    box-shadow: 0 0 50px rgba(56, 189, 248, 0.05);
}

.plan-card:hover {
    border-color: var(--accent-blue);
    transform: translateY(-5px);
}

.plan-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--spacing-sm);
}

.plan-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    background: rgba(56, 189, 248, 0.1);
    color: var(--accent-blue);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-full);
    border: 1px solid rgba(56, 189, 248, 0.3);
    white-space: nowrap;
}

.plan-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 0;
    color: var(--accent-blue);
}

.plan-name {
    font-size: 1.125rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--spacing-xs);
    color: var(--text-primary);
}

.plan-price {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    margin-bottom: var(--spacing-sm);
    /* Reduced from md */
}

/* ... */

.plan-description {
    margin-bottom: var(--spacing-md);
    /* Reduced from lg */
    padding-bottom: var(--spacing-md);
    /* Reduced from lg */
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

.plan-features {
    flex-grow: 1;
    margin-bottom: var(--spacing-lg);
    /* Reduced from xl */
}

.plan-features li {
    padding: 0.35rem 0;
    /* Reduced from 0.5rem */
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.875rem;
    color: var(--text-secondary);
    border: none;
}

.plan-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background: var(--accent-blue);
    border-radius: 50%;
    box-shadow: 0 0 5px var(--accent-blue);
}

.plans-note {
    text-align: center;
    color: var(--text-tertiary);
    font-size: 0.8125rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.7;
}

/* ================================
   Usage Costs
   ================================ */

.usage-costs {
    padding: var(--section-padding);
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

.cost-table {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.cost-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem var(--spacing-md);
    background: rgba(255, 255, 255, 0.01);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 0;
    border-radius: 0;
}

.cost-row:last-child {
    border-bottom: none;
}

.cost-row:hover {
    background: rgba(255, 255, 255, 0.03);
    transform: none;
    /* No movement needed here for table feel */
}

.cost-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cost-icon {
    width: 20px;
    height: 20px;
    color: var(--text-tertiary);
}

.cost-name {
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

/* ================================
   Testimonials (Glass Tech)
   ================================ */

/* ================================
   Testimonials (Slider)
   ================================ */

/* ================================
   Testimonials (Infinite Marquee)
   ================================ */

.testimonials {
    position: relative;
    overflow: visible;
}

.testimonials .container {
    position: relative;
}

.testimonials .section-title {
    text-align: center;
    margin-bottom: 2rem;
}

/* Static Grid Layout for Testimonials */
.marquee-mask {
    width: 100%;
    position: relative;
    padding: 2rem 0;
    /* Removed mask for static display */
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
    max-width: 1200px;
    /* Removed animation */
}

/* Removed scrollMarquee keyframes */

.testimonial-card {
    /* flex: 0 0 350px; - Removed for grid */
    height: 100%;
    /* Equal height */
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Make cards wider on desktop */
@media (min-width: 768px) {
    .testimonial-card {
        flex: 0 0 450px;
    }
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-purple);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.th-logo-img {
    max-height: 25px;
    width: auto;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 0 10px rgba(168, 85, 247, 0.5));
}

/* Background Watermark */
.quote-icon {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    color: var(--accent-purple);
    opacity: 0.1;
    transform: scale(1.5);
    pointer-events: none;
    transition: all var(--transition-slow);
}

.testimonial-card:hover .quote-icon {
    opacity: 0.2;
    transform: scale(1.8) rotate(-10deg);
}

.testimonial-text {
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--text-secondary);
    font-style: italic;
    z-index: 1;
    flex-grow: 1;
    /* Pushes footer down */
}

.testimonial-footer {
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 1;
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1.5rem;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--bg-tertiary), var(--bg-secondary));
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--accent-purple);
    font-size: 1rem;
}

.testimonial-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.testimonial-author {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1rem;
}

.testimonial-company {
    color: var(--text-tertiary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cost-price {
    font-family: monospace;
    /* Technical feel for numbers */
    font-size: 1rem;
    color: var(--accent-blue);
}

/* ================================
   Use Cases
   ================================ */

.use-cases {
    padding: var(--section-padding);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-lg);
}

/* ================================
   Holographic Use Case Cards
   ================================ */

.case-card {
    background: rgba(10, 10, 15, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.4, 0.25, 1);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    backdrop-filter: blur(12px);
    /* Default Accent */
    --card-accent: var(--accent-blue);
}

.case-card::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.03), transparent 40%);
    opacity: 0;
    transition: opacity 0.5s;
}

.case-card:hover {
    transform: translateY(-4px);
    border-color: var(--card-accent);
    box-shadow: 0 0 30px -10px rgba(var(--card-accent-rgb), 0.2), inset 0 0 20px -20px var(--card-accent);
}

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

/* Background Holographic Icon */
.case-bg-icon {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 150px;
    height: 150px;
    color: var(--card-accent);
    opacity: 0.03;
    pointer-events: none;
    transition: all 0.5s ease;
    transform: rotate(-15deg);
}

.case-card:hover .case-bg-icon {
    opacity: 0.1;
    transform: rotate(0deg) scale(1.1);
}

/* Header */
.case-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    z-index: 2;
}

.case-icon-badge {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--card-accent);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.case-icon-badge svg {
    width: 20px;
    height: 20px;
}

.case-header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
}

.case-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    position: relative;
    z-index: 2;
    margin: 0;
}

/* Chat Simulation (Uncannily Real) */
.chat-sim {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 16px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 2;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.2);
}

.msg {
    max-width: 85%;
    padding: 0.7rem 1rem;
    border-radius: 18px;
    font-size: 0.85rem;
    line-height: 1.4;
    position: relative;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.msg-user {
    align-self: flex-end;
    background: var(--card-accent);
    background: linear-gradient(135deg, var(--card-accent), color-mix(in srgb, var(--card-accent), black 20%));
    color: white;
    /* Always white for readability on user bubble */
    border-bottom-right-radius: 4px;
    /* iMessage style */
}

.msg-ai {
    align-self: flex-start;
    background: #2a2a2e;
    color: #e5e5e5;
    border-bottom-left-radius: 4px;
    /* iMessage style */
}

/* Typing Indicator Animation (3 dots) */
.msg-ai.typing::after {
    content: '...';
    animation: typing 1.5s infinite steps(4, end);
    display: inline-block;
    width: 0.8em;
    vertical-align: bottom;
}

@keyframes typing {

    0%,
    100% {
        content: '';
    }

    25% {
        content: '.';
    }

    50% {
        content: '..';
    }

    75% {
        content: '...';
    }
}

/* Industry Specific Accents */
/* Industry Specific Accents - Neon/Tech Palette */
.case-clinic {
    --card-accent: #33e1ed;
    /* Cyan Neon */
}

.case-realestate {
    --card-accent: #eab308;
    /* Gold */
}

.case-services {
    --card-accent: #f472b6;
    /* Pink Neon */
}

.case-ecommerce {
    --card-accent: #a855f7;
    /* Purple Neon */
}

.case-b2b {
    --card-accent: #3b82f6;
    /* Blue Neon */
}

/* Cyan */
.case-realestate {
    --card-accent: #f59e0b;
}

/* Amber */
.case-services {
    --card-accent: #3b82f6;
}

/* Blue */
.case-ecommerce {
    --card-accent: #8b5cf6;
}

/* Violet */
.case-b2b {
    --card-accent: #6366f1;
}

/* Indigo */
.case-food {
    --card-accent: #ec4899;
}

/* Pink */

/* Make text readable on bright backgrounds */
.case-realestate .msg-user {
    color: black;
    font-weight: 500;
}

/* ================================
   Integrations Text Grid (System Status Style)
   ================================ */

.integrations-text-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    max-width: 1000px;
    margin: var(--spacing-xl) auto;
}

.integration-pill {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    /* Techy sharp corners */
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-family: 'JetBrains Mono', monospace;
    /* or fallback monospace */
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all var(--transition-base);
    cursor: default;
    backdrop-filter: blur(5px);
}

.status-dot {
    width: 6px;
    height: 6px;
    background-color: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 8px #22c55e;
}

.integration-pill:hover {
    background: rgba(168, 85, 247, 0.05);
    border-color: var(--accent-blue);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

/* ================================
   FAQ (Tech Accordion)
   ================================ */

.faq {
    padding: var(--section-padding);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition-base);
    border-left: 3px solid transparent;
    /* Status indicator */
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.04);
}

.faq-item.active {
    background: rgba(168, 85, 247, 0.05);
    border-color: var(--accent-purple);
    border-left-color: var(--accent-blue);
    /* Active Indicator */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.125rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: color var(--transition-base);
}

.faq-question:hover {
    color: var(--accent-blue);
}

.faq-icon {
    width: 20px;
    height: 20px;
    color: var(--text-tertiary);
    transition: transform var(--transition-base), color var(--transition-base);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--accent-blue);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-slow);
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.cta-content h2 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
}

.btn-xl {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

/* ================================
   Footer (Premium 4-Col)
   ================================ */

.footer {
    background: #050505;
    border-top: 1px solid var(--border-color);
    padding: 5rem 0 2rem;
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-column h4 {
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-column a {
    color: var(--text-tertiary);
    text-decoration: none;
    transition: color var(--transition-base);
}

.footer-column a:hover {
    color: var(--accent-purple);
}

/* Brand Column Special */
.brand-col .logo {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.brand-col .logo-text {
    font-weight: 800;
    letter-spacing: -0.03em;
    font-size: 1.25rem;
    color: white;
}

.footer-tagline {
    color: var(--text-secondary);
    font-size: 0.875rem;
    max-width: 200px;
    line-height: 1.5;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    color: var(--text-tertiary);
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .cta-content h2 {
        font-size: 2.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        /* Stack on mobile */
        gap: 2.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* ================================
   Animations
   ================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

/* Smooth reveal */
.scroll-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ================================
   Value Comparison Table
   ================================ */

/* ================================
   Final CTA (Glow & Impact)
   ================================ */

.final-cta {
    position: relative;
    padding: 12rem 0;
    /* Huge padding for "Cabrona" look */
    text-align: center;
    overflow: hidden;
}

.cta-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.15) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    filter: blur(100px);
    z-index: 0;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

/* ================================
   Value Comparison Table (Cabrona Mode)
   ================================ */

.value-comparison {
    padding: var(--section-padding);
}

.comparison-table-wrapper {
    overflow-x: auto;
    background: rgba(10, 10, 10, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
    /* Deep shadow */
    border-radius: var(--radius-lg);
    padding: 2rem;
    max-width: 900px;
    margin: 4rem auto 0;
    position: relative;
    transition: transform var(--transition-base);
}

/* Custom Tech Scrollbar */
.comparison-table-wrapper::-webkit-scrollbar {
    height: 6px;
    background: rgba(255, 255, 255, 0.02);
}

.comparison-table-wrapper::-webkit-scrollbar-thumb {
    background: var(--accent-blue);
    border-radius: 4px;
}

.comparison-table-wrapper::-webkit-scrollbar-track {
    background: transparent;
}

.comparison-table-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.6);
}

/* HUD Corner Markers */
.comparison-table-wrapper::after {
    content: '';
    position: absolute;
    inset: -1px;
    border: 1px solid transparent;
    border-radius: var(--radius-lg);
    background:
        linear-gradient(to right, var(--accent-blue) 2px, transparent 2px) 0 0,
        linear-gradient(to bottom, var(--accent-blue) 2px, transparent 2px) 0 0,
        linear-gradient(to left, var(--accent-blue) 2px, transparent 2px) 100% 0,
        linear-gradient(to bottom, var(--accent-blue) 2px, transparent 2px) 100% 0,
        linear-gradient(to right, var(--accent-blue) 2px, transparent 2px) 0 100%,
        linear-gradient(to top, var(--accent-blue) 2px, transparent 2px) 0 100%,
        linear-gradient(to left, var(--accent-blue) 2px, transparent 2px) 100% 100%,
        linear-gradient(to top, var(--accent-blue) 2px, transparent 2px) 100% 100%;
    background-repeat: no-repeat;
    background-size: 10px 10px;
    z-index: 2;
    pointer-events: none;
    opacity: 0.5;
}

/* System Label */
.comparison-table-wrapper::before {
    content: 'SYSTEM COMPARISON // AUTH_REQ';
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 0.65rem;
    font-family: monospace;
    color: var(--accent-blue);
    opacity: 0.7;
    letter-spacing: 0.1em;
    pointer-events: none;
}

.comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.95rem;
    position: relative;
    z-index: 5;
}

.comparison-table th,
.comparison-table td {
    padding: 1rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background var(--transition-base), color var(--transition-base);
}

.comparison-table thead tr {
    /* Scanline Header */
    border-bottom: 1px solid var(--accent-blue);
    box-shadow: 0 1px 10px rgba(168, 85, 247, 0.1);
}

.comparison-table th {
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: var(--text-tertiary);
    padding-bottom: 1.5rem;
}

/* Interactive Row Hover - Laser Scan */
.comparison-table tbody tr {
    transition: all 0.2s ease;
    border-left: 2px solid transparent;
}

.comparison-table tbody tr:hover {
    background: rgba(168, 85, 247, 0.03);
    border-left: 2px solid var(--accent-blue);
}

.comparison-table tbody tr:hover td {
    color: white;
}

/* Competitor Column - Greyed out tech */
.col-competitor,
.price-competitor {
    color: var(--text-tertiary);
    text-align: center !important;
    font-family: monospace;
}

.price-competitor {
    font-size: 0.9rem;
}

/* Eximia Column - High Tech Active */
.col-eximia,
.check-eximia {
    background: rgba(34, 197, 94, 0.03);
    /* Very subtle tint */
    border-left: 1px solid rgba(34, 197, 94, 0.1);
    border-right: 1px solid rgba(34, 197, 94, 0.1);
    text-align: center !important;
}

.col-eximia {
    border-top: 2px solid var(--accent-green);
    position: relative;
}

/* Eximia Header Glow */
.col-eximia::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(34, 197, 94, 0.1) 0%, transparent 100%);
    pointer-events: none;
}

.th-logo {
    display: inline-block;
    filter: drop-shadow(0 0 5px rgba(34, 197, 94, 0.5));
}

.th-logo-img {
    max-height: 22px;
    width: auto;
}

.check-eximia svg {
    width: 24px;
    height: 24px;
    color: #4ade80;
    /* Bright Green */
    filter: drop-shadow(0 0 5px rgba(74, 222, 128, 0.5));
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.comparison-table tbody tr:hover .check-eximia svg {
    transform: scale(1.2);
    filter: drop-shadow(0 0 12px rgba(74, 222, 128, 0.8));
}

/* Footer Totals */
.comparison-table tfoot td {
    border-bottom: none;
    padding-top: 2.5rem;
    font-weight: 700;
}

.comparison-table tfoot td:first-child {
    font-size: 0.9rem;
    color: var(--text-secondary);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.total-competitor {
    color: #ef4444;
    text-decoration: line-through;
    opacity: 0.5;
    font-family: monospace;
    font-size: 1.1rem;
    text-align: center !important;
}

.total-eximia {
    color: #4ade80;
    font-size: 1.75rem;
    text-align: center !important;
    text-shadow: 0 0 20px rgba(74, 222, 128, 0.3);
    background: rgba(34, 197, 94, 0.05);
    border-bottom: 2px solid var(--accent-green);
    position: relative;
}

@keyframes eximiaPulse {
    0% {
        transform: scale(1);
        box-shadow: inset 0 0 10px rgba(34, 197, 94, 0.1);
    }

    50% {
        transform: scale(1.05);
        box-shadow: inset 0 0 20px rgba(34, 197, 94, 0.3);
    }

    100% {
        transform: scale(1);
        box-shadow: inset 0 0 10px rgba(34, 197, 94, 0.1);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .value-comparison {
        padding: 4rem 0.5rem;
        /* Maximize width */
    }

    .comparison-table-wrapper {
        padding: 1rem 0.5rem;
        background: rgba(10, 10, 10, 0.95);
        overflow: hidden !important;
        /* Ensure no scroll */
        touch-action: auto !important;
        /* Crucial: Allow vertical page scroll */
    }

    /* Restore Table Structure (Mini Mode) */
    .comparison-table {
        display: table;
        table-layout: fixed;
        /* Force column widths */
        width: 100%;
        border-collapse: collapse;
    }

    .comparison-table thead {
        display: table-header-group;
    }

    .comparison-table tbody {
        display: table-row-group;
    }

    .comparison-table tr {
        display: table-row;
        background: transparent !important;
        border: none !important;
    }

    .comparison-table th,
    .comparison-table td {
        display: table-cell;
        padding: 0.75rem 0.25rem;
        font-size: 0.7rem;
        /* Tiny text */
        white-space: normal;
        /* Wrap text */
        overflow-wrap: break-word;
        height: auto;
        vertical-align: middle;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    /* Custom Column Widths for Mobile */
    .comparison-table th:first-child,
    .comparison-table td:first-child {
        width: 38%;
        /* Feature Name */
        font-weight: 600;
        color: white;
    }

    .comparison-table th:nth-child(2),
    .comparison-table td:nth-child(2) {
        width: 31%;
        /* Competitor */
    }

    .comparison-table th:nth-child(3),
    .comparison-table td:nth-child(3) {
        width: 31%;
        /* Eximia */
    }

    /* Hide Images/Logos if too big, or scale them */
    .th-logo-img {
        max-height: 16px;
    }

    .th-logo {
        padding: 0.2rem 0.4rem;
    }

    /* Tiny Icons */
    .check-eximia svg {
        width: 20px;
        height: 20px;
    }

    /* Hide "Costo individual" text if needed or make nice wrap */
    .col-competitor {
        line-height: 1.2;
    }

    .total-eximia {
        font-size: 1.25rem !important;
    }

    .total-competitor {
        font-size: 0.9rem !important;
    }
}

/* ================================
   How It Works (The Engine Pipeline)
   ================================ */

.process-pipeline {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
}

@media (min-width: 992px) {
    .process-pipeline {
        flex-direction: row;
        align-items: stretch;
        gap: 0;
    }

    /* Connectors (Desktop Only) */
    .process-connector {
        flex: 0 0 60px;
        height: 2px;
        background: rgba(255, 255, 255, 0.05);
        align-self: center;
        position: relative;
        overflow: hidden;
    }

    .data-packet {
        position: absolute;
        top: 50%;
        left: -10%;
        width: 30px;
        height: 2px;
        background: var(--accent-blue);
        transform: translateY(-50%);
        box-shadow: 0 0 10px var(--accent-blue), 0 0 20px var(--accent-blue);
        animation: packet-flow 3s cubic-bezier(0.4, 0, 0.2, 1) infinite;
        opacity: 0;
    }

    .process-connector:nth-child(even) .data-packet {
        animation-delay: 1.5s;
        /* Stagger animations */
    }
}

@keyframes packet-flow {
    0% {
        left: -10%;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        left: 110%;
        opacity: 0;
    }
}

.process-step {
    flex: 1;
    position: relative;
    z-index: 2;
}

.process-step .step-card {
    height: 100%;
    background: rgba(10, 10, 15, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    /* Subtler border */
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: all var(--transition-base);
    backdrop-filter: blur(12px);
    overflow: hidden;
    /* For absolute positioned number */
}

.process-step:hover .step-card {
    border-color: var(--accent-blue);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 0 30px rgba(6, 182, 212, 0.1);
}

.step-badge {
    position: absolute;
    top: -12px;
    left: 2rem;
    background: #000;
    border: 1px solid var(--border-color);
    padding: 0.25rem 0.75rem;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 4px;
    z-index: 3;
}

.process-step:hover .step-badge {
    color: var(--accent-blue);
    border-color: var(--accent-blue);
}

.process-step .step-number {
    font-size: 6rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.03);
    line-height: 1;
    position: absolute;
    top: -1rem;
    right: -1rem;
    pointer-events: none;
    z-index: 0;
}

.process-step h3 {
    margin-top: 1rem;
    font-size: 1.25rem;
    color: white;
}

.process-step p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    flex-grow: 1;
}

.step-status {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1rem;
    font-size: 0.8rem;
    color: var(--text-tertiary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: monospace;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--text-tertiary);
    border-radius: 50%;
}

.status-dot.online {
    background: #10b981;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

.loading-icon {
    animation: spin 2s linear infinite;
    display: inline-block;
}

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

/* Connectors (Desktop Only) */
.process-connector {
    display: none;
}

@media (min-width: 992px) {
    .process-connector {
        display: block;
        flex: 0 0 100px;
        position: relative;
        align-self: center;
    }

    .connector-line {
        width: 100%;
        height: 1px;
        background: rgba(255, 255, 255, 0.1);
        position: absolute;
        top: 50%;
    }

    .data-packet {
        width: 40px;
        height: 3px;
        background: linear-gradient(90deg, transparent, var(--accent-blue), transparent);
        position: absolute;
        top: 50%;
        left: 0;
        transform: translateY(-50%);
        animation: flowData 2s infinite cubic-bezier(0.4, 0, 0.2, 1);
        opacity: 0;
    }

    .data-packet.delay-1 {
        animation-delay: 1s;
    }
}

@keyframes flowData {
    0% {
        left: 0;
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    100% {
        left: 100%;
        opacity: 0;
    }
}

/* ================================
   Trial Badge
   ================================ */

.trial-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(34, 197, 94, 0.2);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.4);
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.1);
    z-index: 10;
    animation: pulseBadge 2s infinite;
}

@keyframes pulseBadge {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

/* ================================
   Plan Filtering (Faded State)
   ================================ */

.plan-card.plan-faded {
    opacity: 0.3;
    filter: grayscale(100%);
    transform: scale(0.98);
    pointer-events: none;
}

/* ================================
   Testimonials Quote Icon
   ================================ */
.quote-icon {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    color: var(--accent-blue);
    opacity: 0.2;
    transition: all 0.3s ease;
}

.testimonial-card:hover .quote-icon {
    opacity: 0.8;
    transform: scale(1.1) rotate(-10deg);
}

/* ================================
   Final CTA (Hero Level)
   ================================ */
/* ================================
   Final CTA (Hero Level)
   ================================ */
.final-cta {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
    text-align: center;
    /* Deep void background */
    background: #000;
}

/* Subtle background accent over the void */
.cta-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(147, 51, 234, 0.15) 0%, rgba(56, 189, 248, 0.05) 50%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;

    /* Glass Card Effect */
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 4rem 2rem;
    border-radius: var(--radius-xl);
    backdrop-filter: blur(10px);
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
}

.final-cta h2 {
    font-size: 3rem;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.final-cta p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
}

.final-cta .btn-xl {
    padding: 1rem 3rem;
    font-size: 1.1rem;
    min-width: 200px;
}

/* ================================
   Premium Footer
   ================================ */
.footer {
    background: #020202;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 6rem 0 2rem;
    margin-top: 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.brand-col {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-tagline {
    color: var(--text-tertiary);
    font-size: 0.9rem;
    max-width: 300px;
    line-height: 1.6;
}

.footer-column h4 {
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-column a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.footer-column a:hover {
    color: white;
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-tertiary);
    font-size: 0.85rem;
}

.footer-note {
    opacity: 0.5;
}

@media (max-width: 768px) {
    .final-cta {
        padding: 4rem 0.5rem;
        /* Less vertical padding, small side gap */
    }

    .cta-content {
        padding: 2.5rem 1.5rem;
        /* Tighter card padding */
    }

    .final-cta h2 {
        font-size: 2rem;
        /* Much smaller mobile title */
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }

    .final-cta .btn-xl {
        width: 100%;
        /* Full width buttons on mobile */
    }

    /* Footer adjustments */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .brand-col {
        align-items: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* ================================
   16. Comprehensive Mobile Optimization
   ================================ */
@media (max-width: 768px) {

    /* Global Spacing Reduction */
    :root {
        --section-padding: 4rem 0;
        --container-padding: 1.5rem;
    }

    /* Hero & Typography */
    h1 {
        font-size: 2.75rem;
        /* Force readable size */
        line-height: 1.1;
    }

    h2 {
        font-size: 2rem;
    }

    .hero-demo {
        padding: 1.5rem;
        /* Less padding to save space */
    }

    .hero-content {
        padding-top: 5rem;
        /* Move content up */
        padding-bottom: 2rem;
    }

    .badge {
        margin-top: 1rem;
        /* Reduce gap above badge */
        margin-bottom: 1rem;
    }

    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    /* Select Dropdown on Mobile */
    .dropdown-wrapper {
        width: 100%;
        max-width: 100%;
        margin-bottom: 1.5rem;
    }

    /* Grid Layouts - Force Stack */
    .cases-grid,
    .features-grid,
    .integrations-text-grid {
        /* integrations usually flex-wrap, but if grid, 1fr */
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Integrations Pills - Ensure proper wrapping if flex */
    .integrations-text-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }

    .integration-pill {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    /* Process/Pipeline Stacking */
    .process-pipeline {
        gap: 3rem;
        /* More space between vertical steps */
    }

    .process-connector {
        display: none !important;
        /* Hide connectors on mobile */
    }

    /* Navigation - Ensure Hamburger is clickable */
    .hamburger {
        pointer-events: auto;
    }

    /* Comparison Table - Mini Mode Refinements */
    .comparison-table th,
    .comparison-table td {
        padding: 0.5rem 0.25rem;
        /* Tighter cells */
    }
}

/* ================================
   17. Problem/Solution (HUD Diagnostics)
   ================================ */

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.state-card {
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* --- Critical State (Problem) --- */
.state-critical {
    background: rgba(220, 38, 38, 0.03);
    /* Subtle Red */
    border: 1px solid rgba(220, 38, 38, 0.2);
}

.state-critical .state-header h3 {
    color: #f87171;
    /* Warning Red */
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 0.75rem;
    display: inline-block;
}

.status-indicator.red-blink {
    background: #ef4444;
    box-shadow: 0 0 10px #ef4444;
    animation: blinkRed 1s infinite;
}

@keyframes blinkRed {
    50% {
        opacity: 0.3;
    }
}

.problem-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.problem-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.icon-warning {
    color: #f87171;
    font-size: 1.25rem;
}

.problem-item .text strong {
    color: #fca5a5;
    display: block;
    margin-bottom: 0.25rem;
}

.system-alert {
    margin-top: auto;
    background: rgba(220, 38, 38, 0.1);
    color: #fca5a5;
    padding: 0.75rem;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.8rem;
    text-align: center;
    border: 1px solid rgba(220, 38, 38, 0.2);
}

/* --- Optimal State (Solution) --- */
.state-optimal {
    background: rgba(16, 185, 129, 0.03);
    /* Subtle Green */
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.state-optimal .state-header h3 {
    color: #34d399;
    /* Success Green */
}

.status-indicator.green-pulse {
    background: #10b981;
    box-shadow: 0 0 10px #10b981;
    animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.state-bg-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 100% 0%, rgba(16, 185, 129, 0.1), transparent 60%);
    pointer-events: none;
}

.solution-desc {
    color: var(--text-secondary);
    font-size: 1rem;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.metric-card {
    background: rgba(16, 185, 129, 0.05);
    border: 1px solid rgba(16, 185, 129, 0.1);
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
}

.metric-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #34d399;
    display: block;
    margin-bottom: 0.25rem;
}

.metric-label {
    font-size: 0.7rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
}

.system-status-bar {
    margin-top: auto;
    border-top: 1px solid rgba(16, 185, 129, 0.1);
    padding-top: 1rem;
    font-family: monospace;
    font-size: 0.8rem;
    color: #34d399;
    text-align: right;
}

@media (max-width: 768px) {
    .metrics-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .metric-value {
        font-size: 1.25rem;
    }

    .metric-card {
        padding: 0.75rem;
    }
}

/* ================================
   Scroll Expansion Section
   ================================ */

.scroll-expand-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow-x: hidden;
    background-color: var(--bg-primary);
}

.scroll-expand-container {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

/* Background Image */
.scroll-expand-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    /* No object-fit needed for div */
    transition: opacity 0.1s ease;
}

/* New CSS Gradient Background with Pattern */
.scroll-expand-bg-css {
    background-color: #030014;
    background-image:
        /* Tech Grid Pattern - More Visible */
        linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        /* Deep Glows */
        radial-gradient(circle at 50% 50%, rgba(20, 0, 40, 0) 0%, rgba(0, 0, 0, 0.9) 100%),
        radial-gradient(circle at 80% 20%, rgba(147, 51, 234, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.15) 0%, transparent 40%);
    background-size:
        50px 50px,
        50px 50px,
        cover,
        cover,
        cover;
    background-position: center;
}

.scroll-expand-bg-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
    transition: opacity 0.1s ease;
}

/* Main Content Area */
.scroll-expand-main {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    padding: 0 var(--container-padding);
}

/* Media Wrapper (Video/Image) */
.scroll-expand-media-wrapper {
    position: absolute;
    z-index: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateZ(0);
    width: 300px;
    height: 400px;
    max-width: 95vw;
    max-height: 85vh;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.3);
    transition: none;
    /* GPU acceleration for smooth resizing */
    will-change: width, height;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.scroll-expand-media-wrapper video,
.scroll-expand-media-wrapper img,
.scroll-expand-media-wrapper iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    border: none;
    /* GPU acceleration to prevent freezing during scroll */
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Responsive Video Display - Desktop vs Mobile */
.video-desktop {
    display: block;
}

.video-mobile {
    display: none;
}

@media (max-width: 768px) {
    .video-desktop {
        display: none;
    }

    .video-mobile {
        display: block;
    }

    /* Adjust wrapper for vertical video on mobile */
    .scroll-expand-media-wrapper {
        width: 260px;
        height: 460px;
        max-width: 85vw;
        max-height: 75vh;
    }
}

.scroll-expand-video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 16px;
    transition: opacity 0.2s ease;
    pointer-events: none;
    z-index: 2;
}

/* Sound Toggle Button */
.sound-toggle-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
}

.sound-toggle-btn.visible {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.sound-toggle-btn:hover {
    background: rgba(168, 85, 247, 0.5);
    border-color: rgba(168, 85, 247, 0.6);
    transform: scale(1.1);
}

.sound-toggle-btn:active {
    transform: scale(0.95);
}

.sound-icon {
    width: 24px;
    height: 24px;
    stroke: white;
    transition: opacity 0.2s ease;
}

.sound-icon.sound-off {
    display: block;
}

.sound-icon.sound-on {
    display: none;
}

.sound-toggle-btn.unmuted .sound-icon.sound-off {
    display: none;
}

.sound-toggle-btn.unmuted .sound-icon.sound-on {
    display: block;
}

@media (max-width: 768px) {
    .sound-toggle-btn {
        width: 40px;
        height: 40px;
        bottom: 15px;
        right: 15px;
    }

    .sound-icon {
        width: 20px;
        height: 20px;
    }
}

/* Text Elements */
.scroll-expand-text-container {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 1rem;
    mix-blend-mode: difference;
}

.scroll-expand-title-first,
.scroll-expand-title-rest {
    font-size: clamp(3.5rem, 10vw, 6rem);
    font-weight: 800;
    color: rgba(168, 85, 247, 1);
    text-shadow:
        0 0 40px rgba(168, 85, 247, 0.6),
        0 0 80px rgba(168, 85, 247, 0.4),
        0 4px 20px rgba(0, 0, 0, 0.5);
    transition: none;
    letter-spacing: -0.02em;
}

.scroll-expand-meta {
    position: absolute;
    bottom: -80px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    z-index: 10;
}

.scroll-expand-date {
    font-size: 1.25rem;
    color: rgba(168, 85, 247, 0.8);
    transition: none;
}

.scroll-expand-hint {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(168, 85, 247, 0.7);
    transition: none;
    animation: pulse-hint 2s ease-in-out infinite;
}

@keyframes pulse-hint {

    0%,
    100% {
        opacity: 0.7;
    }

    50% {
        opacity: 1;
    }
}

/* Content Section (After Expansion) */
.scroll-expand-content {
    width: 100%;
    padding: 3rem var(--container-padding) 5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.7s ease;
}

.scroll-expand-content-inner {
    max-width: 800px;
    margin: 0 auto;
}

.scroll-expand-content h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.scroll-expand-content p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {

    .scroll-expand-title-first,
    .scroll-expand-title-rest {
        font-size: clamp(2.5rem, 12vw, 4rem);
    }

    .scroll-expand-date {
        font-size: 1rem;
    }

    .scroll-expand-hint {
        font-size: 0.75rem;
    }

    .scroll-expand-content {
        padding: 2rem 1rem 3rem;
    }

    .scroll-expand-content h2 {
        font-size: 1.5rem;
    }

    .scroll-expand-content p {
        font-size: 1rem;
    }
}

@media (max-width: 640px) {
    .system-status-bar {
        text-align: center;
        margin-top: 1.5rem;
    }
}

/* ================================
   Liquid Mercury Button
   ================================ */

.cta-row {
    /* perspective: 1200px; - Removed to simplify z-index stacking */
    align-items: center;
    position: relative;
    z-index: 100;
}

.liquid-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 52px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.03em;
    /* transform-style: preserve-3d; - Removed */
    /* transform: translateZ(10px); - Removed */
    overflow: hidden;
    text-decoration: none;
    z-index: 100;
    /* Force visibility */

    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    user-select: none;

    /* Fallback */
    background-color: #8e70ff;

    background:
        radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.9) 0, rgba(216, 180, 254, 0.8) 26%, transparent 58%),
        radial-gradient(circle at 80% 120%, rgba(255, 255, 255, 0.9) 0, rgba(168, 85, 247, 0.85) 25%, transparent 60%),
        linear-gradient(145deg, #a855f7, #7e22ce, #c084fc);
    background-size: 220% 220%;

    box-shadow:
        0 18px 30px rgba(126, 34, 206, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.7),
        inset 0 1px 4px rgba(255, 255, 255, 0.9),
        inset 0 -8px 20px rgba(88, 28, 135, 0.9);

    animation: liquid-move 6s ease-in-out infinite;

    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        filter 0.22s ease;
}

.liquid-button span {
    position: relative;
    z-index: 2;
    text-shadow:
        0 1px 3px rgba(40, 24, 110, 0.85),
        0 0 4px rgba(0, 0, 0, 0.35);
}

.liquid-button::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 2px solid rgba(255, 255, 255, 0.95);
    pointer-events: none;
    /* mix-blend-mode: screen; - Removed for safety */
    z-index: 1;
}

.liquid-button::after {
    content: "";
    position: absolute;
    inset: 3px;
    border-radius: inherit;
    background:
        radial-gradient(circle at 16% 0%, rgba(255, 255, 255, 0.98) 0, transparent 50%),
        radial-gradient(circle at 78% 120%, rgba(255, 255, 255, 0.85) 0, transparent 55%),
        linear-gradient(155deg,
            rgba(255, 255, 255, 0.75),
            rgba(255, 255, 255, 0.2),
            transparent 60%);
    opacity: 0.9;
    pointer-events: none;
    /* mix-blend-mode: screen; - Removed for safety */
    z-index: 1;
}

.liquid-button svg {
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 1px 2px rgba(40, 24, 110, 0.7));
}

.sparkles {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

@keyframes liquid-move {
    0% {
        background-position: 0% 30%;
    }

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

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

.liquid-button:hover {
    transform: translateZ(50px) translateY(-2px) scale(1.04);
    box-shadow:
        0 22px 36px rgba(60, 44, 145, 0.85),
        0 0 0 1px rgba(255, 255, 255, 0.95),
        inset 0 1px 4px rgba(255, 255, 255, 1),
        inset 0 -10px 24px rgba(104, 78, 220, 1);
    filter: brightness(1.05);
}

.liquid-button.is-pressed {
    transform: translateZ(30px) translateY(2px) scale(0.97);
    box-shadow:
        0 12px 20px rgba(46, 32, 112, 0.75),
        inset 0 2px 9px rgba(92, 68, 210, 1);
    filter: brightness(0.96);
}

.liquid-button:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.9);
    outline-offset: 4px;
}

.ripple {
    position: absolute;
    width: 220%;
    height: 220%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.9) 0, transparent 60%);
    opacity: 0;
    transform: translate(-50%, -50%) scale(0);
    pointer-events: none;
    mix-blend-mode: screen;
    z-index: 0;
    animation: ripple 450ms ease-out forwards;
}

@keyframes ripple {
    0% {
        opacity: 0.65;
        transform: translate(-50%, -50%) scale(0);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1);
    }
}

/* ================================
   Mobile Plans Scroll (Snap to Side)
   ================================ */
@media (max-width: 768px) {
    .plans-grid {
        display: flex;
        grid-template-columns: none;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 1rem;

        /* Edge to edge trick for container with padding */
        margin-left: -2rem;
        margin-right: -2rem;
        padding-left: 2rem;
        padding-right: 2rem;
        padding-bottom: 2rem;
        /* Clean bottom space */
        padding-top: 2rem;
        /* Minimal breathing room */
        clip-path: none;
        /* Ensure no clipping occurs */

        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }

    /* Hide scrollbar for cleaner look */
    .plans-grid::-webkit-scrollbar {
        display: none;
    }

    .plans-grid {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .plan-card {
        min-width: 85%;
        max-width: 85%;
        scroll-snap-align: center;
        flex: 0 0 auto;
        margin: 0;
        height: auto;

        /* Compact Mobile Styling */
        padding: 1.5rem;
        /* Reduced padding */
    }

    /* Remove previous padding hacks */
    /* .plan-card:not(.featured) { ... } removed */
    /* .plan-badge { ... } removed/reset */

    /* Reduce vertical space inside card elements */
    .plan-card .plan-header {
        margin-bottom: 0.75rem;
    }

    .plan-card .plan-icon {
        /* Already reset globally, but ensure spacing here */
        margin-bottom: 0;
    }

    .plan-card .plan-icon svg {
        width: 32px;
        /* Smaller icon */
        height: 32px;
    }

    .plan-card .plan-name {
        font-size: 1.1rem;
        margin-bottom: 0.25rem;
    }

    .plan-card .plan-price {
        margin-bottom: 0.5rem;
    }

    .plan-card .plan-price .amount {
        font-size: 2.5rem;
    }

    .plan-card .plan-description {
        font-size: 0.85rem;
        margin-bottom: 1rem;
        min-height: auto;
        /* Remove fixed height if any */
    }

    .plan-card .plan-features {
        margin-bottom: 1.25rem;
    }

    .plan-card .plan-features li {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
        padding-left: 1.25rem;
        /* Tighter list */
    }

    .plan-card .btn {
        padding: 0.75rem 1rem;
        /* Compact button */
    }
}

/* Utility to lock scroll on mobile */
body.no-scroll {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
    height: 100% !important;
}

/* =========================================
   EXIMIA PROCESS SECTION (PRO ANIMATIONS)
   ========================================= */

.eximia-process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    position: relative;
    margin-top: 5rem;
}

/* Connecting Line (Desktop Only) */
@media (min-width: 992px) {
    .eximia-process-grid::before {
        content: '';
        position: absolute;
        top: 40px;
        left: 0;
        width: 100%;
        height: 2px;
        background: linear-gradient(90deg,
                rgba(59, 130, 246, 0) 0%,
                rgba(59, 130, 246, 0.5) 50%,
                rgba(147, 51, 234, 0) 100%);
        z-index: 0;
    }
}

.process-card-pro {
    background: rgba(10, 10, 10, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1;
}

.process-card-pro:hover {
    transform: translateY(-10px);
    border-color: rgba(147, 51, 234, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(147, 51, 234, 0.1);
}

/* Glowing corner effect on hover */
.process-card-pro::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
            rgba(255, 255, 255, 0.06),
            transparent 40%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    z-index: 2;
}

.process-card-pro:hover::after {
    opacity: 1;
}

.step-number-pro {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.5;
    transition: all 0.4s ease;
    display: inline-block;
}

.process-card-pro:hover .step-number-pro {
    opacity: 1;
    transform: scale(1.1) translateX(10px);
    background: linear-gradient(135deg, #3b82f6 0%, #9333ea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.step-title-pro {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    position: relative;
    padding-left: 20px;
}

.step-title-pro::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 24px;
    background: var(--primary-color);
    border-radius: 4px;
    transition: height 0.3s ease;
}

.process-card-pro:hover .step-title-pro::before {
    height: 32px;
    background: var(--accent-color);
}

.step-desc-pro {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Staggered Entrance Animation */
@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.process-card-pro {
    opacity: 0;
    /* Hidden initially, revealed by script or keyframes */
    animation: slideUpFade 0.8s ease forwards;
}

.process-card-pro:nth-child(1) {
    animation-delay: 0.2s;
}

.process-card-pro:nth-child(2) {
    animation-delay: 0.4s;
}

.process-card-pro:nth-child(3) {
    animation-delay: 0.6s;
}

/* =========================================
   PREMIUM PRICING PLANS (Dominance Edition)
   ========================================= */

/* GLOBAL INCLUDE BANNER */
.plans-global-include {
    background: linear-gradient(90deg,
            rgba(59, 130, 246, 0.1) 0%,
            rgba(147, 51, 234, 0.1) 50%,
            rgba(59, 130, 246, 0.1) 100%);
    border: 1px solid rgba(147, 51, 234, 0.2);
    border-radius: 99px;
    padding: 0.75rem 2rem;
    margin: 0 auto 3rem auto;
    width: fit-content;
    text-align: center;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #fff;
    font-weight: 500;
    font-size: 1rem;
    box-shadow: 0 0 20px rgba(147, 51, 234, 0.15);
}

.plans-global-include svg {
    color: #a855f7;
    filter: drop-shadow(0 0 5px rgba(168, 85, 247, 0.8));
}

/* PREMIUM PLAN CARDS - ENHANCED */
.plan-card-premium {
    background: linear-gradient(145deg, rgba(15, 15, 22, 0.9), rgba(8, 8, 12, 0.95));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    overflow: hidden;
    backdrop-filter: blur(20px);
}

/* Subtle glow on hover */
.plan-card-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 24px;
    background: radial-gradient(circle at 50% 0%, rgba(147, 51, 234, 0.15), transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.plan-card-premium:hover::before {
    opacity: 1;
}

.plan-card-premium:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: rgba(147, 51, 234, 0.5);
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.5),
        0 0 50px rgba(147, 51, 234, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* POPULAR/RECOMMENDED - Extra Premium */
.plan-card-premium.popular {
    border: 2px solid rgba(147, 51, 234, 0.6);
    background: linear-gradient(180deg, rgba(147, 51, 234, 0.12) 0%, rgba(10, 10, 15, 0.95) 40%);
    box-shadow:
        0 0 60px rgba(147, 51, 234, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transform: scale(1.05);
}

.plan-card-premium.popular:hover {
    transform: translateY(-12px) scale(1.08);
    box-shadow:
        0 40px 80px rgba(0, 0, 0, 0.5),
        0 0 80px rgba(147, 51, 234, 0.3);
}

.popular-badge {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    left: auto;
    transform: none;
    background: linear-gradient(90deg, #7c3aed, #a855f7, #7c3aed);
    background-size: 200% 100%;
    animation: shimmer 2s infinite linear;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 0.35rem 0.85rem;
    border-radius: 99px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    box-shadow: 0 5px 20px rgba(124, 58, 237, 0.5);
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }

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

/* ENTERPRISE CARD */
.plan-card-premium.enterprise {
    border-color: rgba(59, 130, 246, 0.3);
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.08) 0%, rgba(10, 10, 15, 0.95) 40%);
}

.plan-card-premium.enterprise:hover {
    border-color: rgba(59, 130, 246, 0.6);
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.5),
        0 0 50px rgba(59, 130, 246, 0.2);
}

/* HEADER TYPOGRAPHY */
/* HEADER TYPOGRAPHY */
.plan-header-premium {
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.plan-title-premium {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #fff;
    width: 100%;
    display: block;
}

.plan-price-premium {
    font-size: 4.5rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    margin: 1.5rem 0;
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.plan-price-premium span {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-muted);
}

.plan-desc-premium {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin-top: 0.5rem;
}

/* FEATURES LIST */
.plan-features-premium {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.plan-features-premium li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.premium-check {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: rgba(34, 197, 94, 0.1);
    border-radius: 50%;
    color: #4ade80;
    flex-shrink: 0;
}

.premium-check svg {
    width: 12px;
    height: 12px;
}

/* Enterprise uses distinct accent */
.plan-card-premium.enterprise .premium-check {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* BUTTONS */
.btn-plan {
    width: 100%;
    padding: 1rem;
    border-radius: 12px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.btn-plan-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
}

.btn-plan-outline:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
}

.btn-plan-primary {
    background: linear-gradient(90deg, #4f46e5, #9333ea);
    border: none;
    color: #fff;
    box-shadow: 0 4px 20px rgba(79, 70, 229, 0.4);
}

.btn-plan-primary:hover {
    box-shadow: 0 6px 25px rgba(79, 70, 229, 0.6);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .plans-grid {
        display: flex;
        overflow-x: auto;
        gap: 1.5rem;
        padding-bottom: 2rem;
        padding-left: 1rem;
        padding-right: 1rem;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        margin-right: -1rem;
        /* Adjust for padding on right */
        margin-left: -1rem;
        /* Adjust for padding on left */
    }

    /* Hide scrollbar */
    .plans-grid::-webkit-scrollbar {
        display: none;
    }

    .plans-grid {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .plan-card-premium {
        flex: 0 0 85%;
        max-width: 85%;
        scroll-snap-align: center;
        background: rgba(10, 10, 15, 0.95);
        /* Slightly less transp heavily for better read */
    }

    .plan-card-premium.popular {
        transform: scale(1);
    }

    .plans-global-include {
        width: 90%;
        flex-direction: column;
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
}

/* =========================================
   ENHANCED FOOTER STYLES
   ========================================= */

.footer-logo {
    height: 40px;
    margin-bottom: 1.5rem;
    filter: brightness(1.2) contrast(1.1);
    background: rgba(255, 255, 255, 0.03);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    object-fit: contain;
    width: auto;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: rgba(147, 51, 234, 0.2);
    color: #a855f7;
    transform: translateY(-2px);
}

.footer-social svg {
    width: 18px;
    height: 18px;
}

.brand-col {
    max-width: 280px;
}

.footer-tagline {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

/* =========================================
   SERVICES ACCORDION (Dev Page)
   ========================================= */

.services-accordion {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.service-item {
    background: rgba(10, 10, 15, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.service-item:hover {
    border-color: rgba(147, 51, 234, 0.3);
}

.service-item.active {
    border-color: rgba(147, 51, 234, 0.5);
    background: rgba(147, 51, 234, 0.05);
}

.service-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    cursor: pointer;
    user-select: none;
}

.service-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.2), rgba(59, 130, 246, 0.2));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a855f7;
    transition: all 0.3s ease;
}

.service-item:hover .service-icon {
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.3), rgba(59, 130, 246, 0.3));
    transform: scale(1.05);
}

.service-icon svg {
    width: 24px;
    height: 24px;
    stroke-width: 2;
}

.service-title-group {
    flex: 1;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.25rem;
}

.service-tagline {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

.service-toggle {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-secondary);
}

.service-toggle:hover {
    background: rgba(147, 51, 234, 0.2);
    border-color: rgba(147, 51, 234, 0.4);
    color: #a855f7;
}

.service-toggle svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.service-item.active .service-toggle svg {
    transform: rotate(180deg);
}

.service-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 2rem;
}

.service-item.active .service-content {
    max-height: 1000px;
    padding: 0 2rem 2rem 2rem;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.feature-check {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: #4ade80;
    stroke-width: 2.5;
    margin-top: 2px;
}

.service-benefit {
    background: rgba(147, 51, 234, 0.1);
    border-left: 3px solid #a855f7;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.service-benefit strong {
    color: #a855f7;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .service-header {
        padding: 1.5rem;
        gap: 1rem;
    }

    .service-icon {
        width: 40px;
        height: 40px;
    }

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

    .service-title {
        font-size: 1.1rem;
    }

    .service-tagline {
        font-size: 0.85rem;
    }

    .service-content {
        padding: 0 1.5rem;
    }

    .service-item.active .service-content {
        padding: 0 1.5rem 1.5rem 1.5rem;
    }
}

/* =========================================
   SERVICE SECTIONS (Dev Page - Full Width)
   ========================================= */

.service-section {
    position: relative;
    overflow: hidden;
}

.service-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: center;
}

.service-layout.reverse {
    grid-template-columns: 2fr 1fr;
}

.service-layout.reverse .service-visual {
    order: 2;
}

.service-layout.reverse .service-details {
    order: 1;
}

.service-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon-large {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.2), rgba(59, 130, 246, 0.2));
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.service-icon-large::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg, #7c3aed, #3b82f6, #7c3aed);
    border-radius: 30px;
    opacity: 0.3;
    filter: blur(20px);
    z-index: -1;
}

.service-icon-large svg {
    width: 100px;
    height: 100px;
    color: #a855f7;
    stroke-width: 1.5;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

.service-details {
    padding: 2rem 0;
}

.service-heading {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-intro {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.service-feature-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.service-feature-box:hover {
    background: rgba(147, 51, 234, 0.1);
    border-color: rgba(147, 51, 234, 0.3);
    transform: translateY(-4px);
}

.service-feature-box h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.service-feature-box p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.service-cta-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Mobile Responsive */
@media (max-width: 968px) {

    .service-layout,
    .service-layout.reverse {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .service-layout.reverse .service-visual,
    .service-layout.reverse .service-details {
        order: initial;
    }

    .service-icon-large {
        width: 150px;
        height: 150px;
    }

    .service-icon-large svg {
        width: 75px;
        height: 75px;
    }

    .service-heading {
        font-size: 2rem;
    }

    .service-intro {
        font-size: 1.1rem;
    }

    .service-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .service-cta-row {
        flex-direction: column;
    }

    .service-cta-row .btn {
        width: 100%;
        text-align: center;
    }
}

/* =========================================
   DEV PAGE MOBILE OPTIMIZATIONS
   ========================================= */

/* Hero Section Mobile */
@media (max-width: 768px) {
    .dev-hero {
        min-height: 600px !important;
        height: 100vh !important;
        padding: 0 1rem;
    }

    .dev-hero h1 {
        font-size: 2.5rem !important;
        line-height: 1.2 !important;
    }

    .dev-hero .section-subtitle {
        font-size: 1rem !important;
        max-width: 100% !important;
        padding: 0 1rem;
    }

    .dev-hero .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* Service Sections Mobile Enhancements */
@media (max-width: 968px) {
    .service-section {
        padding: 3rem 0 !important;
    }

    .service-layout,
    .service-layout.reverse {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .service-layout.reverse .service-visual,
    .service-layout.reverse .service-details {
        order: initial;
    }

    .service-visual {
        padding: 2rem 0;
    }

    .service-icon-large {
        width: 120px;
        height: 120px;
        border-radius: 20px;
    }

    .service-icon-large svg {
        width: 60px;
        height: 60px;
    }

    .service-details {
        padding: 0;
    }

    .service-heading {
        font-size: 1.75rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }

    .service-intro {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .service-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .service-feature-box {
        padding: 1.25rem;
    }

    .service-feature-box h4 {
        font-size: 1rem;
    }

    .service-feature-box p {
        font-size: 0.9rem;
    }

    .service-cta-row {
        flex-direction: column;
        gap: 0.75rem;
    }

    .service-cta-row .btn {
        width: 100%;
        text-align: center;
        padding: 1rem;
    }
}

/* Extra Small Mobile (< 480px) */
@media (max-width: 480px) {
    .dev-hero h1 {
        font-size: 2rem !important;
    }

    .service-heading {
        font-size: 1.5rem;
    }

    .service-icon-large {
        width: 100px;
        height: 100px;
    }

    .service-icon-large svg {
        width: 50px;
        height: 50px;
    }

    .service-feature-box {
        padding: 1rem;
    }
}

/* Letter Glitch Mobile Optimization */
@media (max-width: 768px) {
    #letter-glitch-root {
        opacity: 0.4;
    }
}

/* =========================================
   FOOTER PAYMENT ICONS
   ========================================= */

.footer-payment {
    text-align: center;
    padding: 2rem 0 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
}

.payment-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.payment-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.payment-badge {
    height: 32px;
    opacity: 0.85;
    transition: all 0.3s ease;
}

.payment-badge:hover {
    opacity: 1;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .payment-icons {
        gap: 0.5rem;
    }

    .payment-badge {
        height: 28px;
    }

    .payment-label {
        font-size: 0.8rem;
    }
}

/* =========================================
   FOOTER MOBILE OPTIMIZATIONS
   ========================================= */

@media (max-width: 768px) {
    .footer .container {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 2.5rem;
        text-align: center !important;
    }

    .brand-col {
        max-width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
        margin: 0 auto !important;
    }

    .footer-logo {
        margin: 0 auto 1.5rem !important;
        display: block !important;
    }

    .footer-tagline {
        text-align: center !important;
        width: 100% !important;
    }

    .footer-social {
        justify-content: center !important;
        width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .footer-column {
        text-align: center !important;
        width: 100% !important;
    }

    .footer-column ul {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        padding: 0 !important;
        margin: 0 auto !important;
    }

    .footer-payment {
        width: 100% !important;
        padding: 2rem 1rem 1.5rem !important;
        text-align: center !important;
        display: block !important;
    }

    .payment-label {
        display: block !important;
        text-align: center !important;
    }

    .payment-icons {
        justify-content: center !important;
        width: 100% !important;
        display: flex !important;
        flex-wrap: wrap !important;
    }

    .payment-badge {
        height: 28px !important;
        max-width: 100% !important;
        display: inline-block !important;
    }

    .footer-bottom {
        flex-direction: column !important;
        gap: 0.5rem !important;
        text-align: center !important;
        width: 100% !important;
    }

    .footer-bottom p {
        margin: 0 !important;
        width: 100% !important;
        text-align: center !important;
    }
}

/* Updated: Fri Dec 12 01:01:09 AST 2025 */