/* 
   SWISS ATLAS DESIGN SYSTEM V2.2 (Refined)
   - Fixed Dark Mode Inversion
   - Improved Dropdown Stability
*/

:root {
    /* --- PRIMITIVES --- */
    --color-white: #ffffff;
    --color-black: #000000;
    
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --slate-950: #020617;

    /* WCAG AA Compliant - minimum 4.5:1 contrast with white text */
    --indigo-500: #4338CA; /* Was #6366f1, now indigo-700 (5.4:1) */
    --indigo-600: #3730A3; /* Was #4f46e5, now indigo-800 (7.2:1) */
    --indigo-700: #312E81; /* indigo-900 (9.1:1) */
    --indigo-400: #818cf8;
    --indigo-900: #1e1b4b;
    
    --green-500: #10b981;
    --red-500: #ef4444;

    /* --- SEMANTIC TOKENS (Light) --- */
    --bg-page: var(--color-white);
    --bg-surface: var(--color-white);
    --bg-surface-alt: var(--slate-50);
    --bg-inverted: var(--slate-900); /* Black block on white */

    --text-main: var(--slate-900);
    --text-secondary: var(--slate-600);
    --text-muted: var(--slate-400);
    --text-inverted: var(--color-white);

    --border-subtle: var(--slate-200);
    --border-strong: var(--slate-300);

    --primary-color: var(--indigo-600);
    --primary-hover: #4338ca;

    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-colored: 0 10px 15px -3px rgba(79, 70, 229, 0.1);

    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(255, 255, 255, 0.6);

    /* High-contrast inverted sections (CTA blocks) */
    --color-text-display: var(--slate-900);      /* Black text on light, white on dark */
    --color-surface-primary: var(--color-white); /* White background on light, dark on dark */
}

/* --- DARK MODE --- */
[data-theme="dark"] {
    --bg-page: var(--slate-950);
    --bg-surface: var(--slate-900);
    --bg-surface-alt: var(--slate-800);
    --bg-inverted: var(--slate-800); /* Dark Grey block on Black - Subtle */

    --text-main: var(--slate-50);
    --text-secondary: var(--slate-300);
    --text-muted: var(--slate-500);
    --text-inverted: var(--color-white);

    --border-subtle: var(--slate-800);
    --border-strong: var(--slate-700);

    --primary-color: var(--indigo-400);
    --primary-hover: var(--indigo-500);

    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.3);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.3);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.3);
    --shadow-colored: 0 10px 15px -3px rgba(99, 102, 241, 0.15);

    --glass-bg: rgba(15, 23, 42, 0.8);
    --glass-border: rgba(255, 255, 255, 0.08);

    /* High-contrast inverted sections (CTA blocks) - inverted in dark mode */
    --color-text-display: var(--slate-50);       /* White text on dark */
    --color-surface-primary: var(--slate-900);   /* Dark background */

    /* Wizard-specific tokens (dark mode) */
    --wizard-card-bg: var(--slate-900);
    --wizard-card-border: var(--slate-700);
    --wizard-skeleton-base: #1e293b;
    --wizard-skeleton-shine: #334155;
    --wizard-sticky-bg: var(--slate-900);
    --wizard-sticky-border: var(--slate-700);
    --wizard-badge-bg: rgba(16, 185, 129, 0.2);
    --wizard-badge-text: #6ee7b7;
    --wizard-link-color: var(--slate-400);
    --wizard-link-hover: var(--slate-200);
}

/* Wizard Progress Component - Dark Mode */
[data-theme="dark"] .wizard-progress-minimal__eyebrow {
    color: var(--slate-400);
}

[data-theme="dark"] .wizard-progress-minimal__title {
    color: var(--slate-50);
}

[data-theme="dark"] .wizard-progress-minimal__subtitle {
    color: var(--slate-400);
}

[data-theme="dark"] .wizard-progress-minimal__counter {
    color: var(--slate-300);
}

[data-theme="dark"] .wizard-skip-link {
    color: var(--slate-400);
}

[data-theme="dark"] .wizard-skip-link:hover {
    color: var(--slate-200);
}

[data-theme="dark"] .wizard-progress-minimal__track {
    background: var(--slate-800);
}

/* Wizard tick dark mode - background on container REMOVED (was causing ugly box)
   Styling is now handled by wizard-theme.css on span/em children */
[data-theme="dark"] .wizard-progress-minimal__tick {
    background: transparent;
    color: var(--slate-400);
}

[data-theme="dark"] .wizard-progress-minimal__tick.active {
    background: transparent;
    color: white;
}

[data-theme="dark"] .wizard-progress-minimal__tick.completed {
    background: transparent;
    color: white;
}

/* --- RESET & BASE --- */
html, body {
    overflow-x: hidden; /* Prevent horizontal scroll on mobile */
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--bg-page);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    transition: background-color 0.3s ease, color 0.3s ease;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Epilogue', sans-serif;
    font-weight: 700;
    line-height: 1.1;
    color: var(--text-main);
}

/* --- UTILITIES --- */
/* 1. Buttons */
.btn-primary {
    background-color: var(--primary-color);
    color: var(--color-white);
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 600;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-colored);
    display: inline-block;
    text-decoration: none;
    text-align: center;
}
.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}
[data-theme="dark"] .btn-primary { color: var(--slate-950); }

/* Indigo Solid CTA (FIXED: WCAG AA compliant - darker base color) */
.btn-indigo-gradient {
    background: #4F46E5; /* Changed from #6366F1 to indigo-600 for WCAG AA */
    color: #FFFFFF;
    padding: 10px 16px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    box-shadow: 0 6px 18px rgba(79, 70, 229, 0.25);
    display: inline-block;
    text-decoration: none;
    text-align: center;
    border: none;
}

.btn-indigo-gradient:hover {
    background: #4338CA; /* indigo-700 */
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(79, 70, 229, 0.4);
}

.btn-secondary {
    background-color: var(--bg-surface);
    color: var(--text-main);
    border: 1px solid var(--border-subtle);
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 600;
    transition: all 0.2s ease;
    display: inline-block;
    text-decoration: none;
    text-align: center;
}
.btn-secondary:hover {
    background-color: var(--bg-surface-alt);
    border-color: var(--border-strong);
}

/* ============================================================================
   CORPORATE BUTTON SYSTEM (WCAG AA Compliant)
   Brand colors from home page design system
   Contrast ratios verified: all > 4.5:1

   FIX: indigo-500 (#6366F1) has only 3.8:1 contrast with white (FAILS WCAG)
        indigo-600 (#4F46E5) has 5.5:1 contrast with white (PASSES WCAG AA)
        Solution: Use indigo-600 as base, indigo-700 as end for gradients
   ============================================================================ */

/* Brand Primary - Indigo Solid (FIXED: darker for WCAG AA compliance) */
.btn-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #4F46E5; /* Changed from #6366F1 to #4F46E5 (indigo-600) */
    color: #FFFFFF;
    padding: 0.625rem 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    border: none;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
    text-decoration: none;
    transition: all 0.2s ease;
    min-height: 2.5rem;
    cursor: pointer;
}
.btn-brand:hover {
    background: #4338CA; /* indigo-700 */
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(79, 70, 229, 0.4);
}
[data-theme="dark"] .btn-brand {
    background: #818CF8;
    color: #0F172A;
}
[data-theme="dark"] .btn-brand:hover {
    background: #A5B4FC; /* indigo-300 - lighter on hover in dark */
    color: #1e1b4b;
}

/* ============================================================================
   GRADIENT BUTTON FIX - WCAG AA Compliance
   Override Tailwind indigo gradient buttons to use darker colors
   Applies to all elements with from-indigo-500 to-indigo-600 gradient
   ============================================================================ */

/* Legacy gradient overrides removed - see end of file for WCAG AA compliant overrides */

/* ============================================================================
   WCAG AA Color Fixes - See compound selectors at end of file
   NO !important - uses CSS specificity via [class*="bg-gradient"] selectors
   ============================================================================ */

/* === ICON/SVG COLORS IN BUTTONS (ensure white icons are visible) === */
/* Icons inherit color; accent foreground is now driven by dashboard tokens */
[class*="from-blue"][class*="to-blue"] i,
[class*="from-blue"][class*="to-blue"] svg,
[class*="from-green"][class*="to-green"] i,
[class*="from-green"][class*="to-green"] svg,
[class*="from-cyan"][class*="to-cyan"] i,
[class*="from-cyan"][class*="to-cyan"] svg,
[class*="from-sky"][class*="to-sky"] i,
[class*="from-sky"][class*="to-sky"] svg,
[class*="from-emerald"][class*="to-emerald"] i,
[class*="from-emerald"][class*="to-emerald"] svg,
[class*="from-teal"][class*="to-teal"] i,
[class*="from-teal"][class*="to-teal"] svg {
    color: currentColor;
    fill: currentColor;
}

/* === SOLID COLOR BUTTON TEXT (for non-gradient buttons) === */
.bg-blue-500.text-white, .bg-blue-400.text-white,
.bg-green-500.text-white, .bg-green-400.text-white,
.bg-emerald-500.text-white, .bg-emerald-400.text-white {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Success/Purchase - Emerald Dark (WCAG AA: 4.7:1 contrast) */
.btn-success {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #047857;
    color: #FFFFFF;
    padding: 0.625rem 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    border: none;
    box-shadow: 0 4px 12px rgba(4, 120, 87, 0.25);
    text-decoration: none;
    transition: all 0.2s ease;
    min-height: 2.5rem;
    cursor: pointer;
}
.btn-success:hover {
    background: #065F46;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(4, 120, 87, 0.35);
}
[data-theme="dark"] .btn-success {
    background: #10B981;
    color: #064E3B;
}
[data-theme="dark"] .btn-success:hover {
    background: #059669;
}

/* Button size modifiers */
.btn-sm { padding: 0.375rem 0.75rem; font-size: 0.8125rem; min-height: 2rem; border-radius: 0.375rem; }
.btn-lg { padding: 0.875rem 1.5rem; font-size: 1rem; min-height: 3rem; border-radius: 0.625rem; }

/* Icon container - Brand gradient (FIXED: darker for better visibility) */
.icon-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #4F46E5, #7C3AED); /* indigo-600 to violet-600 */
    color: #FFFFFF;
    border-radius: 0.5rem;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.35);
}
[data-theme="dark"] .icon-brand {
    background: linear-gradient(135deg, #818CF8, #A78BFA);
}

/* ========================================
   TAILWIND GRADIENT UTILITIES (Complete)
   All gradient classes used in templates
   ======================================== */

/* Base gradient directions */
.bg-gradient-to-r { background-image: linear-gradient(to right, var(--tw-gradient-stops)); }
.bg-gradient-to-br { background-image: linear-gradient(to bottom right, var(--tw-gradient-stops)); }
.bg-gradient-to-b { background-image: linear-gradient(to bottom, var(--tw-gradient-stops)); }

/* ===== GRADIENT COLOR DEFINITIONS ===== */
/* Light variants (no override needed - keep Tailwind defaults) */
.from-indigo-50 { --tw-gradient-from: #EEF2FF; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(238, 242, 255, 0)); }
.from-indigo-100 { --tw-gradient-from: #E0E7FF; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(224, 231, 255, 0)); }
.to-indigo-50 { --tw-gradient-to: #EEF2FF; }
.to-indigo-100 { --tw-gradient-to: #E0E7FF; }
.from-blue-50 { --tw-gradient-from: #EFF6FF; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(239, 246, 255, 0)); }
.from-blue-100 { --tw-gradient-from: #DBEAFE; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(219, 234, 254, 0)); }
.to-blue-50 { --tw-gradient-to: #EFF6FF; }
.to-blue-100 { --tw-gradient-to: #DBEAFE; }
.from-emerald-50 { --tw-gradient-from: #ECFDF5; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(236, 253, 245, 0)); }
.to-emerald-50 { --tw-gradient-to: #ECFDF5; }
.from-green-50 { --tw-gradient-from: #F0FDF4; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(240, 253, 244, 0)); }
.from-purple-50 { --tw-gradient-from: #FAF5FF; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(250, 245, 255, 0)); }
.from-purple-100 { --tw-gradient-from: #F3E8FF; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(243, 232, 255, 0)); }
.to-purple-50 { --tw-gradient-to: #FAF5FF; }
.to-purple-100 { --tw-gradient-to: #F3E8FF; }
.from-pink-50 { --tw-gradient-from: #FDF2F8; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(253, 242, 248, 0)); }
.from-pink-100 { --tw-gradient-from: #FCE7F3; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(252, 231, 243, 0)); }
.to-pink-50 { --tw-gradient-to: #FDF2F8; }
.to-pink-100 { --tw-gradient-to: #FCE7F3; }
.to-teal-50 { --tw-gradient-to: #F0FDFA; }

/* ===== ORANGE ===== */
.from-orange-500 { --tw-gradient-from: #F97316; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(249, 115, 22, 0)); }
.from-orange-600 { --tw-gradient-from: #EA580C; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(234, 88, 12, 0)); }
.to-orange-100 { --tw-gradient-to: #FFEDD5; }
.to-orange-600 { --tw-gradient-to: #EA580C; }

/* ===== RED ===== */
.from-red-500 { --tw-gradient-from: #EF4444; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(239, 68, 68, 0)); }
.from-red-600 { --tw-gradient-from: #DC2626; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(220, 38, 38, 0)); }
.to-red-600 { --tw-gradient-to: #DC2626; }

/* ===== ROSE ===== */
.from-rose-500 { --tw-gradient-from: #F43F5E; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(244, 63, 94, 0)); }
.to-rose-600 { --tw-gradient-to: #E11D48; }

/* ===== GRAY ===== */
.from-gray-50 { --tw-gradient-from: #F9FAFB; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(249, 250, 251, 0)); }
.from-gray-100 { --tw-gradient-from: #F3F4F6; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(243, 244, 246, 0)); }
.from-gray-500 { --tw-gradient-from: #6B7280; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(107, 114, 128, 0)); }
.from-gray-600 { --tw-gradient-from: #4B5563; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(75, 85, 99, 0)); }
.to-gray-100 { --tw-gradient-to: #F3F4F6; }
.to-gray-600 { --tw-gradient-to: #4B5563; }

/* ═══════════════════════════════════════════════════════════════════════════════
   DARK MODE TEXT COLOR OVERRIDES
   Automatically invert dark text colors in dark theme for WCAG AA compliance
   ═══════════════════════════════════════════════════════════════════════════════ */

/* Dark text → Light text in dark mode */
[data-theme="dark"] .text-gray-900 { color: #F8FAFC !important; } /* slate-50 */
[data-theme="dark"] .text-gray-800 { color: #E2E8F0 !important; } /* slate-200 */
[data-theme="dark"] .text-gray-700 { color: #CBD5E1 !important; } /* slate-300 */
[data-theme="dark"] .text-gray-600 { color: #94A3B8 !important; } /* slate-400 */
[data-theme="dark"] .text-gray-500 { color: #94A3B8 !important; } /* slate-400 (muted) */

/* Slate (already light, but ensure consistency) */
[data-theme="dark"] .text-slate-900 { color: #F8FAFC !important; }
[data-theme="dark"] .text-slate-800 { color: #E2E8F0 !important; }
[data-theme="dark"] .text-slate-700 { color: #CBD5E1 !important; }

/* ═══════════════════════════════════════════════════════════════════════════════
   DARK MODE BACKGROUND OVERRIDES
   Light backgrounds → Dark backgrounds for contrast
   ═══════════════════════════════════════════════════════════════════════════════ */

[data-theme="dark"] .bg-white { background-color: #1a1b1e !important; }
[data-theme="dark"] .bg-gray-50 { background-color: #0f1012 !important; }
[data-theme="dark"] .bg-gray-100 { background-color: #1a1b1e !important; }
[data-theme="dark"] .bg-gray-200 { background-color: #27282c !important; }

/* ═══════════════════════════════════════════════════════════════════════════════
   DARK MODE BORDER OVERRIDES
   Light borders → Dark borders for visibility
   ═══════════════════════════════════════════════════════════════════════════════ */

[data-theme="dark"] .border-gray-100 { border-color: #334155 !important; }
[data-theme="dark"] .border-gray-200 { border-color: #334155 !important; }
[data-theme="dark"] .border-gray-300 { border-color: #475569 !important; }

/* ===== HOVER STATES ===== */
.hover\:from-indigo-600:hover { --tw-gradient-from: #4F46E5; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(79, 70, 229, 0)); }
.hover\:to-indigo-700:hover { --tw-gradient-to: #4338CA; }
.hover\:from-emerald-600:hover { --tw-gradient-from: #059669; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(5, 150, 105, 0)); }
.hover\:to-emerald-700:hover { --tw-gradient-to: #047857; }
.hover\:from-purple-700:hover { --tw-gradient-from: #7E22CE; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(126, 34, 206, 0)); }
.hover\:to-pink-700:hover { --tw-gradient-to: #BE185D; }

/* ========================================
   SLATE COLOR UTILITIES (For Dark UI)
   Complete set for Aura command center
   Load order: Tailwind first, then this file
   ======================================== */

/* Background colors */
.bg-slate-50 { background-color: #f8fafc; }
.bg-slate-100 { background-color: #f1f5f9; }
.bg-slate-200 { background-color: #e2e8f0; }
.bg-slate-400 { background-color: #94a3b8; }
.bg-slate-500 { background-color: #64748b; }
.bg-slate-600 { background-color: #475569; }
.bg-slate-700 { background-color: #334155; }
.bg-slate-800 { background-color: #1e293b; }
.bg-slate-900 { background-color: #0f172a; }

/* Background with opacity (used in modals) */
.bg-slate-800\/70 { background-color: rgba(30, 41, 59, 0.7); }
.bg-slate-900\/80 { background-color: rgba(15, 23, 42, 0.8); }
.bg-slate-900\/95 { background-color: rgba(15, 23, 42, 0.95); }

/* Text colors */
.text-slate-100 { color: #f1f5f9; }
.text-slate-200 { color: #e2e8f0; }
.text-slate-300 { color: #cbd5e1; }
.text-slate-400 { color: #94a3b8; }
.text-slate-500 { color: #64748b; }
.text-slate-600 { color: #475569; }
.text-slate-700 { color: #334155; }
.text-slate-800 { color: #1e293b; }
.text-slate-900 { color: #0f172a; }

/* Border colors */
.border-slate-100 { border-color: #f1f5f9; }
.border-slate-200 { border-color: #e2e8f0; }
.border-slate-300 { border-color: #cbd5e1; }
.border-slate-400 { border-color: #94a3b8; }
.border-slate-500 { border-color: #64748b; }
.border-slate-600 { border-color: #475569; }
.border-slate-700 { border-color: #334155; }
.border-slate-800 { border-color: #1e293b; }

/* Hover states */
.hover\:text-white:hover { color: #ffffff; }
.hover\:border-white:hover { border-color: #ffffff; }
.hover\:border-indigo-500:hover { border-color: #6366F1; }

/* Ring utilities (for focus states) */
.ring-indigo-500 { --tw-ring-color: #6366F1; }
.focus\:ring-indigo-500:focus { --tw-ring-color: #6366F1; box-shadow: 0 0 0 3px var(--tw-ring-color); }
.focus\:ring:focus { box-shadow: 0 0 0 3px var(--tw-ring-color, rgba(99, 102, 241, 0.5)); }

/* Indigo text/bg utilities for consistency */
.bg-indigo-50 { background-color: #EEF2FF; }
.bg-indigo-100 { background-color: #E0E7FF; }
.bg-indigo-200 { background-color: #C7D2FE; }
.text-indigo-100 { color: #E0E7FF; }
.text-indigo-200 { color: #C7D2FE; }
.text-indigo-300 { color: #A5B4FC; }
.text-indigo-400 { color: #818CF8; }
.text-indigo-500 { color: #6366F1; }
.text-indigo-600 { color: #4F46E5; }
.text-indigo-700 { color: #4338CA; }
.border-indigo-200 { border-color: #C7D2FE; }
.border-indigo-500 { border-color: #6366F1; }

/* ============================================================================
   HERO SECTION
   NOTE: Homepage hero styles moved to home-premium.css
   ============================================================================ */

/* ============================================================================
   HOMEPAGE SECTIONS
   NOTE: Homepage section styles moved to home-premium.css
   ============================================================================ */

/* ============================================================================
   NAVBAR - Consolidated from _navbar.html
   Date: 2025-11-21
   ============================================================================ */
/* ============================================================================
   ENTERPRISE NAVBAR - Design System 2026 - Theme Adaptive
   ============================================================================ */

/* CSS Variables - Light Mode (Default) */
:root {
    --navbar-bg: rgba(255, 255, 255, 0.95);
    --navbar-border: rgba(17, 24, 39, 0.1);
    --navbar-text-primary: #0a0a0a; /* Quasi nero per migliore leggibilità */
    --navbar-text-secondary: #1F2937; /* Grigio molto scuro */
    --navbar-item-color: #0a0a0a; /* Navbar link color */
    --navbar-item-hover-color: #4F46E5; /* Navbar link hover color */
    --navbar-dropdown-bg: #ffffff;
    --navbar-dropdown-border: #e5e7eb;
    --navbar-dropdown-text: #0a0a0a;
    --navbar-dropdown-hover-bg: linear-gradient(90deg, rgba(147, 51, 234, 0.05) 0%, rgba(236, 72, 153, 0.05) 100%);
    --navbar-theme-toggle-border: #e5e7eb;
    --navbar-theme-toggle-hover-bg: linear-gradient(135deg, rgba(147, 51, 234, 0.05) 0%, rgba(236, 72, 153, 0.05) 100%);
    --navbar-mobile-bg: #ffffff;
}

/* Dark Mode (System Preference) */
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --navbar-bg: rgba(17, 24, 39, 0.95);
        --navbar-border: rgba(255, 255, 255, 0.1);
        --navbar-text-primary: #ffffff; /* Bianco puro per dark mode */
        --navbar-text-secondary: #e2e8f0; /* Grigio molto chiaro */
        --navbar-item-color: #ffffff; /* Navbar link color - WHITE */
        --navbar-item-hover-color: #A5B4FC; /* Navbar link hover color - LIGHT PURPLE */
        --navbar-dropdown-bg: #1F2937;
        --navbar-dropdown-border: rgba(255, 255, 255, 0.1);
        --navbar-dropdown-text: #ffffff;
        --navbar-dropdown-hover-bg: linear-gradient(90deg, rgba(147, 51, 234, 0.15) 0%, rgba(236, 72, 153, 0.15) 100%);
        --navbar-theme-toggle-border: rgba(255, 255, 255, 0.2);
        --navbar-theme-toggle-hover-bg: linear-gradient(135deg, rgba(147, 51, 234, 0.15) 0%, rgba(236, 72, 153, 0.15) 100%);
        --navbar-mobile-bg: rgba(17, 24, 39, 0.98);
    }
}

/* Dark Mode (Manual Toggle - HIGHEST PRIORITY) */
:root[data-theme="dark"] {
    --navbar-bg: rgba(17, 24, 39, 0.95);
    --navbar-border: rgba(255, 255, 255, 0.1);
    --navbar-text-primary: #ffffff; /* Bianco puro per dark mode */
    --navbar-text-secondary: #e2e8f0; /* Grigio molto chiaro */
    --navbar-item-color: #ffffff; /* Navbar link color - WHITE */
    --navbar-item-hover-color: #A5B4FC; /* Navbar link hover color - LIGHT PURPLE */
    --navbar-dropdown-bg: #1F2937;
    --navbar-dropdown-border: rgba(255, 255, 255, 0.1);
    --navbar-dropdown-text: #ffffff;
    --navbar-dropdown-hover-bg: linear-gradient(90deg, rgba(147, 51, 234, 0.15) 0%, rgba(236, 72, 153, 0.15) 100%);
    --navbar-theme-toggle-border: rgba(255, 255, 255, 0.2);
    --navbar-theme-toggle-hover-bg: linear-gradient(135deg, rgba(147, 51, 234, 0.15) 0%, rgba(236, 72, 153, 0.15) 100%);
    --navbar-mobile-bg: rgba(17, 24, 39, 0.98);
}

/* Light Mode (Manual Toggle - HIGHEST PRIORITY) */
:root[data-theme="light"] {
    --navbar-bg: rgba(255, 255, 255, 0.95);
    --navbar-border: rgba(17, 24, 39, 0.1);
    --navbar-text-primary: #0a0a0a; /* Quasi nero per migliore leggibilità */
    --navbar-text-secondary: #1F2937; /* Grigio molto scuro */
    --navbar-item-color: #0a0a0a; /* Navbar link color */
    --navbar-item-hover-color: #4F46E5; /* Navbar link hover color */
    --navbar-dropdown-bg: #ffffff;
    --navbar-dropdown-border: #e5e7eb;
    --navbar-dropdown-text: #0a0a0a;
    --navbar-dropdown-hover-bg: linear-gradient(90deg, rgba(147, 51, 234, 0.05) 0%, rgba(236, 72, 153, 0.05) 100%);
    --navbar-theme-toggle-border: #e5e7eb;
    --navbar-theme-toggle-hover-bg: linear-gradient(135deg, rgba(147, 51, 234, 0.05) 0%, rgba(236, 72, 153, 0.05) 100%);
    --navbar-mobile-bg: #ffffff;
}

/* Enterprise Navbar - v1.7.1 Spec (Fixed) */
/* CRITICAL: NO backdrop-filter here! It creates stacking context that traps navbar-mobile */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.98); /* Slightly more opaque to compensate for no blur */
  /* backdrop-filter: blur(8px); -- REMOVED: breaks mobile menu z-index */
  /* -webkit-backdrop-filter: blur(8px); -- REMOVED */
  height: 68px;
  border-bottom: 1px solid #E5E7EB;
  z-index: 9999;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

/* Body padding to compensate for fixed navbar */
body {
  padding-top: 68px !important;
}

[data-theme="dark"] .navbar {
  background: rgba(15, 23, 42, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.3);
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

/* Logo with Tagline */
.navbar-brand {
  flex-shrink: 0;
}

.logo-with-tagline {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  transition: transform 0.2s ease;
}

/* Logo wrapper - stack logo and tagline vertically */
.logo-wrapper {
  position: relative;
}

.logo-with-tagline:hover {
  transform: scale(1.02);
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  display: inline-block;
  letter-spacing: -0.2px;
}

/* Logo solid indigo (NO gradient per spec v1.5.1) */
/* Logo two-tone (v1.7.1) - AI = indigo, gens = ink */
.logo-ai {
  color: #6366F1;
  transition: color 0.3s ease;
}

.logo-agens {
  color: #111827;
  transition: color 0.3s ease;
}

[data-theme="dark"] .logo-ai {
  color: #818CF8;
}

[data-theme="dark"] .logo-agens {
  color: #F8FAFC;
}

/* v1.9: Single-line descriptor under logo, no period */
.logo-tagline,
.logo-tagline.descriptor-one {
  position: absolute;
  left: 0;
  top: 100%;
  white-space: nowrap;
  font-size: 10px;
  line-height: 1;
  letter-spacing: -0.1px;
  color: #6B7280;
  font-weight: 500;
  margin-top: 2px;
  display: block;
}

/* Mobile (<1024px) - tagline visible under logo, hamburger menu */
@media (max-width: 1023px) {
  .logo-with-tagline {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }
  .logo-tagline {
    display: block;
    font-size: 9px;
    max-width: 280px;
  }
}

.logo-with-tagline:hover .logo-tagline {
  opacity: 1;
}

/* Dark mode tagline color */
[data-theme="dark"] .logo-tagline {
  color: #9CA3AF;
}

/* Desktop Navigation */
.navbar-menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  margin: 0 2rem;
}

.navbar-start,
.navbar-end {
  display: flex;
  align-items: center;
  gap: 24px;
}

.navbar-item {
  color: #111827;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.875rem;
  transition: color 0.2s ease;
  position: relative;
  padding: 0.5rem 0;
}

.navbar-item:hover {
  color: #312E81;
}

[data-theme="dark"] .navbar-item {
  color: #F8FAFC;
}

[data-theme="dark"] .navbar-item:hover {
  color: #A5B4FC;
}

.navbar-item.active,
.navbar-item[aria-current="page"] {
  color: var(--color-primary);
}

.navbar-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #EC4899, #8B5CF6);
  transition: width 0.3s ease;
}

.navbar-item:hover::after {
  width: 100%;
}

.navbar-item.active::after,
.navbar-item[aria-current="page"]::after {
  width: 100%;
}

/* Language Switcher */
.language-switcher select {
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--navbar-text-primary);
  background: var(--navbar-bg);
  border: 1px solid var(--navbar-border);
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%234B5563' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
  padding-right: 2rem;
}

[data-theme="dark"] .language-switcher select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%239CA3AF' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
}

.language-switcher select:hover {
  background-color: var(--navbar-theme-toggle-hover-bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%239333EA' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  border-color: #9333EA;
}

.language-switcher select:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* Language Switcher - Option Styling */
.language-switcher select option {
  background: var(--navbar-dropdown-bg);
  color: var(--navbar-dropdown-text);
  padding: 0.5rem;
}

/* Theme Toggle - Fixed size, never squish */
.theme-toggle {
  position: relative;
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  max-width: 40px;
  max-height: 40px;
  flex-shrink: 0;
  flex-grow: 0;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--navbar-theme-toggle-border);
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
  box-sizing: border-box;
}

.theme-toggle:hover {
  background: var(--navbar-theme-toggle-hover-bg);
  border-color: #9333EA;
  transform: scale(1.05);
}

.theme-toggle:focus {
  outline: 2px solid #9333EA;
  outline-offset: 2px;
}

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

.theme-icon {
  width: 20px;
  height: 20px;
  color: var(--navbar-text-secondary);
  transition: all 0.3s ease;
}

.theme-toggle:hover .theme-icon {
  color: #9333EA;
  transform: rotate(15deg);
}

[data-theme="dark"] .theme-toggle:hover .theme-icon {
  color: #FCD34D;
}

/* Buttons */
.btn {
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
  display: inline-block;
}

.btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, #9333EA 0%, #1d4ed8 100%);
  border: none;
  box-shadow: 0 2px 8px rgba(147, 51, 234, 0.2);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #4338ca 0%, #7c3aed 50%, #059669 100%);
  box-shadow: 0 4px 12px rgba(147, 51, 234, 0.3);
  transform: translateY(-2px);
}

/* Mobile Hamburger */
.navbar-burger {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.navbar-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navbar-text-secondary);
  transition: all 0.3s ease;
}

.navbar-burger:hover span {
  background: #9333EA;
}

/* ═══════════════════════════════════════════════════════════════════════════
   MOBILE MENU - ENTERPRISE GRADE
   Full-screen overlay with smooth animations and touch-optimized design
   ═══════════════════════════════════════════════════════════════════════════ */

.navbar-mobile {
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--navbar-mobile-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 1.5rem;
  z-index: 9998; /* CRITICAL: Just below navbar, above all content */
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Smooth entry animation */
.navbar-mobile[x-transition\:enter] {
  transition: opacity 0.25s ease-out, transform 0.25s ease-out;
}
.navbar-mobile[x-transition\:enter-start] {
  opacity: 0;
  transform: translateY(-10px);
}
.navbar-mobile[x-transition\:enter-end] {
  opacity: 1;
  transform: translateY(0);
}
.navbar-mobile[x-transition\:leave] {
  transition: opacity 0.2s ease-in, transform 0.2s ease-in;
}
.navbar-mobile[x-transition\:leave-start] {
  opacity: 1;
  transform: translateY(0);
}
.navbar-mobile[x-transition\:leave-end] {
  opacity: 0;
  transform: translateY(-10px);
}

/* Menu Items - Touch optimized (44px min height) */
.navbar-mobile-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  min-height: 48px;
  color: var(--navbar-text);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: -0.01em;
  border-radius: 0.75rem;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid transparent;
}

.navbar-mobile-item:hover,
.navbar-mobile-item:active {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(59, 130, 246, 0.08) 100%);
  border-color: rgba(16, 185, 129, 0.2);
  color: #10B981;
  transform: translateX(4px);
}

.navbar-mobile-item.active {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: white;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.navbar-mobile-item svg {
  flex-shrink: 0;
  opacity: 0.7;
}

.navbar-mobile-item:hover svg {
  opacity: 1;
}

/* Section Dividers */
.navbar-divider {
  border: none;
  border-top: 1px solid var(--navbar-border);
  margin: 0.5rem 0;
}

/* Primary CTA Button (Mobile) */
.btn-mobile {
  color: #ffffff;
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  text-align: center;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
  border: none !important;
}

.btn-mobile:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

/* Theme Toggle (Mobile) - Enterprise Style */
.theme-toggle-mobile {
  background: var(--navbar-bg);
  border: 1px solid var(--navbar-border);
  font-weight: 500;
  justify-content: flex-start;
}

.theme-toggle-mobile:hover {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(59, 130, 246, 0.08) 100%);
  border-color: rgba(16, 185, 129, 0.3);
}

/* ═══════════════════════════════════════════════════════════════════════════
   MOBILE USER SECTION - Enterprise Card Design
   ═══════════════════════════════════════════════════════════════════════════ */

.navbar-mobile-user {
  padding: 1.25rem;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.06) 0%, rgba(59, 130, 246, 0.06) 100%);
  border: 1px solid rgba(16, 185, 129, 0.15);
  border-radius: 1rem;
  margin-bottom: 0.75rem;
}

.mobile-user-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(16, 185, 129, 0.1);
}

.mobile-user-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.125rem;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.mobile-user-info {
  flex: 1;
}

.mobile-user-name {
  font-weight: 600;
  color: var(--navbar-text);
  font-size: 0.9rem;
  margin: 0;
}

.mobile-user-email {
  font-size: 0.75rem;
  color: var(--navbar-text-muted);
  margin: 0;
}

.mobile-credits-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.mobile-credits-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navbar-text);
  min-width: 60px;
}

.mobile-credits-label span:last-child {
  font-weight: 400;
  font-size: 0.75rem;
  color: var(--navbar-text-muted);
  margin-left: 2px;
}

.mobile-credits-progress {
  flex: 1;
  height: 6px;
  background: var(--navbar-border);
  border-radius: 3px;
  overflow: hidden;
}

.mobile-credits-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 0.3s ease;
}

.mobile-credits-fill.credits-ok { background: linear-gradient(90deg, #10B981, #059669); }
.mobile-credits-fill.credits-medium { background: linear-gradient(90deg, #F59E0B, #D97706); }
.mobile-credits-fill.credits-low { background: linear-gradient(90deg, #EF4444, #DC2626); }

/* Mobile Language Selector */
.navbar-mobile-language {
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-lang-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--navbar-text-muted);
}

.mobile-lang-options {
  display: flex;
  gap: 0.5rem;
}

.mobile-lang-btn {
  padding: 0.375rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 0.5rem;
  border: 1px solid var(--navbar-border);
  background: var(--navbar-bg);
  color: var(--navbar-text);
  cursor: pointer;
  transition: all 0.2s;
}

.mobile-lang-btn:hover {
  border-color: #10B981;
  color: #10B981;
}

.mobile-lang-btn.active {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: white;
  border-color: transparent;
}

/* Mobile Logout */
.mobile-logout {
  color: #EF4444 !important;
}

.mobile-logout:hover {
  background: rgba(239, 68, 68, 0.1) !important;
}

/* Mobile Controls (Avatar + Hamburger) */
.navbar-mobile-controls {
  display: none;
  align-items: center;
  gap: 0.75rem;
}

@media (max-width: 1280px) {
  .navbar-mobile-controls {
    display: flex;
  }
}

/* Responsive - Switch to mobile menu at 1280px to prevent text wrapping */
@media (min-width: 1281px) {
  .navbar-mobile {
    display: none !important;
  }
}

@media (max-width: 1280px) {
  .navbar-menu {
    display: none;
  }

  .navbar-burger {
    display: flex;
  }

  .container {
    padding: 0 1rem;
  }
}

/* User Menu - Corporate Style (Nov 12 functionality) */

.user-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  min-width: 16rem;
  background: var(--navbar-dropdown-bg);
  border: 1px solid var(--navbar-dropdown-border);
  border-radius: 0.75rem;
  box-shadow: 0 20px 60px rgba(139, 92, 246, 0.15), 0 8px 16px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  z-index: 10001;
  transition: background 0.3s ease, border-color 0.3s ease;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .navbar * {
    transition: none !important;
  }
}

.navbar a:focus,
.navbar button:focus {
  outline: 2px solid #9333EA;
  outline-offset: 2px;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
  .user-dropdown {
    right: -0.5rem;
    min-width: 14rem;
  }
}
/* ============================================================================
   FOOTER - Consolidated from _footer.html
   Date: 2025-11-21
   ============================================================================ */
/* ============================================================================
   ENTERPRISE FOOTER - Top 10 .com Style (Stripe/Linear/GitHub)
   Design System 2026 - Theme Adaptive
   ============================================================================ */

/* CSS Variables - Light Mode (Default) */
:root {
    --footer-bg: linear-gradient(135deg, #fafafa 0%, #ffffff 50%, #f9fafb 100%);
    --footer-text-primary: #1F2937;
    --footer-text-secondary: #4B5563;
    --footer-text-muted: #6B7280;
    --footer-text-inverse: #ffffff;
    --footer-border: rgba(17, 24, 39, 0.1);
    --footer-border-strong: rgba(17, 24, 39, 0.15);
    --footer-surface-elevated: rgba(17, 24, 39, 0.03);
    --footer-link-hover: #4F46E5;
    --footer-logo-agens: #0a0a0a;
    --footer-accent-gradient: linear-gradient(90deg, transparent, rgba(79, 70, 229, 0.15), rgba(16, 185, 129, 0.1), transparent);
}

/* Dark Mode (System Preference) */
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --footer-bg: linear-gradient(135deg, #1e1b4b 0%, #18181b 50%, #0a0a0a 100%);
        --footer-text-primary: #e2e8f0;
        --footer-text-secondary: #94a3b8;
        --footer-text-muted: #64748b;
        --footer-text-inverse: #111827;
        --footer-border: rgba(255, 255, 255, 0.08);
        --footer-border-strong: rgba(79, 70, 229, 0.15);
        --footer-surface-elevated: rgba(255, 255, 255, 0.05);
        --footer-link-hover: #ffffff;
        --footer-logo-agens: #ffffff;
        --footer-accent-gradient: linear-gradient(90deg, transparent, rgba(79, 70, 229, 0.4), rgba(16, 185, 129, 0.3), transparent);
    }
}

/* Dark Mode (Manual Toggle - HIGHEST PRIORITY) */
:root[data-theme="dark"] {
    --footer-bg: linear-gradient(135deg, #1e1b4b 0%, #18181b 50%, #0a0a0a 100%);
    --footer-text-primary: #e2e8f0;
    --footer-text-secondary: #94a3b8;
    --footer-text-muted: #64748b;
    --footer-text-inverse: #111827;
    --footer-border: rgba(255, 255, 255, 0.08);
    --footer-border-strong: rgba(79, 70, 229, 0.15);
    --footer-surface-elevated: rgba(255, 255, 255, 0.05);
    --footer-link-hover: #ffffff;
    --footer-logo-agens: #ffffff;
    --footer-accent-gradient: linear-gradient(90deg, transparent, rgba(79, 70, 229, 0.4), rgba(16, 185, 129, 0.3), transparent);
}

/* Light Mode (Manual Toggle - HIGHEST PRIORITY) */
:root[data-theme="light"] {
    --footer-bg: linear-gradient(135deg, #fafafa 0%, #ffffff 50%, #f9fafb 100%);
    --footer-text-primary: #1F2937;
    --footer-text-secondary: #4B5563;
    --footer-text-muted: #6B7280;
    --footer-text-inverse: #ffffff;
    --footer-border: rgba(17, 24, 39, 0.1);
    --footer-border-strong: rgba(17, 24, 39, 0.15);
    --footer-surface-elevated: rgba(17, 24, 39, 0.03);
    --footer-link-hover: #4F46E5;
    --footer-logo-agens: #0a0a0a;
    --footer-accent-gradient: linear-gradient(90deg, transparent, rgba(79, 70, 229, 0.15), rgba(16, 185, 129, 0.1), transparent);
}

.footer-enterprise {
    background: var(--footer-bg);
    color: var(--footer-text-secondary);
    border-top: 1px solid var(--footer-border-strong);
    padding: 3rem 0 1.5rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    position: relative;
    transition: background 0.3s ease, color 0.3s ease;
}

/* Subtle top accent line */
.footer-enterprise::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--footer-accent-gradient);
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Main Grid Layout */
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

/* Brand Column */
.footer-brand-col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo {
    font-family: 'Epilogue', 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.logo-ai {
    color: #4F46E5; /* Always indigo - brand color */
}

.logo-agens {
    color: var(--footer-logo-agens);
    transition: color 0.3s ease;
}

.footer-tagline {
    font-size: 0.875rem;
    color: var(--footer-text-muted);
    margin: 0;
    line-height: 1.5;
    transition: color 0.3s ease;
}

/* Language Selector */
.footer-lang {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.footer-lang svg {
    color: var(--footer-text-muted);
    flex-shrink: 0;
    transition: color 0.3s ease;
}

.lang-select {
    background: var(--footer-surface-elevated);
    border: 1px solid var(--footer-border);
    border-radius: 0.375rem;
    color: var(--footer-text-primary);
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-select:hover {
    background: var(--footer-surface-elevated);
    border-color: #4F46E5;
    box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.1);
}

.lang-select:focus {
    outline: none;
    border-color: #4F46E5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

/* Footer Columns */
.footer-col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-heading {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--footer-text-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 0.5rem 0;
    transition: color 0.3s ease;
}

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

.footer-links a {
    color: var(--footer-text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--footer-link-hover);
}

/* Social Links */
.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 0.375rem;
    background: var(--footer-surface-elevated);
    color: var(--footer-text-secondary);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: rgba(79, 70, 229, 0.15);
    color: #4F46E5;
    transform: translateY(-2px);
}

/* Bottom Bar */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--footer-border);
    font-size: 0.875rem;
}

.footer-bottom-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.footer-bottom-left p {
    margin: 0;
    color: var(--footer-text-muted);
    transition: color 0.3s ease;
}

.footer-bottom-left a {
    color: var(--footer-text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom-left a:hover {
    color: var(--footer-link-hover);
}

.footer-divider {
    color: var(--footer-text-muted);
    transition: color 0.3s ease;
}

.footer-bottom-right {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.compliance-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.625rem;
    background: var(--footer-surface-elevated);
    border: 1px solid var(--footer-border);
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--footer-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.025em;
    transition: all 0.3s ease;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr;
        gap: 2rem;
    }

    .footer-col:nth-child(4),
    .footer-col:nth-child(5) {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .footer-enterprise {
        padding: 2rem 0 1.5rem;
    }

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

    .footer-brand-col {
        grid-column: span 2;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .footer-bottom-left {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .footer-container {
        padding: 0 1.5rem;
    }

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

    .footer-brand-col {
        grid-column: span 1;
    }

    .footer-social {
        justify-content: flex-start;
    }

    .compliance-badge {
        font-size: 0.625rem;
        padding: 0.25rem 0.5rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .footer-links a,
    .footer-social a,
    .lang-select {
        transition: none;
    }
}

/* Print Styles */
@media print {
    .footer-enterprise {
        background: white;
        color: black;
        border-top: 1px solid #ccc;
    }

    .footer-social {
        display: none;
    }
}

/* ============================================================================
   PRICING TEASER - Consolidated from _pricing_teaser.html
   Date: 2025-11-21
   ============================================================================ */
/* ============================================================================
   PRICING TEASER SECTION - Design System 2026 - Theme Adaptive
   ============================================================================ */

/* CSS Variables - Light Mode (Default) */
:root {
    --pricing-teaser-bg: #F9FAFB;
    --pricing-teaser-title: #1F2937;
    --pricing-teaser-subtitle: #6B7280;

    --pricing-card-bg: #ffffff;
    --pricing-card-border: rgba(17, 24, 39, 0.1);
    --pricing-card-shadow: rgba(0, 0, 0, 0.05);
    --pricing-card-hover-border: #4F46E5;

    --plan-name: #0a0a0a;
    --plan-price-amount: #4F46E5;
    --plan-minutes: #4a5568;
    --plan-desc: #4a5568;
    --plan-desc-border: rgba(10, 10, 10, 0.06);
    --plan-features-text: #0a0a0a;

    --button-secondary-bg: #e5e5e5;
    --button-secondary-text: #262626;
    --button-secondary-hover-bg: #d4d4d4;

    --pricing-note: #4a5568;
    --pricing-topups: #6b7280;
}

/* Dark Mode (System Preference) */
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --pricing-teaser-bg: #111827;
        --pricing-teaser-title: #F9FAFB;
        --pricing-teaser-subtitle: #D1D5DB;

        --pricing-card-bg: rgba(31, 41, 55, 0.8);
        --pricing-card-border: rgba(255, 255, 255, 0.1);
        --pricing-card-shadow: rgba(0, 0, 0, 0.3);
        --pricing-card-hover-border: #818CF8;

        --plan-name: #F9FAFB;
        --plan-price-amount: #818CF8;
        --plan-minutes: #D1D5DB;
        --plan-desc: #D1D5DB;
        --plan-desc-border: rgba(255, 255, 255, 0.1);
        --plan-features-text: #E5E7EB;

        --button-secondary-bg: rgba(255, 255, 255, 0.1);
        --button-secondary-text: #F9FAFB;
        --button-secondary-hover-bg: rgba(255, 255, 255, 0.2);

        --pricing-note: #D1D5DB;
        --pricing-topups: #9CA3AF;
    }
}

/* Dark Mode (Manual Toggle - HIGHEST PRIORITY) */
:root[data-theme="dark"] {
    --pricing-teaser-bg: #111827;
    --pricing-teaser-title: #F9FAFB;
    --pricing-teaser-subtitle: #D1D5DB;

    --pricing-card-bg: rgba(31, 41, 55, 0.8);
    --pricing-card-border: rgba(255, 255, 255, 0.1);
    --pricing-card-shadow: rgba(0, 0, 0, 0.3);
    --pricing-card-hover-border: #818CF8;

    --plan-name: #F9FAFB;
    --plan-price-amount: #818CF8;
    --plan-minutes: #D1D5DB;
    --plan-desc: #D1D5DB;
    --plan-desc-border: rgba(255, 255, 255, 0.1);
    --plan-features-text: #E5E7EB;

    --button-secondary-bg: rgba(255, 255, 255, 0.1);
    --button-secondary-text: #F9FAFB;
    --button-secondary-hover-bg: rgba(255, 255, 255, 0.2);

    --pricing-note: #D1D5DB;
    --pricing-topups: #9CA3AF;
}

/* Light Mode (Manual Toggle - HIGHEST PRIORITY) */
:root[data-theme="light"] {
    --pricing-teaser-bg: #F9FAFB;
    --pricing-teaser-title: #1F2937;
    --pricing-teaser-subtitle: #6B7280;

    --pricing-card-bg: #ffffff;
    --pricing-card-border: rgba(17, 24, 39, 0.1);
    --pricing-card-shadow: rgba(0, 0, 0, 0.05);
    --pricing-card-hover-border: #4F46E5;

    --plan-name: #0a0a0a;
    --plan-price-amount: #4F46E5;
    --plan-minutes: #4a5568;
    --plan-desc: #4a5568;
    --plan-desc-border: rgba(10, 10, 10, 0.06);
    --plan-features-text: #0a0a0a;

    --button-secondary-bg: #e5e5e5;
    --button-secondary-text: #262626;
    --button-secondary-hover-bg: #d4d4d4;

    --pricing-note: #4a5568;
    --pricing-topups: #6b7280;
}

/* Corporate Pricing Styles - Design System 2026 */
.section-corporate {
  position: relative;
  z-index: 1; /* LOW z-index so navbar-mobile appears above */
  padding: 2rem 1.5rem; /* Added horizontal padding for shadow space */
  background: var(--pricing-teaser-bg);
  transition: background 0.3s ease;
  overflow-x: clip; /* Prevent horizontal scroll but allow shadows */
}

.section-header-corporate {
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-title-corporate {
  font-family: "Epilogue", "Inter", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--pricing-teaser-title);
  margin-bottom: 0.5rem;
  letter-spacing: -0.03em;
  line-height: 1.2;
  transition: color 0.3s ease;
}

.section-subtitle-corporate {
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  color: var(--pricing-teaser-subtitle);
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.5;
  transition: color 0.3s ease;
}

.grid-corporate-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.pricing-card-corporate {
  background: var(--pricing-card-bg);
  border-radius: 1rem;
  padding: 1.25rem;
  border: 1px solid var(--pricing-card-border);
  box-shadow: 0 2px 8px var(--pricing-card-shadow);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.pricing-card-corporate:hover {
  border-color: var(--pricing-card-hover-border);
  box-shadow: 0 8px 24px var(--pricing-card-shadow);
  transform: translateY(-4px);
}

.pricing-card-corporate.featured {
  border-color: #4F46E5;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.08) 0%, rgba(99, 102, 241, 0.05) 100%);
  box-shadow: var(--shadow-primary);
}

/* Dark Mode Overrides for Pricing Section */
:root[data-theme="dark"] .pricing-card-corporate.featured {
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.15) 0%, rgba(99, 102, 241, 0.10) 100%);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .pricing-card-corporate.featured {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.15) 0%, rgba(99, 102, 241, 0.10) 100%);
  }
}

/* Removed ugly diagonal "POPOLARE" badge - replaced with translated ribbon */

.plan-ribbon {
  display: inline-block;
  background: linear-gradient(135deg, #4F46E5 0%, #6366F1 100%);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
  font-family: "Inter", sans-serif;
}

/* Featured plan ribbon - more prominent */
.pricing-card-corporate.featured .plan-ribbon {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  font-size: 0.75rem;
  padding: 0.3rem 0.85rem;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

/* ═══════════════════════════════════════════════════════════════════════════
   PROMO PRICING STYLES - Premium discount display
   ═══════════════════════════════════════════════════════════════════════════ */

.pricing-card-promo {
  position: relative;
  margin-top: 1.5rem;
  border: 2px solid #10b981 !important;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1), 0 8px 32px rgba(16, 185, 129, 0.15) !important;
  overflow: visible !important;
}

.promo-badge {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  padding: 0.5rem 1.25rem;
  border-radius: 2rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  font-family: "Inter", sans-serif;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.5), 0 0 0 3px rgba(255,255,255,0.9);
  animation: promo-pulse 2s ease-in-out infinite;
  z-index: 20;
  white-space: nowrap;
}

@keyframes promo-pulse {
  0%, 100% { transform: translateX(-50%) scale(1); box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4); }
  50% { transform: translateX(-50%) scale(1.03); box-shadow: 0 6px 16px rgba(16, 185, 129, 0.5); }
}

.plan-price-promo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.amount-original {
  font-size: 1rem;
  color: #9ca3af;
  text-decoration: line-through;
  font-weight: 500;
  opacity: 0.8;
}

.amount-discounted {
  color: #10b981 !important;
  font-weight: 800 !important;
}

:root[data-theme="dark"] .promo-badge {
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.5);
}

:root[data-theme="dark"] .pricing-card-promo {
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15), 0 8px 32px rgba(16, 185, 129, 0.2) !important;
}

:root[data-theme="dark"] .amount-original {
  color: #6b7280;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .promo-badge {
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.5);
  }
  :root:not([data-theme="light"]) .pricing-card-promo {
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15), 0 8px 32px rgba(16, 185, 129, 0.2) !important;
  }
  :root:not([data-theme="light"]) .amount-original {
    color: #6b7280;
  }
}

.plan-name {
  font-family: "Epilogue", "Inter", sans-serif;
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--plan-name);
  margin-bottom: 0.75rem;
  transition: color 0.3s ease;
}

.plan-price {
  margin-bottom: 0.375rem;
}

.plan-price .amount {
  font-family: "Epilogue", "Inter", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--plan-price-amount);
  white-space: nowrap;
  transition: color 0.3s ease;
}

.plan-minutes,
.plan-overage {
  font-family: "Inter", sans-serif;
  font-size: 0.8125rem;
  color: var(--plan-minutes);
  margin-bottom: 0.25rem;
  transition: color 0.3s ease;
}

.plan-desc {
  font-family: "Inter", sans-serif;
  font-size: 0.875rem;
  color: var(--plan-desc);
  line-height: 1.5;
  margin: 0.875rem 0;
  padding: 0.625rem 0;
  border-top: 1px solid var(--plan-desc-border);
  border-bottom: 1px solid var(--plan-desc-border);
  transition: color 0.3s ease, border-color 0.3s ease;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0;
  flex-grow: 1;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  margin-bottom: 0.625rem;
  font-size: 0.875rem;
  color: var(--plan-features-text);
  font-family: "Inter", sans-serif;
  transition: color 0.3s ease;
}

.feature-check {
  flex-shrink: 0;
  color: #10b981;
  margin-top: 2px;
}

/* Enterprise-grade buttons from design system */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 0.75rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  text-decoration: none;
  font-family: "Inter", sans-serif;
}

.button-primary {
  background: var(--color-primary-600, #4f46e5);
  color: white;
  box-shadow: 0 4px 16px rgba(79, 70, 229, 0.25);
}

.button-primary:hover {
  background: var(--color-primary-700, #4338ca);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(79, 70, 229, 0.4);
}

.button-secondary {
  background: var(--button-secondary-bg);
  color: var(--button-secondary-text);
  transition: all 0.3s ease;
}

.button-secondary:hover {
  background: var(--button-secondary-hover-bg);
  transform: translateY(-1px);
}

/* Pricing card button fix - stay inside card */
.pricing-card-corporate .button {
  margin-top: auto;
  flex-shrink: 0;
  box-sizing: border-box;
}

.pricing-slide .button {
  margin-top: auto;
  flex-shrink: 0;
  box-sizing: border-box;
}

.pricing-note,
.pricing-topups {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.875rem;
  color: var(--pricing-note);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: "Inter", sans-serif;
  transition: color 0.3s ease;
}

.pricing-topups {
  font-size: 0.8125rem;
  color: var(--pricing-topups);
  margin-top: 0.75rem;
  transition: color 0.3s ease;
}

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

  .section-title-corporate {
    font-size: 2rem;
  }

  .section-subtitle-corporate {
    font-size: 1.125rem;
  }
}

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

  .section-corporate {
    padding: 4rem 1rem; /* FIXED: Added horizontal padding for mobile */
  }

  .pricing-card-corporate {
    padding: 1.5rem;
  }
}

/* Pricing Teaser Slider (Mobile/Tablet) */
.pricing-grid-desktop {
    display: grid;
}

.pricing-slider-container {
    display: none;
    position: relative;
    overflow: visible;
    padding: 1.5rem 1rem 0;
}

.pricing-slider {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 1rem 0 1.5rem;
}

.pricing-slider::-webkit-scrollbar {
    display: none;
}

.pricing-slide {
    flex: 0 0 calc(100% - 2rem);
    min-width: calc(100% - 2rem);
    scroll-snap-align: center;
}

@media (min-width: 640px) and (max-width: 1023px) {
    .pricing-slide {
        flex: 0 0 calc(50% - 1.5rem);
        min-width: calc(50% - 1.5rem);
    }
}

/* Slider Dots */
.pricing-slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.pricing-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--pricing-card-border);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.pricing-dot:hover {
    background: #4F46E5;
    transform: scale(1.2);
}

.pricing-dot.active {
    background: #4F46E5;
    width: 24px;
    border-radius: 4px;
}

/* Navigation Buttons */
.pricing-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--pricing-card-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--plan-name);
}

.pricing-nav-btn:hover {
    background: #4F46E5;
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.3);
}

.pricing-nav-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.pricing-nav-prev {
    left: -24px;
}

.pricing-nav-next {
    right: -24px;
}

/* Progress Bar */
.pricing-progress-bar {
    width: 100%;
    height: 4px;
    background: var(--pricing-card-border);
    border-radius: 2px;
    margin-top: 1rem;
    overflow: hidden;
}

.pricing-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4F46E5 0%, #6366F1 100%);
    border-radius: 2px;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Mode Navigation Buttons */
:root[data-theme="dark"] .pricing-nav-btn {
    background: rgba(31, 41, 55, 0.95);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

:root[data-theme="dark"] .pricing-nav-btn:hover {
    background: #818CF8;
    color: #0F172A;
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .pricing-nav-btn {
        background: rgba(31, 41, 55, 0.95);
        border-color: rgba(255, 255, 255, 0.1);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    }

    :root:not([data-theme="light"]) .pricing-nav-btn:hover {
        background: #818CF8;
        color: #0F172A;
    }
}

@media (max-width: 1023px) {
    .pricing-grid-desktop {
        display: none !important;
    }

    .pricing-slider-container {
        display: block;
    }
}

@media (max-width: 640px) {
    .pricing-nav-btn {
        width: 40px;
        height: 40px;
    }

    .pricing-nav-prev {
        left: -20px;
    }

    .pricing-nav-next {
        right: -20px;
    }
}

/* ============================================================================
   PRICING NEW - Consolidated from _pricing-new.html
   Date: 2025-11-21
   ============================================================================ */
/* ============================================================================
   PRICING SECTION - Design System 2026 - Theme Adaptive + Enterprise Slider
   ============================================================================ */

/* CSS Variables - Light Mode (Default) */
:root {
    --pricing-bg: #ffffff;
    --pricing-text-primary: #1F2937;
    --pricing-text-secondary: #6B7280;
    --pricing-text-tertiary: #9CA3AF;
    --pricing-kicker: #10B981;

    --pricing-card-bg: #F9FAFB;
    --pricing-card-border: rgba(17, 24, 39, 0.1);
    --pricing-card-shadow: rgba(0, 0, 0, 0.05);

    --pricing-card-featured-bg: #F0FDF4;
    --pricing-card-featured-border: #10B981;
    --pricing-card-featured-text: #065F46;
    --pricing-card-featured-shadow: rgba(16, 185, 129, 0.2);

    --pricing-badge-bg: rgba(17, 24, 39, 0.05);
    --pricing-badge-border: rgba(17, 24, 39, 0.1);
    --pricing-badge-text: #374151;

    --pricing-cta-primary-bg: #10B981;
    --pricing-cta-primary-hover: #059669;
    --pricing-cta-primary-text: #ffffff;

    --pricing-cta-secondary-border: rgba(17, 24, 39, 0.2);
    --pricing-cta-secondary-text: #1F2937;
    --pricing-cta-secondary-hover-border: #10B981;

    /* Slider Variables */
    --pricing-nav-btn-bg: rgba(255, 255, 255, 0.95);
    --pricing-nav-btn-border: rgba(17, 24, 39, 0.1);
    --pricing-nav-btn-shadow: rgba(0, 0, 0, 0.1);
    --pricing-nav-btn-hover-bg: #10B981;
    --pricing-nav-btn-hover-text: #ffffff;
    --pricing-dot-bg: rgba(17, 24, 39, 0.2);
    --pricing-dot-active-bg: #10B981;
    --pricing-progress-bg: rgba(17, 24, 39, 0.1);
    --pricing-progress-fill-bg: #10B981;
    --pricing-gradient-left: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    --pricing-gradient-right: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    --pricing-scrollbar-thumb: rgba(16, 185, 129, 0.5);
    --pricing-scrollbar-track: rgba(17, 24, 39, 0.05);
}

/* Dark Mode (System Preference) */
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --pricing-bg: #0f172a;
        --pricing-text-primary: #F9FAFB;
        --pricing-text-secondary: #D1D5DB;
        --pricing-text-tertiary: #9CA3AF;
        --pricing-kicker: #34D399;

        --pricing-card-bg: rgba(255, 255, 255, 0.05);
        --pricing-card-border: rgba(255, 255, 255, 0.1);
        --pricing-card-shadow: rgba(0, 0, 0, 0.3);

        --pricing-card-featured-bg: #ffffff;
        --pricing-card-featured-border: #10B981;
        --pricing-card-featured-text: #065F46;
        --pricing-card-featured-shadow: rgba(16, 185, 129, 0.3);

        --pricing-badge-bg: rgba(255, 255, 255, 0.1);
        --pricing-badge-border: rgba(255, 255, 255, 0.2);
        --pricing-badge-text: #E5E7EB;

        --pricing-cta-primary-bg: #10B981;
        --pricing-cta-primary-hover: #34D399;
        --pricing-cta-primary-text: #065F46;

        --pricing-cta-secondary-border: rgba(255, 255, 255, 0.3);
        --pricing-cta-secondary-text: #F9FAFB;
        --pricing-cta-secondary-hover-border: #34D399;

        /* Slider Variables - Dark Mode */
        --pricing-nav-btn-bg: rgba(31, 41, 55, 0.95);
        --pricing-nav-btn-border: rgba(255, 255, 255, 0.1);
        --pricing-nav-btn-shadow: rgba(0, 0, 0, 0.5);
        --pricing-nav-btn-hover-bg: #10B981;
        --pricing-nav-btn-hover-text: #065F46;
        --pricing-dot-bg: rgba(255, 255, 255, 0.2);
        --pricing-dot-active-bg: #34D399;
        --pricing-progress-bg: rgba(255, 255, 255, 0.1);
        --pricing-progress-fill-bg: #34D399;
        --pricing-gradient-left: linear-gradient(to right, rgba(15, 23, 42, 1) 0%, rgba(15, 23, 42, 0) 100%);
        --pricing-gradient-right: linear-gradient(to left, rgba(15, 23, 42, 1) 0%, rgba(15, 23, 42, 0) 100%);
        --pricing-scrollbar-thumb: rgba(52, 211, 153, 0.5);
        --pricing-scrollbar-track: rgba(255, 255, 255, 0.05);
    }
}

/* Dark Mode (Manual Toggle - HIGHEST PRIORITY) */
:root[data-theme="dark"] {
    --pricing-bg: #0f172a;
    --pricing-text-primary: #F9FAFB;
    --pricing-text-secondary: #D1D5DB;
    --pricing-text-tertiary: #9CA3AF;
    --pricing-kicker: #34D399;

    --pricing-card-bg: rgba(255, 255, 255, 0.05);
    --pricing-card-border: rgba(255, 255, 255, 0.1);
    --pricing-card-shadow: rgba(0, 0, 0, 0.3);

    --pricing-card-featured-bg: #ffffff;
    --pricing-card-featured-border: #10B981;
    --pricing-card-featured-text: #065F46;
    --pricing-card-featured-shadow: rgba(16, 185, 129, 0.3);

    --pricing-badge-bg: rgba(255, 255, 255, 0.1);
    --pricing-badge-border: rgba(255, 255, 255, 0.2);
    --pricing-badge-text: #E5E7EB;

    --pricing-cta-primary-bg: #10B981;
    --pricing-cta-primary-hover: #34D399;
    --pricing-cta-primary-text: #065F46;

    --pricing-cta-secondary-border: rgba(255, 255, 255, 0.3);
    --pricing-cta-secondary-text: #F9FAFB;
    --pricing-cta-secondary-hover-border: #34D399;

    /* Slider Variables - Dark Mode */
    --pricing-nav-btn-bg: rgba(31, 41, 55, 0.95);
    --pricing-nav-btn-border: rgba(255, 255, 255, 0.1);
    --pricing-nav-btn-shadow: rgba(0, 0, 0, 0.5);
    --pricing-nav-btn-hover-bg: #10B981;
    --pricing-nav-btn-hover-text: #065F46;
    --pricing-dot-bg: rgba(255, 255, 255, 0.2);
    --pricing-dot-active-bg: #34D399;
    --pricing-progress-bg: rgba(255, 255, 255, 0.1);
    --pricing-progress-fill-bg: #34D399;
    --pricing-gradient-left: linear-gradient(to right, rgba(15, 23, 42, 1) 0%, rgba(15, 23, 42, 0) 100%);
    --pricing-gradient-right: linear-gradient(to left, rgba(15, 23, 42, 1) 0%, rgba(15, 23, 42, 0) 100%);
    --pricing-scrollbar-thumb: rgba(52, 211, 153, 0.5);
    --pricing-scrollbar-track: rgba(255, 255, 255, 0.05);
}

/* Light Mode (Manual Toggle - HIGHEST PRIORITY) */
:root[data-theme="light"] {
    --pricing-bg: #ffffff;
    --pricing-text-primary: #1F2937;
    --pricing-text-secondary: #6B7280;
    --pricing-text-tertiary: #9CA3AF;
    --pricing-kicker: #10B981;

    --pricing-card-bg: #F9FAFB;
    --pricing-card-border: rgba(17, 24, 39, 0.1);
    --pricing-card-shadow: rgba(0, 0, 0, 0.05);

    --pricing-card-featured-bg: #F0FDF4;
    --pricing-card-featured-border: #10B981;
    --pricing-card-featured-text: #065F46;
    --pricing-card-featured-shadow: rgba(16, 185, 129, 0.2);

    --pricing-badge-bg: rgba(17, 24, 39, 0.05);
    --pricing-badge-border: rgba(17, 24, 39, 0.1);
    --pricing-badge-text: #374151;

    --pricing-cta-primary-bg: #10B981;
    --pricing-cta-primary-hover: #059669;
    --pricing-cta-primary-text: #ffffff;

    --pricing-cta-secondary-border: rgba(17, 24, 39, 0.2);
    --pricing-cta-secondary-text: #1F2937;
    --pricing-cta-secondary-hover-border: #10B981;

    /* Slider Variables - Light Mode */
    --pricing-nav-btn-bg: rgba(255, 255, 255, 0.95);
    --pricing-nav-btn-border: rgba(17, 24, 39, 0.1);
    --pricing-nav-btn-shadow: rgba(0, 0, 0, 0.1);
    --pricing-nav-btn-hover-bg: #10B981;
    --pricing-nav-btn-hover-text: #ffffff;
    --pricing-dot-bg: rgba(17, 24, 39, 0.2);
    --pricing-dot-active-bg: #10B981;
    --pricing-progress-bg: rgba(17, 24, 39, 0.1);
    --pricing-progress-fill-bg: #10B981;
    --pricing-gradient-left: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    --pricing-gradient-right: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    --pricing-scrollbar-thumb: rgba(16, 185, 129, 0.5);
    --pricing-scrollbar-track: rgba(17, 24, 39, 0.05);
}

/* Section Styling */
.pricing-section {
    background: var(--pricing-bg);
    color: var(--pricing-text-primary);
    transition: background 0.3s ease, color 0.3s ease;
}

/* Typography */
.pricing-kicker {
    color: var(--pricing-kicker);
}

.pricing-title {
    color: var(--pricing-text-primary);
}

.pricing-subtitle {
    color: var(--pricing-text-secondary);
}

/* Pricing Cards */
.pricing-card {
    background: var(--pricing-card-bg);
    border-color: var(--pricing-card-border);
    box-shadow: 0 4px 12px var(--pricing-card-shadow);
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px var(--pricing-card-shadow);
}

.pricing-card-featured {
    background: var(--pricing-card-featured-bg) !important;
    border-color: var(--pricing-card-featured-border) !important;
    box-shadow: 0 4px 16px var(--pricing-card-featured-shadow) !important;
}

.pricing-card-featured .pricing-plan-name,
.pricing-card-featured .pricing-plan-price,
.pricing-card-featured .pricing-plan-minutes,
.pricing-card-featured .pricing-plan-overage,
.pricing-card-featured .pricing-plan-desc {
    color: var(--pricing-card-featured-text) !important;
}

.pricing-card-featured .pricing-plan-name {
    color: var(--pricing-kicker) !important;
}

/* Plan Details */
.pricing-plan-name {
    color: var(--pricing-kicker);
}

.pricing-plan-price {
    color: var(--pricing-text-primary);
}

.pricing-plan-minutes,
.pricing-plan-overage {
    color: var(--pricing-text-tertiary);
}

.pricing-plan-desc {
    color: var(--pricing-text-secondary);
}

/* Badges */
.pricing-badge {
    background: var(--pricing-badge-bg);
    border-color: var(--pricing-badge-border);
    color: var(--pricing-badge-text);
    transition: all 0.3s ease;
}

.pricing-card-featured .pricing-badge {
    background: rgba(16, 185, 129, 0.1) !important;
    border-color: rgba(16, 185, 129, 0.3) !important;
    color: var(--pricing-card-featured-text) !important;
}

/* Footer & CTAs */
.pricing-footer {
    color: var(--pricing-text-secondary);
}

.pricing-cta-primary {
    background: var(--pricing-cta-primary-bg);
    color: var(--pricing-cta-primary-text);
}

.pricing-cta-primary:hover {
    background: var(--pricing-cta-primary-hover);
}

.pricing-cta-secondary {
    border-color: var(--pricing-cta-secondary-border);
    color: var(--pricing-cta-secondary-text);
}

.pricing-cta-secondary:hover {
    border-color: var(--pricing-cta-secondary-hover-border);
}

.pricing-note {
    color: var(--pricing-text-secondary);
}

/* ============================================================================
   ENTERPRISE SLIDER STYLES
   ============================================================================ */

/* Desktop: Horizontal Scroll Slider (>= 1024px) */
.pricing-slider-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
}

.pricing-slider-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--pricing-scrollbar-thumb) var(--pricing-scrollbar-track);
    padding: 1rem 0 2rem;
}

/* Custom Scrollbar - Webkit */
.pricing-slider-wrapper::-webkit-scrollbar {
    height: 8px;
}

.pricing-slider-wrapper::-webkit-scrollbar-track {
    background: var(--pricing-scrollbar-track);
    border-radius: 4px;
}

.pricing-slider-wrapper::-webkit-scrollbar-thumb {
    background: var(--pricing-scrollbar-thumb);
    border-radius: 4px;
    transition: background 0.3s ease;
}

.pricing-slider-wrapper::-webkit-scrollbar-thumb:hover {
    background: var(--pricing-dot-active-bg);
}

.pricing-slider-track {
    display: flex;
    gap: 1.5rem;
    padding: 0 2rem;
}

.pricing-slide {
    flex: 0 0 320px;
    min-width: 320px;
    max-width: 320px;
    scroll-snap-align: center;
    will-change: transform;
}

/* Edge Fade Gradients */
.pricing-gradient-left,
.pricing-gradient-right {
    position: absolute;
    top: 0;
    bottom: 32px; /* Account for scrollbar */
    width: 80px;
    pointer-events: none;
    z-index: 10;
    transition: opacity 0.3s ease;
}

.pricing-gradient-left {
    left: 0;
    background: var(--pricing-gradient-left);
}

.pricing-gradient-right {
    right: 0;
    background: var(--pricing-gradient-right);
}

/* Mobile & Tablet: Swipe Slider (< 1024px) */
.pricing-mobile-slider {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
    padding: 0 3rem;
}

.pricing-mobile-track {
    position: relative;
    min-height: 600px;
}

.pricing-mobile-slide {
    width: 100%;
}

/* Slide Transitions */
.pricing-slide-enter {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.pricing-slide-enter-start {
    opacity: 0;
    transform: translateX(100px) scale(0.95);
}

.pricing-slide-enter-end {
    opacity: 1;
    transform: translateX(0) scale(1);
}

.pricing-slide-leave {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.pricing-slide-leave-start {
    opacity: 1;
    transform: translateX(0) scale(1);
}

.pricing-slide-leave-end {
    opacity: 0;
    transform: translateX(-100px) scale(0.95);
}

/* Navigation Buttons */
.pricing-nav-buttons {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 20;
}

.pricing-nav-btn {
    width: 48px;
    height: 48px;
    background: var(--pricing-nav-btn-bg);
    border: 1px solid var(--pricing-nav-btn-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: all;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px var(--pricing-nav-btn-shadow);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--pricing-text-primary);
}

.pricing-nav-btn:hover {
    background: var(--pricing-nav-btn-hover-bg);
    color: var(--pricing-nav-btn-hover-text);
    transform: scale(1.1);
    box-shadow: 0 6px 20px var(--pricing-nav-btn-shadow);
}

.pricing-nav-btn:active {
    transform: scale(0.95);
}

.pricing-nav-btn:focus-visible {
    outline: 2px solid var(--pricing-dot-active-bg);
    outline-offset: 2px;
}

.pricing-nav-prev {
    margin-left: -24px;
}

.pricing-nav-next {
    margin-right: -24px;
}

/* Dot Indicators */
.pricing-dots {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
}

.pricing-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--pricing-dot-bg);
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
}

.pricing-dot:hover {
    background: var(--pricing-dot-active-bg);
    transform: scale(1.2);
}

.pricing-dot-active {
    background: var(--pricing-dot-active-bg);
    width: 32px;
    border-radius: 6px;
}

.pricing-dot:focus-visible {
    outline: 2px solid var(--pricing-dot-active-bg);
    outline-offset: 2px;
}

/* Progress Bar */
.pricing-progress-bar {
    width: 100%;
    height: 4px;
    background: var(--pricing-progress-bg);
    border-radius: 2px;
    margin-top: 1.5rem;
    overflow: hidden;
}

.pricing-progress-fill {
    height: 100%;
    background: var(--pricing-progress-fill-bg);
    border-radius: 2px;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Accessibility - Focus States */
.pricing-slide:focus-visible,
.pricing-mobile-slide:focus-visible {
    outline: 2px solid var(--pricing-dot-active-bg);
    outline-offset: 4px;
    border-radius: 1.5rem;
}

/* Performance Optimizations */
.pricing-slider-track,
.pricing-mobile-slide,
.pricing-nav-btn,
.pricing-dot,
.pricing-progress-fill {
    will-change: transform;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .pricing-title {
        font-size: 2rem;
    }

    .pricing-slide {
        flex: 0 0 280px;
        min-width: 280px;
        max-width: 280px;
    }

    .pricing-mobile-slider {
        padding: 0 2.5rem;
    }

    .pricing-nav-btn {
        width: 40px;
        height: 40px;
    }

    .pricing-nav-prev {
        margin-left: -20px;
    }

    .pricing-nav-next {
        margin-right: -20px;
    }

    .pricing-gradient-left,
    .pricing-gradient-right {
        width: 60px;
    }
}

@media (max-width: 480px) {
    .pricing-mobile-slider {
        padding: 0 2rem;
    }

    .pricing-nav-btn {
        width: 36px;
        height: 36px;
    }

    .pricing-nav-prev {
        margin-left: -18px;
    }

    .pricing-nav-next {
        margin-right: -18px;
    }
}

/* ============================================================================
   AGENTS - Consolidated from _agents.html
   Date: 2025-11-21
   ============================================================================ */
/* ============================================================================
   AGENTS SECTION - Design System 2026 - Theme Adaptive
   ============================================================================ */

/* CSS Variables - Light Mode (Default) */
:root {
    --agents-bg: #F9FAFB;
    --agents-kicker: #4F46E5;
    --agents-card-bg: #ffffff;
    --agents-card-border: rgba(17, 24, 39, 0.1);
    --agents-card-shadow: rgba(0, 0, 0, 0.05);
    --agents-card-hover-border: #4F46E5;
    --agents-card-hover-shadow: rgba(79, 70, 229, 0.15);
    --agents-title: #0a0a0a;
    --agents-desc: #4a5568;
    --agents-feature-text: #0a0a0a;
}

/* Dark Mode (System Preference) */
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --agents-bg: #111827;
        --agents-kicker: #818CF8;
        --agents-card-bg: #1F2937;
        --agents-card-border: rgba(255, 255, 255, 0.1);
        --agents-card-shadow: rgba(0, 0, 0, 0.3);
        --agents-card-hover-border: #818CF8;
        --agents-card-hover-shadow: rgba(129, 140, 248, 0.25);
        --agents-title: #F9FAFB;
        --agents-desc: #D1D5DB;
        --agents-feature-text: #E5E7EB;
    }
}

/* Dark Mode (Manual Toggle - HIGHEST PRIORITY) */
:root[data-theme="dark"] {
    --agents-bg: #111827;
    --agents-kicker: #818CF8;
    --agents-card-bg: #1F2937;
    --agents-card-border: rgba(255, 255, 255, 0.1);
    --agents-card-shadow: rgba(0, 0, 0, 0.3);
    --agents-card-hover-border: #818CF8;
    --agents-card-hover-shadow: rgba(129, 140, 248, 0.25);
    --agents-title: #F9FAFB;
    --agents-desc: #D1D5DB;
    --agents-feature-text: #E5E7EB;
}

/* Light Mode (Manual Toggle - HIGHEST PRIORITY) */
:root[data-theme="light"] {
    --agents-bg: #F9FAFB;
    --agents-kicker: #4F46E5;
    --agents-card-bg: #ffffff;
    --agents-card-border: rgba(17, 24, 39, 0.1);
    --agents-card-shadow: rgba(0, 0, 0, 0.05);
    --agents-card-hover-border: #4F46E5;
    --agents-card-hover-shadow: rgba(79, 70, 229, 0.15);
    --agents-title: #0a0a0a;
    --agents-desc: #4a5568;
    --agents-feature-text: #0a0a0a;
}

/* Section Styling */
.agents-section-corporate {
  padding: 3rem 0;
  background: var(--agents-bg);
  transition: background 0.3s ease;
}

.section-kicker-corporate {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--agents-kicker);
  margin-bottom: 1rem;
  font-family: "Inter", sans-serif;
  transition: color 0.3s ease;
}

.agents-grid-corporate {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

.agent-card-corporate {
  background: var(--agents-card-bg);
  border-radius: 1rem;
  padding: 2.5rem;
  border: 1px solid var(--agents-card-border);
  box-shadow: 0 2px 8px var(--agents-card-shadow);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.agent-card-corporate:hover {
  border-color: var(--agents-card-hover-border);
  box-shadow: 0 8px 24px var(--agents-card-hover-shadow);
  transform: translateY(-4px);
}

.agent-card-corporate.agent-card-featured {
  border-color: var(--agents-card-hover-border);
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.08) 0%, rgba(99, 102, 241, 0.05) 100%);
  box-shadow: 0 4px 16px var(--agents-card-hover-shadow);
}

/* Featured Card Dark Mode */
:root[data-theme="dark"] .agent-card-corporate.agent-card-featured {
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.15) 0%, rgba(99, 102, 241, 0.10) 100%);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .agent-card-corporate.agent-card-featured {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.15) 0%, rgba(99, 102, 241, 0.10) 100%);
  }
}

.agent-banner-corporate {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  color: white;
  font-family: "Inter", sans-serif;
}

.agent-banner-indigo {
  background: linear-gradient(135deg, #4F46E5 0%, #6366F1 100%);
}

.agent-banner-pink {
  background: linear-gradient(135deg, #EC4899 0%, #F472B6 100%);
}

.agent-banner-teal {
  background: linear-gradient(135deg, #14B8A6 0%, #2DD4BF 100%);
}

.agent-icon-corporate {
  width: 64px;
  height: 64px;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.agent-icon-corporate svg {
  width: 32px;
  height: 32px;
}

.agent-icon-indigo {
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.1) 0%, rgba(79, 70, 229, 0.15) 100%);
  color: #4F46E5;
}

.agent-icon-pink {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.1) 0%, rgba(236, 72, 153, 0.15) 100%);
  color: #EC4899;
}

.agent-icon-teal {
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.1) 0%, rgba(20, 184, 166, 0.15) 100%);
  color: #14B8A6;
}

.agent-title-corporate {
  font-family: "Epilogue", "Inter", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--agents-title);
  margin-bottom: 0.5rem;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.agent-subtitle-corporate {
  font-family: "Inter", sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--agents-desc);
  margin-bottom: 1rem;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.agent-desc-corporate {
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  color: var(--agents-desc);
  line-height: 1.6;
  margin-bottom: 2rem;
  transition: color 0.3s ease;
}

.agent-features-corporate {
  list-style: none;
  padding: 0;
  margin: 0;
  flex-grow: 1;
}

.agent-features-corporate li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  color: var(--agents-feature-text);
  font-family: "Inter", sans-serif;
  transition: color 0.3s ease;
}

.agent-value-corporate {
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--agents-title);
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--agents-border, rgba(0, 0, 0, 0.1));
  line-height: 1.5;
  transition: color 0.3s ease;
}

@media (max-width: 1024px) {
  .agents-grid-corporate {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 640px) {
  .agents-section-corporate {
    padding: 3rem 0;
  }

  .agent-card-corporate {
    padding: 2rem;
  }

  .agent-title-corporate {
    font-size: 1.25rem;
  }
}
/* ============================================================================
   BREADCRUMBS - Consolidated from _breadcrumbs.html
   Date: 2025-11-21
   ============================================================================ */
/* ============================================================================
   BREADCRUMBS - Design System 2026 - Theme Adaptive
   ============================================================================ */

/* CSS Variables - Light Mode (Default) */
:root {
    --breadcrumb-text: #6B7280;
    --breadcrumb-separator: #D1D5DB;
    --breadcrumb-link: #6B7280;
    --breadcrumb-link-hover: #9333EA;
    --breadcrumb-active: #1F2937;
    --breadcrumb-focus: #9333EA;
}

/* Dark Mode (System Preference) */
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --breadcrumb-text: #9CA3AF;
        --breadcrumb-separator: #4B5563;
        --breadcrumb-link: #9CA3AF;
        --breadcrumb-link-hover: #A855F7;
        --breadcrumb-active: #F9FAFB;
        --breadcrumb-focus: #A855F7;
    }
}

/* Dark Mode (Manual Toggle - HIGHEST PRIORITY) */
:root[data-theme="dark"] {
    --breadcrumb-text: #9CA3AF;
    --breadcrumb-separator: #4B5563;
    --breadcrumb-link: #9CA3AF;
    --breadcrumb-link-hover: #A855F7;
    --breadcrumb-active: #F9FAFB;
    --breadcrumb-focus: #A855F7;
}

/* Light Mode (Manual Toggle - HIGHEST PRIORITY) */
:root[data-theme="light"] {
    --breadcrumb-text: #6B7280;
    --breadcrumb-separator: #D1D5DB;
    --breadcrumb-link: #6B7280;
    --breadcrumb-link-hover: #9333EA;
    --breadcrumb-active: #1F2937;
    --breadcrumb-focus: #9333EA;
}

/* Breadcrumb Styling */
.breadcrumb-nav {
  padding: 1rem 0;
  background: transparent;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.875rem;
  color: var(--breadcrumb-text);
  transition: color 0.3s ease;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
}

.breadcrumb-item:not(:last-child)::after {
  content: '/';
  margin-left: 0.5rem;
  color: var(--breadcrumb-separator);
  transition: color 0.3s ease;
}

.breadcrumb-item a {
  color: var(--breadcrumb-link);
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb-item a:hover {
  color: var(--breadcrumb-link-hover);
}

.breadcrumb-item.active {
  color: var(--breadcrumb-active);
  font-weight: 500;
  transition: color 0.3s ease;
}

@media (max-width: 640px) {
  .breadcrumb {
    font-size: 0.8125rem;
  }
  .breadcrumb-nav {
    padding: 0.75rem 0;
  }
}

.breadcrumb-item a:focus {
  outline: 2px solid var(--breadcrumb-focus);
  outline-offset: 2px;
  border-radius: 2px;
}
/* ============================================================================
   PRIVACY - Consolidated from _privacy.html
   Date: 2025-11-21
   ============================================================================ */
    .legal-content {
        max-width: 900px;
        margin: 0 auto;
        padding: 3rem 1.5rem;
        animation: fadeIn 0.5s ease-in-out;
    }
    .legal-content h1 {
        font-size: 2.5rem;
        font-weight: 700;
        margin-bottom: 1rem;
        background: linear-gradient(135deg, #EC4899 0%, #8B5CF6 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
    .legal-content h2 {
        font-size: 1.75rem;
        font-weight: 600;
        margin-top: 2.5rem;
        margin-bottom: 1rem;
        color: #1F2937;
    }
    .legal-content h3 {
        font-size: 1.25rem;
        font-weight: 600;
        margin-top: 1.5rem;
        margin-bottom: 0.75rem;
        color: #374151;
    }
    .legal-content p, .legal-content li {
        color: #4B5563;
        line-height: 1.8;
        margin-bottom: 1rem;
    }
    .legal-content ul {
        list-style-type: disc;
        margin-left: 1.5rem;
        margin-bottom: 1.5rem;
    }
    .legal-content strong {
        color: #1F2937;
        font-weight: 600;
    }
    .last-updated {
        color: #6B7280;
        font-size: 0.9rem;
        margin-bottom: 2rem;
    }
    @keyframes fadeIn {
        from { opacity: 0; transform: translateY(10px); }
        to { opacity: 1; transform: translateY(0); }
    }
/* ============================================================================
   VIDEO - Consolidated from _video.html
   Date: 2025-11-21
   ============================================================================ */
/* Video Section - Design System 2026 */
.grid-corporate-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

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

/* ============================================================================
   USER MENU & AVATAR - Enterprise Grade
   Date: 2025-11-21
   ============================================================================ */

/* User Menu Container */
.user-menu-container {
  position: relative;
}

.user-menu-trigger {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
}

.user-menu-trigger:hover {
  background: var(--navbar-theme-toggle-hover-bg, rgba(147, 51, 234, 0.05));
}

/* Avatar Wrapper - Contains ring + inner avatar */
.avatar-wrapper {
  position: relative;
  width: 44px;
  height: 44px;
}

/* Progress Ring (SVG) */
.avatar-progress-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.avatar-progress-circle {
  transition: stroke-dashoffset 0.5s ease;
}

/* Inner Avatar */
.avatar-inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #EC4899 0%, #8B5CF6 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 0.875rem;
  box-shadow: 0 2px 8px rgba(139, 92, 246, 0.3);
}

/* Dropdown Arrow */
.dropdown-arrow {
  width: 16px;
  height: 16px;
  color: var(--navbar-text-secondary);
  transition: transform 0.2s ease;
}

.dropdown-arrow.rotated {
  transform: rotate(180deg);
}

/* User Dropdown Menu */
.user-dropdown {
  position: absolute;
  top: calc(100% + 0.75rem);
  right: 0;
  min-width: 280px;
  background: var(--navbar-dropdown-bg, #ffffff);
  border: 1px solid var(--navbar-dropdown-border, #e5e7eb);
  border-radius: 1rem;
  box-shadow: 0 20px 60px rgba(139, 92, 246, 0.15), 0 8px 16px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  z-index: 10001;
  transition: background 0.3s ease, border-color 0.3s ease;
}

/* User Header in Dropdown */
.dropdown-user-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.05) 0%, rgba(236, 72, 153, 0.05) 100%);
  border-bottom: 1px solid var(--navbar-dropdown-border, #e5e7eb);
}

.dropdown-user-avatar {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #EC4899 0%, #8B5CF6 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.dropdown-user-info {
  flex: 1;
  min-width: 0;
}

.dropdown-user-name {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--navbar-dropdown-text, #1F2937);
  margin: 0;
  line-height: 1.3;
}

.dropdown-user-email {
  font-size: 0.8125rem;
  color: var(--navbar-text-secondary, #6B7280);
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Credits Section in Dropdown */
.dropdown-credits {
  padding: 1rem;
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.03) 0%, rgba(139, 92, 246, 0.03) 100%);
  border-bottom: 1px solid var(--navbar-dropdown-border, #e5e7eb);
}

.dropdown-credits-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.375rem;
}

.dropdown-credits-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--navbar-text-secondary, #6B7280);
}

.dropdown-credits-percent {
  font-size: 0.75rem;
  font-weight: 700;
}

.dropdown-credits-percent.credits-ok { color: #10B981; }
.dropdown-credits-percent.credits-medium { color: #F59E0B; }
.dropdown-credits-percent.credits-low { color: #EF4444; }

.dropdown-credits-value {
  display: flex;
  align-items: baseline;
  gap: 0.375rem;
  margin-bottom: 0.5rem;
}

.dropdown-credits-minutes {
  font-size: 1.75rem;
  font-weight: 700;
  background: linear-gradient(135deg, #EC4899 0%, #8B5CF6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.dropdown-credits-unit {
  font-size: 0.8125rem;
  color: var(--navbar-text-secondary, #6B7280);
}

.dropdown-credits-bar {
  width: 100%;
  height: 6px;
  background: var(--navbar-border, #E5E7EB);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.dropdown-credits-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 0.5s ease;
}

.dropdown-credits-fill.credits-ok { background: linear-gradient(90deg, #10B981, #059669); }
.dropdown-credits-fill.credits-medium { background: linear-gradient(90deg, #F59E0B, #D97706); }
.dropdown-credits-fill.credits-low { background: linear-gradient(90deg, #EF4444, #DC2626); }

.dropdown-credits-buy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  width: 100%;
  padding: 0.5rem;
  background: linear-gradient(135deg, #8B5CF6 0%, #EC4899 100%);
  color: white;
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.dropdown-credits-buy:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

/* Dropdown Menu Items */
.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  color: var(--navbar-dropdown-text, #1F2937);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.875rem;
  transition: all 0.2s ease;
}

.dropdown-item svg {
  color: var(--navbar-text-secondary, #6B7280);
  flex-shrink: 0;
}

.dropdown-item:hover {
  background: var(--navbar-dropdown-hover-bg, linear-gradient(90deg, rgba(147, 51, 234, 0.05) 0%, rgba(236, 72, 153, 0.05) 100%));
  color: #8B5CF6;
}

.dropdown-item:hover svg {
  color: #8B5CF6;
}

.dropdown-item-logout {
  color: #DC2626;
}

.dropdown-item-logout svg {
  color: #DC2626;
}

.dropdown-item-logout:hover {
  background: rgba(220, 38, 38, 0.05);
  color: #DC2626;
}

.dropdown-divider {
  height: 1px;
  background: var(--navbar-dropdown-border, #e5e7eb);
  margin: 0;
}

/* Dark mode adjustments */
:root[data-theme="dark"] .dropdown-user-header {
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.1) 0%, rgba(236, 72, 153, 0.1) 100%);
}

:root[data-theme="dark"] .dropdown-credits {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .dropdown-user-header {
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.1) 0%, rgba(236, 72, 153, 0.1) 100%);
  }
  
  :root:not([data-theme="light"]) .dropdown-credits {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
  }
}

/* Pulse animation for low credits */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* ============================================================
   MARKETING PAGES - Agent Cards, Feature Items
   ============================================================ */

/* Agent Cards */
.agent-card {
  transition: all 0.3s ease;
  background: var(--surface-raised, white);
  border-radius: 1rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--border-primary, #E5E7EB);
  overflow: hidden;
}

.agent-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Agent Badge */
.agent-badge {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Feature Items */
.feature-item {
  display: flex;
  align-items: start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.feature-checkmark {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.125rem;
}

/* Dark Mode Support for Marketing */
:root[data-theme="dark"] .agent-card {
  background: var(--surface-raised);
  border-color: var(--border-primary);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .agent-card {
    background: var(--surface-raised);
    border-color: var(--border-primary);
  }
}

/* ============================================================
   SIMPLE PAGE LAYOUTS - About, Legal, Partner, etc.
   ============================================================ */

/* Page Content Container */
.page-content {
  max-width: 960px;
  margin: 6rem auto 3rem;
  padding: 0 1.5rem;
}

/* Generic Card */
.card {
  background: var(--surface-raised, white);
  border-radius: 1rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  padding: 3rem;
  border: 1px solid var(--border-primary, #e5e5e5);
}

/* CTA Box */
.cta-box {
  background: var(--surface-secondary, #f3f0ff);
  border: 1px solid var(--border-accent, #c7d2fe);
  border-radius: 0.75rem;
  padding: 2rem;
  margin-top: 3rem;
  text-align: center;
}

.cta-box p {
  margin-bottom: 1.25rem;
}

/* Primary Button */
.btn-primary {
  display: inline-block;
  background: var(--color-primary-600, #4f46e5);
  color: white;
  padding: 0.875rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: var(--color-primary-700, #4338ca);
  transform: translateY(-2px);
}

/* Partner Page Styles */
.gradient-border {
  border-image: linear-gradient(135deg, #6366F1, #EC4899) 1;
  border-width: 1px;
  border-style: solid;
}

.partner-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  background: var(--surface-raised, white);
  border-radius: 1rem;
  border: 1px solid var(--border-primary, #e5e5e5);
}

.partner-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 45px -18px rgba(79, 70, 229, 0.25);
}

.hero-gradient {
  background: linear-gradient(180deg, rgba(79,70,229,0.08) 0%, rgba(236,72,153,0.04) 100%);
}

@media (max-width: 640px) {
  .hero-gradient {
    background: linear-gradient(180deg, rgba(79,70,229,0.1) 0%, rgba(236,72,153,0.08) 100%);
  }
}

/* Notice/Info Boxes */
.notice {
  background: var(--surface-info, #eff6ff);
  border: 1px solid var(--border-info, #bfdbfe);
  border-radius: 0.75rem;
  padding: 1.5rem;
  margin-top: 2rem;
}

.notice h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text-primary, #1a1a1a);
}

/* Back Link */
.back-link {
  display: inline-block;
  margin-top: 2rem;
  color: var(--color-primary-600, #4f46e5);
  text-decoration: none;
}

.back-link:hover {
  text-decoration: underline;
}

/* Meta Text */
.meta {
  font-size: 0.875rem;
  color: var(--text-tertiary, #737373);
  margin-bottom: 2rem;
}

/* Info Group */
.info-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

/* Info Item (Contact page) */
.info-item {
  line-height: 1.7;
}

.info-item strong {
  display: block;
  font-weight: 600;
  margin-bottom: 0.375rem;
}

.info-item a {
  color: var(--color-primary-600, #4f46e5);
  text-decoration: none;
}

.info-item a:hover {
  color: var(--color-primary-700, #4338ca);
  text-decoration: underline;
}

/* Info Section (Contact page grid) */
.info-section {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Actions (Contact page) */
.actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Dark Mode for Simple Pages */
:root[data-theme="dark"] .card {
  background: var(--surface-raised);
  border-color: var(--border-primary);
}

:root[data-theme="dark"] .cta-box {
  background: var(--surface-secondary);
  border-color: var(--border-accent);
}

:root[data-theme="dark"] .notice {
  background: var(--surface-secondary);
  border-color: var(--border-primary);
}

:root[data-theme="dark"] .partner-card {
  background: var(--surface-raised);
  border-color: var(--border-primary);
}

:root[data-theme="dark"] .hero-gradient {
  background: linear-gradient(180deg, rgba(79,70,229,0.15) 0%, rgba(236,72,153,0.08) 100%);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .card {
    background: var(--surface-raised);
    border-color: var(--border-primary);
  }

  :root:not([data-theme="light"]) .cta-box {
    background: var(--surface-secondary);
    border-color: var(--border-accent);
  }

  :root:not([data-theme="light"]) .partner-card {
    background: var(--surface-raised);
    border-color: var(--border-primary);
  }
}

/* ============================================================
   BUTTON VARIANTS - Full width, secondary
   ============================================================ */

/* Base Button (block) */
.btn {
  display: block;
  width: 100%;
  padding: 0.875rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

/* Secondary Button */
.btn-secondary {
  background: transparent;
  color: var(--color-primary-600, #4f46e5);
  border: 2px solid var(--color-primary-600, #4f46e5);
}

.btn-secondary:hover {
  background: var(--color-primary-50, #eef2ff);
  transform: translateY(-2px);
}

/* Simple Grid Layout */
.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   WCAG AA COLOR OVERRIDES - GRADIENT BUTTONS
   Uses compound selectors for higher specificity than Tailwind utility classes
   Tailwind: .from-indigo-500 (specificity 0,1,0)
   Override: [class*="bg-gradient"].from-indigo-500 (specificity 0,2,0)
   NO !important needed - CSS cascade handles it correctly
   ═══════════════════════════════════════════════════════════════════════════════ */

/* --- INDIGO: White text contrast 5.4:1 to 9.1:1 --- */
[class*="bg-gradient"].from-indigo-500 {
    --tw-gradient-from: #4338CA;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(67, 56, 202, 0));
}
[class*="bg-gradient"].from-indigo-600 {
    --tw-gradient-from: #3730A3;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(55, 48, 163, 0));
}
[class*="bg-gradient"].to-indigo-600 {
    --tw-gradient-to: #3730A3;
}
[class*="bg-gradient"].to-indigo-700 {
    --tw-gradient-to: #312E81;
}
[class*="bg-gradient"].from-indigo-700 {
    --tw-gradient-from: #4338CA;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(67, 56, 202, 0));
}
[class*="bg-gradient"].to-indigo-800 {
    --tw-gradient-to: #3730A3;
}
[class*="bg-gradient"].to-indigo-900 {
    --tw-gradient-to: #312E81;
}

/* --- INDIGO GRADIENT BUTTONS - DIRECT BACKGROUND-IMAGE (Enterprise Grade) --- */
.bg-gradient-to-r.from-indigo-700.to-indigo-800 {
    background-image: linear-gradient(to right, #4338CA, #3730A3);
}
.bg-gradient-to-r.from-indigo-700.to-indigo-800:hover,
.bg-gradient-to-r.from-indigo-700.to-indigo-800.hover\:from-indigo-800:hover {
    background-image: linear-gradient(to right, #3730A3, #312E81);
}
.bg-gradient-to-r.from-indigo-600.to-indigo-700 {
    background-image: linear-gradient(to right, #4338CA, #3730A3);
}
.bg-gradient-to-r.from-indigo-500.to-indigo-600 {
    background-image: linear-gradient(to right, #4338CA, #3730A3);
}
.bg-gradient-to-br.from-indigo-700.to-indigo-800 {
    background-image: linear-gradient(to bottom right, #4338CA, #3730A3);
}

/* --- BLUE: White text contrast 5.9:1 to 9.3:1 --- */
[class*="bg-gradient"].from-blue-500 {
    --tw-gradient-from: #1D4ED8;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(29, 78, 216, 0));
}
[class*="bg-gradient"].from-blue-600 {
    --tw-gradient-from: #1E40AF;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(30, 64, 175, 0));
}
[class*="bg-gradient"].to-blue-600 {
    --tw-gradient-to: #1E40AF;
}

/* --- PURPLE: White text contrast 5.1:1 to 8.5:1 --- */
[class*="bg-gradient"].from-purple-500 {
    --tw-gradient-from: #7E22CE;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(126, 34, 206, 0));
}
[class*="bg-gradient"].from-purple-600 {
    --tw-gradient-from: #6B21A8;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(107, 33, 168, 0));
}
[class*="bg-gradient"].to-purple-600 {
    --tw-gradient-to: #6B21A8;
}
[class*="bg-gradient"].to-purple-700 {
    --tw-gradient-to: #581C87;
}

/* --- PINK: White text contrast 5.2:1 to 8.6:1 --- */
[class*="bg-gradient"].from-pink-500 {
    --tw-gradient-from: #BE185D;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(190, 24, 93, 0));
}
[class*="bg-gradient"].to-pink-600 {
    --tw-gradient-to: #9D174D;
}

/* --- EMERALD: White text contrast 4.6:1 to 8.0:1 --- */
[class*="bg-gradient"].from-emerald-500 {
    --tw-gradient-from: #047857;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(4, 120, 87, 0));
}
[class*="bg-gradient"].from-emerald-600 {
    --tw-gradient-from: #065F46;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(6, 95, 70, 0));
}
[class*="bg-gradient"].to-emerald-600 {
    --tw-gradient-to: #065F46;
}

/* --- GREEN: White text contrast 4.5:1 to 8.0:1 --- */
[class*="bg-gradient"].from-green-500 {
    --tw-gradient-from: #15803D;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(21, 128, 61, 0));
}
[class*="bg-gradient"].from-green-600 {
    --tw-gradient-from: #166534;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(22, 101, 52, 0));
}
[class*="bg-gradient"].to-green-600 {
    --tw-gradient-to: #166534;
}

/* --- CYAN: White text contrast 4.5:1 to 7.5:1 --- */
[class*="bg-gradient"].from-cyan-500 {
    --tw-gradient-from: #0E7490;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(14, 116, 144, 0));
}
[class*="bg-gradient"].to-cyan-600 {
    --tw-gradient-to: #155E75;
}

/* --- TEAL: White text contrast 4.5:1 to 7.5:1 --- */
[class*="bg-gradient"].from-teal-500 {
    --tw-gradient-from: #0F766E;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(15, 118, 110, 0));
}
[class*="bg-gradient"].to-teal-600 {
    --tw-gradient-to: #115E59;
}

/* --- GRAY (Disabled): White text contrast 5.9:1 to 8.0:1 --- */
[class*="bg-gradient"].from-gray-400 {
    --tw-gradient-from: #4B5563;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(75, 85, 99, 0));
}
[class*="bg-gradient"].from-gray-500 {
    --tw-gradient-from: #374151;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(55, 65, 81, 0));
}

/* ============================================================================
   MERGED: font-loading-fix.css (2025-12-12)
   Scope: <html data-css-bundle="swiss-atlas-v4">
   ============================================================================ */

/* Remove default font-family from body (handled by html element + Font Loading API strategy) */
:root[data-css-bundle="swiss-atlas-v4"] body {
    font-family: inherit !important;
}

/* Ensure components inherit font from <html> (supports metric-matched fallback strategy) */
:root[data-css-bundle="swiss-atlas-v4"] .footer-enterprise,
:root[data-css-bundle="swiss-atlas-v4"] .section-subtitle-corporate,
:root[data-css-bundle="swiss-atlas-v4"] .plan-ribbon,
:root[data-css-bundle="swiss-atlas-v4"] .promo-badge,
:root[data-css-bundle="swiss-atlas-v4"] .plan-minutes,
:root[data-css-bundle="swiss-atlas-v4"] .plan-overage,
:root[data-css-bundle="swiss-atlas-v4"] .plan-desc,
:root[data-css-bundle="swiss-atlas-v4"] .plan-features li,
:root[data-css-bundle="swiss-atlas-v4"] .button,
:root[data-css-bundle="swiss-atlas-v4"] .pricing-note,
:root[data-css-bundle="swiss-atlas-v4"] .pricing-topups,
:root[data-css-bundle="swiss-atlas-v4"] .section-kicker-corporate,
:root[data-css-bundle="swiss-atlas-v4"] .agent-banner-corporate,
:root[data-css-bundle="swiss-atlas-v4"] .agent-subtitle-corporate,
:root[data-css-bundle="swiss-atlas-v4"] .agent-desc-corporate,
:root[data-css-bundle="swiss-atlas-v4"] .agent-features-corporate li,
:root[data-css-bundle="swiss-atlas-v4"] .agent-value-corporate {
    font-family: inherit !important;
}

/* When fonts loaded - apply to all text elements */
:root[data-css-bundle="swiss-atlas-v4"].fonts-loaded body,
:root[data-css-bundle="swiss-atlas-v4"].fonts-loaded {
    font-family: 'Inter', 'InterVariable', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Variable font support */
@supports (font-variation-settings: normal) {
    :root[data-css-bundle="swiss-atlas-v4"].fonts-loaded body,
    :root[data-css-bundle="swiss-atlas-v4"].fonts-loaded {
        font-family: 'InterVariable', 'Inter', sans-serif;
    }
}

/* Ensure headings keep their font (Epilogue remains unchanged) */
:root[data-css-bundle="swiss-atlas-v4"].fonts-loaded h1,
:root[data-css-bundle="swiss-atlas-v4"].fonts-loaded h2,
:root[data-css-bundle="swiss-atlas-v4"].fonts-loaded h3,
:root[data-css-bundle="swiss-atlas-v4"].fonts-loaded h4,
:root[data-css-bundle="swiss-atlas-v4"].fonts-loaded h5,
:root[data-css-bundle="swiss-atlas-v4"].fonts-loaded h6 {
    font-family: 'Epilogue', 'Inter', sans-serif;
}
