/* ============================================
   VARIABLES - VERT & BLEU CYBERSÉCURITÉ
   ============================================ */
:root {
    --cyber-blue: #00d4ff;
    --cyber-green: #00ff88;
    --dark-blue: #0a2540;
    --navy: #1a3a52;
    --light-blue: #e6f7ff;
    --dark-green: #00b36b;
    --black: #0d0d0d;
    --dark-gray: #1a1a1a;
    --gray: #666666;
    --light-gray: #e5e5e5;
    --white: #ffffff;
    --shadow-sm: 0 2px 12px rgba(0,212,255,0.15);
    --shadow-md: 0 8px 24px rgba(0,212,255,0.2);
    --shadow-lg: 0 16px 48px rgba(0,212,255,0.25);
    --transition: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    background: var(--white);
    color: var(--black);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 37, 64, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 2px solid var(--cyber-blue);
    transition: var(--transition);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.logo-img {
    height: 50px;
    width: auto;
    display: block;
}

.logo-fallback {
    display: none;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--cyber-blue), var(--cyber-green));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0,212,255,0.4);
}

.shield-icon {
    font-size: 2rem;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    letter-spacing: 1px;
}

.logo-sub {
    font-size: 0.85rem;
    color: var(--cyber-blue);
    font-weight: 500;
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    font-family: 'Rajdhani', sans-serif;
    text-decoration: none;
    color: var(--white);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
    position: relative;
    transition: var(--transition);
    text-transform: uppercase;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--cyber-blue), var(--cyber-green));
    transition: var(--transition);
}

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

.nav-link:hover,
.nav-link.active {
    color: var(--cyber-blue);
}

.nav-cta {
    background: linear-gradient(135deg, var(--cyber-blue), var(--cyber-green));
    color: var(--dark-blue);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 700;
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,212,255,0.4);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-toggle span {
    width: 28px;
    height: 3px;
    background: var(--cyber-blue);
    border-radius: 2px;
    transition: var(--transition);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    padding: 8rem 2rem 4rem;
    position: relative;
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--navy) 100%);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0,212,255,0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,212,255,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.3;
}

.cyber-particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--cyber-blue);
    border-radius: 50%;
    animation: float 15s infinite ease-in-out;
    box-shadow: 0 0 10px var(--cyber-blue);
}

.particle:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    top: 60%;
    left: 80%;
    animation-delay: -5s;
}

.particle:nth-child(3) {
    top: 80%;
    left: 30%;
    animation-delay: -10s;
}

.particle:nth-child(4) {
    top: 40%;
    left: 60%;
    animation-delay: -7s;
}

.particle:nth-child(5) {
    top: 70%;
    left: 50%;
    animation-delay: -3s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translate(30px, -30px) scale(1.5);
        opacity: 1;
    }
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 6rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: rgba(0,212,255,0.1);
    border: 1px solid rgba(0,212,255,0.3);
    border-radius: 50px;
    color: var(--cyber-blue);
    font-weight: 600;
    margin-bottom: 2rem;
    animation: fadeInDown 0.8s ease-out;
}

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

.badge-icon {
    font-size: 1.3rem;
}

.hero-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: 5rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 2rem;
}

.title-line {
    display: block;
    animation: slideInLeft 0.8s ease-out backwards;
}

.title-line:nth-child(1) {
    animation-delay: 0.2s;
}

.title-line:nth-child(2) {
    animation-delay: 0.4s;
}

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

.title-gradient {
    background: linear-gradient(135deg, var(--cyber-blue), var(--cyber-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.8;
    margin-bottom: 3rem;
    max-width: 600px;
    animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

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

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 4rem;
    animation: fadeInUp 0.8s ease-out 0.8s backwards;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 2.5rem;
    text-decoration: none;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    border-radius: 8px;
    transition: var(--transition);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.btn-primary {
    background: linear-gradient(135deg, var(--cyber-blue), var(--cyber-green));
    color: var(--dark-blue);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0,212,255,0.4);
}

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

.btn-outline:hover {
    background: rgba(0,212,255,0.1);
    border-color: var(--cyber-green);
}

.btn-white {
    background: var(--white);
    color: var(--dark-blue);
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

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

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

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    animation: fadeInUp 0.8s ease-out 1s backwards;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(0,212,255,0.05);
    border: 1px solid rgba(0,212,255,0.2);
    border-radius: 12px;
}

.stat-icon {
    font-size: 2rem;
}

.stat-number {
    font-family: 'Rajdhani', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--cyber-blue);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
}

/* Hero Visual */
.hero-visual {
    animation: fadeIn 1s ease-out 0.5s backwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.security-display {
    background: rgba(0,212,255,0.05);
    border: 2px solid rgba(0,212,255,0.3);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.display-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0,212,255,0.2);
    color: var(--cyber-blue);
    font-weight: 600;
}

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--cyber-green);
    animation: pulse 2s infinite;
}

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

.display-content {
    text-align: center;
}

.security-icon {
    margin-bottom: 2rem;
}

.security-metrics {
    display: grid;
    gap: 1.5rem;
}

.metric {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    background: rgba(0,212,255,0.05);
    border-radius: 8px;
}

.metric-label {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

.metric-value {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--cyber-green);
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-section {
    padding: 6rem 0;
    background: var(--white);
}

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

.section-tag {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--light-blue);
    border-radius: 50px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.9rem;
    color: var(--dark-blue);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-desc {
    font-size: 1.15rem;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    padding: 2.5rem;
    background: var(--white);
    border: 2px solid var(--light-gray);
    border-radius: 16px;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-card.cyber:hover {
    border-color: var(--cyber-blue);
}

.service-card.surveillance:hover {
    border-color: var(--cyber-green);
}

.service-card.digital:hover {
    border-color: var(--cyber-blue);
}

.service-card.software:hover {
    border-color: var(--cyber-green);
}

.service-card.data:hover {
    border-color: var(--cyber-blue);
}

.service-card.infra:hover {
    border-color: var(--cyber-green);
}

.card-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 1.5rem;
    color: var(--cyber-blue);
}

.service-card:nth-child(even) .card-icon {
    color: var(--cyber-green);
}

.service-card h3 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.card-link {
    color: var(--cyber-blue);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.card-link:hover {
    color: var(--cyber-green);
}

/* ============================================
   WHY SECTION
   ============================================ */
.why-section {
    padding: 6rem 0;
    background: var(--light-blue);
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.why-content h2 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.why-content > p {
    font-size: 1.15rem;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 3rem;
}

.why-list {
    display: grid;
    gap: 1.5rem;
}

.why-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 12px;
    transition: var(--transition);
}

.why-item:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-sm);
}

.why-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--cyber-blue), var(--cyber-green));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    flex-shrink: 0;
}

.why-text h4 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 0.5rem;
}

.why-text p {
    color: var(--gray);
    line-height: 1.7;
}

.why-visual {
    display: flex;
    justify-content: center;
}

.security-stats {
    text-align: center;
}

.stat-circle {
    position: relative;
    display: inline-block;
}

.stat-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.stat-percent {
    display: block;
    font-family: 'Rajdhani', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-blue);
}

.stat-text {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.3;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--navy) 100%);
    position: relative;
    overflow: hidden;
    text-align: center;
    color: var(--white);
}

.cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0,212,255,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,212,255,0.05) 1px, transparent 1px);
    background-size: 50px 50px;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.cta-content h2 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.5rem;
    line-height: 1.7;
    margin-bottom: 3rem;
    opacity: 0.9;
}

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

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--dark-gray);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-logo-img {
    height: 50px;
    width: auto;
    display: block;
}

.logo-fallback-footer {
    display: none;
}

.footer-desc {
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

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

.social-link {
    padding: 0.5rem 1rem;
    background: rgba(0,212,255,0.1);
    border: 1px solid rgba(0,212,255,0.3);
    border-radius: 6px;
    color: var(--cyber-blue);
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background: rgba(0,212,255,0.2);
    border-color: var(--cyber-blue);
}

.footer-col h4 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--cyber-blue);
}

.footer-contact li {
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
}

.footer-bottom {
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1200px) {
    .hero-container {
        gap: 4rem;
    }
}

@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(10, 37, 64, 0.98);
        flex-direction: column;
        justify-content: flex-start;
        padding: 3rem;
        gap: 2rem;
        transition: var(--transition);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 6rem 1rem 3rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .cta-content h2 {
        font-size: 2.5rem;
    }
}
