/* ============================================
   BallinOne Landing - Styles
   Apple-like premium design
   ============================================ */

/* --- CSS Variables --- */
:root {
  /* Colors from palette.ts */
  --color-emerald: #10b981;
  --color-emerald-light: #22c55e;
  --color-emerald-dark: #064e3b;
  --color-blue: #3b82f6;
  --color-violet: #8b5cf6;
  --color-cyan: #06b6d4;

  --color-warning: #facc15;
  --color-error: #ef4444;

  /* Backgrounds */
  --color-bg: #000000;
  --color-bg-elevated: #000000;

  /* Surfaces */
  --color-surface: rgba(255, 255, 255, 0.08);
  --color-surface-strong: rgba(255, 255, 255, 0.12);
  --color-border: rgba(255, 255, 255, 0.2);

  /* Text */
  --color-text: #ffffff;
  --color-text-secondary: rgba(255, 255, 255, 0.8);
  --color-text-muted: rgba(255, 255, 255, 0.6);

  /* Semantic Mappings */
  --color-primary: var(--color-emerald);
  --color-primary-light: var(--color-emerald-light);
  --color-accent: var(--color-blue);

  /* Gradients */
  /* button: [emeraldLight, blue] */
  --gradient-primary: linear-gradient(135deg, var(--color-emerald-light) 0%, var(--color-blue) 100%);
  /* animated: [emerald, blue, violet, cyan] - simplified for text/border */
  --gradient-text: linear-gradient(90deg, var(--color-emerald) 0%, var(--color-blue) 50%, var(--color-violet) 100%);
  --gradient-hero-overlay: linear-gradient(180deg, rgba(3, 7, 18, 0.5) 0%, rgba(3, 7, 18, 0.95) 100%);

  /* Typography */
  --font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  /* Spacing - Reduced */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  /* Was 4rem */
  --spacing-xl: 4.5rem;
  /* Was 6rem */
  --spacing-2xl: 6rem;
  /* Was 8rem */

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 60px rgba(16, 185, 129, 0.25);
  /* Emerald glow */

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;

  /* Layout */
  --max-width: 1200px;
  --header-height: 72px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* ============================================
   HEADER
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1000;
  transition: all var(--transition-base);
}

.header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(3, 7, 18, 0.7);
  /* Based on bg color */
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.header.scrolled::before {
  opacity: 1;
}

.header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* Logo */
.header__logo {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  z-index: 10;
}

.header__logo-text {
  color: #ffffff;
}

/* Navigation */
.header__nav {
  display: none;
}

@media (min-width: 768px) {
  .header__nav {
    display: flex;
    gap: var(--spacing-lg);
  }
}

.header__nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  transition: color var(--transition-fast);
  position: relative;
}

.header__nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-emerald-light);
  transition: width var(--transition-base);
}

.header__nav-link:hover {
  color: var(--color-text);
}

.header__nav-link:hover::after {
  width: 100%;
}

/* CTA Button */
.header__cta {
  z-index: 10;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-xs);
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-xl);
  transition: all var(--transition-fast);
}

.btn--primary {
  background: #ffffff;
  color: #000000;
  box-shadow: var(--shadow-md);
}

.btn--primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 40px rgba(255, 255, 255, 0.25);
}

.btn--secondary {
  background: var(--color-surface);
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.btn--secondary:hover {
  background: var(--color-surface-strong);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn--large {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

/* Mobile Menu Button - Hidden */
.header__menu-btn {
  display: none;
}

.header__menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-height) + var(--spacing-lg)) var(--spacing-md) var(--spacing-xl);
  overflow: hidden;
}

/* Background */
.hero__background {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero__background-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: #000000;
}

.hero__background-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

/* Glow effect using palette colors */
.hero__glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(150px);
  opacity: 0.25;
  pointer-events: none;
}

.hero__glow--primary {
  top: 10%;
  right: -10%;
  background: var(--color-emerald);
}

.hero__glow--secondary {
  bottom: 20%;
  left: -10%;
  background: var(--color-blue);
  opacity: 0.2;
}

/* Content */
.hero__content {
  position: relative;
  text-align: center;
  max-width: 800px;
  z-index: 1;
}

.hero__title {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: var(--spacing-md);
}

.hero__title-line {
  display: block;
}

.hero__title-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--color-text-secondary);
  max-width: 600px;
  margin: 0 auto var(--spacing-lg);
  line-height: 1.7;
}

/* CTA Group */
.hero__cta-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-lg);
}

@media (min-width: 480px) {
  .hero__cta-group {
    flex-direction: row;
    justify-content: center;
  }
}

/* Store Links */
.hero__store-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-sm);
}

@media (min-width: 480px) {
  .hero__store-links {
    flex-direction: row;
    gap: var(--spacing-md);
  }
}

.store-badge {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: 0.6rem 1.2rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  color: var(--color-text-muted);
  transition: all var(--transition-fast);
}

.store-badge:hover {
  background: var(--color-surface-strong);
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--color-text);
}

.store-badge__icon {
  font-size: 1.2rem;
}

.store-badge--coming-soon {
  opacity: 0.7;
}

/* Scroll indicator */
.hero__scroll-indicator {
  position: absolute;
  bottom: var(--spacing-lg);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-xs);
  color: var(--color-text-muted);
  font-size: 0.85rem;
  animation: bounce 2s infinite;
}

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

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  40% {
    transform: translateX(-50%) translateY(-8px);
  }

  60% {
    transform: translateX(-50%) translateY(-4px);
  }
}

/* ============================================
   SECTION - HOW IT WORKS
   ============================================ */
.section {
  padding: var(--spacing-2xl) var(--spacing-md);
}

.section--dark {
  background: var(--color-bg);
}

.section__header {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.section__label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-emerald);
  margin-bottom: var(--spacing-sm);
}

.section__title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: var(--spacing-sm);
}

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

/* Carousel Container */
.carousel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-md);
  max-width: 900px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .carousel {
    flex-direction: row;
    gap: var(--spacing-xl);
    align-items: stretch;
  }
}

/* Phone Mockup with custom frame */
.carousel__phone {
  position: relative;
  flex-shrink: 0;
  width: 300px;
  height: auto;
  aspect-ratio: 473 / 960;
}

/* iPhone frame image */
.carousel__phone-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.carousel__phone-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.carousel__phone-screen {
  position: absolute;
  /* Adjust these values to fit inside the iPhone frame */
  top: 2.2%;
  left: 5.8%;
  right: 5.8%;
  bottom: 2.2%;
  border-radius: 38px;
  overflow: hidden;
  background: #000;
}

.carousel__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.carousel__slide.active {
  opacity: 1;
}

.carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* Content Side */
/* Content Side */
.carousel__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Dots hidden by default on desktop */
.carousel__dots {
  display: none;
}

/* Utility to hide elements on desktop */
@media (min-width: 768px) {
  .mobile-only {
    display: none !important;
  }
}

/* Tabs Navigation */
.carousel__tabs {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.carousel__tab {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-md);
  padding: var(--spacing-md);
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
  text-align: left;
  transition: all var(--transition-base);
}

.carousel__tab:hover {
  background: var(--color-surface);
}

.carousel__tab.active {
  background: var(--color-surface);
  border-color: var(--color-border);
}

.carousel__tab-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text-muted);
  flex-shrink: 0;
  transition: all var(--transition-base);
}

.carousel__tab.active .carousel__tab-number {
  background: var(--gradient-primary);
  color: white;
}

.carousel__tab-content {
  flex: 1;
}

.carousel__tab-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--color-text-muted);
  transition: color var(--transition-base);
}

.carousel__tab.active .carousel__tab-title {
  color: var(--color-text);
}

.carousel__tab-description {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: all var(--transition-base);
}

.carousel__tab.active .carousel__tab-description {
  opacity: 1;
  max-height: 100px;
  margin-top: var(--spacing-xs);
}

/* Progress bar on active tab */
.carousel__tab-progress {
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  margin-top: var(--spacing-sm);
  overflow: hidden;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.carousel__tab.active .carousel__tab-progress {
  opacity: 1;
}

.carousel__tab-progress-bar {
  height: 100%;
  width: 0;
  background: var(--gradient-primary);
  border-radius: 2px;
  transition: width 5s linear;
}

.carousel__tab.active .carousel__tab-progress-bar {
  width: 100%;
}

/* ============================================
   SECTION - FEATURES
   ============================================ */
.features-showcase {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-lg);
  max-width: 500px;
  margin: 0 auto;
}

/* Centered iPhone */
.features-showcase__phone {
  position: relative;
  width: 280px;
  height: auto;
  aspect-ratio: 473 / 960;
}

@media (min-width: 768px) {
  .features-showcase__phone {
    width: 320px;
  }
}

.features-showcase__phone-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.features-showcase__phone-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.features-showcase__phone-screen {
  position: absolute;
  top: 2.2%;
  left: 5.8%;
  right: 5.8%;
  bottom: 2.2%;
  border-radius: 38px;
  overflow: hidden;
  background: #000;
}

.features-showcase__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.features-showcase__slide.active {
  opacity: 1;
}

.features-showcase__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* Text content below phone */
.features-showcase__content {
  text-align: center;
  min-height: 120px;
}

.features-showcase__text {
  display: none;
}

.features-showcase__text.active {
  display: block;
}

.features-showcase__title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--spacing-xs);
}

.features-showcase__description {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  max-width: 400px;
  margin: 0 auto;
}

/* Navigation dots */
.features-showcase__nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: var(--spacing-md) 0;
  position: relative;
  z-index: 10;
}

.features-showcase__dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  z-index: 11;
}

.features-showcase__dot:hover {
  transform: scale(1.4);
  background: rgba(255, 255, 255, 0.7);
}

.features-showcase__dot.active {
  background: white;
  transform: scale(1.2);
}

.features-showcase__dot:active {
  transform: scale(1.1);
}

/* ============================================
   SECTION - PRICING
   ============================================ */
.pricing {
  background: var(--color-bg);
}

.pricing__cards {
  display: flex;
  justify-content: center;
  gap: var(--spacing-md);
  flex-wrap: wrap;
  max-width: 600px;
  margin: 0 auto var(--spacing-xl);
}

@media (max-width: 768px) {
  .pricing__cards {
    flex-direction: column;
    align-items: center;
  }
}

.pricing__card {
  flex: 1;
  min-width: 220px;
  max-width: 260px;
  padding: var(--spacing-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  text-align: center;
  transition: all var(--transition-base);
}

.pricing__card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Carte annuelle mise en avant */
.pricing__card--popular {
  border: 2px solid var(--color-emerald);
  position: relative;
}

.pricing__card--popular:hover {
  transform: translateY(-3px);
}

.pricing__badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-emerald);
  color: #000;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pricing__title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-bottom: var(--spacing-xs);
}

.pricing__price {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 2px;
  line-height: 1;
}

.pricing__price-sub {
  font-size: 0.75rem;
  color: var(--color-emerald);
  margin-bottom: var(--spacing-sm);
  min-height: 18px;
}

.pricing__features {
  display: none;
}

/* Boutons pricing */
.pricing__btn {
  display: inline-block;
  width: 100%;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-base);
  cursor: pointer;
  border: none;
}

.pricing__btn--secondary {
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text);
}

.pricing__btn--secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.3);
}

.pricing__btn--primary {
  background: var(--color-emerald);
  color: #000;
}

.pricing__btn--primary:hover {
  background: var(--color-emerald-light);
  transform: translateY(-2px);
}

/* Réassurance */
.pricing__reassurance {
  text-align: center;
  margin-top: var(--spacing-xl);
}

.pricing__founder {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-emerald);
  margin-bottom: var(--spacing-sm);
}

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

/* Mini FAQ Pricing */
.pricing__faq {
  max-width: 700px;
  margin: var(--spacing-2xl) auto 0;
}

.pricing__faq-title {
  font-size: 1.25rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.pricing__faq-item {
  border-bottom: 1px solid var(--color-border);
  padding: var(--spacing-md) 0;
}

.pricing__faq-question {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--spacing-xs);
}

.pricing__faq-answer {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ============================================
   SECTION - WAITLIST
   ============================================ */
.waitlist {
  background: linear-gradient(180deg, var(--color-bg) 0%, rgba(16, 185, 129, 0.05) 100%);
}

.waitlist__card {
  max-width: 600px;
  margin: 0 auto;
  padding: var(--spacing-xl);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  text-align: center;
}

.waitlist__title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: var(--spacing-xs);
}

.waitlist__subtitle {
  font-size: 1rem;
  color: var(--color-emerald);
  margin-bottom: var(--spacing-lg);
}

.waitlist__form {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

@media (min-width: 480px) {
  .waitlist__form {
    flex-direction: row;
  }
}

.waitlist__input {
  flex: 1;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  font-family: inherit;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  color: var(--color-text);
  outline: none;
  transition: all var(--transition-fast);
}

.waitlist__input::placeholder {
  color: var(--color-text-muted);
}

.waitlist__input:focus {
  border-color: var(--color-emerald);
  background: rgba(255, 255, 255, 0.08);
}

.waitlist__submit {
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  background: #ffffff;
  color: #000000;
  border: none;
  border-radius: var(--radius-xl);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.waitlist__submit:hover {
  transform: scale(1.02);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
}

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

/* ============================================
   SECTION - FAQ
   ============================================ */
.faq-list {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-item__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-md);
  background: none;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  text-align: left;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.faq-item__question:hover {
  background: rgba(255, 255, 255, 0.03);
}

.faq-item__icon {
  font-size: 1.2rem;
  color: var(--color-text-muted);
  transition: transform var(--transition-base);
}

.faq-item.open .faq-item__icon {
  transform: rotate(45deg);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-base), padding var(--transition-base);
}

.faq-item.open .faq-item__answer {
  max-height: 200px;
}

.faq-item__answer-content {
  padding: 0 var(--spacing-md) var(--spacing-md);
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: var(--spacing-xl) var(--spacing-md);
  border-top: 1px solid var(--color-border);
}

.footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-md);
  text-align: center;
}

@media (min-width: 768px) {
  .footer__inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

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

.footer__links {
  display: flex;
  gap: var(--spacing-md);
}

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

.footer__link:hover {
  color: var(--color-text);
}

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

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger animation delays */
.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.3s;
}

.delay-4 {
  transition-delay: 0.4s;
}

/* ============================================
   RESPONSIVE - MOBILE
   ============================================ */
@media (max-width: 767px) {
  :root {
    --spacing-lg: 1.5rem;
    --spacing-xl: 2.5rem;
  }

  .section {
    padding: 3rem 1rem;
  }

  /* Smaller text on mobile */
  .section__title {
    font-size: 1.5rem;
  }

  .section__subtitle {
    font-size: 0.9rem;
  }

  .hero__title {
    font-size: 2rem;
  }

  .hero__subtitle {
    font-size: 1rem;
  }

  /* Features section */
  .features-showcase__title {
    font-size: 1.1rem;
  }

  .features-showcase__description {
    font-size: 0.85rem;
  }

  /* Pricing */
  .pricing__price {
    font-size: 1.3rem;
  }

  /* FAQ */
  .faq-item__question {
    font-size: 0.95rem;
  }

  .faq-item__answer {
    font-size: 0.85rem;
  }

  /* Waitlist */
  .waitlist__title {
    font-size: 1.3rem;
  }

  .waitlist__subtitle {
    font-size: 0.85rem;
  }

  /* Footer */
  .footer {
    padding: var(--spacing-lg) 0;
  }

  .btn--large {
    width: 100%;
    max-width: 280px;
    padding: 0.8rem 1.5rem;
    font-size: 0.95rem;
  }

  /* Comment ça marche - Carousel Mobile with Dots */
  .carousel {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  /* Cache les dots sur mobile */
  .carousel__dots,
  .features-showcase__dots {
    display: none !important;
  }

  .carousel__phone {
    width: 200px;
    /* Même taille que features */
    position: relative;
    top: 0;
    margin: 0;
  }

  .carousel__phone-screen {
    border-radius: 25px;
  }

  .carousel__content {
    width: 100%;
    text-align: center;
    min-height: 120px;
    /* Hauteur fixe pour éviter saut */
  }

  /* On cache toutes les tabs sauf l'active */
  .carousel__tab {
    display: none;
    padding: 0;
    margin: 0;
    background: transparent !important;
    border: none;
    text-align: center;
    flex-direction: column;
    align-items: center;
  }

  .carousel__tab.active {
    display: flex;
    /* Affiche uniquement l'active */
  }

  .carousel__tab-number {
    display: none;
    /* Pas de numéro sur ce design mobile */
  }

  .carousel__tab-title {
    font-size: 1.1rem;
    color: white;
    /* Plus visible */
    margin-bottom: 8px;
  }

  .carousel__tab-description {
    font-size: 0.9rem;
    opacity: 1;
    /* Toujours visible */
    max-height: none;
    color: var(--color-text-muted);
  }

  .carousel__tab-progress {
    display: none;
  }

  /* Fonctionnalités - Phone smaller on mobile */
  .features-showcase__phone {
    width: 200px;
  }

  .features-showcase__phone-screen {
    border-radius: 25px;
  }

  .features-showcase__content {
    min-height: 80px;
  }
}