/* ==========================================================================
   ALTEZIA - Main Stylesheet
   Version: 2.0 - Full IA Orientation + Dark Mode
   ========================================================================== */

/* ==========================================================================
   CSS VARIABLES - Light Mode (Default)
   ========================================================================== */
:root {
    /* Colors - Light Mode */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fc;
    --bg-tertiary: #f1f3f9;
    --surface: #ffffff;
    --surface-elevated: #ffffff;

    /* Text Colors - Light Mode */
    --text-primary: #0f0f12;
    --text-secondary: #5a5a72;
    --text-muted: #8b8ba7;
    --text-inverse: #ffffff;

    /* Border Colors */
    --border: #e5e7eb;
    --border-light: #f1f3f9;

    /* Accent Colors */
    --accent: #8b5cf6;
    --accent-light: rgba(139, 92, 246, 0.1);
    --accent-hover: #7c3aed;

    /* Status Colors */
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    --info: #3b82f6;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #8b5cf6 0%, #06b6d4 100%);
    --gradient-bg: linear-gradient(180deg, #f8f9fc 0%, #ffffff 100%);

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);

    /* Card Glow */
    --card-glow: rgba(139, 92, 246, 0.15);

    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;

    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 200ms ease;
    --transition-slow: 300ms ease;
}

/* ==========================================================================
   DARK MODE
   ========================================================================== */
[data-theme="dark"] {
    /* Colors - Dark Mode */
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-tertiary: #1a1a25;
    --surface: #16161f;
    --surface-elevated: #1e1e28;

    /* Text Colors - Dark Mode - IMPORTANT: Light text on dark bg */
    --text-primary: #f5f5f7;
    --text-secondary: #a1a1b5;
    --text-muted: #6b6b80;
    --text-inverse: #0f0f12;

    /* Border Colors - Dark Mode */
    --border: #2a2a3a;
    --border-light: #1e1e28;

    /* Accent Colors - Slightly brighter for dark mode */
    --accent: #a78bfa;
    --accent-light: rgba(167, 139, 250, 0.15);
    --accent-hover: #8b5cf6;

    /* Gradients - Dark Mode */
    --gradient-bg: linear-gradient(180deg, #0a0a0f 0%, #12121a 100%);

    /* Shadows - Dark Mode */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.6);

    /* Card Glow - Dark Mode */
    --card-glow: rgba(167, 139, 250, 0.2);
}

/* ==========================================================================
   BASE STYLES
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color var(--transition-slow), color var(--transition-slow);
/* Image Reset */
img, video, svg {
    max-width: 100%;
    height: auto;
}

}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
.h1, h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.h2, h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--text-primary);
}

.h3, h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-primary);
}

.h4, h4 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    font-weight: 600;
    line-height: 1.4;
    color: var(--text-primary);
}

.body-large {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.body-base {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.body-small {
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--text-secondary);
}

.label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

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

.text-accent { color: var(--accent); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }

/* ==========================================================================
   LAYOUT
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 5rem 0;
}

/* ==========================================================================
   THEME TOGGLE BUTTON
   ========================================================================== */
.theme-toggle-DISABLED {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-base);
}

.theme-toggle:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border-color: var(--accent);
}

.theme-toggle .icon-sun {
    display: none;
}

.theme-toggle .icon-moon {
    display: block;
    color: #6366f1;
}

[data-theme="dark"] .theme-toggle .icon-sun {
    display: block;
    color: #fbbf24;
}

[data-theme="dark"] .theme-toggle .icon-moon {
    display: none;
}
   NAVIGATION
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: all var(--transition-base);
}

[data-theme="dark"] .navbar {
    background: rgba(10, 10, 15, 0.8);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo-img {
    height: 32px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    transition: color var(--transition-fast);
}

.nav-menu a:hover {
    color: var(--text-primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition-fast);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-primary);
    padding: 2rem;
    flex-direction: column;
    gap: 1.5rem;
    z-index: 999;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 500;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius-lg);
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition-base);
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 14px rgba(139, 92, 246, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.5);
}

.btn-secondary {
    background: var(--surface);
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--bg-tertiary);
    border-color: var(--accent);
}

.btn-sm { padding: 0.5rem 1rem; font-size: 0.875rem; }
.btn-lg { padding: 1rem 2rem; font-size: 1rem; }
.btn-xl { padding: 1.125rem 2.25rem; font-size: 1.0625rem; }

/* ==========================================================================
   BADGES
   ========================================================================== */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    background: var(--accent-light);
    color: var(--accent);
}

.badge-primary {
    background: var(--accent-light);
    color: var(--accent);
}

.badge-success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.badge-warning {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 72px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.4;
}

.hero-glow-1 {
    top: 10%;
    left: 20%;
    width: 600px;
    height: 600px;
    background: rgba(139, 92, 246, 0.3);
}

.hero-glow-2 {
    bottom: 20%;
    right: 10%;
    width: 400px;
    height: 400px;
    background: rgba(6, 182, 212, 0.3);
}

.grid-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--border-light) 1px, transparent 1px),
        linear-gradient(90deg, var(--border-light) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.5;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 4rem 0;
}

.hero-content .h1 {
    margin: 1.5rem 0;
}

.hero-content .body-large {
    margin-bottom: 2rem;
}

.cta-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.stat-divider {
    width: 1px;
    background: var(--border);
}

/* ==========================================================================
   TRUST BAR
   ========================================================================== */
.trust-bar {
    padding: 3rem 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.logo-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 3rem;
    margin-top: 1.5rem;
}

.logo-item {
    opacity: 0.6;
    transition: opacity var(--transition-base);
}

.logo-item:hover {
    opacity: 1;
}

/* ==========================================================================
   SECTION HEADER
   ========================================================================== */
.section-header {
    max-width: 700px;
    margin: 0 auto 3rem;
}

.section-header .label {
    display: block;
    margin-bottom: 1rem;
}

.section-header .h2 {
    margin-bottom: 1rem;
}

/* ==========================================================================
   CARDS
   ========================================================================== */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 2rem;
    transition: all var(--transition-base);
}

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

.card-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.card-icon.bg-violet {
    background: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
}

.card-icon.bg-cyan {
    background: rgba(6, 182, 212, 0.1);
    color: #06b6d4;
}

.card-icon.bg-green {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.card .h4 {
    margin-bottom: 1rem;
}

.feature-list {
    list-style: none;
    margin-top: 1.5rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

.check-icon {
    color: var(--success);
    flex-shrink: 0;
}

/* ==========================================================================
   DEMO SECTION
   ========================================================================== */
.demo-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, transparent 0%, var(--bg-secondary) 50%, transparent 100%);
}

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

.demo-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 2rem;
    text-align: center;
    position: relative;
    transition: all var(--transition-base);
}

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

.demo-step {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 32px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
}

.demo-card-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.demo-card-content p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.hover-lift {
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.hover-lift:hover {
    transform: translateY(-4px);
}

/* ==========================================================================
   SOLUTIONS GRID
   ========================================================================== */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.solution-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    text-decoration: none;
    transition: all var(--transition-base);
}

.solution-card:hover {
    transform: translateX(4px);
    border-color: var(--accent);
    background: var(--surface-elevated);
}

.solution-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-lg);
    background: var(--accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
}

.solution-content {
    flex: 1;
}

.solution-content .h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.solution-tags {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.tag {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    background: var(--bg-tertiary);
    border-radius: var(--radius-full);
    color: var(--text-muted);
}

.arrow-icon {
    color: var(--text-muted);
    transition: transform var(--transition-fast);
}

.solution-card:hover .arrow-icon {
    transform: translateX(4px);
    color: var(--accent);
}

/* ==========================================================================
   PROCESS STEPS
   ========================================================================== */
.process-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 2rem;
}

.process-step {
    flex: 1;
    max-width: 280px;
    text-align: center;
}

.step-number {
    width: 48px;
    height: 48px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 1.25rem;
}

.step-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    background: var(--accent-light);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.process-step .h4 {
    margin-bottom: 1rem;
}

.step-badge {
    margin-top: 1.5rem;
}

.step-connector {
    display: flex;
    align-items: center;
    padding-top: 3rem;
    color: var(--border);
}

/* ==========================================================================
   METRICS
   ========================================================================== */
.metrics {
    padding: 4rem 0;
    background: var(--gradient-primary);
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.metric-value {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    color: white;
}

.metric-label {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 0.5rem;
}

.metric-sublabel {
    display: block;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ==========================================================================
   COMPARISON TABLE
   ========================================================================== */
.comparison-table {
    overflow-x: auto;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    background: var(--surface);
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.comparison-table th,
.comparison-table td {
    padding: 1rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.comparison-table th {
    background: var(--bg-tertiary);
    font-weight: 600;
    color: var(--text-primary);
}

.comparison-table th.highlighted {
    background: var(--gradient-primary);
    color: white;
}

.comparison-table td.highlighted {
    background: var(--accent-light);
}

.comparison-table .positive { color: var(--success); }
.comparison-table .negative { color: var(--error); }
.comparison-table .neutral { color: var(--warning); }

.recommended-badge {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    opacity: 0.9;
    margin-top: 0.25rem;
}

.table-footnote {
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 1rem;
}

/* ==========================================================================
   AUDIENCES
   ========================================================================== */
.audience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.audience-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 2rem;
    text-align: center;
    transition: all var(--transition-base);
}

.audience-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
}

.audience-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.audience-card h4 {
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.audience-card p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.faq-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 2rem;
}

.faq-question {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.faq-answer {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* ==========================================================================
   TIMELINE / ROADMAP
   ========================================================================== */
.timeline {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border);
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    padding-bottom: 3rem;
}

.timeline-marker {
    position: absolute;
    left: 12px;
    top: 0;
}

.marker-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 3px solid var(--border);
    background: var(--bg-primary);
}

.marker-dot.active {
    background: var(--success);
    border-color: var(--success);
}

.marker-dot.upcoming {
    background: var(--warning);
    border-color: var(--warning);
}

.marker-dot.future {
    background: var(--accent);
    border-color: var(--accent);
}

.timeline-content {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 2rem;
}

.timeline-content .badge {
    margin-bottom: 1rem;
}

.timeline-content .h4 {
    margin-bottom: 0.75rem;
}

.timeline-features {
    list-style: none;
    margin: 1.5rem 0;
}

.timeline-features li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
}

/* ==========================================================================
   WAITLIST
   ========================================================================== */
.waitlist {
    padding: 6rem 0;
}

.waitlist-card {
    background: var(--gradient-primary);
    border-radius: var(--radius-2xl);
    padding: 4rem;
    text-align: center;
}

.waitlist-content {
    max-width: 600px;
    margin: 0 auto;
}

.waitlist-content .label {
    color: rgba(255, 255, 255, 0.8);
}

.waitlist-content .h2 {
    color: white;
    margin: 1rem 0;
}

.waitlist-content .h2 .text-gradient {
    background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.waitlist-content .body-large {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.waitlist-form {
    margin-bottom: 2rem;
}

.form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.input {
    flex: 1;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transition: all var(--transition-base);
}

.input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.input:focus {
    outline: none;
    border-color: white;
    background: rgba(255, 255, 255, 0.2);
}

.select {
    cursor: pointer;
}

.select option {
    background: var(--bg-primary);
    color: var(--text-primary);
}

.waitlist-form .btn {
    width: 100%;
    background: white;
    color: var(--accent);
}

.waitlist-form .btn:hover {
    background: rgba(255, 255, 255, 0.9);
}

.waitlist-benefits {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9375rem;
}

.benefit .check-icon {
    color: white;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 4rem 0 2rem;
}

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

.footer-desc {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    margin: 1rem 0;
    line-height: 1.7;
}

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

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: var(--surface);
    color: var(--text-secondary);
    transition: all var(--transition-base);
}

.footer-social a:hover {
    background: var(--accent);
    color: white;
}

.footer-social a.social-linkedin:hover {
    background: #0A66C2;
}

.footer-social a.social-youtube:hover {
    background: #FF0000;
}

.footer-social-large {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: all var(--transition-base);
}

.social-btn.social-linkedin {
    background: rgba(10, 102, 194, 0.1);
    color: #0A66C2;
    border: 1px solid rgba(10, 102, 194, 0.2);
}

.social-btn.social-linkedin:hover {
    background: #0A66C2;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(10, 102, 194, 0.3);
}

.social-btn.social-youtube {
    background: rgba(255, 0, 0, 0.1);
    color: #FF0000;
    border: 1px solid rgba(255, 0, 0, 0.2);
}

.social-btn.social-youtube:hover {
    background: #FF0000;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.3);
}

.social-btn svg {
    flex-shrink: 0;
}

.footer-links h4 {
    color: var(--text-primary);
    font-size: 0.9375rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: color var(--transition-fast);
}

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

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

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: var(--text-muted);
    text-decoration: none;
}

.footer-legal a:hover {
    color: var(--text-primary);
}

/* ==========================================================================
   PRELOADER
   ========================================================================== */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-spinner {
    width: 48px;
    height: 48px;
    border: 3px solid var(--border);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
.animate-fade-in {
    opacity: 0;
    animation: fadeIn 0.6s ease forwards;
}

.animate-delay-100 { animation-delay: 0.1s; }
.animate-delay-200 { animation-delay: 0.2s; }
.animate-delay-300 { animation-delay: 0.3s; }
.animate-delay-400 { animation-delay: 0.4s; }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   RESPONSIVE - TABLET
   ========================================================================== */
@media (max-width: 1024px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .demo-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .solutions-grid {
        grid-template-columns: 1fr;
    }

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

    .process-steps {
        flex-direction: column;
        align-items: center;
    }

    .step-connector {
        transform: rotate(90deg);
        padding: 1rem 0;
    }
}

/* ==========================================================================
   RESPONSIVE - MOBILE
   ========================================================================== */
@media (max-width: 768px) {
    section {
        padding: 3rem 0;
    }

    .nav-menu {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .nav-actions .btn {
        display: none;
    }

    .hero-content {
        padding: 2rem 0;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .stat-divider {
        width: 50%;
        height: 1px;
        margin: 0 auto;
    }

    .cta-group {
        flex-direction: column;
    }

    .cta-group .btn {
        width: 100%;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }

    .demo-grid {
        grid-template-columns: 1fr;
    }

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

    .audience-grid {
        grid-template-columns: 1fr;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

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

    .footer-legal {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .waitlist-card {
        padding: 2rem;
    }

    .form-row {
        flex-direction: column;
    }

    .waitlist-benefits {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 0.75rem;
        font-size: 0.875rem;
    }

    .timeline::before {
        left: 10px;
    }

    .timeline-item {
        padding-left: 40px;
    }

    .timeline-marker {
        left: 2px;
    }

    .timeline-content {
        padding: 1.5rem;
    }
}

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ==========================================================================
   DARK MODE FIXES
   ========================================================================== */

/* Logo - Invert for dark mode */
[data-theme="dark"] .logo-img-disabled {
    filter: brightness(0) invert(1);
}

/* Ensure theme toggle is visible */
.theme-toggle-DISABLED {
    position: relative;
    z-index: 100;
}

/* Tech labels fix */
.tech-label {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-primary);
    white-space: nowrap;
}


/* FAQ Accordion Enhancement */
.faq-question {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-item.open .faq-question::after {
    transform: rotate(45deg);
}

.faq-item.open .faq-question {
    color: var(--primary);
}

.faq-item {
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item.open {
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.1);
}

.faq-answer {
    margin-top: 0;
    padding-top: 1rem;
}

/* AI Dashboard Mockup Styles */
.hero-mockup {
    max-width: 800px;
    margin: 3rem auto 0;
}

.mockup-container {
    background: var(--surface);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.mockup-frame {
    background: var(--bg-secondary);
}

.mockup-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: var(--surface-elevated);
    border-bottom: 1px solid var(--border);
}

.mockup-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.mockup-dot.red { background: #ff5f56; }
.mockup-dot.yellow { background: #ffbd2e; }
.mockup-dot.green { background: #27c93f; }

.mockup-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 1px;
    background: var(--border);
}

.mockup-panel {
    padding: 1.5rem;
    background: var(--surface);
}

.mockup-upload {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 1rem;
}

.mockup-upload-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(6, 182, 212, 0.1));
    color: var(--primary);
}

.mockup-results {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mockup-result-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
}

.result-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
}

.result-icon.success { background: rgba(34, 197, 94, 0.1); color: #22c55e; }
.result-icon.warning { background: rgba(245, 158, 11, 0.1); color: #f59e0b; }
.result-icon.info { background: rgba(59, 130, 246, 0.1); color: #3b82f6; }

.result-content {
    flex: 1;
}

.result-title {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.875rem;
}

.result-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.result-badge {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
}

.result-badge.success { background: rgba(34, 197, 94, 0.1); color: #22c55e; }
.result-badge.warning { background: rgba(245, 158, 11, 0.1); color: #f59e0b; }

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

/* ==========================================================================
   LOGO FIX - Bigger size
   ========================================================================== */
.logo-img {
    height: 48px !important;
    width: auto !important;
}

/* Footer logo slightly smaller */
.footer .logo-img {
    height: 40px !important;
}

/* ==========================================================================
   TIMELINE/ROADMAP - Better horizontal grid design
   ========================================================================== */
@media (min-width: 768px) {
    .timeline {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
        max-width: 1200px;
    }
    
    .timeline::before {
        display: none;
    }
    
    .timeline-item {
        padding-left: 0;
        padding-bottom: 0;
    }
    
    .timeline-marker {
        position: relative;
        left: auto;
        top: auto;
        display: flex;
        justify-content: center;
        margin-bottom: 1.5rem;
    }
    
    .marker-dot {
        width: 16px;
        height: 16px;
        box-shadow: 0 0 20px currentColor;
    }
    
    .marker-dot.active {
        box-shadow: 0 0 20px var(--success);
    }
    
    .marker-dot.upcoming {
        box-shadow: 0 0 20px var(--warning);
    }
    
    .marker-dot.future {
        box-shadow: 0 0 20px var(--accent);
    }
    
    .timeline-content {
        height: 100%;
        display: flex;
        flex-direction: column;
    }
    
    .timeline-content .h4 {
        font-size: 1.25rem;
        line-height: 1.3;
    }
    
    .timeline-features {
        flex-grow: 1;
    }
}

/* Better card styling */
.timeline-content {
    background: linear-gradient(145deg, var(--surface), rgba(var(--accent-rgb), 0.03));
    border: 1px solid rgba(var(--accent-rgb), 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.timeline-item.active .timeline-content {
    border-color: var(--success);
    background: linear-gradient(145deg, var(--surface), rgba(16, 185, 129, 0.05));
}

.timeline-item.upcoming .timeline-content {
    border-color: var(--warning);
}

.timeline-item.future .timeline-content {
    border-color: var(--accent);
}

/* Logo horizontal - 140px */
.logo-img {
    height: 60px !important;
    width: auto !important;
    max-width: 250px;
}

.footer .logo-img {
    height: 50px !important;
}

@media (min-width: 768px) {
    .logo-img {
        height: 70px !important;
    }
}

/* ==========================================================================
   LIGHT MODE SUPPORT - Auto-detect via prefers-color-scheme
   ========================================================================== */
@media (prefers-color-scheme: light) {
    :root {
        /* Colors - Light Mode */
        --bg-primary: #ffffff;
        --bg-secondary: #f8f9fc;
        --bg-tertiary: #f1f3f9;
        --surface: #ffffff;
        --surface-elevated: #ffffff;

        /* Text Colors - Light Mode */
        --text-primary: #0f0f12;
        --text-secondary: #5a5a72;
        --text-muted: #8b8ba7;
        --text-inverse: #ffffff;

        /* Border Colors */
        --border: #e5e7eb;
        --border-light: #f1f3f9;
    }

    body {
        background-color: #ffffff;
        color: #0f0f12;
    }

    /* Header */
    .header, header, nav, .navbar {
        background-color: #ffffff;
        border-color: rgba(0,0,0,0.1);
    }

    /* Sections */
    section, .section, .hero, .page-hero {
        background-color: #ffffff;
    }

    /* Typography */
    h1, h2, h3, h4, h5, h6 {
        color: #0f0f12;
    }

    p, li {
        color: #5a5a72;
    }

    /* Cards */
    .card, .faq-card, .step-card, .testimonial-card,
    .solution-card, .demo-card, .feature-card, .benefit-card {
        background: rgba(0,0,0,0.02);
        border-color: rgba(0,0,0,0.08);
        box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    }

    /* Nav links */
    .nav-link {
        color: #5a5a72;
    }
    .nav-link:hover {
        color: #0f0f12;
    }

    /* Theme toggle */
    .theme-toggle-DISABLED {
        background: rgba(139, 92, 246, 0.1);
        border-color: rgba(0,0,0,0.1);
        color: #5a5a72;
    }

    /* Buttons secondary */
    .btn-secondary, .btn-outline {
        background: transparent;
        border-color: #0f0f12;
        color: #0f0f12;
    }
    .btn-secondary:hover, .btn-outline:hover {
        background: #0f0f12;
        color: #ffffff;
    }

    /* Tables */
    table, .comparison-table {
        background: rgba(0,0,0,0.02);
        border-color: rgba(0,0,0,0.1);
    }
    th {
        background: rgba(0,0,0,0.04);
        color: #0f0f12;
    }
    td {
        color: #5a5a72;
        border-color: rgba(0,0,0,0.08);
    }

    /* Footer */
    footer, .footer {
        background-color: #f8f9fc;
        border-color: rgba(0,0,0,0.1);
    }
    footer a, .footer a {
        color: #5a5a72;
    }
    footer a:hover, .footer a:hover {
        color: #0f0f12;
    }

    /* Mobile menu */
    .mobile-menu {
        background: #ffffff;
    }
    .mobile-menu a {
        color: #0f0f12;
    }

    /* Forms */
    input, textarea, select {
        background: #ffffff;
        border-color: rgba(0,0,0,0.15);
        color: #0f0f12;
    }
    input:focus, textarea:focus, select:focus {
        border-color: #8b5cf6;
    }

    /* Labels & Tags */
    .label, .tag, .tech-label, .badge {
        background: rgba(0,0,0,0.05);
        color: #5a5a72;
        border-color: rgba(0,0,0,0.1);
    }

    /* FAQ */
    .faq-question {
        color: #0f0f12;
    }
    .faq-answer, .faq-answer p {
        color: #5a5a72;
    }
    .faq-chevron {
        color: #8b8ba7;
    }

    /* Preloader */
    .preloader {
        background: #ffffff;
    }

    /* Hero glows - reduce in light mode */
    .hero-glow, .hero-glow-1, .hero-glow-2 {
        opacity: 0.15;
    }

    /* Icons */
    .social-icon, .icon {
        color: #5a5a72;
    }
    .social-icon:hover {
        color: #8b5cf6;
    }
}

/* ==========================================================================
   RESPONSIVE - TRÈS PETITS ÉCRANS (< 375px)
   ========================================================================== */
@media (max-width: 375px) {
    .container {
        padding-left: 12px;
        padding-right: 12px;
    }
    
    .hero h1,
    .hero-title,
    .h1, h1 {
        font-size: 1.75rem;
    }
    
    .h2, h2 {
        font-size: 1.5rem;
    }
    
    .h3, h3 {
        font-size: 1.25rem;
    }
    
    .btn {
        padding: 10px 16px;
        font-size: 0.875rem;
    }
    
    .badge {
        padding: 0.375rem 0.75rem;
        font-size: 0.75rem;
    }
    
    section {
        padding: 2rem 0;
    }
    
    .hero-stats {
        gap: 1rem;
    }
    
    .stat-value {
        font-size: 1.5rem;
    }
}

/* ==========================================================================
   MOBILE RESPONSIVE FIXES - Added 2026-02-01
   ========================================================================== */

/* Benefits row - 3 cols desktop, 1 col mobile */
.benefits-row {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 1.5rem !important;
}

@media (max-width: 768px) {
    .benefits-row {
        grid-template-columns: 1fr !important;
    }
}

/* CTA dual grid - 2 cols desktop, 1 col mobile */
.cta-dual-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 2rem !important;
}

@media (max-width: 768px) {
    .cta-dual-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Diag demo grid - 4 cols desktop, 2 cols tablet, 1 col mobile */
.diag-demo-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 1.5rem !important;
}

@media (max-width: 1024px) {
    .diag-demo-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 640px) {
    .diag-demo-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Phases timeline - 2 cols desktop, 1 col mobile */
.phases-timeline {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 2rem !important;
}

@media (max-width: 768px) {
    .phases-timeline {
        grid-template-columns: 1fr !important;
    }
}

/* Responsive 2-col grid utility */
.responsive-2-col {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.5rem !important;
}

@media (max-width: 768px) {
    .responsive-2-col {
        grid-template-columns: 1fr !important;
    }
}

/* Definition grid - auto-fit with smaller minmax for mobile */
.definition-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    gap: 2rem !important;
}

@media (max-width: 640px) {
    .definition-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ==========================================================================
   PARTENAIRES PAGE - MOBILE FIXES (Added 2026-02-01)
   ========================================================================== */

@media (max-width: 480px) {
    /* Force single column on very small screens */
    .advantages-grid,
    .testimonials-grid,
    .steps-container,
    .pricing-grid,
    .features-grid,
    .domains-grid {
        grid-template-columns: 1fr !important;
    }
    
    /* Fix card that spans 2 columns */
    .advantage-card[style*="grid-column: span 2"] {
        grid-column: span 1 !important;
    }
    
    /* Ensure tables don't overflow */
    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
    
    /* Fix flex containers */
    .responsive-2-col {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    
    .phases-timeline {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 640px) {
    /* Reduce minmax values for smaller tablets */
    .advantages-grid {
        grid-template-columns: 1fr !important;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr !important;
    }
    
    /* Fix hero stats on partenaires */
    .hero-stats {
        flex-direction: column !important;
        gap: 1rem !important;
    }
    
    /* Fix comparison tables */
    .comparison-section {
        overflow-x: auto;
    }
}
