@import url('./colors_and_type.css');

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: #F5F8FF;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: color 240ms ease;
}

button { font-family: inherit; }

/* ─── THEME TOKENS ──────────────────────────────────────
   Light = Lumgoals palette. Dark = Destiny AI palette. */
:root {
  --ink:           #2C3E6B;
  --ink-2:         #6B7FA8;
  --ink-3:         #A8B5CC;
  --ink-strong:    #2C3E6B;
  --surface:       rgba(255,255,255,0.70);
  --surface-strong:rgba(255,255,255,0.85);
  --surface-soft:  rgba(255,255,255,0.50);
  --surface-border:rgba(180,210,255,0.45);
  --page-grad: linear-gradient(180deg,
    #EEF4FF 0%, #E2EDFF 20%, #EDE7FB 45%, #F4E8F0 65%, #E8F1FF 85%, #EEF4FF 100%);
  --glow-tint:    rgba(126,184,247,0.10);
  --accent:       #C5B4F0;
  --accent-glow:  #C5B4F0;
  --halo-1:       rgba(168,216,234,0.55);
  --halo-2:       rgba(197,180,240,0.45);
  --cta-bg:       linear-gradient(135deg, rgba(184,217,255,0.65), rgba(197,180,240,0.65) 40%, rgba(232,197,216,0.65) 70%, rgba(168,216,234,0.65) 100%);
  --nav-bg:       rgba(238,244,255,0.55);
  --ticker-grad:  linear-gradient(90deg,#B8D9FF,#C5B4F0,#E8C5D8,#A8D8EA,#B8D9FF);
  --ticker-edge:  rgba(238,244,255,0.9);
}
body[data-theme="dark"] {
  --ink:           #FAF5FF;
  --ink-2:         #C4B5FD;
  --ink-3:         rgba(196,181,253,0.65);
  --ink-strong:    #FAF5FF;
  --surface:       rgba(192,38,211,0.08);
  --surface-strong:rgba(192,38,211,0.14);
  --surface-soft:  rgba(124,58,237,0.10);
  --surface-border:rgba(192,38,211,0.30);
  --page-grad: linear-gradient(180deg,
    #0A0612 0%, #130820 25%, #1A0A2E 55%, #130820 80%, #0A0612 100%);
  --glow-tint:    rgba(192,38,211,0.30);
  --accent:       #F0ABFC;
  --accent-glow:  #F0ABFC;
  --halo-1:       rgba(192,38,211,0.25);
  --halo-2:       rgba(124,58,237,0.30);
  --cta-bg:       linear-gradient(135deg, rgba(109,93,242,0.58), rgba(180,140,242,0.56) 52%, rgba(109,93,242,0.42) 100%);
  --nav-bg:       rgba(10,6,18,0.55);
  --ticker-grad:  linear-gradient(90deg,#6D5DF2,#B48CF2,#6D5DF2);
  --ticker-edge:  rgba(10,6,18,0.9);
}

/* ─── Reusable bits ────────────────────────────────── */
.serif { font-family: var(--font-heading); }
.sans  { font-family: var(--font-body); }

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 700;
  line-height: 1.05;
  color: var(--ink);
  letter-spacing: -0.5px;
  margin: 0;
  transition: color 240ms ease;
  text-wrap: balance;
}

.section-title em {
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
}

.section-sub {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 14px 0 0;
  max-width: 580px;
  transition: color 240ms ease;
  text-wrap: pretty;
}

/* Iridescent border helper */
.irid-border {
  position: relative;
  border-radius: 26px;
  padding: 1.5px;
  background: linear-gradient(160deg, #B8D9FF, #C5B4F0, #E8C5D8, #A8D8EA);
}
body[data-theme="dark"] .irid-border {
  background: linear-gradient(160deg, #6D5DF2, #B48CF2, #F0ABFC);
}

/* Glass card */
.glass {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 24px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 24px var(--glow-tint), 0 1px 0 rgba(255,255,255,0.4) inset;
  transition: background 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}
body[data-theme="dark"] .glass {
  box-shadow: 0 4px 24px var(--glow-tint), 0 1px 0 rgba(255,255,255,0.04) inset;
}

/* Buttons */
.btn {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  padding: 16px 28px;
  transition: transform 120ms ease-out, box-shadow 200ms ease-out, background 240ms ease, color 240ms ease;
  display: inline-flex; align-items: center; gap: 10px; justify-content: center;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: linear-gradient(90deg,#A7C8FC,#B29CFB);
  color: #fff;
  box-shadow: 0 6px 18px rgba(126,184,247,0.35), 0 12px 32px rgba(178,156,251,0.20);
}
.btn-primary:hover { box-shadow: 0 10px 28px rgba(126,184,247,0.45), 0 16px 44px rgba(178,156,251,0.30); }
body[data-theme="dark"] .btn-primary {
  background: linear-gradient(90deg,#6D5DF2,#B48CF2);
  box-shadow: 0 6px 18px rgba(109,93,242,0.48), 0 12px 32px rgba(180,140,242,0.30);
}

.nav-download-btn {
  padding: 10px 18px;
  font-size: 13px;
  white-space: nowrap;
}

.btn-webapp {
  padding: 10px 16px;
  font-size: 13px;
  color: #2C3E6B;
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(126,184,247,0.35);
  box-shadow: 0 8px 22px rgba(126,184,247,0.16);
  text-decoration: none;
  white-space: nowrap;
}
.btn-webapp:hover {
  background: rgba(255,255,255,0.95);
  box-shadow: 0 10px 28px rgba(126,184,247,0.24);
}
body[data-theme="dark"] .btn-webapp {
  color: #FFFFFF;
  background: rgba(255,255,255,0.11);
  border-color: rgba(180,140,242,0.34);
  box-shadow: 0 8px 22px rgba(109,93,242,0.20);
}

.download-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(21,12,35,0.34);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
body[data-theme="dark"] .download-modal-backdrop {
  background: rgba(8,2,18,0.62);
}

.download-modal {
  width: min(440px, 100%);
  position: relative;
  padding: 34px;
  border-radius: 28px;
  text-align: center;
}
.download-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255,255,255,0.66);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}
body[data-theme="dark"] .download-modal-close {
  background: rgba(255,255,255,0.12);
  color: #fff;
}
.download-modal-kicker {
  margin-bottom: 10px;
  color: #7C5CE0;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}
body[data-theme="dark"] .download-modal-kicker {
  color: #D6C7FF;
}
.download-modal h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: clamp(32px, 8vw, 46px);
  line-height: 1.02;
}
.download-modal p {
  margin: 16px auto 24px;
  max-width: 330px;
  color: var(--ink-2);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
}
.download-modal-actions {
  display: grid;
  gap: 12px;
}
.download-choice {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 18px;
  color: #fff;
  background: #0A0612;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(10,6,18,0.18);
  transition: transform 140ms ease, box-shadow 180ms ease;
}
.download-choice:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(10,6,18,0.24);
}
.download-choice-icon {
  width: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.webapp-choice {
  background: linear-gradient(90deg,#A7C8FC,#B29CFB);
}
body[data-theme="dark"] .webapp-choice {
  background: linear-gradient(90deg,#6D5DF2,#B48CF2);
}

.hero-affirm div:last-child {
  color: #2C3E6B !important;
}
body[data-theme="dark"] .hero-affirm {
  background: rgba(255,255,255,0.94) !important;
  border-color: rgba(180,140,242,0.34) !important;
}
body[data-theme="dark"] .hero-affirm div:first-child {
  color: #6D5DF2 !important;
}
body[data-theme="dark"] .hero-affirm div:last-child {
  color: #2C3E6B !important;
}

body[data-theme="dark"] .testimonial-quote-mark {
  color: #FFFFFF !important;
  opacity: 0.55 !important;
}

.cta-title-gradient {
  background: linear-gradient(90deg, #2C3E6B 0%, #7EB8F7 34%, #B29CFB 68%, #2C3E6B 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
body[data-theme="dark"] .cta-title-gradient {
  background: linear-gradient(90deg, #FFFFFF 0%, #B48CF2 42%, #6D5DF2 72%, #F5F7FB 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.final-cta-card {
  background: rgba(255, 255, 255, 0.70);
}
body[data-theme="dark"] .final-cta-card {
  background: linear-gradient(180deg, rgba(20, 10, 38, 0.94), rgba(39, 15, 66, 0.92));
  border-color: rgba(244, 214, 255, 0.42) !important;
  box-shadow:
    0 38px 100px -30px rgba(0, 0, 0, 0.62),
    0 0 0 1px rgba(244, 214, 255, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.18) !important;
}
body[data-theme="dark"] .final-cta-card p,
body[data-theme="dark"] .final-cta-card > div:last-child {
  color: rgba(255, 255, 255, 0.92) !important;
}

.phone-app-screen {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #EEF4FF;
}
.phone-app-status {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 46px;
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 22px 0;
  color: #2C3E6B;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  pointer-events: none;
}
.phone-app-status-icons {
  display: flex;
  align-items: center;
  gap: 7px;
}
.phone-cell-bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 11px;
}
.phone-cell-bars i {
  width: 3px;
  border-radius: 1px;
  background: currentColor;
  display: block;
}
.phone-cell-bars i:nth-child(1) { height: 4px; opacity: .48; }
.phone-cell-bars i:nth-child(2) { height: 6px; opacity: .62; }
.phone-cell-bars i:nth-child(3) { height: 8px; opacity: .78; }
.phone-cell-bars i:nth-child(4) { height: 10px; }
.phone-wifi {
  position: relative;
  width: 15px;
  height: 11px;
  overflow: hidden;
  display: inline-block;
}
.phone-wifi::before,
.phone-wifi::after,
.phone-wifi i {
  position: absolute;
  left: 50%;
  border: 2px solid currentColor;
  border-left-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
  content: "";
  transform: translateX(-50%) rotate(-45deg);
}
.phone-wifi::before {
  width: 18px;
  height: 18px;
  top: 1px;
  opacity: .38;
}
.phone-wifi::after {
  width: 13px;
  height: 13px;
  top: 6px;
  opacity: .7;
}
.phone-wifi i {
  width: 7px;
  height: 7px;
  top: 11px;
}
.phone-battery {
  position: relative;
  width: 20px;
  height: 10px;
  border: 1.5px solid currentColor;
  border-radius: 3px;
  display: inline-block;
}
.phone-battery::after {
  content: "";
  position: absolute;
  right: -3.5px;
  top: 2px;
  width: 2px;
  height: 4px;
  border-radius: 1px;
  background: currentColor;
  opacity: .65;
}
.phone-battery i {
  position: absolute;
  left: 2px;
  top: 2px;
  width: 13px;
  height: 4px;
  border-radius: 1.5px;
  background: currentColor;
}
.phone-app-shot {
  position: absolute;
  left: 0;
  right: 0;
  top: 44px;
  width: 100%;
  height: calc(100% - 44px);
  object-fit: cover;
  object-position: top center;
}
.phone-frame-ribbon {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 44px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  background: linear-gradient(180deg, rgba(238,244,255,0.98), rgba(238,244,255,0.92));
  color: #203154;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.2px;
  box-sizing: border-box;
}
.phone-frame-notch {
  position: absolute;
  top: 9px;
  left: 50%;
  width: 96px;
  height: 26px;
  border-radius: 14px;
  transform: translateX(-50%);
  background: #0a0612;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}
.phone-frame-time,
.phone-frame-indicators {
  position: relative;
  z-index: 2;
}
.phone-frame-indicators {
  display: flex;
  align-items: center;
  gap: 5px;
}
.phone-frame-cell {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 11px;
}
.phone-frame-cell i {
  display: block;
  width: 3px;
  border-radius: 1px;
  background: currentColor;
  opacity: 0.9;
}
.phone-frame-cell i:nth-child(1) { height: 4px; opacity: 0.45; }
.phone-frame-cell i:nth-child(2) { height: 6px; opacity: 0.6; }
.phone-frame-cell i:nth-child(3) { height: 8px; opacity: 0.78; }
.phone-frame-cell i:nth-child(4) { height: 10px; }
.phone-frame-wifi {
  position: relative;
  width: 13px;
  height: 10px;
  overflow: hidden;
}
.phone-frame-wifi::before,
.phone-frame-wifi::after {
  content: '';
  position: absolute;
  left: 50%;
  border: 2px solid currentColor;
  border-color: currentColor transparent transparent transparent;
  border-radius: 50%;
  transform: translateX(-50%);
}
.phone-frame-wifi::before { top: 2px; width: 14px; height: 14px; opacity: 0.75; }
.phone-frame-wifi::after { top: 6px; width: 7px; height: 7px; }
.phone-frame-wifi i {
  position: absolute;
  left: 50%;
  bottom: 1px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
  transform: translateX(-50%);
}
.phone-frame-battery {
  position: relative;
  width: 19px;
  height: 10px;
  border: 1.5px solid currentColor;
  border-radius: 3px;
  box-sizing: border-box;
}
.phone-frame-battery::after {
  content: '';
  position: absolute;
  right: -3px;
  top: 3px;
  width: 2px;
  height: 4px;
  border-radius: 1px;
  background: currentColor;
  opacity: 0.7;
}
.phone-frame-battery i {
  position: absolute;
  left: 2px;
  top: 2px;
  width: 12px;
  height: 4px;
  border-radius: 1.5px;
  background: currentColor;
}
body[data-theme="dark"] .phone-frame-ribbon {
  background: linear-gradient(180deg, rgba(10,6,18,0.98), rgba(10,6,18,0.92));
  color: #F5F7FB;
}
body[data-theme="dark"] .phone-app-screen { background: #0A0612; }
body[data-theme="dark"] .phone-frame-shell {
  background: linear-gradient(160deg, #E7ECF6, #CBD4E6 44%, #F7FAFF) !important;
  box-shadow:
    0 24px 56px -20px rgba(236,244,255,0.36),
    0 42px 100px -34px rgba(240,171,252,0.42),
    inset 0 1px 2px rgba(255,255,255,0.82) !important;
}
body[data-theme="dark"] .phone-frame-inner {
  background: #0A0612 !important;
}

.btn-ghost {
  background: var(--surface-strong);
  color: var(--ink);
  border: 1px solid var(--surface-border);
  backdrop-filter: blur(16px);
}
.btn-ghost:hover { background: var(--surface-strong); filter: brightness(1.05); }

/* ─── Page-wide background gradient + grain ──────────── */
.page-bg {
  position: fixed; inset: 0; z-index: -1;
  background: var(--page-grad);
  transition: background 600ms ease;
}
.page-bg::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='200' height='200' filter='url(%23n)' opacity='0.5'/></svg>");
  opacity: 0.08;
  mix-blend-mode: overlay;
}

/* container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ─── RESPONSIVE GRIDS ─────────────────────────────── */
.hero-grid       { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.problem-grid    { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.mood-grid       { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; align-items: start; }
.steps-grid      { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; z-index: 2; }
.testimonial-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.founder-grid    { display: grid; grid-template-columns: 1fr 1.15fr; gap: 72px; align-items: center; }
.footer-grid     {
  display: grid;
  grid-template-columns: minmax(260px, 1.25fr) repeat(3, minmax(150px, .8fr));
  gap: 56px;
  margin: 0 auto 60px;
  max-width: 1180px;
  justify-content: center;
}

/* Hero phones cluster — responsive */
.hero-phones {
  position: relative;
  height: 680px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ─── TABLET ≤ 1024px ─────────────────────────────── */
@media (max-width: 1024px) {
  .container { padding: 0 24px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .problem-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .mood-grid    { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 20px; }
  .testimonial-grid { grid-template-columns: 1fr; gap: 18px; max-width: 620px; margin: 0 auto; }
  .founder-grid { grid-template-columns: 1fr; gap: 48px; max-width: 620px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .hero-phones { height: 580px; }
  .hero-phones-inner { transform: scale(0.85); }
}

/* ─── MOBILE ≤ 720px ─────────────────────────────── */
@media (max-width: 720px) {
  .container { padding: 0 20px; }
  .nav-inner { padding: 12px 0; }
  .nav-links { display: none; }
  .toolbar { gap: 6px; }
  .toolbar .nav-download-btn { display: none; }
  .toolbar .nav-webapp-btn { display: none; }
  .toggle-pill button { padding: 6px 9px; font-size: 11px; }
  .brand img { height: 32px !important; }

  /* Section paddings */
  section { padding-left: 0 !important; padding-right: 0 !important; }
  .section-padding { padding: 64px 0 60px !important; }

  /* Titles */
  .section-title { font-size: clamp(28px, 8vw, 38px); }
  .section-sub   { font-size: 15px; }

  /* Problem grid → single column */
  .problem-grid { grid-template-columns: 1fr; gap: 14px; }
  .mood-grid    { grid-template-columns: repeat(2, 1fr); gap: 36px 20px; }

  /* Steps — vertical timeline */
  .steps-grid { grid-template-columns: 1fr; gap: 32px; }
  .steps-line, .steps-line-dot { display: none; }
  .step-card { flex-direction: row !important; text-align: left !important; align-items: flex-start !important; gap: 18px; }
  .step-card > div:first-child { margin-bottom: 0 !important; flex-shrink: 0; }
  .step-card > div:not(:first-child) { max-width: none !important; }

  /* Hero phones — scale + reposition */
  .hero-phones { height: 480px; }
  .hero-phones-inner { transform: scale(0.62); }

  /* Hero copy — smaller */
  .hero-title { font-size: clamp(34px, 9vw, 48px) !important; line-height: 1.08 !important; }
  .hero-body  { font-size: 15px !important; }

  /* Hero floating chips on mobile — hide streak (looks cluttered) */
  .hero-streak { transform: scale(0.85); top: 10px !important; right: -4px !important; }
  .hero-affirm { transform: scale(0.85); transform-origin: bottom left; left: -4px !important; bottom: 30px !important; }

  /* CTAs */
  .btn { padding: 14px 22px; font-size: 14px; }

  /* Founder portrait — scale */
  .founder-portrait { width: 100% !important; max-width: 360px; height: 440px !important; margin: 0 auto; }

  /* Testimonials press logos */
  .press-row { gap: 24px !important; }
  .press-row > div { font-size: 16px !important; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr !important; gap: 32px 24px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }

  /* CTA card */
  .cta-card { padding: 48px 28px !important; }
  .cta-title { font-size: clamp(30px, 8vw, 44px) !important; }

  /* Ticker — smaller text */
  .ticker-text { font-size: 22px !important; }

  /* Page-level pad recovery (we cleared section side padding) */
  .container { padding: 0 20px; }
}

/* sparkle char */
.sparkle::before { content: "✦"; color: var(--accent); margin-right: 6px; }

/* Keyframes */
@keyframes float-y { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }
@keyframes twinkle { 0%,100%{opacity:0.2} 50%{opacity:1} }
@keyframes drift   { from{transform:translateX(0)} to{transform:translateX(-50%)} }
@keyframes orb-pulse { 0%,100%{transform:scale(1); filter:brightness(1)} 50%{transform:scale(1.04); filter:brightness(1.08)} }
@keyframes shimmer { 0%{background-position:0% 50%} 100%{background-position:200% 50%} }
@keyframes bar-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes typing-dot { 0%,60%,100%{transform:translateY(0); opacity:0.4} 30%{transform:translateY(-4px); opacity:1} }
@keyframes fade-up { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes spin-slow { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.float { animation: float-y 6s ease-in-out infinite; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  background: var(--nav-bg);
  border-bottom: 1px solid var(--surface-border);
  transition: background 240ms ease, border-color 240ms ease;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-heading);
  font-size: 22px; font-weight: 700; color: var(--ink);
  letter-spacing: -0.3px;
}
.brand-mark {
  width: 36px; height: 36px; border-radius: 12px;
  background: linear-gradient(160deg,#B8D9FF,#C5B4F0,#E8C5D8);
  display: grid; place-items: center;
  box-shadow: 0 4px 12px rgba(197,180,240,0.4);
}
.nav-links { display: flex; gap: 32px; }
.nav-links a {
  font-family: var(--font-body);
  font-size: 14px; font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  transition: color 150ms;
}
.nav-links a:hover { color: var(--ink); }

/* Logo: icon + wordmark in both themes. Wordmark inverts to white in dark. */
.logo-img-light, .logo-img-dark { display: none; align-items: center; gap: 12px; }
.logo-img-light { display: inline-flex; }
body[data-theme="dark"] .logo-img-light { display: none; }
body[data-theme="dark"] .logo-img-dark  { display: inline-flex; }
.logo-img-dark .logo-wordmark-img {
  filter: brightness(0) invert(1);
}

/* Toolbar (lang + theme toggle) */
.toolbar {
  display: flex; align-items: center; gap: 10px;
}
.toggle-pill {
  display: inline-flex; align-items: center;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 999px;
  padding: 4px;
  backdrop-filter: blur(16px);
  transition: background 240ms ease, border-color 240ms ease;
}
.toggle-pill button {
  background: transparent;
  border: none;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--ink-2);
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 200ms ease;
  display: inline-flex; align-items: center; gap: 6px;
}
.toggle-pill button.active {
  background: linear-gradient(90deg,#A7C8FC,#B29CFB);
  color: #fff;
  box-shadow: 0 4px 12px rgba(126,184,247,0.30);
}
body[data-theme="dark"] .toggle-pill button.active {
  background: linear-gradient(90deg,#6D5DF2,#B48CF2);
  box-shadow: 0 4px 12px rgba(109,93,242,0.40);
}

.footer-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(10, 6, 18, 0.48);
  backdrop-filter: blur(14px);
}
.footer-modal {
  width: min(680px, 100%);
  max-height: min(760px, calc(100vh - 48px));
  overflow: auto;
  position: relative;
  border-radius: 24px;
  padding: 34px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(180, 210, 255, 0.45);
  box-shadow: 0 28px 80px rgba(44, 62, 107, 0.28);
}
body[data-theme="dark"] .footer-modal {
  background: rgba(20, 10, 38, 0.94);
  border-color: rgba(180, 140, 242, 0.28);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
}
.footer-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--surface-border);
  background: var(--surface);
  color: var(--ink);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.footer-modal-eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.footer-modal h3 {
  font-family: var(--font-heading);
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.5px;
  color: var(--ink);
  margin: 0 42px 14px 0;
}
.footer-modal p {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
  margin: 0 0 24px;
}
.footer-modal-sections {
  display: grid;
  gap: 14px;
}
.footer-modal-sections div {
  padding: 16px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--surface-border);
}
.footer-modal-sections strong {
  display: block;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--ink);
  margin-bottom: 6px;
}
.footer-modal-sections span {
  display: block;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-2);
}

@media (max-width: 760px) {
  .nav-links { display: none; }
}

/* Mobile fit polish */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

img,
svg {
  max-width: 100%;
}

.hero-title,
.section-title,
.cta-title {
  overflow-wrap: anywhere;
}

.logo-img-light,
.logo-img-dark {
  min-width: 0;
}

.logo-wordmark-img,
.logo-img-light img:last-child {
  max-width: min(180px, 48vw);
}

.store-badge {
  min-width: 0;
}

@media (max-width: 720px) {
  .nav-inner {
    gap: 10px;
  }

  .brand {
    min-width: 0;
    flex: 1 1 auto;
  }

  .toolbar {
    flex: 0 0 auto;
  }

  .hero-grid {
    gap: 24px;
  }

  .hero-title {
    max-width: 100% !important;
    font-size: clamp(32px, 11vw, 42px) !important;
    line-height: 1.08 !important;
    letter-spacing: 0 !important;
    text-wrap: balance;
  }

  .hero-body {
    max-width: 100% !important;
    margin: 20px 0 28px !important;
    font-size: 16px !important;
    line-height: 1.6 !important;
  }

  .hero-actions {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 12px !important;
    width: 100%;
    max-width: 360px;
  }

  .hero-actions .btn {
    width: 100%;
    min-height: 54px;
  }

  .hero-phones {
    height: 420px;
    margin-top: 8px;
    overflow: hidden;
  }

  .hero-phones-inner {
    transform: scale(0.54) !important;
    transform-origin: top center;
  }

  .hero-streak,
  .hero-affirm {
    display: none !important;
  }

  .glass {
    border-radius: 20px;
  }

  .ticker-text {
    font-size: 20px !important;
  }

  .footer-modal {
    padding: 28px 20px;
    border-radius: 20px;
  }

  .store-badge {
    width: min(100%, 290px);
    justify-content: center;
  }
}

@media (max-width: 520px) {
  .container {
    padding-left: 24px;
    padding-right: 24px;
  }

  .section-padding {
    padding-top: 56px !important;
    padding-bottom: 56px !important;
  }

  .section-title {
    font-size: clamp(30px, 10vw, 36px) !important;
    letter-spacing: 0 !important;
  }

  .section-sub {
    max-width: 100%;
    font-size: 15px;
    line-height: 1.55;
  }

  .mood-grid,
  .footer-grid {
    grid-template-columns: 1fr !important;
  }

  .mood-grid {
    gap: 34px;
  }

  .step-card {
    gap: 14px !important;
  }

  .founder-portrait {
    height: 390px !important;
    border-radius: 26px !important;
  }

  .founder-grid > div:last-child > div:last-child {
    width: 100%;
  }

  .cta-card {
    border-radius: 26px !important;
    padding: 42px 22px !important;
  }
}

@media (max-width: 380px) {
  .container {
    padding-left: 24px;
    padding-right: 24px;
  }

  .nav-inner {
    padding: 10px 0;
  }

  .toggle-pill {
    padding: 3px;
  }

  .toggle-pill button {
    padding: 6px 8px !important;
    font-size: 10px !important;
  }

  .logo-img-light img:first-child,
  .logo-img-dark img:first-child {
    height: 34px !important;
  }

  .logo-wordmark-img,
  .logo-img-light img:last-child {
    max-width: 88px;
    height: 22px !important;
  }

  .hero-title {
    font-size: clamp(30px, 10.5vw, 36px) !important;
  }

  .hero-body {
    font-size: 15px !important;
  }

  .btn {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-phones {
    height: 360px;
  }

  .hero-phones-inner {
    transform: scale(0.47) !important;
  }

  .download-modal-backdrop {
    padding: 16px;
  }

  .download-modal {
    padding: 30px 18px 22px;
  }
}

@media (max-width: 720px) {
  .hero-grid,
  .hero-grid > div,
  .hero-title,
  .hero-body,
  .hero-actions {
    min-width: 0;
  }

  .hero-grid > div:first-child {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .hero-title {
    width: 100% !important;
    max-width: 100% !important;
    text-wrap: normal !important;
    word-break: normal;
    overflow-wrap: break-word;
  }

  .hero-title span {
    overflow-wrap: break-word;
  }
}

@media (max-width: 380px) {
  .hero-title {
    font-size: 30px !important;
    line-height: 1.12 !important;
  }

  .hero-body {
    max-width: 100% !important;
    line-height: 1.52 !important;
  }
}

@media (max-width: 340px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero-title {
    font-size: 28px !important;
  }

  .logo-wordmark-img,
  .logo-img-light img:last-child {
    max-width: 78px;
  }
}

@media (max-width: 520px) {
  .nav .container {
    padding-left: max(18px, env(safe-area-inset-left));
    padding-right: max(18px, env(safe-area-inset-right));
  }

  .nav-inner {
    gap: 8px;
  }

  .toolbar {
    gap: 5px;
  }

  .toggle-pill button {
    min-width: 30px;
    padding-left: 8px !important;
    padding-right: 8px !important;
  }

  .logo-img-light,
  .logo-img-dark {
    gap: 8px;
  }

  .logo-wordmark-img,
  .logo-img-light img:last-child {
    max-width: 104px;
  }
}

@media (max-width: 380px) {
  .nav .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .toolbar {
    gap: 4px;
  }

  .toggle-pill button {
    min-width: 28px;
    padding-left: 7px !important;
    padding-right: 7px !important;
  }

  .logo-wordmark-img,
  .logo-img-light img:last-child {
    max-width: 82px;
  }
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .nav-inner {
    gap: 14px;
  }

  .brand {
    flex: 1 1 auto;
    min-width: 0;
  }

  .toolbar {
    flex: 0 1 auto;
    min-width: 0;
    justify-content: flex-end;
  }

  .nav-download-btn,
  .nav-webapp-btn {
    padding-left: 14px;
    padding-right: 14px;
  }
}

@media (min-width: 721px) and (max-width: 860px) {
  .toolbar .nav-download-btn {
    display: none;
  }

  .nav-webapp-btn {
    max-width: 132px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .logo-wordmark-img,
  .logo-img-light img:last-child {
    max-width: 150px;
  }
}

.brand {
  text-decoration: none;
}


@media (max-width: 720px) {
  .hero-phone-side {
    display: none !important;
  }

  .hero-phones {
    height: 560px;
    margin-top: 12px;
    overflow: visible;
  }

  .hero-phones-inner {
    transform: scale(0.84) !important;
    transform-origin: top center;
  }

  .hero-phone-main {
    left: 50% !important;
    top: 0 !important;
    transform: translateX(-50%) !important;
  }
}

@media (max-width: 380px) {
  .hero-phones {
    height: 510px;
  }

  .hero-phones-inner {
    transform: scale(0.76) !important;
  }
}

@media (max-width: 1024px) {
  .nav .container {
    padding-left: 24px;
    padding-right: 24px;
  }

  .hero-grid > div:first-child {
    text-align: center;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-title {
    max-width: 720px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center;
  }

  .hero-body {
    max-width: 560px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 940px) {
  .nav .container {
    padding-left: 26px;
    padding-right: 26px;
  }

  .toolbar .nav-download-btn {
    display: none;
  }
}

@media (max-width: 800px) {
  .nav .container {
    padding-left: 28px;
    padding-right: 28px;
  }

  .toolbar .nav-webapp-btn {
    display: none;
  }
}

@media (min-width: 721px) and (max-width: 1024px) {
  .hero-title {
    font-size: clamp(42px, 6vw, 58px) !important;
    line-height: 1.08 !important;
    text-wrap: balance;
  }

  .hero-body {
    font-size: 17px !important;
  }

  .hero-actions .btn {
    min-width: 190px;
  }
}

@media (max-width: 520px) {
  .nav .container {
    padding-left: 22px;
    padding-right: 22px;
  }
}

@media (max-width: 380px) {
  .nav .container {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* ─────────────────────────────────────────────────────────────
   LEGAL PAGE (docs-style: breadcrumb + left TOC + content)
   ───────────────────────────────────────────────────────────── */
.legal-page {
  background:
    radial-gradient(1100px 420px at 50% -120px, rgba(126,184,247,0.10), transparent 70%),
    #F4F8FF;
  min-height: 100vh;
  padding: 40px 0 90px;
}
body[data-theme="dark"] .legal-page {
  background:
    radial-gradient(1100px 420px at 50% -120px, rgba(192,38,211,0.14), transparent 70%),
    #0A0612;
}

.legal-breadcrumb {
  display: flex; align-items: center; gap: 9px;
  font-family: var(--font-body);
  font-size: 13px; color: var(--ink-2);
  margin-bottom: 26px;
}
.legal-breadcrumb a {
  color: var(--ink-2); text-decoration: none;
  transition: color 150ms;
}
.legal-breadcrumb a:hover { color: var(--accent); }
.legal-breadcrumb-sep { color: var(--ink-3); }
.legal-breadcrumb-current { color: var(--ink); font-weight: 600; }

.legal-header { margin-bottom: 34px; max-width: 720px; }
.legal-eyebrow {
  font-family: var(--font-body);
  font-size: 12px; font-weight: 700; letter-spacing: 1.8px;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 12px;
}
.legal-header h1 {
  font-family: var(--font-heading);
  font-size: clamp(34px, 4.6vw, 50px);
  line-height: 1.05; letter-spacing: -0.6px;
  color: var(--ink); margin: 0 0 14px;
}
.legal-header p {
  font-family: var(--font-body);
  font-size: 16px; line-height: 1.7; color: var(--ink-2);
  margin: 0; text-wrap: pretty;
}

.legal-layout {
  display: grid;
  grid-template-columns: 248px 1fr;
  gap: 40px;
  align-items: start;
}

/* Left TOC */
.legal-toc {
  position: sticky; top: 96px;
  background: rgba(255,255,255,0.72);
  border: 1px solid var(--surface-border);
  border-radius: 18px;
  padding: 18px 14px;
  backdrop-filter: blur(16px);
}
body[data-theme="dark"] .legal-toc { background: rgba(192,38,211,0.08); }
.legal-toc-label {
  font-family: var(--font-body);
  font-size: 11px; font-weight: 700; letter-spacing: 1.4px;
  text-transform: uppercase; color: var(--ink-3);
  padding: 4px 12px 12px;
}
.legal-toc nav { display: flex; flex-direction: column; gap: 4px; }
.legal-toc-link {
  display: block;
  font-family: var(--font-body);
  font-size: 14.5px; color: var(--ink-2);
  text-decoration: none;
  padding: 10px 12px; border-radius: 11px;
  border-left: 2px solid transparent;
  transition: background 150ms, color 150ms, border-color 150ms;
}
.legal-toc-link:hover { background: rgba(126,184,247,0.10); color: var(--ink); }
.legal-toc-link.active {
  background: rgba(126,184,247,0.16);
  color: var(--ink); font-weight: 600;
  border-left-color: var(--accent);
}
body[data-theme="dark"] .legal-toc-link:hover,
body[data-theme="dark"] .legal-toc-link.active {
  background: rgba(240,171,252,0.14);
}

/* Content */
.legal-content {
  background: rgba(255,255,255,0.82);
  border: 1px solid var(--surface-border);
  border-radius: 24px;
  padding: 44px 48px;
  box-shadow: 0 24px 60px -34px rgba(126,184,247,0.45);
  animation: legalFade 280ms ease;
}
body[data-theme="dark"] .legal-content { background: rgba(192,38,211,0.07); }
@keyframes legalFade {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.legal-doc-eyebrow {
  font-family: var(--font-body);
  font-size: 11px; font-weight: 700; letter-spacing: 1.6px;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 12px;
}
.legal-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.15; color: var(--ink);
  margin: 0 0 16px;
}
.legal-content .legal-intro {
  font-family: var(--font-body);
  font-size: 16px; line-height: 1.75; color: var(--ink-2);
  margin: 0 0 8px; text-wrap: pretty;
}
.legal-section { margin-top: 30px; }
.legal-section h3 {
  font-family: var(--font-body);
  font-size: 16px; font-weight: 700; color: var(--ink);
  margin: 0 0 8px;
}
.legal-section p {
  font-family: var(--font-body);
  font-size: 15px; line-height: 1.75; color: var(--ink-2);
  margin: 0; text-wrap: pretty;
}
.legal-updated {
  margin-top: 40px; padding-top: 22px;
  border-top: 1px solid var(--surface-border);
  font-family: var(--font-body);
  font-size: 13px; color: var(--ink-3);
}

@media (max-width: 860px) {
  .legal-layout { grid-template-columns: 1fr; gap: 22px; }
  .legal-toc { position: static; }
  .legal-toc nav { flex-direction: row; flex-wrap: wrap; }
  .legal-toc-link { border-left: 0; }
  .legal-toc-link.active { border-left: 0; }
  .legal-content { padding: 32px 24px; }
}

/* ─── PRICING CARDS (Lumgoals · Pricing tab) ───────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 28px 0 4px;
}
.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: rgba(255,255,255,0.66);
  border: 1px solid var(--surface-border);
  border-radius: 22px;
  padding: 28px 26px;
  box-shadow: 0 18px 44px -30px rgba(126,184,247,0.5);
  transition: transform 180ms ease, box-shadow 220ms ease, border-color 220ms ease;
  cursor: pointer;
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 56px -28px rgba(126,184,247,0.6);
}
.pricing-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.pricing-card.featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(197,180,240,0.16), rgba(255,255,255,0.66));
}
body[data-theme="dark"] .pricing-card {
  background: rgba(23, 8, 42, 0.88);
  border-color: rgba(244, 214, 255, 0.24);
  box-shadow: 0 20px 54px -30px rgba(0, 0, 0, 0.7);
}
body[data-theme="dark"] .pricing-card.featured {
  background: linear-gradient(180deg, rgba(70, 32, 110, 0.92), rgba(25, 8, 48, 0.92));
  border-color: rgba(244, 214, 255, 0.62);
}
.pricing-badge {
  position: absolute;
  top: 16px; right: 16px;
  font-family: var(--font-body);
  font-size: 11px; font-weight: 700; letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(90deg,#A7C8FC,#B29CFB);
  padding: 5px 11px;
  border-radius: 999px;
}
body[data-theme="dark"] .pricing-badge {
  background: linear-gradient(90deg,#7C6BFF,#E9A7FF);
  color: #fff;
  box-shadow: 0 8px 18px rgba(109, 93, 242, 0.34);
}
.pricing-name {
  font-family: var(--font-body);
  font-size: 12px; font-weight: 700; letter-spacing: 1.4px;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 14px;
}
.pricing-price {
  display: flex; align-items: baseline; gap: 6px;
  font-family: var(--font-heading);
  color: var(--ink);
}
.pricing-price .amount { font-size: 40px; line-height: 1; }
.pricing-price .period {
  font-family: var(--font-body);
  font-size: 15px; font-weight: 600; color: var(--ink-2);
}
.pricing-sub {
  font-family: var(--font-body);
  font-size: 13px; color: var(--ink-2);
  margin-top: 8px;
}
.pricing-trial {
  font-family: var(--font-body);
  font-size: 13px; color: var(--ink-3);
  margin-top: 2px;
}
.pricing-features {
  list-style: none;
  margin: 20px 0 24px;
  padding: 18px 0 0;
  border-top: 1px solid var(--surface-border);
  display: flex; flex-direction: column; gap: 11px;
}
.pricing-features li {
  display: flex; align-items: flex-start; gap: 10px;
  font-family: var(--font-body);
  font-size: 14px; line-height: 1.45; color: var(--ink-2);
}
.pricing-check {
  flex: 0 0 auto;
  width: 18px; height: 18px; margin-top: 1px;
  border-radius: 999px;
  background: linear-gradient(135deg,#A7C8FC,#B29CFB);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700;
}
.pricing-cta {
  margin-top: auto;
  width: 100%;
  border: 0; cursor: pointer;
  font-family: var(--font-body);
  font-size: 15px; font-weight: 600;
  padding: 13px 18px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(90deg,#A7C8FC,#B29CFB);
  transition: filter 160ms ease, transform 160ms ease;
}
.pricing-card:not(.featured) .pricing-cta {
  color: var(--accent);
  background: rgba(197,180,240,0.16);
  border: 1px solid var(--surface-border);
}
body[data-theme="dark"] .pricing-cta {
  background: linear-gradient(90deg,#7767FF,#D899FF);
  color: #FFFFFF;
  box-shadow: 0 12px 24px rgba(109, 93, 242, 0.26);
}
body[data-theme="dark"] .pricing-card:not(.featured) .pricing-cta {
  background: rgba(244, 214, 255, 0.12);
  color: #FFFFFF;
  border-color: rgba(244, 214, 255, 0.32);
}
.pricing-cta:hover { filter: brightness(1.05); transform: translateY(-1px); }
.pricing-note {
  margin-top: 16px;
  font-family: var(--font-body);
  font-size: 13px; color: var(--ink-3); text-align: center;
}

body[data-theme="dark"] .final-cta-card .pricing-name {
  color: #F0ABFC;
}
body[data-theme="dark"] .final-cta-card .pricing-price {
  color: #FFFFFF;
}
body[data-theme="dark"] .final-cta-card .pricing-price .period,
body[data-theme="dark"] .final-cta-card .pricing-sub,
body[data-theme="dark"] .final-cta-card .pricing-features li,
body[data-theme="dark"] .final-cta-card .pricing-note {
  color: rgba(255, 255, 255, 0.84);
}
body[data-theme="dark"] .final-cta-card .pricing-features {
  border-top-color: rgba(244, 214, 255, 0.22);
}
body[data-theme="dark"] .final-cta-card .pricing-check {
  background: linear-gradient(135deg,#A7C8FC,#F0ABFC);
  color: #1A0B2E;
}
body[data-theme="dark"] .final-cta-card .cta-title-gradient {
  background: linear-gradient(90deg, #FFFFFF 0%, #F4D6FF 34%, #A78BFA 72%, #FFFFFF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
@media (max-width: 620px) {
  .pricing-grid { grid-template-columns: 1fr; }
}

/* ─── REQUEST ACCOUNT DELETION FORM ───────────────── */
.rd-form { display: flex; flex-direction: column; gap: 10px; }
.rd-label {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
  margin-top: 8px;
}
.rd-input {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  background: var(--surface-strong);
  border: 1px solid var(--surface-border);
  border-radius: 14px;
  padding: 14px 16px;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.rd-input::placeholder { color: var(--ink-3); }
.rd-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--glow-tint);
}
.rd-textarea {
  resize: none;
  color: var(--ink-2);
  background: var(--surface-soft);
  cursor: not-allowed;
}
.rd-error {
  font-family: var(--font-body);
  font-size: 13px;
  color: #B91C1C;
  background: rgba(239,68,68,0.10);
  border: 1px solid rgba(239,68,68,0.30);
  border-radius: 12px;
  padding: 10px 14px;
  margin-top: 4px;
}
body[data-theme="dark"] .rd-error { color: #FCA5A5; }
.rd-submit {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  background: linear-gradient(90deg,#A7C8FC,#B29CFB);
  border: none;
  border-radius: 999px;
  padding: 15px 28px;
  margin-top: 12px;
  cursor: pointer;
  align-self: flex-start;
  box-shadow: 0 6px 18px rgba(126,184,247,0.35), 0 12px 32px rgba(178,156,251,0.20);
  transition: transform 120ms ease-out, box-shadow 200ms ease-out, opacity 160ms ease;
}
.rd-submit:active { transform: scale(0.97); }
.rd-submit:disabled { opacity: 0.6; cursor: default; }
body[data-theme="dark"] .rd-submit { background: linear-gradient(90deg,#6D5DF2,#B48CF2); }
.rd-note {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--ink-2);
  margin-top: 16px;
  line-height: 1.5;
}
.rd-success h2 {
  font-family: var(--font-display, var(--font-body));
  color: var(--ink);
  margin-bottom: 10px;
}
