/* ==========================================================================
   SELESTO ENTERPRISE - PREMIUM DARK/GOLD DESIGN SYSTEM
   ========================================================================== */

/* 1. Global Reset & Custom Variables */
:root {
    --bg-obsidian: #05080E;
    --bg-card-glass: rgba(16, 20, 32, 0.65);
    --bg-card-solid: #0A0F1D;
    --bg-card-hover: rgba(26, 33, 52, 0.75);
    
    --color-gold-premium: #E5C158;
    --color-gold-secondary: #D2B48C;
    --color-gold-glow: rgba(229, 193, 88, 0.15);
    --color-gold-border: rgba(229, 193, 88, 0.18);
    
    --color-white: #FFFFFF;
    --color-gray-light: #E2E8F0;
    --color-gray-muted: #94A3B8;
    
    --color-danger: #EF4444;
    --color-danger-glow: rgba(239, 68, 68, 0.12);
    
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
    
    --border-radius-lg: 24px;
    --border-radius-md: 16px;
    --border-radius-sm: 8px;
    
    --container-max-width: 1480px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
    position: relative;
    width: 100%;
}

body {
    background-color: var(--bg-obsidian);
    color: var(--color-gray-light);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    width: 100%;
    -webkit-font-smoothing: antialiased;
}

.enterprise-content {
    overflow: hidden;
    width: 100%;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-white);
    font-weight: 700;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

button, input, textarea {
    font-family: inherit;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-obsidian);
}
::-webkit-scrollbar-thumb {
    background: rgba(229, 193, 88, 0.2);
    border-radius: 5px;
    border: 2px solid var(--bg-obsidian);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-gold-premium);
}

/* ==========================================================================
   2. Typography & Core Layout Elements
   ========================================================================== */
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Gold Gradient Text Utility */
.gold-gradient-text {
    background: linear-gradient(135deg, #FFF 0%, var(--color-gold-premium) 50%, var(--color-gold-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Section Header Styles */
.section-header {
    margin-bottom: 50px;
    max-width: 800px;
}

.section-header.center-align {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.section-indicator {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-gold-premium);
    margin-bottom: 12px;
    position: relative;
    padding-left: 20px;
}

.section-indicator::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 2px;
    background-color: var(--color-gold-premium);
}

.section-title {
    font-size: 3.4rem;
    line-height: 1.25;
    margin-bottom: 22px;
    letter-spacing: -0.03em;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 0%, #a1a1a6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    padding-bottom: 0.12em;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--color-gray-muted);
    font-weight: 400;
}

/* ==========================================================================
   3. Buttons & Interactive Links
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    outline: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-gold-premium) 0%, var(--color-gold-secondary) 100%);
    color: var(--bg-obsidian);
    box-shadow: 0 4px 20px var(--color-gold-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(229, 193, 88, 0.35);
}

.btn-primary .btn-arrow {
    width: 18px;
    height: 18px;
    margin-left: 8px;
    transition: var(--transition-smooth);
}

.btn-primary:hover .btn-arrow {
    transform: translateX(5px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-white);
    border: 1.5px solid rgba(255, 255, 255, 0.15);
}

.btn-secondary:hover {
    background: rgba(229, 193, 88, 0.08);
    border-color: var(--color-gold-premium);
    color: var(--color-gold-premium);
    transform: translateY(-3px);
}

.btn-block {
    width: 100%;
}

/* ==========================================================================
   4. Glassmorphic Decorative Glows
   ========================================================================== */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    -webkit-filter: blur(140px);
    transform: translate3d(0, 0, 0);
    will-change: filter;
    z-index: 1;
    pointer-events: none;
    opacity: 0.15;
}

.hero-glow-1 {
    width: 400px;
    height: 400px;
    background: var(--color-gold-premium);
    top: -100px;
    left: -100px;
}

.hero-glow-2 {
    width: 500px;
    height: 500px;
    background: #4F46E5;
    bottom: -150px;
    right: -100px;
}

.infra-glow {
    width: 600px;
    height: 600px;
    background: var(--color-gold-premium);
    top: 20%;
    left: 45%;
    transform: translate(-50%, -50%);
    opacity: 0.08;
}

.sec-glow-1 {
    width: 450px;
    height: 450px;
    background: var(--color-gold-premium);
    top: 10%;
    left: 10%;
}

.sec-glow-2 {
    width: 400px;
    height: 400px;
    background: #0284C7;
    bottom: 10%;
    right: 10%;
}

.int-glow {
    width: 550px;
    height: 550px;
    background: #8B5CF6;
    top: 30%;
    right: 5%;
    opacity: 0.08;
}

/* ==========================================================================
   5. Site Sticky Header & Adapted Brand Logo
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(5, 8, 14, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: var(--transition-smooth);
}

.site-header.scrolled {
    background: rgba(5, 8, 14, 0.85);
    border-bottom: 1px solid rgba(229, 193, 88, 0.12);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

.logo-wrapper {
    display: flex;
    align-items: center;
    width: 170px;
    height: 48px;
    position: relative;
}

.selesto-logo-img-white {
    position: absolute;
    height: 36px;
    width: auto;
    left: 0;
    top: 6px;
    filter: brightness(0) invert(1); /* Pure solid white for the '10 Lat' badge */
    clip-path: polygon(0% 0%, 58% 0%, 58% 40%, 40.5% 40%, 40.5% 100%, 0% 100%); /* Perfect step path around '10 Lat' */
    transition: var(--transition-smooth);
}

.selesto-logo-img-gold {
    position: absolute;
    height: 36px;
    width: auto;
    left: 0;
    top: 6px;
    filter: invert(1) brightness(100%); /* Gorgeous warm gold for 'Selesto' text */
    clip-path: polygon(40.5% 100%, 40.5% 40%, 58% 40%, 58% 0%, 100% 0%, 100% 100%); /* Complementary step path for 'Selesto' */
    transition: var(--transition-smooth);
}

.logo-wrapper:hover .selesto-logo-img-white,
.logo-wrapper:hover .selesto-logo-img-gold {
    opacity: 0.85;
}

/* Nav Menu Styles */
.nav-menu {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    gap: 6px; /* Tight and professional spacing to prevent screen overflowing */
}

.nav-item {
    position: relative;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.82rem; /* Compact premium size */
    font-weight: 600;
    color: var(--color-gray-light);
    padding: 8px 10px; /* Snug padding to avoid wrapping */
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    gap: 3px;
    white-space: nowrap; /* CRITICAL: Absolutely blocks text-wrapping on intermediate resolutions */
}

.nav-link:hover, .nav-link.active {
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.04);
}

.nav-link.active {
    color: var(--color-gold-premium);
}

/* Highly distinguished premium Enterprise navigation tab */
.nav-link-enterprise {
    color: var(--color-gold-premium) !important;
    font-weight: 800 !important;
    border: 1px solid rgba(229, 193, 88, 0.35);
    background: rgba(229, 193, 88, 0.08);
    padding: 6px 12px !important;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(229, 193, 88, 0.15);
    animation: goldPulse 3s infinite ease-in-out;
    transition: var(--transition-smooth) !important;
}

.nav-link-enterprise:hover {
    background: var(--color-gold-premium) !important;
    color: var(--bg-obsidian) !important;
    border-color: var(--color-gold-premium) !important;
    box-shadow: 0 0 18px rgba(229, 193, 88, 0.45) !important;
}

@keyframes goldPulse {
    0%, 100% {
        box-shadow: 0 0 8px rgba(229, 193, 88, 0.12);
        border-color: rgba(229, 193, 88, 0.3);
    }
    50% {
        box-shadow: 0 0 15px rgba(229, 193, 88, 0.35);
        border-color: rgba(229, 193, 88, 0.65);
    }
}

/* Golden navigation helper */
.nav-item.has-dropdown > .nav-link::after {
    content: '▾';
    font-size: 0.7rem;
    margin-left: 1px;
    color: var(--color-gray-muted);
    transition: var(--transition-fast);
}

.nav-item.has-dropdown:hover > .nav-link::after {
    color: var(--color-gold-premium);
}

/* Dropdown Menu CSS */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-card-solid);
    border: 1px solid var(--color-gold-border);
    box-shadow: 0 10px 40px rgba(0,0,0,0.6);
    border-radius: var(--border-radius-md);
    padding: 12px;
    min-width: 210px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: var(--transition-smooth);
    z-index: 10;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(4px);
}

.dropdown-menu li {
    margin-bottom: 4px;
}

.dropdown-menu li:last-child {
    margin-bottom: 0;
}

.dropdown-menu a {
    display: block;
    padding: 10px 14px;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--color-gray-muted);
}

.dropdown-menu a:hover, .dropdown-menu a.active-gold {
    background: rgba(229, 193, 88, 0.08);
    color: var(--color-gold-premium);
}

/* Header Action button */
.header-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-gold-premium);
    border: 1.5px solid var(--color-gold-premium);
    padding: 0 16px;
    height: 38px; /* Locked fixed height so it NEVER stretches vertically */
    border-radius: 12px; /* Authentic Selesto button roundings */
    box-shadow: 0 0 10px rgba(229, 193, 88, 0.08);
    white-space: nowrap; /* CRITICAL: Prevents words wrapping onto secondary lines */
    background: transparent;
    transition: var(--transition-smooth);
}

.header-cta-btn:hover {
    background: var(--color-gold-premium);
    color: var(--bg-obsidian);
    box-shadow: 0 0 15px rgba(229, 193, 88, 0.3);
    transform: translateY(-2px);
}

/* Mobile Toggle Hamburger */
.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger-bar {
    width: 100%;
    height: 2px;
    background-color: var(--color-white);
    transition: var(--transition-fast);
    border-radius: 4px;
}

/* ==========================================================================
   6. Hero Section With Statistics Grid
   ========================================================================== */
.hero-section {
    position: relative;
    overflow: hidden;
    padding-top: 170px;
    padding-bottom: 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.hero-bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.02) 1px, transparent 0),
        linear-gradient(rgba(229, 193, 88, 0.01) 1px, transparent 1px),
        linear-gradient(90deg, rgba(229, 193, 88, 0.01) 1px, transparent 1px);
    background-size: 40px 40px, 80px 80px, 80px 80px;
    mask-image: radial-gradient(ellipse at 50% 50%, black 60%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 60%, transparent 100%);
    z-index: 0;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.hero-text-content {
    max-width: 680px;
}

.premium-badge-wrapper {
    margin-bottom: 24px;
}

.gold-badge {
    display: inline-block;
    background: rgba(229, 193, 88, 0.08);
    border: 1px solid var(--color-gold-border);
    color: var(--color-gold-premium);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 3px;
    padding: 6px 14px;
    border-radius: 50px;
    box-shadow: 0 0 15px rgba(229, 193, 88, 0.05);
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.25;
    font-weight: 900;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #FFFFFF 0%, #FFFFFF 50%, var(--color-gold-premium) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    padding-bottom: 0.12em;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--color-gray-light);
    margin-bottom: 20px;
}

.hero-description strong {
    color: var(--color-white);
    font-weight: 600;
}

.hero-subtext {
    font-size: 1.05rem;
    font-style: italic;
    color: var(--color-gold-premium);
    opacity: 0.95;
    margin-bottom: 36px;
    border-left: 2px solid var(--color-gold-premium);
    padding-left: 16px;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

/* Hero Stats Grid (Right Panel) */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.stat-card {
    background: var(--bg-card-glass);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--border-radius-lg);
    padding: 30px 24px;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 200px;
}

/* stat-card hover effect removed because it is non-interactive */

.stat-glow {
    position: absolute;
    width: 150px;
    height: 150px;
    background: var(--color-gold-premium);
    filter: blur(80px);
    opacity: 0.05;
    top: -75px;
    right: -75px;
    transition: var(--transition-smooth);
}

/* stat-card hover effect removed because it is non-interactive */

.stat-label {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-gray-muted);
}

.stat-value {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--color-white);
    line-height: 1;
    margin: 12px 0 6px 0;
}

.stat-sub {
    font-size: 0.85rem;
    color: var(--color-gray-muted);
}

/* Dedicated premium styled SLA card */
.stat-card-premium {
    background: linear-gradient(135deg, rgba(229, 193, 88, 0.08) 0%, rgba(16, 20, 32, 0.7) 100%);
    border: 1px solid var(--color-gold-border);
    box-shadow: 0 0 20px rgba(229, 193, 88, 0.03);
}

.stat-premium-circle {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spin-circle {
    position: absolute;
    width: 100%;
    height: 100%;
    animation: rotateClockwise 20s linear infinite;
}

.premium-star {
    width: 18px;
    height: 18px;
}

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

/* ==========================================================================
   7. Performance Section (Spike Contrast)
   ========================================================================== */
.performance-section {
    padding: 120px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.performance-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.perf-card {
    background: var(--bg-card-solid);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-lg);
    padding: 44px;
    display: flex;
    flex-direction: column;
}

/* The Threat card */
.limit-card {
    border: 1px solid rgba(239, 68, 68, 0.18);
    background: linear-gradient(180deg, rgba(239, 68, 68, 0.04) 0%, rgba(10, 15, 29, 0.85) 100%);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
}

.perf-card-title {
    font-size: 1.6rem;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 14px;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-white);
}

.perf-card-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--color-danger) 0%, var(--color-gold-premium) 100%);
}

.perf-scenarios {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex-grow: 1;
}

.scenario-item {
    padding: 20px;
    background: rgba(16, 20, 32, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-left: 3px solid rgba(239, 68, 68, 0.4);
    border-radius: var(--border-radius-md);
    transition: var(--transition-smooth);
}

.scenario-badge {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    padding: 5px 12px;
    border-radius: 6px;
    color: #FFA3A3;
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.25);
    margin-bottom: 10px;
}

.scenario-item p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85); /* 100% fixed readability! */
}

.perf-footer-trap {
    margin-top: 32px;
    padding: 16px 20px;
    background: linear-gradient(90deg, rgba(239, 68, 68, 0.08) 0%, rgba(229, 193, 88, 0.03) 100%);
    border-left: 3px solid var(--color-danger);
    border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.perf-footer-trap span {
    color: #FFA3A3;
    font-size: 0.95rem;
    font-weight: 500;
    font-style: normal;
    line-height: 1.4;
}

.trap-icon {
    flex-shrink: 0;
}

/* The Selesto Power card */
.selesto-power-card {
    background: linear-gradient(135deg, rgba(229, 193, 88, 0.06) 0%, rgba(10, 15, 29, 0.85) 100%);
    border: 1px solid var(--color-gold-border);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
}

.power-badge {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-gold-premium);
    background: rgba(229, 193, 88, 0.1);
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 12px;
}

.selesto-power-header h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--color-white);
}

.selesto-power-header p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 24px;
}

.power-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex-grow: 1;
    margin-bottom: 30px;
}

.power-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
}

.power-list .check-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.power-list strong {
    color: var(--color-white);
}

.power-footer-promise {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 20px;
    border-top: 1px solid rgba(229, 193, 88, 0.12);
}

.promise-tag {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 12px;
    background: rgba(229, 193, 88, 0.08);
    border: 1px solid rgba(229, 193, 88, 0.2);
    color: var(--color-gold-premium);
    border-radius: 50px;
}

/* ==========================================================================
   8. Infrastructure Section (Server Chip & Speeds)
   ========================================================================== */
.infrastructure-section {
    position: relative;
    padding: 120px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.infra-layout {
    display: flex;
    flex-direction: column;
    gap: 60px;
    margin-top: 50px;
}

/* AMD tech layout */
/* Restructured Hardware Showcase */
.infra-hardware-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
    align-items: stretch;
}

.chip-image-wrapper {
    position: relative;
    width: 100%;
    height: 380px; /* Massive, premium widescreen aspect */
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(229, 193, 88, 0.16);
    background: var(--bg-card-solid);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(229, 193, 88, 0.05);
    transition: var(--transition-smooth);
    flex-shrink: 0;
}

.premium-cpu-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.55;
    transform: scale(1.15);
    transition: transform 2.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 2.2s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

/* Automatic scroll-triggered zoom-out reveal */
.infra-hardware-showcase.reveal-on-scroll.active .premium-cpu-img {
    transform: scale(1);
    opacity: 1;
}



/* Animated Gold Laser Line around CPU */
.glow-border-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid transparent;
    border-radius: var(--border-radius-lg);
    background: linear-gradient(90deg, transparent, rgba(229, 193, 88, 0.4), transparent) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    background-size: 200% auto;
    animation: borderGlow 6s linear infinite;
    pointer-events: none;
    z-index: 2;
}

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

.infra-tech-details h3 {
    font-size: 1.4rem;
    margin-bottom: 24px;
    font-weight: 600;
}

.spec-pillars-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.spec-pillar {
    display: flex;
    flex-direction: column;
}

.spec-num {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 900;
    color: var(--color-gold-premium);
    margin-bottom: 4px;
}

.spec-pillar h4 {
    font-size: 0.95rem;
    margin-bottom: 6px;
    color: var(--color-white);
}

.spec-pillar p {
    font-size: 0.85rem;
    color: var(--color-gray-muted);
}

/* Business Outcomes layout */
.infra-effects-box {
    display: flex;
}

.effects-gradient-card {
    background: linear-gradient(135deg, rgba(16, 20, 32, 0.8) 0%, rgba(8, 11, 17, 0.9) 100%);
    border: 1px solid var(--color-gold-border);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.effects-gradient-card h3 {
    font-size: 1.8rem;
    margin-bottom: 24px;
    color: var(--color-white);
}

.effects-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    flex-grow: 1;
}

.effects-list li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    transition: var(--transition-smooth);
}

.effect-icon-wrap {
    width: 38px;
    height: 38px;
    background: rgba(229, 193, 88, 0.06);
    border: 1px solid rgba(229, 193, 88, 0.16);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--color-gold-premium);
    transition: var(--transition-smooth);
}

.effect-svg {
    width: 18px;
    height: 18px;
    stroke: var(--color-gold-premium);
    stroke-width: 2.25;
    fill: none;
    transition: var(--transition-smooth);
}

/* Hover effects for a very dynamic, premium responsive feel */
.effects-list li:hover .effect-icon-wrap {
    background: var(--color-gold-premium);
    border-color: var(--color-gold-premium);
    color: var(--bg-obsidian);
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(229, 193, 88, 0.4);
}

.effects-list li:hover .effect-svg {
    stroke: var(--bg-obsidian);
}

.effects-list li:hover {
    transform: translateX(4px);
}

.effects-list h4 {
    font-size: 0.95rem;
    color: var(--color-white);
    margin-bottom: 2px;
}

.effects-list p {
    font-size: 0.85rem;
    color: var(--color-gray-muted);
}

.infra-punchline {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(229, 193, 88, 0.12);
    font-family: var(--font-heading);
    font-size: 1.05rem;
    color: var(--color-white);
}

/* ==========================================================================
   9. Scaling Section (Autoscale Display)
   ========================================================================== */
.scaling-section {
    padding: 120px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

/* Breakthrough Stress Test Simulator */
.scaling-interactive-simulator {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    background: var(--bg-card-glass);
    border: 1px solid var(--border-premium);
    border-radius: var(--border-radius-xl);
    padding: 50px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(229, 193, 88, 0.05);
    margin-top: 50px;
    margin-bottom: 50px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    text-align: left;
}

.simulator-controls h3 {
    font-size: 1.8rem;
    color: var(--color-white);
    margin-bottom: 15px;
    font-family: var(--font-heading);
    font-weight: 800;
}

.sim-instruction {
    font-size: 0.95rem;
    color: var(--color-gray-muted);
    line-height: 1.6;
    margin-bottom: 35px;
}

.load-scenarios {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.scenario-btn {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-lg);
    padding: 18px 24px;
    cursor: pointer;
    text-align: left;
    transition: var(--transition-smooth);
    width: 100%;
}

.scenario-btn:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(229, 193, 88, 0.3);
    transform: translateX(4px);
}

.scenario-btn.active {
    background: rgba(229, 193, 88, 0.07);
    border-color: var(--color-gold-premium);
    box-shadow: 0 0 25px rgba(229, 193, 88, 0.1);
}

.scenario-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #10B981; /* Green */
    flex-shrink: 0;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.6);
    transition: var(--transition-smooth);
}

.scenario-dot.warning {
    background: #F59E0B; /* Orange */
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.6);
}

.scenario-dot.danger {
    background: #EF4444; /* Red */
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.6);
}

.animate-pulse-red {
    animation: simPulseRed 1.5s infinite ease-in-out;
}

@keyframes simPulseRed {
    0% { transform: scale(0.9); box-shadow: 0 0 4px rgba(239, 68, 68, 0.5); }
    50% { transform: scale(1.2); box-shadow: 0 0 15px rgba(239, 68, 68, 1); }
    100% { transform: scale(0.9); box-shadow: 0 0 4px rgba(239, 68, 68, 0.5); }
}

.scenario-info {
    display: flex;
    flex-direction: column;
}

.scenario-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-white);
    transition: var(--transition-smooth);
}

.scenario-btn.active .scenario-name {
    color: var(--color-gold-premium);
}

.scenario-desc {
    font-size: 0.8rem;
    color: var(--color-gray-muted);
    margin-top: 4px;
}

/* Simulator Display column */
.simulator-display {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sim-metrics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.sim-metric-card {
    background: rgba(5, 8, 14, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: var(--border-radius-lg);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 120px;
    text-align: left;
}

.sim-metric-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-gray-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.sim-metric-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--color-white);
    margin-top: 10px;
    margin-bottom: 12px;
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
    transition: var(--transition-smooth);
}

.sim-metric-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
    overflow: hidden;
}

.sim-bar-fill {
    height: 100%;
    background: var(--color-gold-premium);
    border-radius: 2px;
    transition: width 1.2s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 0 10px rgba(229, 193, 88, 0.6);
}

.sim-ttfb-sub {
    font-size: 0.75rem;
    color: #10B981;
    font-weight: 700;
    margin-top: 5px;
}

/* System Visual Status Card */
.sim-visual-status-card {
    background: rgba(229, 193, 88, 0.03);
    border: 1px dashed rgba(229, 193, 88, 0.2);
    border-radius: var(--border-radius-lg);
    padding: 24px 30px;
    display: flex;
    align-items: center;
    gap: 25px;
    transition: var(--transition-smooth);
}

.status-orb-container {
    position: relative;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.status-orb {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #10B981;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.8);
    transition: var(--transition-smooth);
    z-index: 2;
}

.status-radar-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid rgba(16, 185, 129, 0.3);
    animation: statusRadar 2s infinite ease-out;
    pointer-events: none;
    z-index: 1;
}

@keyframes statusRadar {
    0% { transform: scale(0.6); opacity: 1; }
    100% { transform: scale(1.2); opacity: 0; }
}

.status-text-details {
    display: flex;
    flex-direction: column;
}

.status-tag {
    font-size: 0.85rem;
    font-weight: 900;
    color: #10B981;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: var(--transition-smooth);
}

.status-text-details p {
    font-size: 0.9rem;
    color: var(--color-gray-light);
    line-height: 1.5;
    margin-top: 5px;
    transition: var(--transition-smooth);
}

.extreme-load-glow {
    box-shadow: 0 0 100px rgba(239, 68, 68, 0.15) inset;
    transition: var(--transition-smooth);
}

/* Three Promises Row */
.promises-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.promise-card {
    background: var(--bg-card-glass);
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: var(--border-radius-lg);
    padding: 36px;
    transition: var(--transition-smooth);
}

/* promise-card hover effect removed because it is non-interactive */

.promise-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

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

/* Scaling / Promises themed classes */
.promise-card-icon.icon-lightning {
    color: var(--color-gold-premium); /* Gold */
    background: rgba(229, 193, 88, 0.08);
    border: 1px solid rgba(229, 193, 88, 0.2);
}
.promise-card-icon.icon-platform {
    color: #818CF8; /* Indigo */
    background: rgba(129, 140, 248, 0.08);
    border: 1px solid rgba(129, 140, 248, 0.2);
}
.promise-card-icon.icon-devs {
    color: #34D399; /* Green */
    background: rgba(52, 211, 153, 0.08);
    border: 1px solid rgba(52, 211, 153, 0.2);
}

.promise-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--color-white);
}

.promise-card p {
    font-size: 0.9rem;
    color: var(--color-gray-muted);
}

/* ==========================================================================
   10. Security & HA Grid Section
   ========================================================================== */
.security-ha-section {
    position: relative;
    padding: 120px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 50px;
}

.security-card {
    background: var(--bg-card-solid);
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: var(--border-radius-lg);
    padding: 36px;
    display: flex;
    flex-direction: column;
}

.security-card:hover {
    border-color: var(--color-gold-border);
}

.sec-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.sec-icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(229,193,88,0.08);
    border: 1.5px solid var(--color-gold-border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sec-icon-circle svg {
    width: 24px;
    height: 24px;
}

.sec-header h3 {
    font-size: 1.15rem;
    line-height: 1.3;
}

.sec-intro {
    font-size: 0.88rem;
    color: var(--color-gray-muted);
    margin-bottom: 20px;
    line-height: 1.5;
}

.sec-intro strong {
    color: var(--color-white);
}

.sec-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-grow: 1;
    margin-bottom: 24px;
}

.sec-list li {
    font-size: 0.85rem;
    line-height: 1.45;
    position: relative;
    padding-left: 18px;
    color: var(--color-gray-light);
}

.sec-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--color-gold-premium);
    font-weight: bold;
}

.sec-footer-highlight {
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 0.85rem;
    font-style: italic;
    color: var(--color-gold-premium);
}

/* ==========================================================================
   11. Commerce Engine 2025 Section
   ========================================================================== */
.engine-section {
    padding: 120px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.engine-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.engine-text {
    max-width: 800px;
    width: 100%;
}

.engine-text p {
    font-size: 1.05rem;
    color: var(--color-gray-muted);
    margin-top: 24px;
    line-height: 1.7;
}

.engine-text .engine-highlight-p {
    color: var(--color-gray-light);
    border-left: 3px solid var(--color-gold-premium);
    padding-left: 20px;
}

.engine-text strong {
    color: var(--color-white);
}

.engine-quote {
    margin-top: 30px;
}

.engine-quote blockquote {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-style: italic;
    color: var(--color-gold-premium);
    line-height: 1.5;
}

.engine-visual {
    width: 100%;
}

.engine-visual-bento-card {
    position: relative;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--color-gold-border);
    background: var(--bg-card-solid);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    transition: var(--transition-smooth);
    min-height: 380px;
}

.bento-datacenter-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.45;
    transform: scale(1.15);
    transition: transform 2.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 2.2s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

/* Automatic scroll-triggered zoom-out reveal */
.engine-visual-bento-card.reveal-on-scroll.active .bento-datacenter-img {
    transform: scale(1);
    opacity: 0.75;
}


.bento-glow-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(5, 8, 14, 0.95) 0%, rgba(5, 8, 14, 0.2) 70%);
    pointer-events: none;
    z-index: 1;
}

.bento-card-badge {
    position: relative;
    z-index: 2;
    background: rgba(229, 193, 88, 0.1);
    border: 1px solid rgba(229, 193, 88, 0.3);
    color: var(--color-gold-premium);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    align-self: flex-start;
    text-transform: uppercase;
    box-shadow: 0 0 15px rgba(229, 193, 88, 0.15);
}



/* ==========================================================================
   12. MongoDB Architecture Section
   ========================================================================== */
.mongodb-section {
    padding: 120px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    position: relative;
    overflow: hidden;
}

.mongodb-intro {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
    margin-top: 30px;
    align-items: center;
}

.mongodb-intro-text p {
    font-size: 1.05rem;
    color: var(--color-gray-muted);
    line-height: 1.7;
    margin: 0;
}

.mongodb-highlight-box {
    background: linear-gradient(135deg, rgba(229, 193, 88, 0.03) 0%, rgba(10, 15, 30, 0.4) 100%);
    border: 1px solid rgba(229, 193, 88, 0.15);
    border-radius: var(--border-radius-lg);
    padding: 30px;
    position: relative;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.mongodb-highlight-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-gold-premium);
    background: rgba(229, 193, 88, 0.08);
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 15px;
    border: 1px solid rgba(229, 193, 88, 0.15);
}

.mongodb-highlight-content {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.mongodb-highlight-icon {
    width: 24px;
    height: 24px;
    color: var(--color-gold-premium);
    flex-shrink: 0;
    margin-top: 2px;
}

.mongodb-highlight-content p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--color-gray-light);
}

@media (max-width: 992px) {
    .mongodb-intro {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.mongodb-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.mongodb-card {
    background: var(--bg-card-solid);
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: var(--border-radius-lg);
    padding: 36px;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}


.mongodb-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.mongodb-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(229,193,88,0.08);
    border: 1.5px solid var(--color-gold-border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--color-gold-premium);
}

.mongodb-icon-box svg {
    width: 24px;
    height: 24px;
}

.mongodb-card-header h3 {
    font-size: 1.25rem;
    color: var(--color-white);
    font-weight: 700;
    font-family: var(--font-heading);
}

.mongodb-card p {
    font-size: 0.92rem;
    color: var(--color-gray-muted);
    line-height: 1.6;
}

.mongodb-card-highlight {
    border: 1.5px solid var(--color-gold-border);
    box-shadow: 0 15px 35px rgba(229,193,88,0.04);
    background: linear-gradient(145deg, var(--bg-card-solid) 0%, rgba(229, 193, 88, 0.02) 100%);
}

/* Light Theme Overrides for MongoDB Section */
body.light-theme .mongodb-highlight-box {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.04) 0%, rgba(255, 255, 255, 0.8) 100%) !important;
    border: 1px solid rgba(79, 70, 229, 0.15) !important;
    box-shadow: 0 15px 35px rgba(79, 70, 229, 0.03) !important;
}

body.light-theme .mongodb-highlight-badge {
    color: #4F46E5 !important;
    background: rgba(79, 70, 229, 0.06) !important;
    border-color: rgba(79, 70, 229, 0.12) !important;
}

body.light-theme .mongodb-highlight-icon {
    color: #4F46E5 !important;
}

body.light-theme .mongodb-highlight-content p {
    color: #334155 !important;
}

body.light-theme .mongodb-card {
    background: #FFFFFF !important;
    border: 1px solid rgba(79, 70, 229, 0.08) !important;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.02) !important;
}


body.light-theme .mongodb-card-highlight {
    border: 1.5px solid rgba(79, 70, 229, 0.2) !important;
    background: linear-gradient(145deg, #FFFFFF 0%, rgba(79, 70, 229, 0.02) 100%) !important;
    box-shadow: 0 15px 35px rgba(79, 70, 229, 0.04) !important;
}

body.light-theme .mongodb-icon-box {
    background: rgba(79, 70, 229, 0.05) !important;
    border-color: rgba(79, 70, 229, 0.12) !important;
    color: #4F46E5 !important;
}

body.light-theme .mongodb-card-header h3 {
    color: #0B0F19 !important;
}

body.light-theme .mongodb-card p {
    color: #334155 !important;
}



/* ==========================================================================
   13. Operations & Returns Section (Logistics Hub)
   ========================================================================== */
.operations-section {
    padding: 120px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.ops-widescreen-banner {
    position: relative;
    width: 100%;
    height: 480px;
    border-radius: var(--border-radius-xl);
    border: 1px solid rgba(229, 193, 88, 0.15);
    background: var(--bg-card-solid);
    overflow: hidden;
    margin-top: 50px;
    margin-bottom: 50px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.6);
    display: flex;
    align-items: flex-end;
    padding: 60px;
    transition: var(--transition-smooth);
}

.ops-banner-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
    transform: scale(1.15);
    transition: transform 2.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 2.2s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

/* Automatic scroll-triggered zoom-out reveal */
.ops-widescreen-banner.reveal-on-scroll.active .ops-banner-img {
    transform: scale(1);
    opacity: 0.65;
}

.banner-overlay-dark {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(5, 8, 14, 0.95) 0%, rgba(5, 8, 14, 0.8) 40%, rgba(5, 8, 14, 0.2) 100%),
                linear-gradient(to top, rgba(5, 8, 14, 0.9) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}


.ops-banner-content {
    position: relative;
    z-index: 2;
    max-width: 620px;
    transform: translateY(0);
    transition: var(--transition-smooth);
}

.ops-banner-tag {
    background: var(--color-gold-premium);
    color: var(--bg-obsidian);
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 18px;
    box-shadow: 0 0 15px rgba(229, 193, 88, 0.4);
}

.ops-banner-content h3 {
    font-size: 2.6rem;
    color: var(--color-white);
    margin-bottom: 16px;
    line-height: 1.2;
    font-family: var(--font-heading);
    font-weight: 800;
}

.ops-banner-content p {
    font-size: 1.05rem;
    color: var(--color-gray-light);
    line-height: 1.6;
}

.ops-returns-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.ops-card {
    background: var(--bg-card-solid);
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: var(--border-radius-lg);
    padding: 44px;
    display: flex;
    flex-direction: column;
}

.ops-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.ops-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

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

/* Operations themed classes */
.ops-icon.ops-icon-box {
    color: var(--color-gold-premium); /* Gold */
    background: rgba(229, 193, 88, 0.08);
    border: 1px solid rgba(229, 193, 88, 0.2);
}
.ops-icon.ops-icon-returns {
    color: #34D399; /* Green */
    background: rgba(52, 211, 153, 0.08);
    border: 1px solid rgba(52, 211, 153, 0.2);
}

.ops-card-header h3 {
    font-size: 1.6rem;
}

.ops-card-intro {
    font-size: 0.95rem;
    color: var(--color-gray-muted);
    margin-bottom: 24px;
}

.ops-features-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex-grow: 1;
    margin-bottom: 30px;
}

.ops-features-list li {
    font-size: 0.9rem;
    position: relative;
    padding-left: 20px;
}

.ops-features-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-gold-premium);
    font-weight: 700;
}

.ops-features-list strong {
    color: var(--color-white);
}

.ops-card-footer {
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 0.9rem;
    color: var(--color-gray-light);
}

.ops-card-footer strong {
    color: var(--color-gold-premium);
}

/* Returns Sub block */
.returns-steps {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 30px;
    flex-grow: 1;
}

.r-step {
    display: flex;
    gap: 16px;
}

.r-step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(229,193,88,0.1);
    border: 1px solid var(--color-gold-border);
    color: var(--color-gold-premium);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.r-step-txt h4 {
    font-size: 0.95rem;
    color: var(--color-white);
    margin-bottom: 2px;
}

.r-step-txt p {
    font-size: 0.82rem;
    color: var(--color-gray-muted);
}

/* Time Comparison simulation box */
.returns-time-compare {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: var(--border-radius-md);
    padding: 20px;
    margin-bottom: 24px;
}

.time-box {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.time-box.old-way {
    border-right: 1px solid rgba(255,255,255,0.06);
}

.time-label {
    font-size: 0.75rem;
    color: var(--color-gray-muted);
}

.time-val {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 800;
    margin: 4px 0;
}

.old-way .time-val {
    color: var(--color-danger);
}

.time-sub {
    font-size: 0.7rem;
    color: var(--color-gray-muted);
}



/* ==========================================================================
   14. Service Level Agreement (SLA) Section
   ========================================================================== */
.sla-section {
    padding: 120px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    position: relative;
    overflow: hidden;
}

.sla-business-case {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
    align-items: stretch;
}

.case-math-box {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.02) 0%, rgba(10, 15, 30, 0.5) 100%);
    border: 1px solid rgba(239, 68, 68, 0.12);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.math-title {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-danger);
    margin-bottom: 15px;
}

.math-equation {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--color-white);
    margin-bottom: 20px;
    line-height: 1.2;
}

.math-desc {
    font-size: 0.95rem;
    color: var(--color-gray-muted);
    line-height: 1.6;
    margin: 0;
}

.case-text-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.case-text-box h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 20px;
}

.case-text-box p {
    font-size: 1.02rem;
    color: var(--color-gray-muted);
    line-height: 1.7;
    margin: 0;
}

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

.sla-metric-card {
    background: var(--bg-card-solid);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: var(--border-radius-lg);
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.sla-metric-card.highlight-gold {
    border: 1.5px solid var(--color-gold-border);
    box-shadow: 0 15px 35px rgba(229, 193, 88, 0.04);
    background: linear-gradient(145deg, var(--bg-card-solid) 0%, rgba(229, 193, 88, 0.02) 100%);
}

.sla-card-badge {
    align-self: flex-start;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 3px 10px;
    border-radius: 12px;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.badge-critical {
    color: var(--color-danger);
    background: rgba(239, 68, 68, 0.08);
    border-color: rgba(239, 68, 68, 0.15);
}

.badge-high {
    color: #F97316;
    background: rgba(249, 115, 22, 0.08);
    border-color: rgba(249, 115, 22, 0.15);
}

.badge-dedicated {
    color: var(--color-gold-premium);
    background: rgba(229, 193, 88, 0.08);
    border-color: rgba(229, 193, 88, 0.15);
}

.sla-metric-card h3 {
    font-size: 1.15rem;
    color: var(--color-white);
    font-weight: 700;
    font-family: var(--font-heading);
    margin-bottom: 10px;
}

.sla-breakdown {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
    margin-top: 5px;
}

.sla-breakdown-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
    padding-bottom: 8px;
}

.sla-breakdown-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.sla-label {
    font-size: 0.9rem;
    color: var(--color-gray-muted);
}

.sla-value {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-white);
}

.val-critical {
    color: var(--color-danger) !important;
}

.val-high {
    color: #F97316 !important;
}

.val-standard {
    color: var(--color-gold-premium) !important;
}

.sla-metric-card p {
    font-size: 0.88rem;
    color: var(--color-gray-muted);
    line-height: 1.5;
    margin: 0;
}

.sla-price-box {
    display: flex;
    flex-direction: column;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
}

.price-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-gray-muted);
    margin-bottom: 5px;
}

.price-val {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--color-white);
}

.price-val small {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-gray-muted);
}

.sla-tier-desc {
    font-size: 0.88rem !important;
    color: var(--color-gray-muted) !important;
    margin-top: 10px;
    margin-bottom: 20px;
    min-height: 45px;
}

.badge-silver {
    color: #94A3B8;
    background: rgba(148, 163, 184, 0.08);
    border-color: rgba(148, 163, 184, 0.15);
}

.sla-priorities-legend {
    margin-top: 60px;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: var(--border-radius-lg);
    padding: 35px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.sla-explain-container {
    margin-top: 80px;
}

.sla-explain-group-title {
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-gold-premium);
    margin-bottom: 25px;
    font-family: var(--font-heading);
    position: relative;
    padding-left: 18px;
}

.sla-explain-group-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 16px;
    background: var(--color-gold-premium);
    border-radius: 2px;
}

.sla-tiles-grid {
    display: grid;
    gap: 20px;
}

.grid-5-cols {
    grid-template-columns: repeat(5, 1fr);
}

.grid-4-cols {
    grid-template-columns: repeat(4, 1fr);
}

.sla-tile {
    background: var(--bg-card-solid);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: var(--border-radius-md);
    padding: 24px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
}

.sla-tile:hover {
    transform: translateY(-5px);
    background: var(--bg-card-hover);
    border-color: rgba(229, 193, 88, 0.15);
    box-shadow: 0 15px 35px rgba(229, 193, 88, 0.03);
}

.tile-step {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--color-gold-premium);
    opacity: 0.15;
    display: block;
    margin-bottom: 12px;
    line-height: 1;
}

.tile-term {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 12px;
}

.tile-desc {
    font-size: 0.84rem;
    color: var(--color-gray-muted);
    line-height: 1.5;
    margin: 0;
}

.tile-badge {
    align-self: flex-start;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 6px;
    font-family: var(--font-heading);
    display: inline-block;
    margin-bottom: 15px;
}

.badge-p1 {
    color: var(--color-danger);
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.15);
}

.badge-p2 {
    color: #F97316;
    background: rgba(249, 115, 22, 0.08);
    border: 1px solid rgba(249, 115, 22, 0.15);
}

.badge-p3 {
    color: #3B82F6;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.15);
}

.badge-p4 {
    color: var(--color-gray-muted);
    background: rgba(148, 163, 184, 0.08);
    border: 1px solid rgba(148, 163, 184, 0.15);
}

.badge-consultations {
    color: var(--color-gold-premium);
    background: rgba(229, 193, 88, 0.08);
    border: 1px solid rgba(229, 193, 88, 0.15);
}

.border-p1:hover {
    border-color: rgba(239, 68, 68, 0.3) !important;
    box-shadow: 0 15px 35px rgba(239, 68, 68, 0.04) !important;
}

.border-p2:hover {
    border-color: rgba(249, 115, 22, 0.3) !important;
    box-shadow: 0 15px 35px rgba(249, 115, 22, 0.04) !important;
}

.border-p3:hover {
    border-color: rgba(59, 130, 246, 0.3) !important;
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.04) !important;
}

.border-p4:hover {
    border-color: rgba(148, 163, 184, 0.3) !important;
    box-shadow: 0 15px 35px rgba(148, 163, 184, 0.04) !important;
}

.border-consultations:hover {
    border-color: rgba(229, 193, 88, 0.3) !important;
    box-shadow: 0 15px 35px rgba(229, 193, 88, 0.04) !important;
}

@media (max-width: 1200px) {
    .sla-business-case {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 1200px) {
    .grid-5-cols {
        grid-template-columns: repeat(3, 1fr);
    }
    .grid-4-cols {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .sla-cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .grid-5-cols, .grid-4-cols {
        grid-template-columns: 1fr;
    }
    .sla-explain-container {
        margin-top: 50px;
    }
}

/* Light Theme Overrides for SLA Section */
body.light-theme .sla-metric-card {
    background: #FFFFFF !important;
    border: 1px solid rgba(79, 70, 229, 0.08) !important;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.02) !important;
}

body.light-theme .sla-metric-card.highlight-gold {
    border: 1.5px solid rgba(79, 70, 229, 0.2) !important;
    background: linear-gradient(145deg, #FFFFFF 0%, rgba(79, 70, 229, 0.02) 100%) !important;
    box-shadow: 0 15px 35px rgba(79, 70, 229, 0.04) !important;
}

body.light-theme .sla-metric-card h3 {
    color: #0B0F19 !important;
}

body.light-theme .sla-breakdown-row {
    border-bottom-color: rgba(79, 70, 229, 0.08) !important;
}

body.light-theme .sla-value {
    color: #0B0F19 !important;
}

body.light-theme .val-critical {
    color: var(--color-danger) !important;
}

body.light-theme .val-high {
    color: #EA580C !important;
}

body.light-theme .val-standard {
    color: #4F46E5 !important;
}

body.light-theme .sla-metric-card p {
    color: #334155 !important;
}

body.light-theme .badge-dedicated {
    color: #4F46E5 !important;
    background: rgba(79, 70, 229, 0.06) !important;
    border-color: rgba(79, 70, 229, 0.12) !important;
}

body.light-theme .case-math-box {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.03) 0%, rgba(255, 255, 255, 0.8) 100%) !important;
    border: 1px solid rgba(239, 68, 68, 0.15) !important;
    box-shadow: 0 15px 35px rgba(239, 68, 68, 0.02) !important;
}

body.light-theme .math-equation {
    color: #0B0F19 !important;
}

body.light-theme .case-text-box h3 {
    color: #0B0F19 !important;
}

body.light-theme .case-text-box p {
    color: #334155 !important;
}

body.light-theme .math-desc {
    color: #475569 !important;
}

body.light-theme .sla-price-box {
    border-bottom-color: rgba(79, 70, 229, 0.08) !important;
}

body.light-theme .price-val {
    color: #0B0F19 !important;
}

body.light-theme .price-val small {
    color: #475569 !important;
}

body.light-theme .sla-tier-desc {
    color: #475569 !important;
}

body.light-theme .badge-silver {
    color: #475569 !important;
    background: rgba(148, 163, 184, 0.06) !important;
    border-color: rgba(148, 163, 184, 0.12) !important;
}

body.light-theme .sla-explain-group-title {
    color: #4F46E5 !important;
}

body.light-theme .sla-explain-group-title::before {
    background: #4F46E5 !important;
}

body.light-theme .sla-tile {
    background: #FFFFFF !important;
    border: 1px solid rgba(79, 70, 229, 0.08) !important;
    box-shadow: 0 10px 25px rgba(79, 70, 229, 0.02) !important;
}

body.light-theme .sla-tile:hover {
    border-color: rgba(79, 70, 229, 0.25) !important;
    box-shadow: 0 15px 35px rgba(79, 70, 229, 0.06) !important;
    background: linear-gradient(145deg, #FFFFFF 0%, rgba(79, 70, 229, 0.01) 100%) !important;
}

body.light-theme .tile-step {
    color: #4F46E5 !important;
    opacity: 0.12;
}

body.light-theme .tile-term {
    color: #0B0F19 !important;
}

body.light-theme .tile-desc {
    color: #475569 !important;
}

body.light-theme .badge-p1 {
    color: var(--color-danger) !important;
    background: rgba(239, 68, 68, 0.06) !important;
    border-color: rgba(239, 68, 68, 0.12) !important;
}

body.light-theme .badge-p2 {
    color: #EA580C !important;
    background: rgba(234, 88, 12, 0.06) !important;
    border-color: rgba(234, 88, 12, 0.12) !important;
}

body.light-theme .badge-p3 {
    color: #2563EB !important;
    background: rgba(37, 99, 235, 0.06) !important;
    border-color: rgba(37, 99, 235, 0.12) !important;
}

body.light-theme .badge-p4 {
    color: #475569 !important;
    background: rgba(148, 163, 184, 0.06) !important;
    border-color: rgba(148, 163, 184, 0.12) !important;
}

body.light-theme .badge-consultations {
    color: #4F46E5 !important;
    background: rgba(79, 70, 229, 0.06) !important;
    border-color: rgba(79, 70, 229, 0.12) !important;
}

body.light-theme .border-p1:hover {
    border-color: rgba(239, 68, 68, 0.4) !important;
    box-shadow: 0 15px 35px rgba(239, 68, 68, 0.05) !important;
}

body.light-theme .border-p2:hover {
    border-color: rgba(234, 88, 12, 0.4) !important;
    box-shadow: 0 15px 35px rgba(234, 88, 12, 0.05) !important;
}

body.light-theme .border-p3:hover {
    border-color: rgba(37, 99, 235, 0.4) !important;
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.05) !important;
}

body.light-theme .border-p4:hover {
    border-color: rgba(148, 163, 184, 0.4) !important;
    box-shadow: 0 15px 35px rgba(148, 163, 184, 0.05) !important;
}

body.light-theme .border-consultations:hover {
    border-color: rgba(79, 70, 229, 0.4) !important;
    box-shadow: 0 15px 35px rgba(79, 70, 229, 0.05) !important;
}


/* ==========================================================================
   15. Partnership & Safe Migration Section
   ========================================================================== */
.partnership-migration-section {
    padding: 120px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}


/* ==========================================================================
   15. Final Call-to-Action Section
   ========================================================================== */
.final-cta-section {
    padding: 120px 0;
    position: relative;
}

.cta-glass-banner {
    background: linear-gradient(135deg, rgba(229,193,88,0.07) 0%, rgba(16, 20, 32, 0.7) 100%);
    border: 1px solid var(--color-gold-border);
    border-radius: 32px;
    padding: 60px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.5), 0 0 40px rgba(229,193,88,0.03);
    position: relative;
    overflow: hidden;
}

.cta-glass-banner::after {
    content: '';
    position: absolute;
    top: -150px;
    right: -150px;
    width: 300px;
    height: 300px;
    background: var(--color-gold-premium);
    filter: blur(160px);
    opacity: 0.12;
    pointer-events: none;
}

.cta-banner-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
}

.cta-badge {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-gold-premium);
    margin-bottom: 16px;
}

.cta-heading {
    font-size: 2.6rem;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.cta-intro {
    font-size: 1rem;
    color: var(--color-gray-light);
    margin-bottom: 24px;
    font-weight: 500;
}

.cta-warnings {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 30px;
}

.cta-warnings li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 0.88rem;
    line-height: 1.4;
}

.warning-icon {
    color: var(--color-gold-premium);
    font-weight: bold;
    flex-shrink: 0;
}

.cta-paragraph {
    font-size: 0.95rem;
    font-style: italic;
    color: var(--color-gray-light);
    border-left: 2px solid var(--color-gold-premium);
    padding-left: 14px;
}

/* Call booking active block */
.cta-card-action {
    background: var(--bg-obsidian);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    text-align: center;
}

.cta-card-action h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
}

.cta-card-action p {
    font-size: 0.85rem;
    color: var(--color-gray-muted);
    margin-bottom: 24px;
    line-height: 1.5;
}

.cta-card-subtext {
    display: block;
    font-size: 0.75rem;
    color: var(--color-gray-muted);
    margin-top: 14px;
}

/* ==========================================================================
   16. Structured Footer Columns & Social Links
   ========================================================================== */
.site-footer {
    background-color: #030509;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding: 80px 0 40px 0;
    font-size: 0.85rem;
}

.footer-container {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-brand-column {
    display: flex;
    flex-direction: column;
}

.footer-brand-logo-link {
    display: inline-block;
    margin-bottom: 24px;
}

.footer-brand-logo-img {
    height: 38px;
    width: auto;
    display: block;
    filter: brightness(1.2); /* Elite, warm brightness boost in the dark footer */
}

.brand-footer-text {
    color: var(--color-gray-muted);
    margin-bottom: 24px;
    line-height: 1.6;
    max-width: 380px;
}

.footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-contacts a {
    color: var(--color-gray-light);
    font-weight: 500;
}

.footer-contacts a:hover {
    color: var(--color-gold-premium);
}

.footer-links-columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--color-white);
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col a {
    color: var(--color-gray-muted);
}

.footer-col a:hover {
    color: var(--color-gold-premium);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
}

.copyright {
    color: var(--color-gray-muted);
}

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

.footer-socials a {
    color: var(--color-gray-muted);
}

.footer-socials a:hover {
    color: var(--color-gold-premium);
}

/* ==========================================================================
   17. Premium Sliding Booking Modal
   ========================================================================== */
.booking-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 5, 9, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    padding: 20px;
}

.booking-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.booking-modal-card {
    background: var(--bg-card-solid);
    border: 1px solid var(--color-gold-border);
    box-shadow: 0 30px 80px rgba(0,0,0,0.8), 0 0 50px rgba(229,193,88,0.05);
    border-radius: var(--border-radius-lg);
    width: 100%;
    max-width: 980px;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    overflow: hidden;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: var(--transition-smooth);
}

.booking-modal-overlay.active .booking-modal-card {
    transform: scale(1) translateY(0);
}

.close-modal-btn {
    position: absolute;
    top: 20px;
    right: 24px;
    background: transparent;
    border: none;
    font-size: 2rem;
    color: var(--color-gray-muted);
    cursor: pointer;
    z-index: 10;
    transition: var(--transition-fast);
}

.close-modal-btn:hover {
    color: var(--color-white);
}

/* Modal Left Info panel */
.modal-left {
    background: linear-gradient(135deg, rgba(229,193,88,0.06) 0%, rgba(16, 20, 32, 0.7) 100%);
    padding: 44px;
    border-right: 1px solid rgba(255,255,255,0.04);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.modal-left-decor {
    position: absolute;
    top: -50px;
    left: -50px;
    width: 150px;
    height: 150px;
    background: var(--color-gold-premium);
    filter: blur(80px);
    opacity: 0.1;
    pointer-events: none;
}

.modal-badge {
    display: inline-block;
    align-self: flex-start;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-gold-premium);
    background: rgba(229,193,88,0.1);
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.modal-left h3 {
    font-size: 1.8rem;
    line-height: 1.2;
    margin-bottom: 16px;
}

.modal-left p {
    font-size: 0.88rem;
    color: var(--color-gray-muted);
    line-height: 1.5;
    margin-bottom: 24px;
}

.modal-checklist {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 30px;
}

.m-check-item {
    display: flex;
    gap: 12px;
    align-items: center;
}

.m-check-item span {
    color: var(--color-gold-premium);
    font-weight: bold;
}

.m-check-item p {
    font-size: 0.85rem;
    color: var(--color-gray-light);
    margin-bottom: 0;
}

.modal-trust-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 20px;
    font-size: 0.75rem;
    color: var(--color-gray-muted);
}

.modal-trust-badge svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Modal Right Interactive steps */
.modal-right {
    padding: 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-step {
    transition: var(--transition-smooth);
}

.hidden-step {
    display: none !important;
}

.step-title {
    font-size: 1.35rem;
    margin-bottom: 8px;
}

.step-desc {
    font-size: 0.85rem;
    color: var(--color-gray-muted);
    line-height: 1.4;
    margin-bottom: 24px;
}

.step-desc-sub {
    font-size: 0.85rem;
    color: var(--color-gray-muted);
    line-height: 1.5;
    margin-top: 16px;
}

/* Step 1 Simulator */
.calendar-picker-sim {
    margin-bottom: 24px;
}

.calendar-days-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    margin-bottom: 16px;
}

.cal-day {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-sm);
    padding: 10px 4px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    flex-direction: column;
}

.cal-day span:first-child {
    font-size: 0.7rem;
    color: var(--color-gray-muted);
    text-transform: uppercase;
}

.cal-num {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-white);
    margin-top: 2px;
}

.cal-day:hover {
    border-color: rgba(229,193,88,0.5);
    background: rgba(229,193,88,0.03);
}

.cal-day.active {
    background: var(--color-gold-premium);
    border-color: var(--color-gold-premium);
}

.cal-day.active span:first-child, .cal-day.active .cal-num {
    color: var(--bg-obsidian);
    font-weight: 800;
}

.calendar-hours-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.cal-hour {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-sm);
    padding: 10px;
    color: var(--color-gray-light);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-fast);
}

.cal-hour:hover {
    border-color: rgba(229,193,88,0.5);
    background: rgba(229,193,88,0.03);
}

.cal-hour.active-hour {
    background: rgba(229, 193, 88, 0.15);
    border-color: var(--color-gold-premium);
    color: var(--color-gold-premium);
}

/* Step 2 Form elements */
.modal-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

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

.form-group label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-gray-light);
}

.form-group input, .form-group textarea {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-sm);
    padding: 10px 14px;
    color: var(--color-white);
    font-size: 0.85rem;
    transition: var(--transition-fast);
    outline: none;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--color-gold-premium);
    background: rgba(229,193,88,0.02);
}

.form-group textarea {
    resize: none;
    height: 80px;
}

.form-agreement {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-top: 4px;
}

.form-agreement input {
    margin-top: 4px;
    accent-color: var(--color-gold-premium);
}

.form-agreement label {
    font-size: 0.72rem;
    color: var(--color-gray-muted);
    line-height: 1.4;
}

.form-actions-row {
    display: grid;
    grid-template-columns: 0.4fr 0.6fr;
    gap: 12px;
    margin-top: 14px;
}

/* Step 3 Success Element */
.success-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(229,193,88,0.1);
    border: 2px solid var(--color-gold-premium);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px auto;
}

.success-icon-wrapper svg {
    width: 32px;
    height: 32px;
}

#modal-success {
    text-align: center;
}

/* ==========================================================================
   18. Full Media Queries & Responsiveness
   ========================================================================== */

@media (max-width: 1200px) {
    .hero-title {
        font-size: 3rem;
    }
    .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    
    .hero-text-content {
        max-width: 100%;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-subtext {
        border-left: none;
        border-bottom: 2px solid var(--color-gold-premium);
        padding-left: 0;
        padding-bottom: 16px;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .stats-grid {
        max-width: 600px;
        margin: 0 auto;
    }
    
    .performance-grid {
        grid-template-columns: 1fr;
    }
    
    .infra-layout {
        grid-template-columns: 1fr;
    }
    
    .promises-row {
        grid-template-columns: 1fr;
    }
    
    .security-grid,
    .mongodb-grid {
        grid-template-columns: 1fr;
    }
    
    .engine-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .ops-returns-grid {
        grid-template-columns: 1fr;
    }

    
    .cta-banner-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-brand-column {
        align-items: center;
        text-align: center;
    }
    
    .brand-footer-text {
        max-width: 100%;
    }
    
    .footer-links-columns {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    /* Header Responsive Layout */
    .mobile-nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 320px;
        height: 100vh;
        background: var(--bg-card-solid);
        border-left: 1px solid rgba(229,193,88,0.15);
        box-shadow: -10px 0 40px rgba(0,0,0,0.8);
        padding: 80px 40px 40px 40px;
        transition: var(--transition-smooth);
        z-index: 1000;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 20px;
        width: 100%;
    }
    
    .nav-link {
        font-size: 1.15rem;
        padding: 10px 0;
        width: 100%;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        padding: 6px 0 0 16px;
        background: transparent;
        display: none;
    }
    
    .nav-item.has-dropdown.active-mobile-drop .dropdown-menu {
        display: block;
    }
    
    .header-cta-wrapper {
        display: none;
    }
    
    /* Active hamburger animation */
    .mobile-nav-toggle.active .hamburger-bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .mobile-nav-toggle.active .hamburger-bar:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-nav-toggle.active .hamburger-bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 1.85rem;
    }
    
    .hero-section {
        padding-top: 130px;
        padding-bottom: 60px;
        min-height: auto;
        display: block;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .stat-card {
        padding: 15px 12px;
        min-height: 110px;
    }
    
    .stat-label {
        font-size: 0.65rem;
    }
    
    .stat-value {
        font-size: 1.6rem;
        margin-top: 6px;
        margin-bottom: 8px;
    }
    
    .stat-sub {
        font-size: 0.72rem;
    }
    
    .stat-premium-circle {
        top: 12px;
        right: 12px;
        width: 32px;
        height: 32px;
    }
    
    .premium-star {
        width: 14px;
        height: 14px;
    }
    
    /* Restore EPYC hardware showcase to stack vertically so it's not cramped */
    .infra-hardware-showcase {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .chip-image-wrapper {
        height: 260px;
    }
    
    .infra-tech-box {
        flex-direction: column;
        padding: 30px 24px;
        text-align: center;
    }
    

    .hub-flow-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .flow-card::before {
        display: none;
    }
    
    .booking-modal-card {
        grid-template-columns: 1fr;
        max-height: 90vh;
        overflow-y: auto;
    }
    
    .modal-left {
        display: none;
    }
    
    .wide-glass-card {
        padding: 30px 20px;
    }
    
    .design-features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-links-columns {
        grid-template-columns: 1fr;
    }
    
    .footer-col {
        text-align: center;
    }
    
    .footer-col ul {
        align-items: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-socials {
        justify-content: center;
    }
    

    
    .engine-visual-bento-card {
        min-height: 280px;
    }
    
    .ops-widescreen-banner {
        height: auto;
        min-height: 380px;
        padding: 30px;
        margin-top: 30px;
        margin-bottom: 30px;
    }
    
    .ops-banner-content h3 {
        font-size: 1.85rem;
        margin-bottom: 12px;
    }
    
    .ops-banner-content p {
        font-size: 0.95rem;
    }
    
    .banner-overlay-dark {
        background: linear-gradient(to top, rgba(5, 8, 14, 0.98) 0%, rgba(5, 8, 14, 0.85) 60%, rgba(5, 8, 14, 0.4) 100%);
    }
    
    /* Responsive Stress-Test Simulator */
    .scaling-interactive-simulator {
        grid-template-columns: 1fr;
        padding: 30px 24px;
        gap: 30px;
    }
    
    .sim-metrics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .sim-metric-card {
        padding: 15px 12px;
        min-height: 90px;
    }
    
    .sim-metric-label {
        font-size: 0.65rem;
    }
    
    .sim-metric-value {
        font-size: 1.3rem;
        margin-top: 6px;
        margin-bottom: 8px;
    }
    
    .sim-visual-status-card {
        padding: 20px;
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
    }
}

/* Anatomy Display Card (Right column) */
.anatomy-display-card {
    background: var(--bg-card-solid);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 380px;
}

.anatomy-specs-list {
    margin-top: 24px;
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.anatomy-specs-list li {
    font-size: 0.95rem;
    color: var(--color-gray-light);
    margin-bottom: 12px;
    line-height: 1.6;
    padding-left: 20px;
    position: relative;
}

.anatomy-specs-list li::before {
    content: "•";
    color: var(--color-gold-premium);
    position: absolute;
    left: 0;
    top: -2px;
    font-size: 1.3rem;
}

.anatomy-specs-list li strong {
    color: var(--color-gold-premium);
    font-weight: 700;
}

.anatomy-specs-list li::before {
    content: "•";
    color: var(--color-gold-premium);
    font-size: 1.2rem;
    margin-right: 4px;
}

/* Horizontal Spec Pillars Foundation */
.infra-pillars-section {
    width: 100%;
    margin-top: 20px;
}

.infra-pillars-section .spec-pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Gorgeous 4-column horizontal block! */
    gap: 24px;
}

.anatomy-hotspot {
    position: absolute;
    width: 24px;
    height: 24px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hotspot-pin {
    width: 12px;
    height: 12px;
    background: var(--color-gold-premium);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(229, 193, 88, 0.8);
    transition: var(--transition-smooth);
    border: 2px solid var(--bg-obsidian);
}

/* Pulsing effect around pin */
.anatomy-hotspot::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid rgba(229, 193, 88, 0.5);
    animation: hotspotPulse 2s infinite ease-out;
    pointer-events: none;
}

@keyframes hotspotPulse {
    0% { transform: scale(0.4); opacity: 1; }
    100% { transform: scale(2.0); opacity: 0; }
}

.anatomy-hotspot:hover .hotspot-pin,
.anatomy-hotspot.active .hotspot-pin {
    background: var(--color-white);
    transform: scale(1.2);
    box-shadow: 0 0 15px rgba(255, 255, 255, 1), 0 0 5px rgba(229, 193, 88, 1);
}

.anatomy-hotspot:hover::after,
.anatomy-hotspot.active::after {
    border-color: rgba(255, 255, 255, 0.8);
}

/* Floating instruction overlay for hotspots */
.hotspots-instruction-overlay {
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 12;
    background: rgba(5, 8, 14, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(229, 193, 88, 0.25);
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    padding: 8px 16px;
    border-radius: 30px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 15px rgba(229, 193, 88, 0.1);
    pointer-events: none;
    animation: fadeInDown 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

body.light-theme .hotspots-instruction-overlay {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(99, 102, 241, 0.25);
    color: #1e293b;
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.08), 0 0 15px rgba(99, 102, 241, 0.03);
}

.hotspot-pulse-ring {
    width: 8px;
    height: 8px;
    background: var(--color-gold-premium);
    border-radius: 50%;
    position: relative;
    display: inline-block;
}

body.light-theme .hotspot-pulse-ring {
    background: #4f46e5;
}

.hotspot-pulse-ring::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 1.5px solid var(--color-gold-premium);
    border-radius: 50%;
    animation: hintDotPulse 1.8s infinite ease-out;
}

body.light-theme .hotspot-pulse-ring::after {
    border-color: #4f46e5;
}

/* Light Theme Hotspot Overrides */
body.light-theme .hotspot-pin {
    background: #4f46e5;
    box-shadow: 0 0 10px rgba(79, 70, 229, 0.8);
    border-color: #fcfaf6;
}

body.light-theme .anatomy-hotspot::after {
    border-color: rgba(79, 70, 229, 0.5);
}

body.light-theme .anatomy-hotspot:hover .hotspot-pin,
body.light-theme .anatomy-hotspot.active .hotspot-pin {
    background: #ffffff;
    box-shadow: 0 0 15px rgba(255, 255, 255, 1), 0 0 10px rgba(79, 70, 229, 1);
}

body.light-theme .anatomy-hotspot:hover::after,
body.light-theme .anatomy-hotspot.active::after {
    border-color: rgba(79, 70, 229, 0.8);
}

@keyframes hintDotPulse {
    0% { transform: scale(0.6); opacity: 1; }
    100% { transform: scale(1.6); opacity: 0; }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translate(-50%, -10px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}

@media (max-width: 480px) {
    .hotspots-instruction-overlay {
        font-size: 0.7rem;
        padding: 6px 12px;
        top: 10px;
    }
}

.anatomy-details-card {
    transition: var(--transition-smooth);
    opacity: 1;
    transform: translateY(0);
    will-change: opacity, transform;
}

.anatomy-details-card.hidden {
    display: none;
    opacity: 0;
    transform: translateY(10px);
}

.anatomy-card-header {
    display: flex;
    flex-direction: column;
    margin-bottom: 12px;
}

.anatomy-tag {
    font-size: 0.7rem;
    font-weight: 900;
    color: var(--color-gold-premium);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 4px;
    font-family: var(--font-heading);
}

.anatomy-details-card h4 {
    font-size: 1.3rem;
    color: var(--color-white);
    font-weight: 800;
    font-family: var(--font-heading);
}

.anatomy-details-card p {
    font-size: 0.95rem;
    color: var(--color-gray-light);
    line-height: 1.6;
}

/* Ambient Orbs */
.ambient-glow-orb {
    position: absolute;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(229, 193, 88, 0.05) 0%, transparent 70%);
    filter: blur(90px);
    -webkit-filter: blur(90px);
    transform: translate3d(0, 0, 0);
    will-change: filter;
    pointer-events: none;
    z-index: 0;
    opacity: 0.65;
    animation: orbFloat 25s infinite alternate ease-in-out;
}

.orb-1 { top: -100px; left: -250px; }
.orb-2 { top: 200px; right: -300px; background: radial-gradient(circle, rgba(229, 193, 88, 0.04) 0%, transparent 70%); }
.orb-3 { bottom: -250px; left: -150px; }
.orb-4 { top: 10%; right: -250px; }

@keyframes orbFloat {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(70px, 50px) scale(1.1); }
}

/* Scroll-Driven Reveal System */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

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

/* Delay modifiers for sequential reveal */
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }

/* Responsive tweaks for CPU exploded anatomy */
@media (max-width: 768px) {
    .chip-exploded-container {
        width: 100%;
        max-width: 320px;
        margin: 0 auto 30px auto;
    }
}

/* Apple-Inspired Premium Outcomes Bento Grid */
.infra-outcomes-bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 20px;
    width: 100%;
}

.outcomes-bento-card {
    background: var(--bg-card-solid);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-lg);
    padding: 40px 30px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    transition: var(--transition-smooth);
}

/* outcomes-bento-card hover effect removed because it is non-interactive */

.bento-card-glow-orange {
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(229, 193, 88, 0.05) 0%, rgba(229, 193, 88, 0) 70%);
    top: -100px;
    right: -100px;
    pointer-events: none;
    transition: var(--transition-smooth);
}

/* outcomes-bento-card hover effect removed because it is non-interactive */

.outcome-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--color-gold-secondary);
    margin-bottom: 15px;
}

.outcome-metric {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 15px;
    letter-spacing: -0.03em;
}

.outcomes-bento-card h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 12px;
}

.outcomes-bento-card p {
    font-size: 0.95rem;
    color: var(--color-gray-muted);
    line-height: 1.6;
}

/* Media Query overrides for bento grid */
@media (max-width: 992px) {
    .infra-outcomes-bento {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}


/* ==========================================================================
   Apple-Style Bento Grid & Operations & Returns Overhaul
   ========================================================================== */
.ops-returns-grid.bento-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-top: 50px;
}

.bento-tile {
    background: var(--bg-card-solid);
    border: 1px solid rgba(229, 193, 88, 0.3);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7), 0 0 30px rgba(229, 193, 88, 0.05);
    transition: border-color var(--transition-speed-slow) cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow var(--transition-speed-slow) cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-tile-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.bento-tile-header h3 {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--color-white);
    margin: 0;
}

/* Fulfillment Schematic Styling */
.fulfillment-visual-wrapper {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: var(--border-radius-md);
    padding: 20px;
    margin: 30px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.fulfillment-flow-svg {
    width: 100%;
    max-width: 550px;
    height: auto;
}

.ff-node circle {
    transition: stroke var(--transition-speed-fast) ease, fill var(--transition-speed-fast) ease;
}

.ff-node:hover circle {
    stroke: var(--color-gold-premium);
    fill: rgba(229, 193, 88, 0.05);
    cursor: pointer;
}

.node-pulse-slow circle {
    animation: ff-core-glow 3s infinite ease-in-out;
}

@keyframes ff-core-glow {
    0%, 100% { stroke: var(--color-gold-premium); stroke-width: 1.5; filter: drop-shadow(0 0 2px var(--color-gold-premium)); }
    50% { stroke: #FFFFFF; stroke-width: 2.2; filter: drop-shadow(0 0 10px var(--color-gold-premium)); }
}

.ops-features-grid-bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 25px 0;
}

.ops-feat-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: var(--border-radius-sm);
    padding: 20px;
    transition: var(--transition-smooth);
}

.ops-feat-card h4 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-gold-secondary);
    margin-bottom: 8px;
}

.ops-feat-card p {
    font-size: 0.82rem;
    color: var(--color-gray-muted);
    line-height: 1.4;
    margin: 0;
}

/* Returns Interactive Timeline Styling */
.returns-interactive-stepper {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 25px 0;
}

.r-step-pill {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: var(--border-radius-md);
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all var(--transition-speed-normal) cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    user-select: none;
}

.r-step-pill.active {
    background: rgba(229, 193, 88, 0.05);
    border-color: var(--color-gold-premium);
    box-shadow: 0 5px 15px rgba(229, 193, 88, 0.05);
}

.r-step-idx {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-white);
    transition: var(--transition-smooth);
}

.r-step-pill.active .r-step-idx {
    background: var(--color-gold-premium);
    border-color: var(--color-gold-premium);
    color: var(--color-bg-primary);
}

.r-step-meta h5 {
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--color-white);
    margin: 0 0 3px 0;
}

.r-step-meta p {
    font-size: 0.76rem;
    color: var(--color-gray-muted);
    margin: 0;
}

.bento-time-compare {
    margin-top: auto;
    margin-bottom: 25px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.02);
    border-radius: var(--border-radius-md);
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.bento-time-compare .time-val {
    white-space: nowrap;
}

.time-box.old-way {
    border-right: none;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-sm);
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.time-box.old-way .time-label {
    font-family: var(--font-heading);
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    color: var(--color-gray-muted);
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 5px;
}

.time-box.old-way .time-val {
    font-family: var(--font-heading);
    font-size: 1.65rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 5px;
    color: var(--color-danger);
}

.time-box.old-way .time-sub {
    font-size: 0.72rem;
    color: var(--color-gray-muted);
}

.time-box.selesto-way-premium {
    background: rgba(229, 193, 88, 0.05);
    border: 1px solid rgba(229, 193, 88, 0.2);
    border-radius: var(--border-radius-sm);
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.time-box.selesto-way-premium .time-label {
    font-family: var(--font-heading);
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    color: var(--color-gold-secondary);
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 5px;
}

.time-box.selesto-way-premium .time-val {
    font-family: var(--font-heading);
    font-size: 1.65rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 5px;
}

.time-box.selesto-way-premium .time-sub {
    font-size: 0.72rem;
    color: var(--color-gray-muted);
}


/* ==========================================================================
   12B. Global Logistics & Customs Section
   ========================================================================== */
.global-logistics-section {
    padding: 120px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    position: relative;
    overflow: hidden;
    background-image: radial-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 24px 24px;
}

.global-glow {
    top: 25%;
    left: -15%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.05) 0%, rgba(99, 102, 241, 0) 70%);
}

.global-showcase-layout {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 40px;
    margin-top: 60px;
    align-items: start;
}

/* Left Column: Interactive Tabs */
.logistics-tabs-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tabs-column-hint {
    font-size: 0.72rem;
    color: var(--color-gold-premium);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: -4px;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.8;
    padding-left: 4px;
}

.logistics-tab {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.00) 100%);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 20px;
    padding: 24px;
    display: flex;
    gap: 20px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.logistics-tab:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.08);
    transform: translateX(4px);
}

.logistics-tab.active {
    background: rgba(99, 102, 241, 0.06);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 10px 30px -10px rgba(99, 102, 241, 0.15);
}

.logistics-tab .tab-indicator {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, #6366f1, #3b82f6);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.logistics-tab.active .tab-indicator {
    opacity: 1;
}

.logistics-tab .tab-icon-wrapper {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
    color: var(--color-gray-muted);
}

.logistics-tab .tab-icon-wrapper svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    display: block;
}

.logistics-tab.active[data-view="customs"] .tab-icon-wrapper {
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.4);
    color: #3b82f6;
}
.logistics-tab.active[data-view="export"] .tab-icon-wrapper {
    background: rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.4);
    color: #6366f1;
}
.logistics-tab.active[data-view="returns"] .tab-icon-wrapper {
    background: rgba(16, 185, 129, 0.2);
    border-color: rgba(16, 185, 129, 0.4);
    color: #10b981;
}

.logistics-tab .tab-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.logistics-tab .tab-meta h3 {
    font-size: 1.15rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-white);
    margin: 0;
    transition: color 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logistics-tab.active .tab-meta h3 {
    color: var(--color-white);
}

.logistics-tab .tab-arrow {
    font-size: 1.2rem;
    color: var(--color-gray-muted);
    transition: all 0.3s ease;
    opacity: 0.4;
    margin-left: auto;
}

.logistics-tab:hover .tab-arrow {
    transform: translateX(4px);
    opacity: 1;
    color: var(--color-gold-premium);
}

.logistics-tab.active .tab-arrow {
    opacity: 1;
    color: var(--color-gold-premium);
}

.logistics-tab .tab-meta p {
    font-size: 0.82rem;
    color: var(--color-gray-muted);
    line-height: 1.5;
    margin: 0;
}

/* Right Column: Simulated Window */
.admin-panel-window {
    background: linear-gradient(145deg, rgba(10, 15, 28, 0.85) 0%, rgba(5, 8, 15, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    box-shadow: 
        0 30px 70px -15px rgba(0, 0, 0, 0.7),
        0 0 50px -10px rgba(99, 102, 241, 0.05);
    overflow: hidden;
    backdrop-filter: blur(20px) saturate(180%);
    min-height: 480px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

/* Title Bar */
.window-title-bar {
    background: rgba(255, 255, 255, 0.01);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.window-dots {
    display: flex;
    gap: 8px;
}

.window-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.window-dots .dot-red { background-color: #ef4444; opacity: 0.8; }
.window-dots .dot-yellow { background-color: #f59e0b; opacity: 0.8; }
.window-dots .dot-green { background-color: #10b981; opacity: 0.8; }

.window-title-address {
    font-size: 0.72rem;
    font-family: monospace;
    color: var(--color-gray-muted);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 4px 16px;
    border-radius: 8px;
    letter-spacing: 0.02em;
}

.window-action-placeholder {
    width: 44px; /* balance the dots side */
}

/* Window Content & Views */
.window-content {
    padding: 30px;
    flex-grow: 1;
    position: relative;
    display: flex;
}

.logistics-view {
    display: none;
    flex-direction: column;
    width: 100%;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.logistics-view.active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.view-header {
    margin-bottom: 24px;
}

.view-header-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.view-header-title h4 {
    font-size: 1.15rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-white);
    margin: 0;
}

.status-pill {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    padding: 4px 10px;
    border-radius: 6px;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.02);
}

.status-ready {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.status-synced {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.view-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* View 1: Calculator Styling */
.calculator-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: start;
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
}

.calculator-left-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.calculator-left-col .view-controls-bar {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.checkout-summary-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    padding: 20px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.card-subtitle {
    font-size: 0.68rem;
    font-family: var(--font-heading);
    color: var(--color-gray-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 700;
    margin: 0 0 14px 0;
}

.checkout-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.checkout-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.82rem;
    color: var(--color-gray-light);
}

.checkout-item .item-price {
    font-weight: 600;
}

.checkout-divider {
    border-top: 1px dashed rgba(255, 255, 255, 0.08);
    margin: 14px 0;
}

.checkout-breakdown {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.breakdown-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.82rem;
    color: var(--color-gray-muted);
}

.breakdown-row.highlight-blue {
    color: #3b82f6;
    font-weight: 600;
}

.breakdown-row.highlight-green {
    color: #10b981;
    font-weight: 600;
}

.breakdown-row.highlight-orange {
    color: #ea580c;
    font-weight: 600;
}

.breakdown-row.total {
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--color-white);
    background: rgba(59, 130, 246, 0.06);
    padding: 10px 14px;
    border-radius: 10px;
    margin-top: 4px;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.doc-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    transition: all 0.2s ease;
}

.doc-card-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.doc-card-icon svg {
    width: 16px;
    height: 16px;
}

.doc-card-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex-grow: 1;
    text-align: left;
}

.doc-card-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.doc-card-title {
    font-size: 0.82rem;
    color: var(--color-white);
    font-weight: 700;
}

.doc-card-desc {
    font-size: 0.7rem;
    color: var(--color-gray-muted);
    line-height: 1.4;
}

/* Document Badges */
.doc-card-badge {
    font-size: 0.58rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
    letter-spacing: 0.02em;
    flex-shrink: 0;
}

.doc-card-badge.badge-auto {
    background: rgba(16, 185, 129, 0.12);
    color: #10b981;
}

.doc-card-badge.badge-once {
    background: rgba(245, 158, 11, 0.12);
    color: #f59e0b;
}

.doc-card-badge.badge-req {
    background: rgba(59, 130, 246, 0.12);
    color: #3b82f6;
}

/* Customs Documents Full Width Showcase below mockup window */
.customs-docs-showcase {
    margin-top: 60px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.01) 0%, rgba(255, 255, 255, 0.00) 100%);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 24px;
    padding: 40px 30px 30px 30px;
}

body.light-theme .customs-docs-showcase {
    background: rgba(0, 0, 0, 0.005);
    border-color: rgba(0, 0, 0, 0.04);
}

.docs-showcase-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-white);
    margin: 0 0 24px 0;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: var(--font-heading);
}

body.light-theme .docs-showcase-title {
    color: #1e293b;
}

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

@media (max-width: 1024px) {
    .customs-docs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .customs-docs-grid {
        grid-template-columns: 1fr;
    }
}

/* View 2: DB Table Styling */
.db-table-layout {
    gap: 24px;
}

.table-responsive {
    overflow-x: auto;
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.01);
}

.db-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.8rem;
}

.db-table th {
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    padding: 14px 18px;
    color: var(--color-gray-muted);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.68rem;
    letter-spacing: 0.05em;
}

.db-table td {
    padding: 16px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    color: var(--color-gray-light);
}

.db-table tbody tr:last-child td {
    border-bottom: none;
}

.country-cell {
    display: flex;
    align-items: center;
    gap: 10px;
}

.country-cell .flag {
    font-size: 1.1rem;
}

.status-badge-auto {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.2);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 6px;
}

.db-stats-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.db-stat-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.db-stat-num {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--color-white);
    font-family: var(--font-heading);
}

.db-stat-label {
    font-size: 0.72rem;
    color: var(--color-gray-muted);
}

/* View 3: Returns Flow Stepper */
.returns-flow-layout {
    gap: 24px;
}

.returns-horizontal-steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 18px;
    padding: 24px;
    position: relative;
}

.flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    gap: 10px;
    position: relative;
    z-index: 2;
}

.flow-step .step-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1.5px solid rgba(255, 255, 255, 0.08);
    color: var(--color-gray-muted);
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.flow-step.highlight .step-circle {
    background: #10b981;
    border-color: #10b981;
    color: #ffffff;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.4);
}

.flow-step .step-text h6 {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-white);
    margin: 0 0 4px 0;
}

.flow-step .step-text p {
    font-size: 0.68rem;
    color: var(--color-gray-muted);
    line-height: 1.4;
    margin: 0;
    max-width: 140px;
}

.flow-connector {
    flex-grow: 1;
    position: relative;
    height: 2px;
    margin: 0 -30px;
    z-index: 1;
}

.flow-connector .connector-line {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
}

.flow-connector .connector-pulse {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 20px;
    background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.4), transparent);
    animation: flowPulse 2s infinite linear;
}

@keyframes flowPulse {
    0% { left: -10%; }
    100% { left: 110%; }
}

.returns-info-box {
    background: rgba(16, 185, 129, 0.04);
    border: 1px solid rgba(16, 185, 129, 0.15);
    border-left: 4px solid #10b981;
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.returns-info-box .info-badge {
    background: #10b981;
    color: #ffffff;
    font-size: 0.6rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
    letter-spacing: 0.05em;
}

.returns-info-box p {
    font-size: 0.8rem;
    color: var(--color-gray-light);
    line-height: 1.5;
    margin: 0;
}

/* Custom View Control Bar */
.view-controls-bar {
    display: flex;
    gap: 24px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    flex-wrap: wrap;
}

body.light-theme .view-controls-bar {
    border-top-color: rgba(0, 0, 0, 0.04);
}

.control-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.control-label {
    font-size: 0.72rem;
    color: var(--color-gray-muted);
    font-weight: 700;
}

.toggle-switch-container {
    display: flex;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 10px;
    padding: 2px;
}

body.light-theme .toggle-switch-container {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.06);
}

.toggle-btn {
    background: transparent;
    border: none;
    padding: 6px 12px;
    border-radius: 8px;
    color: var(--color-gray-muted);
    font-size: 0.72rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.toggle-btn:hover {
    color: var(--color-white);
}

.toggle-btn.active {
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.3);
    color: #ffffff;
}

body.light-theme .toggle-btn.active {
    background: rgba(79, 70, 229, 0.1);
    border-color: rgba(79, 70, 229, 0.25);
    color: #4F46E5;
}

.market-subpanel:hover {
    background: rgba(5, 8, 14, 0.55);
    border-color: rgba(99, 102, 241, 0.25);
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.3);
    transform: translateX(4px);
}

.market-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.market-flag {
    font-size: 1.25rem;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.market-title h4 {
    font-size: 0.95rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-white);
}

.market-subpanel p {
    font-size: 0.85rem;
    color: var(--color-gray-muted);
    line-height: 1.5;
}

.global-returns-stepper {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
}

.step-card-row {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: rgba(5, 8, 14, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 18px;
    padding: 18px 22px;
    position: relative;
    z-index: 2;
    transition: var(--transition-smooth);
}

.step-card-row:hover {
    border-color: rgba(16, 185, 129, 0.25);
    background: rgba(5, 8, 14, 0.55);
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.3);
}

.step-card-row.highlight-step {
    border-color: rgba(16, 185, 129, 0.3);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(5, 8, 14, 0.5) 100%);
    box-shadow: 0 15px 30px -10px rgba(16, 185, 129, 0.15);
}

.step-badge {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.1);
    border: 1.5px solid rgba(16, 185, 129, 0.4);
    color: #10b981;
    font-size: 0.8rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.1);
}

.step-card-row.highlight-step .step-badge {
    background: #10b981;
    color: #ffffff;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.4);
}

.step-info h5 {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 5px;
    letter-spacing: -0.01em;
}

.step-info p {
    font-size: 0.82rem;
    color: var(--color-gray-muted);
    line-height: 1.45;
}

.step-connector {
    width: 2px;
    height: 20px;
    background: linear-gradient(to bottom, rgba(16, 185, 129, 0.3) 0%, rgba(16, 185, 129, 0.05) 100%);
    margin-left: 35px;
    position: relative;
    z-index: 1;
}

.global-card-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 24px;
    font-size: 0.88rem;
    color: var(--color-gray-muted);
    line-height: 1.55;
    margin-top: 30px;
}


/* ==========================================================================
   API-First & Integrations Showcase Overhaul
   ========================================================================== */
.api-integrations-section {
    padding: 120px 0;
    position: relative;
    background: var(--color-bg-primary);
    overflow: hidden;
}

.api-glow {
    top: 50%;
    left: 80%;
    background: radial-gradient(circle, rgba(229, 193, 88, 0.04) 0%, rgba(229, 193, 88, 0) 65%);
}

.api-showcase-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 50px;
}

.api-technical-panel {
    display: flex;
    flex-direction: column;
}

.api-technical-panel h3 {
    font-family: var(--font-heading);
    font-size: 2.1rem;
    font-weight: 800;
    color: var(--color-white);
    margin: 15px 0 25px 0;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.api-desc {
    font-size: 1.05rem;
    color: var(--color-gray-muted);
    line-height: 1.7;
    margin-bottom: 30px;
}

.api-benefits {
    font-size: 0.95rem;
    color: var(--color-gray-muted);
    line-height: 1.6;
    margin-top: 30px;
    border-left: 2px solid var(--color-gold-premium);
    padding-left: 20px;
}

/* Premium JSON Live Terminal Console */
.api-console-wrapper {
    background: rgba(8, 12, 24, 0.95);
    border: 1px solid rgba(229, 193, 88, 0.15);
    border-radius: var(--border-radius-md);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    overflow: hidden;
    width: 100%;
}

.console-header {
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.console-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.console-dot.red { background: #EF4444; }
.console-dot.yellow { background: #F59E0B; }
.console-dot.green { background: #10B981; }

.console-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-heading);
    font-size: 0.72rem;
    color: var(--color-gray-muted);
    letter-spacing: 0.05em;
}

.console-body {
    padding: 20px;
    height: 280px;
    display: flex;
    flex-direction: column;
}

.console-line.line-comment {
    color: #4B5563;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.8rem;
    margin-bottom: 10px;
    display: block;
}

#console-json-output {
    margin: 0;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.88rem;
    color: var(--color-gold-secondary);
    line-height: 1.5;
    white-space: pre-wrap;
    word-break: break-all;
    transition: color 0.15s ease;
}

#console-json-output.log-flash {
    color: #FFFFFF;
}

/* Pulsing SVG Interactive Router Hub */
.api-interactive-hub {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.api-hub-svg {
    width: 100%;
    max-width: 480px;
    height: auto;
    overflow: visible;
}

.api-hub-node-group {
    cursor: pointer;
}

.api-hub-node-group .node-circle {
    transition: fill var(--transition-speed-normal) cubic-bezier(0.16, 1, 0.3, 1),
                stroke var(--transition-speed-normal) cubic-bezier(0.16, 1, 0.3, 1);
}

.api-hub-node-group:hover .node-circle,
.api-hub-node-group.active .node-circle {
    fill: rgba(229, 193, 88, 0.08);
    stroke: var(--color-gold-premium);
}

.api-hub-node-core {
    pointer-events: none;
}

.core-node-pulse {
    animation: core-node-pulse-anim 4s infinite cubic-bezier(0.4, 0, 0.6, 1);
}

@keyframes core-node-pulse-anim {
    0%, 100% {
        stroke-width: 2.5;
        filter: drop-shadow(0 0 4px rgba(229, 193, 88, 0.4));
    }
    50% {
        stroke-width: 3.5;
        filter: drop-shadow(0 0 15px rgba(229, 193, 88, 0.8));
    }
}


/* ==========================================================================
   Frontend & UX Premium Bento Grid
   ========================================================================== */
.frontend-design-section {
    padding: 120px 0;
    background: rgba(8, 9, 13, 0.98);
}

.design-bento-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-auto-rows: minmax(280px, auto);
    gap: 30px;
    margin-top: 50px;
}

.design-bento-tile {
    background: var(--bg-card-solid);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-lg);
    padding: 45px;
    position: relative;
    overflow: visible;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: border-color var(--transition-speed-slow) ease,
                box-shadow var(--transition-speed-slow) ease;
}

.design-bento-tile:hover {
    border-color: rgba(229, 193, 88, 0.3);
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.7);
}

.design-bento-tile.lighthouse-tile {
    grid-column: span 1;
}

.design-bento-tile.conversion-tile {
    grid-column: span 1;
    background: linear-gradient(145deg, var(--bg-card-solid) 0%, rgba(229, 193, 88, 0.02) 100%);
    align-items: center;
    justify-content: center;
    text-align: center;
}

.design-bento-tile.flexibility-tile {
    grid-column: span 1;
    background: linear-gradient(135deg, var(--bg-card-solid) 0%, rgba(10, 15, 30, 0.95) 100%);
}

.design-bento-tile.seo-tile {
    grid-column: span 1;
}

.bento-badge {
    align-self: flex-start;
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--color-gold-secondary);
    text-transform: uppercase;
    margin-bottom: 20px;
}

.bento-badge.text-gold {
    align-self: center;
}

.design-bento-tile h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-white);
    margin: 0 0 15px 0;
    line-height: 1.3;
}

.design-bento-tile p {
    font-size: 0.95rem;
    color: var(--color-gray-muted);
    line-height: 1.6;
    margin: 0;
}

.conversion-metric-big {
    font-family: var(--font-heading);
    font-size: 4.8rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
    margin-bottom: 20px;
}

.design-conclusion-tag {
    margin-top: 20px;
    font-size: 0.9rem;
    color: var(--color-white);
    display: block;
}

/* Lighthouse SVG gauges styling */
.lighthouse-interactive-showcase {
    display: flex;
    gap: 30px;
    margin-top: 35px;
    flex-wrap: wrap;
}

.lighthouse-circle-gauge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.gauge-svg {
    width: 76px;
    height: 76px;
    overflow: visible;
}

.gauge-path-fill {
    stroke-dashoffset: 264;
    transform: rotate(-90deg);
    transform-origin: 50% 50%;
    transition: stroke-dashoffset 2.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.design-bento-grid.active .gauge-path-fill {
    stroke-dashoffset: 0;
}


/* ==========================================================================
   Partnership & Migration Executive Overhaul
   ========================================================================== */
.partnership-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: flex-start;
    margin-top: 50px;
}

.partnership-panel {
    display: flex;
    flex-direction: column;
}

.partner-title {
    font-family: var(--font-heading);
    font-size: 2.1rem;
    font-weight: 800;
    color: var(--color-white);
    margin: 15px 0 25px 0;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.partner-desc {
    font-size: 1.05rem;
    color: var(--color-gray-muted);
    line-height: 1.7;
    margin-bottom: 30px;
}

.partner-perks-new {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin: 15px 0 35px 0;
}

.perk-row {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.perk-icon-gold {
    color: var(--color-gold-premium);
    font-weight: 900;
    font-size: 1.2rem;
    line-height: 1;
}

.perk-row p {
    font-size: 0.95rem;
    color: var(--color-gray-muted);
    line-height: 1.5;
    margin: 0;
}

.perk-row p strong {
    color: var(--color-white);
}

.partner-foot-new {
    font-size: 0.92rem;
    color: var(--color-gray-muted);
    line-height: 1.6;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 25px;
}

/* Migration Pipeline Vertical Visuals */
.migration-panel {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: var(--border-radius-lg);
    padding: 45px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.migration-pipeline-vertical {
    display: flex;
    flex-direction: column;
    gap: 35px;
    position: relative;
    margin-top: 40px;
}

.pipeline-connector-line {
    position: absolute;
    width: 2px;
    background: linear-gradient(180deg, var(--color-gold-premium) 0%, rgba(229, 193, 88, 0.08) 100%);
    top: 10px;
    bottom: 10px;
    left: 20px;
    pointer-events: none;
}

.pipeline-step-item {
    display: flex;
    gap: 25px;
    position: relative;
    z-index: 2;
}

.step-badge-num {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(10, 15, 30, 0.95);
    border: 1.5px solid var(--color-gold-premium);
    box-shadow: 0 0 10px rgba(229, 193, 88, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-gold-premium);
    flex-shrink: 0;
}

.step-body-content {
    display: flex;
    flex-direction: column;
}

.step-body-content h4 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-white);
    margin: 0 0 6px 0;
}

.step-body-content p {
    font-size: 0.88rem;
    color: var(--color-gray-muted);
    line-height: 1.5;
    margin: 0;
}


/* ==========================================================================
   Responsive Overrides for the Overhauled Sections
   ========================================================================== */
@media (max-width: 1024px) {
    .ops-returns-grid.bento-container {
        grid-template-columns: 1fr;
    }
    
    .api-showcase-layout {
        grid-template-columns: 1fr;
        gap: 45px;
    }
    
    .design-bento-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }
    
    .partnership-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .global-showcase-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    /* Tighten section paddings for premium compact mobile scrolling */
    .performance-section,
    .marketplace-section,
    .operations-section,
    .global-logistics-section,
    .frontend-design-section,
    .api-integrations-section,
    .infrastructure-section,
    .scaling-section,
    .engine-section,
    .mongodb-section,
    .security-ha-section,
    .partnership-migration-section,
    .final-cta-section {
        padding: 45px 0 !important;
    }
    
    /* Optimize bento tile paddings to maximize horizontal text space */
    .bento-tile,
    .global-card {
        padding: 25px 20px;
    }
    
    .returns-horizontal-steps {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
        padding: 20px;
    }
    .flow-connector {
        width: 2px;
        height: 24px;
        margin: -10px 0 -10px 15px;
        align-self: flex-start;
    }
    .flow-connector .connector-pulse {
        height: 20px;
        width: 100%;
        background: linear-gradient(180deg, transparent, rgba(16, 185, 129, 0.4), transparent);
        animation: flowPulseY 2s infinite linear;
    }
    .calculator-layout {
        grid-template-columns: 1fr;
    }
    .lighthouse-interactive-showcase {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 24px 16px;
        justify-items: center;
        margin-top: 25px;
    }
}

@media (max-width: 640px) {
    .ops-features-grid-bento {
        grid-template-columns: 1fr;
    }
    
    .bento-time-compare {
        grid-template-columns: 1fr;
    }
    
    .api-desc, .partner-desc {
        font-size: 0.95rem;
    }
    
    /* API Console Mobile Fit & Wrapping Prevention */
    .console-body {
        height: 250px;
        padding: 15px;
    }
    
    #console-json-output {
        font-size: 0.78rem;
    }
    
    .console-line.line-comment {
        font-size: 0.72rem;
    }

    /* Outcomes Bento 1-Column Stacked on Mobile to eliminate empty hole */
    .infra-outcomes-bento {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .outcomes-bento-card {
        padding: 25px 20px;
        border-radius: var(--border-radius-lg);
    }
    
    .outcome-tag {
        font-size: 0.65rem;
        margin-bottom: 8px;
    }
    
    .outcome-metric {
        font-size: 2.6rem;
        margin-bottom: 10px;
    }
    
    .outcomes-bento-card h3 {
        font-size: 1.2rem;
        margin-bottom: 8px;
    }
    
    .outcomes-bento-card p {
        font-size: 0.85rem;
        line-height: 1.5;
    }
}

@media (max-width: 768px) {
    .infra-pillars-section .spec-pillars-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .anatomy-display-card {
        min-height: auto;
        padding: 25px;
    }
    
    .infra-hardware-showcase {
        margin-bottom: 25px;
    }
    
    .infra-pillars-section {
        margin-top: 25px;
        margin-bottom: 25px;
    }
}

/* Premium Metric Interactive Tooltip */
.sim-metric-label {
    display: inline-flex !important;
    align-items: center;
}

.info-tooltip-trigger {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 8px;
    cursor: help;
    color: var(--color-gold-premium);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    transition: var(--transition-fast) ease;
    vertical-align: middle;
}

.info-tooltip-trigger:hover {
    background: var(--color-gold-premium);
    border-color: var(--color-gold-premium);
    color: #05080E;
    transform: scale(1.15);
    box-shadow: 0 0 12px var(--color-gold-glow);
}

.info-icon {
    width: 11px;
    height: 11px;
    display: block;
}

.info-tooltip-content {
    position: absolute;
    bottom: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    width: 260px;
    background: rgba(10, 15, 28, 0.88);
    backdrop-filter: blur(12px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--color-gray-light);
    font-size: 0.76rem;
    line-height: 1.5;
    padding: 14px 18px;
    border-radius: 14px;
    box-shadow: 
        0 15px 35px -5px rgba(0, 0, 0, 0.6),
        0 0 30px rgba(99, 102, 241, 0.04);
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s;
    z-index: 200;
    font-weight: 400;
    text-transform: none;
    letter-spacing: normal;
    text-align: left;
}

.info-tooltip-content::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: rgba(10, 15, 28, 0.88) transparent transparent transparent;
}

.info-tooltip-trigger:hover .info-tooltip-content {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Light Theme tweaks for Tooltip */
body.light-theme .info-tooltip-trigger {
    background: rgba(79, 70, 229, 0.05);
    border-color: rgba(79, 70, 229, 0.08);
    color: #4F46E5;
}

body.light-theme .info-tooltip-trigger:hover {
    background: #4F46E5;
    border-color: #4F46E5;
    color: #FFFFFF;
    box-shadow: 0 0 12px rgba(79, 70, 229, 0.2);
}

body.light-theme .info-tooltip-content {
    background: rgba(255, 255, 255, 0.94) !important;
    backdrop-filter: blur(12px) saturate(160%) !important;
    border-color: rgba(79, 70, 229, 0.12) !important;
    color: #334155 !important;
    box-shadow: 
        0 15px 35px -5px rgba(79, 70, 229, 0.08),
        0 0 25px rgba(79, 70, 229, 0.02) !important;
}

body.light-theme .info-tooltip-content::after {
    border-color: rgba(255, 255, 255, 0.94) transparent transparent transparent !important;
}

/* ==========================================================================
   19. Light Theme Styles & Custom Variables
   ========================================================================== */
.header-right-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

body.light-theme {
    --bg-obsidian: #FCFAF6; /* Premium rich Alabaster warm background */
    --bg-card-glass: rgba(255, 255, 255, 0.88);
    --bg-card-solid: #FFFFFF;
    --bg-card-hover: rgba(243, 240, 248, 0.85); /* Slightly purple tinted hover background */
    
    --color-gold-premium: #4F46E5; /* REVOLUTION: Deep Indigo/Cobalt instead of Gold! */
    --color-gold-secondary: #EA580C; /* REVOLUTION: Sunset Orange instead of secondary Gold! */
    --color-gold-glow: rgba(79, 70, 229, 0.06); /* Indigo glow */
    --color-gold-border: rgba(79, 70, 229, 0.12); /* Indigo border */
    
    --color-white: #0B0F19; /* Midnight Navy for headings */
    --color-gray-light: #334155; /* Slate Gray for body */
    --color-gray-muted: #64748B; /* Cool Gray for captions */
}

/* Stunning Light Mode Sunset-Indigo Top Glow */
body.light-theme::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1400px;
    background: radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.1) 0%, rgba(234, 88, 12, 0.04) 30%, rgba(244, 63, 94, 0.02) 60%, transparent 80%);
    pointer-events: none;
    z-index: 0;
}

/* Theme Toggle Button Style */
.theme-toggle-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-gray-light);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    margin-right: 12px;
    outline: none;
    flex-shrink: 0;
}

.theme-toggle-btn:hover {
    background: rgba(229, 193, 88, 0.1);
    border-color: var(--color-gold-premium);
    color: var(--color-gold-premium);
    transform: scale(1.05);
}

.theme-toggle-btn .sun-icon {
    display: none;
    width: 20px;
    height: 20px;
}

.theme-toggle-btn .moon-icon {
    display: block;
    width: 20px;
    height: 20px;
}

/* Light mode overrides */
body.light-theme .theme-toggle-btn {
    background: rgba(79, 70, 229, 0.05);
    border-color: rgba(79, 70, 229, 0.12);
    color: #4F46E5;
}

body.light-theme .theme-toggle-btn:hover {
    background: rgba(79, 70, 229, 0.1);
    border-color: #4F46E5;
    color: #4F46E5;
}

body.light-theme .theme-toggle-btn .sun-icon {
    display: block;
}

body.light-theme .theme-toggle-btn .moon-icon {
    display: none;
}

/* Smooth transitions for theme switching */
body {
    transition: background-color 0.4s ease, color 0.4s ease;
}

.site-header,
.performance-card,
.outcomes-bento-card,
.promise-card,
.security-card,
.design-bento-tile,
.anatomy-display-card,
.booking-modal-card,
.scenario-btn,
.sim-metric-card,
.sim-visual-status-card,
.modal-left,
.stat-card,
.stat-card-premium {
    transition: background-color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease, color 0.4s ease, background 0.4s ease;
}

/* Light Theme Component Tweaks */
body.light-theme .site-header {
    background: rgba(252, 250, 246, 0.5);
    border-bottom: 1px solid rgba(99, 102, 241, 0.06);
}

body.light-theme .site-header.scrolled {
    background: rgba(252, 250, 246, 0.9);
    border-bottom: 1px solid rgba(79, 70, 229, 0.15);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.04);
}

body.light-theme .selesto-logo-img-white {
    filter: brightness(0.08); /* Dark/black badge */
}

body.light-theme .selesto-logo-img-gold {
    filter: none; /* Original gold colors */
}

body.light-theme .dropdown-menu {
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.06);
}

body.light-theme .hero-bg-grid {
    background-image: 
        radial-gradient(circle at 1px 1px, rgba(99, 102, 241, 0.04) 1px, transparent 0),
        linear-gradient(rgba(99, 102, 241, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.02) 1px, transparent 1px);
}

body.light-theme .performance-card,
body.light-theme .outcomes-bento-card,
body.light-theme .promise-card,
body.light-theme .security-card,
body.light-theme .design-bento-tile,
body.light-theme .anatomy-display-card,
body.light-theme .booking-modal-card,
body.light-theme .scaling-interactive-simulator {
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.04), 0 0 20px rgba(99, 102, 241, 0.01);
}

body.light-theme .scaling-interactive-simulator {
    border-color: rgba(99, 102, 241, 0.1) !important;
}

body.light-theme .glow-orb,
body.light-theme .ambient-glow-orb,
body.light-theme .bento-card-glow-orange,
body.light-theme .bento-glow-overlay {
    opacity: 0.18;
}

body.light-theme .scenario-btn {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(79, 70, 229, 0.08);
}

body.light-theme .scenario-btn:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(79, 70, 229, 0.3);
    transform: translateX(4px);
}

body.light-theme .scenario-btn.active {
    background: rgba(79, 70, 229, 0.05);
    border-color: var(--color-gold-premium);
    box-shadow: 0 0 25px rgba(79, 70, 229, 0.12);
}

body.light-theme .sim-metric-card {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(79, 70, 229, 0.06);
}

body.light-theme .sim-metric-bar {
    background: rgba(79, 70, 229, 0.08);
}

body.light-theme .sim-bar-fill {
    box-shadow: 0 0 10px rgba(79, 70, 229, 0.4);
}

body.light-theme .sim-visual-status-card {
    background: rgba(79, 70, 229, 0.04);
    border: 1px dashed rgba(79, 70, 229, 0.2);
}

/* Button Stylings (Indigo Revolution contrast) */
body.light-theme .btn-primary {
    background: linear-gradient(135deg, #4F46E5 0%, #6366F1 100%);
    color: #FFFFFF !important;
    box-shadow: 0 4px 20px rgba(79, 70, 229, 0.35);
}
body.light-theme .btn-primary:hover {
    background: linear-gradient(135deg, #3730A3 0%, #4F46E5 100%);
    box-shadow: 0 10px 25px rgba(79, 70, 229, 0.45);
    transform: translateY(-3px);
}

body.light-theme .btn-secondary {
    background: rgba(255, 255, 255, 0.85);
    border: 1.5px solid rgba(79, 70, 229, 0.15);
    color: #4F46E5 !important;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.02);
}
body.light-theme .btn-secondary:hover {
    background: rgba(79, 70, 229, 0.05);
    border-color: var(--color-gold-premium);
    color: var(--color-gold-premium) !important;
    transform: translateY(-3px);
}

body.light-theme .form-group input,
body.light-theme .form-group textarea {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(79, 70, 229, 0.15);
    color: var(--color-white);
}

body.light-theme .form-group input:focus,
body.light-theme .form-group textarea:focus {
    background: rgba(255, 255, 255, 1);
    border-color: var(--color-gold-premium);
    box-shadow: 0 0 10px rgba(79, 70, 229, 0.1);
}

body.light-theme .modal-left {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.06) 0%, rgba(255, 255, 255, 0.95) 100%);
    border-right: 1px solid rgba(79, 70, 229, 0.08);
}

body.light-theme::-webkit-scrollbar-track {
    background: var(--bg-obsidian);
}

body.light-theme::-webkit-scrollbar-thumb {
    background: rgba(79, 70, 229, 0.15);
}

/* Header link list navigation on light theme */
body.light-theme .nav-link:hover, 
body.light-theme .nav-link.active {
    color: #4F46E5;
    background: rgba(79, 70, 229, 0.05);
}

body.light-theme .nav-link-enterprise {
    border-color: rgba(79, 70, 229, 0.4) !important;
    background: rgba(79, 70, 229, 0.08) !important;
    box-shadow: 0 0 10px rgba(79, 70, 229, 0.12);
}
body.light-theme .nav-link-enterprise:hover {
    background: var(--color-gold-premium) !important;
    color: #FFFFFF !important;
    border-color: var(--color-gold-premium) !important;
    box-shadow: 0 0 18px rgba(79, 70, 229, 0.4) !important;
}

/* Gradient Titles Overrides for Light Mode readability */
body.light-theme .hero-title {
    background: linear-gradient(135deg, #0B0F19 0%, #4F46E5 60%, #EA580C 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.light-theme .gold-gradient-text {
    background: linear-gradient(135deg, #4F46E5 0%, #EA580C 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.light-theme .section-title {
    background: linear-gradient(135deg, #0B0F19 0%, #4B5568 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Light Theme overrides for premium icon classes */
body.light-theme .market-feature-icon.icon-stock {
    color: #4F46E5;
    background: rgba(79, 70, 229, 0.08);
    border: 1px solid rgba(79, 70, 229, 0.18);
}
body.light-theme .market-feature-icon.icon-publish {
    color: #EA580C;
    background: rgba(234, 88, 12, 0.08);
    border: 1px solid rgba(234, 88, 12, 0.18);
}
body.light-theme .market-feature-icon.icon-registry {
    color: #9333EA;
    background: rgba(147, 51, 234, 0.08);
    border: 1px solid rgba(147, 51, 234, 0.18);
}
body.light-theme .market-feature-icon.icon-sync {
    color: #059669;
    background: rgba(5, 150, 105, 0.08);
    border: 1px solid rgba(5, 150, 105, 0.18);
}

body.light-theme .ops-icon.ops-icon-box {
    color: #B45309;
    background: rgba(180, 83, 9, 0.08);
    border: 1px solid rgba(180, 83, 9, 0.18);
}
body.light-theme .ops-icon.ops-icon-returns {
    color: #059669;
    background: rgba(5, 150, 105, 0.08);
    border: 1px solid rgba(5, 150, 105, 0.18);
}

body.light-theme .promise-card-icon.icon-lightning {
    color: #B45309;
    background: rgba(180, 83, 9, 0.08);
    border: 1px solid rgba(180, 83, 9, 0.18);
}
body.light-theme .promise-card-icon.icon-platform {
    color: #4F46E5;
    background: rgba(79, 70, 229, 0.08);
    border: 1px solid rgba(79, 70, 229, 0.18);
}
body.light-theme .promise-card-icon.icon-devs {
    color: #059669;
    background: rgba(5, 150, 105, 0.08);
    border: 1px solid rgba(5, 150, 105, 0.18);
}

/* Stats Cards floating styling overrides */
body.light-theme .stat-card {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(79, 70, 229, 0.12);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03), 0 0 15px rgba(79, 70, 229, 0.02);
}

body.light-theme .stat-card-premium {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.06) 0%, rgba(255, 255, 255, 0.98) 100%);
    border: 1px solid var(--color-gold-border);
    box-shadow: 0 10px 35px rgba(79, 70, 229, 0.08);
}

/* Hardcoded Dark Background Sections Overrides */
body.light-theme .frontend-design-section {
    background: var(--bg-obsidian);
    border-bottom: 1px solid rgba(79, 70, 229, 0.08);
}

body.light-theme .api-integrations-section {
    background: var(--bg-obsidian);
    border-bottom: 1px solid rgba(79, 70, 229, 0.08);
}

body.light-theme .operations-section {
    background: var(--bg-obsidian);
    border-bottom: 1px solid rgba(79, 70, 229, 0.08);
}

/* Limits & Power Cards overrides */
body.light-theme .limit-card {
    background: linear-gradient(180deg, rgba(239, 68, 68, 0.05) 0%, #FFFFFF 100%) !important;
    border-color: rgba(239, 68, 68, 0.15) !important;
    box-shadow: 0 12px 36px rgba(239, 68, 68, 0.04) !important;
}

body.light-theme .scenario-item {
    background: rgba(239, 68, 68, 0.02) !important;
    border-color: rgba(239, 68, 68, 0.08) !important;
    border-left-color: rgba(239, 68, 68, 0.4) !important;
}

body.light-theme .scenario-badge {
    color: #991B1B !important;
    background: rgba(239, 68, 68, 0.08) !important;
    border-color: rgba(239, 68, 68, 0.15) !important;
}

body.light-theme .scenario-item p {
    color: var(--color-gray-light) !important;
}

body.light-theme .perf-footer-trap {
    background: linear-gradient(90deg, rgba(239, 68, 68, 0.06) 0%, rgba(234, 88, 12, 0.02) 100%) !important;
    border-left-color: var(--color-danger) !important;
}

body.light-theme .perf-footer-trap span {
    color: #991B1B !important;
}

body.light-theme .selesto-power-card {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.06) 0%, #FFFFFF 100%) !important;
    border-color: rgba(79, 70, 229, 0.12) !important;
    box-shadow: 0 20px 45px rgba(79, 70, 229, 0.06) !important;
}

body.light-theme .power-badge {
    color: #4F46E5 !important;
    background: rgba(79, 70, 229, 0.08) !important;
}

body.light-theme .selesto-power-header p {
    color: var(--color-gray-light) !important;
}

body.light-theme .power-list li span {
    color: var(--color-gray-light) !important;
}

body.light-theme .power-list strong {
    color: var(--color-white) !important;
}

body.light-theme .power-list .check-icon {
    stroke: #4F46E5 !important;
}

body.light-theme .power-footer-promise {
    border-top-color: rgba(79, 70, 229, 0.1) !important;
}

body.light-theme .promise-tag {
    background: rgba(79, 70, 229, 0.05) !important;
    border-color: rgba(79, 70, 229, 0.12) !important;
    color: #4F46E5 !important;
}

/* Operations banner, logistics stepper and timeline overlays */
body.light-theme .ops-widescreen-banner {
    border-color: rgba(79, 70, 229, 0.12) !important;
    box-shadow: 0 20px 50px rgba(79, 70, 229, 0.05) !important;
}

body.light-theme .banner-overlay-dark {
    background: linear-gradient(to right, rgba(252, 250, 246, 0.96) 0%, rgba(252, 250, 246, 0.82) 40%, rgba(252, 250, 246, 0.1) 100%), 
                linear-gradient(to top, rgba(252, 250, 246, 0.95) 0%, transparent 50%) !important;
}

body.light-theme .ops-banner-tag {
    background: #4F46E5 !important;
    color: #FFFFFF !important;
    box-shadow: 0 0 15px rgba(79, 70, 229, 0.25) !important;
}

body.light-theme .ops-banner-content h3 {
    color: #0B0F19 !important;
}

body.light-theme .ops-banner-content p {
    color: #334155 !important;
}

body.light-theme .fulfillment-visual-wrapper {
    background: rgba(79, 70, 229, 0.03) !important;
    border-color: rgba(79, 70, 229, 0.08) !important;
}

body.light-theme .bento-tile {
    border-color: rgba(79, 70, 229, 0.3) !important;
    box-shadow: 0 25px 50px rgba(79, 70, 229, 0.08) !important;
}

body.light-theme .ops-feat-card {
    background: rgba(79, 70, 229, 0.02) !important;
    border-color: rgba(79, 70, 229, 0.08) !important;
}

body.light-theme .ops-feat-card h4 {
    color: #EA580C !important;
}

body.light-theme .r-step-pill {
    background: rgba(79, 70, 229, 0.02) !important;
    border-color: rgba(79, 70, 229, 0.08) !important;
}

body.light-theme .r-step-pill.active {
    background: rgba(79, 70, 229, 0.08) !important;
    border-color: #4F46E5 !important;
    box-shadow: 0 5px 15px rgba(79, 70, 229, 0.08) !important;
}

body.light-theme .r-step-idx {
    background: #FFFFFF !important;
    border-color: rgba(79, 70, 229, 0.2) !important;
    color: #4F46E5 !important;
}

body.light-theme .r-step-pill.active .r-step-idx {
    background: #4F46E5 !important;
    border-color: #4F46E5 !important;
    color: #FFFFFF !important;
}

body.light-theme .r-step-meta h5 {
    color: var(--color-white) !important;
}

body.light-theme .r-step-meta p {
    color: var(--color-gray-muted) !important;
}

body.light-theme .returns-time-compare {
    background: rgba(79, 70, 229, 0.03) !important;
    border-color: rgba(79, 70, 229, 0.08) !important;
}

body.light-theme .time-box.old-way {
    border-right-color: rgba(79, 70, 229, 0.1) !important;
}

body.light-theme .time-sub {
    color: var(--color-gray-muted) !important;
}

/* Fulfillment SVG Diagram internal elements */
body.light-theme .fulfillment-flow-svg circle[fill="rgba(10, 15, 30, 0.9)"] {
    fill: #FFFFFF !important;
    stroke: rgba(79, 70, 229, 0.2) !important;
}

body.light-theme .fulfillment-flow-svg circle[stroke="var(--color-gold-premium)"] {
    fill: #FFFFFF !important;
    stroke: #4F46E5 !important;
}

body.light-theme .fulfillment-flow-svg path {
    stroke: rgba(79, 70, 229, 0.15) !important;
}

body.light-theme .fulfillment-flow-svg text {
    fill: #0B0F19 !important;
}

body.light-theme .fulfillment-flow-svg text[fill="#E5C158"] {
    fill: #4F46E5 !important;
}

body.light-theme .fulfillment-flow-svg text[fill="#E2E8F0"] {
    fill: #0B0F19 !important;
}

/* API Integrations Hub details */
body.light-theme .api-hub-svg circle {
    fill: #FFFFFF !important;
}

body.light-theme .api-hub-svg circle.node-circle {
    stroke: rgba(79, 70, 229, 0.2) !important;
}

body.light-theme .api-hub-svg circle.core-node-pulse {
    stroke: #4F46E5 !important;
}

body.light-theme .api-hub-svg text {
    fill: #0B0F19 !important;
}

body.light-theme .api-hub-svg text[fill="#E5C158"] {
    fill: #EA580C !important;
}

body.light-theme .api-hub-svg text[fill="var(--color-gold-premium)"] {
    fill: #4F46E5 !important;
}

body.light-theme .api-hub-svg path {
    stroke: rgba(79, 70, 229, 0.15) !important;
}

body.light-theme .api-console-wrapper {
    background: #0F172A !important;
    border-color: rgba(79, 70, 229, 0.15) !important;
    box-shadow: 0 15px 40px rgba(79, 70, 229, 0.08) !important;
}

body.light-theme .api-hub-node-group:hover .node-circle,
body.light-theme .api-hub-node-group.active .node-circle {
    fill: rgba(79, 70, 229, 0.08) !important;
    stroke: #4F46E5 !important;
}

body.light-theme .core-node-pulse {
    animation: light-core-node-pulse-anim 4s infinite cubic-bezier(0.4, 0, 0.6, 1) !important;
}

@keyframes light-core-node-pulse-anim {
    0%, 100% {
        stroke-width: 2.5;
        filter: drop-shadow(0 0 4px rgba(79, 70, 229, 0.4));
    }
    50% {
        stroke-width: 3.5;
        filter: drop-shadow(0 0 15px rgba(79, 70, 229, 0.8));
    }
}

/* Frontend Design & Bento layout tweaks */
body.light-theme .design-bento-tile.flexibility-tile {
    background: linear-gradient(135deg, #FFFFFF 0%, rgba(79, 70, 229, 0.04) 100%) !important;
}

body.light-theme .design-bento-tile.conversion-tile {
    background: linear-gradient(145deg, #FFFFFF 0%, rgba(234, 88, 12, 0.03) 100%) !important;
}

body.light-theme .design-conclusion-tag {
    color: var(--color-gray-light) !important;
}

body.light-theme .gauge-svg text {
    fill: #0B0F19 !important;
}

body.light-theme .gauge-svg circle:first-child {
    stroke: rgba(79, 70, 229, 0.08) !important;
}

body.light-theme .gauge-svg circle.gauge-path-fill {
    stroke: #4F46E5 !important;
}

body.light-theme .lighthouse-circle-gauge span {
    color: var(--color-gray-light) !important;
}

/* Migration panel & Safe migration list */
body.light-theme .migration-panel {
    background: #FFFFFF !important;
    border: 1px solid rgba(79, 70, 229, 0.1) !important;
    box-shadow: 0 20px 45px rgba(79, 70, 229, 0.04) !important;
}

body.light-theme .step-badge-num {
    background: #FFFFFF !important;
    border-color: #4F46E5 !important;
    color: #4F46E5 !important;
    box-shadow: 0 0 12px rgba(79, 70, 229, 0.15) !important;
}

body.light-theme .pipeline-connector-line {
    background: linear-gradient(180deg, #4F46E5 0%, rgba(79, 70, 229, 0.08) 100%) !important;
}

body.light-theme .perk-row p strong {
    color: var(--color-white) !important;
}

body.light-theme .partner-foot-new {
    border-top-color: rgba(79, 70, 229, 0.1) !important;
}

/* Final CTA Section overlay and card content */
body.light-theme .cta-glass-banner {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.05) 0%, #FFFFFF 100%) !important;
    border-color: rgba(79, 70, 229, 0.12) !important;
    box-shadow: 0 25px 60px rgba(79, 70, 229, 0.04) !important;
}

body.light-theme .cta-card-action {
    background: #FFFFFF !important;
    border-color: rgba(79, 70, 229, 0.1) !important;
    box-shadow: 0 10px 30px rgba(79, 70, 229, 0.03) !important;
}

body.light-theme .cta-card-action h3 {
    color: #0B0F19 !important;
}

body.light-theme .cta-warnings li {
    color: var(--color-gray-light) !important;
}

body.light-theme .warning-icon {
    color: #4F46E5 !important;
}

body.light-theme .cta-paragraph {
    color: var(--color-gray-light) !important;
    border-left-color: #4F46E5 !important;
}

body.light-theme .cta-intro {
    color: var(--color-gray-light) !important;
}

/* Footer Section Overrides */
body.light-theme .site-footer {
    background-color: #F6F4F0 !important;
    border-top: 1px solid rgba(79, 70, 229, 0.08) !important;
}

body.light-theme .site-footer h4 {
    color: #0B0F19 !important;
}

body.light-theme .site-footer a {
    color: #4B5568 !important;
}

body.light-theme .site-footer a:hover {
    color: #4F46E5 !important;
}

body.light-theme .copyright {
    color: #64748B !important;
}

body.light-theme .footer-brand-logo-img {
    filter: brightness(0.08) !important;
}

body.light-theme .footer-bottom {
    border-top-color: rgba(79, 70, 229, 0.08) !important;
}

/* Global Logistics Section Light Theme overrides */
body.light-theme .global-logistics-section {
    background: var(--bg-obsidian);
    border-bottom: 1px solid rgba(79, 70, 229, 0.08);
    background-image: radial-gradient(rgba(79, 70, 229, 0.04) 1px, transparent 1px);
}

body.light-theme .logistics-tab {
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(79, 70, 229, 0.08);
}

body.light-theme .logistics-tab:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(79, 70, 229, 0.2);
}

body.light-theme .logistics-tab.active {
    background: rgba(79, 70, 229, 0.05);
    border-color: rgba(79, 70, 229, 0.3);
    box-shadow: 0 10px 30px -10px rgba(79, 70, 229, 0.1);
}

body.light-theme .logistics-tab .tab-icon-wrapper {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.06);
    color: #4B5563;
}

body.light-theme .logistics-tab.active[data-view="customs"] .tab-icon-wrapper {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
    color: #2563EB;
}

body.light-theme .logistics-tab.active[data-view="export"] .tab-icon-wrapper {
    background: rgba(79, 70, 229, 0.1);
    border-color: rgba(79, 70, 229, 0.3);
    color: #4F46E5;
}

body.light-theme .logistics-tab.active[data-view="returns"] .tab-icon-wrapper {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.3);
    color: #059669;
}

body.light-theme .admin-panel-window {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 249, 250, 0.95) 100%);
    border-color: rgba(79, 70, 229, 0.1);
    box-shadow: 
        0 30px 70px -15px rgba(99, 102, 241, 0.1),
        0 0 40px rgba(99, 102, 241, 0.02);
}

body.light-theme .window-title-bar {
    background: rgba(0, 0, 0, 0.01);
    border-bottom-color: rgba(0, 0, 0, 0.05);
}

body.light-theme .window-title-address {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.05);
}

body.light-theme .status-ready {
    background: rgba(16, 185, 129, 0.08);
    border-color: rgba(16, 185, 129, 0.2);
}

body.light-theme .status-synced {
    background: rgba(59, 130, 246, 0.08);
    border-color: rgba(59, 130, 246, 0.2);
}

body.light-theme .checkout-summary-card {
    background: rgba(0, 0, 0, 0.01);
    border-color: rgba(0, 0, 0, 0.04);
    box-shadow: none;
}

body.light-theme .checkout-divider {
    border-top-color: rgba(0, 0, 0, 0.08);
}

body.light-theme .checkout-breakdown .breakdown-row.total {
    background: rgba(79, 70, 229, 0.05);
    border-color: rgba(79, 70, 229, 0.1);
}
body.light-theme .table-responsive {
    border-color: rgba(0, 0, 0, 0.04);
    background: rgba(0, 0, 0, 0.005);
}

body.light-theme .db-table th {
    background: rgba(0, 0, 0, 0.015);
    border-bottom-color: rgba(0, 0, 0, 0.04);
}

body.light-theme .db-table td {
    border-bottom-color: rgba(0, 0, 0, 0.03);
}

body.light-theme .db-stat-card {
    background: rgba(0, 0, 0, 0.01);
    border-color: rgba(0, 0, 0, 0.04);
}

body.light-theme .returns-horizontal-steps {
    background: rgba(0, 0, 0, 0.005);
    border-color: rgba(0, 0, 0, 0.04);
}

body.light-theme .flow-step .step-circle {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.08);
}

body.light-theme .flow-step.highlight .step-circle {
    background: #10b981;
    border-color: #10b981;
    color: #ffffff;
}

body.light-theme .flow-connector .connector-line {
    background: rgba(0, 0, 0, 0.04);
}

body.light-theme .returns-info-box {
    background: rgba(16, 185, 129, 0.05);
    border-color: rgba(16, 185, 129, 0.15);
}

/* Light Theme Customs Doc Cards */
body.light-theme .doc-card {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(0, 0, 0, 0.05);
}

body.light-theme .doc-card-title {
    color: #1e293b;
}

body.light-theme .doc-card-desc {
    color: #64748b;
}

body.light-theme .doc-card-icon {
    background: rgba(99, 102, 241, 0.08);
    color: #4f46e5;
}

/* ==========================================================================
   Light Theme Visual Enhancements (Premium High-Contrast Dark Cards)
   ========================================================================== */
body.light-theme .engine-visual-bento-card,
body.light-theme .chip-image-wrapper {
    background: #0A0F1D !important; /* Keep rich dark background to make gold renders pop */
    border-color: rgba(229, 193, 88, 0.2) !important;
    box-shadow: 0 15px 35px rgba(10, 15, 29, 0.15), 0 5px 15px rgba(0, 0, 0, 0.05) !important;
}

body.light-theme .bento-datacenter-img,
body.light-theme .premium-cpu-img {
    filter: none !important; /* Remove any invert/color filters */
    opacity: 0.95 !important; /* High opacity for crisp contrast */
}

body.light-theme .bento-glow-overlay {
    background: linear-gradient(to top, rgba(10, 15, 29, 0.95) 0%, rgba(10, 15, 29, 0.1) 70%) !important;
    opacity: 0.9 !important;
}

body.light-theme .bento-card-badge {
    background: rgba(229, 193, 88, 0.1) !important;
    border-color: rgba(229, 193, 88, 0.3) !important;
    box-shadow: 0 0 15px rgba(229, 193, 88, 0.15) !important;
    color: #E5C158 !important; /* Keep premium gold text for hardware badge */
}

/* ==========================================================================
   13. Marketplace Integrations Section
   ========================================================================== */
.marketplace-section {
    padding: 120px 0;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.marketplace-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 60px;
    align-items: center;
}

.marketplace-text-col,
.marketplace-visual-col {
    min-width: 0;
    width: 100%;
}

.market-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(234, 88, 12, 0.04) 0%, transparent 70%);
    top: 20%;
    left: -200px;
    pointer-events: none;
}

.market-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.market-feature-item {
    display: flex;
    gap: 16px;
}

.market-feature-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.market-feature-icon svg {
    width: 22px;
    height: 22px;
    stroke-width: 2;
}

/* Marketplace themed classes */
.market-feature-icon.icon-stock {
    color: #818CF8; /* Indigo */
    background: rgba(129, 140, 248, 0.08);
    border-color: rgba(129, 140, 248, 0.2);
    border: 1px solid rgba(129, 140, 248, 0.2);
}
.market-feature-icon.icon-publish {
    color: #F97316; /* Orange */
    background: rgba(249, 115, 22, 0.08);
    border-color: rgba(249, 115, 22, 0.2);
    border: 1px solid rgba(249, 115, 22, 0.2);
}
.market-feature-icon.icon-registry {
    color: #A855F7; /* Purple */
    background: rgba(168, 85, 247, 0.08);
    border-color: rgba(168, 85, 247, 0.2);
    border: 1px solid rgba(168, 85, 247, 0.2);
}
.market-feature-icon.icon-sync {
    color: #34D399; /* Green */
    background: rgba(52, 211, 153, 0.08);
    border-color: rgba(52, 211, 153, 0.2);
    border: 1px solid rgba(52, 211, 153, 0.2);
}

.market-feature-body h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--color-white);
}

.market-feature-body p {
    font-size: 0.88rem;
    line-height: 1.5;
    color: var(--color-gray-light);
}

/* Visual Card & Hub */
.marketplace-visual-card {
    background: #0A0F1D;
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: var(--border-radius-xl);
    padding: 40px 30px;
    position: relative;
    overflow: hidden;
    height: 480px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

body.light-theme .marketplace-visual-card {
    background: #0A0F1D !important;
    border-color: rgba(229, 193, 88, 0.2) !important;
    box-shadow: 0 15px 35px rgba(10, 15, 29, 0.15), 0 5px 15px rgba(0, 0, 0, 0.05) !important;
}

.visual-card-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(234, 88, 12, 0.08) 0%, rgba(99, 102, 241, 0.05) 50%, transparent 80%);
    pointer-events: none;
}

.hub-diagram-container {
    position: relative;
    height: 200px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 20px;
    padding-top: 15px;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    overflow: hidden;
}

.node-icon-wrapper {
    height: 68px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hub-node {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
}

.central-node .node-icon {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4F46E5 0%, #EA580C 100%);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 900;
    font-family: var(--font-heading);
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.central-node .node-ring {
    position: absolute;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    border: 2px solid rgba(99, 102, 241, 0.3);
    border-radius: 50%;
    animation: centralNodePulse 2s infinite ease-out;
}

@keyframes centralNodePulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.3); opacity: 0; }
}

.node-label {
    font-size: 0.65rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 1.2px;
    margin-top: 10px;
    text-transform: uppercase;
    white-space: nowrap;
}

.client-node {
    width: 100px;
}

.node-icon-brand {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.allegro-brand {
    color: #FF5A00;
    border-color: rgba(255, 90, 0, 0.2);
    box-shadow: 0 0 20px rgba(255, 90, 0, 0.08);
}

.ebay-brand {
    font-size: 1.05rem;
    border-color: rgba(0, 100, 210, 0.15);
    box-shadow: 0 0 20px rgba(0, 100, 210, 0.08);
}

.eb-e { color: #E53238; }
.eb-b { color: #0064D2; }
.eb-a { color: #F5AF02; }
.eb-y { color: #86B817; }

.sync-status {
    font-size: 0.55rem;
    font-weight: 900;
    padding: 3px 6px;
    border-radius: 4px;
    margin-top: 6px;
    letter-spacing: 0.5px;
}

.status-active {
    background: rgba(16, 185, 129, 0.1);
    color: #10B981;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

/* Connection Lines and Animation */
.hub-line {
    position: absolute;
    height: 2px;
    background: rgba(255, 255, 255, 0.04);
    z-index: 1;
}

.hub-line-left {
    left: 90px;
    right: calc(50% + 40px);
    top: 48px;
}

.hub-line-right {
    left: calc(50% + 40px);
    right: 90px;
    top: 48px;
}

/* Pulse dots moving back and forth (2WAY SYNC) */
.pulse-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    top: -2px;
}

.dot-to-left {
    background: #FF5A00;
    filter: drop-shadow(0 0 4px #FF5A00);
    animation: flowLeft 2.5s infinite linear;
}

.dot-to-center-l {
    background: #4F46E5;
    filter: drop-shadow(0 0 4px #4F46E5);
    animation: flowRight 2.5s infinite linear;
    animation-delay: 1.25s;
}

.dot-to-right {
    background: #0064D2;
    filter: drop-shadow(0 0 4px #0064D2);
    animation: flowRight 2.5s infinite linear;
}

.dot-to-center-r {
    background: #4F46E5;
    filter: drop-shadow(0 0 4px #4F46E5);
    animation: flowLeft 2.5s infinite linear;
    animation-delay: 1.25s;
}

@keyframes flowRight {
    0% { left: 0%; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { left: 100%; opacity: 0; }
}

@keyframes flowLeft {
    0% { left: 100%; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { left: 0%; opacity: 0; }
}

/* Console stream details */
.market-console-overlay {
    background: rgba(5, 8, 14, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    padding: 15px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    line-height: 1.6;
    height: 140px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.market-console-overlay .console-header {
    display: flex;
    align-items: center;
    gap: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 8px;
    margin-bottom: 10px;
}

.market-console-overlay .console-header .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.market-console-overlay .console-header .red { background: #EF4444; }
.market-console-overlay .console-header .yellow { background: #F59E0B; }
.market-console-overlay .console-header .green { background: #10B981; }

.market-console-overlay .console-header .title {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.65rem;
    margin-left: 6px;
}

.console-stream {
    display: flex;
    flex-direction: column;
    gap: 6px;
    height: 72px;
    overflow: hidden;
    width: 100%;
    min-width: 0;
}

.stream-line {
    color: rgba(255, 255, 255, 0.75);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 20px;
    line-height: 20px;
    width: 100%;
    min-width: 0;
}

.stream-line .time {
    color: rgba(255, 255, 255, 0.3);
}

.stream-line .tag {
    font-weight: 800;
    padding: 1px 4px;
    border-radius: 3px;
    font-size: 0.62rem;
}

.stream-line .tag.info {
    background: rgba(99, 102, 241, 0.15);
    color: #818CF8;
}

.stream-line .tag.success {
    background: rgba(16, 185, 129, 0.15);
    color: #34D399;
}

/* Light Theme overrides for text and columns */
body.light-theme .market-feature-body h4 {
    color: #0B0F19 !important;
}

body.light-theme .market-feature-body p {
    color: #334155 !important;
}

/* Responsive adjustment */
@media (max-width: 1024px) {
    .marketplace-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

@media (max-width: 768px) {
    .market-features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 480px) {
    .section-header {
        margin-bottom: 20px !important;
    }
    .hero-section {
        padding-bottom: 30px !important;
    }
    
    /* Optimize spacing between root sections on mobile */
    .performance-section,
    .marketplace-section,
    .operations-section,
    .global-logistics-section,
    .frontend-design-section,
    .api-integrations-section,
    .infrastructure-section,
    .scaling-section,
    .engine-section,
    .mongodb-section,
    .security-ha-section,
    .partnership-migration-section,
    .final-cta-section {
        padding: 35px 0 !important;
    }
    
    /* Optimize spacing of layout components inside sections on mobile */
    .performance-grid,
    .marketplace-grid,
    .global-showcase-layout,
    .api-showcase-layout,
    .infra-hardware-showcase,
    .scaling-interactive-simulator,
    .engine-grid,
    .security-grid {
        margin-top: 24px !important;
    }
    
    /* Partnership section sits nicely at the top on mobile since it has no header */
    .partnership-layout {
        margin-top: 0px !important;
    }
    
    /* Tighten layout spacing within infrastructure showcase */
    .infra-hardware-showcase {
        margin-bottom: 16px !important;
    }
    .infra-pillars-section {
        margin-top: 16px !important;
        margin-bottom: 16px !important;
    }
    .infra-outcomes-bento {
        margin-top: 16px !important;
    }
    
    /* Optimize padding of the Final CTA glass banner */
    .cta-glass-banner {
        padding: 30px 20px !important;
        border-radius: 20px !important;
    }
    
    /* Soften shadows on mobile to look cleaner in light theme */
    .performance-card,
    .outcomes-bento-card,
    .promise-card,
    .security-card,
    .design-bento-tile,
    .anatomy-display-card,
    .booking-modal-card,
    .scaling-interactive-simulator {
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
    }
    
    body.light-theme .performance-card,
    body.light-theme .outcomes-bento-card,
    body.light-theme .promise-card,
    body.light-theme .security-card,
    body.light-theme .design-bento-tile,
    body.light-theme .anatomy-display-card,
    body.light-theme .booking-modal-card,
    body.light-theme .scaling-interactive-simulator {
        box-shadow: 0 8px 20px rgba(99, 102, 241, 0.03) !important;
    }

    .marketplace-visual-card {
        padding: 30px 16px;
        height: auto;
        gap: 30px;
    }
    .hub-diagram-container {
        padding-left: 24px;
        padding-right: 24px;
        overflow: visible;
    }
    .client-node {
        width: 80px;
    }
    .node-icon-brand {
        width: 50px;
        height: 50px;
        font-size: 0.75rem;
    }
    .hub-line-left {
        left: 89px;
        right: calc(50% + 36px);
        top: 38px;
    }
    .hub-line-right {
        left: calc(50% + 36px);
        right: 89px;
        top: 38px;
    }
    .central-node .node-icon {
        width: 58px;
        height: 58px;
        font-size: 1.2rem;
    }
    .central-node .node-ring {
        top: -5px;
        left: -5px;
        right: -5px;
        bottom: -5px;
    }
    .node-label {
        white-space: normal;
        text-align: center;
        max-width: 110px;
        line-height: 1.3;
        font-size: 0.52rem;
        letter-spacing: 0.5px;
    }
    .market-console-overlay {
        font-size: 0.6rem;
        padding: 10px;
        height: 120px;
    }
    .console-stream {
        height: 60px;
    }
    .stream-line {
        height: 18px;
        line-height: 18px;
    }
}


