/**
 * =============================================================================
 * BRAIN AI - WORLD-CLASS HOMEPAGE DESIGN
 * Professional AI & Technology Solutions Interface
 * =============================================================================
 */

/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* Désactiver l'effet de cercle/ripple sur TOUS les clics */
* {
    -webkit-tap-highlight-color: transparent !important;
    -webkit-touch-callout: none !important;
    -webkit-user-select: none !important;
}

button, input, a, [role="button"], [tabindex] {
    -webkit-tap-highlight-color: transparent !important;
    -webkit-touch-callout: none !important;
}

button:focus, button:active, button:hover,
input:focus, input:active, input:hover,
a:focus, a:active, a:hover {
    outline: none !important;
    -webkit-tap-highlight-color: transparent !important;
}

button::-moz-focus-inner {
    border: 0 !important;
}

/* Plus Jakarta Sans Font Face - Professional Display Typography */
@font-face {
    font-family: 'PlusJakartaSans';
    src: url('../fonts/PlusJakartaSans-Regular.woff2') format('woff2'),
         url('../fonts/PlusJakartaSans-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'PlusJakartaSans';
    src: url('../fonts/PlusJakartaSans-Medium.woff2') format('woff2'),
         url('../fonts/PlusJakartaSans-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'PlusJakartaSans';
    src: url('../fonts/PlusJakartaSans-Bold.woff2') format('woff2'),
         url('../fonts/PlusJakartaSans-Bold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

/* =============================================================================
   MODERN RESET & FOUNDATION
   ============================================================================= */
   
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Neural Brand Colors */
    --primary-blue: #3b82f6;
    --primary-indigo: #6366f1;
    --primary-purple: #8b5cf6;
    --accent-cyan: #06b6d4;
    --accent-violet: #7c3aed;
    
    /* Neutral Palette */
    --neutral-900: #0f172a;
    --neutral-800: #1e293b;
    --neutral-700: #334155;
    --neutral-600: #475569;
    --neutral-500: #64748b;
    --neutral-400: #94a3b8;
    --neutral-300: #cbd5e1;
    --neutral-200: #e2e8f0;
    --neutral-100: #f1f5f9;
    --neutral-50: #f8fafc;
    --white: #ffffff;
    
    /* Glass & Blur Effects */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: rgba(0, 0, 0, 0.1);
    --blur-strong: blur(20px);
    --blur-medium: blur(12px);
    --blur-light: blur(8px);
    
    /* Spacing System */
    --space-xs: 0.5rem;
    --space-sm: 0.75rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    --space-5xl: 8rem;
    
    /* Typography Scale */
    --font-family-primary: 'PlusJakartaSans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-family-display: 'PlusJakartaSans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    --font-size-6xl: 3.75rem;
    --font-size-7xl: 4.5rem;
    
    /* Animation Timings */
    --duration-fast: 0.15s;
    --duration-normal: 0.3s;
    --duration-slow: 0.5s;
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Gradients */
    --gradient-neural: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-indigo) 50%, var(--primary-purple) 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    --gradient-dark: linear-gradient(135deg, var(--neutral-900) 0%, var(--neutral-800) 100%);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 20px rgba(59, 130, 246, 0.3);
}

html {
    scroll-behavior: smooth;
    line-height: 1.6;
}

body {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--neutral-100);
    background: #0a0a0a;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Apply Söhne font to all headings */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-display);
    font-weight: 600;
}

/* =============================================================================
   NEURAL NETWORK BACKGROUND CANVAS
   ============================================================================= */

#neural-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    opacity: 0.6;
    filter: brightness(0.8) contrast(1.1);
}

/* =============================================================================
   HOMEPAGE MAIN CONTAINER
   ============================================================================= */

.homepage-main {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.9) 0%, rgba(15, 15, 15, 0.8) 50%, rgba(20, 20, 20, 0.9) 100%);
}

/* =============================================================================
   HERO SECTION - WORLD-CLASS DESIGN
   ============================================================================= */

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: var(--space-2xl) 0;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.hero-content {
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    background: var(--glass-bg);
    backdrop-filter: var(--blur-medium);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    margin-bottom: var(--space-xl);
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--neutral-200);
    animation: fadeInUp 0.8s var(--ease-smooth) both;
}

.badge-icon {
    font-size: var(--font-size-lg);
    filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.5));
}

.hero-title {
    font-family: var(--font-family-display);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: var(--space-xl);
    animation: fadeInUp 0.8s var(--ease-smooth) 0.2s both;
    letter-spacing: -0.02em;
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.gradient-text {
    background: var(--gradient-neural);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    text-shadow: none;
    filter: drop-shadow(0 1px 2px rgba(59, 130, 246, 0.3));
}

.hero-description {
    font-size: var(--font-size-xl);
    line-height: 1.7;
    color: var(--neutral-200);
    margin-bottom: var(--space-2xl);
    max-width: 600px;
    animation: fadeInUp 0.8s var(--ease-smooth) 0.4s both;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.hero-stats {
    display: flex;
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
    animation: fadeInUp 0.8s var(--ease-smooth) 0.6s both;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: var(--font-size-3xl);
    font-weight: 800;
    background: var(--gradient-neural);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: var(--space-xs);
}

.stat-label {
    font-size: var(--font-size-sm);
    color: var(--neutral-400);
    font-weight: 500;
}

.hero-actions {
    display: flex;
    gap: var(--space-lg);
    animation: fadeInUp 0.8s var(--ease-smooth) 0.8s both;
}

/* =============================================================================
   PREMIUM BUTTONS
   ============================================================================= */

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 100px;
    border-radius: 50px;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    position: relative;
    
    /* Style templateB - Glowing orange border effect */
    background: linear-gradient(135deg, 
        rgba(255, 140, 0, 0.8) 0%,
        rgba(255, 69, 0, 0.6) 25%,
        transparent 50%,
        transparent 75%,
        rgba(255, 140, 0, 0.8) 100%
    );
    background-size: 400% 400%;
    animation: glowingBorder 8s ease-in-out infinite;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 9999px;
    background: #E6E6E6;
    color: #4B2B16;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    transition: none;
}

/* Pseudo-élément pour le contenu du bouton */
.btn-primary::before {
    content: '';
    position: absolute;
    inset: 3px;
    border-radius: 47px;
    background: #E6E6E6;
    z-index: -1;
}

.btn-primary span {
    position: relative;
    z-index: 2;
    color: #4B2B16;
    font-weight: bold;
}

/* Effet hover simple - uniquement orange */
.btn-primary:hover {
    animation-duration: 4s;
}

.btn-primary svg {
    position: relative;
    z-index: 2;
    color: #4B2B16;
}

.btn-secondary {
    background: var(--glass-bg);
    backdrop-filter: var(--blur-medium);
    border: 1px solid var(--glass-border);
    color: var(--neutral-200);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-lg);
}

/* =============================================================================
   HERO VISUAL - DASHBOARD PREVIEW
   ============================================================================= */

.hero-visual {
    position: relative;
    z-index: 2;
    animation: fadeInUp 0.8s var(--ease-smooth) 1s both;
}

.dashboard-preview {
    background: var(--glass-bg);
    backdrop-filter: var(--blur-strong);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
    position: relative;
}

.dashboard-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-glass);
    pointer-events: none;
}

.dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-lg) var(--space-xl);
    border-bottom: 1px solid var(--glass-border);
    background: rgba(0, 0, 0, 0.2);
}

.dashboard-controls {
    display: flex;
    gap: var(--space-sm);
}

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

.control.red { background: #ef4444; }
.control.yellow { background: #f59e0b; }
.control.green { background: #10b981; }

.dashboard-title {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--neutral-200);
}

.dashboard-content {
    padding: var(--space-xl);
}

.metrics-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

/* Professional Metric Cards */
.pro-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 24px 20px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    cursor: pointer;
}

.pro-card:hover {
    transform: translateY(-4px) scale(1.02);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.04) 100%);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(59, 130, 246, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.pro-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(59, 130, 246, 0.8) 20%, 
        rgba(6, 182, 212, 0.8) 50%, 
        rgba(139, 92, 246, 0.8) 80%, 
        transparent 100%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.metric-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.metric-label {
    font-size: 10px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.metric-trend {
    font-size: 11px;
    font-weight: 600;
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.metric-main {
    display: flex;
    align-items: baseline;
    margin-bottom: 16px;
    position: relative;
}

.metric-value {
    font-size: 36px;
    font-weight: 300;
    color: #ffffff;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.metric-unit {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    margin-left: 4px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.pro-card:hover .metric-value {
    transform: scale(1.05);
    background: linear-gradient(135deg, #3b82f6 0%, #06b6d4 50%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.metric-progress-line {
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 1px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6 0%, #06b6d4 50%, #8b5cf6 100%);
    border-radius: 1px;
    width: 0%;
    transition: width 2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.6) 50%, 
        transparent 100%
    );
    transform: translateX(-100%);
    animation: progressShimmer 2.5s infinite ease-in-out;
}

@keyframes progressShimmer {
    0% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
    100% { transform: translateX(100%); }
}

/* Enhanced hover effects */
.pro-card:hover .progress-fill {
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
}

.pro-card:hover .metric-trend {
    background: rgba(16, 185, 129, 0.2);
    border-color: rgba(16, 185, 129, 0.4);
    color: #34d399;
}

/* Chart Container Enhanced */
.chart-container {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: var(--space-lg);
    position: relative;
}

.chart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-lg);
}

.chart-header h4 {
    color: var(--white);
    font-size: var(--font-size-lg);
    font-weight: 600;
}

.chart-controls {
    display: flex;
    gap: var(--space-xs);
    background: rgba(0, 0, 0, 0.2);
    padding: 4px;
    border-radius: 8px;
}

.chart-btn {
    padding: var(--space-xs) var(--space-sm);
    background: transparent;
    border: none;
    color: var(--neutral-400);
    font-size: var(--font-size-sm);
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s var(--ease-smooth);
}

.chart-btn:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.chart-btn.active {
    color: var(--white);
    background: var(--primary-blue);
}

.chart-wrapper {
    position: relative;
}

.chart-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.data-points {
    position: relative;
    height: 100%;
    display: flex;
    align-items: end;
    justify-content: space-between;
    padding: 0 20px;
}

.data-point {
    width: 8px;
    height: 8px;
    background: var(--accent-cyan);
    border-radius: 50%;
    position: relative;
    opacity: 0;
    animation: fadeInPoint 0.5s var(--ease-smooth) forwards;
    animation-delay: var(--delay, 0s);
}

.data-point:nth-child(1) { --delay: 0.2s; }
.data-point:nth-child(2) { --delay: 0.4s; }
.data-point:nth-child(3) { --delay: 0.6s; }
.data-point:nth-child(4) { --delay: 0.8s; }

@keyframes fadeInPoint {
    from {
        opacity: 0;
        transform: scale(0);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.data-point::before {
    content: attr(data-value) '%';
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: var(--white);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s var(--ease-smooth);
}

.data-point::after {
    content: attr(data-time);
    position: absolute;
    top: 120%;
    left: 50%;
    transform: translateX(-50%);
    color: var(--neutral-400);
    font-size: 10px;
    font-weight: 500;
    white-space: nowrap;
}

.data-point:hover::before {
    opacity: 1;
}

/* Animation classes */
.animated-card {
    opacity: 0;
    transform: translateY(20px);
    animation: slideInUp 0.6s var(--ease-smooth) forwards;
}

.animated-card:nth-child(1) { animation-delay: 0.1s; }
.animated-card:nth-child(2) { animation-delay: 0.2s; }
.animated-card:nth-child(3) { animation-delay: 0.3s; }

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .metrics-row {
        grid-template-columns: 1fr;
    }
    
    .metric-card {
        padding: var(--space-md);
    }
    
    .chart-header {
        flex-direction: column;
        gap: var(--space-md);
        align-items: flex-start;
    }
}

.chart-container {
    position: relative;
    height: 180px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: var(--space-md);
}

/* =============================================================================
   SECTION FOUNDATION
   ============================================================================= */

.section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--space-5xl) var(--space-xl);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-4xl);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    background: var(--glass-bg);
    backdrop-filter: var(--blur-medium);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    margin-bottom: var(--space-lg);
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--neutral-300);
}

.section-badge svg {
    stroke: var(--primary-blue);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: var(--space-lg);
    color: var(--white);
}

.section-description {
    font-size: var(--font-size-xl);
    line-height: 1.7;
    color: var(--neutral-300);
}

/* =============================================================================
   FEATURES SECTION
   ============================================================================= */

.features-section {
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-2xl);
}

.feature-card {
    background: var(--glass-bg);
    backdrop-filter: var(--blur-medium);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: var(--space-2xl);
    transition: all var(--duration-normal) var(--ease-smooth);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-glass);
    opacity: 0;
    transition: opacity var(--duration-normal);
}

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

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
    border-color: rgba(59, 130, 246, 0.3);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient-neural);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-xl);
    position: relative;
    z-index: 1;
}

.feature-icon svg {
    stroke: var(--white);
}

.feature-title {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    margin-bottom: var(--space-lg);
    color: var(--white);
    position: relative;
    z-index: 1;
}

.feature-description {
    font-size: var(--font-size-base);
    line-height: 1.7;
    color: var(--neutral-300);
    margin-bottom: var(--space-xl);
    position: relative;
    z-index: 1;
}

.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    position: relative;
    z-index: 1;
}

.tag {
    padding: var(--space-xs) var(--space-md);
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 20px;
    font-size: var(--font-size-xs);
    font-weight: 500;
    color: var(--primary-blue);
}

/* =============================================================================
   SOLUTIONS SECTION
   ============================================================================= */

.solutions-section {
    position: relative;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: var(--space-2xl);
}

.solution-card {
    background: var(--glass-bg);
    backdrop-filter: var(--blur-strong);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: var(--space-2xl);
    transition: all var(--duration-normal) var(--ease-smooth);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    opacity: 0;
    transition: opacity var(--duration-normal);
}

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

.solution-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-2xl), 0 0 40px rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.4);
}

.solution-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-neural);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-xl);
    position: relative;
    z-index: 1;
    box-shadow: var(--shadow-glow);
}

.solution-icon svg {
    stroke: var(--white);
}

.solution-title {
    font-size: var(--font-size-3xl);
    font-weight: 800;
    margin-bottom: var(--space-lg);
    color: var(--white);
    position: relative;
    z-index: 1;
}

.solution-description {
    font-size: var(--font-size-lg);
    line-height: 1.7;
    color: var(--neutral-300);
    margin-bottom: var(--space-xl);
    flex-grow: 1;
    position: relative;
    z-index: 1;
}

.solution-features {
    margin-bottom: var(--space-xl);
    position: relative;
    z-index: 1;
}

.feature-item {
    padding: var(--space-sm) 0;
    color: var(--neutral-200);
    font-size: var(--font-size-base);
    position: relative;
    padding-left: var(--space-lg);
}

.feature-item::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-cyan);
    font-weight: 700;
}

.solution-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-lg) var(--space-xl);
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 12px;
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    transition: all var(--duration-normal) var(--ease-smooth);
    position: relative;
    z-index: 1;
    align-self: flex-start;
}

.solution-link:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.5);
    transform: translateX(4px);
}

/* =============================================================================
   TESTIMONIALS SECTION
   ============================================================================= */

.testimonials-section {
    position: relative;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-2xl);
}

.testimonial-card {
    background: var(--glass-bg);
    backdrop-filter: var(--blur-strong);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: var(--space-2xl);
    transition: all var(--duration-normal) var(--ease-smooth);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-glass);
    opacity: 0;
    transition: opacity var(--duration-normal);
}

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

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(139, 92, 246, 0.3);
}

.testimonial-rating {
    display: flex;
    gap: var(--space-xs);
    margin-bottom: var(--space-lg);
    position: relative;
    z-index: 1;
}

.star {
    fill: #fbbf24;
    stroke: none;
}

.testimonial-text {
    font-size: var(--font-size-lg);
    line-height: 1.7;
    color: var(--neutral-200);
    margin-bottom: var(--space-xl);
    font-style: italic;
    position: relative;
    z-index: 1;
}

.testimonial-text::before {
    content: '"';
    font-size: 3rem;
    color: var(--primary-blue);
    position: absolute;
    top: -1rem;
    left: -1rem;
    opacity: 0.3;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    position: relative;
    z-index: 1;
}

.author-avatar {
    width: 60px;
    height: 60px;
    background: var(--gradient-neural);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: var(--font-size-lg);
}

.author-name {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--white);
    margin-bottom: var(--space-xs);
}

.author-role {
    font-size: var(--font-size-sm);
    color: var(--neutral-300);
    margin-bottom: var(--space-xs);
}

.author-company {
    font-size: var(--font-size-sm);
    color: var(--primary-blue);
    font-weight: 500;
}

/* =============================================================================
   CTA SECTION
   ============================================================================= */

.cta-section {
    background: linear-gradient(135deg, var(--neutral-800) 0%, var(--neutral-900) 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: var(--space-xl);
    color: var(--white);
}

.cta-description {
    font-size: var(--font-size-xl);
    line-height: 1.7;
    color: var(--neutral-300);
    margin-bottom: var(--space-2xl);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: var(--space-2xl);
    flex-wrap: wrap;
}

.cta-features .feature-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--neutral-300);
    font-size: var(--font-size-base);
    font-weight: 500;
    padding-left: 0;
}

.cta-features .feature-item::before {
    display: none;
}

.cta-features .feature-item svg {
    stroke: var(--accent-cyan);
    flex-shrink: 0;
}

/* =============================================================================
   ANIMATIONS
   ============================================================================= */

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

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* =============================================================================
   RESPONSIVE DESIGN
   ============================================================================= */

@media (max-width: 1200px) {
    .hero-container {
        max-width: 1200px;
        gap: var(--space-3xl);
    }
}

@media (max-width: 968px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
        text-align: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .solutions-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    :root {
        --space-xl: 1.5rem;
        --space-2xl: 2rem;
        --space-3xl: 2.5rem;
        --space-4xl: 3rem;
        --space-5xl: 4rem;
    }
    
    .section-container {
        padding: var(--space-4xl) var(--space-lg);
    }
    
    .hero-stats {
        flex-direction: column;
        gap: var(--space-lg);
    }
    
    .hero-actions,
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-features {
        flex-direction: column;
        gap: var(--space-lg);
    }
    
    .dashboard-content {
        padding: var(--space-lg);
    }
    
    .metrics-row {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
}

@media (max-width: 480px) {
    .hero-container,
    .section-container {
        padding-left: var(--space-md);
        padding-right: var(--space-md);
    }
    
    .features-grid,
    .solutions-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .feature-card,
    .solution-card,
    .testimonial-card {
        padding: var(--space-lg);
    }
}

/* =============================================================================
   PERFORMANCE OPTIMIZATIONS
   ============================================================================= */

/* Reduce animations on mobile for performance */
@media (max-width: 768px) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* GPU acceleration for smooth animations */
.hero-section,
.feature-card,
.solution-card,
.testimonial-card,
.btn-primary,
.btn-secondary {
    will-change: transform;
    transform: translateZ(0);
}

/* =============================================================================
   ACCESSIBILITY ENHANCEMENTS
   ============================================================================= */

/* Focus styles */
.btn-primary:focus,
.btn-secondary:focus,
.solution-link:focus {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --neutral-300: #ffffff;
        --neutral-200: #ffffff;
        --glass-border: rgba(255, 255, 255, 0.3);
    }
}

/* =============================================================================
   HEADER COMPATIBILITY
   ============================================================================= */

/* Ensure our neural background doesn't conflict with header */
header {
    position: relative;
    z-index: 50;
}

/* =============================================================================
   UTILITY CLASSES
   ============================================================================= */

.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;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* Additional utilities that don't conflict with Tailwind */

/* =============================================================================
   HERO IMAGE CONTAINER WITH GLOWING BORDER
   ============================================================================= */

.hero-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: var(--space-sm);
    position: relative;
}

.hero-template-image {
    width: 120%;
    max-width: 120%;
    height: auto;
    border-radius: 20px;
    position: relative;
    transition: all 1.2s var(--ease-smooth);
    filter: brightness(1.08) contrast(1.05) saturate(1.1);
    
    /* Base shadow */
    box-shadow: 
        0 25px 80px rgba(0, 0, 0, 0.5),
        0 12px 40px rgba(0, 0, 0, 0.3);
    
    /* Glowing orange border effect */
    background: linear-gradient(135deg, 
        rgba(255, 140, 0, 0.8) 0%,
        rgba(255, 69, 0, 0.6) 25%,
        transparent 50%,
        transparent 75%,
        rgba(255, 140, 0, 0.8) 100%
    );
    background-size: 400% 400%;
    animation: glowingBorder 8s ease-in-out infinite;
}

.hero-template-image::before {
    content: '';
    position: absolute;
    inset: 3px;
    border-radius: 17px;
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.8),
        rgba(0, 0, 0, 0.6)
    );
    z-index: -1;
}

.hero-template-image:hover {
    transform: translateY(-12px) scale(1.03);
    filter: brightness(1.15) contrast(1.1) saturate(1.2);
    
    box-shadow: 
        0 40px 120px rgba(0, 0, 0, 0.6),
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 60px rgba(255, 140, 0, 0.3),
        0 0 120px rgba(255, 69, 0, 0.2);
    
    animation-duration: 4s;
}

/* Glowing border animation - ralentie */
@keyframes glowingBorder {
    0% {
        background-position: 0% 50%;
        box-shadow: 
            0 25px 80px rgba(0, 0, 0, 0.5),
            0 12px 40px rgba(0, 0, 0, 0.3),
            0 0 30px rgba(255, 140, 0, 0.4);
    }
    25% {
        background-position: 25% 25%;
        box-shadow: 
            0 25px 80px rgba(0, 0, 0, 0.5),
            0 12px 40px rgba(0, 0, 0, 0.3),
            0 0 40px rgba(255, 69, 0, 0.5);
    }
    50% {
        background-position: 100% 50%;
        box-shadow: 
            0 25px 80px rgba(0, 0, 0, 0.5),
            0 12px 40px rgba(0, 0, 0, 0.3),
            0 0 50px rgba(255, 140, 0, 0.6);
    }
    75% {
        background-position: 75% 75%;
        box-shadow: 
            0 25px 80px rgba(0, 0, 0, 0.5),
            0 12px 40px rgba(0, 0, 0, 0.3),
            0 0 40px rgba(255, 69, 0, 0.5);
    }
    100% {
        background-position: 0% 50%;
        box-shadow: 
            0 25px 80px rgba(0, 0, 0, 0.5),
            0 12px 40px rgba(0, 0, 0, 0.3),
            0 0 30px rgba(255, 140, 0, 0.4);
    }
}

/* Pas d'effets after */

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-template-image {
        width: 110%;
        max-width: 110%;
    }
}

/* =============================================================================
   REPORTING DASHBOARD - PROFESSIONAL ANALYTICS (DISABLED)
   ============================================================================= */

.reporting-dashboard {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: var(--space-xl);
    position: relative;
    backdrop-filter: blur(20px);
}

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

.reporting-title h4 {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--white);
    margin: 0 0 4px 0;
    letter-spacing: -0.02em;
}

.reporting-subtitle {
    font-size: var(--font-size-sm);
    color: var(--neutral-400);
    font-weight: 400;
}

.time-filters {
    display: flex;
    gap: 4px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    padding: 4px;
}

.filter-btn {
    position: relative;
    background: transparent;
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    cursor: pointer;
    transition: all 0.3s var(--ease-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    min-width: 60px;
}

.filter-btn:hover {
    background: rgba(255, 255, 255, 0.06);
}

.filter-btn.active {
    background: var(--primary-blue);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.filter-label {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--white);
}

.filter-status {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-cyan);
    opacity: 0;
    transition: opacity 0.3s var(--ease-smooth);
}

.filter-btn.active .filter-status {
    opacity: 1;
}

/* Metrics Grid */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.metric-tile {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: var(--space-lg);
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--ease-smooth);
    cursor: pointer;
}

.metric-tile:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.metric-tile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-cyan));
    transform: scaleX(0);
    transition: transform 0.6s var(--ease-smooth);
}

.metric-tile:hover::before {
    transform: scaleX(1);
}

.metric-tile-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--space-md);
}

.metric-tile-label {
    font-size: var(--font-size-xs);
    color: var(--neutral-400);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 500;
}

.metric-tile-trend {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: var(--font-size-xs);
    font-weight: 600;
}

.metric-tile-trend.up {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-green);
}

.metric-tile-trend.down {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error-red);
}

.metric-tile-trend svg {
    width: 12px;
    height: 12px;
}

.metric-tile-value {
    font-size: var(--font-size-2xl);
    font-weight: 800;
    color: var(--white);
    margin-bottom: var(--space-sm);
    line-height: 1.2;
}

.metric-tile-spark {
    height: 40px;
    position: relative;
}

.spark-chart {
    width: 100%;
    height: 100%;
}

/* Main Chart */
.main-chart-container {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: var(--space-lg);
    position: relative;
}

.chart-legend {
    display: flex;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
    justify-content: center;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s var(--ease-smooth);
    opacity: 0.7;
}

.legend-item:hover,
.legend-item.active {
    opacity: 1;
    background: rgba(255, 255, 255, 0.05);
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 2px;
}

.legend-label {
    font-size: var(--font-size-sm);
    color: var(--white);
    font-weight: 500;
}

.main-chart-wrapper {
    position: relative;
    height: 220px;
    border-radius: 12px;
    overflow: hidden;
}

#main-analytics-chart {
    width: 100%;
    height: 100%;
}

.chart-tooltip {
    position: absolute;
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 12px;
    font-size: var(--font-size-sm);
    color: var(--white);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s var(--ease-smooth);
    z-index: 1000;
    backdrop-filter: blur(10px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }
    
    .reporting-header {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .time-filters {
        align-self: stretch;
    }
    
    .filter-btn {
        flex: 1;
    }
}

/* =============================================================================
   END OF STYLES
   ============================================================================= */