/* JocoFit landing — self-contained, no build step */
:root {
  --bg-dark: #0c1222;
  --bg-dark-2: #121b30;
  --panel: #18233b;
  --panel-2: #1f2c49;
  --orange: #ea732c;
  --orange-2: #f59e0b;
  --light: #f8fafc;
  --muted: #94a3b8;
  --muted-dark: #5b6b86;
  --section-light: #f6f7f9;
  --ink: #0f172a;
  --ink-soft: #475569;
  --card: #ffffff;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--light);
  background: var(--bg-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.5rem; }
.logo svg { display: block; }
.logo-text {
  background: linear-gradient(90deg, #5b9bff, #38bdf8 35%, var(--orange-2) 70%, var(--orange));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 28px; border-radius: 14px; font-weight: 700; font-size: 1.05rem;
  border: none; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-light { background: #fff; color: #0b0f1a; box-shadow: 0 12px 30px rgba(0,0,0,.25); }
.btn-dark { background: #0f172a; color: #fff; box-shadow: 0 12px 30px rgba(15,23,42,.25); }
.btn .apple { width: 20px; height: 20px; fill: currentColor; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(900px 500px at 85% 40%, rgba(234,115,44,.18), transparent 60%),
    linear-gradient(180deg, var(--bg-dark), var(--bg-dark-2));
  padding-bottom: 80px;
}
.hero-nav { display: flex; align-items: center; padding: 26px 0; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; padding-top: 40px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(234,115,44,.5); color: var(--orange-2);
  padding: 8px 16px; border-radius: 999px; font-size: .9rem; font-weight: 600;
}
.pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.hero h1 { font-size: 4rem; line-height: 1.05; font-weight: 800; margin: 24px 0 20px; letter-spacing: -1px; }
.hero h1 .accent { color: var(--orange); display: block; }
.hero p.lead { color: var(--muted); font-size: 1.2rem; max-width: 30ch; margin-bottom: 32px; }
.trust { display: flex; gap: 28px; margin-top: 28px; color: var(--muted); font-weight: 500; }
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.check { width: 20px; height: 20px; border-radius: 50%; background: var(--orange); color: #fff; display: inline-grid; place-items: center; font-size: 12px; }

/* mock workout card */
.mock {
  background: linear-gradient(180deg, #0e1626, #0b1120);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 24px; padding: 22px;
  box-shadow: 0 30px 60px rgba(0,0,0,.45), 0 0 70px rgba(234,115,44,.12);
}
.mock-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 18px; }
.mock-head h3 { font-size: 1.25rem; }
.mock-head .round { color: var(--orange-2); font-weight: 600; }
.mock-row {
  display: flex; justify-content: space-between; align-items: center;
  background: var(--panel); border-radius: 14px; padding: 16px 18px; margin-bottom: 12px; font-size: 1.05rem;
}
.mock-row .reps { color: var(--orange-2); font-weight: 700; }
.mock-cta { width: 100%; margin-top: 6px; background: linear-gradient(90deg, var(--orange-2), var(--orange)); color: #fff; border: none; padding: 16px; border-radius: 14px; font-weight: 700; font-size: 1.05rem; }

/* ---------- Sections ---------- */
section { padding: 88px 0; }
.section-light { background: var(--section-light); color: var(--ink); }
.section-dark { background: linear-gradient(180deg, var(--bg-dark-2), var(--bg-dark)); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head h2 { font-size: 2.6rem; font-weight: 800; letter-spacing: -.5px; }
.section-light .section-head p { color: var(--ink-soft); font-size: 1.15rem; margin-top: 12px; }
.section-dark .section-head p { color: var(--muted); font-size: 1.15rem; margin-top: 12px; }

/* feature grid */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.feature { background: var(--card); border-radius: 20px; padding: 32px; box-shadow: 0 10px 30px rgba(15,23,42,.06); }
.feature .icon {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-size: 26px;
  background: linear-gradient(135deg, var(--orange-2), var(--orange)); margin-bottom: 20px;
}
.feature h3 { font-size: 1.3rem; color: var(--ink); margin-bottom: 10px; }
.feature p { color: var(--ink-soft); }

/* ladder explainer */
.ladder-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.steps { display: flex; flex-direction: column; gap: 28px; }
.step { display: flex; gap: 18px; }
.step .num { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; font-weight: 700; }
.step h3 { font-size: 1.3rem; margin-bottom: 4px; }
.step p { color: var(--muted); }
.totals { background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08); border-radius: 22px; padding: 32px; }
.totals h3 { text-align: center; font-size: 1.25rem; margin-bottom: 22px; }
.total-row { display: flex; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.07); }
.total-row:last-of-type { border-bottom: none; }
.total-row .reps { color: var(--orange-2); font-weight: 700; }
.total-sum { text-align: right; margin-top: 18px; color: var(--muted); }
.total-sum b { color: #fff; font-size: 1.4rem; margin-left: 8px; }

/* CTA */
.cta { text-align: center; }
.cta h2 { font-size: 2.6rem; font-weight: 800; margin-bottom: 16px; }
.cta p { color: var(--ink-soft); font-size: 1.2rem; max-width: 40ch; margin: 0 auto 36px; }

/* ---------- Footer ---------- */
.footer { background: var(--bg-dark); border-top: 1px solid rgba(255,255,255,.06); padding: 40px 0; }
.footer-grid { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 28px; color: var(--muted); }
.footer-links a:hover { color: #fff; }
.footer .copyright { text-align: center; color: var(--muted-dark); margin-top: 28px; font-size: .9rem; }

/* ---------- Legal pages ---------- */
.legal { background: var(--bg-dark); padding: 64px 0 96px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: 2.6rem; font-weight: 800; margin-bottom: 8px; }
.legal .updated { color: var(--muted-dark); margin-bottom: 36px; }
.legal h2 { font-size: 1.4rem; margin: 32px 0 10px; }
.legal p, .legal li { color: #c7d2e0; margin-bottom: 12px; }
.legal ul { padding-left: 22px; }
.legal a { color: var(--orange-2); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero-grid, .ladder-grid { grid-template-columns: 1fr; gap: 40px; }
  .features { grid-template-columns: 1fr; }
  .hero h1 { font-size: 3rem; }
  .section-head h2, .cta h2 { font-size: 2rem; }
  .mock { order: -1; }
}
