/* ============================================================
   PREMIUM+ — micro-interactions et finitions haut de gamme
   Basé sur : recherche UX plateformes trading 2025-2026
   (clarté visuelle > densité, micro-interactions = confiance)
   ============================================================ */

/* ---------- Boutons premium : glow + shine sweep ---------- */
.btn {
  position: relative; overflow: hidden;
  transition: transform .18s ease, box-shadow .25s ease, filter .2s ease;
}
.btn-primary {
  background: linear-gradient(135deg, #00E68F 0%, #00D084 50%, #00B873 100%);
  color: #04120B; font-weight: 700;
  box-shadow: 0 4px 24px rgba(0, 208, 132, .28), inset 0 1px 0 rgba(255,255,255,.25);
  border: none;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 36px rgba(0, 208, 132, .45), inset 0 1px 0 rgba(255,255,255,.3);
  filter: brightness(1.06);
  text-decoration: none;
}
.btn-primary:active { transform: translateY(0); }
/* Reflet qui traverse le bouton au survol */
.btn-primary::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 60px;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,.45), transparent);
  left: -80px; transform: skewX(-20deg); pointer-events: none;
}
.btn-primary:hover::after {
  animation: btn-shine .6s ease forwards;
}
@keyframes btn-shine {
  to { left: calc(100% + 40px); }
}

/* ---------- Badges eyebrow : style Linear/Stripe ---------- */
.wx-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--green);
  background: rgba(0, 208, 132, .08);
  border: 1px solid rgba(0, 208, 132, .22);
  padding: .42rem 1rem; border-radius: 999px;
  margin-bottom: 1.1rem;
  box-shadow: 0 0 24px rgba(0, 208, 132, .08), inset 0 1px 0 rgba(255,255,255,.06);
}
.wx-eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 8px var(--green);
  animation: wx-pulse 2.4s ease-in-out infinite;
}

/* ---------- Cartes : effet de brillance au survol ---------- */
.wx-sys-card, .wx-proof-grid > div {
  position: relative; overflow: hidden;
}
.wx-sys-card::after {
  content: ""; position: absolute; top: 0; left: -100%; width: 60%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,.04), transparent);
  transform: skewX(-20deg); pointer-events: none;
  transition: left .7s ease;
}
.wx-sys-card:hover::after { left: 130%; }

/* ---------- Chiffres clés : gradient text ---------- */
.wx-stat .v, .wx-proof-num {
  background: linear-gradient(180deg, #FFFFFF 30%, #B8C4D4 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.wx-stat .v.pos {
  background: linear-gradient(180deg, #00FFA3 20%, #00D084 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 12px rgba(0, 208, 132, .3));
}

/* ---------- Barres de preuve : shimmer animé ---------- */
.wx-proof-bar {
  position: relative; overflow: hidden;
  background: rgba(255,255,255,.05);
}
.wx-proof-bar i::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.25) 50%, transparent 70%);
  animation: bar-shimmer 2.8s ease-in-out infinite;
}
@keyframes bar-shimmer {
  0% { transform: translateX(-100%); }
  60%, 100% { transform: translateX(100%); }
}

/* ---------- Navigation : glassmorphism renforcé ---------- */
.nav {
  background: rgba(11, 14, 20, .72);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid rgba(255,255,255,.06);
  box-shadow: 0 8px 32px rgba(0, 0, 0, .25);
}

/* ---------- Liens nav : soulignement animé ---------- */
.nav-links a:not(.btn) {
  position: relative;
}
.nav-links a:not(.btn)::after {
  content: ""; position: absolute; bottom: 0; left: 50%;
  width: 0; height: 2px; border-radius: 2px;
  background: var(--green);
  box-shadow: 0 0 8px rgba(0, 208, 132, .6);
  transition: width .22s ease, left .22s ease;
}
.nav-links a:not(.btn):hover::after {
  width: 100%; left: 0;
}

/* ---------- Section CTA : halo animé ---------- */
.wx-cta::before {
  content: ""; position: absolute; top: -120px; left: 50%; transform: translateX(-50%);
  width: 500px; height: 240px; pointer-events: none;
  background: radial-gradient(ellipse, rgba(0, 208, 132, .18), transparent 70%);
  animation: cta-breathe 4s ease-in-out infinite;
}
@keyframes cta-breathe {
  0%, 100% { opacity: .6; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.08); }
}

/* ---------- Marquee : fondu sur les bords ---------- */
.wx-tape {
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

/* ---------- FAQ : ouverture fluide ---------- */
.wx-faq details > *:not(summary) {
  animation: faq-in .3s ease;
}
@keyframes faq-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Focus visible : accessibilité premium ---------- */
.btn:focus-visible, a:focus-visible, summary:focus-visible {
  outline: 2px solid var(--green); outline-offset: 3px; border-radius: 6px;
}

/* ---------- Sélection de texte : couleur marque ---------- */
::selection {
  background: rgba(0, 208, 132, .32); color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,.3);
}
