/* SupTop Website - Complete v2.2.2 FINAL */

/* ==================== CORRECTIONS v2.2.2 ==================== */
/* 1. Traductions complètes (voir script.js) */
/* 2. Email invest en blanc */
/* 3. Espacement texte/image réduit */
/* 4. Carrousel adaptatif (pas fixe) */
/* ============================================================= */

/* Global Box-Sizing */
*, *::before, *::after {
  box-sizing: border-box;
}

/* Skip Link (Accessibility) */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #2563eb;
  color: white;
  padding: 8px 16px;
  text-decoration: none;
  z-index: 9999;
  border-radius: 0 0 8px 0;
}

.skip-link:focus {
  top: 0;
  outline: 3px solid #fbbf24;
}

/* Cookie Consent RGPD */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(15,23,42,0.98);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px;
  z-index: 9998;
  animation: slideUp 0.4s ease;
}

@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

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

.cookie-content p {
  margin: 0;
  color: #cbd5e1;
  font-size: 0.95rem;
}

.cookie-content a {
  color: #60a5fa;
  text-decoration: underline;
}

.cookie-btn {
  background: #2563eb;
  color: white;
  border: none;
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.cookie-btn:hover {
  background: #1d4ed8;
}

/* Base Styles */
body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
  background: #050510;
  color: #fff;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.glass-effect {
  background: rgba(255,255,255,.03);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.08);
}

.gradient-text {
  background: linear-gradient(135deg, #fff 0%, #e2e8f0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Focus Visible */
:focus-visible {
  outline: 3px solid #fbbf24;
  outline-offset: 2px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid #3b82f6;
  outline-offset: 2px;
}

/* ==================== NAV ==================== */
nav {
  display: flex;
  align-items: center;
  padding: 20px 40px;
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(5,5,16,.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav-left {
  flex: 1;
  display: flex;
  justify-content: flex-start;
}

.nav-center {
  flex: 2;
  display: flex;
  justify-content: center;
  gap: 25px;
}

.nav-right {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.2rem;
  color: #fff;
  text-decoration: none;
}

.logo-icon {
  background: #6366f1;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.nav-item {
  color: #a8b3cf;
  text-decoration: none;
  font-size: .95rem;
  transition: color .3s;
  white-space: nowrap;
}

.nav-item:hover {
  color: #fff;
}

/* Bouton Invest avec contour élégant */
.nav-item-invest {
  border: 2px solid rgba(139, 92, 246, 0.5);
  border-radius: 8px;
  padding: 8px 16px !important;
  background: rgba(139, 92, 246, 0.1);
  transition: all 0.3s ease;
  color: #a78bfa !important;
  font-weight: 600;
}

.nav-item-invest:hover {
  background: rgba(139, 92, 246, 0.25);
  border-color: rgba(139, 92, 246, 0.8);
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.btn-donate-nav {
  background: #ef4444;
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}

.btn-donate-nav:hover {
  background: #dc2626;
}

.lang-dropdown {
  position: relative;
}

.lang-btn {
  background: transparent;
  border: none;
  color: #cbd5e1;
  cursor: pointer;
  font-size: .95rem;
  display: flex;
  align-items: center;
  gap: 5px;
}

.lang-content {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;
  min-width: 150px;
  flex-direction: column;
  margin-top: 10px;
  background: #1e1e2e;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 5px;
}

.lang-dropdown:hover .lang-content,
.lang-dropdown:focus-within .lang-content {
  display: flex;
}

.lang-content a {
  color: #fff;
  text-decoration: none;
  padding: 10px;
  display: block;
  border-radius: 4px;
}

.lang-content a:hover {
  background: rgba(255,255,255,.1);
}

@media (max-width: 900px) {
  nav {
    flex-wrap: wrap;
    gap: 15px;
    padding: 15px 20px;
  }

  .nav-left {
    flex: 1 0 auto;
  }

  .nav-right {
    flex: 1 0 auto;
    justify-content: flex-end;
  }

  .nav-center {
    order: 3;
    flex: 1 0 100%;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 5px;
  }
}

/* ==================== HERO ==================== */
.hero-section {
  padding: 60px 20px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ✅ CORRECTION 3: Réduire l'espacement entre texte et image */
.hero-content {
  margin-bottom: 20px; /* Réduit de 40px à 20px */
}

.hero-content h1 {
  font-size: 4rem;
  line-height: 1.1;
  margin: 20px 0;
  font-weight: 800;
}

.hero-content p {
  max-width: 700px;
  margin: 0 auto 20px; /* Réduit de 40px à 20px */
  color: #a8b3cf;
  font-size: 1.1rem;
  line-height: 1.6;
}

.pill-label {
  display: inline-block;
  background: rgba(59,130,246,.1);
  color: #60a5fa;
  padding: 6px 16px;
  border-radius: 30px;
  font-size: .85rem;
  border: 1px solid rgba(59,130,246,.3);
}

/* ✅ CORRECTION 4: Carrousel adaptatif (pas de hauteur fixe) */
.hero-carousel-container {width: 800px !important; max-width: 800px !important; height: 800px !important; margin: 0 auto 30px !important; border-radius: 20px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.5); background: #0f172a; border: 1px solid rgba(255,255,255,.05); position: relative;}
.exploded-view-container {width: 100%; max-width: 1100px; margin: 0 auto 50px; border-radius: 20px; overflow: hidden; background: transparent; height: auto !important; min-height: auto !important; padding-bottom: 0 !important;}

.hero-carousel-container {
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
  background: #0f172a;
  border: 1px solid rgba(255,255,255,.05);
  position: relative;
  padding-bottom: 50%; /* Ratio 2:1 pour s'adapter au contenu */
}

.carousel-track {width: 100% !important; height: 100% !important; position: absolute; top: 0; left: 0;}

.carousel-slide {position: absolute; inset: 0; width: 100% !important; height: 100% !important; background-size: cover !important; background-position: center center !important; opacity: 0; transition: opacity 1s ease-in-out;}

.carousel-slide.active {
  opacity: 1;
}

.slide-caption {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15,23,42,.8);
  padding: 6px 16px;
  border-radius: 20px;
  color: #fff;
  font-size: .8rem;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,.1);
}

.cta-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 20px; /* Réduit de margin-bottom */
  flex-wrap: wrap;
}

.cta-button {
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all .2s;
}

.cta-button.primary {
  background: #2563eb;
  color: #fff;
}

.cta-button.primary:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37,99,235,0.4);
}

.cta-button.secondary {
  background: rgba(255,255,255,.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,.1);
}

.cta-button.secondary:hover {
  background: rgba(255,255,255,.15);
}

/* Badge -20% OFF */
.discount-badge {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: white;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(239,68,68,0.4);
  animation: pulse 2s infinite;
}

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

@media (max-width: 900px) {
  .hero-content h1 {
    font-size: 3rem;
  }

  .hero-carousel-container {
    min-height: 350px;
    padding-bottom: 60%;
  }
}

@media (max-width: 600px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-carousel-container {
    min-height: 280px;
    padding-bottom: 70%;
  }
}

/* ==================== FEATURES ==================== */
.features-section {
  padding: 60px 20px 80px;
  text-align: center;
}

.features-title {
  font-size: 3rem;
  font-weight: 800;
  margin: 0 0 10px;
}

.features-subtitle {
  color: #a8b3cf;
  font-size: 1.2rem;
  margin: 0 0 50px;
}

.exploded-view-container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto 50px;
  border-radius: 20px;
  overflow: hidden;
  background: transparent;
  height: auto !important;
  min-height: auto !important;
  padding-bottom: 0 !important;
}

.exploded-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding: 25px 25px 15px 25px;
  text-align: left;
  transition: transform .3s, border-color .3s;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255,255,255,.2);
  background: rgba(255,255,255,.05);
}

.f-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  font-size: 1.5rem;
  color: #fff;
}

.icon-blue { background: #3b82f6; }
.icon-green { background: #10b981; }
.icon-purple { background: #8b5cf6; }
.icon-orange { background: #f97316; }

.feature-card h3 {
  font-size: 1.2rem;
  margin: 0 0 10px 0;
  font-weight: 700;
  color: #fff;
}

.feature-card p {
  font-size: 0.95rem;
  color: #a8b3cf;
  line-height: 1.5;
  margin: 0;
  flex-grow: 1;
}

@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 650px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

/* ==================== SPECS ==================== */
.specs-section {
  padding: 80px 20px;
  text-align: center;
}

.specs-title {
  font-size:  3rem;
  margin: 0 0 10px;
  font-weight: 800;
}

.specs-subtitle {
  color: #a8b3cf;
  margin: 0 0 50px;
  font-size: 1.1rem;
}

.specs-grid-container {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.spec-item-card {
  background: rgba(15,23,42,.6);
  border: 1px solid rgba(59,130,246,.15);
  border-radius: 16px;
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform .2s, border-color .2s;
}

.spec-item-card:hover {
  transform: translateY(-5px);
  border-color: rgba(59,130,246,.5);
  background: rgba(15,23,42,.8);
}

.spec-badge {
  align-self: flex-start;
  background: rgba(59,130,246,.1);
  color: #3b82f6;
  font-size: .75rem;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 20px;
  font-weight: 700;
}

.spec-image-box {
  width: 80px;
  height: 80px;
  background: #000;
  border-radius: 16px;
  margin-bottom: 20px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.1);
}

.spec-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.spec-item-card h3 {
  font-size: 1.2rem;
  margin: 0 0 10px;
}

.spec-item-card p {
  font-size: .9rem;
  color: #a8b3cf;
  line-height: 1.5;
  margin: 0;
  max-width: 250px;
}



/* ==================== MODELS SECTION ==================== */
.models-section {
  padding: 100px 20px;
  background: radial-gradient(circle at 50% 30%, rgba(59,130,246,0.08) 0%, rgba(5,5,16,1) 70%);
  border-top: 1px solid rgba(255,255,255,0.05);
  text-align: center;
}

.models-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: #fff;
}

.models-subtitle {
  color: #a8b3cf;
  font-size: 1.2rem;
  margin: 0 0 60px;
}

/* Grid des modèles */
.models-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 50px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 1024px) {
  .models-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Carte modèle */
.model-card {
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 30px;
  position: relative;
  transition: all 0.3s ease;
  text-align: left;
  display: flex;
  flex-direction: column;
}

.model-card:hover {
  transform: translateY(-5px);
  border-color: rgba(59,130,246,0.3);
  box-shadow: 0 20px 60px rgba(59,130,246,0.2);
  background: rgba(255,255,255,0.05);
}

/* Carte featured (PRO) */
.model-card.featured {
  border: 2px solid #10b981;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(255,255,255,0.03) 100%);
}

.model-card.featured:hover {
  border-color: #10b981;
  box-shadow: 0 20px 60px rgba(16,185,129,0.3);
}

.model-card.premium {
  border-color: rgba(139,92,246,0.3);
}

.model-card.premium:hover {
  border-color: rgba(139,92,246,0.5);
  box-shadow: 0 20px 60px rgba(139,92,246,0.2);
}

/* Badge populaire */
.popular-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

/* Header modèle */
.model-header {
  text-align: center;
  margin-bottom: 25px;
}

.model-name {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, #60a5fa, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
}

.model-badge {
  display: inline-block;
  padding: 6px 15px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}

.badge-blue {
  background: rgba(59,130,246,0.15);
  color: #60a5fa;
  border: 1px solid rgba(59,130,246,0.3);
}

.badge-green {
  background: rgba(16,185,129,0.15);
  color: #10b981;
  border: 1px solid rgba(16,185,129,0.3);
}

.badge-purple {
  background: rgba(139,92,246,0.15);
  color: #a855f7;
  border: 1px solid rgba(139,92,246,0.3);
}

/* Pricing */
.model-pricing {
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 15px;
  padding: 20px;
  margin-bottom: 25px;
  text-align: center;
}

.price-standard {
  margin-bottom: 10px;
}

.price-label {
  display: block;
  font-size: 0.85rem;
  color: #94a3b8;
  margin-bottom: 5px;
}

.price-amount {
  font-size: 1.5rem;
  font-weight: 600;
  color: #e2e8f0;
}

.price-amount.strike {
  text-decoration: line-through;
  opacity: 0.6;
}

.price-preorder {
  margin: 15px 0;
}

.preorder-badge {
  display: inline-block;
  background: linear-gradient(135deg, #3b82f6, #60a5fa);
  color: white;
  padding: 5px 15px;
  border-radius: 15px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.price-final {
  font-size: 3rem;
  font-weight: 900;
  background: linear-gradient(135deg, #60a5fa, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 10px 0;
}

.price-final.highlight {
  background: linear-gradient(135deg, #10b981, #059669);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.price-note {
  font-size: 0.85rem;
  color: #94a3b8;
}

.savings-tag {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(59,130,246,0.1);
  padding: 10px;
  border-radius: 10px;
  margin-top: 15px;
  border: 1px solid rgba(59,130,246,0.2);
}

.savings-tag.highlight {
  background: rgba(16,185,129,0.15);
  border-color: rgba(16,185,129,0.3);
}

.savings-tag .text {
  color: #60a5fa;
  font-size: 0.9rem;
}

.savings-tag.highlight .text {
  color: #10b981;
}

/* Specs */
.model-specs {
  margin-bottom: 25px;
}

.specs-title,
.target-title,
.replaces-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 15px;
}

.specs-list,
.target-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.specs-list li,
.target-list li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 0.9rem;
  color: #cbd5e1;
}

.specs-list li:last-child,
.target-list li:last-child {
  border-bottom: none;
}

.specs-list li strong {
  color: #fff;
  font-weight: 600;
}

/* Target Users */
.model-target {
  margin-bottom: 25px;
}

/* Remplace */
.model-replaces {
  background: rgba(59,130,246,0.05);
  border: 1px solid rgba(59,130,246,0.15);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
}

.replaces-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 15px;
}

.replace-badge {
  display: inline-block;
  background: rgba(59,130,246,0.15);
  color: #60a5fa;
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid rgba(59,130,246,0.2);
}

.value-comparison {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px;
  background: rgba(15, 23, 42, 0.5);
  border-radius: 10px;
  font-weight: 600;
}

.value-comparison.highlight {
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.2);
}

.value-total {
  color: #94a3b8;
}

.value-arrow {
  color: #60a5fa;
  font-size: 1.2rem;
}

.value-yours {
  color: #10b981;
  font-size: 1.1rem;
}

/* Livraison */
.model-delivery {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px;
  background: rgba(59,130,246,0.08);
  border: 1px solid rgba(59,130,246,0.15);
  border-radius: 10px;
  margin-bottom: 20px;
  color: #e2e8f0;
  font-size: 0.9rem;
}

/* CTA Button for Models */
.model-cta {
  width: 100%;
  padding: 18px;
  font-size: 1.1rem;
  font-weight: 700;
  margin-top: auto;
  box-sizing: border-box;
}

.model-cta.featured {
  background: linear-gradient(135deg, #10b981, #059669);
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4);
}

.model-cta.featured:hover {
  background: linear-gradient(135deg, #059669, #047857);
  box-shadow: 0 15px 40px rgba(16, 185, 129, 0.5);
}

/* Footer note */
.models-footer-note {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  max-width: 900px;
  margin: 60px auto 0;
  padding: 30px;
  background: rgba(59,130,246,0.05);
  border: 1px solid rgba(59,130,246,0.15);
  border-radius: 15px;
  text-align: left;
}

.note-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.note-content p {
  margin-bottom: 15px;
  color: #cbd5e1;
  line-height: 1.6;
  font-size: 0.95rem;
}

.note-content p:last-child {
  margin-bottom: 0;
}

.note-content strong {
  color: #e2e8f0;
}

.note-security {
  color: #10b981 !important;
  font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
  .models-title {
    font-size: 2.5rem;
  }

  .model-card {
    padding: 20px;
  }

  .price-final {
    font-size: 2.5rem;
  }

  .models-footer-note {
    flex-direction: column;
    padding: 20px;
  }

  .models-grid {
    gap: 20px;
  }
}

@media (max-width: 600px) {
  .models-title {
    font-size: 2rem;
  }

  .model-name {
    font-size: 1.5rem;
  }

  .price-final {
    font-size: 2rem;
  }
}


/* ==================== SDK AI SECTION ==================== */
.sdk-section {
  padding: 100px 20px;
  background: radial-gradient(circle at 30% 50%, rgba(59,130,246,0.08) 0%, rgba(5,5,16,1) 70%);
  border-top: 1px solid rgba(255,255,255,0.05);
}

.sdk-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 10px;
  text-align: center;
}

.sdk-subtitle {
  color: #a8b3cf;
  text-align: center;
  font-size: 1.2rem;
  margin-bottom: 60px;
}

.sdk-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.sdk-content {
  text-align: left;
  min-width: 300px;
}

.sdk-badge {
  display: inline-block;
  background: rgba(139,92,246,0.15);
  color: #c4b5fd;
  border: 1px solid rgba(139,92,246,0.3);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 25px;
}

.sdk-heading {
  font-size: 2rem;
  margin: 0 0 20px;
  color: #fff;
  font-weight: 700;
  line-height: 1.2;
}

.sdk-description {
  color: #cbd5e1;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 30px;
}

.sdk-list {
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
}

.sdk-list li {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  color: #a8b3cf;
  line-height: 1.5;
  align-items: flex-start;
}

.sdk-list li i {
  color: #8b5cf6;
  font-size: 1.2rem;
  margin-top: 5px;
  flex-shrink: 0;
}

.sdk-list li strong {
  color: #fff;
  font-weight: 600;
}

.sdk-cta-group {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: flex-start;
}

.sdk-note {
  font-size: 0.85rem;
  color: #64748b;
  font-style: italic;
  margin: 0;
}

.sdk-visual-container {
  position: relative;
  width: 100%;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sdk-image {
  width: 100%;
  height: auto;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  transition: transform 0.3s ease;
  display: block;
}

.sdk-image:hover {
  transform: scale(1.02);
  border-color: rgba(139,92,246,0.3);
}

@media (max-width: 960px) {
  .sdk-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .sdk-content {
    order: 1;
  }

  .sdk-visual-container {
    order: 2;
  }
}

/* ==================== ECO SECTION ==================== */
.eco-section {
  padding: 100px 20px;
  background: radial-gradient(circle at 70% 50%, rgba(16,185,129,0.08) 0%, rgba(5,5,16,1) 70%);
  border-top: 1px solid rgba(255,255,255,0.05);
}

.eco-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 10px;
  text-align: center;
}

.eco-subtitle {
  color: #a8b3cf;
  text-align: center;
  font-size: 1.2rem;
  margin-bottom: 60px;
}

.eco-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto 80px;
}

.eco-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 35px;
  text-align: left;
  transition: transform 0.3s, border-color 0.3s;
}

.eco-card:hover {
  transform: translateY(-5px);
  border-color: rgba(16,185,129,0.3);
  background: rgba(16,185,129,0.05);
}

.eco-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(16,185,129,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: #10b981;
  font-size: 1.8rem;
}

.eco-card h3 {
  font-size: 1.4rem;
  margin: 0 0 15px;
  color: #fff;
  font-weight: 700;
}

.eco-card p {
  color: #a8b3cf;
  line-height: 1.7;
  margin: 0;
  font-size: 0.95rem;
}

.eco-impact {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.eco-impact h3 {
  font-size: 2rem;
  margin: 0 0 40px;
  color: #fff;
  font-weight: 700;
}

.impact-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.impact-item {
  background: rgba(16,185,129,0.05);
  border: 1px solid rgba(16,185,129,0.15);
  border-radius: 16px;
  padding: 30px 20px;
  transition: transform 0.3s;
}

.impact-item:hover {
  transform: translateY(-5px);
  border-color: rgba(16,185,129,0.3);
}

.impact-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: #10b981;
  margin-bottom: 10px;
}

.impact-label {
  color: #a8b3cf;
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .eco-grid {
    grid-template-columns: 1fr;
  }

  .impact-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .impact-stats {
    grid-template-columns: 1fr;
  }
}

/* ==================== TESTIMONIALS ==================== */
#testimonials {
  padding: 80px 20px;
  background: #050510;
  text-align: center;
}

.testi-title {
  font-size: 3rem;
  font-weight: 800;
  margin: 0 0 10px;
}

.testi-subtitle {
  color: #a8b3cf;
  font-size: 1.1rem;
  margin: 0 0 60px;
}

.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.testi-card {
  background: rgba(15,23,42,0.4);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 30px;
  text-align: left;
  position: relative;
}

.quote-icon {
  font-size: 2rem;
  color: #3b82f6;
  margin-bottom: 20px;
  opacity: 0.5;
  font-family: serif;
}

.stars {
  color: #fbbf24;
  margin-bottom: 15px;
  font-size: 0.9rem;
}

.testi-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #cbd5e1;
  margin-bottom: 25px;
  font-style: italic;
}

.testi-user {
  display: flex;
  align-items: center;
  gap: 15px;
}

.user-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.1);
}

.user-info h4 {
  margin: 0;
  font-size: 0.95rem;
  color: #fff;
}

.user-info span {
  font-size: 0.8rem;
  color: #64748b;
}

.stats-row {
  display: flex;
  justify-content: space-around;
  max-width: 1000px;
  margin: 80px auto 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 40px;
}

.stat-item h3 {
  font-size: 2rem;
  font-weight: 800;
  margin: 0;
  color: #fff;
}

.stat-item p {
  font-size: 0.9rem;
  color: #a8b3cf;
  margin: 5px 0 0;
}

/* ==================== FAQ ==================== */
#faq {
  padding: 90px 20px;
  background: #050510;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.faq-title {
  font-size: 3rem;
  font-weight: 900;
  margin: 0 0 10px;
  text-align: center;
}

.faq-subtitle {
  color: #a8b3cf;
  text-align: center;
  font-size: 1.1rem;
  margin: 0 0 60px;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-item {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  background: rgba(15,23,42,0.4);
  padding: 25px;
  cursor: pointer;
  transition: background .3s;
}

.faq-item:hover {
  background: rgba(15,23,42,0.8);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 0;
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: #64748b;
  font-weight: 400;
  transition: transform .3s;
}

.faq-item.active .faq-question::after {
  content: '-';
  transform: none;
}

.faq-answer {
  margin-top: 15px;
  color: #a8b3cf;
  line-height: 1.6;
  font-size: 0.95rem;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-contact-box {
  margin-top: 60px;
  text-align: center;
}

.faq-contact-text {
  color: #a8b3cf;
  margin-bottom: 20px;
}

/* ==================== CONTACT ==================== */
#contact {
  padding: 90px 20px 100px;
  background: radial-gradient(900px 500px at 50% 0%, rgba(59,130,246,0.12), transparent 60%);
}

.contact-section {
  padding: 100px 20px;
  text-align: center;
}

.section-title {
  font-size: 3rem;
  font-weight: 800;
  margin: 0 0 10px;
  display: inline-block;
}

.section-subtitle {
  color: #a8b3cf;
  font-size: 1.2rem;
  margin: 0 auto 60px;
  max-width: 600px;
}

.contact-unified-card {
  max-width: 1100px;
  margin: 0 auto;
  border-radius: 24px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  overflow: hidden;
  padding: 0;
  text-align: left;
}

.contact-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

.contact-col-left,
.contact-col-right {
  padding: 50px;
}

.contact-col-right {
  background: rgba(0,0,0,0.2);
  border-left: 1px solid rgba(255,255,255,0.05);
  display: flex;
  flex-direction: column;
}

.contact-form .form-group {
  margin-bottom: 24px;
  width: 100%;
}

.contact-form label {
  display: block;
  color: #cbd5e1;
  margin-bottom: 10px;
  font-weight: 500;
  padding-left: 4px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  box-sizing: border-box !important;
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 14px 16px;
  color: #fff;
  font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #3b82f6;
}

.send-btn {
  width: 100%;
  box-sizing: border-box !important;
  background: #3b82f6;
  color: white;
  border: none;
  padding: 16px;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background 0.2s;
}

.send-btn:hover {
  background: #2563eb;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 30px;
}

.icon-circle {
  width: 44px;
  height: 44px;
  background: rgba(59,130,246,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #60a5fa;
  flex-shrink: 0;
}

.info-item h4 {
  margin: 0 0 4px;
  color: #fff;
  font-size: 1.1rem;
}

.info-item p {
  margin: 0;
  color: #a8b3cf;
  font-size: 0.95rem;
  line-height: 1.5;
}

.contact-link {
  color: #a8b3cf !important;
}

.contact-link a {
  color: #a8b3cf !important;
  text-decoration: none;
  transition: color 0.2s;
}

.contact-link a:hover {
  color: #3b82f6 !important;
}

.map-card {
  border-radius: 18px;
  overflow: hidden;
  background: rgba(15,23,42,0.45);
  border: 1px solid rgba(255,255,255,0.08);
  margin-top: auto;
}

.map-frame {
  width: 100%;
  height: 260px;
  border: 0;
  display:block;
  filter: grayscale(10%) contrast(1.05) brightness(0.95);
}

/* ==================== FOOTER ==================== */
footer,
.site-footer {
  padding: 60px 20px 20px;
  background: #050510;
  border-top: 1px solid rgba(255,255,255,0.05);
  font-size: 0.9rem;
  color: #a8b3cf;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 40px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.footer-brand .logo-text {
  font-size: 1.8rem;
  font-weight: 700;
  background: linear-gradient(to right, #fff, #a8b3cf);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
  margin-bottom: 15px;
}

.footer-desc {
  line-height: 1.6;
  margin-bottom: 20px;
  color: #a8b3cf;
}

.footer-address {
  color: #64748b;
  font-size: 0.9rem;
  margin-top: 15px;
  max-width: 300px;
}

.footer-links h4 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 14px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a,
.footer-links a:link,
.footer-links a:visited,
.footer-links a:active {
  color: #a8b3cf !important;
  text-decoration: none !important;
  transition: color 0.2s;
}

.footer-links a:hover,
.footer-links a:focus {
  color: #3b82f6 !important;
}

.brand-social {
  display: flex;
  gap: 12px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.brand-social .social-logo {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.03);
  color: #ffffff;
  transition: all 0.2s;
}

.brand-social .social-logo i {
  font-size: 18px;
}

.brand-social .social-logo:hover {
  border-color: rgba(59,130,246,0.35);
  background: rgba(59,130,246,0.10);
}

.footer-bottom {
  text-align: left;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 20px;
  color: #475569;
  font-size: 0.85rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* ==================== MODAL ==================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.85);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  backdrop-filter: blur(5px);
}

.modal-overlay:focus {
  outline: none;
}

.modal-content {
  background: #0f172a;
  padding: 40px;
  border-radius: 20px;
  max-width: 900px;
  width: 90%;
  position: relative;
  text-align: center;
  border: 1px solid rgba(255,255,255,.1);
  max-height: 90vh;
  overflow-y: auto;
}

.close-modal {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  transition: color 0.2s;
}

.close-modal:hover {
  color: #ef4444;
}

.payment-options {
  display: flex;
  gap: 40px;
  margin-top: 30px;
  justify-content: center;
}

.option-card {
  flex: 1;
  padding: 30px;
  border-radius: 15px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.1);
  position: relative;
}

.featured {
  border: 1px solid #8b5cf6;
  background: rgba(139,92,246,.05);
}

.vertical-line {
  width: 1px;
  background: rgba(255,255,255,.1);
}

.persuasive-text {
  font-size: .95rem;
  color: #cbd5e1;
  margin: 15px 0 25px;
  line-height: 1.5;
  font-weight: 300;
  min-height: 60px;
}

.price-tag {
  margin: 15px 0;
  font-size: 1.5rem;
}

.old-price {
  text-decoration: line-through;
  color: #64748b;
  margin-right: 10px;
  font-size: 1.2rem;
}

.new-price {
  color: #fff;
  font-weight: 800;
}

.badge {
  position: absolute;
  top: -10px;
  right: -10px;
  background: linear-gradient(135deg,#ff0080,#7928ca);
  color: #fff;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: .8rem;
  font-weight: 800;
  box-shadow: 0 4px 15px rgba(255,0,128,.4);
}

.security-note {
  margin-top: 20px;
  font-size: .8rem;
  color: #64748b;
}

/* VIDEO MODAL STYLES */
.video-modal-content {
  max-width: 1000px;
  text-align: left;
}

.video-modal-subtitle {
  color: #a8b3cf;
  margin-top: 10px;
  margin-bottom: 25px;
  font-size: 0.95rem;
  text-align: center;
}

.video-player-container {width: 100%; max-width: 800px; margin: 0 auto 30px; background: #000; border-radius: 16px; overflow: hidden; border: 1px solid rgba(255,255,255,0.1); aspect-ratio: 16 / 9; position: relative;}

.main-video {
  width: 100%;
  height: auto;
  display: block;
  min-height: 400px;
  background: #000;
}

.video-current-title {
  background: rgba(15,23,42,0.95);
  padding: 15px 20px;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.video-current-title i {
  color: #3b82f6;
}

.video-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 400px;
  overflow-y: auto;
  margin-bottom: 15px;
  padding-right: 10px;
}

.video-list::-webkit-scrollbar {
  width: 8px;
}

.video-list::-webkit-scrollbar-track {
  background: rgba(15,23,42,0.5);
  border-radius: 4px;
}

.video-list::-webkit-scrollbar-thumb {
  background: rgba(59,130,246,0.5);
  border-radius: 4px;
}

.video-list::-webkit-scrollbar-thumb:hover {
  background: rgba(59,130,246,0.7);
}

.video-item {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(15,23,42,0.6);
  border: 1px solid rgba(255,255,255,0.06);
  transition: all 0.2s;
  cursor: pointer;
}

.video-item:hover {
  background: rgba(15,23,42,0.9);
  border-color: rgba(59,130,246,0.3);
  transform: translateX(5px);
}

.video-item.active {
  background: rgba(59,130,246,0.15);
  border-color: rgba(59,130,246,0.5);
}

.video-thumb {
  width: 80px;
  height: 50px;
  border-radius: 10px;
  background: rgba(37,99,235,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #60a5fa;
  flex-shrink: 0;
}

.video-thumb.placeholder i {
  font-size: 1.1rem;
}

.video-info {
  flex: 1;
}

.video-info h3 {
  margin: 0 0 4px;
  font-size: 0.95rem;
  color: #fff;
}

.video-info p {
  margin: 0;
  font-size: 0.85rem;
  color: #a8b3cf;
}

.video-modal-note {
  font-size: 0.8rem;
  color: #64748b;
  margin-top: 5px;
  text-align: center;
}

/* INVEST MODAL STYLES */
.modal-body-text {
  text-align: left;
  color: #cbd5e1;
  margin-top: 20px;
  max-height: 60vh;
  overflow-y: auto;
  padding-right: 10px;
}

.modal-body-text h3 {
  color: #fff;
  margin-top: 20px;
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.modal-body-text p {
  margin-bottom: 15px;
  line-height: 1.6;
  font-size: 0.95rem;
}

.modal-body-text ul {
  margin: 15px 0;
  padding-left: 20px;
}

.modal-body-text li {
  margin-bottom: 10px;
  line-height: 1.6;
}

/* ✅ CORRECTION 2: Email en blanc dans modal Invest */
.invest-contact {
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.3);
  border-radius: 12px;
  padding: 20px;
  margin-top: 25px;
  text-align: center;
}

.invest-contact strong {
  color: #60a5fa;
  font-size: 1.1rem;
}

.invest-contact a,
.invest-contact a:visited,
.invest-contact a:hover,
.invest-contact a:active {
  color: #ffffff !important; /* Blanc pour l'email */
  text-decoration: none;
  font-weight: 600;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: 1fr 1fr;
  }

  .specs-grid-container {
    grid-template-columns: 1fr;
  }

  .sdk-grid {
    grid-template-columns: 1fr;
  }

  .testi-grid {
    grid-template-columns: 1fr;
  }

  .stats-row {
    flex-direction: column;
    gap: 20px;
  }

  .contact-card-grid {
    grid-template-columns: 1fr;
  }

  .contact-col-right {
    border-left: none;
    border-top: 1px solid rgba(255,255,255,0.05);
  }

  .contact-col-left,
  .contact-col-right {
    padding: 30px 20px;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: span 2;
  }

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

  .payment-options {
    flex-direction: column;
  }

  .vertical-line {
    display: none;
  }

  .main-video {
    min-height: 250px;
  }
}

@media (max-width: 600px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: span 1;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 15px;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .modal-content {
    padding: 30px 20px;
  }

  .video-item {
    flex-direction: column;
    text-align: center;
  }

  .video-thumb {
    width: 100%;
    height: 100px;
  }
}

@media (max-width: 1024px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-brand {
    grid-column: span 2;
    text-align: center;
  }

  .brand-social {
    justify-content: center;
  }

  .footer-bottom {
    text-align: center;
  }
}

#mainVideoPlayer {width: 100% !important; height: 100% !important; object-fit: contain !important; display: block;}


/* ==================== COMPACT COOKIE BANNER V5.8.1 (2/3 HEIGHT) ==================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-top: 2px solid rgba(59, 130, 246, 0.5);
  padding: 15px 20px;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.8);
  z-index: 2500;
  animation: slideUpBanner 0.5s ease-out;
}

@keyframes slideUpBanner {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.cookie-icon {
  font-size: 2rem;
  animation: cookieSpin 3s ease-in-out infinite;
}

@keyframes cookieSpin {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(15deg); }
}

.cookie-text {
  flex: 1;
  min-width: 280px;
}

.cookie-text h3 {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 5px 0;
}

.cookie-text p {
  color: #cbd5e1;
  font-size: 0.85rem;
  line-height: 1.4;
  margin: 0;
}

.cookie-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.cookie-btn i {
  font-size: 0.95rem;
}

.btn-essential {
  background: rgba(100, 116, 139, 0.2);
  color: #e2e8f0;
  border: 2px solid rgba(148, 163, 184, 0.4);
}

.btn-essential:hover {
  background: rgba(100, 116, 139, 0.3);
  border-color: rgba(148, 163, 184, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(100, 116, 139, 0.3);
}

.btn-accept {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: #fff;
  border: 2px solid transparent;
}

.btn-accept:hover {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.cookie-learn-more {
  color: #60a5fa;
  font-size: 0.8rem;
  text-decoration: underline;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color 0.2s;
  white-space: nowrap;
}

.cookie-learn-more:hover {
  color: #93c5fd;
}

.cookie-learn-more i {
  font-size: 0.85rem;
}

/* COOKIE TABLES */
.cookie-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  background: rgba(15, 23, 42, 0.5);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.cookie-table thead {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(37, 99, 235, 0.2) 100%);
}

.cookie-table th {
  padding: 14px 16px;
  text-align: left;
  font-weight: 700;
  color: #fff;
  font-size: 0.95rem;
  border-bottom: 2px solid rgba(59, 130, 246, 0.3);
}

.cookie-table td {
  padding: 12px 16px;
  color: #cbd5e1;
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cookie-table tbody tr:last-child td {
  border-bottom: none;
}

.cookie-table tbody tr:hover {
  background: rgba(59, 130, 246, 0.05);
}

.cookie-table code {
  background: rgba(59, 130, 246, 0.15);
  color: #93c5fd;
  padding: 3px 8px;
  border-radius: 5px;
  font-family: 'Courier New', monospace;
  font-size: 0.85rem;
  font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
  .cookie-banner {
    padding: 12px;
  }

  .cookie-content {
    gap: 10px;
  }

  .cookie-icon {
    font-size: 1.5rem;
  }

  .cookie-text h3 {
    font-size: 1rem;
  }

  .cookie-text p {
    font-size: 0.8rem;
  }

  .cookie-actions {
    width: 100%;
    justify-content: center;
    gap: 8px;
  }

  .cookie-btn {
    flex: 1;
    min-width: 130px;
    font-size: 0.8rem;
    padding: 7px 12px;
  }

  .cookie-learn-more {
    width: 100%;
    text-align: center;
    justify-content: center;
    font-size: 0.75rem;
  }

  .cookie-table {
    font-size: 0.8rem;
    display: block;
    overflow-x: auto;
  }

  .cookie-table th,
  .cookie-table td {
    padding: 10px 12px;
  }
}


/* LEGAL MODALS V5.8.1 */
.legal-modal-overlay {position: fixed; inset: 0; background: rgba(0,0,0,0.9); display: flex; justify-content: center; align-items: center; z-index: 3000; backdrop-filter: blur(8px); padding: 20px; overflow-y: auto;}
.legal-modal-content {background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%); border-radius: 24px; max-width: 900px; width: 100%; max-height: 90vh; position: relative; border: 1px solid rgba(255,255,255,0.1); box-shadow: 0 25px 80px rgba(0,0,0,0.8); display: flex; flex-direction: column; animation: legalSlideIn 0.4s ease-out;}
@keyframes legalSlideIn {from {opacity: 0; transform: translateY(-30px) scale(0.95);} to {opacity: 1; transform: translateY(0) scale(1);}}
.legal-close-modal {position: absolute; top: 20px; right: 20px; background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.3); color: #ef4444; font-size: 2rem; width: 48px; height: 48px; border-radius: 12px; cursor: pointer; transition: all 0.2s; display: flex; align-items: center; justify-content: center; z-index: 10;}
.legal-close-modal:hover {background: rgba(239,68,68,0.2); border-color: #ef4444; transform: rotate(90deg);}
.legal-modal-header {padding: 40px 40px 30px 40px; text-align: center; border-bottom: 1px solid rgba(255,255,255,0.1); background: linear-gradient(180deg, rgba(59,130,246,0.05) 0%, transparent 100%);}
.legal-icon {font-size: 3rem; color: #3b82f6; margin-bottom: 15px; display: block;}
.legal-modal-header h2 {font-size: 2.5rem; font-weight: 800; margin: 0 0 10px 0; color: #fff;}
.legal-subtitle {color: #94a3b8; font-size: 0.95rem; margin: 0; font-style: italic;}
.legal-modal-body {padding: 40px; overflow-y: auto; flex: 1; line-height: 1.8; color: #cbd5e1;}
.legal-modal-body::-webkit-scrollbar {width: 10px;}
.legal-modal-body::-webkit-scrollbar-track {background: rgba(15,23,42,0.5); border-radius: 5px;}
.legal-modal-body::-webkit-scrollbar-thumb {background: rgba(59,130,246,0.5); border-radius: 5px;}
.legal-modal-body::-webkit-scrollbar-thumb:hover {background: rgba(59,130,246,0.7);}
.legal-section {margin-bottom: 40px;}
.legal-section h3 {font-size: 1.6rem; font-weight: 700; color: #fff; margin: 0 0 15px 0; padding-bottom: 10px; border-bottom: 2px solid rgba(59,130,246,0.3);}
.legal-section h4 {font-size: 1.2rem; font-weight: 600; color: #e2e8f0; margin: 25px 0 12px 0;}
.legal-section p {margin: 0 0 15px 0; color: #cbd5e1; font-size: 1rem;}
.legal-section ul {margin: 15px 0; padding-left: 25px; list-style: disc;}
.legal-section li {margin-bottom: 10px; color: #cbd5e1; line-height: 1.7;}
.legal-section li strong {color: #fff; font-weight: 600;}
.legal-section a {color: #60a5fa; text-decoration: underline; transition: color 0.2s;}
.legal-section a:hover {color: #93c5fd;}
.legal-section code {background: rgba(59,130,246,0.1); color: #93c5fd; padding: 2px 6px; border-radius: 4px; font-family: 'Courier New', monospace; font-size: 0.9em;}
.legal-modal-footer {padding: 20px 40px; text-align: center; border-top: 1px solid rgba(255,255,255,0.1); background: rgba(15,23,42,0.8); color: #64748b; font-size: 0.9rem;}
.careers-benefits {display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; margin: 15px 0;}
.benefit-item {background: rgba(59,130,246,0.05); padding: 10px; border-radius: 8px; text-align: center; border: 1px solid rgba(59,130,246,0.2); transition: all 0.3s;}
.benefit-item:hover {background: rgba(59,130,246,0.1); border-color: rgba(59,130,246,0.4); transform: translateY(-2px);}
.benefit-item i {font-size: 1.2rem; color: #3b82f6; margin-bottom: 5px;}
.benefit-item h4 {font-size: 0.8rem; font-weight: 600; color: #fff; margin: 5px 0 2px 0;}
.benefit-item p {font-size: 0.65rem; color: #94a3b8; margin: 0;}
.job-category {margin-bottom: 20px;}
.job-category h4 {font-size: 1.1rem; color: #fff; margin-bottom: 10px; padding: 8px; background: rgba(59,130,246,0.1); border-radius: 8px; border-left: 4px solid #3b82f6;}
.job-category h4 i {margin-right: 6px; color: #3b82f6;}
.job-card {background: rgba(15,23,42,0.5); border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; padding: 15px; margin-bottom: 10px; transition: all 0.3s;}
.job-card:hover {border-color: rgba(59,130,246,0.5); transform: translateX(3px); box-shadow: 0 6px 20px rgba(59,130,246,0.2);}
.job-header {display: flex; align-items: center; gap: 6px; margin-bottom: 8px; flex-wrap: wrap;}
.job-header h5 {font-size: 1rem; font-weight: 700; color: #fff; margin: 0; flex: 1;}
.job-badge {background: rgba(34,197,94,0.2); color: #22c55e; padding: 2px 6px; border-radius: 12px; font-size: 0.6rem; font-weight: 600; border: 1px solid rgba(34,197,94,0.3);}
.job-location {color: #94a3b8; font-size: 0.75rem;}
.job-location::before {content: "📍 ";}
.job-description {color: #cbd5e1; margin: 5px 0; line-height: 1.4; font-size: 0.85rem;}
.job-skills, .job-exp {font-size: 0.75rem; color: #94a3b8; margin: 4px 0;}
.job-skills strong, .job-exp strong {color: #e2e8f0;}
.job-apply-btn {display: inline-block; background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%); color: #fff; padding: 6px 15px; border-radius: 6px; font-weight: 600; text-decoration: none; margin-top: 6px; transition: all 0.2s; font-size: 0.8rem;}
.job-apply-btn:hover {background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%); transform: translateY(-2px); box-shadow: 0 6px 15px rgba(59,130,246,0.3);}
@media (max-width: 768px) {
  .legal-modal-content {max-width: 100%; margin: 10px; border-radius: 16px;}
  .legal-modal-header {padding: 25px 15px 18px 15px;}
  .legal-modal-header h2 {font-size: 1.8rem;}
  .legal-modal-body {padding: 20px 15px;}
  .legal-section h3 {font-size: 1.3rem;}
  .legal-close-modal {width: 38px; height: 38px; font-size: 1.4rem;}
  .careers-benefits {grid-template-columns: 1fr 1fr;}
  .job-header {flex-direction: column; align-items: flex-start;}
}

/* Flag Icon Badges */
.flag-icon {
    display: inline-block;
    padding: 2px 6px;
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    color: white;
    font-weight: 600;
    font-size: 0.75rem;
    border-radius: 3px;
    margin-right: 8px;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(37, 99, 235, 0.2);
    transition: all 0.3s ease;
}

.flag-icon:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(37, 99, 235, 0.3);
}

.language-selector .flag-icon {
    font-size: 0.7rem;
    padding: 1px 5px;
}
