/* ═══════════════════════════════════════════════════════════════
   SECURITY PAGE - PREMIUM STYLES
   ═══════════════════════════════════════════════════════════════ */

/* Global overflow fix */
html, body {
    max-width: 100vw;
    overflow-x: hidden;
}

/* ═══════════════════════════════════════════════════════════════
   ✨ HERO SECTION - ULTRA STYLÉ PREMIUM
   ═══════════════════════════════════════════════════════════════ */

/* Hero Container - Dégradé animé premium */
.hero-security {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 2rem 80px 2rem;
    overflow: visible;
    background: linear-gradient(135deg, 
        #0f172a 0%, 
        #1e293b 25%, 
        #334155 50%, 
        #1e293b 75%, 
        #0f172a 100%);
    background-size: 400% 400%;
    animation: heroGradientFlow 20s ease infinite;
}

@keyframes heroGradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Hero Background - Multi-couches */
.hero-security::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    background-image: 
        linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridPulse 10s ease-in-out infinite;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 40%, transparent 100%);
}

@keyframes gridPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

/* Gradient Orbs - Orbes lumineux animés */
.hero-security::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    top: -10%;
    left: -5%;
    border-radius: 50%;
    background: radial-gradient(circle, 
        rgba(59, 130, 246, 0.6) 0%, 
        rgba(99, 102, 241, 0.4) 35%, 
        transparent 70%);
    filter: blur(120px);
    opacity: 0.6;
    animation: floatOrb1 25s ease-in-out infinite;
    mix-blend-mode: screen;
    z-index: 0;
}

@keyframes floatOrb1 {
    0%, 100% { 
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }
    25% { 
        transform: translate(30px, -50px) scale(1.1);
        opacity: 0.8;
    }
    50% { 
        transform: translate(-20px, -80px) scale(0.95);
        opacity: 0.7;
    }
    75% { 
        transform: translate(40px, -30px) scale(1.05);
        opacity: 0.65;
    }
}

/* Second Orb */
.hero-security .container-fluid::before {
    content: '';
    position: absolute;
    width: 550px;
    height: 550px;
    bottom: -15%;
    right: -10%;
    border-radius: 50%;
    background: radial-gradient(circle, 
        rgba(139, 92, 246, 0.6) 0%, 
        rgba(168, 85, 247, 0.4) 35%, 
        transparent 70%);
    filter: blur(120px);
    opacity: 0.6;
    animation: floatOrb2 30s ease-in-out infinite -5s;
    mix-blend-mode: screen;
    z-index: 0;
    pointer-events: none;
}

@keyframes floatOrb2 {
    0%, 100% { 
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }
    25% { 
        transform: translate(-30px, 50px) scale(1.1);
        opacity: 0.8;
    }
    50% { 
        transform: translate(20px, 80px) scale(0.95);
        opacity: 0.7;
    }
    75% { 
        transform: translate(-40px, 30px) scale(1.05);
        opacity: 0.65;
    }
}

/* Container */
.hero-security .container-fluid {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    height: auto;
    overflow: visible;
}

.hero-security-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

/* Security Badge */
.hero-security .security-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    color: white;
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    box-shadow: 
        0 8px 32px rgba(59, 130, 246, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hero-security .security-badge i {
    font-size: 1.125rem;
}

/* Headline */
.hero-security h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    color: white;
    margin: 0;
    letter-spacing: -0.03em;
    text-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.5),
        0 0 60px rgba(59, 130, 246, 0.3);
}

/* Gradient Text */
.hero-security .highlight-gradient {
    background: linear-gradient(135deg, 
        #60a5fa 0%, 
        #818cf8 25%, 
        #a78bfa 50%, 
        #c084fc 75%, 
        #e879f9 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShine 8s linear infinite;
    filter: drop-shadow(0 0 40px rgba(168, 85, 247, 0.5));
    display: inline-block;
}

@keyframes gradientShine {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

/* Subheadline */
.hero-security p {
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    max-width: 700px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
    font-weight: 400;
}

/* ═══════════════════════════════════════════════════════════════
   SECURITY SECTION - GRILLE DE CARTES
   ═══════════════════════════════════════════════════════════════ */
.content-section {
    padding: 100px 1rem;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

body.dark-mode .content-section {
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
}

.section-header-custom {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header-custom h2 {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #3B82F6, #8B5CF6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header-custom p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.security-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

body.dark-mode .security-card {
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.security-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #3B82F6, #8B5CF6);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.security-card:hover::before {
    transform: scaleX(1);
}

.security-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 
        0 20px 60px rgba(59, 130, 246, 0.2),
        0 0 0 1px rgba(59, 130, 246, 0.3);
}

.security-card .icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: linear-gradient(135deg, #3B82F6, #8B5CF6);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 
        0 10px 30px rgba(59, 130, 246, 0.3),
        inset 0 -2px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
}

.security-card:hover .icon {
    transform: rotateY(360deg) scale(1.1);
    box-shadow: 
        0 15px 40px rgba(59, 130, 246, 0.4),
        inset 0 -2px 8px rgba(0, 0, 0, 0.3);
}

.security-card .icon i {
    font-size: 2.5rem;
    color: white;
}

.security-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.security-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1.0625rem;
}

/* ═══════════════════════════════════════════════════════════════
   DISCLOSURE SECTION
   ═══════════════════════════════════════════════════════════════ */
.disclosure-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 100px 1rem;
    position: relative;
    overflow: hidden;
}

.disclosure-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.disclosure-section .container-fluid {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.disclosure-section h2 {
    margin-bottom: 2rem;
    color: white;
    font-size: 2.5rem;
    font-weight: 800;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.disclosure-section p {
    color: white;
    font-size: 1.125rem;
    line-height: 1.8;
    margin: 0 auto 1.5rem;
}

.disclosure-section a {
    color: #fbbf24;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.disclosure-section a:hover {
    color: #f59e0b;
    text-decoration: underline;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   RESPONSIVE
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

@media (max-width: 1024px) {
    .hero-security .container-fluid::before,
    .hero-security::after {
        width: 400px;
        height: 400px;
    }
}

@media (max-width: 768px) {
    .hero-security {
        min-height: 60vh;
        padding: 140px 1.5rem 60px 1.5rem;
    }

    .hero-security h1 {
        font-size: clamp(2rem, 9vw, 2.75rem);
    }

    .hero-security p {
        font-size: clamp(1rem, 4vw, 1.125rem);
    }

    .hero-security .container-fluid::before,
    .hero-security::after {
        width: 300px;
        height: 300px;
        filter: blur(80px);
    }

    .section-header-custom h2 {
        font-size: 2rem;
    }

    .section-header-custom p {
        font-size: 1.125rem;
    }

    .security-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .disclosure-section h2 {
        font-size: 2rem;
    }

    .disclosure-section p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-security {
        padding: 120px 1rem 50px 1rem;
    }

    .security-card {
        padding: 2rem 1.5rem;
    }
}