/* =============================================
   LOCK IN — Landing
   Style: neobrutalism / app-like, mobile-first
   ============================================= */

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

:root {
  --bg: #F5F7FB;
  --bg-card: #FFFFFF;
  --bg-dark: #0A0E1A;
  --ink: #0A0E1A;
  --muted: #6B7280;

  --blue: #1E90FF;
  --blue-dk: #0F76E0;
  --blue-light: #E8F2FF;
  --blue-pill: #D5EBFF;

  --orange: #FF9F43;
  --orange-light: #FFE8C7;

  --green: #34C759;
  --green-light: #D7F3DE;

  --purple: #7C5CFA;
  --purple-light: #E8DFFA;

  --red: #FF4D4F;

  --border: 3px solid var(--ink);
  --shadow: 4px 4px 0 var(--ink);
  --shadow-lg: 6px 6px 0 var(--ink);
  --shadow-sm: 3px 3px 0 var(--ink);

  --radius: 20px;
  --radius-sm: 12px;
  --radius-pill: 999px;

  --font: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
}

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

/* ========== TOP BANNER ========== */
.top-banner {
  background: var(--ink);
  color: #fff;
  text-align: center;
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  position: relative;
  z-index: 60;
}

.top-banner strong {
  color: var(--blue);
  font-weight: 800;
}

.top-banner .flame {
  display: inline-block;
  animation: shake 1.6s ease-in-out infinite;
}

@keyframes shake {
  0%, 100% { transform: rotate(0) }
  25% { transform: rotate(-8deg) }
  75% { transform: rotate(8deg) }
}

/* ========== HEADER ========== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
  background: var(--bg-card);
  border-bottom: var(--border);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
}

.logo-mark {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  background: var(--blue);
  border: var(--border);
  border-radius: 8px;
  box-shadow: 2px 2px 0 var(--ink);
  font-size: 0.85rem;
  line-height: 1;
}

.logo-accent {
  color: var(--blue);
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.95rem 1.6rem;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  border: var(--border);
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow);
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s;
  white-space: nowrap;
}

.btn:hover {
  transform: translate(-1px, -1px);
  box-shadow: 5px 5px 0 var(--ink);
}

.btn:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--ink);
}

.btn-primary {
  background: var(--blue);
  color: #fff;
}

.btn-primary:hover { background: var(--blue-dk); }

.btn-sm {
  padding: 0.55rem 0.95rem;
  font-size: 0.85rem;
  box-shadow: var(--shadow-sm);
}

.btn[disabled] {
  cursor: not-allowed;
  opacity: 0.7;
}

.btn-spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 3px solid rgba(255,255,255,0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
.btn.is-loading .btn-label { display: none; }
.btn.is-loading .btn-spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ========== TYPO + HELPERS ========== */
h1, h2, h3, h4 {
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--ink);
}

.eyebrow {
  display: inline-block;
  background: var(--blue-pill);
  color: var(--blue);
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.7rem;
  border-radius: var(--radius-pill);
  border: 2px solid var(--blue);
  margin-bottom: 1rem;
}

.eyebrow-light {
  background: rgba(30, 144, 255, 0.18);
  color: var(--blue);
  border-color: var(--blue);
}

.h-blue { color: var(--blue); }
.h-blue-light { color: var(--blue); }
.h-light { color: #fff; }

.strike {
  text-decoration-thickness: 4px;
  text-decoration-color: var(--red);
  position: relative;
}

.section-head {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-head h2 {
  font-size: clamp(1.75rem, 6vw, 2.75rem);
}

.section-head-light h2,
.section-head-light .section-lead-light {
  color: #fff;
}

.section-lead-light {
  color: rgba(255, 255, 255, 0.7);
  max-width: 560px;
  margin: 1rem auto 0;
  font-size: 1rem;
}

/* ========== SECTIONS layout ========== */
section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 1.25rem;
}

/* ========== HERO ========== */
.hero {
  padding-top: 2.5rem;
  padding-bottom: 3rem;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--blue-pill);
  color: var(--blue);
  border: 2px solid var(--blue);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 1.25rem;
}

.hero-badge .dot {
  width: 8px; height: 8px;
  background: var(--blue);
  border-radius: 50%;
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(30, 144, 255, 0.5); }
  60% { box-shadow: 0 0 0 8px rgba(30, 144, 255, 0); }
}

.hero h1 {
  font-size: clamp(2.25rem, 9vw, 4rem);
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
}

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

.hero-lead strong { color: var(--ink); }

/* signup form (used in hero & final CTA) */
.signup-form {
  width: 100%;
  max-width: 520px;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.input-group input {
  width: 100%;
  padding: 1rem 1.15rem;
  background: #fff;
  border: var(--border);
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  outline: none;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.15s, transform 0.15s;
}

.input-group input::placeholder {
  color: #B8BCC7;
  font-weight: 500;
}

.input-group input:focus {
  box-shadow: var(--shadow);
  transform: translate(-1px, -1px);
}

.input-group .btn { width: 100%; }

.form-note {
  margin-top: 0.85rem;
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 600;
}

.form-message {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  font-weight: 700;
  min-height: 1.4em;
}
.form-message.success { color: var(--green); }
.form-message.error { color: var(--red); }

.social-proof {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.avatars {
  display: flex;
}

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--c, var(--blue));
  border: 2px solid var(--ink);
  margin-left: -10px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  box-shadow: 1px 1px 0 var(--ink);
}

.avatar:first-child { margin-left: 0; }

.avatar-more {
  background: #fff;
  color: var(--ink);
}

.social-proof-text {
  font-size: 0.92rem;
  color: var(--muted);
  font-weight: 600;
}

.social-proof-text strong {
  color: var(--ink);
  font-weight: 800;
}

/* Mascot */
.hero-mascot {
  position: relative;
  display: grid;
  place-items: center;
  padding: 1rem 0;
}

.mascot-img {
  position: relative;
  z-index: 2;
  width: min(85%, 340px);
  height: auto;
  filter: drop-shadow(4px 4px 0 rgba(0,0,0,0.12));
  animation: floaty 5s ease-in-out infinite;
}

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

.mascot-blob {
  position: absolute;
  width: 75%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(30,144,255,0.22), transparent 65%);
  border-radius: 50%;
  z-index: 1;
  filter: blur(8px);
}

.mascot-bubble {
  position: absolute;
  top: 10%;
  left: 4%;
  z-index: 3;
  background: #fff;
  border: var(--border);
  border-radius: 18px;
  padding: 0.65rem 0.95rem;
  box-shadow: var(--shadow-sm);
  font-weight: 700;
  font-size: 0.9rem;
  max-width: 180px;
  animation: bubbleIn 0.6s 0.3s both;
}

.mascot-bubble::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 24px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-right: var(--border);
  border-bottom: var(--border);
  transform: rotate(45deg);
}

@keyframes bubbleIn {
  from { opacity: 0; transform: scale(0.7) translateY(-6px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

/* ========== BEFORE / AFTER ========== */
.ba-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.ba-card {
  position: relative;
  background: #fff;
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem 1.5rem 1.75rem;
  overflow: hidden;
  transition: transform 0.15s, box-shadow 0.15s;
}

.ba-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-lg);
}

.ba-card-bad { background: #FFF1F1; }
.ba-card-good { background: #EFF8FF; }

.ba-img-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.ba-img {
  width: 200px;
  max-width: 100%;
  height: auto;
  filter: drop-shadow(3px 3px 0 rgba(0,0,0,0.08));
}

.ba-card-bad .ba-img {
  filter: drop-shadow(3px 3px 0 rgba(0,0,0,0.08)) grayscale(0.4);
  opacity: 0.85;
}

.ba-tag {
  display: inline-block;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-pill);
  border: 2px solid var(--ink);
  font-weight: 800;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  margin-bottom: 0.6rem;
  box-shadow: 2px 2px 0 var(--ink);
}

.ba-tag-bad { background: var(--red); color: #fff; }
.ba-tag-good { background: var(--blue); color: #fff; }

.ba-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.85rem;
}

.ba-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
}

.ba-list li {
  padding-left: 1.4rem;
  position: relative;
}

.ba-card-bad .ba-list li::before {
  content: "✗";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--red);
  font-weight: 800;
  font-size: 1.05rem;
  line-height: 1.5;
}

.ba-card-good .ba-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--blue);
  font-weight: 800;
  font-size: 1.05rem;
  line-height: 1.5;
}

/* ========== COMMUNITY ========== */
.community-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

.community-img-wrap {
  display: flex;
  justify-content: center;
  position: relative;
}

.community-img {
  width: min(85%, 360px);
  height: auto;
  filter: drop-shadow(5px 5px 0 rgba(0,0,0,0.1));
}

.community-text .eyebrow { margin-bottom: 0.85rem; }

.community-text h2 {
  font-size: clamp(1.75rem, 6vw, 2.75rem);
  margin-bottom: 1rem;
}

.community-lead {
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.community-stats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
}

.community-stats li {
  background: #fff;
  border: var(--border);
  border-radius: 14px;
  box-shadow: 2px 2px 0 var(--ink);
  padding: 0.85rem 0.5rem;
  text-align: center;
}

.community-stats strong {
  display: block;
  font-family: var(--font);
  font-size: clamp(1.2rem, 4vw, 1.65rem);
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
}

.community-stats span {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 0.4rem;
}

/* ========== Mini mascot decoration ========== */
.preview-mini-mascot {
  width: 72px;
  height: auto;
  margin-bottom: 1.25rem;
  filter: drop-shadow(2px 2px 0 rgba(0,0,0,0.1));
  animation: floaty 5s ease-in-out infinite;
}

/* ========== WHY (features) ========== */
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.why-card {
  background: #fff;
  border: var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: transform 0.15s, box-shadow 0.15s;
}

.why-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-lg);
}

.why-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  border: var(--border);
  box-shadow: 2px 2px 0 var(--ink);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.why-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

.why-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ========== HOW (steps) ========== */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.step-card {
  position: relative;
  background: #fff;
  border: var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem 1.5rem;
  box-shadow: var(--shadow);
}

.step-num {
  position: absolute;
  top: -16px;
  left: 16px;
  background: var(--blue);
  color: #fff;
  border: var(--border);
  border-radius: 10px;
  padding: 0.25rem 0.7rem;
  font-weight: 800;
  font-size: 0.9rem;
  box-shadow: 2px 2px 0 var(--ink);
}

.step-card h3 { font-size: 1.2rem; margin-bottom: 0.4rem; margin-top: 0.5rem; }
.step-card p { color: var(--muted); font-size: 0.95rem; }

/* ========== RANKS (dark) ========== */
.ranks {
  max-width: none;
  background: var(--bg-dark);
  padding: 5rem 1.25rem;
  margin: 4rem 0;
  position: relative;
  overflow: hidden;
}

.ranks::before,
.ranks::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.6;
}
.ranks::before { background: rgba(30,144,255,0.4); top: -80px; right: -80px; }
.ranks::after { background: rgba(124,92,250,0.3); bottom: -80px; left: -80px; }

.ranks .section-head {
  position: relative;
  z-index: 1;
}

.ranks-img {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  border-radius: var(--radius);
}

/* ========== PREVIEW (phone mockup) ========== */
.preview-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

.preview-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.preview-list li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.pl-bullet {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: var(--border);
  box-shadow: 2px 2px 0 var(--ink);
  font-size: 1rem;
  flex-shrink: 0;
  font-weight: 800;
}

.preview-list h4 {
  font-size: 1rem;
  margin-bottom: 0.15rem;
}

.preview-list p {
  font-size: 0.9rem;
  color: var(--muted);
}

.phone-wrap {
  display: flex;
  justify-content: center;
}

.phone {
  width: 290px;
  background: var(--ink);
  border-radius: 38px;
  padding: 10px;
  border: 4px solid var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
}

.phone-notch {
  width: 100px;
  height: 22px;
  background: var(--ink);
  border-radius: 0 0 14px 14px;
  margin: 0 auto 6px;
}

.phone-screen {
  background: var(--bg);
  border-radius: 28px;
  padding: 1rem;
  min-height: 540px;
}

.app-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.app-top h3 { font-size: 1.6rem; font-weight: 800; }

.app-pill {
  background: var(--blue-pill);
  color: var(--blue);
  font-weight: 800;
  font-size: 0.75rem;
  padding: 0.3rem 0.55rem;
  border-radius: var(--radius-pill);
  border: 2px solid var(--blue);
}

.app-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 1rem;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 16px;
  padding: 8px 4px;
  box-shadow: 2px 2px 0 var(--ink);
}

.day {
  display: grid;
  place-items: center;
  gap: 2px;
  padding: 4px 0;
  font-size: 0.65rem;
}

.day-lbl {
  font-weight: 700;
  color: var(--muted);
  font-size: 0.65rem;
}

.day-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #F5F5F8;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.78rem;
  color: var(--ink);
}

.day.done .day-num {
  background: var(--blue);
  color: #fff;
}

.day.active .day-num {
  background: var(--blue);
  color: #fff;
  outline: 3px solid var(--blue-pill);
  outline-offset: 2px;
}

.day.active .day-lbl { color: var(--blue); }

.app-section-title {
  font-size: 0.92rem;
  margin-bottom: 0.5rem;
}

.app-card {
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 16px;
  padding: 0.75rem;
  box-shadow: 2px 2px 0 var(--ink);
}

.app-item {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  gap: 0.6rem;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid #ECEEF3;
}
.app-item:last-child { border-bottom: 0; padding-bottom: 0; }
.app-item:first-child { padding-top: 0; }

.app-time {
  font-weight: 800;
  font-size: 0.85rem;
}

.app-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 0.95rem;
  color: #fff;
}

.app-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.app-meta strong { font-size: 0.92rem; }
.app-meta span { font-size: 0.7rem; color: var(--muted); }

.app-bell { font-size: 0.95rem; }

/* ========== FAQ ========== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  background: #fff;
  border: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.12s, box-shadow 0.12s;
}

.faq-item[open] {
  transform: translate(-1px, -1px);
  box-shadow: var(--shadow-lg);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-weight: 800;
  font-size: 1rem;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--blue-pill);
  color: var(--blue);
  border: 2px solid var(--blue);
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
}

.faq-item p {
  padding: 0 1.25rem 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.faq-item strong { color: var(--ink); }

/* ========== FINAL CTA ========== */
.final-cta {
  padding: 3rem 1.25rem 5rem;
}

.final-card {
  position: relative;
  background: #fff;
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 2.5rem 1.5rem 2rem;
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
  overflow: hidden;
}

.final-card::before {
  content: "";
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 320px;
  height: 200px;
  background: radial-gradient(circle, rgba(30,144,255,0.18), transparent 70%);
  pointer-events: none;
}

.final-mascot {
  width: 120px;
  height: auto;
  margin: 0 auto 0.5rem;
  position: relative;
  z-index: 1;
}

.final-card h2 {
  font-size: clamp(1.7rem, 6vw, 2.4rem);
  margin-bottom: 0.75rem;
}

.final-lead {
  color: var(--muted);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.final-lead strong { color: var(--red); font-weight: 800; }

.final-card .signup-form {
  margin: 0 auto;
}

/* ========== FOOTER ========== */
.footer {
  background: #fff;
  border-top: var(--border);
  padding: 1.5rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--muted);
}

/* =============================================
   PAGE MERCI
   ============================================= */
.page-thanks {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.thanks {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 2.5rem 1.25rem 4rem;
}

.thanks-inner {
  width: 100%;
  max-width: 640px;
  text-align: center;
}

.thanks-mascot {
  width: 130px;
  height: auto;
  margin: 0 auto 1rem;
  animation: floaty 5s ease-in-out infinite;
}

.thanks h1 {
  font-size: clamp(2rem, 8vw, 3rem);
  margin: 0.4rem 0 0.8rem;
}

.thanks-lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 480px;
  margin: 0 auto 2rem;
  font-weight: 600;
}

.thanks-lead strong { color: var(--ink); font-weight: 800; }

/* ========== SMS CARD (page merci — bonus optionnel) ========== */
.sms-card {
  background: #fff;
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 1.75rem 1.5rem 1.5rem;
  margin: 0 auto 1.5rem;
  max-width: 560px;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.sms-card::before {
  content: "";
  position: absolute;
  inset: -50px;
  background: radial-gradient(circle at 50% 0%, rgba(30,144,255,0.18), transparent 60%);
  pointer-events: none;
}

.sms-head { position: relative; margin-bottom: 1.25rem; }

.sms-tag {
  display: inline-block;
  background: #FFE8C7;
  color: #B85C00;
  border: 2px solid #B85C00;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-pill);
  box-shadow: 2px 2px 0 var(--ink);
  margin-bottom: 0.85rem;
}

.sms-head h3 {
  font-size: clamp(1.2rem, 4.5vw, 1.5rem);
  margin-bottom: 0.5rem;
  line-height: 1.15;
}

.sms-lead {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.sms-lead strong { color: var(--ink); font-weight: 800; }

.phone-form {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.phone-row {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
}

.phone-country {
  appearance: none;
  -webkit-appearance: none;
  background: var(--blue-light);
  border: var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  padding: 0 0.85rem;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  outline: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230A0E1A' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.6rem center;
  background-size: 10px;
  padding-right: 1.8rem;
  flex-shrink: 0;
  min-width: 105px;
}

.phone-country:focus {
  box-shadow: var(--shadow);
  transform: translate(-1px, -1px);
}

.phone-row input[type="tel"] {
  flex: 1;
  min-width: 0;
  padding: 1rem 1.15rem;
  background: #fff;
  border: var(--border);
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  outline: none;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.15s, transform 0.15s;
  letter-spacing: 0.02em;
}

.phone-row input[type="tel"]:focus {
  box-shadow: var(--shadow);
  transform: translate(-1px, -1px);
}

.phone-row input[type="tel"]::placeholder {
  color: #B8BCC7;
  font-weight: 500;
}

.phone-submit { width: 100%; }

.sms-skip {
  display: block;
  margin: 1rem auto 0;
  padding: 0.4rem 0.75rem;
  background: transparent;
  border: none;
  color: var(--muted);
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sms-skip:hover { color: var(--ink); }

/* État succès */
.sms-success {
  background: #ECFDF3;
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem 1.25rem;
  max-width: 560px;
  margin: 0 auto 1.5rem;
  text-align: center;
}

.sms-success-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  border: 2px solid var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
  margin: 0 auto 0.85rem;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  font-weight: 800;
}

.sms-success h3 {
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
}

.sms-success p {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

/* ========== COUNTDOWN CARD ========== */
.countdown-card {
  background: #fff;
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 1.75rem 1rem 1.5rem;
  margin: 0 auto 1.5rem;
  max-width: 560px;
  position: relative;
  overflow: hidden;
}

.countdown-card::before {
  content: "";
  position: absolute;
  inset: -40px;
  background: radial-gradient(circle at center top, rgba(30,144,255,0.15), transparent 60%);
  pointer-events: none;
}

.countdown-label {
  position: relative;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1.25rem;
}

.countdown {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}

.cd-unit {
  background: var(--blue-light);
  border: 2px solid var(--ink);
  border-radius: 14px;
  padding: 0.85rem 0.4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 2px 2px 0 var(--ink);
}

.cd-num {
  font-family: var(--font);
  font-size: clamp(1.7rem, 6vw, 2.4rem);
  font-weight: 800;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  line-height: 1;
  letter-spacing: -0.02em;
}

.cd-lbl {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue);
  margin-top: 0.4rem;
}

.countdown-date {
  position: relative;
  margin-top: 1.25rem;
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 700;
  text-transform: capitalize;
}

.thanks-tip {
  background: #FFF8E7;
  border: var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
  margin: 0 auto 1.5rem;
  max-width: 560px;
  text-align: left;
  font-weight: 600;
}

.thanks-tip strong { color: var(--ink); font-weight: 800; }

.thanks-actions {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* =============================================
   RESPONSIVE — Desktop ≥ 760px
   ============================================= */
@media (min-width: 760px) {
  section { padding: 5rem 2rem; }

  .hero-grid {
    grid-template-columns: 1.05fr 1fr;
    gap: 3rem;
  }

  .hero-mascot { padding: 0; }

  .input-group {
    flex-direction: row;
    align-items: stretch;
  }

  .input-group input { flex: 1; }
  .input-group .btn { width: auto; flex-shrink: 0; }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

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

  .preview-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .ba-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .ba-img { width: 240px; }

  .community-grid {
    grid-template-columns: 1fr 1.1fr;
    gap: 3rem;
  }

  .ranks {
    padding: 6rem 2rem;
  }

  .final-card {
    padding: 3rem 2.5rem 2.5rem;
  }
}

@media (min-width: 1024px) {
  .why-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
