/* ===================================
   RASSO – PROMOTIONAL WEBSITE
   Design system inspired by the app
   =================================== */

/* === VARIABLES === */
:root {
  --bg: #0a0a0a;
  --bg-2: #111111;
  --bg-card: #161616;
  --bg-card-hover: #1e1e1e;
  --border: rgba(255,255,255,0.07);
  --border-hover: rgba(255,255,255,0.14);

  --primary: #FF3B6F;
  --primary-dark: #e02255;
  --secondary: #7B4FFF;
  --secondary-dark: #6438e0;

  --gradient: linear-gradient(135deg, #FF3B6F 0%, #7B4FFF 100%);
  --gradient-soft: linear-gradient(135deg, rgba(255,59,111,0.15) 0%, rgba(123,79,255,0.15) 100%);

  --text: #ffffff;
  --text-muted: rgba(255,255,255,0.55);
  --text-faint: rgba(255,255,255,0.3);

  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-glow: 0 0 60px rgba(255,59,111,0.2), 0 0 120px rgba(123,79,255,0.1);
  --shadow-card: 0 8px 32px rgba(0,0,0,0.4);

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font); }

/* Tap highlight supprimé sur mobile */
* { -webkit-tap-highlight-color: transparent; }

/* Zones tactiles min 44px (recommandation Apple/Google) */
.btn, .download-btn, .modal-close, .hamburger, .nav-cta {
  min-height: 44px;
}

/* Dots : zone de tap agrandie via pseudo-élément, sans changer le rendu */
.dot {
  position: relative;
}
.dot::after {
  content: '';
  position: absolute;
  inset: -16px -12px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* === GRADIENT TEXT === */
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* === SECTION SHARED === */
.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(255,59,111,0.1);
  border: 1px solid rgba(255,59,111,0.2);
  border-radius: 100px;
  padding: 5px 14px;
  margin-bottom: 20px;
}

.section-title {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 60px;
  text-align: center;
  line-height: 1.7;
}

/* === REVEAL ANIMATIONS === */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================
   NAVBAR
   ========================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 20px;
}
.nav-logo img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links li a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
}
.nav-links li a:hover { color: var(--text); }
.nav-links .nav-cta {
  background: var(--gradient);
  color: white !important;
  padding: 9px 22px;
  border-radius: 100px;
  font-weight: 600;
}
.nav-links .nav-cta:hover { opacity: 0.9; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* === MOBILE MENU === */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10,10,10,0.97);
  backdrop-filter: blur(20px);
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.mobile-menu.open { opacity: 1; pointer-events: all; }
.mobile-menu ul { display: flex; flex-direction: column; gap: 16px; text-align: center; }
.mobile-menu ul li a {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-muted);
  transition: color var(--transition);
}
.mobile-menu ul li a:hover { color: var(--primary); }

/* =========================================
   HERO
   ========================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
}
.glow-1 {
  width: 600px;
  height: 600px;
  background: var(--primary);
  top: -200px;
  left: -100px;
  opacity: 0.12;
}
.glow-2 {
  width: 500px;
  height: 500px;
  background: var(--secondary);
  bottom: -100px;
  right: -100px;
  opacity: 0.12;
}

.particles {
  position: absolute;
  inset: 0;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,59,111,0.1);
  border: 1px solid rgba(255,59,111,0.25);
  border-radius: 100px;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 24px;
}
.badge-dot {
  width: 7px;
  height: 7px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.hero-title {
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  transition: all var(--transition);
  cursor: pointer;
}
.btn-primary {
  background: var(--gradient);
  color: white;
  box-shadow: 0 8px 24px rgba(255,59,111,0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(255,59,111,0.45);
}
.btn-secondary {
  background: var(--bg-card);
  color: var(--text);
  border: 1px solid var(--border-hover);
}
.btn-secondary:hover {
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.stat-number {
  font-size: 22px;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label {
  font-size: 12px;
  color: var(--text-faint);
  font-weight: 500;
}
.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* Phone Mockup */
.hero-phone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  position: relative;
}

.phone-mockup {
  position: relative;
}

.phone-frame {
  width: 260px;
  height: 564px;
  background: #0d0d0d;
  border-radius: 42px;
  border: 2px solid rgba(255,255,255,0.1);
  overflow: hidden;
  box-shadow:
    0 30px 80px rgba(0,0,0,0.6),
    0 0 0 1px rgba(255,255,255,0.05) inset,
    var(--shadow-glow);
  position: relative;
  z-index: 2;
}

.phone-screen {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: opacity 0.4s ease;
}
.phone-screen.fade-out { opacity: 0; }
.phone-screen.fade-in { opacity: 1; }

.phone-glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(ellipse at center, rgba(255,59,111,0.2) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

.phone-dots {
  display: flex;
  gap: 8px;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}
.dot.active {
  background: var(--primary);
  width: 24px;
  border-radius: 4px;
}
.dot:hover { background: rgba(255,255,255,0.5); }

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--text-faint);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  z-index: 2;
  animation: bounce 2.5s ease-in-out infinite;
}
.scroll-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* =========================================
   ABOUT
   ========================================= */
.about {
  padding: 120px 0;
  text-align: center;
}
.about-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 60px;
}
.about-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: left;
  transition: all var(--transition);
}
.about-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.about-icon {
  width: 54px;
  height: 54px;
  background: var(--gradient-soft);
  border: 1px solid rgba(255,59,111,0.2);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--primary);
}
.about-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}
.about-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* =========================================
   FEATURES
   ========================================= */
.features {
  padding: 60px 0 120px;
  text-align: center;
}
.features > .container > .section-label,
.features > .container > .section-title {
  display: block;
  text-align: center;
}
.features > .container > .section-title { margin-bottom: 80px; }

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 120px;
  text-align: left;
}
.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }

.feature-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
}

.feature-title {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.feature-desc {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 28px;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text-muted);
  font-weight: 500;
}
.feature-list li svg { color: var(--primary); flex-shrink: 0; }

/* Feature phone */
.feature-phone {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.feature-phone-wrap {
  width: 220px;
  height: 477px;
  background: #0d0d0d;
  border-radius: 38px;
  border: 2px solid rgba(255,255,255,0.1);
  overflow: hidden;
  box-shadow:
    0 24px 60px rgba(0,0,0,0.5),
    0 0 0 1px rgba(255,255,255,0.04) inset;
  position: relative;
  z-index: 2;
}
.feature-phone-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

/* Double phone for last feature */
.feature-phone-double {
  position: relative;
  height: 510px;
}
.feature-phone-double .phone-back {
  position: absolute;
  left: 50%;
  top: 20px;
  transform: translateX(-90%) rotate(-8deg);
  opacity: 0.7;
  z-index: 1;
}
.feature-phone-double .phone-front {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-20%) rotate(4deg);
  z-index: 2;
}

/* Glow behind feature phone */
.feature-phone::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(255,59,111,0.15) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
}

/* =========================================
   HOW IT WORKS
   ========================================= */
.how-it-works {
  padding: 80px 0 120px;
  text-align: center;
  background: linear-gradient(180deg, var(--bg) 0%, #0d0d0d 100%);
}
.how-it-works .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin-top: 60px;
  width: 100%;
  max-width: 900px;
}

.step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 20px;
}

.step-number {
  font-size: 56px;
  font-weight: 900;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 16px;
  opacity: 0.4;
}

.step-icon {
  width: 72px;
  height: 72px;
  background: var(--bg-card);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--primary);
  position: relative;
}
.step-icon::after {
  content: '';
  position: absolute;
  inset: -1px;
  background: var(--gradient);
  border-radius: inherit;
  z-index: -1;
  opacity: 0;
  transition: opacity var(--transition);
}
.step:hover .step-icon::after { opacity: 1; }
.step:hover .step-icon { background: var(--bg-card-hover); border-color: transparent; }

.step h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}
.step p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

.step-connector {
  flex-shrink: 0;
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--border-hover), transparent);
  margin-top: 100px;
  position: relative;
}
.step-connector::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--border-hover);
  border-top: 2px solid var(--border-hover);
  right: 10px;
  top: -3px;
  transform: rotate(45deg);
}

/* =========================================
   COMMUNITY
   ========================================= */
.community {
  padding: 80px 0 120px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.community-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.community-glow {
  position: absolute;
  width: 800px;
  height: 800px;
  background: radial-gradient(ellipse, rgba(123,79,255,0.12) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
}

.community-inner {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.community-icon {
  width: 84px;
  height: 84px;
  background: var(--gradient-soft);
  border: 1px solid rgba(123,79,255,0.2);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--secondary);
}

.community-desc {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 48px;
  max-width: 600px;
}

.community-values {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.value-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  transition: all var(--transition);
}
.value-item:hover {
  border-color: rgba(123,79,255,0.3);
  color: var(--text);
}
.value-icon { color: var(--secondary); display: flex; }

/* =========================================
   DOWNLOAD
   ========================================= */
.download {
  padding: 80px 0 120px;
  text-align: center;
}
.download-inner {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.download-logo {
  width: 100px;
  height: 100px;
  margin-bottom: 32px;
}
.download-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.download-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 500px;
}
.download-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 20px;
}
.download-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-lg);
  padding: 14px 24px;
  transition: all var(--transition);
  min-width: 180px;
}
.download-btn:hover {
  border-color: var(--primary);
  background: var(--bg-card-hover);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(255,59,111,0.2);
}
.download-btn svg { flex-shrink: 0; color: var(--text); }
.download-btn-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}
.download-btn-sub {
  font-size: 11px;
  color: var(--text-faint);
  font-weight: 500;
}
.download-btn-store {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
}
.download-free {
  font-size: 13px;
  color: var(--text-faint);
  letter-spacing: 1px;
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
  border-top: 1px solid var(--border);
  padding: 60px 0 40px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
  margin-bottom: 48px;
}
.footer-brand {
  max-width: 280px;
}
.footer-brand .nav-logo {
  margin-bottom: 14px;
}
.footer-brand p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}
.footer-links { display: flex; gap: 60px; }
.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-faint);
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  text-align: center;
}
.footer-bottom p {
  font-size: 13px;
  color: var(--text-faint);
}
.footer-credit {
  margin-top: 6px;
}
.footer-credit a {
  color: #818cf8;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.footer-credit a:hover {
  color: #a5b4fc;
  text-decoration: underline;
}

/* =========================================
   BETA MODAL
   ========================================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal-box {
  background: #161616;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  padding: 48px 40px 40px;
  max-width: 460px;
  width: 100%;
  position: relative;
  text-align: center;
  transform: translateY(24px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
  box-shadow: 0 32px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.05) inset;
  overscroll-behavior: contain;
}
.modal-overlay.open .modal-box {
  transform: translateY(0) scale(1);
}

/* Bottom sheet sur petit écran */
@media (max-width: 480px) {
  .modal-overlay { align-items: flex-end; padding: 0; }
  .modal-box {
    transform: translateY(100%);
    border-radius: 24px 24px 0 0;
    max-height: 93dvh;
    overflow-y: auto;
    padding: 36px 20px 32px;
  }
  .modal-overlay.open .modal-box { transform: translateY(0); }
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--transition);
}
.modal-close:hover {
  background: rgba(255,255,255,0.14);
  color: var(--text);
}

.modal-icon {
  width: 72px;
  height: 72px;
  background: var(--gradient-soft);
  border: 1px solid rgba(255,59,111,0.25);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: var(--primary);
}

.modal-title {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.modal-text {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 30px;
}
.modal-text strong {
  color: var(--text);
  font-weight: 700;
}

.modal-btn-beta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--gradient);
  color: white;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 100px;
  width: 100%;
  transition: all var(--transition);
  box-shadow: 0 8px 24px rgba(255,59,111,0.35);
}
.modal-btn-beta:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(255,59,111,0.45);
}

.modal-hint {
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-faint);
}

/* === MODAL STEPS === */
.modal-step { display: flex; flex-direction: column; align-items: center; }
.modal-step--hidden { display: none; }

.modal-icon--form { background: rgba(123,79,255,0.12); border-color: rgba(123,79,255,0.25); color: var(--secondary); }
.modal-icon--success { background: rgba(34,197,94,0.12); border-color: rgba(34,197,94,0.25); color: #22c55e; }

/* === BETA FORM === */
.beta-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
  margin-top: 4px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.optional {
  font-weight: 400;
  color: var(--text-faint);
}

.form-group input,
.form-group textarea {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius);
  padding: 12px 14px;
  font-size: 16px; /* ≥16px évite le zoom auto sur iOS */
  font-family: var(--font);
  color: var(--text);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  resize: none;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-faint);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255,59,111,0.15);
}

/* === SUBMIT BUTTON STATES === */
.submit-label,
.submit-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.submit-label[hidden],
.submit-loading[hidden] {
  display: none;
}

.spin {
  animation: spinAnim 0.9s linear infinite;
}
@keyframes spinAnim {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* === ANDROID MODAL === */
.modal-icon--android {
  background: rgba(52, 211, 153, 0.1);
  border-color: rgba(52, 211, 153, 0.25);
  color: #34d399;
}

.android-progress {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 4px 0 20px;
}
.android-progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(255,255,255,0.07);
  border-radius: 100px;
  overflow: hidden;
}
.android-progress-fill {
  height: 100%;
  width: 45%;
  background: linear-gradient(90deg, #34d399, #059669);
  border-radius: 100px;
  animation: progressPulse 2.5s ease-in-out infinite;
}
@keyframes progressPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}
.android-progress-label {
  font-size: 12px;
  color: #34d399;
  font-weight: 600;
  text-align: center;
  letter-spacing: 0.5px;
}

/* === SUCCESS CLOSE BTN === */
.modal-btn-close-success {
  background: rgba(255,255,255,0.07);
  border: 1px solid var(--border-hover);
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 100px;
  cursor: pointer;
  margin-top: 4px;
  transition: all var(--transition);
  font-family: var(--font);
}
.modal-btn-close-success:hover {
  background: rgba(255,255,255,0.12);
  color: var(--text);
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
  .hero-container { gap: 40px; }
  .phone-frame { width: 230px; height: 499px; }
  .feature-row { gap: 50px; margin-bottom: 90px; }
  .about-cards { gap: 14px; }
}

@media (max-width: 768px) {
  /* --- NAV --- */
  .nav-links { display: none; }
  .hamburger { display: flex; }

  /* --- SECTIONS PADDING --- */
  .about        { padding: 70px 0; }
  .features     { padding: 40px 0 70px; }
  .how-it-works { padding: 60px 0 80px; }
  .community    { padding: 60px 0 80px; }
  .download     { padding: 60px 0 80px; }
  .footer       { padding: 48px 0 32px; }

  /* --- HERO --- */
  .hero { padding: 100px 0 70px; }
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 44px;
  }
  .hero-subtitle { margin-left: auto; margin-right: auto; max-width: 100%; }
  .hero-actions  { justify-content: center; }
  .hero-stats    { justify-content: center; }
  .hero-scroll   { display: none; }

  /* --- PHONE HERO --- */
  .phone-frame { width: 200px; height: 434px; }
  .phone-mockup { display: flex; flex-direction: column; align-items: center; }

  /* --- ABOUT --- */
  .about-cards { grid-template-columns: 1fr; }
  .about-card  { padding: 28px 22px; }

  /* --- FEATURES --- */
  .features > .container > .section-title { margin-bottom: 50px; }

  .feature-row,
  .feature-row.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    text-align: center;
    gap: 36px;
    margin-bottom: 60px;
  }
  .feature-list { align-items: center; }
  .feature-tag  { display: block; }

  /* Double phone : superposé en simple colonne */
  .feature-phone-double { height: 380px; }
  .feature-phone-double .phone-back  { transform: translateX(-95%) rotate(-6deg); opacity: 0.55; }
  .feature-phone-double .phone-front { transform: translateX(-15%) rotate(3deg); }

  /* --- STEPS --- */
  .steps { flex-direction: column; align-items: center; gap: 36px; }
  .step-connector { display: none; }
  .step { max-width: 320px; }

  /* --- COMMUNITY --- */
  .community-values { flex-direction: column; align-items: center; }
  .value-item       { width: 100%; justify-content: center; max-width: 260px; }

  /* --- DOWNLOAD --- */
  .download-buttons { flex-direction: column; align-items: center; }
  .download-btn     { width: 100%; max-width: 280px; justify-content: center; }

  /* --- FOOTER --- */
  .footer-inner  { flex-direction: column; gap: 36px; }
  .footer-links  { flex-wrap: wrap; gap: 32px; }
  .footer-brand  { max-width: 100%; }

  /* --- MISC --- */
  .section-subtitle { font-size: 16px; }
  .section-title    { font-size: clamp(26px, 7vw, 40px); }
}

/* ===================================================================
   FAQ
   =================================================================== */
.faq {
  padding: 100px 0;
  background: #0a0a0a;
}

.faq-list {
  max-width: 780px;
  margin: 56px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.3s;
}

.faq-item:hover {
  border-color: rgba(255,255,255,0.15);
}

.faq-item.open {
  border-color: rgba(99,102,241,0.4);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  color: #fff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  transition: color 0.2s;
}

.faq-question:hover {
  color: #818cf8;
}

.faq-icon {
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: #818cf8;
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding: 0 24px 22px;
  color: rgba(255,255,255,0.6);
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
}

.faq-answer strong {
  color: rgba(255,255,255,0.85);
}

@media (max-width: 480px) {
  /* --- HERO --- */
  .hero { padding: 90px 0 60px; }
  .hero-actions   { flex-direction: column; align-items: center; }
  .btn            { width: 100%; justify-content: center; max-width: 300px; }
  .hero-stats     { flex-direction: column; gap: 12px; }
  .stat-divider   { display: none; }
  .hero-badge     { font-size: 12px; padding: 5px 12px; }

  /* --- PHONE HERO --- */
  .phone-frame { width: 180px; height: 390px; }

  /* --- FEATURES --- */
  .feature-phone-wrap { width: 190px; height: 412px; }
  .feature-phone-double { height: 340px; }

  /* --- MODAL --- */
  .modal-title    { font-size: 22px; }
  .modal-text     { font-size: 15px; }
  .modal-icon     { width: 60px; height: 60px; margin-bottom: 18px; }
  .form-row       { grid-template-columns: 1fr; }

  /* --- STEPS --- */
  .step-icon { width: 60px; height: 60px; }
  .step h3   { font-size: 16px; }

  /* --- COMMUNITY --- */
  .community-icon { width: 68px; height: 68px; }

  /* --- DOWNLOAD --- */
  .download-logo { width: 80px; height: 80px; }
  .download-btn  { width: 100%; max-width: 300px; }
  .download-subtitle { font-size: 16px; }

  /* --- ABOUT --- */
  .about-card h3 { font-size: 16px; }
  .about-card p  { font-size: 14px; }

  /* --- FOOTER --- */
  .footer-bottom p { font-size: 12px; }
}
