/* ===========================
   SéniorPréserve — Landing Page v2
   Primary: #F0780D
   Font: Plus Jakarta Sans (headings) + Inter (body)
   =========================== */

:root {
  --primary: #F0780D;
  --primary-dark: #D4690B;
  --primary-light: #FFF3E8;
  --primary-glow: rgba(240, 120, 13, 0.15);
  --accent: #FFB347;
  --text: #1A1A2E;
  --text-secondary: #4A5568;
  --text-muted: #718096;
  --bg: #FFFFFF;
  --bg-alt: #F8F9FB;
  --bg-card: #FFFFFF;
  --border: #E8ECF1;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 16px 56px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 8px 32px rgba(240, 120, 13, 0.15);
  --transition: 0.3s ease;
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

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

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

/* ===========================
   Scroll Progress Bar
   =========================== */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 5px;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  z-index: 1001;
}

/* ===========================
   Navbar — Glassmorphism
   =========================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(232, 236, 241, 0);
  transition: all 0.4s ease;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  border-bottom-color: rgba(232, 236, 241, 0.6);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.03);
}

.navbar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  transition: transform 0.3s ease;
}

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

.logo strong {
  color: var(--primary);
}

.logo-img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(240, 120, 13, 0.2));
  transition: transform 0.3s ease;
}

.logo:hover .logo-img {
  transform: rotate(-8deg) scale(1.08);
}

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

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.87rem;
  font-weight: 500;
  transition: color 0.3s ease, background 0.3s ease;
  position: relative;
  padding: 7px 12px;
  border-radius: 10px;
  white-space: nowrap;
}

.nav-links a:not(.btn):hover {
  color: var(--primary);
  background: var(--primary-light);
}

.nav-links a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 20px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  transition: transform 0.3s ease;
}

.nav-links a:not(.btn):hover::after {
  transform: translateX(-50%) scaleX(1);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: background 0.3s ease;
}

.menu-toggle:hover {
  background: var(--primary-light);
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2.5px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===========================
   Buttons — Premium
   =========================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 12px;
  font-family: var(--font-heading);
  font-size: 0.93rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  border-color: var(--primary);
}

.btn-primary:hover {
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
  transform: translateY(-2px);
}

.btn-white {
  background: white;
  color: var(--primary);
  border-color: white;
}

.btn-white:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.2);
}

.btn-white::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(240, 120, 13, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  animation: btnPulse 2.5s ease-in-out infinite;
}

@keyframes btnPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(0); opacity: 1; }
  50% { transform: translate(-50%, -50%) scale(1); opacity: 0; }
}

.btn-nav {
  padding: 10px 24px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white !important;
  border-radius: 12px;
  font-size: 0.88rem;
  box-shadow: 0 2px 10px rgba(240, 120, 13, 0.25);
  margin-left: 8px;
}

.btn-nav:hover {
  box-shadow: 0 6px 24px rgba(240, 120, 13, 0.35);
  color: white !important;
  transform: translateY(-2px);
}

.btn-nav::after { display: none; }

.nav-links .btn-nav:hover {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1rem;
  border-radius: 14px;
}

/* ===========================
   Hero — Premium
   =========================== */

.hero {
  position: relative;
  padding: 160px 0 100px;
  background: linear-gradient(160deg, #FFF8F0 0%, #FFF 40%, #F8F9FB 100%);
  overflow: hidden;
}

.hero-bg-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
}

.shape-1 {
  width: 500px;
  height: 500px;
  background: var(--primary-light);
  top: -100px;
  right: -100px;
}

.shape-2 {
  width: 300px;
  height: 300px;
  background: rgba(168, 212, 255, 0.3);
  bottom: -50px;
  left: -50px;
}

.shape-3 {
  width: 200px;
  height: 200px;
  background: rgba(255, 179, 71, 0.2);
  top: 40%;
  left: 40%;
}

.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: var(--primary);
  pointer-events: none;
}

.hero-content {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* Hero Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: var(--primary-light);
  border: 1px solid rgba(240, 120, 13, 0.2);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 24px;
  visibility: hidden;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

.hero-text h1 {
  font-family: var(--font-heading);
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 24px;
  color: var(--text);
  letter-spacing: -0.02em;
}

.highlight {
  color: var(--primary);
  position: relative;
  display: inline;
}

.highlight::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: -4px;
  right: -4px;
  height: 35%;
  background: rgba(240, 120, 13, 0.12);
  border-radius: 4px;
  z-index: -1;
  transform: scaleX(0);
  transform-origin: left;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

/* Trust indicators */
.hero-trust {
  display: flex;
  align-items: center;
  gap: 14px;
  visibility: hidden;
}

.trust-avatars {
  display: flex;
}

.trust-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 3px solid white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text);
  margin-right: -10px;
  box-shadow: var(--shadow-sm);
}

.hero-trust p {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Phone Frame — Premium */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 0;
  position: relative;
}

.hero-photo {
  position: relative;
  flex-shrink: 0;
  align-self: flex-end;
  overflow: hidden;
}

.hero-photo img {
  width: auto;
  height: 520px;
  object-fit: contain;
  display: block;
}

.hero-photo::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to bottom, transparent, #F8F9FB);
  pointer-events: none;
}

.hero-phone {
  position: relative;
  display: flex;
  justify-content: center;
  margin-left: -20px;
}

.phone-glow {
  position: absolute;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(40px);
  animation: phoneGlow 4s ease-in-out infinite;
}

@keyframes phoneGlow {
  0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.15); }
}

.phone-frame {
  position: relative;
  width: 280px;
  border-radius: 40px;
  overflow: hidden;
  background: linear-gradient(145deg, #2A2A2A, #1A1A1A);
  padding: 10px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,0.05) inset, 0 0 60px rgba(240, 120, 13, 0.08);
}

.phone-frame img {
  width: 100%;
  display: block;
  border-radius: 30px;
}

.hero-visual .phone-frame {
  width: 250px;
}

/* ===========================
   Section Divider
   =========================== */

.section-divider {
  margin-top: -2px;
  line-height: 0;
}

.section-divider svg {
  width: 100%;
  height: 60px;
}

.section-divider.flip {
  margin-top: 0;
  margin-bottom: -2px;
}

/* ===========================
   Section Commons
   =========================== */

.section {
  padding: 100px 0;
}

.section-badge {
  display: inline-block;
  padding: 6px 16px;
  background: var(--primary-light);
  color: var(--primary);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  text-align: center;
  visibility: hidden;
}

/* Center badges */
.section > .container > .section-badge {
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 16px;
}

.section-title {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  color: var(--text);
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 580px;
  margin: 0 auto 64px;
  line-height: 1.7;
}

/* ===========================
   How it works
   =========================== */

.how-it-works {
  background: var(--bg-alt);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
}

.steps-connector {
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 4px;
  z-index: 0;
  pointer-events: none;
}

.connector-line {
  width: 100%;
  height: 4px;
  overflow: visible;
}

.step {
  text-align: center;
  position: relative;
  padding: 44px 28px 36px;
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  transition: border-color 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
  border: 1px solid var(--border);
  cursor: default;
}

.step::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(240, 120, 13, 0.04), transparent);
  transition: left 0.6s ease;
  pointer-events: none;
}

.step:hover::before {
  left: 100%;
}

.step:hover {
  border-color: rgba(240, 120, 13, 0.25);
  box-shadow: 0 20px 50px rgba(240, 120, 13, 0.12), 0 0 0 1px rgba(240, 120, 13, 0.08);
}

.step:hover h3 {
  color: var(--primary);
}

.step h3 {
  transition: color 0.3s ease;
}

.step-number {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(240, 120, 13, 0.3);
}

.step-icon {
  width: 64px;
  height: 64px;
  margin: 12px auto 20px;
  color: var(--primary);
}

.step h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.step p {
  color: var(--text-secondary);
  font-size: 0.93rem;
  line-height: 1.65;
}

/* ===========================
   Key Stats
   =========================== */

.stats {
  background: linear-gradient(135deg, var(--primary) 0%, #E06500 50%, var(--primary-dark) 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 60%);
  pointer-events: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}

.stat-card {
  text-align: center;
  padding: 32px 16px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: background 0.4s ease, border-color 0.3s ease;
}

.stat-card:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.25);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 800;
  color: white;
  line-height: 1;
  display: inline;
}

.stat-unit {
  display: inline;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  margin-left: 4px;
  vertical-align: super;
}

.stat-label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
  line-height: 1.6;
  margin-top: 12px;
}

/* ===========================
   Features
   =========================== */

.features {
  background: var(--bg);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  padding: 36px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  transition: border-color 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
  background: white;
  transform-style: preserve-3d;
  perspective: 800px;
  cursor: default;
  overflow: hidden;
  position: relative;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(240, 120, 13, 0.03), transparent);
  transition: left 0.6s ease;
  pointer-events: none;
  z-index: 0;
}

.feature-card:hover::before {
  left: 100%;
}

.feature-card:hover {
  border-color: rgba(240, 120, 13, 0.3);
  box-shadow: 0 24px 56px rgba(240, 120, 13, 0.14), 0 0 0 1px rgba(240, 120, 13, 0.06);
  background: linear-gradient(180deg, #FFFAF5 0%, white 40%);
}

.feature-card:hover h3 {
  color: var(--primary);
}

.feature-card h3 {
  transition: color 0.3s ease;
}

.feature-icon-wrap {
  width: 56px;
  height: 56px;
  background: var(--primary-light);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

.feature-card:hover .feature-icon-wrap {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 8px 24px rgba(240, 120, 13, 0.25);
}

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

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

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

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

/* ===========================
   App Showcase
   =========================== */

.app-showcase {
  background: var(--bg-alt);
  overflow: hidden;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  align-items: start;
}

.showcase-item {
  text-align: center;
  cursor: default;
}

.showcase-item .phone-frame {
  width: 100%;
  max-width: 240px;
  margin: 0 auto 24px;
  transition: box-shadow 0.5s ease;
}

.showcase-item:hover .phone-frame {
  box-shadow: 0 30px 70px rgba(240, 120, 13, 0.22), 0 0 0 2px rgba(240, 120, 13, 0.15), 0 0 40px rgba(240, 120, 13, 0.08);
}

.showcase-label h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
  transition: color 0.3s ease;
}

.showcase-item:hover .showcase-label h3 {
  color: var(--primary);
}

.showcase-label p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  transition: color 0.3s ease;
}

.showcase-item:hover .showcase-label p {
  color: var(--text);
}

/* ===========================
   Benefits
   =========================== */

.benefits {
  background: var(--bg);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.benefit-card {
  text-align: center;
  padding: 48px 32px;
  background: white;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  transition: border-color 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
  transform-style: preserve-3d;
  perspective: 800px;
  cursor: default;
  overflow: hidden;
  position: relative;
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(240, 120, 13, 0.04), transparent);
  transition: left 0.6s ease;
  pointer-events: none;
}

.benefit-card:hover::before {
  left: 100%;
}

.benefit-card:hover {
  border-color: rgba(240, 120, 13, 0.25);
  box-shadow: 0 28px 64px rgba(240, 120, 13, 0.14), 0 0 0 1px rgba(240, 120, 13, 0.06);
  background: linear-gradient(180deg, #FFFAF5 0%, white 40%);
}

.benefit-card:hover h3 {
  color: var(--primary);
}

.benefit-card h3 {
  transition: color 0.3s ease;
}

.benefit-icon-wrap {
  width: 72px;
  height: 72px;
  background: var(--primary-light);
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

.benefit-card:hover .benefit-icon-wrap {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 8px 24px rgba(240, 120, 13, 0.25);
}

.benefit-icon {
  width: 36px;
  height: 36px;
  color: var(--primary);
  transition: color 0.4s ease;
}

.benefit-card:hover .benefit-icon {
  color: white;
}

.benefit-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.benefit-card p {
  color: var(--text-secondary);
  font-size: 0.93rem;
  line-height: 1.7;
}

/* ===========================
   Testimonials
   =========================== */

.testimonials-section {
  padding: 100px 0 80px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg-alt) 0%, #FFF8F0 100%);
  position: relative;
}

.testimonials-section::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -150px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(240, 120, 13, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.testimonials-section .section-badge {
  visibility: visible;
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.testimonials-section .section-title {
  visibility: visible;
  margin-bottom: 8px;
}

.testimonials-section .section-subtitle {
  margin-bottom: 52px;
}

.testimonials-track-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
  cursor: grab;
  -webkit-user-select: none;
  user-select: none;
}

.testimonials-track-wrapper.dragging {
  cursor: grabbing;
}

.testimonials-track-wrapper.dragging .testimonial-card {
  pointer-events: none;
}

.testimonials-track {
  display: flex;
  gap: 28px;
  width: max-content;
  will-change: transform;
}

.testimonial-card {
  flex-shrink: 0;
  width: 380px;
  background: white;
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.4s ease, transform 0.4s ease, border-color 0.4s ease;
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 16px;
  right: 24px;
  font-size: 5rem;
  font-family: Georgia, serif;
  color: rgba(240, 120, 13, 0.07);
  line-height: 1;
  pointer-events: none;
}

.testimonial-card:hover {
  box-shadow: 0 16px 48px rgba(240, 120, 13, 0.12), 0 0 0 1px rgba(240, 120, 13, 0.08);
  transform: translateY(-6px);
  border-color: rgba(240, 120, 13, 0.2);
}

.testimonial-stars {
  color: #F5A623;
  font-size: 1.05rem;
  margin-bottom: 18px;
  letter-spacing: 3px;
}

.testimonial-text {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 28px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.testimonial-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: #333;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.testimonial-author strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
}

.testimonial-author span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ===========================
   Pricing
   =========================== */

.pricing {
  background: var(--bg);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 780px;
  margin: 0 auto 48px;
  align-items: start;
}

.pricing-card {
  padding: 40px 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: white;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
  position: relative;
}

.pricing-card:hover {
  border-color: rgba(240, 120, 13, 0.2);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.pricing-card.popular {
  border-color: var(--primary);
  border-width: 2px;
  box-shadow: 0 16px 48px rgba(240, 120, 13, 0.12);
  padding-top: 56px;
}

.pricing-card.popular:hover {
  box-shadow: 0 20px 56px rgba(240, 120, 13, 0.18);
}

.pricing-popular-badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 20px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: 0 0 12px 12px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.pricing-header h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text);
}

.pricing-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.pricing-price {
  display: flex;
  align-items: flex-start;
  gap: 2px;
  margin-bottom: 32px;
}

.price-amount {
  font-family: var(--font-heading);
  font-size: 3.6rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}

.pricing-card.popular .price-amount {
  color: var(--primary);
}

.price-details {
  display: flex;
  flex-direction: column;
  padding-top: 6px;
}

.price-currency {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
}

.price-period {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.93rem;
  color: var(--text-secondary);
}

.pricing-features li svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--primary);
}

.pricing-btn {
  width: 100%;
  text-align: center;
}

/* Device install note */
.pricing-device {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 640px;
  margin: 0 auto;
  padding: 28px 32px;
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.pricing-device-icon {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  color: var(--primary);
}

.pricing-device-icon svg {
  width: 100%;
  height: 100%;
}

.pricing-device-text h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text);
}

.pricing-device-text p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.pricing-device-text strong {
  color: var(--primary);
  font-weight: 700;
}

/* ===========================
   Security & RGPD
   =========================== */

.security {
  background: var(--bg);
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.security-card {
  padding: 32px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: white;
  transition: border-color 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
  position: relative;
}

.security-card:hover {
  border-color: rgba(240, 120, 13, 0.25);
  box-shadow: 0 16px 44px rgba(240, 120, 13, 0.08), 0 0 0 1px rgba(240, 120, 13, 0.05);
  background: linear-gradient(180deg, #FFFAF5 0%, white 40%);
}

.security-icon {
  width: 48px;
  height: 48px;
  color: var(--primary);
  margin-bottom: 18px;
}

.security-icon svg {
  width: 100%;
  height: 100%;
}

.security-card h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
  transition: color 0.3s ease;
}

.security-card:hover h3 {
  color: var(--primary);
}

.security-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ===========================
   FAQ
   =========================== */

.faq {
  background: var(--bg-alt);
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(240, 120, 13, 0.2);
}

.faq-item.active {
  border-color: rgba(240, 120, 13, 0.3);
  box-shadow: 0 8px 32px rgba(240, 120, 13, 0.08);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 28px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  line-height: 1.5;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: var(--primary);
}

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

.faq-item.active .faq-chevron {
  color: var(--primary);
}

.faq-answer {
  height: 0;
  overflow: hidden;
}

.faq-answer p {
  padding: 0 28px 22px;
  color: var(--text-secondary);
  font-size: 0.93rem;
  line-height: 1.75;
}

/* ===========================
   Legal Pages
   =========================== */

.legal-page {
  padding: 140px 0 80px;
  background: var(--bg);
}

.legal-content {
  max-width: 780px;
  margin: 0 auto;
}

.legal-content h1 {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.legal-updated {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 48px;
}

.legal-content h2 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  margin-top: 40px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary-light);
}

.legal-content h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin-top: 24px;
  margin-bottom: 12px;
}

.legal-content p {
  color: var(--text-secondary);
  font-size: 0.93rem;
  line-height: 1.8;
  margin-bottom: 14px;
}

.legal-content ul {
  list-style: none;
  margin-bottom: 16px;
  padding-left: 0;
}

.legal-content ul li {
  position: relative;
  padding-left: 20px;
  color: var(--text-secondary);
  font-size: 0.93rem;
  line-height: 1.8;
  margin-bottom: 6px;
}

.legal-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

.legal-content a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition);
}

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

.legal-content strong {
  color: var(--text);
  font-weight: 600;
}

/* ===========================
   Contact Section
   =========================== */

.contact-section {
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.contact-bg-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.contact-bg-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.35;
}

.contact-bg-shape-1 {
  width: 450px;
  height: 450px;
  background: var(--primary-light);
  top: -120px;
  right: -100px;
}

.contact-bg-shape-2 {
  width: 350px;
  height: 350px;
  background: rgba(255, 179, 71, 0.15);
  bottom: -100px;
  left: -80px;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
  align-items: start;
}

/* Contact Info */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-header {
  background: linear-gradient(135deg, var(--primary) 0%, #E06500 50%, var(--primary-dark) 100%);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  color: white;
  position: relative;
  overflow: hidden;
}

.contact-info-header::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.contact-info-header-icon {
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: white;
}

.contact-info-header-icon svg {
  width: 28px;
  height: 28px;
}

.contact-info-header h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.contact-info-header p {
  font-size: 0.93rem;
  line-height: 1.7;
  opacity: 0.85;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-info-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.contact-info-card:hover {
  border-color: rgba(240, 120, 13, 0.3);
  box-shadow: 0 10px 32px rgba(240, 120, 13, 0.1);
  background: linear-gradient(135deg, #FFFAF5, white);
}

.contact-info-icon {
  width: 46px;
  height: 46px;
  min-width: 46px;
  background: var(--primary-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.contact-info-card:hover .contact-info-icon {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  box-shadow: 0 6px 18px rgba(240, 120, 13, 0.25);
}

.contact-info-icon svg {
  width: 22px;
  height: 22px;
}

.contact-info-card h4 {
  font-family: var(--font-heading);
  font-size: 0.93rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}

.contact-info-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.contact-info-card a {
  font-size: 0.9rem;
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.contact-info-card a:hover {
  color: var(--primary-dark);
}

/* Contact Form */
.contact-form {
  background: white;
  padding: 44px 40px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.06);
  position: relative;
}

.contact-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 32px;
  right: 32px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 0 0 4px 4px;
}

.form-header {
  margin-bottom: 28px;
}

.form-header h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

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

.form-header .required {
  color: var(--primary);
  font-weight: 600;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-group label {
  font-family: var(--font-heading);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text);
}

.form-group .required {
  color: var(--primary);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 14px 18px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 0.93rem;
  color: var(--text);
  background: var(--bg-alt);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  outline: none;
  width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(240, 120, 13, 0.08);
  background: white;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23718096' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 6l3.5 4 3.5-4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
  margin-bottom: 4px;
}

/* Input wrapper with icon — must be after base input styles */
.input-wrap {
  position: relative;
}

.input-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  pointer-events: none;
  transition: color 0.3s ease;
}

.input-wrap input,
.input-wrap select {
  padding-left: 46px;
}

.input-wrap:focus-within .input-icon {
  color: var(--primary);
}

.form-submit {
  width: 100%;
  gap: 10px;
  margin-top: 12px;
  font-size: 1rem;
  padding: 18px 36px;
  box-shadow: 0 4px 16px rgba(240, 120, 13, 0.2);
}

.form-submit:hover {
  box-shadow: 0 8px 28px rgba(240, 120, 13, 0.3);
}

.form-submit:disabled {
  opacity: 0.8;
  cursor: not-allowed;
  transform: none;
}

.btn-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2.5px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spinner 0.6s linear infinite;
}

@keyframes spinner {
  to { transform: rotate(360deg); }
}

.btn-icon {
  width: 20px;
  height: 20px;
}

.form-success {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  padding: 16px 24px;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  border-radius: 12px;
  color: #065F46;
  font-weight: 600;
  font-size: 0.93rem;
}

.form-success.visible {
  display: flex;
}

.form-success svg {
  width: 22px;
  height: 22px;
  color: #059669;
  flex-shrink: 0;
}

/* ===========================
   Auth Pages (Inscription / Connexion)
   =========================== */

.auth-page {
  padding: 120px 0 80px;
  min-height: 100vh;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.auth-bg-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.auth-bg-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.3;
}

.auth-bg-shape-1 {
  width: 500px;
  height: 500px;
  background: var(--primary-light);
  top: -150px;
  left: -100px;
}

.auth-bg-shape-2 {
  width: 400px;
  height: 400px;
  background: rgba(255, 179, 71, 0.15);
  bottom: -100px;
  right: -80px;
}

.auth-bg-shape-3 {
  width: 200px;
  height: 200px;
  background: rgba(168, 212, 255, 0.15);
  top: 40%;
  right: 20%;
}

.auth-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
  position: relative;
}

.auth-wrapper-centered {
  grid-template-columns: 1fr;
  max-width: 520px;
  margin: 0 auto;
}

/* Auth Info (left panel) */
.auth-info {
  position: sticky;
  top: 120px;
}

.auth-info-content {
  background: linear-gradient(135deg, var(--primary) 0%, #E06500 50%, var(--primary-dark) 100%);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  color: white;
  position: relative;
  overflow: hidden;
}

.auth-info-content::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.auth-info-content h1 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.highlight-white {
  color: rgba(255, 255, 255, 0.85);
  font-style: italic;
}

.auth-info-content > p {
  font-size: 1rem;
  line-height: 1.7;
  opacity: 0.85;
  margin-bottom: 36px;
}

.auth-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.auth-feature {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.auth-feature-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-feature-icon svg {
  width: 20px;
  height: 20px;
}

.auth-feature h4 {
  font-family: var(--font-heading);
  font-size: 0.93rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.auth-feature p {
  font-size: 0.85rem;
  opacity: 0.75;
  line-height: 1.5;
}

/* Auth Form */
.auth-form-container {
  position: relative;
}

.auth-form {
  background: white;
  padding: 44px 40px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.06);
  position: relative;
}

.auth-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 32px;
  right: 32px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 0 0 4px 4px;
}

.auth-form-logo {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
}

.auth-form-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.auth-form-header {
  margin-bottom: 28px;
}

.auth-form-header.centered {
  text-align: center;
}

.auth-form-header h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 6px;
}

.auth-form-header p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.auth-form-header a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.auth-form-header a:hover {
  color: var(--primary-dark);
}

/* Step indicator */
.step-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 28px;
}

.step-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  background: white;
  transition: all 0.4s ease;
}

.step-dot.active {
  border-color: var(--primary);
  background: var(--primary);
  color: white;
}

.step-dot.done {
  border-color: var(--primary);
  background: var(--primary);
  color: white;
}

.step-dot.done svg {
  width: 16px;
  height: 16px;
}

.step-line {
  width: 80px;
  height: 2px;
  background: var(--border);
  transition: background 0.4s ease;
}

.step-line.active {
  background: var(--primary);
}

.form-step {
  display: none;
}

.form-step.active {
  display: block;
}

.form-step-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 24px;
  text-align: center;
}

/* Password field */
.password-wrap {
  position: relative;
}

.password-wrap input {
  padding-right: 48px;
}

.password-wrap .input-icon + input {
  padding-left: 46px;
}

.password-wrap .input-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  pointer-events: none;
  transition: color 0.3s ease;
}

.password-wrap:focus-within .input-icon {
  color: var(--primary);
}

.password-toggle {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.password-toggle:hover {
  color: var(--primary);
}

.password-toggle svg {
  width: 20px;
  height: 20px;
}

/* Password strength */
.password-strength {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  margin-top: -4px;
}

.strength-bars {
  display: flex;
  gap: 4px;
}

.strength-bar {
  width: 40px;
  height: 4px;
  border-radius: 2px;
  background: var(--border);
  transition: background 0.3s ease;
}

.strength-bar.weak { background: #EF4444; }
.strength-bar.medium { background: #F59E0B; }
.strength-bar.strong { background: #10B981; }

.strength-text {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Label row */
.label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.forgot-link {
  font-size: 0.82rem;
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.forgot-link:hover {
  color: var(--primary-dark);
}

/* Checkbox */
.form-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.form-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
  cursor: pointer;
}

.form-checkbox label {
  font-size: 0.88rem;
  color: var(--text-secondary);
  cursor: pointer;
}

/* Separator */
.auth-separator {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 24px 0;
}

.auth-separator::before,
.auth-separator::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.auth-separator span {
  font-size: 0.85rem;
  color: var(--text-muted);
  white-space: nowrap;
}

/* Plan selector */
.plan-selector {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}

.plan-option {
  cursor: pointer;
}

.plan-option input[type="radio"] {
  display: none;
}

.plan-card {
  padding: 24px;
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  position: relative;
}

.plan-option input:checked + .plan-card {
  border-color: var(--primary);
  box-shadow: 0 4px 20px rgba(240, 120, 13, 0.12);
  background: linear-gradient(135deg, #FFFAF5, white);
}

.plan-card:hover {
  border-color: rgba(240, 120, 13, 0.35);
}

.plan-badge {
  position: absolute;
  top: -1px;
  right: 20px;
  padding: 4px 14px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 0 0 8px 8px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.plan-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.plan-card-header h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}

.plan-tag {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--bg-alt);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.plan-tag.popular {
  background: var(--primary-light);
  color: var(--primary);
}

.plan-price {
  display: flex;
  align-items: flex-start;
  gap: 2px;
  margin-bottom: 8px;
}

.plan-amount {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}

.plan-option input:checked + .plan-card .plan-amount {
  color: var(--primary);
}

.plan-price-detail {
  display: flex;
  flex-direction: column;
  padding-top: 4px;
}

.plan-currency {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
}

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

.plan-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Plan includes */
.plan-includes {
  padding: 20px 24px;
  background: var(--bg-alt);
  border-radius: var(--radius);
  margin-bottom: 28px;
}

.plan-includes h4 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
}

.plan-includes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.plan-include-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.plan-include-item svg {
  width: 16px;
  height: 16px;
  color: var(--primary);
  flex-shrink: 0;
}

/* Form actions row */
.form-actions-row {
  display: flex;
  gap: 12px;
}

.form-actions-row .btn:first-child {
  flex: 0 0 auto;
}

.form-actions-row .btn:last-child {
  flex: 1;
}

.form-legal {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 16px;
  line-height: 1.6;
}

.form-legal a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

.form-legal a:hover {
  text-decoration: underline;
}

/* Nav outline button for auth */
.btn-nav-outline {
  padding: 10px 24px;
  background: transparent;
  color: var(--text) !important;
  border: 2px solid var(--border);
  border-radius: 12px;
  font-size: 0.88rem;
  margin-left: 0;
  box-shadow: none;
}

.btn-nav-outline:hover {
  border-color: var(--primary);
  color: var(--primary) !important;
  background: var(--primary-light);
  box-shadow: none;
}

.btn-nav-outline::after { display: none; }

/* Mon espace button */
.btn-nav-account {
  padding: 10px 22px;
  background: transparent;
  color: var(--text) !important;
  border: 2px solid var(--border);
  border-radius: 12px;
  font-size: 0.88rem;
  margin-left: 4px;
  box-shadow: none;
}

.btn-nav-account:hover {
  border-color: var(--primary);
  color: var(--primary) !important;
  background: var(--primary-light);
  box-shadow: none;
}

.btn-nav-account::after { display: none; }

/* ===========================
   Form Error Message
   =========================== */

.form-error {
  display: none;
  padding: 14px 18px;
  background: #FEF2F2;
  border: 1px solid #FECACA;
  border-radius: 12px;
  color: #991B1B;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 16px;
}

/* ===========================
   Dashboard — Espace Personnel
   =========================== */

.dashboard-page {
  padding: 120px 0 80px;
  min-height: 100vh;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
  position: relative;
}

.dashboard-header-text h1 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.dashboard-header-text p {
  font-size: 1rem;
  color: var(--text-muted);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 48px;
  position: relative;
}

.dashboard-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.dashboard-card:hover {
  box-shadow: var(--shadow);
  border-color: rgba(240, 120, 13, 0.2);
}

.dashboard-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 28px 28px 0;
}

.dashboard-card-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: var(--primary-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.dashboard-card-icon svg {
  width: 22px;
  height: 22px;
}

.dashboard-card-header h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
}

.dashboard-card-body {
  padding: 24px 28px 28px;
}

.profile-field {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.profile-field:last-of-type {
  border-bottom: none;
}

.profile-label {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 500;
}

.profile-value {
  font-size: 0.93rem;
  color: var(--text);
  font-weight: 600;
  text-align: right;
}

.status-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.status-badge.active {
  background: #ECFDF5;
  color: #059669;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.88rem;
  border-radius: 10px;
  gap: 8px;
  margin-top: 16px;
}

.profile-edit-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.profile-edit-actions .btn {
  flex: 1;
}

/* Liens rapides */
.dashboard-quick-links {
  position: relative;
}

.dashboard-quick-links h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 20px;
}

.quick-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.quick-link-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 24px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.quick-link-card:hover {
  border-color: rgba(240, 120, 13, 0.3);
  box-shadow: 0 10px 32px rgba(240, 120, 13, 0.1);
  background: linear-gradient(135deg, #FFFAF5, white);
}

.quick-link-icon {
  width: 52px;
  height: 52px;
  background: var(--primary-light);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 16px;
  transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.quick-link-card:hover .quick-link-icon {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  box-shadow: 0 6px 18px rgba(240, 120, 13, 0.25);
}

.quick-link-icon svg {
  width: 24px;
  height: 24px;
}

.quick-link-card h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.quick-link-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Dashboard responsive */
@media (max-width: 968px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .dashboard-header-text h1 {
    font-size: 1.8rem;
  }

  .quick-links-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .dashboard-page {
    padding: 110px 0 60px;
  }

  .dashboard-header-text h1 {
    font-size: 1.5rem;
  }

  .dashboard-card-body {
    padding: 20px 20px 24px;
  }

  .dashboard-card-header {
    padding: 20px 20px 0;
  }
}

/* ===========================
   Footer — Premium
   =========================== */

.footer {
  background: #111827;
  color: rgba(255, 255, 255, 0.6);
  padding: 72px 0 0;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .logo {
  color: white;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.65;
}

.footer-links h4 {
  color: white;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--transition);
}

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

.footer-bottom {
  padding: 28px 0;
  text-align: center;
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.35);
}

/* ===========================
   CTA Banners — Inline
   =========================== */

.cta-banner {
  padding: 56px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.cta-banner-text {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.cta-banner-sub {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
  max-width: 480px;
}

.cta-banner .btn {
  position: relative;
}

.cta-banner .btn .btn-icon {
  width: 18px;
  height: 18px;
  margin-left: 6px;
  transition: transform 0.25s ease;
}

.cta-banner .btn:hover .btn-icon {
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .cta-banner {
    padding: 40px 0;
  }

  .cta-banner-text {
    font-size: 1.15rem;
  }

  .cta-banner-sub {
    font-size: 0.9rem;
  }
}

/* ===========================
   GSAP — Initial hidden states
   =========================== */

.hero-text h1,
.hero-subtitle,
.hero-actions,
.hero-visual,
.hero-badge,
.hero-trust,
.section-title,
.section-subtitle,
.section-badge,
.step,
.feature-card,
.benefit-card,
.showcase-item,
.stat-card,
.pricing-card,
.pricing-device,
.security-card,
.faq-item,
.contact-info,
.contact-form {
  visibility: hidden;
}

/* ===========================
   Responsive
   =========================== */

@media (max-width: 968px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
  }

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

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-trust {
    justify-content: center;
  }

  .hero-visual {
    gap: 12px;
  }

  .hero-photo img {
    height: 420px;
  }

  .hero-visual .phone-frame {
    width: 200px;
  }

  .steps-connector {
    display: none;
  }

  .showcase-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 24px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }

  .pricing-device {
    flex-direction: column;
    text-align: center;
  }

  .security-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .steps,
  .features-grid,
  .benefits-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .contact-info-header {
    padding: 28px 24px;
  }

  .contact-form {
    padding: 32px 24px;
  }

  .auth-wrapper {
    grid-template-columns: 1fr;
  }

  .auth-info {
    position: static;
  }

  .auth-info-content {
    padding: 32px 28px;
  }

  .auth-info-content h1 {
    font-size: 1.8rem;
  }

  .auth-form {
    padding: 32px 24px;
  }

  .plan-includes-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .section-divider svg {
    height: 40px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 80px;
    left: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(24px);
    flex-direction: column;
    padding: 20px;
    gap: 4px;
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a:not(.btn) {
    padding: 12px 16px;
    border-radius: 10px;
    width: 100%;
  }

  .nav-links .btn-nav {
    margin-left: 0;
    margin-top: 8px;
    text-align: center;
  }

  .menu-toggle {
    display: flex;
  }

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

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

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

  .hero {
    padding: 130px 0 60px;
  }

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

  .section {
    padding: 64px 0;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .btn-lg {
    padding: 14px 28px;
    font-size: 0.93rem;
  }

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

  .showcase-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 16px;
  }

  .showcase-item .phone-frame {
    max-width: 200px;
  }

  .section-divider svg {
    height: 30px;
  }

  /* Hero visual — mobile */
  .hero-visual {
    gap: 8px;
    width: 100%;
  }

  .hero-photo {
    flex-shrink: 1;
    min-width: 0;
  }

  .hero-photo img {
    height: auto;
    max-height: 280px;
    max-width: 100%;
  }

  .hero-visual .phone-frame {
    width: 160px;
    flex-shrink: 0;
  }

  .hero-phone {
    margin-left: -16px;
  }

  /* Stats — mobile */
  .stats {
    padding: 56px 0;
  }

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

  .stat-card {
    padding: 24px 12px;
  }

  /* Testimonials — mobile */
  .testimonial-card {
    width: 300px;
    padding: 28px 24px;
  }

  .testimonials-section {
    padding: 64px 0 56px;
  }

  /* Pricing — mobile */
  .pricing-card {
    padding: 32px 24px;
  }

  .pricing-card.popular {
    padding-top: 48px;
  }

  .price-amount {
    font-size: 2.8rem;
  }

  .pricing-device {
    padding: 24px 20px;
    gap: 16px;
  }

  /* Contact — mobile */
  .contact-form {
    padding: 32px 20px;
  }

  .contact-info-header {
    padding: 28px 20px;
  }

  /* Auth — mobile */
  .auth-page {
    padding: 110px 0 60px;
  }

  .auth-form {
    padding: 32px 20px;
  }

  .auth-info-content {
    padding: 28px 20px;
  }

  /* Legal — mobile */
  .legal-page {
    padding: 110px 0 60px;
  }

  .legal-content h1 {
    font-size: 1.8rem;
  }

  .legal-content h2 {
    font-size: 1.15rem;
  }

  /* Footer — mobile */
  .footer {
    padding: 48px 0 0;
  }

  .footer-content {
    gap: 28px;
    padding-bottom: 36px;
  }

  /* FAQ — mobile */
  .faq-question {
    padding: 18px 20px;
    font-size: 0.93rem;
  }

  .faq-answer p {
    padding: 0 20px 18px;
  }

  /* Cards — mobile */
  .benefit-card {
    padding: 36px 24px;
  }

  .feature-card {
    padding: 28px 22px;
  }

  .step {
    padding: 36px 22px 28px;
  }

  /* Section subtitle — mobile */
  .section-subtitle {
    font-size: 0.95rem;
    margin-bottom: 48px;
  }

  /* Hero trust — mobile */
  .hero-trust p {
    font-size: 0.78rem;
  }

  .hero-badge {
    font-size: 0.78rem;
    padding: 6px 14px;
  }
}

/* ===========================
   Small phones (≤ 480px)
   =========================== */

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  /* Navbar — small phones */
  .navbar-content {
    height: 68px;
  }

  .nav-links {
    top: 68px;
  }

  .logo {
    font-size: 1.1rem;
    gap: 10px;
  }

  .logo-img {
    width: 38px;
    height: 38px;
  }

  /* Hero — small phones */
  .hero {
    padding: 110px 0 40px;
  }

  .hero-content {
    gap: 32px;
  }

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

  .hero-subtitle {
    font-size: 0.93rem;
    margin-bottom: 28px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    margin-bottom: 24px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-photo img {
    max-height: 200px;
  }

  .hero-visual .phone-frame {
    width: 120px;
    border-radius: 24px;
    padding: 6px;
  }

  .hero-visual .phone-frame img {
    border-radius: 18px;
  }

  .hero-phone {
    margin-left: -12px;
  }

  .phone-glow {
    width: 180px;
    height: 180px;
  }

  .hero-badge {
    font-size: 0.75rem;
    padding: 6px 12px;
  }

  /* Stats — small phones */
  .stats {
    padding: 44px 0;
  }

  .stats-grid {
    gap: 10px;
  }

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

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

  .stat-label {
    font-size: 0.78rem;
    margin-top: 8px;
  }

  .stat-card {
    padding: 18px 8px;
  }

  /* Sections — small phones */
  .section {
    padding: 44px 0;
  }

  .section-title {
    font-size: 1.45rem;
  }

  .section-subtitle {
    font-size: 0.88rem;
    margin-bottom: 32px;
  }

  .section-badge {
    font-size: 0.72rem;
    padding: 5px 12px;
  }

  /* Steps — small phones */
  .step {
    padding: 32px 16px 24px;
  }

  .step h3 {
    font-size: 1.08rem;
  }

  .step p {
    font-size: 0.88rem;
  }

  .step-icon {
    width: 52px;
    height: 52px;
  }

  /* Features — small phones */
  .feature-card {
    padding: 24px 18px;
  }

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

  .feature-card p {
    font-size: 0.85rem;
  }

  /* Showcase — small phones */
  .showcase-grid {
    gap: 20px 10px;
  }

  .showcase-item .phone-frame {
    max-width: 150px;
    border-radius: 24px;
    padding: 6px;
  }

  .showcase-item .phone-frame img {
    border-radius: 18px;
  }

  .showcase-label h3 {
    font-size: 0.88rem;
  }

  .showcase-label p {
    font-size: 0.78rem;
  }

  /* Benefits — small phones */
  .benefit-card {
    padding: 28px 18px;
  }

  .benefit-icon-wrap {
    width: 60px;
    height: 60px;
    border-radius: 18px;
  }

  .benefit-card h3 {
    font-size: 1.08rem;
  }

  .benefit-card p {
    font-size: 0.88rem;
  }

  /* Testimonials — small phones */
  .testimonials-section {
    padding: 44px 0;
  }

  .testimonial-card {
    width: 260px;
    padding: 24px 20px;
  }

  .testimonial-text {
    font-size: 0.85rem;
    margin-bottom: 20px;
  }

  .testimonial-stars {
    font-size: 0.92rem;
    margin-bottom: 14px;
  }

  .testimonial-author strong {
    font-size: 0.85rem;
  }

  .testimonial-author span {
    font-size: 0.75rem;
  }

  .testimonial-avatar {
    width: 40px;
    height: 40px;
  }

  /* Pricing — small phones */
  .pricing-card {
    padding: 24px 18px;
  }

  .pricing-card.popular {
    padding-top: 40px;
  }

  .price-amount {
    font-size: 2.2rem;
  }

  .price-currency {
    font-size: 1.1rem;
  }

  .pricing-header h3 {
    font-size: 1.15rem;
  }

  .pricing-features li {
    font-size: 0.88rem;
  }

  .pricing-device {
    padding: 20px 16px;
    gap: 14px;
  }

  .pricing-device-icon {
    width: 44px;
    height: 44px;
  }

  .pricing-device-text h4 {
    font-size: 0.93rem;
  }

  .pricing-device-text p {
    font-size: 0.82rem;
  }

  /* Security — small phones */
  .security-card {
    padding: 24px 18px;
  }

  .security-icon {
    width: 40px;
    height: 40px;
  }

  .security-card h3 {
    font-size: 0.95rem;
  }

  .security-card p {
    font-size: 0.85rem;
  }

  /* FAQ — small phones */
  .faq-question {
    padding: 16px 16px;
    font-size: 0.88rem;
    gap: 12px;
  }

  .faq-answer p {
    padding: 0 16px 16px;
    font-size: 0.85rem;
  }

  .faq-chevron {
    width: 18px;
    height: 18px;
  }

  /* Contact — small phones */
  .contact-form {
    padding: 24px 16px;
  }

  .contact-form::before {
    left: 16px;
    right: 16px;
  }

  .form-header h3 {
    font-size: 1.08rem;
  }

  .contact-info-header {
    padding: 24px 16px;
  }

  .contact-info-header h3 {
    font-size: 1.15rem;
  }

  .contact-info-card {
    padding: 16px 14px;
    gap: 12px;
  }

  .contact-info-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 12px;
  }

  .contact-info-icon svg {
    width: 18px;
    height: 18px;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 12px 14px;
    font-size: 0.88rem;
  }

  .input-wrap input,
  .input-wrap select {
    padding-left: 42px;
  }

  .form-group label {
    font-size: 0.82rem;
  }

  /* Auth — small phones */
  .auth-page {
    padding: 100px 0 40px;
  }

  .auth-form {
    padding: 24px 16px;
  }

  .auth-form::before {
    left: 16px;
    right: 16px;
  }

  .auth-form-header h2 {
    font-size: 1.25rem;
  }

  .auth-form-header p {
    font-size: 0.85rem;
  }

  .auth-info-content {
    padding: 24px 18px;
  }

  .auth-info-content h1 {
    font-size: 1.5rem;
  }

  .step-line {
    width: 48px;
  }

  .plan-card {
    padding: 18px;
  }

  .plan-amount {
    font-size: 2rem;
  }

  .plan-includes {
    padding: 16px 14px;
  }

  /* Legal — small phones */
  .legal-page {
    padding: 100px 0 40px;
  }

  .legal-content h1 {
    font-size: 1.45rem;
  }

  .legal-content h2 {
    font-size: 1rem;
    margin-top: 28px;
  }

  .legal-content p,
  .legal-content ul li {
    font-size: 0.85rem;
  }

  .legal-updated {
    font-size: 0.82rem;
    margin-bottom: 36px;
  }

  /* Footer — small phones */
  .footer {
    padding: 32px 0 0;
  }

  .footer-content {
    gap: 24px;
    padding-bottom: 24px;
  }

  .footer-brand .logo {
    font-size: 1.1rem;
  }

  .footer-brand p {
    font-size: 0.82rem;
  }

  .footer-links h4 {
    font-size: 0.82rem;
    margin-bottom: 14px;
  }

  .footer-links a {
    font-size: 0.82rem;
  }

  .footer-links ul {
    gap: 10px;
  }

  .footer-bottom {
    padding: 18px 0;
    font-size: 0.75rem;
  }

  /* CTA Banner — small phones */
  .cta-banner {
    padding: 32px 0;
  }

  .cta-banner-text {
    font-size: 1.05rem;
  }

  .cta-banner-sub {
    font-size: 0.85rem;
  }

  /* Buttons — small phones */
  .btn-lg {
    padding: 13px 24px;
    font-size: 0.88rem;
  }

  .form-submit {
    padding: 15px 24px;
    font-size: 0.93rem;
  }

  /* Section divider — small phones */
  .section-divider svg {
    height: 20px;
  }

  /* Dashboard — small phones */
  .dashboard-page {
    padding: 100px 0 40px;
  }

  .dashboard-header-text h1 {
    font-size: 1.35rem;
  }

  .dashboard-card-body {
    padding: 16px 14px 20px;
  }

  .dashboard-card-header {
    padding: 16px 14px 0;
  }

  .dashboard-card-header h3 {
    font-size: 1rem;
  }

  .profile-label {
    font-size: 0.82rem;
  }

  .profile-value {
    font-size: 0.85rem;
  }
}

/* ===========================
   Mobile — Horizontal scroll cards
   =========================== */

@media (max-width: 768px) {
  .steps,
  .features-grid,
  .benefits-grid,
  .security-grid,
  .showcase-grid,
  .pricing-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    max-width: none;
    margin-left: -24px;
    margin-right: -24px;
    padding-left: 24px;
    padding-right: 24px;
    padding-bottom: 16px;
    gap: 16px;
  }

  .steps {
    padding-top: 20px;
  }

  .steps::-webkit-scrollbar,
  .features-grid::-webkit-scrollbar,
  .benefits-grid::-webkit-scrollbar,
  .security-grid::-webkit-scrollbar,
  .showcase-grid::-webkit-scrollbar,
  .pricing-grid::-webkit-scrollbar {
    display: none;
  }

  .step,
  .feature-card,
  .benefit-card,
  .security-card {
    flex: 0 0 80%;
    max-width: 80%;
    scroll-snap-align: center;
  }

  .showcase-item {
    flex: 0 0 48%;
    max-width: 48%;
    scroll-snap-align: center;
  }

  .pricing-card {
    flex: 0 0 80%;
    max-width: 80%;
    scroll-snap-align: center;
  }

  /* Stats — grille 2x2 visible entièrement */
  .stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .steps,
  .features-grid,
  .benefits-grid,
  .security-grid,
  .showcase-grid,
  .pricing-grid {
    margin-left: -16px;
    margin-right: -16px;
    padding-left: 16px;
    padding-right: 16px;
    padding-bottom: 12px;
    gap: 12px;
  }

  .step,
  .feature-card,
  .benefit-card,
  .security-card,
  .pricing-card {
    flex: 0 0 85%;
    max-width: 85%;
  }

  .showcase-item {
    flex: 0 0 55%;
    max-width: 55%;
  }

  /* Stats — grille 2x2 visible */
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
}

/* ===========================
   Carousel dots — mobile only
   =========================== */

.carousel-dots {
  display: none;
}

@media (max-width: 768px) {
  .carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
  }

  .carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
  }

  .carousel-dot.active {
    background: var(--primary);
    transform: scale(1.3);
  }
}
