/* ========================================
   SECCOM360 - NEURONAL PREMIUM LIGHT
   Thème clair élégant et sophistiqué
======================================== */

/* Variables Neuronales Lumineuses */
:root {
    /* Couleurs principales - vibrantes mais élégantes */
    --neural-primary: #4A90E2;
    /* Bleu électrique */
    --neural-secondary: #9B59B6;
    /* Violet royal */
    --neural-tertiary: #48C9B0;
    /* Turquoise */
    --neural-accent: #FF6B9D;
    /* Rose électrique */
    --neural-energy: #F39C12;
    /* Orange énergétique */

    /* Backgrounds clairs */
    --bg-primary: #FFFFFF;
    --bg-secondary: #F8FAFC;
    --bg-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);

    /* Textes */
    --text-primary: #1A202C;
    --text-secondary: #4A5568;
    --text-muted: #718096;

    /* Effets */
    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 20px 60px rgba(0, 0, 0, 0.15);
    --shadow-strong: 0 30px 80px rgba(0, 0, 0, 0.2);

    --font-main: "Inter", "Poppins", system-ui, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background:
        radial-gradient(circle at 20% 50%, rgba(74, 144, 226, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(155, 89, 182, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(72, 201, 176, 0.08) 0%, transparent 50%),
        linear-gradient(to bottom, #FFFFFF, #F8FAFC);
    background-attachment: fixed;
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

/* ========================================
   HERO - Design Premium Lumineux
======================================== */
.neural-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: transparent;
    overflow: hidden;
}


#brain3D,
#networkBg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}


.hero-overlay {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    padding: 2rem;
    padding-top: 15vh;
    margin-top: 0;
}

/* Titre Holographique Premium */
.hologram-text {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.glitch {
    position: relative;
    background: linear-gradient(135deg, var(--neural-primary), var(--neural-secondary), var(--neural-tertiary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    animation: gradient-shift 4s ease infinite;
    filter: drop-shadow(0 4px 20px rgba(74, 144, 226, 0.3));
}

@keyframes gradient-shift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.neural-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.8rem;
    letter-spacing: -0.5px;
}

.neural-tagline {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-weight: 500;
}

/* Boutons Premium */
.synapse-buttons {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-neural-primary,
.btn-neural-secondary,
.btn-neural-demo,
.btn-neural-ghost {
    position: relative;
    padding: 1.2rem 2.5rem;
    border-radius: 16px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    box-shadow: var(--shadow-soft);
}

.btn-neural-primary {
    background: linear-gradient(135deg, var(--neural-primary), var(--neural-tertiary));
    color: white;
    box-shadow: 0 8px 24px rgba(74, 144, 226, 0.4);
}

.btn-neural-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(74, 144, 226, 0.5);
}

.btn-neural-secondary {
    background: white;
    border: 2px solid var(--neural-primary);
    color: var(--neural-primary);
    box-shadow: 0 4px 16px rgba(74, 144, 226, 0.15);
}

.btn-neural-secondary:hover {
    background: var(--neural-primary);
    color: white;
    transform: translateY(-4px);
}

.btn-neural-demo {
    background: linear-gradient(135deg, var(--neural-secondary), var(--neural-accent));
    color: white;
    box-shadow: 0 8px 24px rgba(155, 89, 182, 0.4);
}

.btn-neural-demo:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 16px 40px rgba(155, 89, 182, 0.5);
}

.btn-neural-ghost {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(74, 144, 226, 0.3);
    color: var(--text-primary);
}

.btn-neural-ghost:hover {
    background: rgba(74, 144, 226, 0.1);
    border-color: var(--neural-primary);
}

.btn-pulse {
    position: absolute;
    inset: 0;
    border-radius: 16px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.5) 0%, transparent 70%);
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {

    0%,
    100% {
        opacity: 0;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    animation: float-smooth 3s ease-in-out infinite;
    margin-top: 4rem;
}

@keyframes float-smooth {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-12px);
    }
}

.scroll-pulse {
    width: 32px;
    height: 52px;
    border: 3px solid var(--neural-primary);
    border-radius: 24px;
    position: relative;
}

.scroll-pulse::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--neural-primary);
    border-radius: 50%;
    animation: scroll-dot 2s ease-in-out infinite;
}

@keyframes scroll-dot {
    0% {
        top: 12px;
        opacity: 1;
    }

    100% {
        top: 32px;
        opacity: 0;
    }
}

.scroll-indicator span {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 600;
}

/* ========================================
   FEATURE NEURONS - Cards Élégantes
======================================== */
.feature-neurons {
    position: relative;
    padding: 8rem 2rem;
    background: transparent;
    overflow: hidden;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 900;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--neural-primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    letter-spacing: -1px;
}

.title-pulse {
    display: inline-block;
    width: 14px;
    height: 14px;
    background: linear-gradient(135deg, var(--neural-primary), var(--neural-tertiary));
    border-radius: 50%;
    margin-right: 1.2rem;
    box-shadow: 0 0 20px rgba(74, 144, 226, 0.6);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.4);
    }
}

.neurons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
    justify-content: center;
}

/* Carte Neurone Premium */
.neuron {
    position: relative;
    background: white;
    border-radius: 24px;
    padding: 3rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.neuron::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--neural-primary), var(--neural-tertiary));
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

.neuron:hover::before {
    transform: scaleX(1);
}

.neuron:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 60px rgba(74, 144, 226, 0.2);
}

.neuron-glow {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(74, 144, 226, 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.neuron:hover .neuron-glow {
    opacity: 1;
}

.neuron-core {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, var(--neural-primary), var(--neural-tertiary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(74, 144, 226, 0.3);
    position: relative;
}

.neuron-core::before {
    content: '';
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--neural-primary), var(--neural-tertiary));
    opacity: 0.2;
    animation: core-pulse 3s ease-in-out infinite;
}

@keyframes core-pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.2;
    }

    50% {
        transform: scale(1.15);
        opacity: 0;
    }
}

.neuron-icon {
    width: 50px;
    height: 50px;
    fill: white;
}

.neuron-label {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.8rem;
}

.neuron-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.neuron-stats {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 600;
}

.stat-pulse {
    color: var(--neural-primary);
    font-weight: 800;
    font-size: 1.3rem;
}

/* Le reste du CSS continue... */

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero-overlay {
        margin-top: 5vh;
        padding: 1.5rem;
    }

    .neural-hero {
        min-height: 60vh;
    }

    .scroll-indicator {
        margin-top: 2.5rem;
    }

    .synapse-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 400px;
    }

    .btn-neural-primary,
    .btn-neural-secondary,
    .btn-neural-demo,
    .btn-neural-ghost {
        width: 100%;
        justify-content: center;
    }

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



/* DEMO PORTAL */
.demo-portal {
    position: relative;
    padding: 10rem 2rem;
    color: var(--text-primary);
    text-align: center;
    overflow: hidden;
}



.portal-content {
    position: relative;
    z-index: 10;
}

.portal-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--neural-primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}

.portal-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    margin-bottom: 3rem;
    opacity: 0.9;
}

.portal-enter {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 3rem;
    background: white;
    color: var(--neural-secondary);
    border-radius: 60px;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
    border: none;
    cursor: pointer;
}

.portal-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.portal-guest {
    background: rgba(255, 255, 255, 0.9);
    color: var(--neural-primary);
}


.portal-enter:hover {
    transform: scale(1.05);
}

.portal-ring,
.portal-arrow,
.portal-text {
    position: relative;
    z-index: 2;
}

/* SECURITY RADAR */
.security-radar {
    position: relative;
    padding: 8rem 2rem;
    background: transparent;
}

.radar-overlay {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

.security-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2.5rem;
    justify-content: center;
}

.security-item {
    background: white;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.security-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.security-icon-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.1), rgba(155, 89, 182, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
}

.security-item:hover .security-icon-wrapper {
    background: linear-gradient(135deg, var(--neural-primary), var(--neural-tertiary));
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(74, 144, 226, 0.3);
}

.security-svg {
    width: 40px;
    height: 40px;
    fill: var(--neural-primary);
    transition: fill 0.3s ease;
}

.security-item:hover .security-svg {
    fill: white;
}

.security-item h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.8rem;
}

.security-item p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* FOOTER */
.synaptic-footer {
    background: transparent;
    padding: 2rem 2rem 1.5rem;
    border-top: 1px solid rgba(74, 144, 226, 0.1);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 3rem;
}

.footer-brand h3 {
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--neural-primary), var(--neural-tertiary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

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

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    max-width: 1200px;
    margin: 0 auto;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* MODAL */
.guest-key-modal {
    position: fixed;
    inset: 0;
    background: rgba(26, 32, 44, 0.8);
    backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 2rem;
}

.guest-key-modal.open {
    display: flex;
}

.guest-key-panel {
    background: white;
    border-radius: 24px;
    padding: 3rem 2.5rem;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.3);
}

.guest-key-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.guest-key-text {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.guest-key-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.guest-key-input {
    padding: 1.2rem;
    border: 2px solid rgba(74, 144, 226, 0.2);
    border-radius: 12px;
    font-size: 1rem;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.guest-key-input:focus {
    outline: none;
    border-color: var(--neural-primary);
    box-shadow: 0 0 0 4px rgba(74, 144, 226, 0.1);
}

.guest-key-actions {
    display: flex;
    gap: 1rem;
}

.guest-key-actions button {
    flex: 1;
}

#neuronsCanvas {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

/* RESPONSIVE ADDITIONNELS */
@media (max-width: 768px) {
    .metrics-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .security-features {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .metric-value {
        font-size: 3rem;
    }

    .portal-enter {
        padding: 1.2rem 2rem;
        font-size: 1rem;
    }
}