/* ==========================================================================
   Design System & Modern Stylesheet - Najah AI Maroc (49 DH / 249 DH)
   ========================================================================== */

:root {
  /* Palette de couleurs marocaines & académiques modernes */
  --primary: #10B981;          /* Vert WhatsApp / Émeraude vif */
  --primary-dark: #059669;
  --primary-glow: rgba(16, 185, 129, 0.25);
  
  --secondary: #6366F1;        /* Indigo moderne */
  --secondary-glow: rgba(99, 102, 241, 0.2);

  --accent-gold: #F59E0B;       /* Or excellence */
  
  --bg-dark: #0B0F19;          /* Bleu nuit profond */
  --bg-card: rgba(17, 24, 39, 0.75);
  --bg-card-hover: rgba(31, 41, 55, 0.85);
  
  --text-main: #F9FAFB;
  --text-muted: #9CA3AF;
  --border-light: rgba(255, 255, 255, 0.1);
  --border-primary: rgba(16, 185, 129, 0.35);

  --font-ar: 'Cairo', system-ui, sans-serif;
  --font-fr: 'Plus Jakarta Sans', system-ui, sans-serif;
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset de base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-ar);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

body.lang-fr {
  font-family: var(--font-fr);
  direction: ltr;
}

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

/* Background Glow Effects */
.bg-shape {
  position: absolute;
  filter: blur(140px);
  z-index: -1;
  pointer-events: none;
  border-radius: 50%;
}
.bg-shape-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.25) 0%, rgba(16, 185, 129, 0) 70%);
  top: -100px;
  right: -100px;
}
.bg-shape-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, rgba(99, 102, 241, 0) 70%);
  top: 400px;
  left: -200px;
}

/* ==========================================================================
   Header & Navbar
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 15, 25, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  padding: 1rem 0;
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text-main);
  font-size: 1.35rem;
}

.badge-mini {
  font-size: 0.75rem;
  background: rgba(16, 185, 129, 0.15);
  color: var(--primary);
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  border: 1px solid var(--border-primary);
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-item {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.nav-item:hover {
  color: var(--primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lang-toggle-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 700;
  transition: var(--transition);
}

.lang-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

.btn-primary-wa {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 0.6rem 1.2rem;
  border-radius: 10px;
  box-shadow: 0 4px 15px var(--primary-glow);
  transition: var(--transition);
}

.btn-primary-wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 5rem 0 4rem;
  background-size: 50px 50px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  mask-image: radial-gradient(ellipse at center, black 50%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 50%, transparent 90%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid var(--border-primary);
  padding: 0.4rem 1rem;
  border-radius: 30px;
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-title {
  font-size: 2.85rem;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 1.2rem;
}

.gradient-text {
  background: linear-gradient(135deg, #10B981, #6EE7B7, #6366F1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2.2rem;
  max-width: 600px;
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

/* Tactile Physical Push-Button with Skeuomorphic Depth */
.btn-cta-large {
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  background: linear-gradient(180deg, #10B981 0%, #059669 100%);
  color: white;
  text-decoration: none;
  padding: 1.15rem 2.2rem;
  border-radius: 20px;
  box-shadow: 
    0 0 0 1px rgba(255, 255, 255, 0.25),
    0 4px 12px rgba(5, 150, 105, 0.35),
    0 16px 32px -4px rgba(16, 185, 129, 0.45),
    inset 0 1px 1px rgba(255, 255, 255, 0.4),
    inset 0 -3px 6px rgba(0, 0, 0, 0.2);
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  max-width: 480px;
}

.btn-cta-large:hover {
  transform: translateY(-3px) scale(1.015);
  background: linear-gradient(180deg, #34D399 0%, #059669 100%);
  box-shadow: 
    0 0 0 1px rgba(255, 255, 255, 0.35),
    0 8px 16px rgba(5, 150, 105, 0.4),
    0 24px 40px -6px rgba(16, 185, 129, 0.6),
    inset 0 1px 1px rgba(255, 255, 255, 0.5),
    inset 0 -3px 6px rgba(0, 0, 0, 0.2);
}

.btn-cta-large:active {
  transform: translateY(1px);
  background: #059669;
  box-shadow: 
    0 0 0 1px rgba(255, 255, 255, 0.1),
    inset 0 3px 8px rgba(0, 0, 0, 0.4);
}

.wa-icon-large {
  font-size: 2.2rem;
}

.cta-main-text {
  display: block;
  font-size: 1.3rem;
  font-weight: 800;
}

.cta-sub-text {
  display: block;
  font-size: 0.85rem;
  opacity: 0.85;
}

.hero-guarantee {
  display: flex;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
}

.stat-card {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--primary);
}

.stat-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Hyper-Realistic 3D iPhone WhatsApp Mockup & Skeuomorphic Depth
   ========================================================================== */
.hero-mockup-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1200px;
  padding: 1.5rem 1rem;
}

/* Authentic iPhone Bezel with 3D Shadow Depth */
.iphone-bezel {
  position: relative;
  width: 100%;
  max-width: 380px;
  background-color: #0B1120;
  border-radius: 50px;
  padding: 11px;
  box-shadow: 
    inset 0 0 0 2px #52525B, 
    inset 0 0 0 8px #000000, 
    0 45px 100px -20px rgba(0, 0, 0, 0.95),
    0 20px 40px -15px rgba(16, 185, 129, 0.3),
    inset 0 1px 2px rgba(255, 255, 255, 0.2);
  transform-style: preserve-3d;
  transition: transform 0.2s cubic-bezier(0.2, 0, 0.2, 1);
  will-change: transform;
}

/* Realistic Hardware Buttons */
.hw-btn {
  position: absolute;
  background: linear-gradient(90deg, #404040 0%, #171717 100%);
  box-shadow: -2px 0 5px rgba(0,0,0,0.8), inset -1px 0 1px rgba(255,255,255,0.15);
  border-radius: 3px;
  z-index: 1;
}
.hw-btn-action { top: 95px; left: -3px; width: 3px; height: 24px; }
.hw-btn-vol-up { top: 135px; left: -3px; width: 3px; height: 45px; }
.hw-btn-vol-down { top: 195px; left: -3px; width: 3px; height: 45px; }
.hw-btn-power { 
  top: 155px; 
  right: -3px; 
  width: 3px; 
  height: 65px; 
  box-shadow: 2px 0 5px rgba(0,0,0,0.8), inset 1px 0 1px rgba(255,255,255,0.15); 
}

/* Inner Screen with Curved Corners */
.iphone-screen {
  position: relative;
  background: #0B1320;
  border-radius: 40px;
  overflow: hidden;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.9);
  display: flex;
  flex-direction: column;
}

/* Dynamic Island Notch */
.dynamic-island {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 108px;
  height: 27px;
  background: #000;
  border-radius: 20px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  box-shadow: inset 0 -1px 2px rgba(255, 255, 255, 0.15), 0 3px 8px rgba(0,0,0,0.6);
}
.di-camera {
  width: 10px;
  height: 10px;
  background: #111;
  border-radius: 50%;
  box-shadow: inset 0 0 2px #38bdf8;
}
.di-pulse-dot {
  width: 7px;
  height: 7px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.9);
  animation: pulse 1.8s infinite;
}

/* Realistic Screen Glare */
.screen-glare {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 28%, transparent 50%);
  pointer-events: none;
  z-index: 40;
  border-radius: 40px;
}

/* Home Indicator Bar */
.home-indicator {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 125px;
  height: 4px;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 9999px;
  z-index: 50;
}

/* Floating Glass Badges */
.floating-ui-badge {
  position: absolute;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.75) 0%, rgba(15, 23, 42, 0.85) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  padding: 0.8rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  box-shadow: 
    0 25px 50px -12px rgba(0, 0, 0, 0.85),
    inset 0 1px 1px rgba(255, 255, 255, 0.2);
  z-index: 60;
  pointer-events: none;
  animation: badgeFloat 4.5s ease-in-out infinite;
}

.badge-top-corner {
  top: 15px;
  right: -30px;
}

.badge-bottom-corner {
  bottom: 25px;
  left: -30px;
  animation-delay: -2.25s;
}

@keyframes badgeFloat {
  0%, 100% { transform: translateY(0px) scale(1); }
  50% { transform: translateY(-10px) scale(1.02); }
}

.badge-icon-glow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid rgba(245, 158, 11, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.3);
}

.badge-glow-green {
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.4);
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.3);
}

.badge-content {
  display: flex;
  flex-direction: column;
}

.badge-title {
  color: #FFFFFF;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.badge-subtitle {
  color: #94A3B8;
  font-size: 0.75rem;
  font-weight: 600;
}

@media (max-width: 992px) {
  .floating-ui-badge {
    display: none; /* Hide floating badges on smaller screens for clean layout */
  }
}

.chat-header {
  background: #1E293B;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.chat-avatar {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.chat-name {
  font-size: 0.9rem;
  font-weight: 800;
}

.verified-check {
  color: var(--primary);
  font-weight: 900;
}

.chat-status {
  font-size: 0.75rem;
  color: var(--primary);
}

.chat-body {
  background: #0D1520;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-height: 390px;
  font-size: 0.85rem;
}

.msg {
  display: flex;
  max-width: 88%;
}

.msg-incoming {
  align-self: flex-start;
}

.msg-outgoing {
  align-self: flex-end;
}

.msg-bubble {
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  line-height: 1.45;
  position: relative;
}

.msg-incoming .msg-bubble {
  background: #1E293B;
  color: #F1F5F9;
  border-bottom-right-radius: 2px;
}

.msg-outgoing .msg-bubble {
  background: #065F46;
  color: #ECFDF5;
  border-bottom-left-radius: 2px;
}

.msg-time {
  display: block;
  font-size: 0.65rem;
  color: #94A3B8;
  text-align: left;
  margin-top: 0.3rem;
}

.img-preview-mock {
  margin-top: 0.4rem;
  padding: 0.5rem;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 8px;
  font-size: 0.75rem;
  border: 1px dashed rgba(255, 255, 255, 0.2);
}

.ai-generated-diagram {
  margin-top: 0.5rem;
  background: #0B0F19;
  border-radius: 8px;
  padding: 0.5rem;
  border: 1px solid var(--border-primary);
}

.diagram-tag {
  font-size: 0.65rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.diagram-art {
  font-family: monospace;
  direction: ltr;
  text-align: center;
  color: #34D399;
  font-size: 0.8rem;
}

/* Video Bubble Mockup (Pass *6) */
.video-bubble {
  width: 100%;
  background: #1E293B !important;
  padding: 0.5rem !important;
}

.video-preview-mock {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.video-thumbnail {
  width: 100%;
  height: 120px;
  background: linear-gradient(135deg, #0F172A, #1E293B);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.video-play-btn {
  width: 44px;
  height: 44px;
  background: rgba(16, 185, 129, 0.9);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.5);
}

.video-badge-pill {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.7);
  color: #34D399;
  font-size: 0.65rem;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.video-meta {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.video-size {
  font-size: 0.7rem;
  color: #94A3B8;
}

.pdf-bubble {
  background: rgba(30, 41, 59, 0.95) !important;
  border: 1px solid rgba(239, 68, 68, 0.35) !important;
  margin-top: 0.5rem;
}

.pdf-preview-mock {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: rgba(15, 23, 42, 0.6);
  border-radius: 8px;
  padding: 0.6rem 0.8rem;
  border-left: 3px solid #EF4444;
}

.pdf-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}

.pdf-meta {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.pdf-meta strong {
  font-size: 0.8rem;
  color: #F8FAFC;
}

.pdf-size {
  font-size: 0.68rem;
  color: #94A3B8;
}

.chat-footer-mock {
  background: #1E293B;
  padding: 0.6rem 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.chat-input-mock {
  flex: 1;
  background: #0B0F19;
  border-radius: 20px;
  padding: 0.4rem 0.8rem;
  font-size: 0.75rem;
  color: #6B7280;
}

.chat-send-btn {
  color: var(--primary);
  font-size: 1.1rem;
}

/* ==========================================================================
   Sections Générales (Titres, Grilles)
   ========================================================================== */
section {
  padding: 5rem 0;
}

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

.section-header {
  margin-bottom: 3.5rem;
}

.section-tag {
  display: inline-block;
  background: rgba(99, 102, 241, 0.1);
  color: var(--secondary);
  border: 1px solid var(--secondary-glow);
  padding: 0.3rem 0.9rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 900;
  margin-bottom: 0.8rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* ==========================================================================
   Levels Section
   ========================================================================== */
.levels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.level-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 2rem 1.5rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.level-card:hover {
  transform: translateY(-5px);
  background: var(--bg-card-hover);
  border-color: var(--border-primary);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.level-card.featured {
  border-color: var(--primary);
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.08) 0%, rgba(17, 24, 39, 0.8) 100%);
  position: relative;
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.card-title {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
}

.card-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  margin-bottom: 1rem;
  background: rgba(255, 255, 255, 0.08);
  color: #D1D5DB;
}

.card-badge.pioneer {
  background: rgba(16, 185, 129, 0.15);
  color: #34D399;
}

.card-badge.highlight {
  background: rgba(245, 158, 11, 0.15);
  color: #FBBF24;
}

.card-badge.concours {
  background: rgba(99, 102, 241, 0.15);
  color: #818CF8;
}

.card-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.2rem;
  flex-grow: 1;
}

.card-features {
  list-style: none;
  font-size: 0.85rem;
  color: #D1D5DB;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* ==========================================================================
   Level Card Media Showcase (UGC Visuals)
   ========================================================================== */
.level-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 1.25rem;
  background: #0B0F19;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
  cursor: pointer;
}

.level-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
}

.level-card:hover .level-card-img {
  transform: scale(1.05);
}

.level-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.1) 0%, rgba(15, 23, 42, 0.8) 100%);
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.level-card:hover .level-media-overlay {
  opacity: 0.6;
}

.level-media-pill {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.level-media-pill .live-dot {
  width: 7px;
  height: 7px;
  background: #10B981;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px #10B981;
  animation: pulseLive 2s infinite;
}

@keyframes pulseLive {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

/* Dual Tab Switcher for 1Bac & 2Bac */
.media-tab-btns {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 4;
  display: flex;
  gap: 4px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 3px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.media-tab-btn {
  background: transparent;
  border: none;
  color: #94A3B8;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.media-tab-btn.active {
  background: #2563EB;
  color: #FFFFFF;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.4);
}

.media-tab-btn:hover:not(.active) {
  color: #F8FAFC;
}

/* Landing Page UGC Showcase Block */
.ugc-showcase-box {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.7) 0%, rgba(15, 23, 42, 0.85) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 1.5rem;
  margin: 2.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
}

@media (min-width: 768px) {
  .ugc-showcase-box {
    flex-direction: row;
    align-items: center;
  }
}

.ugc-showcase-media {
  flex: 1;
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.ugc-showcase-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ugc-showcase-info {
  flex: 1.1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.ugc-showcase-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #38BDF8;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  width: fit-content;
}

.ugc-showcase-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.4;
}

.ugc-showcase-desc {
  font-size: 0.92rem;
  color: #94A3B8;
  line-height: 1.6;
}

/* ==========================================================================
   Pricing Section (49 DH & 249 DH)
   ========================================================================== */
.pricing-section {
  background: linear-gradient(180deg, transparent 0%, rgba(17, 24, 39, 0.5) 100%);
}

.pricing-toggle-wrap {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  padding: 0.5rem 1.2rem;
  border-radius: 40px;
  margin-top: 1.8rem;
}

.toggle-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-muted);
}

.pricing-toggle {
  width: 50px;
  height: 26px;
  background: var(--primary);
  border-radius: 20px;
  border: none;
  cursor: pointer;
  position: relative;
  transition: var(--transition);
}

.toggle-slider {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  background: white;
  border-radius: 50%;
  transition: var(--transition);
}

.pricing-toggle.monthly {
  background: #4B5563;
}

.pricing-toggle.monthly .toggle-slider {
  transform: translateX(24px);
}

.discount-pill {
  background: #EF4444;
  color: white;
  font-size: 0.75rem;
  padding: 0.15rem 0.5rem;
  border-radius: 12px;
}

.pricing-cards-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
  align-items: stretch;
}

@media (max-width: 1024px) {
  .pricing-cards-wrapper {
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  }
}

.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 24px;
  padding: 2.5rem 1.8rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
}

.price-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-primary);
}

.price-card.trimestriel {
  border: 2px solid #6366F1;
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.08) 0%, rgba(17, 24, 39, 0.9) 100%);
  box-shadow: 0 15px 40px rgba(99, 102, 241, 0.15);
}

.trimestriel-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #6366F1, #4F46E5);
  color: white;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 0.35rem 1.2rem;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
  white-space: nowrap;
}

.price-card.popular {
  border: 2px solid var(--primary);
  box-shadow: 0 15px 40px rgba(16, 185, 129, 0.15);
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.06) 0%, rgba(17, 24, 39, 0.9) 100%);
}

.popular-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 0.35rem 1.2rem;
  border-radius: 20px;
  box-shadow: 0 4px 15px var(--primary-glow);
}

.plan-name {
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
}

.plan-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.price-figure {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
}

.currency {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
}

.amount {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1;
}

.period {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.equiv-monthly {
  font-size: 0.85rem;
  color: #34D399;
  background: rgba(16, 185, 129, 0.1);
  padding: 0.3rem 0.8rem;
  border-radius: 8px;
  display: inline-block;
  margin-bottom: 1.5rem;
}

.plan-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  font-size: 0.95rem;
  color: #E5E7EB;
  margin: 1.5rem 0 2rem;
  flex-grow: 1;
}

.btn-price-card {
  display: block;
  text-align: center;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  padding: 1rem;
  border-radius: 14px;
  font-size: 1.05rem;
  font-weight: 800;
  transition: var(--transition);
}

.btn-price-card:hover {
  background: rgba(255, 255, 255, 0.15);
}

.btn-price-card.primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  border: none;
  box-shadow: 0 6px 20px var(--primary-glow);
}

.btn-price-card.primary:hover {
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4);
  transform: translateY(-2px);
}

.payment-methods-box {
  margin-top: 3.5rem;
  text-align: center;
}

.payment-title {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.payment-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.pay-badge {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  padding: 0.5rem 1rem;
  border-radius: 30px;
  font-size: 0.85rem;
  color: #D1D5DB;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-accordion {
  max-width: 750px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-question {
  width: 100%;
  text-align: right;
  background: none;
  border: none;
  padding: 1.25rem 1.5rem;
  color: var(--text-main);
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

body.lang-fr .faq-question {
  text-align: left;
}

.faq-chevron {
  font-size: 1.5rem;
  color: var(--primary);
  transition: var(--transition);
}

.faq-item.active .faq-chevron {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out;
  padding: 0 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  padding-bottom: 1.25rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  border-top: 1px solid var(--border-light);
  background: #070A10;
  padding: 3.5rem 0 2rem;
  font-size: 0.9rem;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  color: #6B7280;
  font-size: 0.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1.5rem;
  width: 100%;
}

/* ==========================================================================
   Responsive Mobile
   ========================================================================== */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.5rem;
  }
  .hero-subtitle {
    margin: 0 auto 2rem;
  }
  .hero-cta-group {
    align-items: center;
  }
  .hero-guarantee {
    justify-content: center;
  }
  .nav-links {
    display: none; /* Mobile menu simplifié */
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .pricing-row {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }
  .refund-channels {
    grid-template-columns: 1fr !important;
  }
}

/* ==========================================================================
   Pages Légales & Conformité CMI / Payzone Maroc
   ========================================================================== */
.badge-sub {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 500;
  margin-left: 0.35rem;
}

.legal-page-wrapper {
  padding: 3.5rem 0 5rem;
  min-height: 80vh;
}

.legal-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.legal-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-main);
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.legal-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
}

.legal-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 3rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.legal-section {
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.legal-section:last-child {
  margin-bottom: 0;
}

.legal-section h2 {
  font-size: 1.3rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-section p {
  color: #D1D5DB;
  margin-bottom: 1rem;
}

.legal-section ul, .legal-section ol {
  margin: 1rem 1.8rem 1.5rem;
  color: #D1D5DB;
}

.legal-section li {
  margin-bottom: 0.5rem;
}

.legal-section a {
  color: var(--primary);
  text-decoration: underline;
}

.highlight-box {
  background: rgba(16, 185, 129, 0.06);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 12px;
  padding: 1.8rem;
}

.security-banner {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.35);
  padding: 1.2rem 1.5rem;
  border-radius: 12px;
  margin-top: 1.5rem;
}

.security-icon {
  font-size: 2rem;
}

.security-text {
  font-size: 0.95rem;
  color: #E0E7FF;
  line-height: 1.6;
}

.legal-pricing-table {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  margin: 1.2rem 0;
}

.pricing-row {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.5fr;
  padding: 0.9rem 1.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  align-items: center;
}

.pricing-row:last-child {
  border-bottom: none;
}

.pricing-row.header-row {
  background: rgba(255, 255, 255, 0.06);
  font-weight: 700;
  color: var(--text-main);
}

.price-highlight {
  color: var(--accent-gold);
  font-weight: 700;
}

.note-tax {
  font-size: 0.85rem;
  color: #9CA3AF;
  font-style: italic;
}

.identity-card, .contact-card {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 4px solid var(--primary);
  border-radius: 10px;
  padding: 1.5rem;
  margin: 1.2rem 0;
}

.identity-card p, .contact-card p {
  margin-bottom: 0.5rem;
  color: #E5E7EB;
}

.legal-quote {
  font-style: italic;
  background: rgba(255, 255, 255, 0.05);
  border-left: 4px solid var(--accent-gold);
  padding: 1rem 1.5rem;
  margin: 1rem 0;
  color: #F3F4F6;
  border-radius: 0 8px 8px 0;
}

.refund-channels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.channel-card {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.5rem;
}

.channel-icon {
  font-size: 1.8rem;
  display: block;
  margin-bottom: 0.5rem;
}

.channel-card h3 {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.channel-card p {
  font-size: 0.9rem;
  color: #D1D5DB;
  margin-bottom: 0.4rem;
}

.legal-back-wrap {
  text-align: center;
  margin-top: 2.5rem;
}

.btn-back-home {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.btn-back-home:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

/* ==========================================================================
   Pied de Page & Logos Paiement CMI / Visa / Mastercard
   ========================================================================== */
.footer-payment-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  margin: 1.5rem 0;
  width: 100%;
}

.payment-guarantee-title {
  color: #9CA3AF;
  font-size: 0.85rem;
  font-weight: 500;
}

.cmi-payment-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  align-items: center;
}

.badge-payment {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.95rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  transition: var(--transition);
}

.badge-payment:hover {
  transform: translateY(-2px);
}

.cmi-badge {
  background: #0B3A6F;
  color: #FFFFFF;
  border: 1px solid #1D4ED8;
}

.cmi-text {
  font-weight: 900;
  font-size: 1rem;
  letter-spacing: 1px;
}

.cmi-badge small {
  font-size: 0.65rem;
  color: #93C5FD;
  margin-left: 0.2rem;
  font-weight: 400;
}

.visa-badge {
  background: #1A1F71;
  color: #FFFFFF;
  border: 1px solid #3B82F6;
  font-style: italic;
  font-weight: 900;
  font-size: 0.95rem;
  letter-spacing: 1.5px;
}

.mastercard-badge {
  background: #18181B;
  color: #FFFFFF;
  border: 1px solid #3F3F46;
}

.mc-circle {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: inline-block;
}

.mc-red {
  background: #EB001B;
  margin-right: -7px;
}

.mc-yellow {
  background: #F79E1B;
}

.mc-text {
  font-size: 0.8rem;
  margin-left: 0.35rem;
}

.payzone-badge {
  background: #BE123C;
  color: #FFFFFF;
  border: 1px solid #FB7185;
}

.pz-icon {
  font-size: 0.9rem;
}

.ssl-badge {
  background: rgba(16, 185, 129, 0.12);
  color: #10B981;
  border: 1px solid rgba(16, 185, 129, 0.35);
  font-size: 0.8rem;
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin: 1.2rem 0;
  padding: 1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  width: 100%;
}

.footer-legal-links a {
  color: #9CA3AF;
  font-size: 0.85rem;
  text-decoration: none;
  transition: var(--transition);
}

.footer-legal-links a:hover, .footer-legal-links a.active {
  color: var(--primary);
  text-decoration: underline;
}

.delivery-badge-note {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: var(--primary);
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  margin-top: 0.5rem;
}

/* ==========================================================================
   UI-UX PRO MAX: Bento Grid Features Section
   ========================================================================== */
.bento-section {
  padding: 5rem 0 4rem;
  position: relative;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.bento-card {
  background: linear-gradient(145deg, rgba(30, 41, 59, 0.7) 0%, rgba(15, 23, 42, 0.9) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.6);
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.bento-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.35);
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.8), 0 0 30px rgba(16, 185, 129, 0.15);
}

.bento-span-2 {
  grid-column: span 2;
}

.bento-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  background: rgba(16, 185, 129, 0.15);
  color: var(--primary);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.bento-icon-blue {
  background: rgba(56, 189, 248, 0.15);
  color: #38BDF8;
  border-color: rgba(56, 189, 248, 0.3);
}

.bento-icon-purple {
  background: rgba(168, 85, 247, 0.15);
  color: #C084FC;
  border-color: rgba(168, 85, 247, 0.3);
}

.bento-icon-amber {
  background: rgba(245, 158, 11, 0.15);
  color: #FBBF24;
  border-color: rgba(245, 158, 11, 0.3);
}

.bento-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 0.75rem;
}

.bento-desc {
  font-size: 1rem;
  color: #94A3B8;
  line-height: 1.7;
}

/* Simulated Audio Waveform inside Bento Card */
.audio-wave-visual {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 36px;
  padding: 0.5rem 1rem;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 1.25rem;
  width: fit-content;
}

.wave-bar {
  width: 3px;
  background: #38BDF8;
  border-radius: 3px;
  animation: soundWave 1.2s ease-in-out infinite alternate;
}
.wave-bar:nth-child(1) { height: 12px; animation-delay: 0.1s; }
.wave-bar:nth-child(2) { height: 24px; animation-delay: 0.3s; }
.wave-bar:nth-child(3) { height: 18px; animation-delay: 0.2s; }
.wave-bar:nth-child(4) { height: 28px; animation-delay: 0.4s; }
.wave-bar:nth-child(5) { height: 14px; animation-delay: 0.15s; }
.wave-bar:nth-child(6) { height: 22px; animation-delay: 0.35s; }
.wave-bar:nth-child(7) { height: 10px; animation-delay: 0.05s; }

@keyframes soundWave {
  0% { transform: scaleY(0.4); opacity: 0.5; }
  100% { transform: scaleY(1); opacity: 1; }
}

/* ==========================================================================
   UI-UX PRO MAX: Social Proof & Testimonials Section
   ========================================================================== */
.testimonials-section {
  padding: 5rem 0 4rem;
  background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.5) 100%);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
  margin-top: 3rem;
}

.testimonial-card {
  background: rgba(17, 24, 39, 0.85);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: rgba(16, 185, 129, 0.3);
}

.stars-row {
  display: flex;
  gap: 4px;
  color: #F59E0B;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-size: 1.05rem;
  color: #E2E8F0;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1rem;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0284C7, #4F46E5);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
}

.author-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #FFFFFF;
}

.author-meta {
  font-size: 0.8rem;
  color: #94A3B8;
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: #10B981;
  font-size: 0.75rem;
  font-weight: 600;
}

/* Clean Inline SVG Icon Utilities */
.icon-svg {
  width: 22px;
  height: 22px;
  stroke-width: 2;
  stroke: currentColor;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: inline-block;
  vertical-align: middle;
}
.icon-svg-sm { width: 16px; height: 16px; }
.icon-svg-lg { width: 28px; height: 28px; }

@media (max-width: 992px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-span-2 {
    grid-column: span 1;
  }
}

/* ==========================================================================
   CRO & Pédagogie : Step-by-Step Resolution Card in WhatsApp Simulation
   ========================================================================== */
.step-solution-card {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 10px;
  padding: 0.75rem;
  margin-top: 0.6rem;
  font-size: 0.8rem;
  line-height: 1.5;
  color: #E2E8F0;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
}

.step-item:last-child {
  margin-bottom: 0;
}

.step-num-badge {
  background: #0284C7;
  color: #FFFFFF;
  font-size: 0.65rem;
  font-weight: 800;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.official-rubric-tag {
  background: rgba(16, 185, 129, 0.15);
  color: #10B981;
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.4rem;
}

/* Reassurance Strip under Hero CTA */
.reassurance-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-top: 1rem;
  font-size: 0.82rem;
  color: #94A3B8;
  font-weight: 600;
}

.reassurance-strip span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.reassurance-strip strong {
  color: #F8FAFC;
}

/* Daily Cost Badge in Pricing (249 DH) */
.daily-cost-badge {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.18), rgba(217, 119, 6, 0.25));
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #FBBF24;
  font-size: 0.85rem;
  font-weight: 800;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  display: inline-block;
  margin-top: 0.5rem;
  animation: pulseDaily 3s infinite ease-in-out;
}

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

/* Alternative Payment Note */
.alt-payment-note {
  margin-top: 1.5rem;
  padding: 0.85rem 1.25rem;
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  font-size: 0.88rem;
  color: #CBD5E1;
  text-align: center;
}

.alt-payment-note strong {
  color: #38BDF8;
}

/* ==========================================================================
   CRO Sticky Mobile WhatsApp Bar
   ========================================================================== */
.mobile-sticky-bar {
  display: none;
}

@media (max-width: 768px) {
  .mobile-sticky-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.75rem 1rem;
    z-index: 999;
    box-shadow: 0 -10px 25px rgba(0, 0, 0, 0.6);
  }

  .sticky-bar-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .sticky-bar-title {
    font-size: 0.85rem;
    font-weight: 800;
    color: #FFFFFF;
  }

  .sticky-bar-sub {
    font-size: 0.72rem;
    color: #94A3B8;
  }

  .sticky-bar-btn {
    background: #25D366;
    color: #FFFFFF;
    font-weight: 800;
    font-size: 0.88rem;
    padding: 0.6rem 1.2rem;
    border-radius: 9999px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.45);
    flex-shrink: 0;
  }

  body {
    padding-bottom: 70px; /* Espace pour ne pas masquer le footer */
  }
}



