/* 🪄 STYLES AMÉLIORÉS POUR GOFILE DESKTOP */

/* Import des polices */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* Variables globales avec couleurs exactes comme l'image */
:root {
  --primary: #4f75ea;
  --primary-dark: #3b63d6;
  --primary-light: #6388ff;
  --accent: #facc15;
  --accent-hover: #f59e0b;
  --dark-bg: #0f172a;
  --card-bg: #1e293b;
  --card-hover: #334155;
  --text-light: #f1f5f9;
  --text-gray: #94a3b8;
}

/* 🌠 Fond avec effet de particules */
body {
  background-color: var(--dark-bg);
  color: var(--text-light);
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow-x: hidden;

  /* Désactiver la sélection de texte sur toute la page */
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(circle at 25% 25%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(250, 204, 21, 0.05) 0%, transparent 50%);
  z-index: -1;
  pointer-events: none;
}

/* ✨ Effet de particules animées */
.particle {
  position: fixed;
  width: 5px;
  height: 5px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
}

/* 🎭 Navigation fixe élégante avec effet glassmorphism */
.nav-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 15px 0;
  transition: all 0.3s ease-in-out;
  backdrop-filter: blur(8px);
  background-color: rgba(15, 23, 42, 0.8);
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

.nav-scrolled {
  padding: 10px 0;
  background-color: rgba(15, 23, 42, 0.95);
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.nav-logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-light);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo img {
  height: 30px;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-link {
  color: var(--text-gray);
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  transition: all 0.2s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--text-light);
}

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

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

/* 🌟 Hero section avec tout centré */
.hero {
  background: linear-gradient(135deg, var(--card-bg) 0%, #22334f 50%, #2a334f 100%);
  padding: 60px 40px;
  border-radius: 24px;
  width: 90%;
  max-width: 1100px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  margin-top: 120px;
  margin-bottom: 60px;
  position: relative;
  z-index: 10;
  overflow: visible;
  border: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* 🚀 Titre avec dégradé */
.hero h1 {
  font-size: 56px;
  background: linear-gradient(to right, var(--primary-light), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
  letter-spacing: -1px;
  margin: 0 0 20px 0;
}

/* 📢 Sous-titre avec animation de typing */
.hero p {
  font-size: 24px;
  color: var(--text-gray);
  position: relative;
  margin: 0 auto 30px;
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  width: 33.75ch; 
  border-right: 0.15em solid var(--primary);
  animation: typing 1s steps(33.75, end), blink-caret 0.75s step-end infinite;
  text-align: center;
}


@keyframes typing {
  from { width: 0ch; }
  to   { width: 33.75ch; }
}

@keyframes blink-caret {
  from, to { border-color: transparent }
  50% { border-color: var(--primary) }
}

.button-container {
  margin-top: 10px;
  display: flex;
  justify-content: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  background: linear-gradient(45deg, var(--primary) 0%, var(--accent) 100%);
  z-index: -1;
  border-radius: 30px;
  filter: blur(20px);
  opacity: 0.15;
  animation: glow 3s infinite alternate;
}

@keyframes glow {
  0% {
    opacity: 0.1;
    filter: blur(20px);
  }
  100% {
    opacity: 0.2;
    filter: blur(25px);
  }
}

/* 🚀 Titre avec animation */
.hero h1 {
  font-size: 56px;
  margin-bottom: 20px;
  background: linear-gradient(to right, var(--primary-light), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
  letter-spacing: -1px;
  position: relative;
  display: inline-block;
  margin-bottom: 30px;
}

.hero h1::after {
  content: '🚀';
  position: absolute;
  top: -15px;
  right: -40px;
  font-size: 40px;
  animation: rocket-move 5s infinite;
}

@keyframes rocket-move {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(5px, -5px) rotate(5deg); }
  75% { transform: translate(-5px, 5px) rotate(-5deg); }
}

/* 📢 Sous-titre avec animation de typing */
.hero p {
  font-size: 24px;
  color: var(--text-gray);
  position: relative;
  margin: 0 auto 10px;
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  border-right: 0.15em solid var(--primary);
  animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
  text-align: center;
}

/* ⬇️ Bouton Télécharger avec style exact comme l'image */
.download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #2563eb;
  color: var(--text-light);
  padding: 12px 28px;
  text-decoration: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.2s ease;
  border: none;
  outline: none;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
  position: relative;
  overflow: hidden;
}

.download-btn:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
}

.download-btn span {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.download-btn .material-icons {
  margin-right: 8px;
  font-size: 18px;
}

/* 📦 Menu dropdown amélioré */
.dropdown {
  position: relative;
  display: inline-block;
  z-index: 9999;
}

.dropdown-menu {
  position: absolute;
  top: 120%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(30, 41, 59, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  display: none;
  flex-direction: column;
  min-width: 280px;
  z-index: 99999;
  padding: 10px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1);
  text-align: left;
  animation: dropdown-fade 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.dropdown-menu a {
  padding: 16px 20px;
  color: var(--text-gray);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.2s ease;
  border-radius: 10px;
  margin: 4px 0;
}

.dropdown-menu a:hover {
  background-color: rgba(59, 130, 246, 0.1);
  color: var(--text-light);
  transform: translateX(5px);
}

.dropdown-menu.show {
  display: flex;
}

@keyframes dropdown-fade {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-15px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

/* 📌 Conteneurs améliorés */
.features-container,
.about-container,
.help-container {
  background: var(--card-bg);
  padding: 60px 40px;
  border-radius: 24px;
  width: 90%;
  max-width: 1100px;
  margin-top: 60px;
  position: relative;
  overflow: visible;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Titre de section */
.section-title {
  font-size: 36px;
  margin: 0 auto 40px;
  text-align: center;
  color: var(--text-light);
  position: relative;
  display: block;
  padding-bottom: 15px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: linear-gradient(to right, var(--primary), var(--accent));
  border-radius: 3px;
}

/* ✅ Nouveau conteneur (chunking géré par JS) */
#features-list,
#about-features-list,
#help-options-list {
  display: flex;
  flex-direction: column;
  gap: 30px; /* Espace vertical entre chaque .features-row */
}

/* Chaque ligne contiendra jusqu'à 3 cartes (centrées si <3) */
.features-row {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 30px;
  flex-wrap: wrap;   /* Pour passer à la ligne suivante si plus de 3 */
  margin-bottom: 30px;
}

/* Nouveau style spécifique pour la section d'aide */
.help-cards-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: stretch;
  gap: 40px;
  margin-top: 40px;
  width: 100%;
}

.help-card {
  width: 320px;
  background: rgba(30, 41, 59, 0.6);
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  min-height: 250px;
  position: relative; /* Ajout pour que ::before fonctionne */
  overflow: hidden;   /* Pour que la barre reste à l'intérieur de la carte */
}

.help-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: linear-gradient(to bottom, var(--primary), var(--accent));
  transition: height 0.3s ease;
}

.help-card:hover::before {
  height: 100%;
}

.help-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  background: var(--card-hover);
}

.help-card h3 {
  font-size: 22px;
  margin-top: 0;
  margin-bottom: 20px;
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
}

/* Assurer que les deux cartes ont la même hauteur de contenu */
.help-card p {
  color: var(--text-gray);
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 15px;
}

/* Ajustement spécifique pour aligner les textes */
.help-cards-container .help-card:nth-child(2) p {
  margin-bottom: 30px; /* Espace plus grand entre le texte et le bouton */
}

.card-hover-effect:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  background: var(--card-hover);
}

.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;  /* Augmenté de 32px à 42px */
  height: 60px;     /* Augmenté de 48px à 60px */
  width: 60px;      /* Augmenté de 48px à 60px */
  margin: 0 auto 20px;
  background: linear-gradient(to right, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  overflow: visible;
}

.card-icon .material-icons {
  font-size: 42px;  /* Taille explicite pour les icônes */
}

.help-card .contact-btn {
  display: inline-block;
  background: linear-gradient(to right, var(--accent), var(--accent-hover));
  color: var(--dark-bg);
  text-decoration: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: none;
  outline: none;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(250, 204, 21, 0.3);
  position: relative;
  overflow: hidden;
}

.help-card .contact-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 30px rgba(250, 204, 21, 0.4);
}

/* Animation d'apparition pour les cartes d'aide */
@keyframes cardAppear {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.help-card {
  animation: cardAppear 0.5s ease-out forwards;
  animation-delay: calc(var(--delay) * 0.2s);
  opacity: 0;
}

.help-cards-container .help-card:nth-child(1) {
  --delay: 1;
}

.help-cards-container .help-card:nth-child(2) {
  --delay: 2;
}

/* Ajustement spécifique pour aligner les textes des cartes d'aide */
.help-cards-container .help-card:nth-child(2) p {
  margin-bottom: 30px; /* Augmenter l'espace entre le texte et le bouton */
}

/* 🟦 Cards de fonctionnalités améliorées */
.feature-card {
  /* Largeur fixe => centrage quand <3 cartes */
  width: 280px;
  background: rgba(30, 41, 59, 0.6);
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  color: var(--text-gray);
  opacity: 0;
  transform: translateY(30px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  min-height: 200px;
  justify-content: flex-start;
  height: 100%;
}

/* Ajout de padding à la section features-container */
.features-container,
.about-container,
.help-container {
  text-align: center;
  padding-top: 40px;
  padding-bottom: 80px;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: linear-gradient(to bottom, var(--primary), var(--accent));
  transition: height 0.3s ease;
}

.feature-card.appear {
  opacity: 1;
  transform: translateY(0);
  transition: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feature-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  background: var(--card-hover);
}

.feature-card:hover::before {
  height: 100%;
}

.feature-card h3 {
  font-size: 22px;
  margin-top: 0;
  margin-bottom: 20px;
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center; /* ✅ AJOUTER ÇA */
  gap: 10px;
  text-align: center; /* ✅ OPTIONNEL pour forcer l'alignement */
}

.feature-card p {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 42px;  /* Augmenté de 32px à 42px */
  height: 60px;     /* Augmenté de 48px à 60px */
  width: 60px;      /* Augmenté de 48px à 60px */
  margin: 0 auto 20px;

  background: linear-gradient(to right, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;

  overflow: visible;
}

.feature-icon > * {
  display: block;
  line-height: 1;
}

.feature-icon-inline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;       /* Augmenté de 28px à 36px */
  height: 50px;          /* Augmenté de 40px à 50px */
  width: 50px;           /* Augmenté de 40px à 50px */
  margin-bottom: 12px;

  background: linear-gradient(to right, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;

  /* Pour que l'icône ne soit pas rognée */
  overflow: visible;
}


/* Pour s'assurer que les Material Icons 
   adoptent la même taille que l'emoji */
.feature-icon .material-icons {
  font-size: 36px !important;  /* Augmenté de 1em à 36px */
  line-height: 1;
  margin: 0; padding: 0;
}

/* Ajustement global du style des icônes Material Design */
.material-icons {
  vertical-align: middle;
  margin-right: 6px;
  font-size: 24px;
}

/* Adaptation pour le bouton de téléchargement */
.download-btn .material-icons {
  font-size: 20px;
  margin-right: 8px;
}

/* Adaptation pour les icônes du footer */
.footer-social .material-icons {
  font-size: 22px;
  margin-right: 0;
}

/* 💡 Sections about & help améliorées */
.about-container p,
.help-container p {
  font-size: 18px;
  color: var(--text-gray);
  margin-bottom: 25px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

/* 📧 Bouton de contact amélioré */
.contact-btn {
  display: inline-block;
  background: linear-gradient(to right, var(--accent), var(--accent-hover));
  color: var(--dark-bg);
  padding: 16px 32px;
  text-decoration: none;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 600;
  margin-top: 30px;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: none;
  outline: none;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(250, 204, 21, 0.3);
  position: relative;
  overflow: hidden;
}

.contact-btn:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 30px rgba(250, 204, 21, 0.4);
}

/* Ajustements pour le bouton de contact dans les cartes */
.feature-card .contact-btn {
  display: inline-block;
  background: linear-gradient(to right, var(--accent), var(--accent-hover));
  color: var(--dark-bg);
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  margin-top: 10px;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: none;
  outline: none;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(250, 204, 21, 0.3);
  position: relative;
  overflow: hidden;
}

.feature-card .contact-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 30px rgba(250, 204, 21, 0.4);
}

/* 🌟 Footer amélioré avec effet glassmorphism */
footer {
  padding: 60px 30px 40px;
  margin-top: 100px;
  width: 100%;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.95));
  color: var(--text-gray);
  font-size: 16px;
  text-align: center;
  position: relative;
  backdrop-filter: blur(10px);
  box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.1);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Overlay effet */
footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(79, 117, 234, 0.5), transparent);
}

.footer-content {
  max-width: 1100px;
  margin: 0 auto 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  position: relative;
}

/* Logo du footer amélioré */
.footer-logo {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-light);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.footer-logo:hover {
  transform: translateY(-3px);
  filter: drop-shadow(0 0 8px rgba(79, 117, 234, 0.6));
}

.footer-logo .material-icons {
  font-size: 28px;
  background: linear-gradient(to right, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Liens du footer avec séparateurs */
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.footer-link {
  color: var(--text-gray);
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  transition: all 0.2s ease;
  position: relative;
  padding: 5px;
}

.footer-link:hover {
  color: var(--text-light);
  background: transparent;
  transform: none;
}

.footer-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width 0.3s ease;
}

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

.footer-social .footer-link::after {
  display: none;
}

/* Liens sociaux avec effet hover */
.footer-social {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.footer-social .footer-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 50%;
  background: rgba(30, 41, 59, 0.6);
  transition: all 0.3s ease;
}

.footer-social .footer-link:hover {
  background: var(--primary);
  transform: translateY(-5px);
}

.footer-social .material-icons {
  font-size: 20px;
  margin: 0;
}

/* Section disclaimer améliorée */
.footer-disclaimer {
  width: 100%;
  margin: 0 auto 40px;
  padding: 20px 30px;
  background: rgba(15, 23, 42, 0.6);
  border-radius: 16px;
  text-align: center;
  max-width: 900px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  position: relative;
  overflow: hidden;
}

.footer-disclaimer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(to bottom, var(--primary), var(--accent));
  opacity: 0.8;
}

.footer-disclaimer p {
  font-size: 15px;
  color: var(--text-gray);
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.7;
  flex-wrap: wrap;
}

.footer-disclaimer .material-icons {
  color: var(--primary-light);
  margin-right: 12px;
  font-size: 22px;
}

/* Section copyright avec séparateur attractif */
.footer-copyright {
  width: 100%;
  margin-top: 40px;
  padding-top: 25px;
  position: relative;
  font-size: 15px;
}

.footer-copyright::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--primary), transparent);
}

.footer-copyright a {
  color: var(--primary-light);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
}

.footer-copyright a:hover {
  color: var(--accent);
  text-decoration: underline;
}

/* Responsive design amélioré */
@media (max-width: 992px) {
  .footer-content {
    justify-content: center;
    text-align: center;
  }
  
  .footer-logo, .footer-links, .footer-social {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  footer {
    padding: 50px 20px 30px;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 25px;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 10px;
  }
  
  .footer-link {
    padding: 10px;
  }
  
  .footer-disclaimer {
    padding: 20px;
  }
  
  .footer-disclaimer p {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-disclaimer .material-icons {
    margin: 0 0 10px 0;
  }
}

/* 🔄 Animation de scroll */
.scroll-animation {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.scroll-animation.active {
  opacity: 1;
  transform: translateY(0);
}

/* 🌟 Animation flottante */
.float-animation {
  animation: float 4s ease-in-out infinite;
}

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

/* 📱 Responsive amélioré */
@media (max-width: 1100px) {
  .hero h1 {
    font-size: 48px;
  }
  .hero p {
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 60px 30px;
    margin-top: 100px;
  }
  .hero h1 {
    font-size: 36px;
  }
  .features-container,
  .about-container,
  .help-container {
    padding: 40px 30px;
  }
  .section-title {
    font-size: 30px;
  }
  .nav-links {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  .footer-logo {
    margin: 0 auto;
  }
}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 32px;
  }
  .hero p {
    font-size: 18px;
  }
  .download-btn {
    padding: 15px 30px;
    font-size: 16px;
  }
}

/* ✨ Loader élégant */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--dark-bg);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-spinner {
  width: 60px;
  height: 60px;
  border: 5px solid rgba(59, 130, 246, 0.2);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* 🎭 Effet focus sur les éléments */
.focus-section {
  position: relative;
}

.focus-section::after {
  content: '';
  position: absolute;
  top: -30px;
  left: -30px;
  right: -30px;
  bottom: -30px;
  background: radial-gradient(circle at center, rgba(59, 130, 246, 0.2) 0%, transparent 70%);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.focus-section:hover::after {
  opacity: 1;
}

/* ⚡ Curseur personnalisé */
/* Le corps a cursor: none quand le curseur personnalisé est actif */
body.custom-cursor-enabled {
  cursor: none !important;
}

/* Tous les éléments interactifs doivent aussi avoir cursor: none */
body.custom-cursor-enabled a,
body.custom-cursor-enabled button,
body.custom-cursor-enabled input,
body.custom-cursor-enabled select,
body.custom-cursor-enabled textarea,
body.custom-cursor-enabled .feature-card,
body.custom-cursor-enabled [role="button"] {
  cursor: none !important;
}

.custom-cursor {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: rgba(59, 130, 246, 0.5);
  position: fixed;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.1s ease, background-color 0.2s ease;
  display: none;
  mix-blend-mode: difference;
}

.custom-cursor.active {
  display: block;
}

.custom-cursor.hover {
  transform: translate(-50%, -50%) scale(1.5);
  background-color: rgba(250, 204, 21, 0.7);
}

/* 🎨 Badge de notification */
.badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: var(--accent);
  color: var(--dark-bg);
  font-size: 12px;
  font-weight: bold;
  width: 20px;
  height: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

/* Animation des cartes spécifique aux sections about et help */
#about-features-list .feature-card,
#help-options-list .feature-card {
  opacity: 0;
  transform: translateY(30px);
  position: relative; /* Assurez-vous que cette propriété est définie */
  overflow: hidden;   /* Pour que la barre reste à l'intérieur de la carte */
}

#about-features-list .feature-card.appear,
#help-options-list .feature-card.appear {
  opacity: 1;
  transform: translateY(0);
  transition: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* S'assurer que les cartes "Pourquoi" ont aussi l'effet hover */
#about-features-list .feature-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  background: var(--card-hover);
}

/* Ajustements pour les espaces entre les sections */
#about-features-list {
  margin-top: 40px;
}

/* 📋 Styles pour la section FAQ - Version améliorée (ouverture au clic uniquement) */
.faq-section {
  background: var(--card-bg);
  padding: 60px 40px;
  border-radius: 24px;
  width: 90%;
  max-width: 1100px;
  margin-top: 60px;
  position: relative;
  overflow: visible;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.faq-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.faq-item {
  background: rgba(30, 41, 59, 0.6);
  border-radius: 16px;
  padding: 5px 30px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.05);
  text-align: left;
  position: relative;
  overflow: hidden;
  opacity: 1;
}

.faq-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: linear-gradient(to bottom, var(--primary), var(--accent));
  transition: height 0.3s ease;
}

/* Effets de survol - juste visuels, pas d'expansion */
.faq-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  background: var(--card-hover);
}

.faq-item:hover::before {
  height: 100%;
}

/* Effets de clic - expansion du contenu */
.faq-item.active {
  padding: 10px 30px;
  background: var(--card-hover);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.faq-item.active::before {
  height: 100%;
}

.faq-item h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-light);
  margin: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.faq-item h3::after {
  content: 'arrow_drop_down';
  font-family: 'Material Icons';
  color: var(--primary);
  font-size: 24px;
  transition: transform 0.3s ease;
}

.faq-item.active h3::after {
  transform: rotate(180deg);
}

/* Contenu de la FAQ - caché par défaut */
.faq-item p {
  color: var(--text-gray);
  font-size: 16px;
  line-height: 1.7;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, margin 0.4s ease, opacity 0.3s ease;
  opacity: 0;
  margin: 0;
}

/* Contenu visible uniquement quand actif (après clic) */
.faq-item.active p {
  max-height: 1000px;
  margin-bottom: 20px;
  opacity: 1;
}

/* Animation lors de l'apparition des éléments FAQ */
.faq-section .faq-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.faq-section.active .faq-item {
  opacity: 1;
  transform: translateY(0);
}

/* Délais d'apparition en cascade */
.faq-section.active .faq-item:nth-child(1) {
  transition-delay: 0.1s;
}

.faq-section.active .faq-item:nth-child(2) {
  transition-delay: 0.2s;
}

.faq-section.active .faq-item:nth-child(3) {
  transition-delay: 0.3s;
}

.faq-section.active .faq-item:nth-child(4) {
  transition-delay: 0.4s;
}

.faq-section.active .faq-item:nth-child(5) {
  transition-delay: 0.5s;
}

/* Animation de pulsation */
.faq-pulse {
  animation: faqPulse 0.8s ease;
}

@keyframes faqPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.01); }
  100% { transform: scale(1); }
}

/* Responsive design pour FAQ */
@media (max-width: 768px) {
  .faq-section {
    padding: 40px 20px;
  }
  
  .faq-item {
    padding: 5px 20px;
  }
  
  .faq-item.active {
    padding: 10px 20px;
  }
  
  .faq-item h3 {
    font-size: 18px;
  }
}

/* Styles pour le menu de plateformes */
.platform-item {
  position: relative;
  width: 100%;
}

.platform-header {
  padding: 16px 20px;
  color: var(--text-gray);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.2s ease;
  border-radius: 10px;
  margin: 4px 0;
  position: relative;
  cursor: none !important;
}

.platform-header:hover {
  background-color: rgba(59, 130, 246, 0.1);
  color: var(--text-light);
}

.arrow-icon {
  margin-left: auto;
  font-size: 18px;
  transition: transform 0.3s ease;
}

.platform-item.active .arrow-icon {
  transform: rotate(90deg);
  color: var(--primary);
}

.platform-files {
  position: absolute;
  top: 0;
  left: calc(100% + 10px); /* Ajout d'un espace de 10px entre les deux menus */
  background: rgba(30, 41, 59, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  min-width: 280px;
  padding: 10px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.05);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 10000;
}

.platform-item.active .platform-files {
  opacity: 1;
  visibility: visible;
}

.platform-file {
  padding: 16px 20px;
  color: var(--text-gray);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.2s ease;
  border-radius: 10px;
  margin: 4px 0;
  position: relative;
  cursor: none !important;
}

.platform-file:hover {
  background-color: rgba(59, 130, 246, 0.1);
  color: var(--text-light);
  transform: translateX(5px);
}

.platform-file::after {
  content: attr(title);
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 23, 42, 0.95);
  color: var(--text-light);
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  z-index: 10001;
  pointer-events: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.platform-file:hover::after {
  opacity: 1;
  visibility: visible;
}

.file-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 80px;
  font-family: monospace;
  font-weight: 500;
  color: var(--text-gray);  /* Même couleur que les éléments de plateforme */
}

/* Pour les écrans plus petits */
@media (max-width: 768px) {
  .dropdown-menu {
    width: 90%;
    max-width: 300px;
  }
  
  .platform-files {
    position: static;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
    padding: 0 10px;
    margin-left: 40px;
    box-shadow: none;
    border: none;
    background: transparent;
    backdrop-filter: none;
  }
  
  .platform-item.active .platform-files {
    opacity: 1;
    max-height: 500px;
    padding: 10px;
  }
  
  .platform-file {
    padding: 12px 15px;
  }
  
  .file-name {
    max-width: 150px;
  }
}