/**
 * Nerion - Plateforme d'hébergement web
 * Premium Blue Gradient Design
 * Version 4.0 - Ultra Modern
 */

/* ============================================================
   Variables CSS - Premium Blue Gradient Theme
   ============================================================ */
:root {
    /* Palette de bleus dégradés */
    --blue-50: #E6F4FF;
    --blue-100: #BAE0FF;
    --blue-200: #7CC4FA;
    --blue-300: #47A3F3;
    --blue-400: #2186EB;
    --blue-500: #0967D2;
    --blue-600: #0552B5;
    --blue-700: #03449E;
    --blue-800: #01337D;
    --blue-900: #002159;

    /* Couleurs principales avec dégradés */
    --primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --primary-hover: linear-gradient(135deg, #7c8ff0 0%, #8a5bb5 100%);
    --primary-color: #667eea;
    --primary-dark: #5a67d8;
    --primary-light: #7c8ff0;

    /* Dégradés premium - Collection étendue de bleus */
    --gradient-main: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-ocean: linear-gradient(135deg, #2E3192 0%, #1BFFFF 100%);
    --gradient-sky: linear-gradient(135deg, #56CCF2 0%, #2F80ED 100%);
    --gradient-aurora: linear-gradient(135deg, #4776E6 0%, #8E54E9 100%);
    --gradient-mystic: linear-gradient(135deg, #B721FF 0%, #21D4FD 100%);
    --gradient-cosmic: linear-gradient(135deg, #08AEEA 0%, #2AF598 100%);
    --gradient-deep: linear-gradient(135deg, #0c3483 0%, #a2b6df 100%, #6b8cce 100%, #a2b6df 100%);

    /* Nouveaux dégradés bleus sophistiqués */
    --gradient-sapphire: linear-gradient(135deg, #0F2167 0%, #5D8BF4 100%);
    --gradient-azure: linear-gradient(135deg, #00D2FF 0%, #3A0CA3 100%);
    --gradient-cobalt: linear-gradient(135deg, #0061ff 0%, #60efff 100%);
    --gradient-midnight: linear-gradient(135deg, #020024 0%, #090979 35%, #00d4ff 100%);
    --gradient-electric: linear-gradient(135deg, #7F00FF 0%, #00D2FF 100%);
    --gradient-arctic: linear-gradient(135deg, #E0F2FE 0%, #3B82F6 50%, #1E40AF 100%);
    --gradient-nebula: linear-gradient(135deg, #4361EE 0%, #7209B7 50%, #F72585 100%);
    --gradient-wave: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 25%, #EC4899 50%, #10B981 75%, #3B82F6 100%);
    --gradient-frost: linear-gradient(135deg, #e0f7fa 0%, #4fc3f7 50%, #0288d1 100%);
    --gradient-twilight: linear-gradient(135deg, #051937 0%, #0F3460 25%, #16537e 50%, #2374ab 75%, #3e92cc 100%);

    /* Dégradés animés */
    --gradient-animated: linear-gradient(-45deg, #667eea, #764ba2, #4776E6, #8E54E9, #667eea);
    --gradient-size: 400%;

    /* Couleurs d'accent */
    --accent-cyan: #00D9FF;
    --accent-purple: #B721FF;
    --accent-indigo: #4776E6;
    --accent-teal: #2AF598;

    /* Status colors */
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;
    --info: #3B82F6;

    /* Backgrounds - Dark avec teintes bleues */
    --bg-primary: #0A0E27;
    --bg-secondary: #0F1729;
    --bg-tertiary: #141B3C;
    --bg-card: rgba(20, 27, 60, 0.6);
    --bg-hover: rgba(102, 126, 234, 0.08);
    --bg-modal: rgba(10, 14, 39, 0.95);

    /* Glassmorphism amélioré */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-bg-hover: rgba(255, 255, 255, 0.05);

    /* Bordures */
    --border-color: rgba(255, 255, 255, 0.1);
    --border-light: rgba(255, 255, 255, 0.15);
    --border-gradient: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.5), transparent);
    --border-radius: 12px;
    --border-radius-sm: 8px;
    --border-radius-lg: 20px;
    --border-radius-xl: 28px;

    /* Text avec nuances */
    --text-primary: #FFFFFF;
    --text-secondary: rgba(255, 255, 255, 0.8);
    --text-muted: rgba(255, 255, 255, 0.5);
    --text-disabled: rgba(255, 255, 255, 0.3);

    /* Shadows améliorées */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.6);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.4);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 40px rgba(102, 126, 234, 0.3);
    --shadow-color: 0 10px 40px rgba(102, 126, 234, 0.2);

    /* Transitions */
    --transition-fast: 200ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 600ms cubic-bezier(0.23, 1, 0.320, 1);

    /* Fonts */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Space Grotesk', 'Inter', sans-serif;
}

/* ============================================================
   Reset & Base Styles
   ============================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*::selection {
    background: rgba(102, 126, 234, 0.3);
    color: var(--text-primary);
}

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

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;
    overflow-x: hidden;
    position: relative;
}

/* Simple gradient background - Performance optimized */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 20% 30%, rgba(102, 126, 234, 0.15) 0%, transparent 50%),
                radial-gradient(ellipse at 80% 70%, rgba(118, 75, 162, 0.12) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* Mesh gradient overlay */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(102, 126, 234, 0.02) 35px, rgba(102, 126, 234, 0.02) 70px);
    pointer-events: none;
    z-index: 0;
}

/* ============================================================
   Typography - Modern & Clean
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
}

h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.7;
}

a {
    color: var(--blue-400);
    text-decoration: none;
    transition: all var(--transition-fast);
}

a:hover {
    color: var(--blue-300);
}

/* Gradient text utility */
.gradient-text {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================================
   Container & Layout
   ============================================================ */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 1;
}

/* ============================================================
   Buttons - Premium Gradient Style
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--border-radius-sm);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
    z-index: 1;
}

/* Hover effect overlay */
.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
    z-index: -1;
}

.btn:hover::before {
    left: 100%;
}

/* Primary button with gradient */
.btn-primary {
    background: var(--gradient-main);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    position: relative;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-aurora);
    opacity: 0;
    transition: opacity var(--transition-base);
    border-radius: inherit;
    z-index: -1;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover::after {
    opacity: 1;
}

/* Secondary button */
.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(102, 126, 234, 0.5);
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.2);
}

/* Outline gradient button */
.btn-outline {
    background: transparent;
    color: var(--text-primary);
    position: relative;
    padding: 0.875rem 2rem;
}

.btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    padding: 2px;
    background: var(--gradient-main);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.btn-outline:hover {
    background: rgba(102, 126, 234, 0.1);
    box-shadow: 0 0 30px rgba(102, 126, 234, 0.3);
}

/* Ghost button */
.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid transparent;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

/* Size variants */
.btn-sm { padding: 0.625rem 1.25rem; font-size: 0.85rem; }
.btn-lg { padding: 1.125rem 2.5rem; font-size: 1rem; }
.btn-xl { padding: 1.25rem 3rem; font-size: 1.1rem; }
.btn-block { width: 100%; }

/* ============================================================
   Cards - Premium Glass Effect
   ============================================================ */
.card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-base);
}

/* Gradient border animation */
.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, transparent 30%, rgba(102, 126, 234, 0.5), transparent 70%);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.card:hover::before {
    opacity: 1;
    animation: borderRotate 3s linear infinite;
}

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

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    border-color: rgba(102, 126, 234, 0.3);
}

/* Card glow variant */
.card-glow {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.05));
    box-shadow:
        inset 0 0 20px rgba(102, 126, 234, 0.05),
        0 0 40px rgba(102, 126, 234, 0.1);
}

.card-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--glass-border);
    position: relative;
}

.card-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--gradient-main);
    transition: width var(--transition-base);
}

.card:hover .card-header::after {
    width: 100%;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.card-body {
    color: var(--text-secondary);
}

/* ============================================================
   Forms - Modern Input Design
   ============================================================ */
.form-group {
    margin-bottom: 1.75rem;
    position: relative;
}

.form-label {
    display: block;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-control {
    width: 100%;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-sm);
    color: var(--text-primary);
    font-size: 1rem;
    transition: all var(--transition-base);
}

.form-control:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(102, 126, 234, 0.5);
    box-shadow:
        0 0 0 3px rgba(102, 126, 234, 0.1),
        0 0 20px rgba(102, 126, 234, 0.1);
}

.form-control::placeholder {
    color: var(--text-muted);
}

/* Floating label effect */
.form-floating {
    position: relative;
}

.form-floating .form-control {
    padding: 1.5rem 1rem 0.5rem;
}

.form-floating label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    transition: all var(--transition-base);
    pointer-events: none;
}

.form-floating .form-control:focus ~ label,
.form-floating .form-control:not(:placeholder-shown) ~ label {
    top: 0.25rem;
    font-size: 0.75rem;
    color: var(--primary-color);
}

/* ============================================================
   Navigation - Premium Header
   ============================================================ */
.navbar {
    background: rgba(10, 14, 39, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all var(--transition-base);
}

.navbar.scrolled {
    background: rgba(10, 14, 39, 0.95);
    box-shadow: var(--shadow-lg);
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    font-size: 1.75rem;
    font-weight: 800;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all var(--transition-base);
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.navbar-brand::before {
    content: '';
    width: 35px;
    height: 35px;
    background: var(--gradient-main);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.navbar-brand::after {
    content: 'N';
    position: absolute;
    left: 12px;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
}

.navbar-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.navbar-link {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all var(--transition-fast);
    position: relative;
}

.navbar-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-main);
    transition: width var(--transition-base);
}

.navbar-link:hover {
    color: var(--text-primary);
}

.navbar-link:hover::after,
.navbar-link.active::after {
    width: 100%;
}

/* ============================================================
   Hero Section - Premium Design
   ============================================================ */
.hero {
    padding: 8rem 0 6rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Animated background orbs */
.hero::before,
.hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
    animation: float 20s infinite ease-in-out;
}

.hero::before {
    width: 500px;
    height: 500px;
    background: var(--gradient-ocean);
    top: -200px;
    right: -200px;
}

.hero::after {
    width: 400px;
    height: 400px;
    background: var(--gradient-aurora);
    bottom: -150px;
    left: -150px;
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 999px;
    color: var(--blue-300);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
    animation: pulse 2s infinite;
}

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

.hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease;
}

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

.hero-subtitle {
    font-size: 1.375rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 700px;
    line-height: 1.7;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 5rem;
    animation: fadeInUp 0.8s ease 0.4s both;
}

/* Terminal enhanced */
.terminal {
    background: rgba(20, 27, 60, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: var(--border-radius);
    overflow: hidden;
    margin: 3rem 0;
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.3),
        inset 0 0 20px rgba(102, 126, 234, 0.05);
    animation: slideIn 0.8s ease 0.6s both;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.terminal-header {
    background: linear-gradient(90deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(102, 126, 234, 0.2);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.terminal-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--glass-border);
}

.terminal-dot.red { background: #FF5F56; }
.terminal-dot.yellow { background: #FFBD2E; }
.terminal-dot.green { background: #27C93F; }

.terminal-body {
    padding: 2rem;
    font-family: 'Fira Code', 'Courier New', monospace;
    font-size: 0.95rem;
}

.terminal-line {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    opacity: 0;
    animation: typeIn 0.5s ease forwards;
}

.terminal-line:nth-child(1) { animation-delay: 0.8s; }
.terminal-line:nth-child(2) { animation-delay: 1s; }
.terminal-line:nth-child(3) { animation-delay: 1.2s; }

@keyframes typeIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.terminal-prompt {
    color: var(--blue-400);
    margin-right: 0.75rem;
    font-weight: bold;
}

/* Stats Grid Enhanced */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin: 4rem 0;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--border-radius);
    border: 1px solid var(--glass-border);
    transition: all var(--transition-base);
}

.stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.1);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ============================================================
   Features Section - Enhanced
   ============================================================ */
.features {
    padding: 10rem 0;
    background: transparent;
    position: relative;
}

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

.section-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 999px;
    color: var(--blue-300);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

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

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    transition: all var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(102, 126, 234, 0.3);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-main);
    border-radius: 16px;
    font-size: 1.75rem;
    color: white;
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.2);
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================================
   Pricing Section - Premium Cards
   ============================================================ */
.pricing {
    padding: 10rem 0;
    position: relative;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    transition: all var(--transition-base);
}

.pricing-card:hover {
    transform: translateY(-5px);
    border-color: rgba(102, 126, 234, 0.3);
}

.pricing-card.featured {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.05));
    border: 2px solid rgba(102, 126, 234, 0.5);
    transform: scale(1.05);
}

.pricing-card.featured::before {
    content: 'RECOMMANDÉ';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.375rem 1.5rem;
    background: var(--gradient-main);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    border-radius: 999px;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.pricing-header {
    text-align: center;
    padding-bottom: 2rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--glass-border);
}

.pricing-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
}

.price-currency {
    font-size: 1.5rem;
    color: var(--text-muted);
}

.price-amount {
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-period {
    font-size: 1rem;
    color: var(--text-muted);
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.pricing-features li:last-child {
    border-bottom: none;
}

/* ============================================================
   CTA Section - Call to Action
   ============================================================ */
.cta {
    padding: 10rem 0;
    background: transparent;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
    animation: rotate 30s linear infinite;
}

.cta-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

/* ============================================================
   Footer - Modern Minimal
   ============================================================ */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--glass-border);
    padding: 4rem 0 2rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--gradient-main);
    opacity: 0.5;
}

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

.footer-brand {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-description {
    color: var(--text-secondary);
    line-height: 1.7;
}

.footer-title {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

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

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

.footer-links a {
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: all var(--transition-fast);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--blue-400);
    transform: translateX(5px);
}

.footer-bottom {
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

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

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: var(--gradient-main);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.2);
}

/* ============================================================
   Components - Enhanced
   ============================================================ */

/* Alerts */
.alert {
    padding: 1.25rem 1.5rem;
    border-radius: var(--border-radius-sm);
    margin-bottom: 1.5rem;
    border: 1px solid;
    display: flex;
    align-items: center;
    gap: 1rem;
    backdrop-filter: blur(10px);
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.3);
    color: #10B981;
}

.alert-warning {
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.3);
    color: #F59E0B;
}

.alert-danger {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
    color: #EF4444;
}

.alert-info {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
    color: #3B82F6;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 0.375rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-primary {
    background: rgba(102, 126, 234, 0.2);
    color: var(--blue-300);
    border: 1px solid rgba(102, 126, 234, 0.3);
}

.badge-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    border: 1px solid var(--glass-border);
}

.badge-success { background: rgba(16, 185, 129, 0.2); color: #10B981; }
.badge-warning { background: rgba(245, 158, 11, 0.2); color: #F59E0B; }
.badge-danger { background: rgba(239, 68, 68, 0.2); color: #EF4444; }

/* Progress */
.progress {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 999px;
    height: 8px;
    overflow: hidden;
    position: relative;
}

.progress-bar {
    height: 100%;
    background: var(--gradient-main);
    border-radius: 999px;
    position: relative;
    overflow: hidden;
    transition: width var(--transition-smooth);
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    from { transform: translateX(-100%); }
    to { transform: translateX(100%); }
}

/* Tables */
.table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 8px;
}

.table thead {
    background: rgba(255, 255, 255, 0.02);
}

.table th {
    padding: 1rem 1.5rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    border-bottom: 2px solid var(--glass-border);
}

.table tbody tr {
    background: var(--bg-card);
    transition: all var(--transition-fast);
}

.table tbody tr:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.1);
}

.table td {
    padding: 1rem 1.5rem;
    color: var(--text-secondary);
}

.table td:first-child {
    border-radius: var(--border-radius-sm) 0 0 var(--border-radius-sm);
}

.table td:last-child {
    border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
}

/* Spinners */
.spinner {
    width: 40px;
    height: 40px;
    position: relative;
}

.spinner::before,
.spinner::after {
    content: '';
    position: absolute;
    border-radius: 50%;
}

.spinner::before {
    width: 100%;
    height: 100%;
    border: 3px solid rgba(102, 126, 234, 0.2);
}

.spinner::after {
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-top-color: var(--blue-400);
    animation: spin 0.8s linear infinite;
}

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

/* Modal - Custom (NOT Bootstrap) */
.modal.custom-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 14, 39, 0.9);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-base);
}

.modal.custom-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.custom-modal .modal-content {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2.5rem;
    transform: scale(0.9) translateY(20px);
    transition: transform var(--transition-smooth);
}

.modal.custom-modal.active .modal-content {
    transform: scale(1) translateY(0);
}

/* ============================================================
   Utilities
   ============================================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-primary { color: var(--text-primary); }
.text-secondary { color: var(--text-secondary); }
.text-muted { color: var(--text-muted); }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }

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

.hidden { display: none !important; }
.block { display: block; }
.inline-block { display: inline-block; }

/* Mobile Menu Toggle */
.navbar-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* ============================================================
   Responsive Design
   ============================================================ */
@media (max-width: 768px) {
    .navbar-toggle {
        display: block;
    }

    .navbar-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10, 14, 39, 0.98);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--glass-border);
        flex-direction: column;
        padding: 1.5rem;
        box-shadow: var(--shadow-lg);
    }

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

    .navbar-menu li {
        padding: 0.75rem 0;
        width: 100%;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .stats-grid,
    .features-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

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

    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }

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

/* ============================================================
   Font Awesome Icons Spacing
   ============================================================ */
.navbar-link i,
.btn i,
.footer-links a i,
.footer-subtitle i {
    margin-right: 0.5rem;
}

.stat-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--blue-400);
}

.stat-icon i {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title i {
    margin-right: 0.75rem;
}

/* Hero Stats - Modern Design */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.hero-stats .stat {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg,
        rgba(102, 126, 234, 0.08) 0%,
        rgba(118, 75, 162, 0.05) 100%);
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(102, 126, 234, 0.2);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.hero-stats .stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-main);
}

.hero-stats .stat:hover {
    transform: translateY(-5px);
    border-color: rgba(102, 126, 234, 0.4);
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.2);
}

.hero-stats .stat-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-stats .stat-icon i {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 10px rgba(102, 126, 234, 0.3));
}

.hero-stats .stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-wave);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.hero-stats .stat-label {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

.section-header h2 i {
    margin-right: 0.5rem;
}

.cta-content h2 i {
    margin-right: 0.5rem;
}

.cta-content p i {
    margin-right: 0.5rem;
    color: var(--blue-300);
}

/* ============================================================
   FAQ Section - Modern Accordion Design
   ============================================================ */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
}

.faq-item:hover {
    border-color: rgba(102, 126, 234, 0.3);
}

.faq-item.active {
    border-color: rgba(102, 126, 234, 0.5);
}

.faq-toggle {
    width: 100%;
    background: transparent;
    border: none;
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    transition: all var(--transition-base);
}

.faq-toggle:hover {
    background: rgba(102, 126, 234, 0.05);
}

.faq-question {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    flex: 1;
    padding-right: 1rem;
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--blue-400);
    min-width: 24px;
    text-align: center;
    transition: transform var(--transition-base);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 2rem 2rem 2rem;
}

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

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

    .faq-toggle {
        padding: 1.5rem;
    }

    .faq-question {
        font-size: 1rem;
    }

    .faq-item.active .faq-answer {
        padding: 0 1.5rem 1.5rem 1.5rem;
    }
}

/* ============================================================
   Custom Scrollbar
   ============================================================ */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-main);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gradient-aurora);
}

/* ============================================================
   Floating Gradient Orbs - Premium Animation
   ============================================================ */
.floating-orbs {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.6;
    animation: float 20s infinite ease-in-out;
    mix-blend-mode: screen;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: var(--gradient-sapphire);
    top: -200px;
    left: -200px;
    animation-duration: 25s;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: var(--gradient-azure);
    top: 50%;
    right: -150px;
    animation-duration: 30s;
    animation-delay: -5s;
}

.orb-3 {
    width: 250px;
    height: 250px;
    background: var(--gradient-cobalt);
    bottom: -125px;
    left: 30%;
    animation-duration: 35s;
    animation-delay: -10s;
}

.orb-4 {
    width: 350px;
    height: 350px;
    background: var(--gradient-electric);
    top: 30%;
    left: 50%;
    animation-duration: 40s;
    animation-delay: -15s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(100px, -100px) rotate(120deg);
    }
    66% {
        transform: translate(-100px, 100px) rotate(240deg);
    }
}

/* ============================================================
   Enhanced Hero - Performance optimized
   ============================================================ */
.hero {
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    position: relative;
    overflow: hidden;
}

/* Enhanced Hero Title with Gradient */
.hero-title {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================================
   Advanced Glassmorphism Cards
   ============================================================ */
.card-glass {
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.05) 0%,
        rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.card-glass::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent,
        rgba(102, 126, 234, 0.8),
        rgba(118, 75, 162, 0.8),
        transparent);
}

/* Enhanced Feature Cards with Gradient Borders */
.feature-card {
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(30, 40, 80, 0.4) 100%);
    position: relative;
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 2px;
    background: var(--gradient-twilight);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity var(--transition-base);
}

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

/* ============================================================
   Premium Buttons with Liquid Effect
   ============================================================ */
.btn-liquid {
    background: var(--gradient-ocean);
    color: white;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-liquid::before,
.btn-liquid::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--gradient-electric);
    border-radius: 50%;
    transform: scale(0);
    opacity: 0;
    transition: all 0.6s;
    z-index: -1;
}

.btn-liquid::after {
    background: var(--gradient-mystic);
    transition-delay: 0.1s;
}

.btn-liquid:hover::before,
.btn-liquid:hover::after {
    transform: scale(3);
    opacity: 1;
}

/* ============================================================
   Gradient Text - Performance optimized
   ============================================================ */
.gradient-text-animated {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================================
   Enhanced Pricing Cards with Gradients
   ============================================================ */
.pricing-card.featured {
    background: linear-gradient(135deg,
        var(--bg-card) 0%,
        rgba(102, 126, 234, 0.1) 50%,
        rgba(118, 75, 162, 0.1) 100%);
    position: relative;
    border: 2px solid rgba(102, 126, 234, 0.3);
}

/* ============================================================
   Terminal with Gradient Glow
   ============================================================ */
.terminal {
    background: linear-gradient(135deg,
        rgba(5, 25, 55, 0.95) 0%,
        rgba(10, 14, 39, 0.95) 100%);
    box-shadow:
        0 0 40px rgba(102, 126, 234, 0.2),
        0 0 80px rgba(118, 75, 162, 0.1),
        inset 0 0 40px rgba(0, 209, 255, 0.05);
}

.terminal-line:hover {
    background: linear-gradient(90deg,
        transparent,
        rgba(102, 126, 234, 0.1),
        transparent);
}

/* ============================================================
   Stats with Gradient Background - Performance optimized
   ============================================================ */
.stat-card {
    background: linear-gradient(135deg,
        var(--bg-card) 0%,
        rgba(102, 126, 234, 0.05) 100%);
    position: relative;
    overflow: hidden;
}

/* ============================================================
   Enhanced Form Elements with Blue Gradients
   ============================================================ */
.form-control:focus {
    background: linear-gradient(135deg,
        rgba(102, 126, 234, 0.05) 0%,
        rgba(118, 75, 162, 0.05) 100%);
    border-color: var(--blue-400);
    box-shadow:
        0 0 0 3px rgba(102, 126, 234, 0.1),
        0 0 20px rgba(102, 126, 234, 0.1);
}

.form-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23667eea' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1.5em 1.5em;
}

/* ============================================================
   Progress Bar - Performance optimized
   ============================================================ */
.progress-bar {
    background: var(--gradient-main);
    position: relative;
    overflow: hidden;
}

/* ============================================================
   Auth Pages - Clean & Minimal Design
   ============================================================ */
.auth-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 0;
    background: linear-gradient(135deg,
        rgba(102, 126, 234, 0.03) 0%,
        transparent 50%,
        rgba(118, 75, 162, 0.03) 100%);
}

.auth-container {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    padding: 0 2rem;
}

.auth-card {
    background: linear-gradient(135deg,
        rgba(102, 126, 234, 0.05) 0%,
        rgba(118, 75, 162, 0.02) 100%);
    border: 1px solid rgba(102, 126, 234, 0.1);
    border-radius: var(--border-radius-lg);
    padding: 4rem;
    transition: all var(--transition-base);
}

.auth-card:hover {
    border-color: rgba(102, 126, 234, 0.2);
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.1);
}

.auth-header {
    text-align: center;
    margin-bottom: 3rem;
}

.auth-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.auth-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    margin: 0;
}

.auth-form {
    width: 100%;
}

.auth-form .form-group {
    margin-bottom: 2rem;
}

.auth-form .form-label {
    display: block;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.auth-form .form-control {
    width: 100%;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(102, 126, 234, 0.15);
    border-radius: var(--border-radius);
    transition: all var(--transition-base);
}

.auth-form .form-control:focus {
    outline: none;
    background: linear-gradient(135deg,
        rgba(102, 126, 234, 0.05) 0%,
        rgba(118, 75, 162, 0.05) 100%);
    border-color: var(--blue-400);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.auth-form .form-control::placeholder {
    color: var(--text-tertiary);
}

.form-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.form-checkbox input[type="checkbox"] {
    width: 1.125rem;
    height: 1.125rem;
    cursor: pointer;
    accent-color: var(--blue-400);
}

.form-checkbox span {
    user-select: none;
}

.form-link {
    color: var(--blue-400);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color var(--transition-base);
}

.form-link:hover {
    color: var(--blue-300);
}

.form-help {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-tertiary);
}

.auth-footer {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(102, 126, 234, 0.1);
}

.auth-footer p {
    margin: 0;
    color: var(--text-secondary);
}

.auth-link {
    color: var(--blue-400);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-base);
}

.auth-link:hover {
    color: var(--blue-300);
}

/* Alert Messages in Auth Forms */
.auth-form .alert {
    margin-bottom: 2rem;
    padding: 1rem 1.25rem;
    border-radius: var(--border-radius);
    font-size: 0.95rem;
}

.alert-error {
    background: linear-gradient(135deg,
        rgba(239, 68, 68, 0.1) 0%,
        rgba(220, 38, 38, 0.05) 100%);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
}

.alert-success {
    background: linear-gradient(135deg,
        rgba(34, 197, 94, 0.1) 0%,
        rgba(22, 163, 74, 0.05) 100%);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #86efac;
}

/* Responsive Design for Auth Pages */
@media (max-width: 640px) {
    .auth-section {
        padding: 3rem 0;
    }

    .auth-card {
        padding: 2.5rem 2rem;
    }

    .auth-title {
        font-size: 1.75rem;
    }

    .form-row {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ============================================================
   Toast Notifications
   ============================================================ */
#toast-container {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    pointer-events: none;
}

.toast {
    min-width: 320px;
    max-width: 420px;
    background: linear-gradient(135deg,
        rgba(15, 23, 42, 0.98) 0%,
        rgba(30, 41, 59, 0.98) 100%);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: var(--border-radius-lg);
    padding: 1.25rem 1.5rem;
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(102, 126, 234, 0.1);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    pointer-events: all;
    animation: toastSlideIn 0.3s ease-out;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.toast.removing {
    animation: toastSlideOut 0.3s ease-out forwards;
}

@keyframes toastSlideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes toastSlideOut {
    from {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
    to {
        transform: translateX(400px) scale(0.9);
        opacity: 0;
    }
}

.toast-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.25rem;
}

/* Success Toast */
.toast.success {
    border-color: rgba(34, 197, 94, 0.3);
}

.toast.success .toast-icon {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.2) 0%, rgba(22, 163, 74, 0.1) 100%);
    color: #86efac;
}

.toast.success::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #22c55e 0%, #16a34a 100%);
    border-radius: var(--border-radius-lg) 0 0 var(--border-radius-lg);
}

/* Error/Danger Toast */
.toast.danger,
.toast.error {
    border-color: rgba(239, 68, 68, 0.3);
}

.toast.danger .toast-icon,
.toast.error .toast-icon {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2) 0%, rgba(220, 38, 38, 0.1) 100%);
    color: #fca5a5;
}

.toast.danger::before,
.toast.error::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #ef4444 0%, #dc2626 100%);
    border-radius: var(--border-radius-lg) 0 0 var(--border-radius-lg);
}

/* Warning Toast */
.toast.warning {
    border-color: rgba(251, 146, 60, 0.3);
}

.toast.warning .toast-icon {
    background: linear-gradient(135deg, rgba(251, 146, 60, 0.2) 0%, rgba(249, 115, 22, 0.1) 100%);
    color: #fdba74;
}

.toast.warning::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #fb923c 0%, #f97316 100%);
    border-radius: var(--border-radius-lg) 0 0 var(--border-radius-lg);
}

/* Info Toast */
.toast.info {
    border-color: rgba(59, 130, 246, 0.3);
}

.toast.info .toast-icon {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(37, 99, 235, 0.1) 100%);
    color: #93c5fd;
}

.toast.info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%);
    border-radius: var(--border-radius-lg) 0 0 var(--border-radius-lg);
}

.toast-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.toast-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.toast-message {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

.toast-close {
    background: none;
    border: none;
    color: var(--text-tertiary);
    cursor: pointer;
    padding: 0.25rem;
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all var(--transition-base);
    flex-shrink: 0;
}

.toast-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    border-radius: 0;
    animation: toastProgress 5s linear forwards;
}

/* Success progress bar */
.toast.success .toast-progress {
    background: linear-gradient(90deg, #22c55e 0%, #16a34a 100%);
}

/* Error/Danger progress bar */
.toast.danger .toast-progress,
.toast.error .toast-progress {
    background: linear-gradient(90deg, #ef4444 0%, #dc2626 100%);
}

/* Warning progress bar */
.toast.warning .toast-progress {
    background: linear-gradient(90deg, #fb923c 0%, #f97316 100%);
}

/* Info progress bar */
.toast.info .toast-progress {
    background: linear-gradient(90deg, #3b82f6 0%, #2563eb 100%);
}

@keyframes toastProgress {
    from {
        width: 100%;
    }
    to {
        width: 0%;
    }
}

/* Responsive Toast */
@media (max-width: 640px) {
    #toast-container {
        top: 1rem;
        right: 1rem;
        left: 1rem;
    }

    .toast {
        min-width: unset;
        max-width: unset;
        width: 100%;
    }

    @keyframes toastSlideIn {
        from {
            transform: translateY(-100px);
            opacity: 0;
        }
        to {
            transform: translateY(0);
            opacity: 1;
        }
    }

    @keyframes toastSlideOut {
        from {
            transform: translateY(0) scale(1);
            opacity: 1;
        }
        to {
            transform: translateY(-100px) scale(0.95);
            opacity: 0;
        }
    }
}