/* KosyQuizz — site vitrine */

:root {
  --primary: #5b2bee;
  --primary-dark: #4a22c9;
  --primary-light: #7b52f0;
  --violet: #9b59f5;
  --pink: #e84393;
  --coral: #ff5c5c;
  --coral-dark: #e84545;
  --orange: #ff8e53;
  --amber: #ffd166;
  --gold: #ffc700;
  --bg: #fff7f5;
  --bg-alt: #f6f1ff;
  --card: #ffffff;
  --text: #110d1b;
  --text-muted: #5f4c9a;
  --border: #eae7f3;
  --radius: 16px;
  --shadow: 0 8px 24px rgba(91, 43, 238, 0.12);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
}

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

/* Palette d'accent partagée (stats, fonctionnalités, étapes) */

.accent-blue {
  --accent: linear-gradient(135deg, #5b2bee, #9b59f5);
  --accent-glow: rgba(91, 43, 238, 0.28);
  --accent-solid: #5b2bee;
}

.accent-violet {
  --accent: linear-gradient(135deg, #5b2bee, #9b59f5);
  --accent-glow: rgba(91, 43, 238, 0.28);
  --accent-solid: #5b2bee;
}

.accent-coral {
  --accent: linear-gradient(135deg, #ff5c5c, #e84545);
  --accent-glow: rgba(255, 92, 92, 0.3);
  --accent-solid: #e84545;
}

.accent-amber {
  --accent: linear-gradient(135deg, #f59e0b, #fbbf24);
  --accent-glow: rgba(245, 158, 11, 0.3);
  --accent-solid: #d97706;
}

.accent-green {
  --accent: linear-gradient(135deg, #ff5c5c, #e84545);
  --accent-glow: rgba(255, 92, 92, 0.3);
  --accent-solid: #e84545;
}

.accent-pink {
  --accent: linear-gradient(135deg, #e84393, #fd79a8);
  --accent-glow: rgba(232, 67, 147, 0.28);
  --accent-solid: #d63384;
}

/* Apparition au défilement */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background-color: #f6f0ff;
  background-image:
    radial-gradient(ellipse 90% 55% at 8% -5%, rgba(91, 43, 238, 0.22), transparent 58%),
    radial-gradient(ellipse 70% 50% at 96% 8%, rgba(255, 92, 92, 0.16), transparent 52%),
    radial-gradient(ellipse 65% 45% at 50% 105%, rgba(155, 89, 245, 0.14), transparent 55%),
    radial-gradient(ellipse 55% 40% at 0% 55%, rgba(255, 142, 83, 0.12), transparent 48%),
    radial-gradient(ellipse 45% 35% at 100% 72%, rgba(232, 67, 147, 0.1), transparent 45%),
    linear-gradient(165deg, #fff4f0 0%, #f8f2ff 38%, #fff8f5 72%, #f3ecff 100%);
  background-attachment: fixed;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.55;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(91, 43, 238, 0.08) 0, transparent 42%),
    radial-gradient(circle at 78% 18%, rgba(255, 92, 92, 0.07) 0, transparent 38%),
    radial-gradient(circle at 62% 82%, rgba(255, 209, 102, 0.08) 0, transparent 40%);
}

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

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.93);
  border-bottom-color: var(--border);
  box-shadow: 0 6px 24px rgba(17, 13, 27, 0.06);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text);
  text-decoration: none;
}

.logo:hover {
  text-decoration: none;
}

.logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(91, 43, 238, 0.18);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav a {
  position: relative;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  transition: color 0.18s ease;
}

.nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -5px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--primary), var(--coral));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

.nav a:not(.btn):hover::after {
  transform: scaleX(1);
}

.nav a[href="jouer/"],
.nav a[href="../jouer/"] {
  color: var(--primary);
  font-weight: 800;
}

.nav a:hover {
  color: var(--primary);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  border: none;
  background: var(--bg);
  border-radius: 10px;
  padding: 0.5rem 0.65rem;
  font-size: 1.2rem;
  cursor: pointer;
}

/* Sous-menu du header (Légal) */

.nav-group {
  position: relative;
}

.nav-group-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0;
  border: 0;
  background: none;
  font-family: var(--font);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.18s ease;
}

.nav-group-toggle:hover,
.nav-group.is-open .nav-group-toggle {
  color: var(--primary);
}

.nav-caret {
  font-size: 0.7rem;
  transition: transform 0.2s ease;
}

.nav-group.is-open .nav-caret {
  transform: rotate(180deg);
}

.nav-group-menu {
  position: absolute;
  top: calc(100% + 0.85rem);
  right: 0;
  z-index: 10;
  display: grid;
  gap: 0.15rem;
  min-width: 230px;
  padding: 0.4rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(17, 13, 27, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}

.nav-group.is-open .nav-group-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.nav-group-menu a {
  padding: 0.6rem 0.75rem;
  border-radius: 10px;
  font-size: 0.9rem;
  transition: background 0.16s ease, color 0.16s ease;
}

.nav-group-menu a:hover {
  background: rgba(91, 43, 238, 0.07);
}

/* Le soulignement animé des liens du header n'a pas de sens dans le panneau. */
.nav-group-menu a::after {
  display: none;
}

/* Retour en haut */

.back-to-top {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--violet));
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(91, 43, 238, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s, box-shadow 0.22s ease;
}

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

.back-to-top:hover {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(91, 43, 238, 0.45);
}

.footer-top-link {
  color: inherit;
  font-weight: 700;
  text-decoration: none;
}

.footer-top-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--orange), var(--coral) 45%, var(--coral-dark));
  background-size: 160% 160%;
  color: #fff;
  box-shadow: 0 8px 22px rgba(255, 92, 92, 0.38);
  transition: transform 0.15s ease, box-shadow 0.25s ease, background-position 0.4s ease;
}

.btn-primary:hover {
  background-position: 100% 50%;
  box-shadow: 0 12px 30px rgba(255, 92, 92, 0.48);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.85);
  color: var(--primary);
  border: 2px solid rgba(91, 43, 238, 0.35);
  backdrop-filter: blur(6px);
  transition: transform 0.15s ease, border-color 0.2s ease, box-shadow 0.25s ease;
}

.btn-secondary:hover {
  border-color: var(--primary);
  box-shadow: 0 10px 26px rgba(91, 43, 238, 0.2);
}

.btn-small {
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
}

/* Hero */

.hero {
  position: relative;
  padding: 3.5rem 0 4rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 22%, rgba(91, 43, 238, 0.18), transparent 42%),
    radial-gradient(circle at 88% 12%, rgba(255, 92, 92, 0.14), transparent 38%),
    radial-gradient(circle at 50% 100%, rgba(155, 89, 245, 0.1), transparent 45%);
}

.hero > .container {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(91, 43, 238, 0.1);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--primary), var(--coral));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 34rem;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.35rem;
  padding: 0;
  margin: 1.65rem 0 0;
}

.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.hero-trust span {
  font-size: 0.95rem;
}

.hero-visual {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Smartphone réaliste */

.phone-device {
  position: relative;
  width: min(270px, 88vw);
  filter: drop-shadow(0 28px 42px rgba(17, 13, 27, 0.28));
}

.phone-frame {
  position: relative;
  padding: 11px;
  border-radius: 46px;
  background: linear-gradient(145deg, #3a3a3f 0%, #1c1c1f 45%, #0f0f12 100%);
  border: 1.5px solid #5a5a62;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    inset 0 -8px 16px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(0, 0, 0, 0.15);
}

.phone-btn {
  position: absolute;
  background: linear-gradient(90deg, #4a4a50, #2a2a2f);
  border-radius: 2px;
  z-index: 2;
}

.phone-btn--vol-up {
  left: -3px;
  top: 108px;
  width: 3px;
  height: 32px;
}

.phone-btn--vol-down {
  left: -3px;
  top: 150px;
  width: 3px;
  height: 32px;
}

.phone-btn--power {
  right: -3px;
  top: 124px;
  width: 3px;
  height: 52px;
}

.phone-display {
  position: relative;
  aspect-ratio: 9 / 19.5;
  border-radius: 36px;
  overflow: hidden;
  background: #000;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.phone-island {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 28px;
  background: #000;
  border-radius: 20px;
  z-index: 5;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.phone-island::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #1a2840, #06080f);
}

.phone-status {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 22px 0;
  font-size: 0.68rem;
  font-weight: 700;
  color: #fff;
  pointer-events: none;
}

.phone-status-icons {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 10px;
}

.phone-status-icons span {
  display: block;
  background: #fff;
  border-radius: 1px;
}

.phone-status-icons span:nth-child(1) {
  width: 3px;
  height: 4px;
  opacity: 0.5;
}

.phone-status-icons span:nth-child(2) {
  width: 3px;
  height: 6px;
  opacity: 0.75;
}

.phone-status-icons span:nth-child(3) {
  width: 3px;
  height: 9px;
}

.phone-app {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  font-size: 0.72rem;
}

.phone-top {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 2.5rem 0.7rem 0.6rem;
  background: linear-gradient(135deg, var(--orange), var(--coral) 55%, var(--coral-dark));
  color: #fff;
  flex-shrink: 0;
}

.mock-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.62rem;
  font-weight: 800;
  color: var(--coral-dark);
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
  flex-shrink: 0;
}

.mock-identity {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  flex: 1;
  min-width: 0;
}

.mock-identity strong {
  font-size: 0.68rem;
  font-weight: 800;
}

.mock-identity small {
  font-size: 0.55rem;
  opacity: 0.85;
}

.mock-coins {
  padding: 0.2rem 0.4rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.18);
  font-size: 0.55rem;
  font-weight: 700;
  white-space: nowrap;
}

.phone-body {
  flex: 1;
  padding: 0.7rem 0.65rem;
  background:
    radial-gradient(circle at 80% 0%, rgba(255, 255, 255, 0.14), transparent 55%),
    linear-gradient(180deg, var(--primary-dark), #3a1fb0);
  overflow: hidden;
  color: #fff;
}

.mock-timer {
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  overflow: hidden;
}

.mock-timer span {
  display: block;
  width: 68%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--amber), var(--coral));
}

.mock-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.55rem;
}

.mock-chip {
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 0.55rem;
  font-weight: 700;
}

.mock-progress {
  font-size: 0.55rem;
  opacity: 0.75;
  font-weight: 600;
}

.mock-question {
  margin-top: 0.6rem;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.35;
}

.mock-answers {
  display: flex;
  flex-direction: column;
  gap: 0.32rem;
  margin-top: 0.6rem;
}

.mock-answer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.4rem 0.5rem;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.58rem;
  font-weight: 600;
}

.mock-answer--good {
  background: linear-gradient(135deg, #10b981, #34d399);
  border-color: rgba(255, 255, 255, 0.35);
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
}

.mock-answer em {
  font-style: normal;
  font-size: 0.6rem;
}

.mock-streak {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.6rem;
  padding: 0.4rem 0.5rem;
  border-radius: 9px;
  background: rgba(255, 209, 102, 0.16);
  border: 1px solid rgba(255, 209, 102, 0.28);
  font-size: 0.56rem;
  font-weight: 700;
  color: var(--amber);
}

.mock-opponent {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.5rem;
  padding: 0.4rem 0.5rem;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.mock-opponent-avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.52rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--pink), var(--violet));
  flex-shrink: 0;
}

.mock-opponent-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  flex: 1;
  min-width: 0;
}

.mock-opponent-text strong {
  font-size: 0.57rem;
  font-weight: 800;
}

.mock-opponent-text small {
  font-size: 0.5rem;
  opacity: 0.7;
}

.mock-opponent-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.22);
  flex-shrink: 0;
}

.mock-nav {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0.5rem 0.4rem 1.1rem;
  background: rgba(255, 255, 255, 0.97);
  border-top: 1px solid rgba(17, 13, 27, 0.06);
  flex-shrink: 0;
}

.mock-nav-item {
  font-size: 0.72rem;
  opacity: 0.45;
  filter: grayscale(1);
}

.mock-nav-item:first-child {
  opacity: 1;
  filter: none;
}

.mock-nav-play {
  width: 32px;
  height: 32px;
  margin-top: -18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  color: #fff;
  background: linear-gradient(135deg, var(--coral), var(--coral-dark));
  border: 3px solid #fff;
  box-shadow: 0 6px 14px rgba(255, 92, 92, 0.45);
}

.phone-home-bar {
  position: absolute;
  bottom: 7px;
  left: 50%;
  transform: translateX(-50%);
  width: 108px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  z-index: 6;
}

.floating-chip {
  position: absolute;
  z-index: 2;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 26px rgba(91, 43, 238, 0.18);
  font-size: 0.78rem;
  font-weight: 700;
  animation: chipFloat 5s ease-in-out infinite;
}

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

@media (prefers-reduced-motion: reduce) {
  .floating-chip {
    animation: none;
  }
}

.chip-1 { top: 6%; right: -2%; color: var(--primary); animation-delay: -0.4s; }
.chip-2 { bottom: 22%; left: -8%; color: var(--coral); animation-delay: -1.9s; }
.chip-3 { bottom: 8%; right: -4%; color: var(--violet); animation-delay: -3.3s; }

/* Sections */

section {
  padding: 4rem 0;
}

section[id] {
  scroll-margin-top: 84px;
}

#features {
  background:
    linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.55) 18%, rgba(255, 255, 255, 0.55) 82%, transparent 100%);
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin: 0 0 0.75rem;
}

.section-head p {
  color: var(--text-muted);
  margin: 0;
}

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

.feature-card {
  position: relative;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
  box-shadow: 0 4px 14px rgba(17, 13, 27, 0.04);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: transparent;
  box-shadow: 0 18px 38px var(--accent-glow);
}

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

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  background: var(--accent);
  box-shadow: 0 8px 18px var(--accent-glow);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.feature-card:hover .feature-icon {
  transform: scale(1.08) rotate(-4deg);
}

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

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

/* Comment ça marche */

.how-section {
  padding: 3rem 0 4rem;
}

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.step {
  position: relative;
  padding: 1.75rem 1.4rem 1.5rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.step:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: 0 18px 38px var(--accent-glow);
}

.step-num {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: var(--accent);
  color: #fff;
  font-size: 1.15rem;
  font-weight: 800;
  box-shadow: 0 8px 18px var(--accent-glow);
  margin-bottom: 0.95rem;
}

.step h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
}

.step p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* Trait de liaison entre les étapes (desktop) */
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 40px;
  right: -0.85rem;
  width: 0.9rem;
  height: 2px;
  background: linear-gradient(90deg, var(--border), transparent);
}

.feature-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
}

.feature-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* Download */

.download-section {
  padding: 4rem 0 5rem;
}

.download-panel {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(135deg, #1f1933 0%, #3d2a7a 40%, #5b2bee 100%);
  box-shadow:
    0 24px 60px rgba(91, 43, 238, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.download-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}

.download-glow--1 {
  width: 280px;
  height: 280px;
  top: -80px;
  right: -40px;
  background: rgba(255, 92, 92, 0.35);
}

.download-glow--2 {
  width: 220px;
  height: 220px;
  bottom: -60px;
  left: -30px;
  background: rgba(155, 89, 245, 0.35);
}

.download-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
  padding: clamp(2rem, 5vw, 3rem);
}

.download-tag {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.download-copy h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  line-height: 1.15;
  color: #fff;
  letter-spacing: -0.02em;
}

.download-copy > p {
  margin: 0 0 1.25rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
  line-height: 1.65;
  max-width: 28rem;
}

.download-perks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.download-perks li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
  font-size: 0.92rem;
}

.download-perks li span {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  display: grid;
  place-items: center;
  font-size: 0.95rem;
}

.download-actions {
  text-align: center;
}

.download-actions-label {
  margin: 0 0 1rem;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.65);
}

.store-badges {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  align-items: stretch;
}

.store-badge {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1.15rem;
  background: #0a0a0c;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  color: #fff;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.store-badge:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  text-decoration: none;
}

.store-badge--live:hover {
  border-color: rgba(255, 255, 255, 0.4);
}

.store-badge-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  color: #fff;
}

.store-badge--google .store-badge-icon {
  color: #fff;
}

.store-badge-text {
  text-align: left;
  flex: 1;
}

.store-badge-text small {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  opacity: 0.75;
  line-height: 1.2;
}

.store-badge-text strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.store-badge-soon {
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.68rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.store-badge--live .store-badge-soon {
  display: none;
}

.download-note {
  margin: 1.15rem 0 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.5;
}

.download-note a {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.download-note a:hover {
  text-decoration: none;
}

/* Don */

.donate-section {
  padding: 0 0 5rem;
}

.donate-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(232, 67, 147, 0.18);
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 50px rgba(232, 67, 147, 0.12);
}

.donate-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--pink), var(--violet), var(--primary));
}

.donate-panel::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -90px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 67, 147, 0.16), transparent 68%);
  pointer-events: none;
}

.donate-copy,
.donate-choice {
  position: relative;
  z-index: 1;
}

.donate-tag,
.section-tag {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(232, 67, 147, 0.1);
  color: var(--pink);
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-tag {
  background: rgba(91, 43, 238, 0.1);
  color: var(--primary);
}

.donate-copy h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: -0.02em;
}

.donate-copy > p {
  margin: 0 0 1.35rem;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.65;
  max-width: 30rem;
}

.donate-perks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.donate-perks li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
}

.donate-perks li span {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 0.95rem;
  background: rgba(232, 67, 147, 0.1);
}

.donate-choice-label {
  margin: 0 0 0.85rem;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.tier-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.tier {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 1rem 1.1rem;
  border-radius: 16px;
  background: #fff;
  border: 1.5px solid var(--border);
  text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.22s ease;
}

.tier:hover {
  transform: translateY(-3px);
  border-color: var(--pink);
  box-shadow: 0 12px 28px rgba(232, 67, 147, 0.22);
  text-decoration: none;
}

.tier-emoji {
  font-size: 1.4rem;
  line-height: 1;
  margin-bottom: 0.3rem;
}

.tier strong {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.01em;
  transition: color 0.18s ease;
}

.tier:hover strong {
  color: var(--pink);
}

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

.donate-free {
  width: 100%;
  margin-top: 0.75rem;
}

.donate-note {
  margin: 1rem 0 0;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--text-muted);
}

/* Palier sans lien Stripe configuré */
.tier.is-unavailable,
.donate-free.is-unavailable {
  opacity: 0.72;
  cursor: default;
  pointer-events: none;
}

.donate-soon {
  margin: 1rem 0 0;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  background: rgba(91, 43, 238, 0.07);
  border: 1px solid rgba(91, 43, 238, 0.16);
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.donate-soon a {
  color: var(--primary);
  font-weight: 700;
}

.donate-warning {
  margin: 1rem 0 0;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  font-size: 0.8rem;
  line-height: 1.5;
  color: #92400e;
}

.donate-warning a {
  color: #92400e;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Contact & suggestions */

.contact-section {
  padding: 0 0 5rem;
}

.contact-panel {
  position: relative;
  overflow: hidden;
  max-width: 780px;
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border);
  box-shadow: 0 18px 48px rgba(91, 43, 238, 0.12);
  backdrop-filter: blur(10px);
}

.contact-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, #5b2bee, #9b59f5, #ff8e53);
}

.contact-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
  padding: 0.35rem;
  border-radius: 14px;
  background: rgba(91, 43, 238, 0.06);
}

.contact-tab {
  flex: 1 1 180px;
  padding: 0.7rem 0.9rem;
  border: 0;
  border-radius: 11px;
  background: transparent;
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.contact-tab:hover {
  color: var(--primary);
}

.contact-tab.is-active {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 4px 14px rgba(91, 43, 238, 0.14);
}

.contact-form {
  display: grid;
  gap: 1.1rem;
}

/* `display: grid` l'emporterait sinon sur l'attribut hidden des onglets inactifs. */
.contact-form[hidden],
.form-variant[hidden] {
  display: none;
}

/* Champ leurre anti-robots : invisible pour les humains. */
.form-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

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

.form-row--tight {
  gap: 0.75rem;
}

.form-field {
  display: grid;
  gap: 0.4rem;
}

.form-field > span {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  background: #fff;
  font-family: var(--font);
  font-size: 0.94rem;
  color: var(--text);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.form-field textarea {
  resize: vertical;
  min-height: 84px;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(91, 43, 238, 0.12);
}

.form-variant {
  display: grid;
  gap: 1.1rem;
  padding: 1.15rem;
  border-radius: 16px;
  background: rgba(91, 43, 238, 0.04);
  border: 1px dashed rgba(91, 43, 238, 0.18);
}

.form-hint {
  margin: -0.4rem 0 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.mcq-options {
  display: grid;
  gap: 0.6rem;
}

.mcq-option {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.mcq-option input[type="radio"] {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  accent-color: var(--primary);
  cursor: pointer;
}

.mcq-option input[type="text"] {
  flex: 1;
  padding: 0.65rem 0.85rem;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  background: #fff;
  font-family: var(--font);
  font-size: 0.92rem;
  color: var(--text);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.mcq-option input[type="text"]:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(91, 43, 238, 0.12);
}

.form-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.form-status {
  margin: 0;
  flex: 1 1 220px;
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.45;
}

.form-status.is-pending {
  color: var(--text-muted);
}

.form-status.is-success {
  color: #047857;
}

.form-status.is-error {
  color: #b91c1c;
}

.contact-note {
  margin: 1.75rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Stats strip */

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: -2rem;
  margin-bottom: 2rem;
}

.stat-box {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  box-shadow: 0 4px 14px rgba(17, 13, 27, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.stat-box::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--accent);
}

.stat-box::after {
  content: "";
  position: absolute;
  right: -30px;
  top: -30px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.09;
  pointer-events: none;
}

.stat-box:hover {
  transform: translateY(-3px);
  border-color: transparent;
  box-shadow: 0 12px 28px var(--accent-glow);
}

.stat-icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  background: var(--accent);
  box-shadow: 0 6px 16px var(--accent-glow);
}

.stat-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  min-width: 0;
}

.stat-box strong {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--accent-solid);
}

.stat-box .stat-text span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Legal pages */

.legal-page {
  padding: 2.5rem 0 4rem;
}

.legal-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-top: 4px solid var(--primary);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: 0 4px 14px rgba(17, 13, 27, 0.05);
}

.legal-card h1 {
  color: var(--primary);
  margin-top: 0;
  font-size: clamp(1.6rem, 3vw, 2rem);
}

.legal-card h2 {
  font-size: 1.05rem;
  margin-top: 1.75rem;
  color: var(--text);
}

.legal-card p,
.legal-card li {
  color: var(--text);
}

.legal-meta {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 1.25rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
}

.legal-back:hover {
  color: var(--primary);
  text-decoration: none;
}

.legal-summary {
  margin: 1.5rem 0 2rem;
  padding: 1.1rem 1.25rem;
  border-radius: 14px;
  background: rgba(91, 43, 238, 0.05);
  border: 1px solid rgba(91, 43, 238, 0.14);
}

.legal-summary h2 {
  margin-top: 0;
}

.legal-summary ul {
  margin: 0;
  padding-left: 1.15rem;
}

.legal-summary li + li {
  margin-top: 0.35rem;
}

.legal-card h3 {
  margin: 1.25rem 0 0.4rem;
  font-size: 0.95rem;
  color: var(--text);
}

.legal-card table {
  width: 100%;
  margin: 0.75rem 0 0;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.legal-card th,
.legal-card td {
  padding: 0.6rem 0.7rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

.legal-card th {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text-muted);
}

.legal-table-wrap {
  overflow-x: auto;
}

/* Footer */

.site-footer {
  position: relative;
  background: #120e1f;
  color: #c8bfdc;
  padding: 0 0 1.75rem;
  margin-top: 0;
  overflow: hidden;
}

.footer-wave {
  height: 4px;
  background: linear-gradient(90deg, var(--coral), var(--primary), var(--violet), var(--pink));
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 2rem;
  padding: 3rem 0 2rem;
}

.footer-logo {
  color: #fff !important;
  margin-bottom: 0.85rem;
}

.footer-brand p {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 22rem;
  color: #a99ecb;
}

.footer-badges-mini {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-badges-mini span {
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.75rem;
  font-weight: 600;
  color: #d8d2ef;
}

.footer-col h4 {
  color: #fff;
  margin: 0 0 0.85rem;
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-col p {
  margin: 0 0 1rem;
  font-size: 0.85rem;
  line-height: 1.6;
  color: #a99ecb;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.55rem;
}

.footer-links a {
  color: #c8bfdc;
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: #fff;
  text-decoration: none;
}

.footer-mail-btn {
  width: 100%;
  max-width: 200px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.25rem;
  font-size: 0.8rem;
  color: #7a7194;
}

.footer-dot {
  opacity: 0.5;
}

/* Responsive */

@media (max-width: 940px) {
  .features-grid,
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .donate-panel {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .step:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 860px) {
  .hero-trust {
    justify-content: center;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

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

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

  .hero-visual {
    min-height: 480px;
    margin-top: 1.5rem;
  }

  .phone-btn--vol-up,
  .phone-btn--vol-down,
  .phone-btn--power {
    display: none;
  }

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

  .download-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .download-copy > p {
    margin-left: auto;
    margin-right: auto;
  }

  .download-perks {
    align-items: center;
  }

  .store-badges {
    max-width: 340px;
    margin: 0 auto;
  }

  .footer-top {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand p {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-badges-mini {
    justify-content: center;
  }

  .footer-mail-btn {
    margin: 0 auto;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 1rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  }

  .nav.open {
    display: flex;
  }

  /* Dans le panneau mobile, le sous-menu se déplie en place plutôt qu'en survol. */
  .nav-group-menu {
    position: static;
    display: none;
    min-width: 0;
    margin-top: 0.5rem;
    padding: 0.25rem 0 0.25rem 0.85rem;
    border: 0;
    border-left: 2px solid var(--border);
    border-radius: 0;
    background: none;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-group.is-open .nav-group-menu {
    display: grid;
  }

  .back-to-top {
    right: 1rem;
    bottom: 1rem;
    width: 42px;
    height: 42px;
  }

  .site-header {
    position: relative;
  }

  .site-header .container {
    position: relative;
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: block;
  }
}

@media (max-width: 620px) {
  .features-grid,
  .steps {
    grid-template-columns: 1fr;
  }

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

  .contact-tab {
    flex: 1 1 100%;
  }
}

@media (max-width: 560px) {
  .stat-box {
    gap: 0.6rem;
    padding: 0.85rem 0.9rem;
  }

  .stat-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    font-size: 1.1rem;
  }

  .stat-box strong {
    font-size: 1.1rem;
  }

  .stat-box .stat-text span {
    font-size: 0.75rem;
  }
}
