/* LifeFitTracer public landing page (home.php). Same brand as the app: near-black, ember gradient, Oswald headings,
   one accent colour per section (food lime, body cyan, cardio red, lifting gold, calendar purple). */
:root {
  --bg: #0A0A0D; --bg-2: #0E0F13; --surface: #14141A; --surface-2: #1A1A22; --border: #26262F; --text: #F4F4F6; --muted: #A1A1AA;
  --ember: #FF3D00; --ember-2: #FF8A00; --red: #FF2D2D; --ok: #A3E635; --gold: #FFB800;
  --grad: linear-gradient(90deg, #FF2D2D, #FF8A00);
  --head: "Oswald", "Arial Narrow", Impact, sans-serif; --shadow: 0 24px 60px rgba(0, 0, 0, .55);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body.lp { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 Barlow, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
.lp a { color: var(--ember-2); }
.lp-wrap { width: min(1160px, 100% - 32px); margin: 0 auto; }
.lp-narrow { width: min(800px, 100% - 32px); }
.lp h1, .lp h2, .lp h3 { font-family: var(--head); text-transform: uppercase; letter-spacing: .02em; line-height: 1.08; margin: 0; font-weight: 700; }

/* Buttons: cut corner like the app */
.lp-btn { --cut: 12px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 26px;
  background: var(--grad); color: #fff !important; font-family: var(--head); font-weight: 600; font-size: 18px; letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; border: 0; clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut)));
  transition: filter .15s, transform .15s; box-shadow: 0 0 30px rgba(255, 61, 0, .25); }
.lp-btn:hover { filter: brightness(1.12); transform: translateY(-1px); }
.lp-btn-ghost { background: transparent; color: var(--text) !important; box-shadow: inset 0 0 0 2px var(--border); }
.lp-btn-ghost:hover { background: var(--surface-2); }
.lp-btn-sm { --cut: 8px; min-height: 40px; padding: 0 16px; font-size: 15px; }

/* Nav */
.lp-nav { position: sticky; top: 0; z-index: 50; background: rgba(10, 10, 13, .9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.lp-nav-in { display: flex; align-items: center; gap: 24px; height: 68px; }
.lp-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text) !important; text-decoration: none; font-family: var(--head); font-weight: 700; font-size: 22px; letter-spacing: .06em; }
.lp-brand b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 700; }
.lp-links { display: flex; gap: 24px; margin-inline-start: 12px; }
.lp-links a, .lp-login { color: var(--muted) !important; text-decoration: none; font-weight: 600; font-size: 15px; text-transform: uppercase; letter-spacing: .08em; }
.lp-links a:hover, .lp-login:hover { color: var(--text) !important; }
.lp-nav-cta { margin-inline-start: auto; display: flex; align-items: center; gap: 16px; }
.lp-nav-cta a { white-space: nowrap; }
@media (max-width: 760px) { .lp-links { display: none; } .lp-nav-in { gap: 12px; } .lp-brand { font-size: 19px; } }

/* Hero */
.lp-hero { background: radial-gradient(900px 520px at 85% 0%, rgba(255, 61, 0, .28), transparent 60%), radial-gradient(700px 420px at 0% 100%, rgba(255, 184, 0, .10), transparent 60%), var(--bg); overflow: hidden; border-bottom: 1px solid var(--border); }
.lp-hero-in { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding: 72px 0 84px; }
.lp-eyebrow { display: inline-block; margin: 0 0 18px; padding: 6px 14px; background: rgba(255, 61, 0, .14); color: #FF9A6B; font-family: var(--head); font-weight: 600; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; }
.lp-hero h1 { font-size: clamp(40px, 6vw, 72px); }
.lp-hero h1 span { display: block; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: .62em; margin-top: 10px; }
.lp-lead { font-size: clamp(18px, 1.6vw, 21px); color: #C4C4CC; margin: 22px 0 30px; max-width: 32em; }
.lp-cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.lp-ticks { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 24px 0 0; color: #C4C4CC; font-weight: 600; font-size: 15px; }
.lp-ticks li, .lp-list li { display: flex; align-items: flex-start; gap: 8px; }
.lp-ticks svg { color: var(--ok); flex: none; margin-top: 3px; }
.lp-stores { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; }
.lp-stores span { padding: 7px 12px; border: 1px dashed #3A3A46; color: var(--muted); font-size: 14px; font-weight: 600; }

.lp-hero-art { position: relative; height: 610px; }
.lp-phone { margin: 0; border-radius: 40px; padding: 9px; background: #050507; box-shadow: var(--shadow), inset 0 0 0 2px #2A2A33; width: 290px; max-width: 100%; }
.lp-phone img { display: block; width: 100%; height: auto; border-radius: 32px; }
.lp-hero-art .lp-phone { position: absolute; }
.lp-phone-back { top: 46px; inset-inline-start: 3%; transform: rotate(-6deg); opacity: .9; }
.lp-phone-front { top: 0; inset-inline-end: 5%; transform: rotate(3deg); box-shadow: 0 30px 90px rgba(255, 61, 0, .22), 0 30px 80px rgba(0,0,0,.6), inset 0 0 0 2px #2A2A33; }
.lp-float { position: absolute; z-index: 3; background: var(--surface-2); border: 1px solid var(--border); border-left: 4px solid var(--ember); padding: 10px 16px; box-shadow: 0 14px 40px rgba(0,0,0,.5); }
.lp-float small { display: block; font-size: 12px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.lp-float strong { font-family: var(--head); font-size: 30px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.lp-float .lp-ok { color: var(--ok); }
.lp-float-a { bottom: 80px; inset-inline-start: 0; }
.lp-float-b { top: 130px; inset-inline-end: 0; border-left-color: var(--gold); }
@media (max-width: 900px) {
  .lp-hero-in { grid-template-columns: 1fr; padding: 48px 0 40px; }
  .lp-hero-art { height: 470px; max-width: 420px; width: 100%; margin: 0 auto; }
  .lp-hero-art .lp-phone { width: 220px; }
  .lp-float-b { top: 60px; }
}

/* What you track */
.lp-strip { background: var(--bg-2); border-bottom: 1px solid var(--border); padding: 28px 0; text-align: center; }
.lp-strip p { margin: 0 0 14px; font-family: var(--head); font-weight: 600; color: var(--muted); font-size: 15px; text-transform: uppercase; letter-spacing: .14em; }
.lp-strip ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 10px; list-style: none; margin: 0; padding: 0; }
.lp-strip li { padding: 6px 14px; background: var(--surface-2); border: 1px solid var(--border); border-bottom: 2px solid var(--c); font-weight: 600; font-size: 15px; }

/* Three-up band */
.lp-band { padding: 60px 0; }
.lp-three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.lp-three > div { background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--border); padding: 26px; border-top: 4px solid var(--c); }
.lp-three strong { font-family: var(--head); font-size: 22px; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; }
.lp-three p { margin: 8px 0 0; color: var(--muted); }
@media (max-width: 800px) { .lp-three { grid-template-columns: 1fr; } }

/* Features */
.lp-features { padding: 30px 0 76px; }
.lp-h2 { font-size: clamp(32px, 4vw, 48px); text-align: center; }
.lp-sub { text-align: center; color: var(--muted); font-size: 19px; margin: 12px auto 0; max-width: 40em; }
.lp-row { display: grid; grid-template-columns: 340px 1fr; gap: 64px; align-items: center; margin-top: 76px; }
.lp-row .lp-phone { width: 300px; justify-self: center; box-shadow: 0 24px 70px color-mix(in srgb, var(--c) 18%, transparent), var(--shadow), inset 0 0 0 2px #2A2A33; }
.lp-row-flip { grid-template-columns: 1fr 340px; }
.lp-row-flip .lp-phone { order: 2; }
.lp-tag { display: inline-block; padding: 5px 12px; background: color-mix(in srgb, var(--c) 16%, transparent); color: var(--c); font-family: var(--head); font-weight: 600; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; }
.lp-row h3 { font-size: clamp(28px, 3.2vw, 40px); margin: 14px 0 12px; }
.lp-row p { color: var(--muted); font-size: 19px; margin: 0 0 18px; max-width: 32em; }
.lp-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-weight: 600; }
.lp-list svg { color: var(--c, var(--ok)); flex: none; margin-top: 4px; }
@media (max-width: 820px) {
  .lp-row, .lp-row-flip { grid-template-columns: 1fr; gap: 28px; margin-top: 56px; }
  .lp-row-flip .lp-phone { order: 0; }
  .lp-row .lp-phone { width: 250px; }
}
.lp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 84px; }
.lp-card { background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--c); padding: 22px; }
.lp-card strong { font-family: var(--head); font-size: 20px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.lp-card p { margin: 6px 0 0; color: var(--muted); font-size: 16px; }
@media (max-width: 860px) { .lp-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .lp-grid { grid-template-columns: 1fr; } }

/* Steps */
.lp-steps { background: var(--bg-2); border-block: 1px solid var(--border); padding: 66px 0; }
.lp-steps ol { list-style: none; padding: 0; margin: 38px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.lp-steps li { padding: 24px 22px 22px; background: var(--surface); border: 1px solid var(--border); }
.lp-steps li b { display: inline-grid; place-items: center; width: 42px; height: 42px; background: var(--grad); color: #fff; font-family: var(--head); font-size: 22px; margin-bottom: 12px; }
.lp-steps li strong { display: block; font-family: var(--head); font-size: 21px; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; }
.lp-steps li p { margin: 6px 0 0; color: var(--muted); }
@media (max-width: 800px) { .lp-steps ol { grid-template-columns: 1fr; } }

/* Pricing */
.lp-pricing { padding: 76px 0; }
.lp-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 390px)); justify-content: center; gap: 22px; margin-top: 38px; }
.lp-plan { position: relative; display: flex; flex-direction: column; gap: 14px; background: var(--surface); border: 1px solid var(--border); padding: 30px; --c: var(--ok); }
.lp-plan h3 { font-size: 26px; }
.lp-price { margin: -4px 0 0; font-family: var(--head); font-size: 54px; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.lp-price small { font-family: Barlow, sans-serif; font-size: 17px; color: var(--muted); font-weight: 600; margin-inline-start: 4px; }
.lp-alt { margin: -6px 0 0; color: var(--muted); }
.lp-alt b { color: var(--text); }
.lp-plan .lp-list { flex: 1; font-weight: 500; }
.lp-plan-pro { border: 2px solid transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box; box-shadow: 0 20px 60px rgba(255, 61, 0, .18); --c: var(--gold); }
.lp-badge { position: absolute; top: -14px; inset-inline-start: 26px; background: var(--grad); color: #fff; font-family: var(--head); font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 5px 12px; }
.lp-fine { color: var(--muted); text-align: center; }
@media (max-width: 760px) { .lp-plans { grid-template-columns: 1fr; } }

/* Privacy */
.lp-privacy { padding: 0 0 76px; }
.lp-privacy-in { display: flex; gap: 24px; align-items: flex-start; background: linear-gradient(135deg, #17110F, var(--surface)); border: 1px solid #3A2418; padding: 34px; }
.lp-privacy svg { flex: none; }
.lp-privacy h2 { font-size: 30px; }
.lp-privacy p { color: #C4C4CC; margin: 8px 0 0; font-size: 18px; }
@media (max-width: 600px) { .lp-privacy-in { flex-direction: column; padding: 26px; } }

/* FAQ */
.lp-faq { padding: 0 0 76px; }
.lp-faq .lp-h2 { margin-bottom: 28px; }
.lp-faq details { background: var(--surface); border: 1px solid var(--border); margin-bottom: 10px; }
.lp-faq summary { cursor: pointer; padding: 18px 20px; font-weight: 700; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: "+"; color: var(--ember-2); font-size: 26px; line-height: 1; font-weight: 600; }
.lp-faq details[open] summary::after { content: "–"; }
.lp-faq details p { margin: 0; padding: 0 20px 18px; color: var(--muted); }

/* Final CTA */
.lp-final { background: radial-gradient(800px 380px at 50% 0%, rgba(255, 61, 0, .3), transparent 70%), var(--bg-2); border-top: 1px solid var(--border); text-align: center; padding: 76px 0; }
.lp-final h2 { font-size: clamp(32px, 4vw, 48px); max-width: 18em; margin: 0 auto; }
.lp-final p { color: #C4C4CC; font-size: 19px; margin: 14px 0 26px; }
.lp-final .lp-final-login { font-size: 16px; margin: 18px 0 0; }
.lp-final .lp-final-login a { color: var(--text); font-weight: 700; }

/* Footer */
.lp-foot { background: #060607; color: var(--muted); padding: 30px 0 22px; border-top: 1px solid var(--border); }
.lp-foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.lp-foot-line { display: flex; flex-wrap: wrap; margin: 0; font-size: 15px; flex: 1; min-width: 260px; justify-content: flex-end; }
.lp-foot-line > * + *::before { content: "·"; margin: 0 8px; }
.lp-foot a { color: #C4C4CC; }
.lp-disclaimer { margin-top: 16px; font-size: 13px; color: #71717A; }
@media (max-width: 640px) { .lp-foot-line { justify-content: flex-start; } }
@media (max-width: 440px) {
  .lp-brand { font-size: 17px; gap: 7px; }
  .lp-brand svg { width: 28px; height: 28px; }
  .lp-nav-cta { gap: 10px; }
  .lp-login { font-size: 14px; }
  .lp-btn-sm { padding: 0 11px; font-size: 13px; min-height: 36px; }
}
