/* ═══════════════════════════════════════
   BENSA FINANCE — Design System
   ═══════════════════════════════════════ */

:root {
  --navy: #0A0F1E;
  --navy-light: #111827;
  --blue: #1A6FE8;
  --blue-glow: rgba(26, 111, 232, 0.4);
  --gold: #C9A84C;
  --gold-glow: rgba(201, 168, 76, 0.4);
  --white: #F5F5F5;
  --grey: #8892A4;
  --glass: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-hover: rgba(255, 255, 255, 0.07);
  --font-display: -apple-system, 'SF Pro Display', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-body: -apple-system, 'SF Pro Text', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* ═══════ RESET ═══════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  background: var(--navy);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input { font-family: inherit; }

/* ═══════ UTILITIES ═══════ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}
.section {
  padding: 48px 0;
  position: relative;
  overflow: hidden;
}
.section-header { text-align: center; margin-bottom: 64px; }
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 16px;
}
.section-subtitle {
  color: var(--grey);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}
.display-text {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
}

/* ═══════ BUTTONS ═══════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--blue);
  color: #fff;
}
.btn-primary:hover {
  background: #1559c0;
  box-shadow: 0 0 30px var(--blue-glow);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.3);
}
.btn-outline:hover {
  border-color: var(--blue);
  box-shadow: 0 0 30px var(--blue-glow);
  transform: translateY(-2px);
}
.btn-gold {
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
}
.btn-gold:hover {
  background: #d4b356;
  box-shadow: 0 0 30px var(--gold-glow);
}
.btn-text {
  padding: 0;
  color: var(--blue);
  font-weight: 600;
}
.btn-text:hover { text-decoration: underline; }
.btn-lg { padding: 18px 40px; font-size: 1.1rem; }
.btn-android {
  background: #3DDC84;
  color: #000;
  font-weight: 700;
}
.btn-android:hover { background: #32c974; transform: translateY(-2px); }
.btn-ios {
  background: #000;
  color: #fff;
  font-weight: 700;
}
.btn-ios:hover { background: #222; transform: translateY(-2px); }
.btn-pulse { animation: pulse 2.5s ease-in-out infinite; }

/* ═══════ GLASSMORPHISM ═══════ */
.glass-card {
  background: var(--glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.4s ease;
}
.glass-card-lg {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px;
  text-align: center;
}

/* ═══════ ANIMATIONS ═══════ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}
.stagger-1 { transition-delay: 150ms; }
.stagger-2 { transition-delay: 300ms; }
.stagger-3 { transition-delay: 450ms; }
.stagger-4 { transition-delay: 600ms; }
.stagger-5 { transition-delay: 750ms; }
.stagger-6 { transition-delay: 900ms; }

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 var(--blue-glow); }
  50% { box-shadow: 0 0 20px 6px var(--blue-glow); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes dash {
  to { stroke-dashoffset: -40; }
}
@keyframes ripple {
  0% { r: 6; opacity: 0.8; }
  100% { r: 24; opacity: 0; }
}
@keyframes cardShadowPulse {
  0%, 100% { opacity: 0.4; transform: scaleX(0.9); }
  50% { opacity: 0.7; transform: scaleX(1); }
}

/* ═══════ NAVBAR ═══════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 12px 24px 0;
}
.navbar.scrolled {
  top: 12px;
  padding: 0 24px;
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(10, 15, 30, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}
.navbar.scrolled .nav-container {
  background: rgba(10, 15, 30, 0.85);
  border-color: rgba(255,255,255,0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255,255,255,0.05);
}
.nav-logo img { height: 32px; width: auto; }
.nav-links {
  display: flex;
  gap: 8px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--grey);
  transition: all 0.2s;
  letter-spacing: 0.02em;
  padding: 6px 14px;
  border-radius: 8px;
}
.nav-links a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.06);
}
.nav-links a.active { color: var(--white); }
.nav-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-login {
  color: var(--white);
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  transition: all 0.3s;
  border: 1px solid rgba(255,255,255,0.12);
}
.nav-login:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.3);
}
/* Language selector */
.lang-selector {
  position: relative;
  margin-right: 10px;
  z-index: 1100;
}
.lang-current {
  display: flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
  color: rgba(255,255,255,0.6);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: all 0.3s;
}
.lang-current:hover { border-color: rgba(255,255,255,0.3); color: #fff; }
.lang-globe { opacity: 0.5; }
.lang-chevron { opacity: 0.4; transition: transform 0.3s; }
.lang-selector.open .lang-chevron { transform: rotate(180deg); }
.lang-code { line-height: 1; }
.lang-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 120px;
  background: rgba(15, 20, 40, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 4px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: all 0.2s;
}
.lang-selector.open .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.lang-option {
  display: block;
  width: 100%;
  padding: 7px 12px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.6);
  font-size: 0.78rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  border-radius: 5px;
  transition: all 0.2s;
}
.lang-option:hover { background: rgba(255,255,255,0.08); color: #fff; }
.lang-option.active { color: var(--blue); font-weight: 600; }
/* Mobile lang selector */
.mobile-menu .lang-selector {
  margin: 0 auto 20px;
}
.mobile-menu .lang-current {
  padding: 8px 14px;
  font-size: 0.85rem;
}
.mobile-menu .lang-dropdown {
  left: 50%;
  right: auto;
  transform: translateX(-50%) translateY(-4px);
}
.mobile-menu .lang-selector.open .lang-dropdown {
  transform: translateX(-50%) translateY(0);
}

.nav-cta {
  background: var(--blue);
  color: #fff;
  padding: 6px 16px;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  transition: all 0.3s;
}
.nav-cta:hover {
  background: #1559c0;
  box-shadow: 0 0 20px var(--blue-glow);
}
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; z-index: 1001; }
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
  border-radius: 2px;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 15, 30, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-menu.active { transform: translateX(0); }
.mobile-nav-links { text-align: center; }
.mobile-nav-links li { margin-bottom: 24px; }
.mobile-nav-links a {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
}
.mobile-login {
  display: block;
  text-align: center;
  padding: 14px 40px;
  font-size: 1rem;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  color: var(--white);
  margin-bottom: 12px;
}
.mobile-cta { padding: 16px 40px; font-size: 1rem; }

/* ═══════ HERO ═══════ */
.hero {
  height: 400vh;
  position: relative;
}
.hero-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  background: #000;
}

/* Vidéo plein écran derrière tout */
.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* Canvas masque plein écran */
.hero-mask-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

/* Phrase percutante au-dessus du mot BENSA */
.hero-headline {
  position: absolute;
  top: 18%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  text-align: center;
  white-space: nowrap;
  transition: opacity 0.5s ease;
}
.hero-headline.hidden { opacity: 0; }
.hero-headline p {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.4rem);
  font-weight: 300;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.7);
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(0.7rem, 1.5vw, 0.9rem);
  font-weight: 300;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: rgba(255,255,255,0.8);
}
.hero-subline {
  color: var(--grey);
  font-size: clamp(0.85rem, 1.2vw, 1rem);
  margin-bottom: 32px;
  letter-spacing: 0.05em;
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  text-align: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: opacity 0.5s ease;
}
.hero-scroll-hint.hidden { opacity: 0; }
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  margin: 8px auto 0;
  animation: scrollLineAnim 2s ease-in-out infinite;
}
@keyframes scrollLineAnim {
  0%, 100% { opacity: 0.3; transform: scaleY(0.5); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ═══════ VISION ═══════ */
.vision {
  padding: 0 0 20px;
  position: relative;
  z-index: 5;
  margin-top: -50vh;
}
.vision::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50vh;
  background: linear-gradient(to bottom, transparent 0%, var(--navy) 100%);
  pointer-events: none;
  z-index: -1;
}
.vision::after {
  content: '';
  position: absolute;
  top: 50vh;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--navy);
  z-index: -1;
}
.vision-intro {
  text-align: left;
  max-width: 800px;
  padding: 160px 0 60px;
}
.vision-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 20px;
}
.vision-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
}
/* Vision body text */
.vision-body {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--grey);
  line-height: 1.8;
  max-width: 700px;
  margin-bottom: 56px;
}

/* Grille de profils */
.vision-profiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}
/* Flip container */
.profile-flip {
  -webkit-perspective: 1000px;
  perspective: 1000px;
  aspect-ratio: 3 / 4;
  cursor: pointer;
  position: relative;
  z-index: 1;
}
.profile-flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: -webkit-transform 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
}
.profile-flip.flipped .profile-flip-inner {
  -webkit-transform: rotateY(180deg);
  transform: rotateY(180deg);
}
.profile-front,
.profile-back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}
.profile-front {
  z-index: 2;
}
.profile-back {
  -webkit-transform: rotateY(180deg);
  transform: rotateY(180deg);
  border-radius: 16px;
  overflow: hidden;
  background: var(--navy);
  z-index: 1;
}
.profile-back img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.profile-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  width: 100%;
  height: 100%;
  cursor: pointer;
}
.profile-card img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.profile-card:hover img {
  transform: scale(1.06);
}
.profile-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(10,15,30,0.9) 0%, rgba(10,15,30,0.2) 50%, transparent 100%);
  transition: box-shadow 0.4s ease;
  z-index: 1;
}
.profile-card:hover .profile-overlay {
  box-shadow: inset 0 0 60px rgba(26, 111, 232, 0.15);
}
.profile-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 80px;
}
.profile-content h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 4px;
  white-space: nowrap;
}
.profile-content p {
  font-size: 0.85rem;
  color: var(--grey);
  line-height: 1.4;
  min-height: 2.8em;
}

/* Punchline + tagline */
.vision-punchline {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--grey);
  max-width: 700px;
  margin: 0 auto 24px;
  line-height: 1.6;
  text-align: center;
}
.vision-tagline {
  margin-bottom: 56px;
  text-align: center;
}
.vision-accent-line {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.2;
}
.text-blue {
  color: var(--blue);
}
.vision-cta {
  text-align: center;
  margin-top: 60px;
}

/* Responsive profiles */
@media (max-width: 1024px) {
  .vision-profiles { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .vision-profiles { grid-template-columns: 1fr; }
  .profile-flip { aspect-ratio: 4 / 3; }
}
/* Flip fonctionne identiquement sur mobile — pas de reset nécessaire */

/* ═══════ PARTICLE CANVAS ═══════ */
.particle-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* ═══════ GATEWAY HERO CARD ═══════ */
.gateway-card {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
}
.gateway-glow {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(ellipse at 80% 30%, rgba(26,111,232,0.15), transparent 70%);
  pointer-events: none;
}
.gateway-inner {
  position: relative;
  background: linear-gradient(135deg, #0A0F2E 0%, rgba(26,111,232,0.08) 100%);
  padding: 64px;
  overflow: hidden;
}
.gateway-content {
  display: flex;
  gap: 48px;
  align-items: flex-start;
  margin-bottom: 48px;
}
.gateway-left { flex: 0 0 55%; }
.gateway-right { flex: 1; padding-top: 8px; }
.gateway-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.gateway-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.gateway-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--white);
}
.badge-check {
  color: var(--blue);
  font-weight: 700;
  font-size: 0.9rem;
}
.gateway-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin-bottom: 32px;
}
.gateway-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* Isometric Cards */
.iso-cards {
  position: relative;
  height: 280px;
  margin-bottom: -48px;
}
.iso-card {
  position: absolute;
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255,255,255,0.2);
  overflow: hidden;
  transform: perspective(1000px) rotateX(25deg) rotateY(-20deg) rotateZ(10deg);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  cursor: default;
}
.iso-card:hover {
  transform: perspective(1000px) rotateX(12deg) rotateY(-10deg) rotateZ(5deg) translateY(-24px);
  box-shadow: 0 40px 80px rgba(0,0,0,0.5);
}
.iso-card-glow {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 160px;
  height: 160px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
  transition: background 0.4s;
}
.iso-card:hover .iso-card-glow { background: rgba(255,255,255,0.2); }

/* Card variants */
/* — BLACK card — */
.iso-card-personal {
  left: 0;
  bottom: 0;
  width: 320px;
  height: 200px;
  background: linear-gradient(135deg, #1a1a1a, #2d2d2d, #0d0d0d);
  box-shadow: 20px 40px 60px rgba(0,0,0,0.5);
  z-index: 1;
}
/* — GOLD card — */
.iso-card-business {
  left: 22%;
  bottom: -16px;
  width: 380px;
  height: 240px;
  background: linear-gradient(135deg, #C9963B, #F5D576, #A67B2E);
  box-shadow: 40px 60px 100px rgba(0,0,0,0.5);
  z-index: 2;
  padding: 32px;
}
/* — PLATINUM (grey) card — */
.iso-card-virtual {
  left: 50%;
  bottom: -8px;
  width: 320px;
  height: 200px;
  background: linear-gradient(135deg, #8C8C8C, #C0C0C0, #6E6E6E);
  box-shadow: 20px 40px 60px rgba(0,0,0,0.4);
  z-index: 1;
}

.iso-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.iso-card-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.iso-dark-text { color: rgba(0,0,0,0.7); }
/* Gold card — dark text on gold background */
.iso-card-business .iso-card-name { color: #1a1200; }
.iso-card-business .iso-card-tier { color: rgba(26, 18, 0, 0.5); }
.iso-card-business .iso-chip-lg { background: linear-gradient(135deg, #a67b2e, #d4a843); border-color: rgba(0,0,0,0.1); }
.mc-circles { display: flex; margin-left: -6px; }
.mc-circles span {
  display: block;
  width: 28px;
  height: 28px;
  border-radius: 50%;
}
.mc-lg span { width: 36px; height: 36px; }
.mc-red { background: rgba(235,0,27,0.8); }
.mc-orange { background: rgba(255,159,10,0.8); margin-left: -10px; }
.mc-lg .mc-orange { margin-left: -14px; }

.iso-card-bottom { margin-top: auto; }
.iso-chip {
  width: 32px;
  height: 20px;
  background: rgba(255,255,255,0.2);
  border-radius: 3px;
  margin-bottom: 8px;
}
.iso-chip-lg { width: 48px; height: 32px; border-radius: 6px; border: 1px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.3); margin-bottom: 12px; }
.iso-card-num {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.iso-card-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.iso-card-tier {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.05em;
}
.iso-card-business .iso-card-name { font-size: 1.3rem; font-weight: 800; letter-spacing: -0.02em; color: #1a1200; }
.iso-card-business .iso-card-num { font-size: 1rem; color: rgba(26, 18, 0, 0.7); }

/* Gateway responsive */
@media (max-width: 768px) {
  .gateway-inner { padding: 32px; }
  .gateway-content { flex-direction: column; gap: 24px; }
  .gateway-left { flex: none; }
  .iso-cards { height: auto; position: relative; display: flex; flex-direction: column; gap: 16px; align-items: center; margin-bottom: 0; }
  .iso-card {
    position: relative;
    left: auto !important;
    bottom: auto !important;
    width: 100% !important;
    max-width: 340px;
    height: 180px !important;
    transform: none;
  }
  .iso-card:hover { transform: translateY(-8px); }
}

/* ═══════ TRUST BAR ═══════ */
.trust-bar { padding: 20px 0 48px; }
.stats-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.stat {
  text-align: center;
  padding: 24px 40px;
  flex: 1;
  min-width: 140px;
}
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--white);
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 0.85rem;
  color: var(--grey);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.stat-separator {
  width: 1px;
  height: 60px;
  background: var(--blue);
  opacity: 0.4;
  flex-shrink: 0;
}

/* ═══════ WHO WE SERVE ═══════ */
.serve-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.serve-card {
  border-top: 3px solid var(--gold);
  padding: 32px 24px;
}
.serve-card:hover {
  background: var(--glass-hover);
  transform: translateY(-4px);
  box-shadow: 0 8px 40px var(--blue-glow);
  border-top-color: #d4b356;
}
.serve-icon {
  width: 48px;
  height: 48px;
  color: var(--blue);
  margin-bottom: 20px;
}
.serve-icon svg { width: 100%; height: 100%; }
.serve-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.serve-card p {
  color: var(--grey);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 16px;
}
.tag-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 500;
  border: 1px solid var(--glass-border);
  color: var(--grey);
  background: var(--glass);
}

/* ═══════ CORE SERVICES ═══════ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

/* — Carte service premium — */
.feature-card {
  position: relative;
  padding: 40px 32px;
  border-left: none;
  border: none;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
  transition: background 0.5s ease;
}
/* Grille séparatrice subtile */
.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 0.5px solid rgba(255, 255, 255, 0.06);
  pointer-events: none;
}
/* Spotlight radial qui suit le curseur */
.feature-card::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26, 111, 232, 0.12) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
  transform: translate(-50%, -50%);
  top: var(--mouse-y, 50%);
  left: var(--mouse-x, 50%);
}
.feature-card:hover::after {
  opacity: 1;
}
.feature-card:hover {
  background: rgba(255, 255, 255, 0.04);
}

/* — Icône avec cercle lumineux — */
.feature-icon {
  position: relative;
  width: 56px;
  height: 56px;
  color: var(--blue);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-icon::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 14px;
  background: rgba(26, 111, 232, 0.08);
  border: 1px solid rgba(26, 111, 232, 0.15);
  transition: all 0.4s ease;
}
.feature-card:hover .feature-icon::before {
  background: rgba(26, 111, 232, 0.14);
  border-color: rgba(26, 111, 232, 0.3);
  box-shadow: 0 0 20px rgba(26, 111, 232, 0.15);
}
.feature-icon svg {
  width: 28px;
  height: 28px;
  position: relative;
  z-index: 1;
  transition: transform 0.4s ease;
}
.feature-card:hover .feature-icon svg {
  transform: scale(1.1);
}

/* — Textes carte — */
.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
  transition: color 0.3s ease;
}
.feature-card:hover h3 {
  color: #fff;
}
.feature-card p {
  color: var(--grey);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* — Ligne dorée animée en bas au hover — */
.feature-card .feature-accent {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  transition: transform 0.5s ease;
}
.feature-card:hover .feature-accent {
  transform: translateX(-50%) scaleX(1);
}

/* — Coins arrondis sur les cartes d'angle — */
.feature-card:first-child { border-radius: 16px 0 0 0; }
.feature-card:nth-child(3) { border-radius: 0 16px 0 0; }
.feature-card:nth-child(4) { border-radius: 0 0 0 16px; }
.feature-card:last-child { border-radius: 0 0 16px 0; }

/* ═══════ BENSA DIFFERENCE ═══════ */
.bensa-difference { position: relative; }
.diagonal-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(
    135deg,
    transparent,
    transparent 60px,
    rgba(255,255,255,0.015) 60px,
    rgba(255,255,255,0.015) 61px
  );
  pointer-events: none;
}
.difference-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.difference-left h2 { margin-bottom: 0; }
.difference-right { display: flex; flex-direction: column; gap: 32px; }
.difference-row {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.diff-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  color: var(--blue);
}
.diff-icon svg { width: 100%; height: 100%; }
.difference-row h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.difference-row p {
  color: var(--grey);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ═══════ MASTERCARD HERO ═══════ */
.mastercard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.card-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  perspective: 1000px;
}
.card-float {
  animation: float 4s ease-in-out infinite;
  will-change: transform;
  transition: transform 0.1s ease;
}
.card-float img {
  max-width: 380px;
  width: 100%;
  border-radius: 16px;
}
.card-shadow {
  width: 70%;
  height: 20px;
  background: radial-gradient(ellipse, var(--blue-glow) 0%, transparent 70%);
  margin-top: 16px;
  animation: cardShadowPulse 4s ease-in-out infinite;
  filter: blur(8px);
}
.card-info h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 12px;
}
.card-features {
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.card-features li {
  padding-left: 24px;
  position: relative;
  color: var(--grey);
  font-size: 0.95rem;
}
.card-features li::before {
  content: '·';
  position: absolute;
  left: 8px;
  color: var(--blue);
  font-weight: 700;
  font-size: 1.2rem;
}

/* ═══════ NETWORK MAP ═══════ */
.network-map {
  padding: 160px 0;
  position: relative;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.network-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}
.network-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}
.network-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(10,15,30,0.5) 0%, rgba(10,15,30,0.7) 100%);
}
.network-svg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  max-width: 1000px;
  z-index: 1;
  pointer-events: none;
}
.network-line {
  stroke: var(--blue);
  stroke-width: 1.5;
  stroke-dasharray: 8 6;
  opacity: 0.5;
  animation: dash 2s linear infinite;
}
.network-node { filter: drop-shadow(0 0 4px var(--gold-glow)); }
.network-ripple {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.5;
  animation: ripple 3s ease-out infinite;
}
.network-content {
  position: relative;
  z-index: 2;
  text-align: center;
}
.network-content h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 12px;
}
.rail-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 40px;
}
.rail-badge {
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  background: var(--navy);
  border: 1px solid var(--blue);
  color: var(--white);
  transition: all 0.3s;
}
.rail-badge:hover {
  background: var(--blue);
}

/* ═══════ APP SECTION ═══════ */
.app-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.app-content h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 12px;
}
.app-features {
  margin: 32px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.app-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  color: var(--grey);
}
.checkmark {
  color: var(--blue);
  font-weight: 700;
  font-size: 1.1rem;
}
.app-visual {
  display: flex;
  justify-content: center;
}
.app-visual img {
  max-width: 320px;
  width: 100%;
  transform: rotate(-3deg);
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.4));
}

/* ═══════ TESTIMONIALS ═══════ */
.testimonial-video-card {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 40px;
}
.testimonial-video-inner {
  position: relative;
  background: linear-gradient(135deg, #0A0F2E 0%, rgba(26,111,232,0.08) 100%);
  overflow: hidden;
  border-radius: 28px;
}
.testimonial-video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 28px;
}
.testimonial-video--mobile { display: none; }
@media (max-width: 768px) {
  .testimonial-video--desktop { display: none; }
  .testimonial-video--mobile { display: block; }
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card { padding: 32px; }
.stars {
  color: var(--gold);
  font-size: 1.1rem;
  letter-spacing: 4px;
  margin-bottom: 16px;
}
.testimonial-text {
  font-size: 1rem;
  font-style: italic;
  color: var(--grey);
  line-height: 1.8;
  margin-bottom: 24px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.author-name {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
}
.author-role {
  display: block;
  font-size: 0.8rem;
  color: var(--grey);
}

/* ═══════ CURRENCIES MARQUEE ═══════ */
.currencies { padding-bottom: 80px; }

/* ── Marquee premium ── */
.currency-marquee {
  overflow: hidden;
  padding: 20px 0;
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.currency-row {
  display: flex;
  width: max-content;
  margin-bottom: 16px;
}
.currency-row:last-child { margin-bottom: 0; }
.currency-row--left { animation: ccy-scroll-left 50s linear infinite; }
.currency-row--right { animation: ccy-scroll-right 50s linear infinite; }
.currency-row--slow { animation-duration: 65s; }
.currency-marquee:hover .currency-row { animation-play-state: paused; }
.currency-row__inner {
  display: flex;
  gap: 14px;
  padding-right: 14px;
}

/* ── Carte devise ── */
.ccy-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 14px;
  background: rgba(26, 111, 232, 0.06);
  border: 1px solid rgba(26, 111, 232, 0.15);
  backdrop-filter: blur(8px);
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: default;
}
.ccy-card:hover {
  background: rgba(26, 111, 232, 0.15);
  border-color: var(--blue);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(26, 111, 232, 0.2), 0 0 0 1px rgba(26, 111, 232, 0.3);
}
.ccy-card img {
  width: 28px;
  height: 20px;
  object-fit: cover;
  border-radius: 3px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}
.ccy-crypto-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}
.ccy-symbol {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--blue);
  min-width: 20px;
  text-align: center;
}
.ccy-code {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.04em;
}
.ccy-card--crypto {
  border-color: rgba(38, 161, 123, 0.25);
  background: rgba(38, 161, 123, 0.06);
}
.ccy-card--crypto:hover {
  border-color: #26A17B;
  background: rgba(38, 161, 123, 0.15);
  box-shadow: 0 8px 24px rgba(38, 161, 123, 0.2), 0 0 0 1px rgba(38, 161, 123, 0.3);
}
.ccy-card--crypto .ccy-symbol { color: #26A17B; }

@keyframes ccy-scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes ccy-scroll-right {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

/* ═══════ COMING SOON ═══════ */
.coming-soon { text-align: center; }
.badge-gold {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  padding: 6px 20px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.coming-soon h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 12px;
}
.coming-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 700px;
  margin: 48px auto;
}
.coming-card {
  text-align: center;
  opacity: 0.5;
  padding: 32px 24px;
}
.coming-card.reveal.active { opacity: 0.5; }
.coming-lock { font-size: 2rem; margin-bottom: 12px; }
.coming-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.coming-card p { color: var(--grey); font-size: 0.9rem; }
.notify-form { max-width: 480px; margin: 0 auto; }
.notify-form > p {
  color: var(--grey);
  margin-bottom: 16px;
}
.notify-form form {
  display: flex;
  gap: 12px;
}
.notify-form input[type="email"] {
  flex: 1;
  padding: 14px 20px;
  border-radius: 50px;
  border: 1px solid var(--glass-border);
  background: var(--glass);
  color: var(--white);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.3s;
}
.notify-form input[type="email"]:focus { border-color: var(--gold); }
.notify-form input[type="email"]::placeholder { color: var(--grey); }
.form-success {
  display: none;
  color: var(--gold);
  font-weight: 500;
  margin-top: 16px;
}
.form-success.visible { display: block; }

/* ═══════ FINAL CTA ═══════ */
.final-cta {
  padding: 160px 0;
  text-align: center;
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.final-cta h2 {
  margin-bottom: 16px;
}
.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
}
.cta-note {
  color: var(--grey);
  font-size: 0.85rem;
  margin-top: 24px;
}

/* ═══════ PRICING ═══════ */
.pricing-section { padding-bottom: 64px; }
.pricing-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}
.pricing-header h2 { margin-bottom: 12px; }
.pricing-header p {
  color: var(--grey);
  font-size: 1rem;
  max-width: 500px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  background: linear-gradient(135deg, rgba(26, 111, 232, 0.08), rgba(201, 168, 76, 0.06));
  padding: 16px;
  border-radius: 16px;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  background: rgba(10, 15, 30, 0.7);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 32px 28px;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.pricing-card-popular {
  background: linear-gradient(160deg, #0d1b3e 0%, #122045 50%, #0a1230 100%);
  border-color: var(--blue);
  box-shadow: 0 0 30px rgba(26, 111, 232, 0.15);
  transform: scale(1.03);
  z-index: 2;
}
.pricing-card-popular:hover {
  transform: scale(1.03) translateY(-4px);
}

.pricing-popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 16px;
  border-radius: 50px;
  letter-spacing: 0.03em;
}

.pricing-card-top { margin-bottom: 24px; }
.pricing-plan-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.pricing-plan-desc {
  color: var(--grey);
  font-size: 0.85rem;
  line-height: 1.5;
}

.pricing-card-body { flex: 1; }

.pricing-price-block { margin-bottom: 20px; }
.pricing-from {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--grey);
  display: block;
  margin-bottom: 8px;
}
.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 8px;
}
.pricing-amount {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.pricing-currency {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
}
.pricing-range {
  font-size: 0.9rem;
  color: var(--grey);
  margin-left: 4px;
}
.pricing-price-note {
  font-size: 0.78rem;
  color: #5a6478;
  line-height: 1.5;
}

.pricing-divider {
  height: 1px;
  background: var(--glass-border);
  margin: 20px 0;
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--grey);
}
.pricing-features li svg {
  flex-shrink: 0;
  color: var(--blue);
}
.pricing-card-popular .pricing-features li svg {
  color: var(--gold);
}

.pricing-card-footer {
  margin-top: 28px;
}
.pricing-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 14px 24px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s;
}
.pricing-card-popular .pricing-btn {
  background: linear-gradient(135deg, var(--blue), #2a7ff5);
  color: #fff;
  box-shadow: 0 4px 20px rgba(26, 111, 232, 0.3);
}
.pricing-card-popular .pricing-btn:hover {
  box-shadow: 0 6px 30px rgba(26, 111, 232, 0.5);
}
.btn-outline {
  background: transparent;
  border: 1px solid var(--glass-border);
  color: var(--white);
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
}

@media (max-width: 1024px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .pricing-card-popular { transform: scale(1); }
  .pricing-card-popular:hover { transform: translateY(-4px); }
}

/* ═══════ FAQ ═══════ */
.faq-section {
  padding-bottom: 64px;
  position: relative;
  overflow: hidden;
}

.faq-spiral {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0.25;
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(circle at center, rgba(255,255,255,1), rgba(255,255,255,0.1) 60%, transparent 75%);
  mask-image: radial-gradient(circle at center, rgba(255,255,255,1), rgba(255,255,255,0.1) 60%, transparent 75%);
}

.faq-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.faq-header h2 {
  font-size: 3.5rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.faq-header p {
  color: var(--grey);
  font-size: 0.95rem;
}

.faq-search input {
  height: 40px;
  width: 240px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: transparent;
  color: var(--white);
  padding: 0 14px;
  font-size: 0.85rem;
  outline: none;
  transition: border-color 0.2s;
}
.faq-search input::placeholder { color: rgba(255, 255, 255, 0.35); }
.faq-search input:focus { border-color: rgba(255, 255, 255, 0.45); }

.faq-header-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
  margin-bottom: 32px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.faq-item {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.25);
  padding: 20px 24px;
  transition: border-color 0.3s;
}
.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.25);
}

.faq-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-align: left;
  cursor: pointer;
  gap: 12px;
}
.faq-q {
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.faq-num {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.3);
  font-weight: 500;
  flex-shrink: 0;
}
.faq-q h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.4;
}
.faq-icon {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.2s, transform 0.3s;
  flex-shrink: 0;
  line-height: 1;
}
.faq-item:hover .faq-icon { color: var(--white); }
.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), margin-top 0.35s, opacity 0.35s;
  margin-top: 0;
  opacity: 0;
}
.faq-item.open .faq-answer {
  max-height: 500px;
  margin-top: 14px;
  opacity: 1;
}
.faq-answer p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
  padding-left: 32px;
}
.faq-answer p + p { margin-top: 8px; }
.faq-answer a { color: var(--blue); }
.faq-answer a:hover { text-decoration: underline; }

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

/* ═══════ ONBOARDING FORM ═══════ */
.onboarding-wrapper {
  max-width: 520px;
  margin: 0 auto;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 32px 32px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all 0.4s ease;
}
/* Teaser minimaliste */
.onboarding-teaser {
  text-align: center;
}
.onboarding-teaser .display-text {
  font-size: 1.6rem;
}
.onboarding-teaser .section-subtitle {
  margin: 8px 0 20px;
  color: var(--grey);
  font-size: 0.9rem;
}
.onboarding-teaser .btn-lg {
  padding: 12px 32px;
  font-size: 0.95rem;
}
/* Expanded — formulaire déployé, plus large */
.onboarding-wrapper.expanded {
  max-width: 720px;
  padding: 40px 36px;
}
.onboarding-expanded {
  animation: fadeSlideUp 0.5s ease forwards;
}
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.onboarding-header {
  text-align: center;
  margin-bottom: 36px;
}
.onboarding-header .section-subtitle {
  margin-top: 12px;
  color: var(--grey);
}
/* Success */
.onboarding-success {
  text-align: center;
  animation: fadeSlideUp 0.5s ease forwards;
}
.success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.onboarding-success h3 {
  font-size: 1.6rem;
  margin-bottom: 12px;
}
.onboarding-success p {
  color: var(--grey);
  margin-bottom: 24px;
}
.onboarding-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.onboarding-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.onboarding-form .form-full {
  margin-bottom: 24px;
}
.onboarding-form label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--grey);
  letter-spacing: 0.02em;
}
.onboarding-form input,
.onboarding-form select,
.onboarding-form textarea {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 12px 16px;
  color: var(--white);
  font-size: 0.95rem;
  font-family: var(--font-body);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.onboarding-form input:focus,
.onboarding-form select:focus,
.onboarding-form textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-glow);
}
.onboarding-form select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238892A4' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.onboarding-form select option {
  background: var(--navy);
  color: var(--white);
}
.onboarding-form textarea {
  resize: vertical;
  min-height: 80px;
}
.form-submit-btn {
  width: 100%;
  margin-top: 8px;
  font-size: 1.05rem;
  padding: 16px;
}
.form-disclaimer {
  text-align: center;
  margin-top: 16px;
  font-size: 0.78rem;
  color: var(--grey);
  opacity: 0.7;
}
.form-disclaimer a {
  color: var(--blue);
  text-decoration: underline;
}
@media (max-width: 600px) {
  .onboarding-wrapper { padding: 32px 20px; }
  .onboarding-form .form-row { grid-template-columns: 1fr; }
}

/* ═══════ FOOTER ═══════ */
.footer {
  background: rgba(10, 15, 30, 0.6);
  border-top: 1px solid var(--glass-border);
  padding: 0;
}
.footer .container { max-width: 1100px; padding: 0 24px; }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 48px 0;
}
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  color: var(--white);
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a {
  color: var(--grey);
  font-size: 0.85rem;
  transition: color 0.2s;
}
.footer-col ul a:hover { color: var(--white); }
.footer-col ul li:not(:has(a)) { color: var(--grey); font-size: 0.85rem; }

.footer-divider {
  height: 1px;
  background: var(--glass-border);
}

.footer-middle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-brand-row {
  display: flex;
  align-items: center;
  gap: 16px;
}
.footer-logo {
  height: 28px;
  width: auto;
}
.footer-tagline {
  color: var(--grey);
  font-size: 0.85rem;
}

.footer-apps {
  display: flex;
  gap: 12px;
}
.app-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--white);
  transition: all 0.2s;
}
.app-badge:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
}
.app-badge svg { flex-shrink: 0; }
.app-badge-text { display: flex; flex-direction: column; }
.app-badge-small {
  font-size: 0.6rem;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--grey);
}
.app-badge-big {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
}

.footer-bottom {
  padding: 20px 0;
  text-align: center;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: var(--grey);
  margin-bottom: 6px;
}
.footer-legal { font-size: 0.72rem; color: #5a6478; }
.footer-legal a { color: var(--blue); }
.footer-legal a:hover { text-decoration: underline; }

/* ═══════ TERMS PAGE ═══════ */
.terms-hero {
  padding: 140px 0 60px;
  text-align: center;
}
.terms-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
}
.terms-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px 80px;
}
.terms-content h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  margin: 48px 0 16px;
  color: var(--blue);
}
.terms-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 24px 0 8px;
}
.terms-content p,
.terms-content li {
  color: var(--grey);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 12px;
}
.terms-content ul {
  padding-left: 24px;
  list-style: disc;
  margin-bottom: 16px;
}
.terms-content a { color: var(--blue); }
.terms-content a:hover { text-decoration: underline; }

/* ═══════ RESPONSIVE — TABLET ═══════ */
@media (max-width: 1024px) {
  .serve-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .nav-links { display: none; }
  .nav-buttons { display: none; }
  .hamburger { display: flex; }
  .nav-container { max-width: 100%; padding: 0 20px; }
  .navbar { padding: 10px 16px 0; }
  .navbar.scrolled { padding: 0 16px; }

  .section { padding: 40px 0; }

  .hero-text-mask { width: 90%; }
  .hero-content { bottom: 10%; }

  .stats-grid { flex-wrap: wrap; justify-content: center; }
  .stat { min-width: 120px; padding: 16px 20px; }
  .stat-separator:nth-child(6),
  .stat-separator:nth-child(8) { display: none; }

  .serve-grid {
    grid-template-columns: 1fr;
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
  }
  .serve-card {
    min-width: 280px;
    scroll-snap-align: start;
    flex-shrink: 0;
  }

  .features-grid { grid-template-columns: 1fr; }
  .difference-grid { grid-template-columns: 1fr; gap: 40px; }
  .mastercard-grid { grid-template-columns: 1fr; text-align: center; }
  .card-visual { order: -1; }
  .card-features { align-items: center; }
  .app-grid { grid-template-columns: 1fr; }
  .app-visual { order: -1; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .coming-grid { grid-template-columns: 1fr; max-width: 300px; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-middle { flex-direction: column; align-items: center; text-align: center; }
  .footer-brand-row { flex-direction: column; gap: 8px; }
  .footer-apps { flex-direction: column; align-items: center; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .notify-form form { flex-direction: column; }
}

@media (max-width: 480px) {
  .stat-number { font-size: 2rem; }
  .stat-separator { display: none; }
  .stats-grid { gap: 8px; }
  .glass-card-lg { padding: 32px 20px; }
}

/* ═══════ REDUCED MOTION ═══════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal, .reveal-left, .reveal-right {
    opacity: 1;
    transform: none;
  }
  .card-float { animation: none; }
  .currency-row { animation: none; }
}

/* ═══════════════════════════════════════
   Coming Soon — Boutons App désactivés
   ═══════════════════════════════════════ */
.coming-soon-btn {
  position: relative;
  cursor: default !important;
}
.coming-soon-btn:hover {
  opacity: 0.7;
}
.coming-soon-tooltip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 6px;
  white-space: nowrap;
  pointer-events: none;
  animation: tooltipFade 2s ease forwards;
  z-index: 10;
}
.coming-soon-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: var(--gold);
}
@keyframes tooltipFade {
  0%   { opacity: 0; transform: translateX(-50%) translateY(4px); }
  15%  { opacity: 1; transform: translateX(-50%) translateY(0); }
  75%  { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(-4px); }
}

/* ═══════════════════════════════════════
   RTL Support (Arabic)
   ═══════════════════════════════════════ */
[dir="rtl"] { text-align: right; }
[dir="rtl"] .navbar .container { flex-direction: row-reverse; }
[dir="rtl"] .nav-links { flex-direction: row-reverse; }
[dir="rtl"] .nav-buttons { flex-direction: row-reverse; }
[dir="rtl"] .lang-dropdown { right: auto; left: 0; }
[dir="rtl"] .footer-grid { direction: rtl; }
[dir="rtl"] .gateway-buttons { justify-content: flex-start; }
[dir="rtl"] .profile-cards { direction: rtl; }
[dir="rtl"] .services-grid { direction: rtl; }
[dir="rtl"] .pricing-grid { direction: rtl; }
[dir="rtl"] .faq-grid { direction: rtl; }
