/* ============================================================
   FORMATION TRADING MASTER – Imprimante by Sadek
   Design: fidèle au site imprimantetrading.com
   Fond rose-violet chaud, nav violet foncé, diamonds pleins
   ============================================================ */

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

:root {
  /* Couleurs exactes issues de l'image officielle d'Imprimante Trading */
  --nav-bg:        #FAF3FC;   /* Fond clair nav, assorti au site */
  --nav-text:      #7D007C;   /* Violet officiel pour la nav */
  --purple:        #B500B5;   /* Violet/magenta vibrant pour les boutons & accents */
  --purple-hover:  #8E008E;   /* Version survol */
  --purple-light:  #F2D5F8;   /* Rose lilas très clair */
  --bg-pink:       #F3E6F7;   /* Le fond lavande/rose pastel original */
  --bg-pink-soft:  #FAF5FC;   /* Une version encore plus douce */
  --bg-white:      #FFFFFF;
  --ribbon-color:  #E2C7EB;   /* Couleur du ruban chevron */
  --card-border:   #E4D2ED;
  --text-dark:     #1E002B;   /* Violet très sombre pour les titres */
  --text-mid:      #532657;   /* Violet moyen pour les paragraphes */
  --text-muted:    #8E6C94;
  --shadow:        0 4px 20px rgba(181, 0, 181, 0.08);
  --shadow-lg:     0 8px 32px rgba(181, 0, 181, 0.12);
  --radius:        14px;
  --radius-lg:     22px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-pink);
  color: var(--text-dark);
  line-height: 1.65;
  overflow-x: hidden;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 28px;
}

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

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 { font-family: 'Poppins', sans-serif; line-height: 1.2; color: var(--text-dark); }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 900; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }

.purple-text { color: var(--purple); }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block;
  padding: 14px 34px;
  background: var(--purple);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 18px rgba(181, 0, 181, 0.3);
  border: none;
  cursor: pointer;
  letter-spacing: 0.01em;
}
.btn-primary:hover {
  background: var(--purple-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(181, 0, 181, 0.4);
}
.btn-primary.btn-large { padding: 17px 46px; font-size: 1.05rem; }

.btn-outline {
  display: inline-block;
  padding: 13px 30px;
  background: transparent;
  color: var(--purple);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 50px;
  border: 2px solid var(--purple);
  text-decoration: none;
  transition: all 0.25s ease;
}
.btn-outline:hover { background: var(--purple); color: #fff; }

.btn-nav {
  display: inline-block;
  padding: 9px 22px;
  background: var(--purple);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.22s ease;
  white-space: nowrap;
}
.btn-nav:hover { background: var(--purple-hover); }

/* ============================================================
   SECTION DIAMONDS – zigzag plein entre sections
   La pointe pointe vers le bas = effet "V" entre 2 sections
   ============================================================ */

/* Section en fond rose-violet → diamond de la même couleur */
.section-pink  { background: var(--bg-pink); }
.section-white { background: var(--bg-white); }
.section-soft  { background: var(--bg-pink-soft); }

/* Chevron en bas d'une section (crée la transition zigzag) */
.clip-bottom {
  position: relative;
  padding-bottom: 72px;
}
.clip-bottom::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0; right: 0;
  height: 60px;
  background: inherit;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

/* Chevron en haut d'une section (espace pour recevoir la pointe) */
.clip-top {
  padding-top: 80px;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  background: var(--nav-bg);
  box-shadow: 0 2px 15px rgba(76, 29, 149, 0.08);
  border-bottom: 1px solid var(--card-border);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 15px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.logo {
  font-family: 'Poppins', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-dark);
  text-decoration: none;
  white-space: nowrap;
}
.logo span { color: var(--purple); }
.nav-links { display: flex; gap: 24px; }
.nav-links a {
  color: var(--text-mid);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--purple); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: var(--bg-pink);
  padding: 130px 0 0;
  position: relative;
}
.hero-flex {
  display: flex;
  align-items: center;
  gap: 60px;
  padding-bottom: 40px;
}
.hero-left { flex: 1; }
.hero-right { flex-shrink: 0; }

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(139,47,201,0.12);
  border: 1px solid rgba(139,47,201,0.3);
  color: var(--purple);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}

.hero h1 { margin-bottom: 18px; }
.hero-sub {
  color: var(--text-mid);
  font-size: 1rem;
  margin-bottom: 32px;
  max-width: 520px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(181, 0, 181, 0.15);
  border: 4px solid var(--card-border);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
  aspect-ratio: 16/10;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--purple-hover);
  max-width: 460px;
  width: 100%;
}
.hero-image-wrap:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 30px 60px rgba(181, 0, 181, 0.25);
  border-color: var(--purple);
}
.hero-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ============================================================
   INTRO (fond blanc)
   ============================================================ */
.intro-section {
  background: var(--bg-white);
  padding: 72px 0 56px;
}
.intro-section h2 { margin-bottom: 16px; }
.intro-sub {
  color: var(--text-mid);
  font-size: 0.98rem;
  max-width: 680px;
  margin: 0 auto;
}

/* ============================================================
   STATS (fond rose-violet)
   ============================================================ */
.stats-section {
  background: var(--bg-pink);
  padding: 72px 0 56px;
}
.stats-title {
  text-align: center;
  color: var(--text-mid);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  margin-bottom: 32px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.stat-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 34px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--card-border);
  transition: transform 0.22s ease;
}
.stat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.stat-icon { font-size: 1.8rem; margin-bottom: 10px; display: block; }
.stat-num {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--purple);
  display: block;
  margin-bottom: 4px;
}
.stat-lbl { font-size: 0.82rem; color: var(--text-muted); font-weight: 500; }

/* ============================================================
   FORMATEUR (fond blanc)
   ============================================================ */
.formateur-section {
  background: var(--bg-white);
  padding: 72px 0 56px;
}
.formateur-card {
  display: flex;
  gap: 48px;
  align-items: center;
  background: var(--bg-pink-soft);
  border: 2px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 44px;
}
.photo-placeholder {
  width: 130px; height: 130px;
  background: var(--bg-pink);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 3.5rem;
  border: 3px solid var(--purple-light);
  flex-shrink: 0;
}
.form-badge {
  display: inline-block;
  padding: 5px 14px;
  background: var(--purple);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 50px;
  margin-bottom: 12px;
}
.formateur-info h3 { margin-bottom: 14px; }
.form-list { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.form-list li { color: var(--text-mid); font-size: 0.92rem; }

/* ============================================================
   OBJECTIF (fond rose-violet)
   ============================================================ */
.objectif-section {
  background: var(--bg-pink);
  padding: 72px 0 56px;
  text-align: center;
}
.objectif-section h2 { margin-bottom: 14px; }
.objectif-section p { margin-bottom: 28px; }

/* ============================================================
   POUR QUI (fond blanc)
   ============================================================ */
.forwho-section {
  background: var(--bg-white);
  padding: 72px 0 56px;
}
.forwho-section h2 { margin-bottom: 10px; }
.forwho-section .intro-sub { margin-bottom: 36px; }
.forwho-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(270px, 100%), 1fr));
  gap: 20px;
}
.forwho-card {
  background: var(--bg-pink-soft);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  transition: all 0.22s ease;
}
.forwho-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--purple-light);
}
.fwicon { font-size: 2rem; display: block; margin-bottom: 12px; }
.forwho-card h4 { margin-bottom: 7px; }
.forwho-card p { color: var(--text-muted); font-size: 0.88rem; }

/* ============================================================
   OUTILS (fond rose-violet)
   ============================================================ */
.outils-section {
  background: var(--bg-pink);
  padding: 72px 0 56px;
}
.outils-section h2 { margin-bottom: 10px; }
.outils-section .intro-sub { margin-bottom: 36px; }
.outils-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr));
  gap: 18px;
}
.outil-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 30px 22px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--card-border);
  transition: all 0.22s ease;
}
.outil-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.outil-icon { font-size: 1.9rem; margin-bottom: 10px; display: block; }
.outil-card h4 { margin-bottom: 7px; color: var(--purple); }
.outil-card p { color: var(--text-muted); font-size: 0.83rem; }

/* ============================================================
   PROGRAMME (fond blanc)
   ============================================================ */
.programme-section {
  background: var(--bg-white);
  padding: 72px 0 56px;
}
.programme-section h2 { margin-bottom: 10px; }
.programme-section .intro-sub { margin-bottom: 32px; }

.tabs {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.tab-btn {
  padding: 11px 26px;
  background: var(--bg-pink-soft);
  border: 2px solid var(--card-border);
  color: var(--text-mid);
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.tab-btn:hover { border-color: var(--purple); color: var(--purple); }
.tab-btn.active {
  background: var(--purple);
  border-color: var(--purple);
  color: #fff;
  box-shadow: 0 4px 14px rgba(181, 0, 181, 0.3);
}
.tab-content { display: none; }
.tab-content.active { display: block; animation: fade-up 0.28s ease both; }

@keyframes fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.prog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 9px;
}
.prog-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  background: var(--bg-pink-soft);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  transition: all 0.18s ease;
}
.prog-item:hover {
  background: var(--bg-pink);
  border-color: var(--purple-light);
  transform: translateX(4px);
}
.prog-item.crypto { background: #FFF8ED; border-color: #FDDBA3; }
.prog-item.crypto:hover { border-color: #D97706; }

.prog-num {
  font-family: 'Poppins', sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--purple);
  min-width: 38px;
  white-space: nowrap;
}
.prog-item.crypto .prog-num { color: #D97706; }
.prog-title { font-size: 0.86rem; color: var(--text-mid); font-weight: 500; }

.prog-section-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-dark);
  margin: 32px 0 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 2px solid var(--bg-pink);
  padding-bottom: 8px;
}

.prog-overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.prog-overview-card {
  background: var(--bg-pink-soft);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 20px;
  transition: all 0.22s ease;
}

.prog-overview-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--purple);
}

.prog-overview-card h4 {
  color: var(--purple);
  margin-bottom: 6px;
  font-size: 0.92rem;
  font-weight: 700;
}

.prog-overview-card p {
  color: var(--text-mid);
  font-size: 0.84rem;
  line-height: 1.5;
}

/* ============================================================
   CTA FINAL (fond rose-violet)
   ============================================================ */
.cta-section {
  background: var(--bg-pink);
  padding: 80px 0;
  text-align: center;
}
.cta-section h2 { margin-bottom: 12px; }
.cta-section .intro-sub { margin-bottom: 28px; }

.cta-features-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 20px;
  margin-bottom: 32px;
}
.cta-features-row span {
  background: var(--bg-white);
  border: 1px solid var(--card-border);
  border-radius: 50px;
  padding: 7px 16px;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--text-mid);
  box-shadow: var(--shadow);
}
.cta-contact { margin-top: 18px; color: var(--text-muted); font-size: 0.85rem; }
.cta-contact a { color: var(--purple); font-weight: 600; text-decoration: none; }

/* ============================================================
   CHEVRON RIBBON DIVIDERS
   ============================================================ */
.chevron-divider {
  width: 100%;
  height: 60px;
  background-color: var(--ribbon-color);
  clip-path: polygon(0 0, 50% 30px, 100% 0, 100% 30px, 50% 60px, 0 30px);
  margin-top: -15px;
  margin-bottom: -15px;
  position: relative;
  z-index: 5;
}

/* Fallback simple pour les sections sans ruban distinct */
.zigzag-down {
  padding-bottom: 60px;
}
.zigzag-up {
  padding-top: 60px;
}

/* ============================================================
   COOKIE CONSENT BANNER (Floating premium design)
   ============================================================ */
.consent-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 500px;
  background: var(--bg-white);
  border: 2px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 10px 30px rgba(181, 0, 181, 0.15);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transform: translateY(150%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.consent-banner.show {
  transform: translateY(0);
}
.consent-text {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.5;
}
.consent-text strong {
  color: var(--text-dark);
}
.consent-buttons {
  display: flex;
  gap: 12px;
}
.btn-consent-accept {
  flex: 1;
  padding: 10px 20px;
  background: var(--purple);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-consent-accept:hover {
  background: var(--purple-hover);
}
.btn-consent-decline {
  padding: 10px 20px;
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--card-border);
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-consent-decline:hover {
  background: var(--bg-pink-soft);
  color: var(--text-dark);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #1D0524; /* Nouveau violet très sombre et profond */
  color: rgba(255, 255, 255, 0.85);
  padding: 60px 0 28px;
}
.footer-top {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}
.footer-brand { flex: 1; min-width: 200px; }
.footer-logo {
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}
.footer-brand p { font-size: 0.85rem; color: rgba(255, 255, 255, 0.65); margin-bottom: 7px; }
.footer-brand a { color: var(--purple-light); font-size: 0.85rem; text-decoration: none; font-weight: 600; }

.footer-cols { display: flex; gap: 48px; flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 9px; }
.footer-col h4 {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 4px;
}
.footer-col a { color: rgba(255, 255, 255, 0.8); text-decoration: none; font-size: 0.88rem; transition: color 0.18s; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 22px;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }
  .nav-inner {
    padding: 10px 16px;
    gap: 12px;
  }
  .logo img {
    height: 28px !important;
  }
  .btn-nav {
    padding: 7px 14px;
    font-size: 0.78rem;
  }
  .nav-links {
    display: none;
  }
  .hero {
    padding-top: 100px;
  }
  .hero-flex {
    flex-direction: column;
    gap: 36px;
    text-align: center;
  }
  .hero-left {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-badge {
    font-size: 0.72rem;
    padding: 5px 12px;
    margin-bottom: 14px;
    display: inline-block;
    white-space: normal;
  }
  .hero-sub {
    margin: 0 auto 24px;
  }
  .hero-ctas {
    justify-content: center;
  }
  .hero-right {
    display: flex;
    justify-content: center;
    width: 100%;
  }
  .intro-section, .outils-section, .programme-section, .objectif-section, .forwho-section {
    padding: 56px 0 44px;
  }
  
  /* Ajustement grand bouton CTA sur mobile */
  .btn-primary.btn-large {
    padding: 14px 28px;
    font-size: 0.95rem;
    width: 100%;
    max-width: 360px;
    display: inline-block;
  }
  
  /* Ajustement de la bannière de consentement des cookies */
  .consent-banner {
    bottom: 16px;
    left: 16px;
    right: 16px;
    padding: 16px;
    gap: 12px;
  }
  .consent-buttons {
    flex-direction: column;
    gap: 8px;
  }
  .btn-consent-accept, .btn-consent-decline {
    width: 100%;
    padding: 10px;
    text-align: center;
  }
  
  .footer-top {
    flex-direction: column;
    gap: 32px;
  }
  .footer-cols {
    gap: 28px;
  }
}
@media (max-width: 480px) {
  .tabs {
    flex-direction: column;
    align-items: stretch;
  }
  .prog-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   IN-PAGE HERO VSL ROUNDED BUBBLE & MODAL
   ============================================================ */
.hero-vsl-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.hero-vsl-bubble {
  width: 340px;
  height: 340px;
  border-radius: 50%;
  border: 6px solid var(--purple);
  box-shadow: 0 20px 50px rgba(181, 0, 181, 0.35);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: #000;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.hero-vsl-bubble:hover {
  transform: scale(1.05) translateY(-6px);
  box-shadow: 0 30px 60px rgba(181, 0, 181, 0.5);
}

/* Crop the 16:9 iframe inside the 1:1 circle and center it */
.hero-vsl-iframe-wrap {
  width: 177.77%; /* 16:9 ratio fit inside 1:1 circle */
  height: 100%;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none; /* Make iframe unclickable so clicking the bubble works */
  transition: pointer-events 0.3s;
}

.hero-vsl-bubble.playing .hero-vsl-iframe-wrap {
  pointer-events: auto; /* Allow interaction with standard volume/play controllers */
}

.hero-vsl-iframe-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Transparent click interceptor and soft gradient shadow */
.hero-vsl-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  border-radius: 50%;
  background: linear-gradient(to bottom, rgba(181, 0, 181, 0.05), rgba(0, 0, 0, 0.5));
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease, pointer-events 0.3s;
}

.hero-vsl-bubble.playing .hero-vsl-overlay {
  opacity: 0;
  pointer-events: none;
}

/* Pulse animation indicator for play */
.hero-vsl-play-btn {
  width: 72px;
  height: 72px;
  background: var(--bg-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  color: var(--purple);
  font-size: 24px;
  z-index: 4;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  animation: hero-vsl-pulse 2s infinite;
}

.hero-vsl-bubble:hover .hero-vsl-play-btn {
  transform: scale(1.12);
}

@keyframes hero-vsl-pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.6); }
  70% { box-shadow: 0 0 0 16px rgba(255, 255, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

/* THE MODAL */
.vsl-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000; /* Extremely top level */
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.vsl-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.vsl-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(30, 0, 43, 0.85); /* Deep dark purple overlay */
  backdrop-filter: blur(10px);
}

.vsl-modal-container {
  position: relative;
  width: 90%;
  max-width: 800px;
  background: #000;
  border-radius: var(--radius-lg);
  border: 4px solid var(--purple);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(181, 0, 181, 0.4);
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.1);
  z-index: 2;
}

.vsl-modal.active .vsl-modal-container {
  transform: scale(1);
}

.vsl-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  transition: background 0.2s, transform 0.2s;
}

.vsl-modal-close:hover {
  background: var(--purple);
  transform: scale(1.1) rotate(90deg);
}

.vsl-video-wrapper {
  position: relative;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
  width: 100%;
}

.vsl-video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Adjust position for mobile screens */
@media (max-width: 768px) {
  .hero-vsl-bubble {
    width: 250px;
    height: 250px;
    border-width: 5px;
    box-shadow: 0 12px 30px rgba(181, 0, 181, 0.25);
  }
  .hero-vsl-play-btn {
    width: 56px;
    height: 56px;
    font-size: 18px;
  }
}
