/* Appollon SOC - Modern Responsive Theme */
/* Ultra-modern cyber design with responsive layout */

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

:root {
    /* Modern Vibrant Colors */
    --primary: #00d9ff;
    --primary-dark: #00c4e6;
    --secondary: #8b5cf6;
    --accent: #ff6b6b;
    --success: #10b981;
    --warning: #f59e0b;
    
    /* Modern Gradients */
    --gradient-cyber: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-neon: linear-gradient(135deg, #00d9ff 0%, #8b5cf6 100%);
    --gradient-dark: linear-gradient(135deg, #0a0a0f 0%, #1a1a24 50%, #252530 100%);
    
    /* Backgrounds */
    --bg-primary: #0a0a0f;
    --bg-secondary: #1a1a24;
    --bg-card: #252530;
    --bg-glass: rgba(26, 26, 36, 0.8);
    
    /* Text */
    --text-primary: #ffffff;
    --text-secondary: #e2e8f0;
    --text-muted: #94a3b8;
    --text-light-gray: #cbd5e1;
    
    /* Effects */
    --shadow-neon: 0 0 30px rgba(0, 217, 255, 0.5);
    --shadow-purple: 0 0 30px rgba(139, 92, 246, 0.3);
    --shadow-floating: 0 25px 60px rgba(0, 0, 0, 0.8);
    --glow-primary: 0 0 20px rgba(0, 217, 255, 0.6);
    
    /* Typography */
    --font-primary: 'Inter', system-ui, sans-serif;
    --font-heading: 'Space Grotesk', 'Inter', sans-serif;
    
    /* Transitions */
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-bounce: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Background Utilities */
.bg-glass {
    background: var(--bg-glass) !important;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.bg-gradient-dark {
    background: var(--gradient-dark) !important;
}

/* Border Effects */
.border-glow {
    border: 1px solid var(--primary) !important;
    box-shadow: var(--glow-primary);
}

/* Cards */
.service-card {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    transition: var(--transition);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: var(--shadow-neon);
}

.service-card-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.service-card-body {
    flex: 1;
}

.service-card-footer {
    margin-top: auto;
    padding-top: 1.5rem;
}

/* Card Component */
.card {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    overflow: hidden;
}

.card-header {
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
}

.card-body {
    padding: 2rem;
}

/* Forms */
.form-control, .form-select {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: var(--text-primary);
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus, .form-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(0, 217, 255, 0.25);
    background: rgba(255, 255, 255, 0.15);
}

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

.form-label {
    color: var(--text-secondary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Alerts */
.alert {
    border: none;
    border-radius: 15px;
    padding: 1.5rem;
    backdrop-filter: blur(20px);
}

.alert-success {
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10b981;
}

/* Badges */
.badge {
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
}

/* List Styling */
.list-unstyled li {
    padding: 0.25rem 0;
    color: var(--text-secondary);
}

.list-unstyled .fas {
    width: 1.2rem;
}

/* Hero Section */
.hero-modern {
    background: var(--gradient-dark);
    padding: 8rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.hero-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 217, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.15) 0%, transparent 50%);
    z-index: 1;
}

.hero-modern .container {
    position: relative;
    z-index: 2;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: var(--glow-primary); }
    50% { box-shadow: var(--shadow-neon); }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-pulse-glow {
    animation: pulse-glow 2s ease-in-out infinite;
}

/* Utility Classes */
.min-vh-100 {
    min-height: 100vh;
}

.text-muted {
    color: var(--text-muted) !important;
}

.text-secondary {
    color: var(--text-secondary) !important;
}

.text-primary {
    color: var(--primary) !important;
}

.text-white {
    color: var(--text-primary) !important;
}

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

body {
    font-family: var(--font-primary);
    background: var(--gradient-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Modern Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h5 { font-size: clamp(1.1rem, 2vw, 1.5rem); }

/* Display classes */
.display-3 {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800;
}

/* Lead text */
.lead {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* Modern Buttons */
.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

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

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

.btn-primary {
    background: var(--gradient-neon);
    color: white;
    box-shadow: var(--glow-primary);
    border: 1px solid var(--primary);
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: var(--shadow-neon);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-neon);
}

/* Gold Buttons - Couleur plus douce et chaleureuse */
.btn-gold {
    background: linear-gradient(135deg, #d4af37, #f4d03f);
    color: #1a3d5c !important;
    border: 1px solid #d4af37;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(255,255,255,0.15);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.25);
}

.btn-gold:hover {
    background: linear-gradient(135deg, #f4d03f, #d4af37);
    color: #1a3d5c !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4);
    text-decoration: none !important;
}

/* Text Colors */
.text-gold {
    color: #d4af37 !important;
}

.text-gradient {
    background: var(--gradient-neon);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--bg-primary);
    box-shadow: var(--glow-primary);
}

/* Modern Navigation */
.navbar {
    background: var(--bg-glass) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 217, 255, 0.2);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary) !important;
    text-shadow: var(--glow-primary);
}

.navbar-nav .nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    margin: 0 1rem;
    position: relative;
    transition: var(--transition);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-neon);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary) !important;
    text-shadow: var(--glow-primary);
}

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

/* Modern Cards */
.card-modern {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-neon);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.card-modern:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-floating);
    border-color: var(--primary);
}

.card-modern:hover::before {
    transform: scaleX(1);
}

/* Service Cards */
.service-card {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, var(--primary), transparent);
    animation: rotate 4s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card::after {
    content: '';
    position: absolute;
    inset: 2px;
    background: var(--bg-card);
    border-radius: 18px;
    z-index: 1;
}

.service-card > * {
    position: relative;
    z-index: 2;
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: var(--shadow-floating);
}

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

/* Price Display */
.price-modern {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    text-shadow: var(--glow-primary);
    display: block;
    margin: 1rem 0;
}

/* Hero Section */
.hero-modern {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 0;
    position: relative;
    background: var(--gradient-dark);
}

.hero-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 217, 255, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.3) 0%, transparent 50%);
    z-index: 1;
}

.hero-modern > * {
    position: relative;
    z-index: 2;
}

/* Animations */
@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

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

@keyframes pulse-glow {
    0%, 100% { box-shadow: var(--glow-primary); }
    50% { box-shadow: var(--shadow-neon); }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-pulse-glow {
    animation: pulse-glow 2s ease-in-out infinite;
}

/* Navigation */
.navbar {
    background: rgba(10, 10, 15, 0.95) !important;
    backdrop-filter: blur(25px);
    border-bottom: 1px solid rgba(0, 217, 255, 0.2);
    padding: 1rem 0;
    transition: var(--transition);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary) !important;
    text-decoration: none;
}

.navbar-nav .nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem !important;
    border-radius: 8px;
    transition: var(--transition);
}

.navbar-nav .nav-link:hover {
    color: var(--primary) !important;
    background: rgba(0, 217, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 1400px) {
    .container {
        max-width: 95%;
    }
}

@media (max-width: 1200px) {
    .container {
        max-width: 90%;
    }
    
    .service-card {
        margin-bottom: 2rem;
    }
    
    .hero-section {
        padding: 4rem 0;
    }
    
    .display-3 {
        font-size: 2.5rem;
    }
}

@media (max-width: 992px) {
    .hero-section {
        padding: 3rem 0;
    }
    
    .hero-section .display-3 {
        font-size: 2.2rem;
    }
    
    .hero-section .lead {
        font-size: 1.1rem;
    }
    
    .service-card {
        margin-bottom: 1.5rem;
    }
    
    .glass-card {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0.5rem 0;
    }
    
    .navbar-nav {
        text-align: center;
        margin-top: 1rem;
    }
    
    .navbar-nav .nav-link {
        margin: 0.5rem 0;
        display: block;
        padding: 0.75rem 1rem;
    }
    
    .hero-section {
        padding: 2rem 0;
        min-height: 70vh;
    }
    
    .hero-section .display-3 {
        font-size: 2rem;
    }
    
    .hero-section .lead {
        font-size: 1rem;
    }
    
    .hero-badge {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.4rem; }
    h4 { font-size: 1.2rem; }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        width: 100%;
        justify-content: center;
        margin-bottom: 1rem;
        border-radius: 10px;
    }
    
    .btn-lg {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    .service-card, .glass-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
        border-radius: 15px;
    }
    
    .floating-element {
        display: none;
    }
    
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .price-modern {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 1.5rem 0;
        min-height: 60vh;
    }
    
    .hero-section .display-3 {
        font-size: 1.75rem;
        line-height: 1.2;
    }
    
    .hero-section .lead {
        font-size: 0.95rem;
        line-height: 1.4;
    }
    
    .hero-badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .navbar-brand img {
        width: 30px;
        height: 30px;
    }
    
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
    h4 { font-size: 1.1rem; }
    
    .btn {
        padding: 0.7rem 1.25rem;
        font-size: 0.85rem;
        width: 100%;
        border-radius: 8px;
    }
    
    .btn-lg {
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .service-card, .glass-card {
        padding: 1rem;
        margin-bottom: 1rem;
        border-radius: 12px;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    
    .price-modern {
        font-size: 1.5rem;
    }
    
    .pricing-tier {
        margin-bottom: 1.5rem;
    }
    
    .py-5 {
        padding: 2rem 0;
    }
    
    .mb-5 {
        margin-bottom: 2rem;
    }
    
    .text-center {
        text-align: center;
    }
    
    .row {
        margin-left: -0.5rem;
        margin-right: -0.5rem;
    }
    
    .col-md-6, .col-lg-4, .col-lg-6 {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    
    /* Formulaires mobiles */
    .form-control, .form-select {
        font-size: 16px; /* Évite le zoom automatique sur iOS */
        padding: 0.75rem;
        border-radius: 8px;
    }
    
    .btn-group {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .btn-group .btn {
        width: 100%;
    }
    
    /* Navigation mobile */
    .navbar-collapse {
        margin-top: 1rem;
    }
    
    .navbar-nav {
        align-items: center;
    }
    
    .dropdown-menu {
        position: static !important;
        float: none;
        border: none;
        box-shadow: none;
        background: transparent;
    }
    
    .dropdown-menu .dropdown-item {
        text-align: center;
        padding: 0.5rem;
    }
}
    }
    
    .hero-section .display-3 {
        font-size: 1.75rem;
        line-height: 1.2;
    }
    
    .hero-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .btn {
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
        border-radius: 8px;
    }
    
    .btn-lg {
        padding: 0.9rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .service-card, .glass-card {
        padding: 1rem;
        border-radius: 12px;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    
    .navbar {
        padding: 0.3rem 0;
    }
}

/* Utility Classes */
.text-gradient {
    color: var(--primary) !important;
    text-shadow: var(--glow-primary);
    font-weight: 700;
}

/* CRITICAL TEXT VISIBILITY FIXES - FINAL */
.text-muted,
.text-secondary,
.lead,
p.text-muted,
span.text-muted,
div.text-muted,
small.text-muted {
    color: #ffffff !important;
    opacity: 0.8 !important;
}

.text-light-gray {
    color: #ffffff !important;
    opacity: 0.9 !important;
}

.badge.bg-secondary {
    background-color: rgba(255, 255, 255, 0.9) !important;
    color: #000000 !important;
}

/* Hero Section Uniformity */
.hero-section {
    background: var(--gradient-dark);
    min-height: 100vh;
    padding: 8rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.hero-section.modern-hero {
    background: var(--gradient-dark);
    min-height: 100vh;
}

.min-vh-75 {
    min-height: 75vh !important;
}

/* Form Controls */
.form-control {
    background: var(--bg-glass);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border-radius: 10px;
    padding: 0.75rem;
}

.form-control:focus {
    background: var(--bg-glass);
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(0, 217, 255, 0.25);
    color: #ffffff;
}

.form-select {
    background: var(--bg-glass);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border-radius: 10px;
    padding: 0.75rem;
}

.form-select:focus {
    background: var(--bg-glass);
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(0, 217, 255, 0.25);
    color: #ffffff;
}

/* RESPONSIVITÉ AMÉLIOORÉE - MOBILE FIRST */
.service-card {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    transition: var(--transition);
    height: 100%;
    margin-bottom: 2rem;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-floating);
    border-color: var(--primary);
}

.service-card-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.service-card-body {
    flex-grow: 1;
}

.service-card-footer {
    margin-top: auto;
    text-align: center;
}

/* Gold Buttons Enhanced */
.btn-outline-gold {
    background: transparent;
    border: 2px solid #ffd700;
    color: #ffd700;
    font-weight: 600;
    transition: var(--transition);
}

.btn-outline-gold:hover {
    background: #ffd700;
    color: #000000;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.4);
}

/* Cache busting version 2 */
.bg-gradient-secondary {
    background: linear-gradient(135deg, var(--secondary), var(--accent)) !important;
}

.bg-gradient-cyber {
    background: var(--gradient-cyber) !important;
}

.bg-gradient-modern {
    background: var(--gradient-neon) !important;
}

/* Enhanced Responsiveness */
@media (max-width: 992px) {
    .service-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-section {
        padding: 3rem 0;
        min-height: 80vh;
    }
    
    .hero-section .display-3 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .service-card {
        padding: 1.25rem;
        margin-bottom: 1.25rem;
    }
    
    .hero-section {
        padding: 2rem 0;
        min-height: 70vh;
    }
    
    .hero-section .display-3 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .btn {
        width: 100%;
        margin-bottom: 0.75rem;
    }
    
    .floating-element {
        display: none;
    }
}

@media (max-width: 576px) {
    .service-card {
        padding: 1rem;
        border-radius: 15px;
        margin-bottom: 1rem;
    }
    
    .hero-section {
        padding: 1.5rem 0;
        min-height: 60vh;
    }
    
    .hero-section .display-3 {
        font-size: 1.75rem;
    }
    
    .btn {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .hero-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}

.text-glow {
    text-shadow: var(--glow-primary);
}

.bg-glass {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
}

.border-glow {
    border: 1px solid var(--primary);
    box-shadow: var(--glow-primary);
}

/* Loading Animation */
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(0, 217, 255, 0.3);
    border-top: 3px solid var(--primary);
    border-radius: 50%;
    animation: rotate 1s linear infinite;
}

/* Modern Form Elements */
.form-control-modern {
    background: var(--bg-glass);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem;
    color: var(--text-primary);
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.form-control-modern:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: var(--glow-primary);
}

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

/* Text Visibility Classes */
.text-white {
    color: var(--text-primary) !important;
}

.text-light-gray {
    color: var(--text-light-gray) !important;
}

.text-primary {
    color: var(--primary) !important;
}

.text-accent {
    color: var(--secondary) !important;
}

/* Hero Section Text */
.hero-section h1,
.hero-section h2,
.hero-section h3 {
    color: var(--text-primary) !important;
}

.hero-section p {
    color: var(--text-light-gray) !important;
}

/* Card Text - Enhanced visibility */
.glass-card h1, .glass-card h2, .glass-card h3, .glass-card h4, .glass-card h5, .glass-card h6 {
    color: var(--text-primary) !important;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.glass-card p, .glass-card li {
    color: var(--text-light-gray) !important;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.2);
}

/* Glass Card Enhancement */
.glass-card {
    background: rgba(26, 26, 36, 0.95) !important;
    border: 1px solid rgba(0, 217, 255, 0.3) !important;
}

/* Hero Section Styling */
.hero-section {
    background: var(--gradient-dark);
    position: relative;
    padding: 8rem 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 217, 255, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.3) 0%, transparent 50%);
    z-index: 1;
}

.hero-section > * {
    position: relative;
    z-index: 2;
}

.hero-badge {
    background: rgba(0, 217, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 217, 255, 0.3);
    color: var(--text-primary);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.min-vh-75 {
    min-height: 75vh;
}

.text-light-gray {
    color: var(--text-light-gray) !important;
}

/* Floating Elements */
.floating-element {
    position: absolute;
    font-size: 2rem;
    opacity: 0.6;
    animation: float 6s ease-in-out infinite;
    z-index: 1;
}

.glass-card .text-muted {
    color: var(--text-light-gray) !important;
}

/* Hero Badge Enhancement */
.hero-badge {
    background: rgba(0, 217, 255, 0.1) !important;
    border: 1px solid rgba(0, 217, 255, 0.3) !important;
    color: var(--text-primary) !important;
}

/* SOLUTION DRASTIQUE - FORCER TOUT LE TEXTE EN BLANC */
* {
    color: #ffffff !important;
}

h1, h2, h3, h4, h5, h6 {
    color: #ffffff !important;
    text-shadow: none !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: #ffffff !important;
    background-clip: unset !important;
}

p, span, div, li, a {
    color: #ffffff !important;
}

.text-gradient {
    color: #00d9ff !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: #00d9ff !important;
    background-clip: unset !important;
}

.text-primary {
    color: #00d9ff !important;
}

.text-accent {
    color: #8b5cf6 !important;
}

.text-muted, .text-light-gray {
    color: #cbd5e1 !important;
}

/* Navigation texte */
.navbar-brand {
    color: #00d9ff !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: #00d9ff !important;
    background-clip: unset !important;
}

.nav-link {
    color: #ffffff !important;
}

/* Boutons texte */
.btn {
    color: #ffffff !important;
}

.btn-outline {
    color: #00d9ff !important;
}

/* Cards texte */
.glass-card, .glass-card * {
    color: #ffffff !important;
}

.service-card, .service-card * {
    color: #ffffff !important;
}