/* Same identity as the app and web: dark surfaces, lime accent, Syne + Outfit. */
:root {
  --bg: #121212;
  --surface: #1a1a1a;
  --surface-2: #242424;
  --border: #2e2e2e;
  --text: #f2f2f0;
  --muted: #9a9a92;
  --accent: #c6f135;
  --on-accent: #111111;
  --font-body: 'Outfit', 'Segoe UI', system-ui, sans-serif;
  --font-display: 'Syne', 'Outfit', sans-serif;
  --radius: 16px;
}

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

html {
  scroll-behavior: smooth;
}

html,
body {
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0;
}

h1 {
  font-size: clamp(2.3rem, 5.6vw, 4.1rem);
}

h2 {
  font-size: clamp(1.8rem, 3.8vw, 2.7rem);
  max-width: 20ch;
}

h3 {
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

.wrap {
  width: min(1140px, 100% - 32px);
  margin-inline: auto;
}

.wrap.narrow {
  width: min(760px, 100% - 32px);
}

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

.muted {
  color: var(--muted);
}

.eyebrow {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}

.lede {
  color: var(--muted);
  font-size: 1.12rem;
  max-width: 54ch;
  margin-top: 1.1rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-weight: 700;
  border-radius: 12px;
  padding: 0.85rem 1.35rem;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

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

.btn-primary {
  background: var(--accent);
  color: var(--on-accent);
}

.btn-primary:hover {
  background: #d4f75e;
}

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

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

.btn-sm {
  padding: 0.55rem 1rem;
  font-size: 0.92rem;
  border-radius: 10px;
}

.btn-block {
  width: 100%;
}

/* ---------- Header ---------- */
.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.top-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 68px;
}

.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: -0.04em;
  color: var(--accent);
}

.brand.small {
  font-size: 1.25rem;
}

.nav {
  display: flex;
  gap: 1.4rem;
  margin-left: 1rem;
  font-size: 0.95rem;
  color: var(--muted);
}

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

.top-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lang {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 2px;
}

.lang button {
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 999px;
  padding: 0.25rem 0.6rem;
  cursor: pointer;
}

.lang button[aria-pressed='true'] {
  background: var(--surface-2);
  color: var(--text);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 5rem 0 4.5rem;
}

.hero::before {
  content: '';
  position: absolute;
  inset: -30% -10% auto auto;
  width: 640px;
  height: 640px;
  background: radial-gradient(circle, rgba(198, 241, 53, 0.16), transparent 62%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 3rem;
  align-items: center;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

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

.hero-points {
  list-style: none;
  padding: 0;
  margin: 1.8rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.4rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-points li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  margin-right: 0.45rem;
}

/* Phone mockup (pure HTML/CSS — mirrors the real session screen). */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  padding-bottom: 56px;
}

.phone {
  width: 300px;
  border-radius: 46px;
  padding: 12px;
  background: #050505;
  border: 1px solid #333;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.6), 0 0 0 1px #1d1d1d inset;
  position: relative;
}

.phone-notch {
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 92px;
  height: 26px;
  border-radius: 20px;
  background: #000;
  z-index: 2;
}

.screen {
  border-radius: 36px;
  background: var(--bg);
  padding: 60px 16px 18px;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 13px;
}

.s-title {
  display: block;
  font-family: var(--font-display);
  font-size: 19px;
}

.s-sub {
  color: var(--muted);
  font-size: 12px;
}

.s-timer {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 14px;
  color: var(--muted);
}

.s-timer strong {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.s-ex {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 10px 12px;
  display: grid;
  gap: 7px;
}

.s-ex-head {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
}

.s-ex-head em {
  font-style: normal;
  color: var(--muted);
}

.s-set {
  display: grid;
  grid-template-columns: 28px 1fr 34px;
  align-items: center;
  gap: 8px;
}

.s-set b {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--border);
  display: grid;
  place-items: center;
  font-size: 12px;
  color: var(--muted);
}

.s-set.done b {
  background: #8fdc6b;
  border-color: #8fdc6b;
  color: #111;
}

.s-set span {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 5px 8px;
}

.s-set.pr span:first-of-type {
  border-color: var(--accent);
}

.s-set i {
  font-style: normal;
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
  margin-left: 4px;
}

.s-rest {
  margin-top: auto;
  background: var(--accent);
  color: var(--on-accent);
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  font-weight: 700;
}

.live-card {
  position: absolute;
  bottom: 0;
  left: calc(50% - 230px);
  display: flex;
  align-items: center;
  gap: 12px;
  width: 310px;
  padding: 14px 16px;
  border-radius: 22px;
  background: rgba(30, 30, 30, 0.86);
  backdrop-filter: blur(16px);
  border: 1px solid #3a3a3a;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

.live-icon {
  font-size: 22px;
}

.live-card small {
  display: block;
  color: var(--accent);
  font-weight: 700;
  font-size: 11px;
}

.live-card > div {
  min-width: 0;
}

.live-card strong {
  display: block;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.live-timer {
  margin-left: auto;
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

/* ---------- Sections ---------- */
.section {
  padding: 5.5rem 0;
}

.section.alt {
  background: #161616;
  border-block: 1px solid var(--border);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.6rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.card:hover {
  border-color: #4a4a4a;
  transform: translateY(-2px);
}

.card .icon {
  font-size: 1.6rem;
  display: block;
  margin-bottom: 0.9rem;
}

.card p {
  color: var(--muted);
  margin-top: 0.5rem;
  font-size: 0.98rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 3.5rem;
  align-items: center;
}

.checks {
  list-style: none;
  padding: 0;
  margin: 1.8rem 0 2rem;
  display: grid;
  gap: 0.85rem;
  color: var(--muted);
}

.checks li {
  padding-left: 1.7rem;
  position: relative;
}

.checks li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.checks strong {
  color: var(--text);
}

.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 1.2rem;
  display: grid;
  gap: 0.6rem;
}

.panel-head {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: 999px;
  width: fit-content;
  margin-bottom: 0.4rem;
}

.tab {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  color: var(--muted);
}

.tab.on {
  background: var(--accent);
  color: var(--on-accent);
}

.rank {
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.75rem 1rem;
}

.rank.me {
  border-color: var(--accent);
  background: #1d2410;
}

.rank b {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--accent);
  width: 2.4rem;
}

.rank strong {
  display: block;
}

.rank small {
  color: var(--muted);
}

.invoice {
  margin-top: 0.4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--surface-2);
  border-radius: 14px;
  padding: 0.85rem 1rem;
}

.invoice small {
  display: block;
  color: var(--muted);
}

.invoice strong {
  font-size: 1.2rem;
}

.pill {
  background: #17251a;
  color: #8fdc6b;
  border: 1px solid #2f5a2a;
  border-radius: 999px;
  padding: 0.2rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 700;
}

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

.steps li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.step-n {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 1rem;
}

.steps p {
  color: var(--muted);
  margin-top: 0.5rem;
}

/* ---------- Pricing ---------- */
.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 420px));
  gap: 1.2rem;
  margin-top: 2.6rem;
}

.plan {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.plan.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(198, 241, 53, 0.25), 0 30px 70px rgba(198, 241, 53, 0.06);
}

.badge {
  position: absolute;
  top: -12px;
  left: 2rem;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
}

.price {
  font-family: var(--font-display);
  font-size: 2rem;
  margin-top: 0.9rem;
  letter-spacing: -0.03em;
}

.plan-sub {
  color: var(--muted);
  font-size: 0.92rem;
}

.plan ul {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 2rem;
  display: grid;
  gap: 0.6rem;
  color: var(--muted);
  flex: 1;
}

.plan li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  margin-right: 0.55rem;
}

/* ---------- FAQ ---------- */
details {
  border-bottom: 1px solid var(--border);
  padding: 1.1rem 0;
}

details:first-of-type {
  margin-top: 2rem;
  border-top: 1px solid var(--border);
}

summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: '+';
  color: var(--accent);
  font-size: 1.4rem;
  line-height: 1;
}

details[open] summary::after {
  content: '–';
}

details p {
  color: var(--muted);
  margin-top: 0.7rem;
}

/* ---------- Final CTA / footer ---------- */
.final {
  padding: 6rem 0;
  text-align: center;
  background: radial-gradient(ellipse at center, rgba(198, 241, 53, 0.12), transparent 65%);
}

.final h2 {
  margin-inline: auto;
}

.final p {
  color: var(--muted);
  margin-top: 1rem;
  font-size: 1.1rem;
}

.footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 3.5rem;
  }

  .grid,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav {
    display: none;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .grid,
  .steps,
  .plans {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 4rem 0;
  }

  .top-inner {
    gap: 0.75rem;
  }

  .phone {
    transform: scale(0.88);
    transform-origin: top center;
    margin-bottom: -60px;
  }

  .live-card {
    left: 50%;
    transform: translateX(-50%);
    width: min(290px, 100%);
  }

  .lang button {
    padding: 0.25rem 0.5rem;
  }

  .top .btn-sm {
    padding: 0.5rem 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn,
  .card {
    transition: none;
  }
}

.footer-links {
  display: flex;
  gap: 1rem;
  font-size: 0.9rem;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--text);
}
