@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+Devanagari:wght@400;500;600;700&family=Nunito:wght@400;500;600;700;800&family=Quicksand:wght@500;600;700&display=swap");

:root {
  --bg: #fff7fb;
  --bg-2: #ffeef6;
  --card: rgba(255, 255, 255, 0.48);
  --card-solid: #ffffff;
  --ink: #1a0a12;
  --ink-soft: #2d1522;
  --muted: #4a2a3a;
  --line: rgba(255, 45, 140, 0.28);
  --pink: #ff2d8c;
  --pink-deep: #e6006e;
  --pink-soft: #ffb3d4;
  --pink-glow: rgba(255, 45, 140, 0.45);
  --neon: #ff2d8c;
  --neon-cyan: #00e5ff;
  --neon-soft: rgba(255, 45, 140, 0.35);
  --mint: #00c97a;
  --sky: #0088ff;
  --coral: #ff3355;
  --saffron: #ff2d8c;
  --lime: #ff2d8c;
  --fog: #4a2a3a;
  --mist: #2d1522;
  --snow: #1a0a12;
  --ink-2: #ffffff;
  --ink-3: #fff8fb;
  --font-display: "Quicksand", "Noto Sans Devanagari", sans-serif;
  --font-body: "Nunito", "Noto Sans Devanagari", sans-serif;
  --radius: 1.45rem;
  --shadow-3d:
    0 1px 0 rgba(255, 255, 255, 0.98) inset,
    0 -1px 0 rgba(255, 255, 255, 0.35) inset,
    0 0 0 1px rgba(255, 255, 255, 0.55) inset,
    0 10px 28px rgba(26, 10, 18, 0.08),
    0 22px 48px rgba(230, 0, 110, 0.12),
    0 0 0 1px rgba(255, 45, 140, 0.1);
  --shadow-3d-hover:
    0 1px 0 rgba(255, 255, 255, 1) inset,
    0 -1px 0 rgba(255, 255, 255, 0.45) inset,
    0 0 0 1px rgba(255, 255, 255, 0.7) inset,
    0 14px 36px rgba(26, 10, 18, 0.1),
    0 28px 56px rgba(230, 0, 110, 0.18),
    0 0 32px rgba(255, 45, 140, 0.22),
    0 0 0 1px rgba(255, 45, 140, 0.22);
  --gloss: linear-gradient(
    155deg,
    rgba(255, 255, 255, 0.82) 0%,
    rgba(255, 255, 255, 0.42) 42%,
    rgba(255, 236, 245, 0.55) 100%
  );
  --glass: rgba(255, 255, 255, 0.55);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-y: scroll;
  height: auto;
}
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  line-height: 1.55;
  font-weight: 600;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: auto;
  background-image:
    radial-gradient(ellipse 80% 50% at 0% 0%, rgba(255, 150, 200, 0.35), transparent 55%),
    radial-gradient(ellipse 55% 40% at 100% 10%, rgba(255, 200, 230, 0.4), transparent 50%),
    radial-gradient(ellipse 45% 30% at 70% 100%, rgba(255, 45, 140, 0.12), transparent 55%),
    radial-gradient(ellipse 30% 25% at 20% 80%, rgba(0, 229, 255, 0.06), transparent 50%),
    linear-gradient(165deg, #ffffff 0%, #fff5fa 45%, #ffeaf3 100%);
  background-attachment: scroll;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
svg { display: block; max-width: 100%; }
.nav-ico svg,
.icon-btn svg,
.bottom-nav-item svg {
  width: 1.25rem !important;
  height: 1.25rem !important;
  max-width: 1.25rem !important;
  max-height: 1.25rem !important;
  flex-shrink: 0;
}
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--pink-soft); color: var(--ink); }

.font-display { font-family: var(--font-display); }
.font-mono { font-family: ui-monospace, monospace; }
.text-lime, .text-saffron { color: var(--pink-deep); }
.text-fog { color: var(--muted); }
.text-mist { color: var(--ink-soft); }
.text-coral { color: var(--coral); }
.text-sky { color: #0066cc; }
.text-mint { color: #008a55; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-weight: 800; padding: .85rem 1.65rem; border-radius: 9999px; border: none; cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s;
  letter-spacing: -.01em;
}
.btn-primary {
  background: linear-gradient(160deg, #ff6bb0 0%, var(--pink) 45%, var(--pink-deep) 100%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.55);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.55) inset,
    0 0 18px rgba(255, 45, 140, 0.65),
    0 0 36px rgba(255, 45, 140, 0.35),
    0 10px 24px rgba(230, 0, 110, 0.35),
    0 3px 0 #c4005c;
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.65) inset,
    0 0 28px rgba(255, 45, 140, 0.85),
    0 0 48px rgba(255, 45, 140, 0.45),
    0 0 16px rgba(0, 229, 255, 0.3),
    0 16px 32px rgba(230, 0, 110, 0.4),
    0 4px 0 #c4005c;
}
.btn-primary:active { transform: translateY(1px); box-shadow: 0 2px 0 #c4005c; }
.btn-ghost {
  background: var(--gloss);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: var(--ink);
  border: 1px solid rgba(255, 45, 140, 0.35);
  box-shadow: var(--shadow-3d);
}
.btn-ghost:hover {
  border-color: var(--neon);
  transform: translateY(-2px);
  box-shadow: var(--shadow-3d-hover);
}
.btn-sm { padding: .55rem 1.1rem; font-size: .875rem; }

/* Glass + 3D depth cards */
.panel {
  background: var(--gloss);
  backdrop-filter: blur(28px) saturate(1.5);
  -webkit-backdrop-filter: blur(28px) saturate(1.5);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow-3d);
  position: relative;
  transition: transform .28s cubic-bezier(.2,.8,.2,1), box-shadow .28s, border-color .28s;
  color: var(--ink);
  overflow: hidden;
  isolation: isolate;
}
.panel::before {
  content: "";
  position: absolute; left: 8%; right: 8%; top: 0; height: 48%;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.75), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.panel::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 0 rgba(255, 45, 140, 0.06),
    0 0 0 1px rgba(255, 45, 140, 0.12);
  z-index: 0;
}
.panel > * { position: relative; z-index: 1; }
.panel:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-3d-hover);
}

.input {
  width: 100%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border: 1.5px solid rgba(255, 45, 140, 0.3);
  border-radius: 1rem;
  padding: .85rem 1.1rem;
  color: var(--ink);
  font-weight: 700;
  outline: none;
  box-shadow: 0 2px 0 rgba(255, 255, 255, 0.9) inset, 0 8px 20px rgba(26, 10, 18, 0.06);
  transition: border-color .2s, box-shadow .2s;
}
.input:focus {
  border-color: var(--neon);
  box-shadow:
    0 0 0 4px rgba(255, 45, 140, 0.18),
    0 0 20px rgba(255, 45, 140, 0.35),
    0 2px 0 #fff inset;
}
.input::placeholder { color: #7a4a5c; opacity: 0.85; }
.label {
  display: block; font-size: .72rem; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase; color: var(--ink-soft); margin-bottom: .45rem;
}
.badge {
  display: inline-flex; align-items: center; gap: .25rem;
  font-size: .68rem; font-weight: 800; letter-spacing: .04em;
  text-transform: uppercase; padding: .32rem .7rem; border-radius: 9999px;
  background: rgba(255, 255, 255, 0.75);
  color: var(--pink-deep);
  border: 1px solid rgba(255, 45, 140, 0.4);
  box-shadow:
    0 1px 0 #fff inset,
    0 0 12px rgba(255, 45, 140, 0.4),
    0 4px 10px rgba(255, 45, 140, 0.2);
}
.stat-value {
  font-family: var(--font-display); font-weight: 800; font-size: 1.85rem;
  letter-spacing: -.03em; line-height: 1; color: var(--pink-deep);
  text-shadow: 0 0 18px rgba(255, 45, 140, 0.45);
}

/* —— Landing —— */
.india-bar {
  display: flex; align-items: center; justify-content: center; gap: .75rem;
  flex-wrap: wrap; padding: .6rem 1rem;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 45, 140, 0.25);
  font-size: .8rem; color: var(--ink); font-weight: 700; position: relative; z-index: 60;
  box-shadow: 0 4px 20px rgba(255, 45, 140, 0.12), 0 0 24px rgba(255, 45, 140, 0.08);
}
.india-bar strong { color: var(--pink-deep); font-weight: 800; text-shadow: 0 0 12px rgba(255, 45, 140, 0.4); }

.site-nav {
  position: fixed; inset-inline: 0; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 1.75rem; width: 100%;
  max-width: 80rem; margin: 0 auto;
  transition: .3s;
}
.site-nav.has-bar { top: 2.15rem; }
.site-nav.solid {
  top: 0;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(22px) saturate(1.3);
  border-bottom: 1px solid rgba(255, 45, 140, 0.2);
  max-width: none;
  padding-inline: max(1.75rem, calc((100% - 80rem) / 2 + 1.75rem));
  box-shadow: 0 8px 32px rgba(26, 10, 18, 0.08), 0 0 28px rgba(255, 45, 140, 0.12);
}
.nav-links { display: flex; gap: 1.6rem; font-size: .875rem; color: var(--ink); font-weight: 700; }
.nav-links a:hover { color: var(--pink-deep); text-shadow: 0 0 14px rgba(255, 45, 140, 0.45); }
.nav-actions { display: flex; gap: .65rem; align-items: center; }
.logo {
  font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; letter-spacing: -.03em;
  color: var(--ink);
}
.logo span { color: var(--pink-deep); text-shadow: 0 0 16px rgba(255, 45, 140, 0.5); }

/* App shell: gym name big, platform brand small */
.brand-gym {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.45rem;
  line-height: 1.15;
  letter-spacing: -.03em;
  color: #0d0508;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.brand-platform.logo,
a.brand-platform {
  font-size: .72rem !important;
  font-weight: 700 !important;
  letter-spacing: .04em;
  line-height: 1.2;
  color: var(--ink-soft) !important;
  text-transform: none;
  display: inline-block;
  margin-top: .2rem;
}
.brand-platform.logo span,
a.brand-platform span {
  color: var(--pink-deep) !important;
  text-shadow: none !important;
}
.sidebar-brand .brand-gym { font-size: 1.55rem; margin: 0; }
.sidebar-brand .brand-platform { margin-top: .35rem; }

.hero {
  position: relative; min-height: 92svh; display: flex; align-items: flex-end;
  overflow: hidden; padding-top: 3rem;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url("../img/hero-gym.jpg") center/cover no-repeat;
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to top, #fffbfe 6%, rgba(255, 251, 254, 0.82) 42%, rgba(255, 255, 255, 0.35) 100%),
    linear-gradient(105deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 251, 254, 0.5) 50%, transparent 72%);
}
.hero-content {
  position: relative; z-index: 2; width: 100%; max-width: 80rem;
  margin: 0 auto; padding: 7rem 1.75rem 3rem;
}
.brand-mark {
  font-family: var(--font-display); color: var(--pink-deep); font-weight: 800;
  letter-spacing: .18em; text-transform: uppercase; font-size: .82rem; margin-bottom: 1rem;
  text-shadow: 0 0 18px rgba(255, 45, 140, 0.45);
}
.hi-tag {
  display: inline-block; font-weight: 700; color: var(--ink);
  letter-spacing: 0; text-transform: none; margin-left: .45rem; font-size: .95rem;
}
.hero h1 {
  font-family: var(--font-display); font-weight: 800; letter-spacing: -.03em;
  font-size: clamp(2.5rem, 6.5vw, 4.6rem); line-height: 1; max-width: 14ch;
  color: #0d0508;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.9), 0 0 40px rgba(255, 45, 140, 0.15);
}
.hero p.lead {
  margin-top: 1.25rem; font-size: 1.1rem; color: var(--ink); max-width: 34rem; line-height: 1.65;
  font-weight: 700;
}
.hero-cta { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .85rem; }
.hero-trust {
  margin-top: 2.25rem; display: flex; flex-wrap: wrap; gap: .55rem 1.1rem;
  font-size: .82rem; color: var(--ink); font-weight: 700;
}
.hero-trust span {
  background: var(--gloss);
  backdrop-filter: blur(14px);
  padding: .4rem .85rem; border-radius: 999px;
  border: 1px solid rgba(255, 45, 140, 0.3);
  box-shadow: var(--shadow-3d);
}
.hero-trust span::before { content: none; }

.cities-strip {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.4rem;
  padding: 1.15rem 1.75rem; margin: 0 1rem;
  border-radius: var(--radius);
  background: var(--gloss);
  backdrop-filter: blur(18px);
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-3d);
  font-size: .82rem; color: var(--ink); font-weight: 700;
  max-width: 80rem; margin-inline: auto;
}
.cities-strip b { color: var(--pink-deep); font-weight: 800; text-shadow: 0 0 12px rgba(255, 45, 140, 0.4); }

.section { max-width: 80rem; margin: 0 auto; padding: 4rem 1.75rem; }
.section-label {
  font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: var(--pink-deep); margin-bottom: .75rem;
  text-shadow: 0 0 14px rgba(255, 45, 140, 0.4);
}
.section h2 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.8rem, 3.5vw, 2.7rem);
  letter-spacing: -.03em; max-width: 18ch; line-height: 1.12; color: #0d0508;
}
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }

.feature-item, .step-card {
  padding: 1.5rem; border-radius: var(--radius);
  background: var(--gloss);
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  border: 1.5px solid rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-3d);
  transition: .25s;
  position: relative;
  color: var(--ink);
}
.feature-item::before, .step-card::before {
  content: ""; position: absolute; left: 10%; right: 10%; top: 1px; height: 35%;
  background: linear-gradient(180deg, rgba(255,255,255,.85), transparent);
  border-radius: inherit; pointer-events: none;
}
.feature-item:hover, .step-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: var(--shadow-3d-hover);
  border-color: rgba(255, 45, 140, 0.55);
}
.feature-item h3, .step-card h3 { font-family: var(--font-display); font-size: 1.15rem; margin: .85rem 0 .4rem; color: #0d0508; font-weight: 800; }
.feature-item p, .step-card p { color: var(--ink-soft); font-size: .9rem; line-height: 1.55; font-weight: 700; }
.icon-box {
  width: 3rem; height: 3rem; border-radius: 1rem;
  background: rgba(255, 255, 255, 0.85);
  color: var(--pink-deep);
  display: grid; place-items: center; font-size: 1.2rem;
  border: 1px solid rgba(255, 45, 140, 0.4);
  box-shadow:
    0 1px 0 #fff inset,
    0 0 16px rgba(255, 45, 140, 0.45),
    0 8px 16px rgba(255, 45, 140, 0.25);
}

.step-card .num {
  font-family: var(--font-display); font-size: 3.25rem; font-weight: 800;
  color: rgba(255, 45, 140, 0.35); line-height: 1; margin-bottom: -.3rem;
  text-shadow: 0 0 24px rgba(255, 45, 140, 0.35);
}

.price-card { display: flex; flex-direction: column; overflow: hidden; }
.price-card.featured {
  border-color: var(--neon) !important;
  box-shadow: var(--shadow-3d-hover) !important;
  background: rgba(255, 255, 255, 0.7) !important;
}
.price-card ul { list-style: none; margin: 1.25rem 0; flex: 1; }
.price-card li {
  display: flex; gap: .55rem; font-size: .875rem; color: var(--ink); margin-bottom: .65rem; font-weight: 700;
}
.gst-note { font-size: .75rem; color: var(--ink-soft); margin-top: .3rem; font-weight: 700; }

.demo-card {
  text-align: left; padding: 1.4rem; border-radius: var(--radius);
  background: var(--gloss);
  backdrop-filter: blur(18px);
  border: 1.5px solid rgba(255,255,255,.95);
  cursor: pointer; width: 100%; color: var(--ink); transition: .2s; display: block;
  box-shadow: var(--shadow-3d);
  font-weight: 700;
}
.demo-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-3d-hover);
  border-color: rgba(255, 45, 140, 0.55);
}

.quote-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.quote {
  border-left: 3px solid var(--neon);
  padding: 1rem 0 1rem 1.15rem;
  background: var(--gloss);
  backdrop-filter: blur(16px);
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow-3d);
  border: 1.5px solid rgba(255,255,255,.9);
  border-left-width: 3px;
}
.quote p { color: var(--ink); line-height: 1.6; font-size: .95rem; font-weight: 700; }
.quote footer { margin-top: .85rem; font-size: .85rem; font-weight: 800; color: #0d0508; }
.quote footer span { display: block; color: var(--ink-soft); font-size: .75rem; margin-top: .15rem; font-weight: 700; }

.cta-banner {
  text-align: center; padding: 3.25rem 1.75rem;
  border-radius: 1.75rem;
  border: 1.5px solid rgba(255, 45, 140, 0.35);
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(22px) saturate(1.3);
  box-shadow: var(--shadow-3d-hover);
  position: relative;
  overflow: hidden;
  color: var(--ink);
}
.cta-banner::before {
  content: ""; position: absolute; left: 15%; right: 15%; top: 0; height: 45%;
  background: linear-gradient(180deg, rgba(255,255,255,.85), transparent);
  pointer-events: none;
}
.cta-banner::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 40px rgba(255, 45, 140, 0.08);
  border-radius: inherit;
}

.site-footer {
  border-top: 1px solid rgba(255, 45, 140, 0.2);
  padding: 2.25rem 1.75rem; max-width: 80rem; margin: 0 auto;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  color: var(--ink); font-size: .85rem; font-weight: 700;
}
.pay-row { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-top: 1.25rem; }
.pay-chip {
  font-size: .72rem; font-weight: 800; padding: .4rem .75rem; border-radius: 999px;
  background: var(--gloss); border: 1px solid rgba(255, 45, 140, 0.3);
  color: var(--ink); box-shadow: var(--shadow-3d);
}

/* —— App shell —— */
:root {
  --app-top: 3.6rem;
  --app-bottom: 4.35rem;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}
body.is-app {
  min-height: 100dvh;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}
body.is-app .bottom-nav-item,
body.is-app .btn,
body.is-app .icon-btn,
body.is-app .sidebar-nav a {
  touch-action: manipulation;
}
body.is-app .main a.panel,
body.is-app .main {
  touch-action: pan-y;
}
.app {
  display: flex;
  min-height: 100dvh;
  width: 100%;
  max-width: 100vw;
}
.sidebar {
  width: 17rem;
  flex-shrink: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.78), rgba(255,245,250,.62));
  backdrop-filter: blur(32px) saturate(1.55);
  -webkit-backdrop-filter: blur(32px) saturate(1.55);
  border-right: 1px solid rgba(255, 255, 255, 0.7);
  display: flex;
  flex-direction: column;
  height: 100dvh;
  overflow: hidden;
  box-shadow:
    1px 0 0 rgba(255, 45, 140, 0.12),
    12px 0 40px rgba(26, 10, 18, 0.06),
    0 0 40px rgba(255, 45, 140, 0.08);
  z-index: 20;
}
.sidebar-brand {
  padding: 1.4rem 1.25rem 1.15rem;
  border-bottom: 1px solid rgba(255, 45, 140, 0.14);
  flex-shrink: 0;
}
.sidebar-nav {
  flex: 1 1 auto;
  min-height: 0;
  padding: .75rem;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  overscroll-behavior: contain;
}
.sidebar-nav a {
  display: flex; align-items: center; gap: .75rem; padding: .8rem .95rem;
  border-radius: 1.05rem; font-size: .9rem; font-weight: 800; color: var(--ink-soft); margin-bottom: .3rem;
  transition: transform .15s, box-shadow .15s, background .15s; border: 1px solid transparent;
  background: transparent;
}
.sidebar-nav a:hover {
  color: #0d0508; background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-3d);
  transform: translateX(2px);
}
.sidebar-nav a.active {
  background: linear-gradient(145deg, rgba(255,255,255,.95), rgba(255,236,245,.85));
  color: var(--pink-deep);
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow:
    0 1px 0 #fff inset,
    0 8px 22px rgba(255, 45, 140, 0.22),
    0 0 0 1px rgba(255, 45, 140, 0.28);
}
.nav-ico {
  width: 1.35rem; height: 1.35rem; display: inline-grid; place-items: center; flex-shrink: 0;
  overflow: hidden;
}
.sidebar-user {
  padding: 1rem 1.1rem calc(1rem + var(--safe-bottom));
  border-top: 1px solid rgba(255, 45, 140, 0.14);
  color: var(--ink);
  background: rgba(255,255,255,.35);
  backdrop-filter: blur(12px);
  flex-shrink: 0;
}
.main {
  flex: 1; padding: 1.85rem 2rem 2.5rem;
  max-width: 80rem; width: 100%; margin: 0 auto;
  min-width: 0;
  overflow-x: clip;
}
.mobile-top { display: none; }
.bottom-nav,
.more-sheet {
  display: none;
}

.dash-hero { margin-bottom: .25rem; }
.dash-hero .brand-gym {
  font-size: clamp(1.85rem, 3.2vw, 2.55rem);
  max-width: none;
}
.dash-hero .page-sub { margin-top: .65rem; display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; }
.list-row {
  display: flex; justify-content: space-between; align-items: center; gap: .75rem;
  padding: .75rem 0;
  border-bottom: 1px solid rgba(255, 45, 140, 0.12);
  font-size: .9rem;
}
.list-row:last-child { border-bottom: 0; }
.quick-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: .75rem;
}
.quick-tile {
  display: flex; flex-direction: column; align-items: flex-start; gap: .65rem;
  padding: 1.05rem 1rem;
  border-radius: 1.15rem;
  font-weight: 800;
  color: var(--ink);
  background: linear-gradient(155deg, rgba(255,255,255,.85), rgba(255,240,248,.55));
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-3d);
  transition: transform .2s, box-shadow .2s;
}
.quick-tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-3d-hover);
  color: var(--pink-deep);
}
.quick-ico {
  width: 2.4rem; height: 2.4rem; border-radius: .85rem;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 45, 140, 0.25);
  color: var(--pink-deep);
  box-shadow: 0 1px 0 #fff inset, 0 6px 14px rgba(255, 45, 140, 0.15);
}
.quick-ico svg { width: 1.2rem !important; height: 1.2rem !important; }
.stat-card .stat-value { font-size: 2rem; letter-spacing: -.03em; }
.page-title {
  font-family: var(--font-display); font-weight: 800; font-size: 1.85rem;
  letter-spacing: -.03em; color: #0d0508;
}
.page-sub { color: var(--ink); margin-top: .35rem; margin-bottom: 1.75rem; font-size: .95rem; font-weight: 700; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 1.5rem; }
.flash {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 100;
  padding: .95rem 1.15rem; border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.85);
  border: 1.5px solid rgba(255, 45, 140, 0.4);
  backdrop-filter: blur(16px); max-width: 22rem; font-size: .875rem;
  box-shadow: var(--shadow-3d-hover); color: #0d0508; font-weight: 800;
}
.flash.error { border-color: rgba(255, 51, 85, 0.6); color: #a01028; }

.table { width: 100%; border-collapse: collapse; font-size: .875rem; }
.table th {
  text-align: left; color: var(--ink); padding: .8rem 1rem;
  border-bottom: 1px solid rgba(255, 45, 140, 0.25); font-weight: 800; font-size: .72rem;
  text-transform: uppercase; letter-spacing: .04em;
}
.table td { padding: .95rem 1rem; border-bottom: 1px solid rgba(255, 45, 140, 0.12); font-weight: 700; color: var(--ink); }

.login-wrap { display: flex; min-height: 100dvh; }
.login-art {
  flex: 1; display: none; align-items: flex-end; padding: 3rem;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.55), rgba(255, 200, 220, 0.55)),
    url("../img/hero-gym.jpg") center/cover;
  position: relative; overflow: hidden;
}
.login-form {
  flex: 1; display: flex; align-items: center; justify-content: center;
  padding: 2rem; background: var(--bg);
}
.login-box {
  width: 100%; max-width: 26rem;
  background: var(--gloss);
  backdrop-filter: blur(24px) saturate(1.35);
  -webkit-backdrop-filter: blur(24px) saturate(1.35);
  padding: 2rem;
  border-radius: 1.75rem;
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-3d-hover);
  position: relative;
  color: var(--ink);
}
.login-box::before {
  content: ""; position: absolute; left: 12%; right: 12%; top: 2px; height: 30%;
  background: linear-gradient(180deg, rgba(255,255,255,.9), transparent);
  border-radius: inherit; pointer-events: none;
}
.quick-login button {
  width: 100%; text-align: left; padding: .9rem 1rem; margin-bottom: .55rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.85);
  border: 1.5px solid rgba(255, 45, 140, 0.28);
  color: #0d0508; cursor: pointer; transition: .2s; font-weight: 800;
  box-shadow: var(--shadow-3d);
}
.quick-login button:hover {
  border-color: var(--neon);
  transform: translateY(-2px);
  box-shadow: var(--shadow-3d-hover);
}

.product-swatch {
  height: 5.5rem; border-radius: 1.1rem; margin-bottom: .75rem;
  box-shadow: 0 1px 0 #fff inset, 0 0 20px rgba(255, 45, 140, 0.35), 0 10px 24px rgba(26, 10, 18, 0.1);
  border: 1px solid rgba(255,255,255,.85);
}
.chat-box {
  display: flex; flex-direction: column; height: min(70vh, 640px);
  overflow: hidden;
}
.chat-messages { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: .75rem; }
.bubble { max-width: 85%; padding: .9rem 1.05rem; border-radius: 1.15rem; font-size: .875rem; line-height: 1.5; font-weight: 700; }
.bubble.user {
  align-self: flex-end;
  background: linear-gradient(160deg, #ff6bb0, var(--pink-deep));
  color: #fff;
  text-shadow: 0 1px 1px rgba(0,0,0,.2);
  box-shadow: 0 1px 0 rgba(255,255,255,.4) inset, 0 0 20px rgba(255, 45, 140, 0.55), 0 8px 20px var(--pink-glow);
}
.bubble.coach {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.85);
  border: 1.5px solid rgba(255, 45, 140, 0.3);
  color: var(--ink);
  box-shadow: var(--shadow-3d);
}
.india-flag-dot {
  display: inline-block; width: .65rem; height: .65rem; border-radius: 50%;
  background: linear-gradient(180deg, #ff9933 33%, #fff 33% 66%, #138808 66%);
  vertical-align: middle; margin-right: .35rem; border: 1px solid rgba(0,0,0,.08);
}
.role-chip {
  font-size: .68rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  padding: .28rem .55rem; border-radius: 999px;
  background: rgba(255,255,255,.85); border: 1px solid rgba(255,45,140,.35); color: var(--pink-deep);
}
.icon-btn {
  width: 2.35rem; height: 2.35rem; border-radius: .85rem;
  display: grid; place-items: center;
  background: rgba(255,255,255,.8); border: 1px solid rgba(255,45,140,.25);
  color: var(--ink); box-shadow: var(--shadow-3d);
}
.icon-btn svg { width: 1.15rem; height: 1.15rem; }

.panel[style*="background:var(--ink-3)"],
a.panel[style*="background:var(--ink-3)"] {
  background: var(--gloss) !important;
}

.text-lime { color: var(--pink-deep) !important; }

[style*="border-bottom:1px solid rgba(255,255,255"],
[style*="border-top:1px solid rgba(255,255,255"] {
  border-color: var(--line) !important;
}

[style*="background:var(--ink-3)"] {
  background: linear-gradient(180deg, #ffffff, #fff0f5) !important;
  color: var(--ink) !important;
}

@media (min-width: 901px) {
  .login-art { display: flex; }
  /* Desktop: sidebar stays put; only main content scrolls */
  html:has(body.is-app),
  body.is-app {
    height: 100%;
    max-height: 100dvh;
    overflow: hidden;
  }
  body.is-app .app {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    height: 100dvh;
    max-height: 100dvh;
    overflow: hidden;
  }
  body.is-app .sidebar {
    width: 17.5rem;
    position: relative;
    height: 100dvh;
    max-height: 100dvh;
    overflow: hidden;
    flex-shrink: 0;
  }
  body.is-app .main {
    padding: 2rem 2.75rem 3rem;
    max-width: none;
    width: 100%;
    margin: 0;
    height: 100dvh;
    max-height: 100dvh;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    overscroll-behavior: contain;
    animation: appFade .4s ease;
  }
  body.is-app .main > .page-title:first-child,
  body.is-app .main > h1:first-child,
  body.is-app .main > .brand-gym:first-child {
    letter-spacing: -.04em;
  }
  body.is-app .stats { gap: 1.15rem; }
  @keyframes appFade { from { opacity: .4; transform: translateY(8px); } to { opacity: 1; transform: none; } }
  .page-title { font-size: 2rem; }
  .btn { min-height: 2.75rem; }
  .input { min-height: 2.85rem; }
  /* Never show mobile chrome on desktop */
  .bottom-nav,
  .more-sheet,
  .mobile-top {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    position: fixed !important;
    left: -9999px !important;
  }
}
@media (max-width: 900px) {
  .grid-3, .stats, .quote-row { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .sidebar { display: none !important; }
  .site-nav.has-bar { top: 0; }

  body.is-app {
    background-attachment: scroll;
    height: auto;
    max-height: none;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  body.is-app .app {
    flex-direction: column;
    min-height: 100dvh;
    height: auto;
    max-height: none;
    padding-bottom: calc(var(--app-bottom) + var(--safe-bottom));
    overflow: visible;
  }
  body.is-app .main {
    height: auto;
    max-height: none;
    overflow: visible;
  }
  .mobile-top {
    display: flex !important;
    align-items: center; justify-content: space-between; gap: .75rem;
    position: sticky; top: 0; z-index: 50;
    visibility: visible !important;
    padding: calc(.7rem + var(--safe-top)) 1rem .7rem;
    min-height: calc(var(--app-top) + var(--safe-top));
    border-bottom: 1px solid rgba(255, 45, 140, 0.18);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(18px) saturate(1.2);
    -webkit-backdrop-filter: blur(18px) saturate(1.2);
    box-shadow: 0 8px 28px rgba(255, 45, 140, 0.1);
  }
  .mobile-top-brand { display: flex; flex-direction: column; gap: .12rem; min-width: 0; max-width: 58vw; }
  .mobile-top-brand .brand-gym { font-size: 1.2rem; max-width: 100%; }
  .mobile-top-brand .brand-platform { font-size: .68rem !important; margin-top: 0; }
  .mobile-top-right { display: flex; align-items: center; gap: .45rem; flex-shrink: 0; }

  body.is-app .main {
    padding: 1rem 1rem 1.25rem;
    width: 100%;
    max-width: none;
  }
  body.is-app .page-title { font-size: 1.55rem; }
  body.is-app .page-sub { margin-bottom: 1.15rem; font-size: .88rem; }
  body.is-app .panel { padding: 1.15rem; border-radius: 1.2rem; }
  body.is-app .btn {
    min-height: 2.85rem;
    padding-inline: 1.2rem;
    border-radius: 1rem;
    -webkit-tap-highlight-color: transparent;
  }
  body.is-app .btn-sm { min-height: 2.4rem; }
  body.is-app .input {
    min-height: 3rem;
    font-size: 16px; /* prevent iOS zoom */
    border-radius: 1rem;
  }
  body.is-app .stats { gap: .75rem; margin-bottom: 1.1rem; }
  body.is-app .stat-value { font-size: 1.45rem; }
  body.is-app .flash {
    left: 1rem; right: 1rem; bottom: calc(var(--app-bottom) + var(--safe-bottom) + .75rem);
    max-width: none;
  }

  /* Bottom tab bar — app-like (mobile only) */
  .bottom-nav {
    display: flex !important;
    visibility: visible !important;
    pointer-events: auto !important;
    width: auto !important;
    height: calc(var(--app-bottom) + var(--safe-bottom)) !important;
    overflow: visible !important;
    position: fixed !important;
    left: 0 !important; right: 0; bottom: 0;
    z-index: 60;
    padding: .35rem .35rem calc(.35rem + var(--safe-bottom));
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(24px) saturate(1.4);
    -webkit-backdrop-filter: blur(24px) saturate(1.4);
    border-top: 1px solid rgba(255, 255, 255, 0.75);
    box-shadow:
      0 -1px 0 rgba(255, 45, 140, 0.12),
      0 -12px 36px rgba(26, 10, 18, 0.1),
      0 -8px 24px rgba(255, 45, 140, 0.1);
  }
  .bottom-nav-item {
    flex: 1;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: .18rem;
    min-width: 0;
    border: 0; background: transparent; cursor: pointer;
    color: var(--ink-soft);
    font-size: .62rem; font-weight: 800;
    letter-spacing: .01em;
    border-radius: .9rem;
    -webkit-tap-highlight-color: transparent;
    transition: color .15s, background .15s, transform .12s;
  }
  .bottom-nav-item .nav-ico {
    width: 1.35rem; height: 1.35rem;
    overflow: hidden;
  }
  .bottom-nav-item .nav-ico svg {
    width: 1.25rem !important; height: 1.25rem !important;
    max-width: 1.25rem !important; max-height: 1.25rem !important;
  }
  .bottom-nav-item.active {
    color: var(--pink-deep);
    background: rgba(255, 255, 255, 0.75);
    box-shadow: 0 1px 0 #fff inset, 0 6px 16px rgba(255, 45, 140, 0.18);
  }
  .bottom-nav-item:active { transform: scale(.96); }

  .more-sheet {
    display: block !important;
    visibility: visible !important;
    pointer-events: auto !important;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
    position: static !important;
    left: auto !important;
  }
  .more-sheet[hidden] {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
  .more-sheet-backdrop {
    position: fixed; inset: 0; z-index: 70;
    border: 0; background: rgba(26, 10, 18, 0.45);
    backdrop-filter: blur(4px);
  }
  .more-sheet-panel {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
    background: linear-gradient(180deg, #ffffff, #fff5f9);
    border-radius: 1.5rem 1.5rem 0 0;
    padding: .5rem 1rem calc(1.25rem + var(--safe-bottom));
    box-shadow: 0 -16px 40px rgba(26, 10, 18, 0.18);
    animation: sheetUp .28s ease;
    max-height: 78dvh;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    overscroll-behavior: contain;
  }
  @keyframes sheetUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
  }
  .more-sheet-handle {
    width: 2.75rem; height: .28rem; border-radius: 999px;
    background: rgba(255, 45, 140, 0.28);
    margin: .35rem auto .85rem;
  }
  .more-sheet-title {
    font-family: var(--font-display); font-weight: 800; font-size: 1.15rem;
    margin-bottom: .85rem; color: #0d0508;
  }
  .more-sheet-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: .65rem;
  }
  .more-sheet-item {
    display: flex; align-items: center; gap: .65rem;
    padding: .95rem .85rem;
    border-radius: 1.1rem;
    background: rgba(255,255,255,.9);
    border: 1.5px solid rgba(255,45,140,.22);
    box-shadow: var(--shadow-3d);
    font-weight: 800; font-size: .88rem; color: var(--ink);
  }
  .more-sheet-item.active {
    border-color: rgba(255,45,140,.5);
    color: var(--pink-deep);
  }
  .more-sheet-item.danger { color: #a01028; }

  /* Public / landing mobile */
  .login-form { padding: 1.25rem; padding-bottom: calc(1.25rem + var(--safe-bottom)); }
  .login-box { padding: 1.5rem; border-radius: 1.5rem; }
  .landing .site-nav { padding-inline: 1rem; }
  .landing .hero-content { padding-inline: 1.15rem; padding-bottom: 3rem; }
}
@media (max-width: 600px) {
  .grid-3, .grid-2, .stats, .quote-row, .modules-grid, .roles-grid, .demo-grid { grid-template-columns: 1fr; }
  .site-nav { padding: 1rem; }
  body.is-app .stats { grid-template-columns: 1fr 1fr; }
  .table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

/* —— Clean landing page —— */
.landing .india-bar { display: none; }
.landing .site-nav { top: 0; }
.landing .hero {
  min-height: 100svh;
  align-items: flex-end;
}
.landing .hero-bg {
  background:
    radial-gradient(ellipse 70% 50% at 80% 20%, rgba(255, 45, 140, 0.18), transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(0, 229, 255, 0.08), transparent 50%),
    linear-gradient(145deg, #ffffff 0%, #fff5f9 45%, #ffe8f1 100%);
}
.landing .hero-bg::after {
  background:
    linear-gradient(to top, #fffbfe 0%, rgba(255, 251, 254, 0.55) 35%, transparent 70%),
    linear-gradient(100deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.35) 48%, transparent 72%);
}
.landing .brand-mark {
  font-size: clamp(1.15rem, 2.5vw, 1.65rem);
  letter-spacing: -.02em;
  text-transform: none;
  margin-bottom: 1.15rem;
}
.landing .hero h1 {
  max-width: 12ch;
  font-size: clamp(2.6rem, 7vw, 4.8rem);
}
.landing .hero p.lead {
  max-width: 32rem;
  font-size: 1.12rem;
}
.landing .hero-content { padding-bottom: 4.5rem; }
.landing .hero-cta { margin-top: 1.75rem; }

.section-lead {
  margin-top: .85rem;
  max-width: 34rem;
  color: var(--ink-soft);
  font-weight: 700;
  line-height: 1.55;
}
.landing-strip { padding-top: 0; padding-bottom: 0; }
.landing .cities-strip {
  margin-top: -1.5rem;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: .01em;
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
  margin-top: 2.5rem;
}
.module-item {
  padding: 1.4rem 1.35rem;
  border-radius: var(--radius);
  background: var(--gloss);
  backdrop-filter: blur(18px);
  border: 1.5px solid rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-3d);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.module-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-3d-hover);
  border-color: rgba(255, 45, 140, 0.45);
}
.module-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .85rem;
  color: var(--pink-deep);
  letter-spacing: .08em;
  margin-bottom: .65rem;
  text-shadow: 0 0 14px rgba(255, 45, 140, 0.35);
}
.module-item h3 {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 800;
  color: #0d0508;
  margin-bottom: .45rem;
}
.module-item p {
  color: var(--ink-soft);
  font-size: .9rem;
  line-height: 1.55;
  font-weight: 700;
}

.roles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
  margin-top: 2.5rem;
}
.role-block {
  padding: 1.4rem;
  border-radius: var(--radius);
  background: var(--gloss);
  backdrop-filter: blur(18px);
  border: 1.5px solid rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-3d);
}
.role-tag {
  display: inline-block;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--pink-deep);
  margin-bottom: .65rem;
}
.role-block h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: #0d0508;
  margin-bottom: .85rem;
}
.role-block ul {
  list-style: none;
  display: grid;
  gap: .45rem;
}
.role-block li {
  font-size: .88rem;
  font-weight: 700;
  color: var(--ink);
  padding-left: .9rem;
  position: relative;
  line-height: 1.4;
}
.role-block li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: .35rem;
  height: .35rem;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 8px rgba(255, 45, 140, 0.6);
}

.flow-list {
  list-style: none;
  margin-top: 2.25rem;
  display: grid;
  gap: 1rem;
  max-width: 44rem;
  counter-reset: flow;
}
.flow-list li {
  counter-increment: flow;
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius);
  background: var(--gloss);
  border: 1.5px solid rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-3d);
}
.flow-list li::before {
  content: counter(flow, decimal-leading-zero);
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--pink-deep);
  font-size: 1rem;
  padding-top: .15rem;
}
.flow-list strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: #0d0508;
  margin-bottom: .3rem;
}
.flow-list span {
  display: block;
  color: var(--ink-soft);
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.5;
}

.pricing-head { text-align: center; max-width: 36rem; margin: 0 auto 2.5rem; }
.pricing-head h2 { max-width: none; margin: 0 auto; }
.pricing-head .section-lead { margin-left: auto; margin-right: auto; }
.price-line { margin-top: 1rem; margin-bottom: .25rem; }
.price-card .badge { align-self: flex-start; margin-bottom: .75rem; }
.price-card .btn { margin-top: auto; }

.demo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
.demo-card {
  padding: 1.35rem 1.25rem;
}
.demo-role {
  display: block;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--pink-deep);
  margin-bottom: .55rem;
}
.demo-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: #0d0508;
  margin-bottom: .65rem;
}
.demo-card .font-mono {
  display: block;
  font-size: .75rem;
  color: var(--ink-soft);
  word-break: break-all;
}

.landing-cta { padding-top: 1rem; }
.landing .cta-banner h2 {
  max-width: 16ch;
  margin: 0 auto;
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
}
.landing .cta-banner p {
  margin: 1rem auto 1.5rem;
  max-width: 26rem;
  color: var(--ink-soft);
  font-weight: 700;
}

.landing-footer {
  align-items: flex-start;
  gap: 1.5rem;
  padding-bottom: 2.75rem;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem 1.25rem;
  font-weight: 700;
  font-size: .875rem;
}
.footer-links a:hover { color: var(--pink-deep); }

@media (max-width: 900px) {
  .modules-grid { grid-template-columns: 1fr 1fr; }
  .roles-grid { grid-template-columns: 1fr 1fr; }
  .demo-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .modules-grid,
  .roles-grid,
  .demo-grid { grid-template-columns: 1fr; }
  .landing .hero h1 { max-width: 11ch; }
}

/* —— Modal / popup (viewport overlay; does not freeze page scroll permanently) —— */
html.af-modal-open,
body.af-modal-open {
  overflow: hidden !important;
}
.af-modal {
  position: fixed !important;
  inset: 0 !important;
  z-index: 10000 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(1rem, env(safe-area-inset-top)) 1rem max(1rem, env(safe-area-inset-bottom));
  margin: 0;
  box-sizing: border-box;
  pointer-events: auto;
}
.af-modal[hidden] {
  display: none !important;
  pointer-events: none !important;
  visibility: hidden !important;
}
.af-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(28, 8, 22, .55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
}
.af-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(38rem, 100%);
  max-height: min(88dvh, 42rem);
  margin: 0;
  border-radius: 1.35rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: linear-gradient(165deg, rgba(255,255,255,.97), rgba(255,240,247,.94));
  border: 1px solid rgba(255, 255, 255, .85);
  box-shadow:
    0 24px 64px rgba(40, 10, 30, .28),
    0 0 0 1px rgba(255, 45, 140, .1);
  animation: af-modal-pop .22s ease;
}
.af-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.2rem .9rem;
  border-bottom: 1px solid rgba(255, 45, 140, .1);
  flex-shrink: 0;
  background: rgba(255,255,255,.5);
}
.af-modal-close {
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 45, 140, .1);
  color: var(--ink);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  font-weight: 700;
  flex-shrink: 0;
}
.af-modal-close:hover { background: rgba(255, 45, 140, .18); }
.af-modal-body {
  padding: 1rem 1.2rem 1.2rem;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  overscroll-behavior: contain;
  touch-action: pan-y;
  flex: 1 1 auto;
  min-height: 0;
  display: grid;
  gap: .75rem;
  grid-template-columns: 1fr 1fr;
}
.af-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: .65rem;
  flex-wrap: wrap;
  padding-top: .5rem;
  margin-top: .25rem;
  border-top: 1px solid rgba(255, 45, 140, .08);
  background: rgba(255,245,250,.9);
}
.af-diet-pick {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .5rem;
}
.af-diet-opt {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  padding: .75rem .55rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 45, 140, .12);
  background: rgba(255, 255, 255, .55);
  cursor: pointer;
  text-align: center;
  margin: 0;
}
.af-diet-opt:has(input:checked) {
  border-color: rgba(255, 45, 140, .4);
  background: rgba(255, 45, 140, .08);
}
.af-diet-title { font-weight: 700; font-size: .82rem; line-height: 1.25; }
@keyframes af-modal-pop {
  from { transform: scale(.96); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
@media (max-width: 560px) {
  .af-modal-body { grid-template-columns: 1fr; }
  .af-diet-pick { grid-template-columns: 1fr; }
  .af-modal-dialog { max-height: min(90dvh, 100%); width: 100%; }
}
