/* Forjum marketing site — palette aligned with lib/ui/app_theme.dart */

:root {
  --black: #0a0a0a;
  --white: #ffffff;
  --gray-50: #fafafa;
  --gray-100: #f5f5f5;
  --gray-200: #eeeeee;
  --gray-300: #e0e0e0;
  --gray-600: #757575;
  --gray-800: #424242;
  --gray-900: #121212;

  --cyan: #00bcd4;
  --cyan-light: #b2ebf2;
  --cyan-dark: #005e69;
  --magenta: #e91e63;
  --magenta-light: #f8bbd0;
  --success: #00c853;
  --error: #ef5350;

  --stat-might: #e53935;
  --stat-agility: #ffb300;
  --stat-vitality: #43a047;
  --stat-spirit: #7e57c2;
  --stat-presence: #26c6da;

  --bg: var(--gray-50);
  --surface: var(--white);
  --surface-dark: var(--gray-900);
  --text: var(--black);
  --text-muted: var(--gray-600);
  --text-on-dark: var(--white);
  --text-muted-dark: #bdbdbd;
  --border: var(--gray-300);
  --border-dark: var(--gray-800);

  --radius: 14px;
  --radius-sm: 10px;
  --nav-h: 3.5rem;
  --max-w: 1080px;
  --font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: "Cinzel", Georgia, serif;
}

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

html { scroll-behavior: smooth; }

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

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

a { color: var(--cyan); }

.container {
  width: min(100% - 2rem, var(--max-w));
  margin-inline: auto;
}

/* ── Nav ── */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 200;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  background: rgba(250, 250, 250, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(10, 10, 10, 0.08);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.nav-logo img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.nav-logo span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--cyan);
  letter-spacing: 0.1em;
}

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

.nav-download {
  display: none;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-sm);
  background: var(--cyan);
  color: var(--black);
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0.4rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-drawer {
  position: fixed;
  inset: var(--nav-h) 0 0;
  z-index: 190;
  background: var(--white);
  padding: 1.25rem;
  transform: translateX(100%);
  transition: transform 0.25s ease;
  border-left: 1px solid var(--border);
  overflow-y: auto;
}

.nav-drawer.open { transform: translateX(0); }

.nav-drawer a {
  display: block;
  padding: 0.85rem 0;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid var(--gray-200);
}

.nav-drawer a:hover { color: var(--cyan); }

.lang-switch {
  display: flex;
  gap: 0.25rem;
  margin-top: 1rem;
}

.lang-btn {
  padding: 0.35rem 0.6rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  display: inline-block;
  line-height: 1.2;
}

.lang-btn.active,
.lang-btn:hover {
  background: var(--cyan);
  color: var(--black);
  border-color: var(--cyan);
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

.nav-desktop a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
}

.nav-desktop a:hover { color: var(--text); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary {
  background: var(--cyan);
  color: var(--black);
  box-shadow: 0 4px 20px rgba(0, 188, 212, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 188, 212, 0.45);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}

.btn-ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.btn-row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}

.btn-row .btn { width: 100%; }

/* ── Hero ── */
.hero {
  padding: calc(var(--nav-h) + 1.5rem) 1rem 2.5rem;
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-glow::before,
.hero-glow::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.hero-glow::before {
  width: 280px;
  height: 280px;
  top: -60px;
  left: -80px;
  background: rgba(0, 188, 212, 0.18);
}

.hero-glow::after {
  width: 220px;
  height: 220px;
  top: 120px;
  right: -60px;
  background: rgba(233, 30, 99, 0.1);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: var(--max-w);
  margin-inline: auto;
}

.hero-copy { order: 1; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  background: rgba(0, 188, 212, 0.1);
  border: 1px solid rgba(0, 188, 212, 0.25);
  color: var(--cyan-dark);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 5.5vw, 3rem);
  font-weight: 900;
  line-height: 1.08;
  margin-bottom: 0.85rem;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--cyan), var(--magenta));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
}

.chip {
  padding: 0.28rem 0.7rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 500;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.chip-accent {
  background: rgba(0, 188, 212, 0.08);
  border-color: rgba(0, 188, 212, 0.22);
  color: var(--cyan-dark);
}

.hero-visual {
  order: 2;
  display: flex;
  justify-content: center;
}

.phone-frame {
  position: relative;
  width: min(220px, 72vw);
  background: #161616;
  border-radius: 36px;
  border: 2px solid #2a2a2a;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(0, 188, 212, 0.12);
}

.phone-frame::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 72px;
  height: 22px;
  background: #0d0d0d;
  border-radius: 14px;
  z-index: 2;
}

.phone-frame img {
  width: 100%;
  margin-top: -18px;
}

/* ── Platforms ── */
.platforms {
  padding: 1.5rem 1rem;
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.platforms-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2rem;
  max-width: var(--max-w);
  margin-inline: auto;
}

.platform-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.platform-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  background: var(--gray-100);
  border: 1px solid var(--border);
}

/* ── Stats ribbon ── */
.stats-ribbon {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.stat-cell {
  padding: 1.5rem 1rem;
  text-align: center;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stat-cell:nth-child(2n) { border-right: none; }
.stat-cell:nth-last-child(-n+2) { border-bottom: none; }

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--cyan);
  line-height: 1;
}

.stat-lbl {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.5rem;
}

/* ── Sections ── */
section { padding: 3.5rem 1rem; }

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--magenta);
  margin-bottom: 0.6rem;
}

.section-h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.section-sub {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 2rem;
  max-width: 36rem;
}

.band-dark {
  background: var(--surface-dark);
  color: var(--text-on-dark);
}

.band-dark .section-sub { color: var(--text-muted-dark); }
.band-dark .section-label { color: var(--cyan); }

.center { text-align: center; }
.center .section-sub { margin-inline: auto; }

/* ── RPG Stats ── */
.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.stat-card {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem 1.1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  border-left: 3px solid var(--stat-color, var(--cyan));
  position: relative;
}

.stat-abbr {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  opacity: 0.55;
}

.stat-card-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--stat-color, var(--cyan));
  margin-top: 0.35rem;
  flex-shrink: 0;
}

.stat-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

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

.stat-might { --stat-color: var(--stat-might); }
.stat-agility { --stat-color: var(--stat-agility); }
.stat-vitality { --stat-color: var(--stat-vitality); }
.stat-spirit { --stat-color: var(--stat-spirit); }
.stat-presence { --stat-color: var(--stat-presence); }

/* ── Features ── */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--magenta));
}

.feature-icon { font-size: 1.5rem; margin-bottom: 0.65rem; }

.feature-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

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

.band-dark .feature-card {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-dark);
}

.band-dark .feature-card h3 { color: var(--text-on-dark); }
.band-dark .feature-card p { color: var(--text-muted-dark); }

/* ── Flow steps ── */
.flow-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.flow-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.flow-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--cyan);
  color: var(--black);
  font-size: 0.8rem;
  font-weight: 800;
  margin-bottom: 0.65rem;
}

.flow-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--text-on-dark);
}

.flow-card p {
  font-size: 0.85rem;
  color: var(--text-muted-dark);
  line-height: 1.55;
}

.flow-card-light {
  background: var(--white);
  border-color: var(--border);
}

.flow-card-light h3 { color: var(--text); }
.flow-card-light p { color: var(--text-muted); }

.flow-grid-light { background: transparent; padding: 0; }

/* ── How it works — 3 steps horizontal ── */
.how-steps {
  width: min(100% - 2.5rem, 1120px);
  padding: clamp(3.5rem, 9vw, 5rem) 0 clamp(2.5rem, 5vw, 3.5rem);
}

.how-steps-header {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.how-steps-header .section-label {
  display: inline-block;
  margin-bottom: 0.85rem;
}

.how-steps-title {
  font-family: var(--font);
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text-on-dark);
  line-height: 1.08;
  margin-bottom: 0.85rem;
}

.how-steps-lede {
  font-size: clamp(0.875rem, 1.5vw, 0.9375rem);
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.65;
  max-width: 36em;
  margin-inline: auto;
}

.how-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  align-items: start;
}

.how-step {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto 1fr;
  grid-template-areas:
    "num phone"
    "copy copy";
  column-gap: 1rem;
  row-gap: 1.25rem;
  padding: 0 clamp(1rem, 2vw, 1.75rem);
  text-align: left;
}

.how-step:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.how-step:first-child { padding-left: 0; }
.how-step:last-child { padding-right: 0; }

.how-step-num {
  grid-area: num;
  font-family: var(--font);
  font-size: clamp(2.5rem, 4vw, 3.25rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: rgba(255, 255, 255, 0.07);
  user-select: none;
  align-self: start;
}

.how-step-phone {
  grid-area: phone;
  width: min(108px, 22vw);
  flex-shrink: 0;
  align-self: start;
  justify-self: end;
}

.how-step-copy {
  grid-area: copy;
  min-width: 0;
}

.how-step-copy h3 {
  font-size: clamp(0.8125rem, 1.4vw, 0.9375rem);
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-on-dark);
  margin-bottom: 0.65rem;
  line-height: 1.25;
}

.how-step-copy > p:not(.how-step-tag) {
  font-size: clamp(0.8125rem, 1.35vw, 0.875rem);
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.65;
  margin-bottom: 0.85rem;
}

.how-step-tag {
  font-size: 0.6875rem !important;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.5 !important;
  color: var(--cyan) !important;
  margin-bottom: 0 !important;
}

@media (max-width: 767px) {
  .how-steps-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .how-step {
    grid-template-columns: minmax(72px, 26vw) 1fr;
    grid-template-areas:
      "num num"
      "phone copy";
    border-right: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0 0 2rem !important;
    margin-bottom: 2rem;
  }

  .how-step:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0 !important;
  }

  .how-step-phone {
    width: min(72px, 26vw);
    justify-self: start;
  }
}

@media (min-width: 768px) and (max-width: 960px) {
  .how-step {
    padding-inline: clamp(0.65rem, 1.5vw, 1rem);
  }

  .how-step-phone {
    width: min(92px, 18vw);
  }
}

/* ── How-to steps ── */
.steps { display: flex; flex-direction: column; gap: 2rem; }

.step {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
}

.step-num {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--magenta));
  color: var(--black);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.step h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.3rem; }
.step p { font-size: 0.875rem; color: var(--text-muted-dark); line-height: 1.6; }
.band-dark .step h3 { color: var(--text-on-dark); }

.step-phone { width: min(180px, 55vw); }

/* ── Play / Compete ── */
#play {
  padding: clamp(3.5rem, 9vw, 6rem) 0;
}

.play-wrap,
.privacy-wrap {
  width: min(100% - 2.5rem, 1120px);
}

.play-headline {
  font-family: var(--font);
  font-size: clamp(2.75rem, 11vw, 5.25rem);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  margin-bottom: clamp(2.25rem, 5vw, 3.75rem);
  color: var(--text-on-dark);
}

.play-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: stretch;
}

.play-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  padding: clamp(1.75rem, 3.5vw, 2.5rem);
  display: flex;
  flex-direction: column;
}

.play-card-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--magenta);
  margin-bottom: 1rem;
}

.play-card-label-warm { color: var(--stat-agility); }

.play-card-title {
  font-family: var(--font);
  font-size: clamp(0.9375rem, 1.8vw, 1.0625rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-on-dark);
  margin-bottom: 1rem;
  line-height: 1.25;
}

.play-card-body {
  font-size: clamp(0.875rem, 1.5vw, 0.9375rem);
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.7;
  margin-bottom: 1.75rem;
  max-width: 36em;
}

.minigame-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.625rem;
  margin-top: auto;
}

.minigame-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 0.65rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.88);
  background: transparent;
  text-align: center;
  line-height: 1.25;
}

.play-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
}

.play-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
}

.play-list-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--magenta);
  margin-top: 0.5rem;
  flex-shrink: 0;
}

.play-list-text {
  font-size: clamp(0.875rem, 1.5vw, 0.9375rem);
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.65;
}

.play-list-text strong {
  color: var(--text-on-dark);
  font-weight: 600;
}

.play-card-foot {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.6;
}

/* ── Philosophy ── */
.philosophy-row {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: stretch;
}

.philosophy-title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 4vw, 1.85rem);
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
}

.philosophy-lead {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 0.85rem;
}

.philosophy-lead:last-of-type { margin-bottom: 0; }

.philosophy-pillars {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.philosophy-pillar {
  background: var(--gray-50);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
}

.philosophy-pillar h3 {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.philosophy-pillar p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.graduate-quote {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3vw, 1.55rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.85rem;
}

.graduate-tagline {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── Privacy ── */
#privacy {
  padding: clamp(3.5rem, 9vw, 6rem) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.privacy-row {
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: stretch;
}

.privacy-icon {
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(233, 30, 99, 0.08);
  border: 1px solid rgba(233, 30, 99, 0.35);
  border-radius: 8px;
  color: var(--magenta);
  margin-bottom: 1rem;
}

.privacy-icon svg { display: block; }

.privacy-copy .section-label {
  display: block;
  margin-bottom: 1rem;
}

.privacy-title {
  font-family: var(--font);
  font-size: clamp(1.875rem, 5vw, 2.875rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--text-on-dark);
  margin-bottom: 1.5rem;
}

.privacy-lead {
  font-size: clamp(0.875rem, 1.5vw, 0.9375rem);
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.75;
  max-width: 34em;
  margin-bottom: 0;
}

.privacy-verify {
  margin-top: 1.25rem !important;
  font-size: clamp(0.8125rem, 1.3vw, 0.875rem) !important;
  color: rgba(255, 255, 255, 0.48) !important;
  line-height: 1.65 !important;
  max-width: 34em;
}

.privacy-panel {
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
  overflow: hidden;
}

.privacy-panel-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.privacy-panel-row:last-child { border-bottom: none; }

.privacy-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-top: 0.4rem;
  flex-shrink: 0;
}

.privacy-dot-green { background: var(--stat-vitality); }
.privacy-dot-blue { background: var(--cyan); }
.privacy-dot-yellow { background: var(--stat-agility); }
.privacy-dot-purple { background: var(--magenta); }

.privacy-panel-row h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-on-dark);
  margin-bottom: 0.35rem;
  line-height: 1.3;
}

.privacy-panel-row p {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
}

/* ── CTA ── */
.cta-section {
  position: relative;
  padding: 3.5rem 1rem;
  text-align: center;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(0, 188, 212, 0.15), transparent 55%),
    radial-gradient(ellipse at 70% 80%, rgba(233, 30, 99, 0.1), transparent 50%),
    var(--surface-dark);
  z-index: 0;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 36rem;
  margin-inline: auto;
}

.cta-content .section-h2 { color: var(--text-on-dark); }
.cta-headline {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 5vw, 2.5rem) !important;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.cta-trust {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted-dark);
  margin: 1.25rem 0 0.5rem;
}

.cta-content .section-sub { color: var(--text-muted-dark); margin-inline: auto; }

.store-row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1.5rem 0 1rem;
}

.btn-store {
  background: var(--cyan);
  color: var(--black);
}

.btn-store-ghost {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-on-dark);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.cta-note {
  font-size: 0.82rem;
  color: var(--text-muted-dark);
  margin-top: 0.5rem;
}

/* ── Footer ── */
footer {
  text-align: center;
  padding: 2rem 1rem;
  background: var(--gray-900);
  color: var(--text-muted-dark);
  font-size: 0.82rem;
  border-top: 1px solid var(--border-dark);
}

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

/* ── Sticky mobile CTA ── */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 180;
  padding: 0.65rem 1rem calc(0.65rem + env(safe-area-inset-bottom));
  background: rgba(18, 18, 18, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border-dark);
  transform: translateY(100%);
  transition: transform 0.25s ease;
}

.sticky-cta.visible { transform: translateY(0); }

.sticky-cta.is-over-gallery {
  transform: translateY(100%);
  pointer-events: none;
}

.sticky-cta .btn {
  width: 100%;
  padding: 0.75rem;
  font-size: 0.9rem;
}

/* ── Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

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

/* ── Desktop ── */
@media (min-width: 768px) {
  .nav { padding: 0 1.5rem; }
  .nav-toggle { display: none; }
  .nav-drawer { display: none; }
  .nav-download { display: inline-flex; }
  .nav-desktop { display: flex; }

  .hero { padding: calc(var(--nav-h) + 2.5rem) 1.5rem 3.5rem; }
  .hero-inner {
    flex-direction: row;
    align-items: center;
    gap: 3rem;
  }
  .hero-copy { flex: 1; order: 1; }
  .hero-visual { flex: 0 0 auto; order: 2; }
  .phone-frame { width: 240px; }
  .btn-row { flex-direction: row; width: auto; }
  .btn-row .btn { width: auto; }

  .stats-ribbon { grid-template-columns: repeat(4, 1fr); }
  .stat-cell { border-right: 1px solid var(--border); border-bottom: none; }
  .stat-cell:nth-child(2n) { border-right: 1px solid var(--border); }
  .stat-cell:last-child { border-right: none; }

  section { padding: 4.5rem 1.5rem; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .play-grid { grid-template-columns: repeat(2, 1fr); gap: 1.75rem; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .flow-grid { grid-template-columns: repeat(2, 1fr); }

  .step {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
  }

  .philosophy-row {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 2.5rem;
  }

  .philosophy-row .philosophy-copy { flex: 1; }
  .philosophy-pillars { flex: 1; }

  .privacy-row {
    flex-direction: row;
    align-items: flex-start;
    gap: clamp(2.5rem, 5vw, 4rem);
  }

  .privacy-copy { flex: 1.05; min-width: 0; }
  .privacy-panel { flex: 0.95; min-width: 0; }

  .store-row { flex-direction: row; justify-content: center; }
  .sticky-cta { display: none; }
}

@media (min-width: 1024px) {
  .features-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-grid { grid-template-columns: repeat(5, 1fr); }
  .flow-grid { grid-template-columns: repeat(3, 1fr); }
  .flow-grid .flow-card:last-child { grid-column: span 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-glow::before, .hero-glow::after { animation: none; }
}
