/* 
============================================================================
   MYTRAVO - MODERN LANDING PAGE CSS
   Design System: Clean, Professional, Performance-focused
============================================================================ 
*/

/* 
============================================================================
   CSS VARIABLES & DESIGN TOKENS
============================================================================ 
*/

:root {
  /* Colors - Primary (MyTravo Orange) */
  --primary: #F6A500;
  --primary-hover: #D48E00;
  --primary-light: rgba(246, 165, 0, 0.1);
  
  /* Colors - Accent */
  --accent: #FF9500;
  --accent-hover: #E68600;
  --accent-light: rgba(255, 149, 0, 0.1);
  
  /* Colors - Success/Critical */
  --success: #34C759;
  --critical: #FF3B30;
  
  /* Colors - Neutrals (DARK MODE) */
  --dark: #FFFFFF;          /* Texte principal = blanc */
  --gray-900: #F6F8FA;
  --gray-800: #ECEEF0;
  --gray-700: #DCDEE0;      /* Texte secondaire */
  --gray-600: #BCBEC0;      /* Texte tertiaire */
  --gray-500: #9C9EA0;
  --gray-400: #7C7E80;
  --gray-300: #5C5E60;      /* Borders */
  --gray-200: #3C3E40;      /* Borders secondaires */
  --gray-100: #2C2E30;
  --white: #FFFFFF;
  
  /* Backgrounds - DARK MODE */
  --bg-primary: #1A1C1E;
  --bg-secondary: #373839;
  --bg-tertiary: #2C2E30;
  --bg-dark: #1A1C1E;
  --bg-dark-secondary: #373839;
  
  /* Gradients - DARK MODE */
  --gradient-primary: linear-gradient(135deg, #F6A500 0%, #D48E00 100%);
  --gradient-accent: linear-gradient(135deg, #FF9500 0%, #E68600 100%);
  --gradient-hero: linear-gradient(135deg, #1A1C1E 0%, #2C2E30 100%);
  
  /* Shadows - DARK MODE */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.6), 0 10px 10px -5px rgba(0, 0, 0, 0.4);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 40px rgba(246, 165, 0, 0.3);
  
  /* Typography */
  --font-sans: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'SF Mono', 'Monaco', 'Consolas', monospace;
  
  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;
  
  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 700ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* 
============================================================================
   RESET & BASE STYLES
============================================================================ 
*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  line-height: 1.6;
  color: var(--white);
  background: var(--bg-primary);
  overflow-x: hidden;
}

::selection {
  background: var(--primary-light);
  color: var(--primary);
}

/* 
============================================================================
   READING PROGRESS BAR
============================================================================ 
*/

.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--gradient-primary);
  z-index: 10000;
  transition: width 0.1s linear;
  box-shadow: 0 0 10px rgba(246, 165, 0, 0.5);
}

/* 
============================================================================
   HEADER / NAVIGATION
============================================================================ 
*/

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(26, 28, 30, 0.8);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--gray-200);
  z-index: 1000;
  transition: all var(--transition-base);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(26, 28, 30, 0.95);
}

.nav {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: transform var(--transition-base);
}

.logo:hover {
  transform: scale(1.02);
}

.logo-icon {
  height: 40px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: var(--gray-400);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
  transition: color var(--transition-base);
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width var(--transition-base);
}

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

.nav-links a:hover::after {
  width: 100%;
}

.cta-button {
  background: var(--gradient-primary);
  color: var(--white);
  padding: 0.625rem 1.5rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-md);
  border: none;
  cursor: pointer;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.cta-button:active {
  transform: translateY(0);
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
  padding: 0.5rem;
}

.mobile-menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 73px;
  left: 0;
  right: 0;
  background: rgba(26, 28, 30, 0.98);
  backdrop-filter: blur(20px);
  padding: 2rem;
  transform: translateY(-100%);
  transition: transform var(--transition-base);
  box-shadow: var(--shadow-lg);
}

.mobile-menu.active {
  transform: translateY(0);
}

.mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-menu a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  font-size: 1.125rem;
  transition: color var(--transition-base);
  display: block;
}

.mobile-menu a:hover {
  color: var(--primary);
}

.mobile-cta {
  background: var(--gradient-primary);
  color: var(--white);
  padding: 1rem 2rem;
  border-radius: var(--radius-full);
  text-align: center;
  margin-top: 1rem;
  font-weight: 600;
}

/* 
============================================================================
   HERO SECTION
============================================================================ 
*/

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 2rem 4rem;
  background: var(--gradient-hero);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(246, 165, 0, 0.08) 0%, transparent 70%);
  animation: float 20s ease-in-out infinite;
  pointer-events: none;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(-30px, 30px) rotate(5deg); }
}

.hero-content {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  position: relative;
  z-index: 1;
}

.hero-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(246, 165, 0, 0.2);
}

.hero-text h1 {
  font-size: 3.75rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--white);
  letter-spacing: -0.02em;
}

.hero-text .highlight {
  background: linear-gradient(135deg, var(--primary) 0%, #FFB84D 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  display: inline-block;
}

.hero-description {
  font-size: 1.25rem;
  color: var(--gray-400);
  margin-bottom: 2rem;
  line-height: 1.7;
  max-width: 90%;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--white);
  padding: 1rem 2rem;
  border-radius: var(--radius-xl);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all var(--transition-base);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: var(--shadow-lg);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}

.btn-primary svg {
  transition: transform var(--transition-base);
}

.btn-primary:hover svg {
  transform: translateX(3px);
}

.btn-secondary {
  background: var(--bg-secondary);
  color: var(--white);
  padding: 1rem 2rem;
  border-radius: var(--radius-xl);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all var(--transition-base);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 2px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* Hero Stats */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.stat-unit {
  font-size: 1.5rem;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--gray-500);
  font-weight: 500;
}

/* Hero Image */
.hero-image {
  position: relative;
}

.mockup-container {
  position: relative;
  margin: 0 auto;
  width: 100%;
  max-width: 400px;
}

.mockup-device {
  position: relative;
  border-radius: 2.5rem;
  padding: 0.75rem;
  background: linear-gradient(145deg, #1A1C1E 0%, #2C2E30 100%);
  box-shadow: var(--shadow-2xl);
  transform: perspective(1000px) rotateY(-5deg);
  transition: transform var(--transition-smooth);
}

.mockup-device:hover {
  transform: perspective(1000px) rotateY(0deg) scale(1.02);
}

.mockup {
  width: 100%;
  border-radius: 2rem;
  display: block;
}

.mockup-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(246, 165, 0, 0.2) 0%, transparent 70%);
  filter: blur(60px);
  z-index: -1;
  animation: pulse-glow 4s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.4; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.7; transform: translate(-50%, -50%) scale(1.1); }
}

/* Floating Cards */
.floating-card {
  position: absolute;
  background: var(--bg-secondary);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: float-card 6s ease-in-out infinite;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.floating-card-1 {
  top: 10%;
  right: -10%;
  animation-delay: 0s;
}

.floating-card-2 {
  bottom: 15%;
  left: -10%;
  animation-delay: 3s;
}

@keyframes float-card {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

.card-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 0.875rem;
  flex-shrink: 0;
}

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

.card-title {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--white);
}

.card-subtitle {
  font-size: 0.75rem;
  color: var(--gray-500);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--gray-600);
  font-size: 0.875rem;
  font-weight: 500;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

.scroll-arrow {
  width: 24px;
  height: 36px;
  border: 2px solid var(--gray-400);
  border-radius: var(--radius-full);
  position: relative;
}

.scroll-arrow::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  background: var(--gray-600);
  border-radius: 50%;
  animation: scroll-dot 2s ease-in-out infinite;
}

@keyframes scroll-dot {
  0% { top: 8px; opacity: 1; }
  100% { top: 20px; opacity: 0; }
}

/* 
============================================================================
   SCROLL ANIMATIONS
============================================================================ 
*/

[data-scroll-animation] {
  opacity: 0;
  transition: all var(--transition-smooth);
}

[data-scroll-animation].animated {
  opacity: 1;
}

[data-scroll-animation="fade-up"] {
  transform: translateY(50px);
}

[data-scroll-animation="fade-up"].animated {
  transform: translateY(0);
}

[data-scroll-animation="fade-left"] {
  transform: translateX(50px);
}

[data-scroll-animation="fade-left"].animated {
  transform: translateX(0);
}

[data-scroll-animation="fade-right"] {
  transform: translateX(-50px);
}

[data-scroll-animation="fade-right"].animated {
  transform: translateX(0);
}

[data-scroll-animation="slide-right"] {
  transform: translateX(-100px);
}

[data-scroll-animation="slide-right"].animated {
  transform: translateX(0);
}

[data-scroll-animation="slide-left"] {
  transform: translateX(100px);
}

[data-scroll-animation="slide-left"].animated {
  transform: translateX(0);
}

[data-scroll-animation="zoom-in"] {
  transform: scale(0.95);
}

[data-scroll-animation="zoom-in"].animated {
  transform: scale(1);
}

[data-delay="100"].animated { transition-delay: 0.1s; }
[data-delay="200"].animated { transition-delay: 0.2s; }
[data-delay="300"].animated { transition-delay: 0.3s; }
[data-delay="400"].animated { transition-delay: 0.4s; }
[data-delay="500"].animated { transition-delay: 0.5s; }
[data-delay="600"].animated { transition-delay: 0.6s; }

/* 
============================================================================
   SECTIONS BASE
============================================================================ 
*/

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
}

.section-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(246, 165, 0, 0.2);
}

.section-header h2 {
  font-size: 2.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--gray-400);
  line-height: 1.7;
}

/* 
============================================================================
   FEATURES SECTION
============================================================================ 
*/

.features {
  padding: 6rem 2rem;
  background: var(--bg-primary);
}

.features-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.feature-card {
  padding: 2rem;
  border-radius: var(--radius-2xl);
  background: var(--bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card-highlight {
  background: linear-gradient(135deg, rgba(246, 165, 0, 0.05) 0%, rgba(246, 165, 0, 0.02) 100%);
  border-color: var(--primary);
}

.feature-card-highlight::before {
  transform: scaleX(1);
}

.feature-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.feature-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-xl);
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
}

.feature-card:hover .feature-icon-wrapper {
  background: var(--gradient-primary);
  transform: scale(1.1) rotate(5deg);
}

.feature-icon {
  width: 28px;
  height: 28px;
  color: var(--primary);
  transition: color var(--transition-base);
}

.feature-card:hover .feature-icon {
  color: var(--white);
}

.feature-badge {
  background: var(--gradient-primary);
  color: var(--white);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.feature-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--white);
  line-height: 1.3;
}

.feature-card p {
  color: var(--gray-400);
  line-height: 1.7;
  font-size: 1rem;
}

/*
============================================================================
   HOW IT WORKS SECTION
============================================================================
*/

.how-it-works {
  padding: 6rem 2rem;
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.steps {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Vertical timeline connector */
.steps::before {
  content: '';
  position: absolute;
  left: 39px;
  top: 80px;
  bottom: 40px;
  width: 2px;
  background: linear-gradient(180deg, var(--primary) 0%, rgba(246, 165, 0, 0.08) 100%);
  pointer-events: none;
}

.step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  align-items: start;
  padding-bottom: 3rem;
  position: relative;
}

.step:last-child {
  padding-bottom: 0;
}

.step-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
}

.step-number {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 2px solid var(--primary);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.375rem;
  font-weight: 700;
  box-shadow: 0 0 0 6px rgba(246, 165, 0, 0.08);
  position: relative;
  z-index: 2;
  transition: all var(--transition-base);
  letter-spacing: -0.01em;
}

.step:hover .step-number {
  background: var(--gradient-primary);
  color: var(--white);
  transform: scale(1.08);
  box-shadow: 0 0 0 10px rgba(246, 165, 0, 0.12), var(--shadow-lg);
}

.step-line {
  display: none;
}

.step-content {
  background: var(--bg-tertiary);
  padding: 2rem 2.5rem;
  border-radius: var(--radius-2xl);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  margin-top: 0.5rem;
}

.step-content::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--gradient-primary);
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform var(--transition-base);
}

.step:hover .step-content {
  border-color: rgba(246, 165, 0, 0.18);
  box-shadow: var(--shadow-xl);
  transform: translateX(8px);
}

.step:hover .step-content::before {
  transform: scaleY(1);
}

.step-content h3 {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 0.625rem;
  color: var(--white);
  line-height: 1.3;
}

.step-content p {
  font-size: 1rem;
  color: var(--gray-500);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.step-list {
  list-style: none;
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.step-list li {
  padding-left: 1.5rem;
  position: relative;
  color: var(--gray-500);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.step-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
  font-size: 0.8125rem;
  top: 0.1em;
}

/* 
============================================================================
   TESTIMONIALS SECTION
============================================================================ 
*/

.testimonials {
  padding: 6rem 2rem;
  background: var(--bg-primary);
}

.testimonials-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: var(--bg-secondary);
  padding: 2rem;
  border-radius: var(--radius-2xl);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all var(--transition-base);
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary);
}

.testimonial-rating {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
}

.testimonial-rating svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
}

.testimonial-text {
  font-size: 1.0625rem;
  color: var(--dark);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--white);
  font-weight: 700;
  flex-shrink: 0;
}

.author-info h4 {
  font-weight: 700;
  color: var(--dark);
  font-size: 1rem;
  margin-bottom: 0.125rem;
}

.author-info p {
  color: var(--gray-600);
  font-size: 0.875rem;
}

/* 
============================================================================
   CTA BETA SECTION
============================================================================ 
*/

.cta-section {
  padding: 6rem 2rem;
  position: relative;
  overflow: hidden;
}

.cta-background {
  position: absolute;
  inset: 0;
  background: var(--gradient-primary);
  z-index: 0;
}

.cta-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

.cta-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.3;
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  text-align: center;
}

.cta-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.cta-content h2 {
  font-size: 3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.cta-content > p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

/* Beta Form */
.beta-form {
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 2.5rem;
  border-radius: var(--radius-2xl);
  border: 1px solid rgba(255, 255, 255, 0.15);
  margin-bottom: 1rem;
  text-align: left;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 0;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group:last-of-type {
  margin-bottom: 0;
}

.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.5rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 0.875rem 1rem;
  border-radius: var(--radius-lg);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.07);
  color: var(--white);
  font-size: 1rem;
  font-family: var(--font-sans);
  transition: all var(--transition-base);
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.11);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.08);
}

.form-group input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.form-group select option {
  background: var(--bg-secondary);
  color: var(--white);
}

.btn-submit {
  width: 100%;
  background: var(--white);
  color: #0D0F10;
  padding: 1.0625rem 2rem;
  border-radius: var(--radius-xl);
  font-weight: 700;
  font-size: 1.0625rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
  margin-top: 1.75rem;
  letter-spacing: -0.01em;
}

.btn-submit:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(246, 165, 0, 0.35);
}

.btn-submit svg {
  transition: transform var(--transition-base);
}

.btn-submit:hover svg {
  transform: translateX(4px);
}

.cta-privacy {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.8125rem;
  margin-top: 1.25rem;
}

/*
============================================================================
   FOOTER
============================================================================
*/

.footer {
  background: #0D0F10;
  color: rgba(255, 255, 255, 0.55);
  padding: 5rem 2rem 2.5rem;
  position: relative;
}

/* Gradient top border */
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--primary) 50%, transparent 100%);
  opacity: 0.45;
}

.footer-content {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand {
  max-width: 320px;
}

.footer-logo {
  height: 36px;
  width: 36px;
  margin-bottom: 1.25rem;
  opacity: 0.9;
}

.footer-brand p {
  line-height: 1.75;
  margin-bottom: 1.75rem;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.45);
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  transition: all var(--transition-base);
}

.social-links a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(246, 165, 0, 0.3);
}

.social-links svg {
  width: 17px;
  height: 17px;
}

.footer-section h4 {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
  margin-bottom: 1.25rem;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.875rem;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  transition: all var(--transition-base);
  font-size: 0.9375rem;
  display: inline-block;
}

.footer-section a:hover {
  color: var(--primary);
  transform: translateX(4px);
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer-tagline {
  opacity: 1;
  color: rgba(255, 255, 255, 0.25);
}

/* 
============================================================================
   BACK TO TOP BUTTON
============================================================================ 
*/

.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 52px;
  height: 52px;
  background: var(--gradient-primary);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-lg);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.back-to-top svg {
  width: 24px;
  height: 24px;
}

/*
============================================================================
   RESPONSIVE DESIGN
============================================================================
*/

/* ── Tablette large (≤ 1280px) ── */
@media (max-width: 1280px) {
  .hero-content {
    gap: 3rem;
  }

  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

/* ── Tablette (≤ 1024px) ── */
@media (max-width: 1024px) {
  /* Hero */
  .hero-text h1 {
    font-size: 3rem;
  }

  .hero-content {
    gap: 2.5rem;
  }

  /* Sections */
  .section-header h2 {
    font-size: 2.25rem;
  }

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

  /* Features */
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Testimonials */
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Steps */
  .steps {
    max-width: 100%;
  }

  /* Footer */
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
    max-width: 100%;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.5rem 3rem;
    align-items: start;
  }

  .footer-brand p {
    margin-bottom: 0;
  }

  .footer-logo {
    grid-column: 1;
    grid-row: 1;
  }

  .footer-brand > p {
    grid-column: 2;
    grid-row: 1;
  }

  .social-links {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

/* ── Mobile (≤ 768px) ── */
@media (max-width: 768px) {
  /* Navigation */
  .nav-links,
  .cta-button {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .mobile-menu {
    display: block;
  }

  /* Hero */
  .hero {
    padding: 5.5rem 1.25rem 3rem;
    min-height: auto;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
  }

  .hero-image {
    order: -1;
    max-width: 340px;
    margin: 0 auto;
    width: 100%;
  }

  .hero-text h1 {
    font-size: 2.25rem;
  }

  .hero-description {
    font-size: 1.0625rem;
    max-width: 100%;
  }

  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding-top: 1.5rem;
  }

  .stat-number {
    font-size: 1.75rem;
  }

  .stat-label {
    font-size: 0.75rem;
  }

  .floating-card {
    display: none;
  }

  /* Buttons */
  .hero-buttons {
    flex-direction: column;
    gap: 0.75rem;
  }

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

  /* Sections */
  .features,
  .how-it-works,
  .testimonials,
  .cta-section {
    padding: 4rem 1.25rem;
  }

  .footer {
    padding: 4rem 1.25rem 2rem;
  }

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

  .section-header h2 {
    font-size: 1.875rem;
  }

  .section-header p {
    font-size: 1rem;
  }

  /* Features Grid */
  .features-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  /* Steps */
  .steps::before {
    left: 31px;
  }

  .step {
    grid-template-columns: 64px 1fr;
    gap: 1.25rem;
  }

  .step-number {
    width: 64px;
    height: 64px;
    font-size: 1.125rem;
    box-shadow: 0 0 0 4px rgba(246, 165, 0, 0.08);
  }

  .step-content {
    padding: 1.5rem;
  }

  .step:hover .step-content {
    transform: translateX(4px);
  }

  /* CTA / Form */
  .cta-content h2 {
    font-size: 1.875rem;
  }

  .beta-form {
    padding: 1.75rem 1.25rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer-brand {
    display: block;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  /* Back to top */
  .back-to-top {
    bottom: 1rem;
    right: 1rem;
    width: 44px;
    height: 44px;
  }
}

/* ── Petit mobile (≤ 480px) ── */
@media (max-width: 480px) {
  /* Hero */
  .hero {
    padding: 5rem 1rem 2.5rem;
  }

  .hero-text h1 {
    font-size: 1.875rem;
  }

  .hero-tag {
    font-size: 0.8125rem;
  }

  .hero-stats {
    gap: 0.75rem;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .stat-label {
    font-size: 0.6875rem;
  }

  /* Sections */
  .features,
  .how-it-works,
  .testimonials,
  .cta-section {
    padding: 3rem 1rem;
  }

  .footer {
    padding: 3rem 1rem 1.5rem;
  }

  .section-header h2 {
    font-size: 1.625rem;
  }

  /* Features */
  .feature-card {
    padding: 1.5rem;
  }

  .feature-card h3 {
    font-size: 1.1875rem;
  }

  /* Steps */
  .steps::before {
    display: none;
  }

  .step {
    grid-template-columns: 52px 1fr;
    gap: 1rem;
  }

  .step-number {
    width: 52px;
    height: 52px;
    font-size: 1rem;
  }

  .step-content {
    padding: 1.25rem;
  }

  .step-content h3 {
    font-size: 1.125rem;
  }

  /* Form */
  .beta-form {
    padding: 1.5rem 1rem;
  }

  .cta-content h2 {
    font-size: 1.625rem;
  }

  /* Footer */
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-brand {
    grid-column: 1;
  }
}