/* ================================================================
   FlipIQ Landing Page — Dark-Mode Design System
   Complete redesign: glassmorphism, scroll animations, modern SaaS
   ================================================================ */

/* ========= SECTION 0: CSS VARIABLES ========= */

:root {
  /* Background layers */
  --land-bg-base: #030712;
  --land-bg-card: #0F0F1A;
  --land-bg-surface: #1A1A2E;
  --land-bg-elevated: #252540;

  /* Brand purple scale — alignée sur la charte FlipIQ (flipiq-theme.css)
     400/500 = accents (#8a4d9c), 600 = action (#5b236e) */
  --land-purple-50: #FAF5FF;
  --land-purple-100: #F3E8FF;
  --land-purple-200: #E9D5FF;
  --land-purple-300: #C9A0DB;
  --land-purple-400: var(--flipiq-purple-light, #8a4d9c);
  --land-purple-500: var(--flipiq-purple-light, #8a4d9c);
  --land-purple-600: var(--flipiq-purple, #5b236e);
  --land-purple-700: #4a1d59;
  --land-purple-800: #3c1748;
  --land-purple-900: #2e1138;

  /* Accent */
  --land-blue-500: #3B82F6;
  --land-indigo-500: #6366F1;
  --land-green-500: #22C55E;
  --land-amber-500: #F59E0B;
  --land-red-500: #EF4444;

  /* Text */
  --land-text-primary: #F9FAFB;
  --land-text-secondary: #9CA3AF;
  --land-text-muted: #6B7280;

  /* Glass */
  --land-glass-bg: rgba(255, 255, 255, 0.04);
  --land-glass-border: rgba(255, 255, 255, 0.08);
  --land-glass-hover: rgba(255, 255, 255, 0.07);

  /* Radius */
  --land-radius-sm: 8px;
  --land-radius-md: 12px;
  --land-radius-lg: 16px;
  --land-radius-xl: 24px;
  --land-radius-2xl: 32px;
  --land-radius-full: 9999px;

  /* Shadows */
  --land-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --land-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --land-shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.5);
  --land-shadow-glow: 0 0 60px rgba(138, 77, 156, 0.15);
  --land-shadow-btn: 0 4px 14px rgba(91, 35, 110, 0.4);
}

/* ========= SECTION 1: BASE STYLES ========= */

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

.landing-dark {
  background-color: var(--land-bg-base);
  color: var(--land-text-primary);
}

body.landing-dark.navbar-offset {
  padding-top: 0 !important;
}

.landing-page {
  width: 100%;
  overflow-x: hidden;
}

.landing-page *,
.landing-page *::before,
.landing-page *::after {
  box-sizing: border-box;
}

/* ========= SECTION 2: SHARED COMPONENTS ========= */

/* Container */
.land-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

.land-container--narrow {
  max-width: 800px;
}

/* Section spacing */
.land-section {
  padding: clamp(4rem, 8vw, 7rem) 0;
  position: relative;
}

/* Eyebrow label */
.land-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem;
  padding: 0.375rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--land-purple-400);
  background: rgba(138, 77, 156, 0.1);
  border: 1px solid rgba(138, 77, 156, 0.2);
  border-radius: var(--land-radius-full);
  width: fit-content;
}

/* Section title */
.land-section-title {
  margin: 0 0 1.25rem;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--land-text-primary);
}

/* Section subtitle */
.land-section-subtitle {
  margin: 0 0 3rem;
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.7;
  color: var(--land-text-secondary);
  max-width: 600px;
}

/* Centered text */
.land-text-center {
  text-align: center;
}

.land-text-center .land-eyebrow,
.land-text-center .land-section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* Gradient text (animated) */
.land-gradient-text {
  background: linear-gradient(135deg, #8a4d9c 0%, #C9A0DB 25%, #a96bc0 50%, #8a4d9c 75%, #C9A0DB 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: landGradientShift 4s ease-in-out infinite;
}

@keyframes landGradientShift {
  0%   { background-position: 0% center; }
  50%  { background-position: 100% center; }
  100% { background-position: 0% center; }
}

/* Glass card */
.glass-card {
  background: var(--land-glass-bg);
  border: 1px solid var(--land-glass-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--land-radius-xl);
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
  background: var(--land-glass-hover);
  transform: translateY(-4px);
  box-shadow: var(--land-shadow-lg), 0 0 20px rgba(138, 77, 156, 0.15);
  border-color: rgba(138, 77, 156, 0.3);
}

/* Primary button */
.land-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: var(--flipiq-purple, #5b236e);
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  border-radius: var(--land-radius-md);
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(91, 35, 110, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.land-btn-primary:hover {
  background: var(--flipiq-purple-hover, #6f2b87);
  transform: translateY(-1px);
  box-shadow: var(--flipiq-glow, 0 4px 18px rgba(91, 35, 110, 0.45));
}

.land-btn-primary:active {
  transform: translateY(0) scale(0.97);
}

.land-btn-secondary:active {
  transform: scale(0.97);
}

/* Secondary button */
.land-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: transparent;
  color: var(--land-text-primary);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--land-radius-md);
  cursor: pointer;
  transition: all 0.2s ease;
}

.land-btn-secondary:hover {
  background: var(--flipiq-ghost-hover-bg, rgba(91, 35, 110, 0.25));
  border-color: var(--flipiq-purple-light, #8a4d9c);
}

/* Focus styles */
.land-btn-primary:focus-visible,
.land-btn-secondary:focus-visible {
  outline: 3px solid rgba(138, 77, 156, 0.5);
  outline-offset: 3px;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--land-purple-500);
  outline-offset: 2px;
}

/* ========= SECTION 3: REVEAL ANIMATIONS ========= */

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ========= SECTION 4: NAVBAR OVERRIDES (Landing only) ========= */

body.landing-dark .navbar {
  background: transparent !important;
  box-shadow: none !important;
  transition: background 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}

body.landing-dark .navbar.navbar--scrolled {
  background: rgba(3, 7, 18, 0.82) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) !important;
}

/* ========= SECTION 5: HERO ========= */

.land-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-top: 5rem;
  padding-bottom: 3rem;
  overflow: hidden;
}

.land-hero > .land-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Hero background effects */
.land-hero__bg-blob {
  position: absolute;
  top: -15%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(138, 77, 156, 0.12) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.land-hero__bg-blob--left {
  top: 50%;
  right: auto;
  left: -15%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
}

.land-hero__bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 30%, transparent 100%);
}

/* Hero content (left column) */
.land-hero__content {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.land-hero__title {
  margin: 0 0 1.5rem;
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--land-text-primary);
}

.land-hero__subtitle {
  margin: 0 0 2rem;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.7;
  color: var(--land-text-secondary);
  max-width: 520px;
}

.land-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.land-hero__trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
}

.land-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  color: var(--land-text-secondary);
}

.land-trust-badge i {
  color: var(--land-amber-500);
}

.land-trust-divider {
  width: 1px;
  height: 16px;
  background: rgba(255, 255, 255, 0.15);
}

/* Hero mockup (right column) */
.land-hero__mockup {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  transform: scale(0.82);
  transform-origin: center center;
}

.land-phone-frame {
  position: relative;
  width: 280px;
  height: 570px;
  background: linear-gradient(135deg, #2e154d 0%, #1a0a2e 60%, #0a0a14 100%);
  border-radius: 44px;
  border: 2.5px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 0 0 6px rgba(255, 255, 255, 0.03),
    0 40px 80px rgba(0, 0, 0, 0.55),
    0 0 80px rgba(138, 77, 156, 0.12);
  overflow: hidden;
}

.land-phone-frame::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 28px;
  background: #0a0a14;
  border-radius: 0 0 20px 20px;
  z-index: 2;
}

.land-phone-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 42px;
  background: linear-gradient(135deg, #2e154d 0%, #1a0a2e 60%, #0a0a14 100%);
}

.land-phone-glow {
  position: absolute;
  inset: -60px;
  background: radial-gradient(circle at center, rgba(138, 77, 156, 0.15) 0%, transparent 65%);
  pointer-events: none;
  z-index: -1;
}

/* ========= SECTION 6: TRUST BAR ========= */

.land-trust-bar {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  border-top: 1px solid var(--land-glass-border);
  border-bottom: 1px solid var(--land-glass-border);
  background: rgba(255, 255, 255, 0.01);
}

.land-trust-bar__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}

.land-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.375rem;
}

.land-stat__number {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--land-text-primary);
}

.land-stat__label {
  font-size: 0.875rem;
  color: var(--land-text-muted);
  font-weight: 500;
}

/* ========= SECTION 7: PROBLEM ========= */

.land-problem {
  background: var(--land-bg-card);
  padding-bottom: clamp(2rem, 4vw, 3rem);
}

#how-it-works {
  padding-top: clamp(2rem, 4vw, 3rem);
}

.land-problem__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  max-width: 800px;
  margin: 0 auto;
}

.land-problem-card {
  padding: 1.75rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.land-problem-card__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.15);
  border-radius: var(--land-radius-md);
  color: var(--land-red-500);
}

.land-problem-card__icon i {
  width: 22px;
  height: 22px;
}

.land-problem-card__content h3 {
  margin: 0 0 0.375rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--land-text-primary);
}

.land-problem-card__content p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--land-text-secondary);
}

/* Transition text */
.land-problem__transition {
  margin-top: 3rem;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--land-purple-400);
}

/* ========= SECTION 8: HOW IT WORKS ========= */

.land-how__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
  margin-top: 1rem;
}

/* Connecting line between steps */
.land-how__steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 16.67%;
  right: 16.67%;
  height: 2px;
  background: linear-gradient(90deg,
    var(--land-purple-600),
    var(--land-purple-400),
    var(--land-purple-600));
  z-index: 0;
}

/* Animated fill overlay */
.land-how__steps::after {
  content: '';
  position: absolute;
  top: 28px;
  left: 16.67%;
  right: 16.67%;
  height: 2px;
  background: linear-gradient(90deg, var(--land-purple-400), var(--land-purple-300));
  z-index: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.land-how__steps.steps-animated::after {
  transform: scaleX(1);
}

.land-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.land-step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 1.25rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--land-purple-600), var(--land-purple-700));
  border-radius: 50%;
  box-shadow: 0 0 24px rgba(138, 77, 156, 0.3);
  position: relative;
  z-index: 2;
}

.land-step__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin: 0 auto 1rem;
  color: var(--land-purple-400);
}

.land-step__icon i {
  width: 28px;
  height: 28px;
}

.land-step h3 {
  margin: 0 0 0.625rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--land-text-primary);
}

.land-step p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--land-text-secondary);
  max-width: 280px;
  margin-left: auto;
  margin-right: auto;
}

.land-step__time {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--land-purple-400);
  background: rgba(138, 77, 156, 0.1);
  border-radius: var(--land-radius-full);
}

/* ========= SECTION 9: FEATURES ========= */

.land-features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.land-feature-card {
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.land-feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--land-purple-500), var(--land-purple-300), transparent);
  opacity: 0.4;
  transition: opacity 0.3s ease;
}

.land-feature-card:hover::before {
  opacity: 1;
}

.land-feature-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  background: rgba(138, 77, 156, 0.1);
  border: 1px solid rgba(138, 77, 156, 0.15);
  border-radius: var(--land-radius-md);
  color: var(--land-purple-400);
}

.land-feature-card__icon i {
  width: 24px;
  height: 24px;
}

.land-feature-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--land-text-primary);
}

.land-feature-card p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--land-text-secondary);
}

/* ========= SECTION 10: DEMO ========= */

.land-demo {
  background: var(--land-bg-card);
}

.land-demo__frame {
  max-width: 380px;
  margin: 0 auto 2rem;
}

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

/* ========= SECTION 11: SOCIAL PROOF / TESTIMONIALS ========= */

.land-testimonials {
  margin-bottom: 4rem;
}

.land-testimonials__track {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 0.5rem 0;
  scrollbar-width: none;
}

.land-testimonials__track::-webkit-scrollbar {
  display: none;
}

.land-testimonial-card {
  flex: 0 0 calc(33.333% - 0.85rem);
  min-width: 300px;
  scroll-snap-align: start;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.land-testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3), 0 0 16px rgba(138, 77, 156, 0.1);
}

.land-testimonial__stars {
  display: flex;
  gap: 0.125rem;
  color: var(--land-amber-500);
  font-size: 1rem;
}

.land-testimonial__text {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--land-text-primary);
  flex: 1;
}

.land-testimonial__author {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.land-testimonial__name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--land-text-primary);
}

.land-testimonial__role {
  font-size: 0.8125rem;
  color: var(--land-text-muted);
}

/* Carousel dots */
.land-testimonials__dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.land-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}

.land-dot.active {
  width: 24px;
  border-radius: 4px;
  background: var(--land-purple-500);
}

/* Marketplace logos */
.land-marketplaces {
  text-align: center;
}

.land-marketplaces__title {
  font-size: 0.875rem;
  color: var(--land-text-muted);
  margin: 0 0 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

.land-marketplaces__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 2.5rem;
  align-items: center;
}

.land-marketplace-logo {
  height: 28px;
  width: auto;
  opacity: 1;
  transition: opacity 0.3s ease;
  filter: none;
}

.land-marketplace-logo:hover {
  opacity: 1;
  filter: none;
}

.land-marketplace-more {
  font-size: 0.875rem;
  color: var(--land-text-muted);
  font-style: italic;
  opacity: 0.7;
}

/* ========= SECTION 12: AUDIENCE TABS ========= */

.land-audience__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
  justify-content: center;
}

.land-audience__tab {
  padding: 0.625rem 1.5rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--land-text-secondary);
  background: transparent;
  border: 1px solid var(--land-glass-border);
  border-radius: var(--land-radius-full);
  cursor: pointer;
  transition: all 0.25s ease;
}

.land-audience__tab:hover {
  color: var(--land-text-primary);
  background: var(--land-glass-bg);
}

.land-audience__tab.active {
  color: #fff;
  background: linear-gradient(135deg, var(--land-purple-600), var(--land-purple-700));
  border-color: transparent;
  box-shadow: var(--land-shadow-btn);
}

.land-audience__panel {
  display: none;
  padding: 2.5rem;
  border-radius: var(--land-radius-xl);
  background: var(--land-glass-bg);
  border: 1px solid var(--land-glass-border);
  animation: landFadeIn 0.35s ease;
}

.land-audience__panel.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

@keyframes landFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.land-audience__panel-text h3 {
  margin: 0 0 0.75rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--land-text-primary);
}

.land-audience__panel-text > p {
  margin: 0 0 1.5rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--land-text-secondary);
}

.land-audience__benefits {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.land-audience__benefits li {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.9375rem;
  color: var(--land-text-primary);
}

.land-audience__benefits li i {
  width: 20px;
  height: 20px;
  color: var(--land-green-500);
  flex-shrink: 0;
}

.land-audience__panel-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  opacity: 0.7;
}

/* ========= SECTION 13: PRICING ========= */

.land-pricing__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 820px;
  margin: 0 auto;
}

.land-pricing-card {
  padding: 2.5rem;
  border-radius: var(--land-radius-xl);
  background: var(--land-bg-surface);
  border: 1px solid var(--land-glass-border);
  display: flex;
  flex-direction: column;
  position: relative;
}

.land-pricing-card--featured {
  border: 2px solid var(--land-purple-500);
  box-shadow: var(--land-shadow-glow);
}

.land-pricing-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.25rem 1rem;
  background: linear-gradient(135deg, var(--land-purple-600), var(--land-purple-700));
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: var(--land-radius-full);
  white-space: nowrap;
}

.land-pricing-card__name {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--land-text-primary);
}

.land-pricing-card__price {
  margin: 0 0 0.25rem;
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--land-text-primary);
}

.land-pricing-card__period {
  margin: 0 0 2rem;
  font-size: 0.875rem;
  color: var(--land-text-muted);
}

.land-pricing-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  flex: 1;
}

.land-pricing-card__features li {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.9375rem;
  color: var(--land-text-secondary);
}

.land-pricing-card__features li i {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.land-pricing-card__features li i.check {
  color: var(--land-green-500);
}

.land-pricing-card__features li i.x {
  color: var(--land-text-muted);
  opacity: 0.5;
}

.land-pricing-card__features li.disabled {
  color: var(--land-text-muted);
  opacity: 0.6;
}

.land-pricing-card .land-btn-primary,
.land-pricing-card .land-btn-secondary {
  width: 100%;
  justify-content: center;
}

/* ========= SECTION 14: FAQ ========= */

.land-faq__list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.land-faq__item {
  border-radius: var(--land-radius-lg);
  background: var(--land-glass-bg);
  border: 1px solid var(--land-glass-border);
  overflow: hidden;
  transition: background 0.3s ease;
}

.land-faq__item:hover {
  background: var(--land-glass-hover);
}

.land-faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--land-text-primary);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}

.land-faq__chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--land-text-muted);
  transition: transform 0.3s ease;
}

.land-faq__question[aria-expanded="true"] .land-faq__chevron {
  transform: rotate(180deg);
  color: var(--land-purple-400);
}

.land-faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.25s ease;
  opacity: 0;
}

.land-faq__answer.open {
  opacity: 1;
}

.land-faq__answer p {
  margin: 0;
  padding: 0 1.5rem 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--land-text-secondary);
}

/* ========= SECTION 15: FINAL CTA ========= */

/* Fond continu : aucune rupture de teinte entre la section badges stores,
   le CTA final et le footer. Seul un halo radial violet discret subsiste
   derrière le titre du CTA final. */
.land-final-cta {
  background: radial-gradient(ellipse at 50% 0%, rgba(91, 35, 110, 0.18), transparent 65%);
  text-align: center;
  padding-top: clamp(2rem, 4vw, 3rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0;
}

/* Supprime l'espace noir entre la dernière section et le footer */
.landing-body > footer {
  margin-top: 0;
  padding-top: 0;
}
.landing-body > footer .site-footer {
  margin-top: 0;
}

/* Footer fondu dans le bas de page sombre (landing uniquement) :
   la transition vers le footer doit être invisible.
   !important : mobile-ux.css (chargé après) pose un dégradé dark-mode. */
body.landing-dark .footer-bar {
  background: var(--land-bg-base) !important;
  border-top: none;
}
body.landing-dark .site-footer {
  border-top: none !important;
}

.land-final-cta .land-section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
}

.land-final-cta__stores {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.land-store-badge {
  display: block;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.land-store-badge:hover {
  transform: translateY(-2px);
  opacity: 0.85;
}

.land-store-badge img {
  height: 54px;
  width: auto;
  display: block;
}

/* Google Play official badge has internal transparent padding — compensate */
.land-store-badge:first-child img {
  height: 72px;
  margin: -9px 0;
}

.land-final-cta__or {
  margin: 0 0 1.25rem;
  font-size: 0.875rem;
  color: var(--land-text-muted);
}

/* ========= SECTION 16: COOKIE BANNER ========= */

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  background: rgba(15, 23, 42, 0.98);
  color: #e5e7eb;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  font-size: 14px;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.cookie-banner--visible {
  transform: translateY(0);
  opacity: 1;
}

.cookie-banner__inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.cookie-banner__text {
  flex: 1 1 220px;
  margin: 0;
}

.cookie-banner__text a {
  color: #93c5fd;
  text-decoration: underline;
}

.cookie-banner__actions {
  flex-shrink: 0;
}

.cookie-banner__btn {
  border: none;
  border-radius: 999px;
  padding: 8px 18px;
  background: #3b82f6;
  color: #ffffff;
  font-weight: 500;
  cursor: pointer;
  font-size: 14px;
}

.cookie-banner__btn:hover {
  background: #2563eb;
}

.cookie-review-btn {
  margin: 12px auto 0;
  display: block;
  border: none;
  background: transparent;
  color: #6b7280;
  font-size: 13px;
  text-decoration: underline;
  cursor: pointer;
}

/* ========= SECTION 17: PHONE FLOAT ANIMATION ========= */

.land-hero__mockup .land-phone-frame {
  animation: landPhoneFloat 5s ease-in-out infinite;
}

@keyframes landPhoneFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

/* ========= SECTION 18: SCROLL PROGRESS BAR ========= */

.land-scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--land-purple-600), var(--land-purple-400), var(--land-purple-300));
  z-index: 10000;
  pointer-events: none;
  transition: width 0.1s linear;
}

/* ========= SECTION 19: HERO SOCIAL PROOF BADGE ========= */

.land-hero__social-proof {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  margin-bottom: 1rem;
  background: rgba(138, 77, 156, 0.08);
  border: 1px solid rgba(138, 77, 156, 0.18);
  border-radius: var(--land-radius-full);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--land-text-secondary);
}

.land-hero__social-proof img {
  width: 20px;
  height: 20px;
  border-radius: 50%;
}

/* ========= SECTION 20: HERO SCROLL INDICATOR ========= */

.land-hero__scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: landBounce 2s ease-in-out infinite;
  color: var(--land-text-muted);
  opacity: 0.45;
}

.land-hero__scroll-indicator i {
  width: 24px;
  height: 24px;
}

@keyframes landBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(8px); }
}

/* ========= SECTION 21: PRICING NOTE ========= */

.land-pricing__note {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: var(--land-text-muted);
}

/* ========= SECTION 22: MOBILE FLOATING CTA ========= */

.land-mobile-cta {
  display: none;
}

@media (max-width: 768px) {
  .land-mobile-cta {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
    background: rgba(3, 7, 18, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--land-glass-border);
    z-index: 100;
    justify-content: center;
    transform: translateY(100%);
    transition: transform 0.3s ease;
  }

  .land-mobile-cta.is-visible {
    transform: translateY(0);
  }

  .land-mobile-cta .land-btn-primary {
    width: 100%;
    max-width: 400px;
  }
}

/* ========= RESPONSIVE: LARGE TABLET (<=1024px) ========= */

@media (max-width: 1024px) {
  .land-hero > .land-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .land-hero__content {
    align-items: center;
  }

  .land-hero__subtitle {
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
  }

  .land-hero__ctas {
    justify-content: center;
  }

  .land-hero__trust {
    justify-content: center;
  }

  .land-hero__mockup {
    display: none;
  }

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

  .land-how__steps::before {
    display: none;
  }

  .land-audience__panel.active {
    grid-template-columns: 1fr;
  }

  .land-audience__panel-visual {
    order: -1;
  }
}

/* ========= RESPONSIVE: TABLET (<=768px) ========= */

@media (max-width: 768px) {
  .land-section {
    padding: clamp(3rem, 6vw, 5rem) 0;
  }

  .land-trust-bar__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .land-problem__grid {
    grid-template-columns: 1fr;
  }

  .land-how__steps {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .land-features__grid {
    grid-template-columns: 1fr;
  }

  .land-pricing__grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .land-testimonial-card {
    flex: 0 0 85%;
    min-width: 0;
  }

  .land-audience__panel.active {
    padding: 1.75rem;
  }

  .land-audience__panel-text h3 {
    font-size: 1.25rem;
  }

  .land-final-cta__stores {
    flex-direction: column;
    gap: 0.75rem;
  }

  .land-store-badge img {
    height: 44px;
    width: auto;
  }

  /* 5% side margins on mobile */
  .land-container {
    padding-left: 5%;
    padding-right: 5%;
  }

  /* Hero: stack CTAs, center trust badges */
  .land-hero__title {
    font-size: clamp(1.75rem, 7vw, 2.5rem);
  }

  .land-hero__ctas {
    flex-direction: column;
    width: 100%;
  }

  .land-hero__ctas .land-btn-primary,
  .land-hero__ctas .land-btn-secondary {
    width: 100%;
    min-height: 48px;
  }

  .land-hero__trust {
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  /* Steps: center each step */
  .land-step {
    text-align: center;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Feature cards: center icon */
  .land-feature-card {
    text-align: center;
  }

  .land-feature-card__icon {
    margin-left: auto;
    margin-right: auto;
  }

  /* Demo phone: override inline fixed width */
  .land-demo__frame .land-phone-frame {
    width: 100% !important;
    max-width: 280px !important;
    height: auto !important;
    aspect-ratio: 320 / 650;
    margin: 0 auto !important;
  }

  .land-demo__frame .land-phone-frame video {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* Testimonial dots: expand touch area */
  .land-dot {
    position: relative;
  }

  .land-dot::before {
    content: '';
    position: absolute;
    top: -16px;
    left: -16px;
    right: -16px;
    bottom: -16px;
  }

  /* Audience tabs: 2x2 grid for tappability */
  .land-audience__tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }

  .land-audience__tab {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: normal;
  }

  .land-audience__panel-visual {
    display: none;
  }

  /* Pricing: center the grid */
  .land-pricing__grid {
    margin-left: auto;
    margin-right: auto;
  }

  /* FAQ: full width, touch-friendly */
  .land-faq__list {
    max-width: 100%;
  }

  .land-faq__question {
    min-height: 48px;
  }

  .land-faq__answer p {
    line-height: 1.6;
  }

  /* Final CTA: full width button */
  .land-final-cta .land-btn-primary {
    width: 100%;
    max-width: 360px;
  }

  /* All buttons: 44px minimum */
  .land-btn-primary,
  .land-btn-secondary {
    min-height: 44px;
  }

  /* Mobile CTA: clear bottom-nav */
  .land-mobile-cta {
    bottom: calc(86px + env(safe-area-inset-bottom));
  }

  /* Images: prevent overflow */
  img {
    max-width: 100%;
    height: auto;
  }
}

/* ========= RESPONSIVE: MOBILE (<=480px) ========= */

@media (max-width: 480px) {
  .land-hero {
    padding-top: 4rem;
    min-height: auto;
  }

  .land-hero__title {
    font-size: 2rem;
  }

  .land-hero__subtitle {
    font-size: 0.875rem;
  }

  .land-hero__ctas {
    flex-direction: column;
    width: 100%;
  }

  .land-hero__ctas .land-btn-primary,
  .land-hero__ctas .land-btn-secondary {
    width: 100%;
  }

  .land-trust-bar__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .land-stat__number {
    font-size: 1.75rem;
  }

  .land-section-title {
    font-size: 1.5rem;
  }

  .land-feature-card {
    padding: 1.5rem;
  }

  .land-pricing-card {
    padding: 1.75rem;
  }

  .land-pricing-card__price {
    font-size: 2.25rem;
  }

  .land-audience__tabs {
    gap: 0.375rem;
  }

  .land-audience__tab {
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
  }

  .land-faq__question {
    padding: 1rem 1.25rem;
    font-size: 0.9375rem;
  }

  .land-faq__answer p {
    padding: 0 1.25rem 1rem;
    font-size: 0.875rem;
  }
}

/* ========= ACCESSIBILITY: REDUCED MOTION ========= */

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .glass-card {
    transition: none;
  }

  .land-btn-primary,
  .land-btn-secondary {
    transition: none;
  }

  .land-faq__answer {
    transition: none;
  }

  .land-faq__chevron {
    transition: none;
  }

  .land-dot {
    transition: none;
  }

  .land-testimonials__track {
    scroll-behavior: auto;
  }

  .land-audience__panel {
    animation: none;
  }

  .land-gradient-text {
    animation: none;
  }

  .land-hero__mockup .land-phone-frame {
    animation: none;
  }

  .land-hero__scroll-indicator {
    animation: none;
  }

  .land-mobile-cta {
    transition: none;
  }
}

/* ========= MOBILE FIXES OVERRIDES (<=768px) ========= */
@media (max-width: 768px) {
  /* 1. Stats row — force 3 items on one line */
  .land-trust-bar__grid {
    display: flex !important;
    flex-direction: row !important;
    grid-template-columns: none !important;
    gap: 0.5rem !important;
    justify-content: space-between;
    align-items: flex-start;
  }
  .land-stat {
    flex: 1 1 33%;
    min-width: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .land-stat__number {
    font-size: 1.4rem !important;
    line-height: 1.2;
  }
  .land-stat__label {
    font-size: 0.65rem !important;
    line-height: 1.3;
    white-space: normal;
  }

  /* 2. Step indicator — remove connecting bar on mobile */
  .land-how__steps::before,
  .land-how__steps::after {
    display: none !important;
    background: none !important;
  }
  .land-how__steps {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .land-step {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .land-step__number {
    margin: 0 auto 0.75rem;
  }
  .land-step__icon {
    margin: 0 auto 0.75rem;
  }

  /* 3. Testimonial dots — force circular */
  .land-testimonials__dots {
    gap: 0.35rem;
  }
  .land-dot {
    width: 8px;
    height: 8px;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.25);
  }
  .land-dot.active {
    width: 20px;
    height: 8px;
    border-radius: 4px !important;
    background: var(--land-purple-500);
  }

  /* 5. Feature cards — reduce padding */
  .land-feature-card {
    padding: 16px !important;
  }
  .land-feature-card h3 {
    margin: 0.5rem 0 0.375rem;
    font-size: 1rem;
  }
  .land-feature-card p {
    font-size: 0.875rem;
    line-height: 1.5;
  }
  .land-feature-card__icon {
    width: 44px;
    height: 44px;
    margin-bottom: 0.5rem;
  }
  .land-feature-card__icon i {
    width: 22px;
    height: 22px;
  }

  /* 6. Bottom fixed nav clearance — only on final CTA section */
  .land-final-cta {
    padding-bottom: calc(6rem + 80px);
  }

  /* 7. Hero CTA button — tighter padding, constrained width */
  .land-hero__ctas {
    align-items: center;
  }
  .land-hero__ctas .land-btn-primary,
  .land-hero__ctas .land-btn-secondary {
    padding: 14px 24px !important;
    max-width: 320px;
    margin: 0 auto;
    display: block;
  }
}
