:root {
	--purple-900: #170B28;
	--purple-800:#241140;
    --card-bg: #121e30;
    --primary-gradient: linear-gradient(180deg, #4f46e5 0%, #3b82f6 100%);
	--secondary-gradient: linear-gradient(180deg, #776ffc 0%, #a09afc 100%);
    --indigo-glow: rgba(79, 70, 229, 0.6);
    --text-main: #ffffff;
    --text-muted: #c8a5fa;
    --accent-chartreuse: #b5fc51;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

@font-face {
    font-family: 'CyberPunk-Regular';
    src: url('./assets/fonts/CyberPunk-Regular.woff2') format('woff2'),
         url('./assets/fonts/CyberPunk-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap; /* Permet d'afficher du texte en attendant le chargement */
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--purple-900); /* Fond de base #170B28 */
    background-image: radial-gradient(
        circle at bottom right, 
        rgba(119, 111, 252, 0.7) 0%,   /* Cœur du halo lumineux (violet) */
        rgba(79, 70, 229, 0.15) 25%,   /* radius du halo en pourcentage de la taille de la page */
        transparent 70%                /* dégradé du halo pour fusinner avec le fond */
    );
    background-attachment: fixed; /* Maintient le halo visible en bas à droite lors du scroll */
    background-repeat: no-repeat;
    background-size: cover;
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

main {
    background: transparent;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 120px;
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1000;
    border-bottom: 1px solid rgba(51, 65, 85, 0.5);
    display: flex;
    align-items: center;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo img {
    height: 60px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 20px; /* Réduit un peu l'écart pour gagner de la place */
    align-items: center;
    flex-wrap: wrap; /* Permet aux éléments de descendre plutôt que de se couper */
    justify-content: flex-end;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    transition: 0.3s;
}

.nav-links a:hover {
    color: #b5fc51;
}

.btn-nav {
    border: 1px solid var(--accent-chartreuse);
    padding: 8px 20px;
    border-radius: 8px;
}

/* Hero image Section */
.hero-image-section {
    width: 100%;
    min-height: 40vh; /* Utilisation de min-height pour la flexibilité */
    margin-top: 40px;
   
    display: flex;       /* Active Flexbox */
    justify-content: center; /* Centre horizontalement */
    align-items: center;     /* Centre verticalement */
    padding: 20px;       /* Espace de sécurité pour mobiles */
}

.image-container {
    width: 100%;
    max-width: 1260px;   /* Empêche l'image de devenir trop immense */
    display: flex;
    justify-content: center;
}

.image-container img {
    max-width: 100%;     /* L'image ne dépasse jamais son conteneur */
    height: auto;        /* Conserve les proportions */
    display: block;
    object-fit: contain; /* S'assure que l'image est entière */
	border-radius: 20px; /* Ajustez la valeur selon l'arrondi souhaité */
    overflow: hidden;    /* Sécurité pour s'assurer que rien ne dépasse */
}

/* Hero video Section - Calqué sur hero-image-section */
.hero-video-section {
    width: 100%;
    min-height: 40vh; 
    margin-top: 0px;
    display: flex;
    justify-content: center;
    padding: 0px;
	overflow: hidden; /* Évite les scrollbars horizontaux si la vidéo dépasse */
}

/* Conteneur de la vidéo - Calqué sur image-container */
.video-container {
    width: 100%;
    max-width: 1260px; /* Même largeur maximale que votre image */
    display: flex;
    justify-content: center;
	line-height: 0; /* Supprime l'espace vide sous la vidéo (car c'est un élément inline par défaut) */
}

/* La balise vidéo elle-même - Calquée sur image-container img */
.hero-video {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 8px; /* Optionnel : ajoute un léger arrondi si désiré */
}

/* Hero Text */
.hero-text-section {
	font-family: 'CyberPunk-Regular', sans-serif;
    padding: 80px 0;
    text-align: center;
}

.gradient-text {
    background: var(--secondary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 2.5rem;
    font-weight: 800;
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin: 20px 0;
    color: var(--text-muted);
}

/* Why cybershard */
.why-cybershard {
    padding: 20px 0;
	text-align: justify;
}

/* Style spécifique pour le nom de la marque */
.brand-blue {
    color: #00C3FF;
    font-weight: 600; /* Légèrement plus gras pour qu'il ressorte */
}

.content-box {
    display: flex;
    background: transparent; 
    border: 1px solid #8A76DC;
    gap: 50px;               /* Espace entre les deux boîtes */
	padding: 30px;
	border-radius: 20px;
    align-items: center;
}

/* Style des deux nouveaux conteneurs (Texte et Vidéo) */
.text-card-wrapper, .video-card-wrapper {
    background: rgba(15, 23, 42, 0.6); /* Fond sombre identique à l'image */
    border: 1px solid #6495ED; /* Bordure fine et visible */
    border-radius: 20px;
    padding: 30px;
}

/* Bloc de gauche : Texte */
.text-card-wrapper {
    flex: 2;
    display: flex;
    align-items: center;
    text-align: justify;
}
.text-card-wrapper h2 {
    font-size: 2.2rem; /* Réduit la taille spécifiquement ici */
    margin-bottom: 10px;
}

.vertical-accent {
    width: 6px;
    min-height: 120px;
    height: 100%; /* S'adapte au contenu textuel */
    background: chartreuse;
    flex-shrink: 0;
    margin-right: 25px;
    border-radius: 3px;
}

/* Bloc de droite : Vidéo */
.video-card-wrapper {
    flex: 1.2;
    display: flex;
    justify-content: center;
    align-items: center;
	padding: 15px;
}

.video-placeholder {
    width: 100%;
}

.video-placeholder video {
    width: 100%;
	max-height: 250px;
    border-radius: 6px; /* Coins légèrement arrondis pour la vidéo */
    display: block;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.video-placeholder2 {
    width: 100%;
	overflow: hidden;
	border-radius: 15px;
}

.video-placeholder2 video {
    width: 100%;
	max-height: 370px;
    border-radius: 6px; /* Coins légèrement arrondis pour la vidéo */
	object-fit: cover;
    display: block;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
/* Features Grid */
.features-outer-wrapper {
    background-color: #02050d; 
    width: 100%;
    padding: 60px 0; /* Ajoute de l'espace en haut et en bas de la section */
    margin: 40px 0;   /* Espace avec les sections au-dessus et en-dessous */
}
.features {
    padding: 0 !important;
	text-align: center;
	
}
.section-title {
    text-align: center;
    margin-bottom: 50px;
	font-size: 2.5rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
	justify-items: center;
	justify-content: center;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid rgba(79, 70, 229, 0.8);
    border-radius: 15px;
    overflow: hidden;
    transition: 0.3s;
	
	width: 100%;
    max-width: 380px; /* Ajustez cette valeur pour réduire ou agrandir */
    margin: 0 auto;   /* Centre la carte dans sa colonne */
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 30px rgba(79, 70, 229, 0.7);
}

.feature-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    padding: 16px; 
    border-radius: 20px; 
}

/* Nouveau style pour les cartes avec icônes */
.feature-card.icon-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Aligne l'icône à gauche comme le texte */
    padding-top: 20px;
}

.feature-card.icon-card img {
    width: 100px;  /* Taille fixe */
    height: 80px; /* Taille fixe */
    object-fit: contain; /* Garde les proportions de l'icône */
    margin-left: 25px;   /* Aligné avec le padding du card-body */
    padding: 0;          /* On enlève le padding interne des grandes images */
    border-radius: 0;    /* Pas besoin de gros arrondis sur l'icône */
}

.card-body {
    padding: 25px;
	text-align: left;
}

.card-body h3 {
    margin-bottom: 10px;
	text-align: left;
}

.card-body p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
	text-align: justify;
	hyphens: auto;
}

.read-more-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--accent-indigo);
    font-weight: 600;
	transition: all 0.3s ease;
}
/* État au survol (Hover) */
.read-more-wrapper:hover {
    color: #86ddfc; 
}

.read-more-wrapper:hover .arrow {
    border-color: #86ddfc;
    color: #86ddfc;
}
.arrow {
    width: 30px;
    height: 30px;
    border: 1px solid var(--accent-indigo);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
	transition: all 0.3s ease;
}

/* --- NOUVEAU: AUDIENCE SECTION --- */
.audience-section {
    padding: 80px 0;
    background: linear-gradient(to right, rgba(30, 64, 175, 0.4), rgba(49, 46, 129, 0.6));
    margin-top: 60px;
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.audience-card {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid #334155;
    padding: 30px;
    border-radius: 16px;
    text-align: center;
}

.audience-card h3 {
    color: #60a5fa;
    margin-bottom: 15px;
    font-size: 1.25rem;
}

.audience-card p {
    color: #bfdbfe;
    text-align: center; /* Exception: Les petites cartes d'audience rendent mieux centrées */
}

/* --- NOUVEAU: PHILOSOPHY SECTION --- */
.philosophy-section {
    padding: 60px 0;
    text-align: center;
}

.philosophy-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.15rem;
    color: white;
    text-align: center; /* Exception: Message principal centré */
}

.highlight {
    color: #60a5fa;
    font-weight: 600;
}


/*------------------------------------------------------Team-------------------------------------------------*/
.benefice-container {
	margin-top:20px;
    display: flex; /* Disposer les sous-blocs horizontalement */
    flex-wrap: wrap; /* Permettre l'affichage en colonne sur petits écrans */
    gap: 20px; /* Espacement entre les blocs */
    width: 100%; /* Occupe toute la largeur disponible */
    box-sizing: border-box; /* Inclut les bordures et le padding */
}

/* Sous-blocs */
.block {
    flex: 1; /* Prendre une part égale de l'espace total */
    min-width: 300px; /* Largeur minimale pour les petits écrans */
    height: 290px; /* Hauteur fixe pour chaque bloc */
    border-radius: 4px; /* Coins arrondis */
    overflow: hidden; /* Contenir les débordements */
}

.video video {
    width: auto; /* La vidéo occupe toute la largeur disponible */
    max-width: 700px; /* Largeur maximale fixe pour la vidéo */
	margin-left: 40px;
    height: 400px; /* Conserve les proportions */
    border-radius: 4px; /* Coins arrondis */
}

/* Bloc de texte */
.text-block {
    display: flex; /* Aligner le contenu */
    flex-direction: column; /* Empiler les éléments verticalement */
    justify-content: center; /* Centrer verticalement */
    align-items: flex-start; /* Aligner les éléments à gauche */
    padding: 10px; /* Marges internes */
    text-align: justify; /* Alignement du texte */
}

.image-text {
    display: flex; /* Aligner l'image et le texte horizontalement */
    align-items: center; /* Centrer verticalement */
    gap: 15px; /* Espacement entre l'image et le texte */
}

.arrow-icon {
    width: 30px; /* Ajustez la taille de l'image selon vos besoins */
    height: auto; /* Conserve les proportions de l'image */
	display: inline-block; /* Ensure proper alignment */
}

.text-block h1 {
    font-size: 3.8rem; /* Taille du titre */
    margin-bottom: 5px; /* Espacement sous le titre */
    color: #8E7CE1; /* Couleur du titre */
}
.text-block h2 {
    font-size: 1.8rem; /* Taille du titre */
    margin-bottom: 5px; /* Espacement sous le titre */
    color: white; /* Couleur du titre */
	line-height: 1.2; /* Adjust line height for better centering */
}

/* Styling for the team page link */
.team-link {
    color: #8E7CE1; /* link color */ 
    /* text-decoration: none; Remove underline */
    font-size: 28px; /* Adjust size as needed */
    font-weight: bold; /* Make it stand out */
    transition: color 0.3s ease; /* Smooth hover transition */
}

.team-link:hover {
    color: #cb92f7; /* Change color on hover */
    text-decoration: underline; /* Add underline on hover */
}

/* --- NOUVEAU: CTA SECTION --- */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(to right, #1e40af, #312e81);
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.15rem;
    color: #e5e7eb;
    max-width: 700px;
    margin: 0 auto 40px;
    text-align: center; /* Exception: Centré */
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* --- CTA SECTION GREEN --- */
.cta-section-green {
    padding: 50px 0;
    background: linear-gradient(135deg, #93DBDA 0%, #72c1c0 100%);
    text-align: center;
}

.cta-section-green h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: #0B0E14; /* Texte foncé pour contraste */
}

.cta-section-green p {
    font-size: 1.25rem;
    color: #1e1b4b; /* Texte foncé pour contraste */
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
    line-height: 1.6;
}

.cta-section-green .btn-dark {
    background-color: #0B0E14;
    color: #ffffff;
    padding: 16px 40px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.3s ease;
    display: inline-block;
}

.cta-section-green .btn-dark:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.btn-gradient {
    background: linear-gradient(to bottom, #4f46e5, #60a5fa);
    color: white;
    padding: 15px 35px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.btn-gradient:hover {
    background: linear-gradient(to bottom, #3b82f6, #a5f3fc);
    transform: translateY(-2px);
}


/* --- COMPARISON TABLE STYLES --- */
.table-responsive {
    overflow-x: auto;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    margin-bottom: 2rem;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #ffffff;
    text-align: left;
}

.comparison-table th {
    background-color: #111827; /* Matches your bg-dark */
    color: #ffffff;
    font-weight: 600;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    border-bottom: 4px solid #4f46e5; /* Indigo accent */
}

.comparison-table td {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    color: #374151;
    line-height: 1.5;
}

.comparison-table tbody tr:hover {
    background-color: #f9fafb;
}

/* Make the first column distinct */
.comparison-table td:first-child {
    color: #111827;
    background-color: #f3f4f6;
    width: 20%;
}
/* ------------------------------------------------------- FOOTER ------------------------------------ */
.footer-dark {
    background: #170B28; /* Noir/Gris très foncé #111827 comme bg-gray-900 */
    padding: 80px 0 40px;
    color: white;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 60px;
}


@media (min-width: 768px) {
    .footer-grid {grid-template-columns: 1fr 1fr 1fr 1fr;}
}

.footer-brand h3 {
    font-size: 1.25rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-brand p {
    color: #9ca3af;
    text-align: left;
	max-width: 200px;
}

.footer-links h4, .footer-contact h4 {
    font-size: 1rem;
    margin-bottom: 20px;
    color: #d1d5db;
    font-weight: 600;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.footer-contact address {
    font-style: normal;
    color: #9ca3af;
}

.footer-contact p {
    margin-bottom: 8px;
    text-align: left;
}

.footer-bottom {
    border-top: 1px solid #1f2937;
    padding-top: 30px;
    text-align: center;
    color: #6b7280;
    font-size: 0.875rem;
}

/* Responsive pour mobile */
@media (max-width: 768px) {
    .hero-image-section {
        height: auto;
        padding: 40px 20px;
    }
}
@media (max-width: 768px) {
    .content-box {
        flex-direction: column;
    }
    .text-card-wrapper, .video-card-wrapper {
        flex: none;
        width: 100%;
        padding: 25px;
    }
}
/* Ajustement pour garder le responsive sur mobile/tablette */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 colonnes sur tablette */
    }
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr; /* 1 seule colonne sur mobile */
    }
}