/* Gymblix site — shared styles for every page */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:      #0B0F0E;
  --bg-2:    #101614;
  --card:    #161D1A;
  --border:  #1E2622;
  --volt:    #C6FF00;
  --mint:    #39FF88;
  --text:    #F5F7F5;
  --muted:   #9CA3A0;
  --on-volt: #0B0F0E;
  --radius:  16px;
}

html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--volt); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* ── Header ─────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(11, 15, 14, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; gap: 16px;
}
.logo { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; font-size: 18px; }
.logo:hover { text-decoration: none; }
.logo img { width: 32px; height: 32px; border-radius: 8px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--muted); font-size: 14px; font-weight: 500; }
.nav a:hover { color: var(--text); text-decoration: none; }

/* ── Buttons ────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 12px;
  font-weight: 700; font-size: 15px; border: 1px solid transparent;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--volt); color: var(--on-volt); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { background: var(--card); }
.btn-sm { padding: 8px 16px; font-size: 14px; border-radius: 10px; }

/* ── Hero ───────────────────────────────── */
.hero { padding: 72px 0 56px; }
.hero .container { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: center; }
.pill {
  display: inline-block; padding: 6px 12px; border-radius: 999px;
  background: rgba(198, 255, 0, 0.1); color: var(--volt);
  font-size: 13px; font-weight: 600; margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(34px, 6vw, 56px); line-height: 1.08;
  font-weight: 900; letter-spacing: -1px; margin-bottom: 20px;
}
.hero h1 span { color: var(--volt); }
.hero p.lead { color: var(--muted); font-size: 18px; max-width: 540px; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { color: var(--muted); font-size: 13px; margin-top: 16px; }

.phone {
  justify-self: center;
  width: 240px; padding: 10px; border-radius: 36px;
  background: #1A211E; border: 1px solid var(--border);
  box-shadow: 0 30px 80px rgba(198, 255, 0, 0.12);
}
.phone img { border-radius: 28px; width: 100%; }

/* ── Sections ───────────────────────────── */
section { padding: 72px 0; }
section.alt { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 44px; }
.section-head h2 { font-size: clamp(26px, 4vw, 36px); font-weight: 800; letter-spacing: -0.5px; margin-bottom: 10px; }
.section-head p { color: var(--muted); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
}
.feature .icon {
  width: 40px; height: 40px; border-radius: 10px;
  display: grid; place-items: center; color: var(--mint);
  background: rgba(57, 255, 136, 0.1); margin-bottom: 14px;
}
.feature h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 14px; }

/* ── Pricing ────────────────────────────── */
.billing-toggle {
  display: flex; justify-content: center; gap: 4px; margin: 0 auto 32px;
  background: var(--card); border: 1px solid var(--border);
  border-radius: 12px; padding: 4px; width: max-content;
}
.billing-toggle button {
  font: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
  border: 0; border-radius: 9px; padding: 8px 18px;
  background: transparent; color: var(--muted);
}
.billing-toggle button[aria-pressed="true"] { background: var(--volt); color: var(--on-volt); }
.save { font-size: 11px; font-weight: 700; margin-left: 4px; }

.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.plan {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px 22px;
  display: flex; flex-direction: column;
}
.plan.popular { border-color: var(--volt); position: relative; }
.plan .tag {
  position: absolute; top: -11px; left: 22px;
  background: var(--volt); color: var(--on-volt);
  font-size: 11px; font-weight: 800; padding: 3px 10px; border-radius: 999px;
  text-transform: uppercase; letter-spacing: .4px;
}
.plan h3 { font-size: 18px; font-weight: 800; }
.plan .for { color: var(--muted); font-size: 13px; margin-bottom: 16px; }
.price { font-size: 34px; font-weight: 900; letter-spacing: -0.5px; }
.price small { font-size: 14px; font-weight: 500; color: var(--muted); }
.plan ul { list-style: none; margin: 20px 0 0; display: grid; gap: 8px; }
.plan li { font-size: 14px; color: var(--text); padding-left: 22px; position: relative; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--mint); font-weight: 800; }
.pricing-note { text-align: center; color: var(--muted); font-size: 13px; margin-top: 24px; }

/* ── Steps ──────────────────────────────── */
.step-num {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--volt); color: var(--on-volt);
  display: grid; place-items: center; font-weight: 800; margin-bottom: 14px;
}

/* ── Contact ────────────────────────────── */
.contact-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 40px 24px; text-align: center;
  max-width: 720px; margin: 0 auto;
}
.contact-card h2 { font-size: clamp(24px, 4vw, 32px); font-weight: 800; margin-bottom: 8px; }
.contact-card p { color: var(--muted); margin-bottom: 24px; }
.contact-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ── Legal pages ────────────────────────── */
.legal { max-width: 760px; margin: 0 auto; padding: 56px 20px 40px; }
.legal h1 { font-size: clamp(28px, 5vw, 38px); font-weight: 900; letter-spacing: -0.5px; margin-bottom: 8px; }
.legal .updated { color: var(--muted); font-size: 13px; margin-bottom: 36px; }
.legal h2 { font-size: 19px; font-weight: 700; color: var(--mint); margin: 36px 0 12px; }
.legal h3 { font-size: 15px; font-weight: 700; margin: 20px 0 8px; }
.legal p, .legal li { font-size: 15px; margin-bottom: 12px; }
.legal ul, .legal ol { padding-left: 20px; margin-bottom: 12px; }
.legal li { margin-bottom: 6px; }
.legal .card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 14px; padding: 20px 22px; margin: 16px 0;
}
.legal .card > :last-child { margin-bottom: 0; }
.legal table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14px; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
.legal th { color: var(--muted); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .4px; }
.legal code { background: var(--border); padding: 1px 6px; border-radius: 4px; font-size: 14px; }

/* ── Footer ─────────────────────────────── */
.site-footer { border-top: 1px solid var(--border); padding: 36px 0; margin-top: 24px; }
.site-footer .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; align-items: center; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-links a { color: var(--muted); font-size: 14px; }
.footer-links a:hover { color: var(--text); }
.copyright { color: var(--muted); font-size: 13px; }

/* ── Responsive ─────────────────────────── */
@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .nav a:not(.btn) { display: none; }
  .hero { padding: 48px 0 32px; }
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .phone { width: 200px; }
  section { padding: 56px 0; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .site-footer .container { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}

/* Nav links are muted; keep the primary button readable */
.nav a.btn-primary, .nav a.btn-primary:hover { color: var(--on-volt); }

/* ── Hero phone: dashboard mockup built in HTML ── */
.screen {
  border-radius: 28px; background: #0B0F0E; overflow: hidden;
  padding: 12px 12px 10px; font-size: 10px; line-height: 1.3; color: var(--text);
  display: flex; flex-direction: column; gap: 9px; text-align: left;
}
.s-status { display: flex; justify-content: space-between; align-items: center; font-size: 9px; font-weight: 600; padding: 0 4px; }
.s-notch { width: 54px; height: 14px; background: #000; border-radius: 10px; }
.s-head { display: flex; justify-content: space-between; align-items: center; padding: 2px 2px 0; }
.s-hi { font-size: 13px; font-weight: 800; }
.s-gym { color: var(--muted); font-size: 9px; }
.s-bell { width: 24px; height: 24px; border-radius: 50%; background: var(--card); border: 1px solid var(--border); position: relative; }
.s-bell::after { content: ""; position: absolute; top: 5px; right: 5px; width: 6px; height: 6px; border-radius: 50%; background: var(--volt); }
.s-revenue { background: linear-gradient(160deg, #1B2A12, var(--card)); border: 1px solid #2A3A1A; border-radius: 14px; padding: 10px 10px 0; }
.s-label { color: var(--muted); font-size: 8.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .3px; }
.s-big { font-size: 19px; font-weight: 900; letter-spacing: -0.3px; margin-top: 2px; }
.s-up { color: var(--mint); font-size: 8.5px; font-weight: 700; }
.s-chart { width: 100%; height: 34px; display: block; margin-top: 4px; }
.s-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.s-tile { background: var(--card); border: 1px solid var(--border); border-radius: 11px; padding: 7px 8px; }
.s-num { font-size: 15px; font-weight: 800; margin-top: 1px; }
.s-num.mint { color: var(--mint); }
.s-num.warn { color: #FFB020; }
.s-list { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 8px; display: grid; gap: 6px; }
.s-row { display: flex; align-items: center; gap: 7px; }
.s-av { width: 22px; height: 22px; border-radius: 50%; background: rgba(57,255,136,.14); color: var(--mint); font-size: 8px; font-weight: 800; display: grid; place-items: center; flex: none; }
.s-name { flex: 1; font-weight: 700; font-size: 10px; display: flex; flex-direction: column; }
.s-name small { color: var(--muted); font-weight: 500; font-size: 8.5px; }
.s-amt { font-weight: 800; font-size: 10px; }
.s-nav { display: flex; justify-content: space-around; padding: 6px 0 2px; border-top: 1px solid var(--border); }
.s-nav span { width: 16px; height: 16px; border-radius: 5px; background: var(--border); }
.s-nav span.on { background: var(--volt); }

/* ── Trusted by (hidden until real gyms are added) ── */
.trusted[hidden] { display: none; }
.gym-names { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 14px; margin-bottom: 32px; }
.gym-names span {
  padding: 8px 16px; border-radius: 999px; font-weight: 700; font-size: 14px;
  background: var(--card); border: 1px solid var(--border);
}
.quote { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; margin: 0; }
.quote blockquote { font-size: 15px; margin-bottom: 16px; }
.quote figcaption { color: var(--muted); font-size: 13px; display: flex; flex-direction: column; }
.quote figcaption strong { color: var(--text); font-size: 14px; }

/* ── Why Gymblix ─────────────────────────── */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cmp-wrap { max-width: 980px; margin: 0 auto 40px; overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); }
.cmp { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.cmp th, .cmp td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: middle; }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: 0; }
.cmp thead th { font-size: 13px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .4px; }
.cmp tbody th { font-weight: 600; color: var(--text); }
.cmp td { color: var(--muted); }
.cmp .cmp-us { background: rgba(198, 255, 0, 0.06); color: var(--text); font-weight: 600; }
.cmp thead .cmp-us { color: var(--volt); }
.cmp-y { color: var(--volt); font-weight: 900; margin-right: 4px; }
.cmp-n { color: #FF7A7A; font-weight: 900; margin-right: 4px; }
.cmp-m { font-size: 13px; }
.why-grid { margin-bottom: 36px; }
.why-name { display: flex; align-items: center; gap: 16px; max-width: 640px; margin: 0 auto; color: var(--muted); font-size: 14px; }
.why-name img { flex: none; width: 48px; height: 48px; border-radius: 12px; }
.why-name strong { color: var(--text); }
@media (max-width: 720px) {
  .why-name { flex-direction: column; text-align: center; gap: 10px; }
  .cmp-xl { display: none; }
  .cmp { font-size: 13.5px; }
  .cmp th, .cmp td { padding: 12px 10px; }
}

/* ── Problem → solution ─────────────────── */
.ps-list { display: grid; gap: 14px; max-width: 980px; margin: 0 auto; }
.ps {
  display: grid; grid-template-columns: 0.85fr 1.15fr;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
}
.ps-problem, .ps-solution { display: flex; gap: 14px; padding: 22px 24px; align-items: flex-start; }
.ps-problem { background: rgba(255, 92, 92, 0.05); border-right: 1px solid var(--border); }
.ps-problem p { font-size: 17px; font-weight: 600; line-height: 1.45; color: var(--text); }
.ps-mark { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; margin-top: 1px; }
.ps-mark.bad { background: rgba(255, 92, 92, 0.14); color: #FF7A7A; }
.ps-mark.good { background: rgba(198, 255, 0, 0.14); color: var(--volt); }
.ps-solution h3 { font-size: 16px; font-weight: 800; color: var(--volt); margin-bottom: 4px; }
.ps-solution p { color: var(--muted); font-size: 14.5px; }
.ps-solution .ps-result { color: var(--text); font-weight: 600; margin-top: 8px; }
.ps-more { text-align: center; color: var(--muted); font-size: 14px; max-width: 700px; margin: 28px auto 0; }

/* ── Loss calculator ────────────────────── */
.calc {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0; max-width: 900px; margin: 0 auto;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
}
.calc-inputs { display: grid; gap: 18px; padding: 28px; }
.calc-inputs label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--muted); }
.calc-inputs input, .calc-inputs select {
  font: inherit; font-size: 18px; font-weight: 700; color: var(--text);
  background: var(--bg); border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; width: 100%;
}
.calc-inputs input:focus, .calc-inputs select:focus { outline: 2px solid var(--volt); outline-offset: 1px; }
.calc-result { padding: 28px; background: rgba(198, 255, 0, 0.06); border-left: 1px solid var(--border); }
.calc-label { color: var(--muted); font-weight: 600; }
.calc-big { font-size: clamp(36px, 6vw, 52px); font-weight: 900; color: var(--volt); letter-spacing: -1px; line-height: 1.1; margin: 4px 0 12px; }
.calc-big small { font-size: 16px; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-left: 4px; }
.calc-sub { color: var(--text); font-size: 15px; margin-bottom: 8px; }
.calc-note { color: var(--muted); font-size: 12px; margin-top: 14px; }

@media (max-width: 720px) {
  .ps, .calc { grid-template-columns: 1fr; }
  .ps-problem { border-right: 0; border-bottom: 1px solid var(--border); }
  .ps-problem, .ps-solution { padding: 18px; }
  .ps-problem p { font-size: 16px; }
  .calc-result { border-left: 0; border-top: 1px solid var(--border); }
  .calc-inputs, .calc-result { padding: 22px 18px; }
}

/* ── FAQ ─────────────────────────────────── */
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 0 20px; }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 28px 18px 0; position: relative;
  font-weight: 700; font-size: 16px; color: var(--text);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  color: var(--volt); font-size: 22px; font-weight: 600;
}
.faq details[open] summary::after { content: "–"; }
.faq summary:focus-visible { outline: 2px solid var(--volt); outline-offset: 4px; border-radius: 6px; }
.faq details p { color: var(--muted); font-size: 15px; padding: 0 0 18px; }

/* ── Floating WhatsApp button ───────────── */
.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 20;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--volt); color: var(--on-volt);
  font-weight: 800; font-size: 15px; padding: 12px 18px; border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(0, 0, 0, 0.2);
}
.wa-float:hover { text-decoration: none; transform: translateY(-1px); }
.wa-float:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
@media (max-width: 720px) {
  .wa-float { right: 12px; bottom: 12px; padding: 12px 16px; }
  .site-footer { padding-bottom: 84px; }
}
