/* ==========================================================================
   GENERATED BUNDLE (HOME ONLY)
   Sources: assets/css/swiss-atlas-v4.css + assets/css/home-premium.css
   NOTE: Do not edit this file directly. Edit the sources and rebuild.
   ========================================================================= */

/* 
   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;
  box-sizing: border-box;
  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-new .pricing-grid-desktop {
    display: grid;
}

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

#pricing-new .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.5rem 1.5rem;
}

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

#pricing-new .pricing-slide {
    flex: 0 0 100%;
    min-width: 100%;
    scroll-snap-align: center;
}

@media (max-width: 640px) {
    /* Near full-bleed cards on phones (no nav arrows) */
    #pricing-new.section-corporate {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
        padding-left: max(0.5rem, env(safe-area-inset-left));
        padding-right: max(0.5rem, env(safe-area-inset-right));
    }

    #pricing-new.section-corporate > .container {
        padding-left: 0;
        padding-right: 0;
    }

    #pricing-new .pricing-slider {
        padding-left: 0;
        padding-right: 0;
    }
}

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

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

#pricing-new .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-new .pricing-dot:hover {
    background: #4F46E5;
    transform: scale(1.2);
}

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

/* Navigation Buttons */
#pricing-new .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-new .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-new .pricing-nav-btn:active {
    transform: translateY(-50%) scale(0.95);
}

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

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

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

#pricing-new .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-new .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-new .pricing-nav-btn:hover {
    background: #818CF8;
    color: #0F172A;
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) #pricing-new .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-new .pricing-nav-btn:hover {
        background: #818CF8;
        color: #0F172A;
    }
}

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

    #pricing-new .pricing-slider-container {
        display: block;
    }
    #pricing-new .pricing-nav-btn {
        display: none;
    }
}

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

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

    #pricing-new .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-slider-track .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;
}

/* ===== HOME PREMIUM (index.html) ===== */

/* ============================================================================
	   HOMEPAGE BUNDLE (index.html)
	   Moved from inline <style> blocks in api/templates/partials/*
	   Date: 2025-12-13
	   NOTE (2025-12-13): index.html serves `swiss-atlas-v4-home.css` (generated).
	   Edit this file + `assets/css/swiss-atlas-v4.css`, then rebuild via:
	   `scripts/css-build-home-bundle.sh`
	   ============================================================================ */

/* SOURCE: api/templates/partials/_hero.html */

/* ═══════════════════════════════════════════════════════════════════════════
   HERO v1.9 - Apple/Stripe/OpenAI Style
   Design tokens: single --indigo + neutrals
   Updates: More top air, H1-line2 smaller, Sub-H1 bigger, thinner outline CTA
   ═══════════════════════════════════════════════════════════════════════════ */

/* Design tokens + tunable gradient alphas */
.hero-v171 {
  --indigo: #6366F1;
  --indigo-strong: #4F46E5;
  --ink: #111827;
  --ink-500: #6B7280;
  --text-700: #374151;
  --text-500: #9CA3AF;
  --surface: #FFFFFF;
  /* Tunable gradient brightness (reduce to 0.12 if text drops below AA) */
  --hero-wash-alpha-1: 0.14;
  --hero-wash-alpha-2: 0.08;
}

[data-theme="dark"] .hero-v171 {
  --indigo: #818CF8;
  --indigo-strong: #6366F1;
  --ink: #F8FAFC;
  --ink-500: #94A3B8;
  --text-700: #CBD5E1;
  --text-500: #64748B;
  --surface: #0F172A;
  /* Reduced alpha for dark mode contrast */
  --hero-wash-alpha-1: 0.10;
  --hero-wash-alpha-2: 0.05;
}

/* Main hero section - v1.9: more top air */
.hero-v171 {
  position: relative;
  background: var(--surface);
  padding: clamp(84px, 10vh, 112px) 24px 72px; /* v1.9: More breathing room under navbar */
  overflow: visible;
}

/* Monotone indigo wash background v1.8.1 - brighter, tunable via CSS vars */
.hero-v171::before {
  content: '';
  position: absolute;
  inset: -8% -6% -12% -6%;
  background: linear-gradient(12deg, rgba(99,102,241,0.12) 0%, rgba(15,23,42,0.02) 65%);
  pointer-events: none;
  z-index: 0;
}

.hero-v171::after {
  content: '';
  position: absolute;
  width: 420px;
  height: 420px;
  top: 12%;
  right: 8%;
  background: radial-gradient(circle, rgba(99,102,241,0.18) 0%, rgba(255,255,255,0) 65%);
  filter: blur(6px);
  opacity: 0.7;
  pointer-events: none;
  z-index: 0;
}

/* Dark mode uses reduced alphas via CSS vars above */

/* Hero grid */
.hero-container-v171 {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 1;
}

@media (max-width: 1024px) {
  .hero-container-v171 {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* Content column */
.hero-content-v171 {
  max-width: 720px;
}

@media (max-width: 1024px) {
  .hero-content-v171 {
    text-align: center;
    margin: 0 auto;
  }
}

/* H1 - Two lines */
.hero-title-v171 {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0 0 12px;
  text-wrap: balance;
}

.hero-title-v171 .line1,
.hero-title-v171 .line2 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.hero-title-v171 .line1 {
  font-size: clamp(2.25rem, 4.5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
}

/* v1.9: H1-line2 at ~56% of line1 */
.hero-title-v171 .line2 {
  font-size: 56%; /* v1.9: Relative to line1, not fixed */
  font-weight: 450;
  line-height: 1.35;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #5B6070;
  margin-top: 10px;
}

@media (max-width: 768px) {
  .hero-title-v171 .line2 {
    font-size: 58%; /* Slightly larger on mobile for readability */
  }
}

/* Sub-H1 - v1.9: slightly bigger, more spacing */
.hero-sub-v171 {
  color: #374151;
  font-size: clamp(15px, 1.45vw, 19px); /* v1.9: bigger */
  max-width: 720px;
  line-height: 1.4;
  text-wrap: balance;
  margin: 14px 0 42px; /* v1.9: adjusted spacing */
}

.hero-sub-v171 .sub-main {
  color: #374151;
  font-weight: 400;
}

/* v1.9: Suffix lighter, not bold */
.hero-sub-v171 .suffix {
  color: #9CA3AF;
  font-weight: 400;
}

/* CTAs - solid primary, outline secondary */
.hero-ctas-v171 {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

@media (max-width: 1024px) {
  .hero-ctas-v171 {
    justify-content: center;
  }
}

/* Primary CTA - solid indigo */
.btn-hero-primary,
.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  padding: 14px 22px;
  min-height: 48px;
  text-decoration: none;
}

.btn-hero-primary {
  gap: 8px;
  background: var(--indigo);
  color: #fff;
  border: none;
  box-shadow: 0 18px 45px rgba(99,102,241,0.25);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.3s ease;
}

.btn-hero-primary:hover {
  background: var(--indigo-strong);
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 25px 60px rgba(99,102,241,0.35);
}

.btn-hero-primary svg,
.btn-hero-secondary svg {
  transition: transform 0.2s ease;
}

.btn-hero-primary:hover svg,
.btn-hero-secondary:hover svg {
  transform: translateX(3px);
}

/* Secondary CTA - v1.9: thinner outline */
.btn-hero-secondary {
  gap: 6px;
  background: transparent;
  color: var(--indigo);
  border: 1.25px solid rgba(99,102,241,0.55); /* v1.9: thinner, softer */
  box-shadow: 0 1px 0 rgba(99,102,241,0.06) inset;
  transition: all 0.2s ease;
}

.btn-hero-secondary:hover {
  background: rgba(99,102,241,0.06); /* v1.9: soft fill on hover */
}

[data-theme="dark"] .btn-hero-secondary:hover {
  background: rgba(99,102,241,0.15);
}

/* Microcopy */
.hero-microcopy-v171 {
  font-size: 0.875rem;
  color: var(--text-500);
  margin: 0 0 20px;
  font-weight: 400;
}

/* Feature strip - v1.9: adjusted gap */
.feature-strip-v171 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px 22px; /* v1.9: slightly increased */
  margin: 22px 0 0; /* v1.9: margin-top */
  padding: 0;
  list-style: none;
}

@media (max-width: 768px) {
  .feature-strip-v171 {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 16px;
  }
}

@media (max-width: 480px) {
  .feature-strip-v171 {
    grid-template-columns: 1fr;
  }
}

.feat {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-700);
}

@media (max-width: 1024px) {
  .feat {
    justify-content: flex-start;
    text-align: left;
  }
}

.feat .ico {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  stroke: var(--text-700);
  stroke-width: 1.7;
  fill: none;
}

.feat span {
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.4;
}

/* v1.9: Two-line Voice & Chat label */
.feat-voice .feat-label {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.feat-voice .feat-title {
  font-weight: 600;
  color: #374151;
  font-size: 0.875rem;
}

.feat-voice .feat-sub {
  font-size: 13px;
  color: #6B7280;
  margin-top: 2px;
  font-weight: 400;
}

[data-theme="dark"] .feat-voice .feat-title {
  color: #CBD5E1;
}

[data-theme="dark"] .feat-voice .feat-sub {
  color: #94A3B8;
}

/* Video column wrapper */
.hero-video-column {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Video card */
.hero-video-v171 {
  background: rgba(255,255,255,0.78);
  border-radius: 24px;
  box-shadow: 0 45px 120px rgba(15,23,42,0.25);
  padding: 22px;
  max-width: 600px;
  width: 100%;
  backdrop-filter: blur(38px);
  border: 1px solid rgba(255,255,255,0.5);
}

[data-theme="dark"] .hero-video-v171 {
  background: rgba(15,23,42,0.82);
  border-color: rgba(148,163,184,0.2);
  box-shadow: 0 45px 100px rgba(0,0,0,0.6);
}

@media (max-width: 1024px) {
  .hero-video-v171 {
    margin: 0 auto;
    max-width: 100%;
  }
}

.player-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  background: #F3F4F6;
  border-radius: 12px;
  overflow: hidden;
}

[data-theme="dark"] .player-wrapper {
  background: #0F172A;
}

.video-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-play-btn {
  width: 80px;
  height: 80px;
  background: var(--indigo);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(99,102,241,0.4);
}

.video-play-btn:hover {
  transform: scale(1.05);
  background: var(--indigo-strong);
  box-shadow: 0 12px 40px rgba(99,102,241,0.5);
}

.video-play-btn svg {
  color: #FFFFFF;
  margin-left: 4px;
}

.video-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
}


/* SOURCE: api/templates/partials/_use_cases.html */

.home-usecases {
  background: transparent;
  padding: 3.25rem 0 4.75rem;
  border-top: none;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

[data-theme="dark"] .home-usecases {
  background: transparent;
  border-top: none;
  border-bottom-color: rgba(148, 163, 184, 0.16);
}

.home-usecases-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.home-usecases-extra-links {
  margin-bottom: 18px;
}

.home-usecases-chip-link {
  text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.home-usecases-chip-link:hover {
  transform: translateY(-1px);
  border-color: rgba(79, 70, 229, 0.35);
  background: rgba(79, 70, 229, 0.08);
}

[data-theme="dark"] .home-usecases-chip-link:hover {
  border-color: rgba(129, 140, 248, 0.38);
  background: rgba(129, 140, 248, 0.12);
}

.home-usecases-title {
  margin: 0;
  font-family: "Epilogue", "Inter", sans-serif;
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #0f172a;
}

[data-theme="dark"] .home-usecases-title {
  color: #f8fafc;
}

.home-usecases-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.home-usecases-subtitle {
  margin: 0;
  max-width: 760px;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #475569;
}

[data-theme="dark"] .home-usecases-subtitle {
  color: #cbd5e1;
}

.home-usecases-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.home-usecases-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  padding: 22px;
  border-radius: 22px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.06);
  text-decoration: none;
  color: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

[data-theme="dark"] .home-usecases-tile {
  border-color: rgba(148, 163, 184, 0.2);
  background: rgba(15, 23, 42, 0.65);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
}

.home-usecases-tile:hover {
  transform: translateY(-2px);
  border-color: rgba(99, 102, 241, 0.25);
  box-shadow: 0 22px 56px rgba(15, 23, 42, 0.1);
}

[data-theme="dark"] .home-usecases-tile:hover {
  border-color: rgba(129, 140, 248, 0.35);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.home-usecases-tile:focus-visible {
  outline: 3px solid rgba(99, 102, 241, 0.35);
  outline-offset: 3px;
}

.home-usecases-tile-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.home-usecases-icon {
  width: 36px;
  height: 36px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(99, 102, 241, 0.08);
  color: #4f46e5;
  flex: 0 0 auto;
}

[data-theme="dark"] .home-usecases-icon {
  background: rgba(129, 140, 248, 0.14);
  color: #a5b4fc;
}

.home-usecases-icon svg {
  width: 18px;
  height: 18px;
}

.home-usecases-tile-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #0f172a;
}

[data-theme="dark"] .home-usecases-tile-title {
  color: #f8fafc;
}

.home-usecases-tile-line,
.home-usecases-tile-subline {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.55;
  color: #475569;
}

[data-theme="dark"] .home-usecases-tile-line,
[data-theme="dark"] .home-usecases-tile-subline {
  color: #cbd5e1;
}

.home-usecases-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.home-usecases-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #334155;
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

[data-theme="dark"] .home-usecases-chip {
  color: #e2e8f0;
  background: rgba(148, 163, 184, 0.12);
  border-color: rgba(148, 163, 184, 0.18);
}

.home-usecases-badge {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.4;
  color: #64748b;
}

[data-theme="dark"] .home-usecases-badge {
  color: #94a3b8;
  border-top-color: rgba(148, 163, 184, 0.22);
}

.home-usecases-tile-other {
  grid-column: 1 / -1;
}

.home-usecases-tile-other .home-usecases-tile-top {
  align-items: center;
}

.home-usecases-chevron {
  margin-left: auto;
  width: 34px;
  height: 34px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(15, 23, 42, 0.06);
  color: #64748b;
  flex: 0 0 auto;
}

[data-theme="dark"] .home-usecases-chevron {
  background: rgba(148, 163, 184, 0.12);
  border-color: rgba(148, 163, 184, 0.18);
  color: #cbd5e1;
}

.home-usecases-chevron svg {
  width: 16px;
  height: 16px;
}

@media (max-width: 1024px) {
  .home-usecases-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .home-usecases {
    padding: 2.75rem 0 3.75rem;
  }

  .home-usecases-header {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 22px;
  }

  .home-usecases-title {
    font-size: 1.9rem;
  }

  .home-usecases-subtitle {
    font-size: 1rem;
  }

  .home-usecases-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .home-usecases-tile {
    padding: 18px;
    border-radius: 20px;
  }

  .home-usecases-tile-other {
    grid-column: auto;
  }
}


/* SOURCE: api/templates/partials/_roi_mini.html */

.roi-enterprise {
    border-radius: 28px;
    padding: 48px;
    background: #ffffff;
    border: 1px solid rgba(15,23,42,0.08);
    box-shadow: 0 24px 60px rgba(15,23,42,0.06);
    color: #0f172a;
}

[data-theme="dark"] .roi-enterprise {
    background: #0f172a;
    border-color: rgba(248,250,252,0.12);
    box-shadow: 0 24px 60px rgba(0,0,0,0.45);
    color: #f8fafc;
}

.roi-container {
    display: grid;
    grid-template-columns: minmax(220px,0.85fr) minmax(220px,1fr) minmax(220px,0.85fr);
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: stretch;
}

.roi-value {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.roi-value .roi-kicker {
    letter-spacing: 0.3em;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: rgba(15,23,42,0.55);
}

[data-theme="dark"] .roi-value .roi-kicker {
    color: rgba(248,250,252,0.65);
}

.roi-headline {
    margin: 0;
    font-size: 2rem;
    line-height: 1.2;
}

.roi-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 16px;
}

.roi-metric {
    border-radius: 18px;
    border: 1px solid rgba(15,23,42,0.08);
    background: #f8fafc;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

[data-theme="dark"] .roi-metric {
    border-color: rgba(248,250,252,0.12);
    background: rgba(255,255,255,0.04);
}

.roi-metric-value {
    font-family: 'Epilogue', sans-serif;
    font-size: 1.9rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: #0f172a;
}

[data-theme="dark"] .roi-metric-value {
    color: #f8fafc;
}

.roi-metric-label {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.7rem;
    color: rgba(15,23,42,0.55);
}

[data-theme="dark"] .roi-metric-label {
    color: rgba(248,250,252,0.65);
}

.roi-savings {
    border-radius: 20px;
    padding: 24px;
    background: #fdfdfd;
    border: 1px solid rgba(15,23,42,0.08);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

[data-theme="dark"] .roi-savings {
    background: rgba(15,23,42,0.85);
    border-color: rgba(248,250,252,0.12);
}

.roi-calc {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.roi-calc-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.95rem;
    color: #475569;
}

[data-theme="dark"] .roi-calc-row {
    color: rgba(248,250,252,0.8);
}

.roi-calc-old {
    text-decoration: line-through;
    opacity: 0.65;
}

.roi-calc-new {
    font-weight: 600;
    color: #0f172a;
}

[data-theme="dark"] .roi-calc-new {
    color: #f8fafc;
}

.roi-total {
    border-top: 1px solid rgba(15,23,42,0.08);
    padding-top: 16px;
}

[data-theme="dark"] .roi-total {
    border-top-color: rgba(248,250,252,0.15);
}

.roi-total-label {
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-size: 0.7rem;
    color: rgba(15,23,42,0.55);
}

[data-theme="dark"] .roi-total-label {
    color: rgba(248,250,252,0.65);
}

.roi-total-value {
    display: block;
    font-family: 'Epilogue', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    margin-top: 6px;
    color: #0f172a;
}

[data-theme="dark"] .roi-total-value {
    color: #f8fafc;
}

@media (max-width: 1024px) {
    .roi-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .roi-enterprise {
        padding: 32px;
    }

    .roi-container {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .roi-headline {
        font-size: 1.75rem;
    }
}


/* SOURCE: api/templates/partials/_pricing_teaser.html */

#pricing-new .plan-ribbon {
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 0.65rem;
  font-weight: 600;
  color: rgba(15, 23, 42, 0.65);
}

#pricing-new .pricing-card-corporate .plan-desc {
  max-width: 18ch;
  text-wrap: balance;
  line-height: 1.4;
  color: rgba(15, 23, 42, 0.75);
}

[data-theme="dark"] #pricing-new .pricing-card-corporate .plan-desc {
  color: rgba(248, 250, 252, 0.8);
}

#pricing-new .plan-features li span {
  font-size: 0.92rem;
  letter-spacing: 0.01em;
}

#pricing-new .pricing-card-corporate:not(.featured) .button {
  background: transparent;
  color: #0f172a;
  border: 1px solid rgba(15, 23, 42, 0.2);
  mix-blend-mode: multiply;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

#pricing-new .pricing-card-corporate:not(.featured) .button:hover {
  background: rgba(15, 23, 42, 0.04);
  border-color: rgba(15, 23, 42, 0.4);
}

[data-theme="dark"] #pricing-new .pricing-card-corporate:not(.featured) .button {
  color: #f8fafc;
  border-color: rgba(148, 163, 184, 0.3);
  mix-blend-mode: normal;
}

#pricing-new .pricing-card-corporate.featured {
  box-shadow: 0 35px 90px rgba(99, 102, 241, 0.2);
}

#pricing-new .pricing-card-corporate.featured .button-primary {
  border-radius: 999px;
  padding-inline: 32px;
}

#pricing-new .pricing-slider .pricing-card-corporate {
  border-radius: 28px;
}

#pricing-new .section-header-corporate {
  text-align: left;
}

#pricing-new .section-subtitle-corporate {
  max-width: 42ch;
  text-wrap: balance;
}


/* SOURCE: api/templates/partials/_google_integration.html */

.google-premium {
    max-width: 1200px;
    margin: 3rem auto;
    border-radius: 32px;
    padding: 48px;
    background: #ffffff;
    border: 1px solid rgba(15,23,42,0.08);
    box-shadow: 0 24px 60px rgba(15,23,42,0.06);
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .google-premium {
    background: #0f172a;
    border-color: rgba(248,250,252,0.12);
    box-shadow: 0 24px 60px rgba(0,0,0,0.45);
}

.google-inner {
    display: grid;
    grid-template-columns: minmax(260px,0.95fr) minmax(320px,1.05fr);
    gap: 48px;
    align-items: center;
    padding: 0 0.5rem;
}

.google-card-visual {
    border-radius: 24px;
    padding: 28px;
    background: #f8fafc;
    border: 1px solid rgba(15,23,42,0.08);
    box-shadow: none;
}

[data-theme="dark"] .google-card-visual {
    background: rgba(255,255,255,0.03);
    border-color: rgba(248,250,252,0.12);
}

.visual-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-size: 0.7rem;
    color: rgba(15,23,42,0.6);
}

[data-theme="dark"] .visual-status {
    color: rgba(248,250,252,0.78);
}

.visual-chip {
    border-radius: 999px;
    padding: 6px 12px;
    border: 1px solid rgba(99,102,241,0.3);
    font-weight: 600;
}

.visual-body {
    margin: 28px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.visual-pill {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 16px;
    border: 1px solid rgba(15,23,42,0.08);
    background: #fff;
    padding: 14px 18px;
    font-size: 0.95rem;
}

[data-theme="dark"] .visual-pill {
    border-color: rgba(248,250,252,0.12);
    background: rgba(255,255,255,0.04);
}

.visual-footer {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: rgba(15,23,42,0.55);
}

[data-theme="dark"] .visual-footer {
    color: rgba(248,250,252,0.75);
}

.google-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.google-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.google-explainer {
    margin: 0;
    font-size: 1rem;
    color: #475569;
}

[data-theme="dark"] .google-explainer {
    color: rgba(248,250,252,0.75);
}

.google-pills {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}

.google-pill {
    border-radius: 999px;
    padding: 10px 18px;
    border: 1px solid rgba(15,23,42,0.1);
    background: #ffffff;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #0f172a;
}

[data-theme="dark"] .google-pill {
    border-color: rgba(248,250,252,0.2);
    background: rgba(255,255,255,0.04);
    color: #f8fafc;
}

.google-secure {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

.secure-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 999px;
    padding: 6px 12px;
    border: 1px solid rgba(15,23,42,0.12);
    font-size: 0.85rem;
}

.sync-live {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #475569;
}

[data-theme="dark"] .sync-live {
    color: rgba(248,250,252,0.75);
}

.live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 10px rgba(16,185,129,0.6);
}

@media (max-width: 1024px) {
    .google-inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .google-premium {
        padding: 32px;
    }
}


/* SOURCE: api/templates/partials/_security_strip.html */

.section-corporate.security-strip-section {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.03) 0%, rgba(99, 102, 241, 0.02) 100%) !important;
    transition: background 0.3s ease;
    padding: 4rem 0 !important;
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .section-corporate.security-strip-section {
        background: linear-gradient(135deg, rgba(79, 70, 229, 0.08) 0%, rgba(99, 102, 241, 0.05) 100%) !important;
    }
}

[data-theme="dark"] .section-corporate.security-strip-section {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.08) 0%, rgba(99, 102, 241, 0.05) 100%) !important;
}

.security-timeline {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    counter-reset: securityStep;
    position: relative;
}

.security-timeline::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(15,23,42,0.08);
}

.security-card {
    position: relative;
    border-radius: 24px;
    padding: 28px;
    background: #fff;
    box-shadow: 0 16px 45px rgba(15,23,42,0.08);
    border: 1px solid rgba(15,23,42,0.08);
    counter-increment: securityStep;
}

.security-card::before {
    content: '0' counter(securityStep);
    position: absolute;
    top: -18px;
    left: 28px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    color: rgba(15,23,42,0.45);
}

[data-theme="dark"] .security-card {
    background: #0f172a;
    border-color: rgba(148,163,184,0.2);
    box-shadow: 0 20px 60px rgba(0,0,0,0.45);
}

.security-icon-container {
    width: 44px;
    height: 44px;
    margin: 0 auto 1rem;
    background: rgba(79, 70, 229, 0.08);
    border-radius: 0.625rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

[data-theme="dark"] .security-icon-container {
    background: rgba(129, 140, 248, 0.12);
}

.security-icon {
    width: 22px;
    height: 22px;
    stroke: #4f46e5;
}

[data-theme="dark"] .security-icon {
    stroke: #818cf8;
}

.security-title {
    margin-top: 16px;
    font-size: 1.05rem;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    color: #0f172a;
}

[data-theme="dark"] .security-title {
    color: #f8fafc;
}

.security-desc {
    margin-top: 6px;
    color: #6b7280;
    font-family: 'Inter', sans-serif;
}

[data-theme="dark"] .security-desc {
    color: rgba(248,250,252,0.7);
}


/* SOURCE: api/templates/partials/_final_cta.html */

.cta-enterprise {
    border-radius: 36px;
    background: linear-gradient(130deg, #ffffff, #f4f5fb 65%, #eef2ff);
    padding: 56px;
    color: #0f172a;
    position: relative;
    overflow: hidden;
    box-shadow: 0 35px 90px rgba(15,23,42,0.08);
}

.cta-enterprise::after {
    content: '';
    position: absolute;
    inset: auto -10% -40% 30%;
    height: 240px;
    background: radial-gradient(circle, rgba(99,102,241,0.25), transparent 65%);
    opacity: 0.7;
}

[data-theme="dark"] .cta-enterprise {
    background: linear-gradient(130deg, #0f172a, #111827 60%, #1e293b);
    color: #f8fafc;
    box-shadow: none;
}

[data-theme="dark"] .cta-enterprise::after {
    background: radial-gradient(circle, rgba(99,102,241,0.4), transparent 65%);
}

.cta-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 32px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.cta-message h2 {
    text-wrap: balance;
    margin: 0 0 0.25rem 0;
    font-size: 1.25rem;
}

.cta-message p {
    margin: 0;
    font-size: 0.875rem;
    opacity: 0.7;
}

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

.cta-button-enterprise {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 999px;
    padding: 14px 28px;
    font-weight: 600;
    font-size: 1rem;
    border: 1px solid transparent;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.cta-button-enterprise.primary {
    background: linear-gradient(120deg, #4c51bf, #7c3aed);
    color: #fff;
    box-shadow: 0 25px 65px rgba(124,58,237,0.25);
}

[data-theme="dark"] .cta-button-enterprise.primary {
    box-shadow: 0 25px 65px rgba(129,140,248,0.35);
}

.cta-button-enterprise.primary:hover {
    transform: translateY(-2px);
}

.cta-button-enterprise.ghost {
    border-color: rgba(79,70,229,0.2);
    color: #0f172a;
    background: rgba(255,255,255,0.8);
}

[data-theme="dark"] .cta-button-enterprise.ghost {
    border-color: rgba(248,250,252,0.2);
    color: #f8fafc;
    background: transparent;
}

.cta-trust {
    grid-column: span 2;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    font-size: 0.7rem;
    color: rgba(15,23,42,0.5);
}

[data-theme="dark"] .cta-trust {
    color: rgba(248,250,252,0.7);
}

.trust-badge {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.5rem;
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
    opacity: 0.85;
}

[data-theme="dark"] .trust-badge {
    background: rgba(0,0,0,0.2);
}

@media (max-width: 900px) {
    .cta-enterprise {
        padding: 36px;
    }

    .cta-container {
        grid-template-columns: 1fr;
    }

    .cta-trust {
        grid-column: span 1;
    }

    .cta-container {
        text-align: center;
    }

    .cta-actions {
        justify-content: center;
    }

    .cta-trust {
        justify-content: center;
    }
}


/* SOURCE: api/templates/partials/_case_study_teaser.html */

.case-wrapper {
    display: grid;
    grid-template-columns: minmax(220px,0.85fr) minmax(320px,1.1fr) minmax(220px,0.8fr);
    gap: 32px;
    align-items: stretch;
}

.case-visual {
    border-radius: 24px;
    background: #f8fafc;
    border: 1px solid rgba(15,23,42,0.08);
    padding: 28px;
}

[data-theme="dark"] .case-visual {
    background: rgba(255,255,255,0.03);
    border-color: rgba(248,250,252,0.12);
}

.case-portrait {
    border-radius: 20px;
    border: 1px solid rgba(15,23,42,0.08);
    background: #ffffff;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

[data-theme="dark"] .case-portrait {
    background: rgba(255,255,255,0.02);
    border-color: rgba(248,250,252,0.12);
}

.case-preview-window {
    border-radius: 16px;
    border: 1px solid rgba(15,23,42,0.10);
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(15,23,42,0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 340px;
}

[data-theme="dark"] .case-preview-window {
    background: rgba(15,23,42,0.55);
    border-color: rgba(148,163,184,0.18);
    box-shadow: none;
}

.case-preview-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    background: #f8fafc;
    border-bottom: 1px solid rgba(15,23,42,0.08);
    font-size: 0.75rem;
    color: rgba(15,23,42,0.65);
}

[data-theme="dark"] .case-preview-topbar {
    background: rgba(255,255,255,0.04);
    border-bottom-color: rgba(148,163,184,0.14);
    color: rgba(248,250,252,0.72);
}

.case-preview-dots {
    display: flex;
    gap: 6px;
    flex: 0 0 auto;
}

.case-preview-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(15,23,42,0.18);
}

[data-theme="dark"] .case-preview-dots span {
    background: rgba(248,250,252,0.2);
}

.case-preview-title {
    font-weight: 650;
    letter-spacing: -0.01em;
    color: #0f172a;
}

[data-theme="dark"] .case-preview-title {
    color: #f8fafc;
}

.case-preview-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid rgba(16,185,129,0.25);
    background: rgba(16,185,129,0.10);
    color: #065f46;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 0.62rem;
    flex: 0 0 auto;
}

.case-preview-status::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #10b981;
    box-shadow: 0 0 0 2px rgba(16,185,129,0.18);
}

[data-theme="dark"] .case-preview-status {
    border-color: rgba(16,185,129,0.30);
    background: rgba(16,185,129,0.14);
    color: rgba(134,239,172,0.95);
}

.case-preview-thread {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    background: linear-gradient(180deg, rgba(248,250,252,0.70), rgba(255,255,255,1));
}

[data-theme="dark"] .case-preview-thread {
    background: linear-gradient(180deg, rgba(15,23,42,0), rgba(15,23,42,0.35));
}

.case-preview-msg {
    max-width: 92%;
    border-radius: 14px;
    padding: 10px 12px;
    font-size: 0.82rem;
    line-height: 1.35;
    border: 1px solid rgba(15,23,42,0.10);
    color: rgba(15,23,42,0.88);
    background: #ffffff;
}

.case-preview-msg-user {
    align-self: flex-end;
    background: #f8fafc;
    border-color: rgba(15,23,42,0.08);
}

.case-preview-msg-ai {
    align-self: flex-start;
    background: rgba(99,102,241,0.10);
    border-color: rgba(99,102,241,0.22);
}

[data-theme="dark"] .case-preview-msg {
    background: rgba(255,255,255,0.04);
    border-color: rgba(148,163,184,0.18);
    color: rgba(248,250,252,0.86);
}

[data-theme="dark"] .case-preview-msg-user {
    background: rgba(255,255,255,0.03);
}

[data-theme="dark"] .case-preview-msg-ai {
    background: rgba(129,140,248,0.14);
    border-color: rgba(129,140,248,0.24);
}

.case-preview-event {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border-radius: 14px;
    padding: 10px 12px;
    border: 1px solid rgba(16,185,129,0.22);
    background: rgba(16,185,129,0.08);
}

.case-preview-event-icon {
    width: 28px;
    height: 28px;
    border-radius: 10px;
    background: rgba(16,185,129,0.18);
    color: #16a34a;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
}

.case-preview-event-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.case-preview-event-title {
    font-weight: 650;
    font-size: 0.82rem;
    line-height: 1.25;
    color: #0f172a;
}

.case-preview-event-sub {
    font-size: 0.74rem;
    line-height: 1.25;
    color: rgba(15,23,42,0.65);
}

[data-theme="dark"] .case-preview-event {
    border-color: rgba(16,185,129,0.22);
    background: rgba(16,185,129,0.12);
}

[data-theme="dark"] .case-preview-event-icon {
    background: rgba(16,185,129,0.18);
    color: rgba(134,239,172,0.95);
}

[data-theme="dark"] .case-preview-event-title {
    color: #f8fafc;
}

[data-theme="dark"] .case-preview-event-sub {
    color: rgba(248,250,252,0.72);
}

.case-preview-input {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-top: 1px solid rgba(15,23,42,0.08);
    background: #ffffff;
}

[data-theme="dark"] .case-preview-input {
    background: rgba(255,255,255,0.03);
    border-top-color: rgba(148,163,184,0.14);
}

.case-preview-placeholder {
    height: 10px;
    border-radius: 999px;
    background: rgba(15,23,42,0.08);
    flex: 1;
}

[data-theme="dark"] .case-preview-placeholder {
    background: rgba(248,250,252,0.14);
}

.case-preview-send {
    width: 32px;
    height: 32px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(99,102,241,0.10);
    border: 1px solid rgba(99,102,241,0.22);
    color: #4f46e5;
    flex: 0 0 auto;
}

[data-theme="dark"] .case-preview-send {
    background: rgba(129,140,248,0.14);
    border-color: rgba(129,140,248,0.26);
    color: rgba(224,231,255,0.95);
}

.case-portrait-note {
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(15,23,42,0.55);
}

[data-theme="dark"] .case-portrait-note {
    color: rgba(248,250,252,0.65);
}

.case-card,
.case-impact {
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid rgba(15,23,42,0.08);
    box-shadow: none;
    padding: 32px;
}

[data-theme="dark"] .case-card,
[data-theme="dark"] .case-impact {
    background: rgba(255,255,255,0.03);
    border-color: rgba(248,250,252,0.12);
    color: #f8fafc;
}

.case-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.case-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 999px;
    padding: 6px 12px;
    border: 1px solid rgba(15,23,42,0.12);
    font-size: 0.85rem;
}

.case-card blockquote {
    margin: 18px 0;
    font-size: 1.05rem;
    line-height: 1.6;
    color: #334155;
}

[data-theme="dark"] .case-card blockquote {
    color: rgba(248,250,252,0.85);
}

.case-author-block {
    display: flex;
    align-items: center;
    gap: 14px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #eef2ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #4338ca;
}

[data-theme="dark"] .author-avatar {
    background: rgba(99,102,241,0.2);
    color: #c7d2fe;
}

.case-impact {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}

.impact-item {
    border: 1px solid rgba(15,23,42,0.1);
    border-radius: 18px;
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

[data-theme="dark"] .impact-item {
    border-color: rgba(248,250,252,0.15);
}

.impact-value {
    font-size: 1.8rem;
    font-weight: 600;
    color: #0f172a;
}

[data-theme="dark"] .impact-value {
    color: #f8fafc;
}

.impact-label {
    font-size: 0.78rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(15,23,42,0.55);
}

[data-theme="dark"] .impact-label {
    color: rgba(248,250,252,0.7);
}

@media (max-width: 1200px) {
    .case-wrapper {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .case-wrapper {
        grid-template-columns: 1fr;
    }

    .case-card,
    .case-impact,
    .case-visual {
        padding: 24px;
    }
}

/* Premium animations (opt-in via body[data-premium-anim="on"]) */

@keyframes hero-waves {
  0%   { transform: translate3d(0,0,0) scale(1); opacity: 0.9; }
  50%  { transform: translate3d(10px,-12px,0) scale(1.03); opacity: 1; }
  100% { transform: translate3d(-6px,8px,0) scale(1); opacity: 0.9; }
}

@keyframes glow-shift {
  0%   { box-shadow: 0 20px 40px rgba(99,102,241,0.14), 0 0 0 0 rgba(99,102,241,0.15); }
  50%  { box-shadow: 0 26px 54px rgba(99,102,241,0.22), 0 0 0 10px rgba(99,102,241,0.08); }
  100% { box-shadow: 0 20px 40px rgba(99,102,241,0.14), 0 0 0 0 rgba(99,102,241,0.15); }
}

@keyframes float-chip {
  0%   { transform: translate3d(0,0,0); }
  50%  { transform: translate3d(0,-7px,0); }
  100% { transform: translate3d(0,0,0); }
}

@keyframes ripple {
  from { box-shadow: 0 0 0 0 rgba(99,102,241,0.28); }
  to   { box-shadow: 0 0 0 18px rgba(99,102,241,0); }
}

body[data-premium-anim="on"] .hero-v171::before {
  animation: hero-waves 16s ease-in-out infinite;
}
body[data-premium-anim="on"] .hero-v171::after {
  animation: hero-waves 12s ease-in-out infinite reverse;
}

body[data-premium-anim="on"] .btn-hero-primary {
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 16px 36px rgba(99,102,241,0.25);
}
body[data-premium-anim="on"] .btn-hero-primary:hover {
  transform: translateY(-2px) scale(1.01);
  filter: brightness(1.03);
  box-shadow: 0 20px 44px rgba(99,102,241,0.32);
}
body[data-premium-anim="on"] .btn-hero-primary:active {
  transform: translateY(0) scale(0.995);
}
body[data-premium-anim="on"] .btn-hero-primary::after {
  content: "";
  position: absolute;
  inset: -20%;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 60%);
  opacity: 0;
  transition: opacity 0.2s ease;
}
body[data-premium-anim="on"] .btn-hero-primary:hover::after {
  opacity: 0.6;
}
body[data-premium-anim="on"] .btn-hero-primary:focus-visible {
  animation: ripple 0.7s ease-out;
}
body[data-premium-anim="on"] .btn-hero-primary.hp-pulse {
  animation: glow-shift 6s ease-in-out infinite;
}

body[data-premium-anim="on"] .btn-hero-secondary {
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  box-shadow: 0 10px 24px rgba(15,23,42,0.08);
}
body[data-premium-anim="on"] .btn-hero-secondary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(15,23,42,0.12);
}

/* Reveal on scroll */
body[data-premium-anim="on"] .hp-reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
body[data-premium-anim="on"] .hp-reveal.hp-visible {
  opacity: 1;
  transform: translateY(0);
}
body[data-premium-anim="on"] .hp-reveal.hp-delay-1 { transition-delay: 0.08s; }
body[data-premium-anim="on"] .hp-reveal.hp-delay-2 { transition-delay: 0.16s; }

/* Feature strip micro float */
body[data-premium-anim="on"] .feature-strip-v171 .feat {
  position: relative;
}
body[data-premium-anim="on"] .feature-strip-v171 .feat .ico {
  transition: transform 0.25s ease;
}
body[data-premium-anim="on"] .feature-strip-v171 .feat:hover .ico {
  transform: translateY(-3px);
}
body[data-premium-anim="on"] .feature-strip-v171 .feat:nth-child(odd) {
  animation: float-chip 7s ease-in-out infinite;
}
body[data-premium-anim="on"] .feature-strip-v171 .feat:nth-child(even) {
  animation: float-chip 8s ease-in-out infinite reverse;
}

/* Video card glow */
body[data-premium-anim="on"] .hero-video-v171 .player-wrapper {
  animation: glow-shift 8s ease-in-out infinite;
}

/* Sticky nav glass effect on scroll */
body[data-premium-anim="on"] header {
  transition: backdrop-filter 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}
body[data-premium-anim="on"] header.nav-glass {
  backdrop-filter: blur(18px);
  background: rgba(255,255,255,0.72);
  box-shadow: 0 14px 30px rgba(15,23,42,0.12);
}
body[data-theme="dark"][data-premium-anim="on"] header.nav-glass {
  background: rgba(15,23,42,0.75);
  box-shadow: 0 14px 30px rgba(0,0,0,0.28);
}

/* Scroll cue */
body[data-premium-anim="on"] .scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-500, #6b7280);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: float-chip 3s ease-in-out infinite;
}
body[data-theme="dark"][data-premium-anim="on"] .scroll-cue {
  color: #94a3b8;
}
