/* ================================================================
   EnterGYM — saas_home.css
   Palette: #080810 base · #5B5FFF indigo · #F0EEE8 off-white
            #1E1E2E card · #9898B0 muted · #10b981 green accent
   Type: Syne (display) · DM Sans (body) · JetBrains Mono (data)
   ================================================================ */

/* ── Reset & base ──────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #080810;
  --surface: #1e1e2e;
  --surface-2: #14141f;
  --border: rgba(255, 255, 255, 0.07);
  --indigo: #5b5fff;
  --indigo-dim: rgba(91, 95, 255, 0.12);
  --indigo-glow: rgba(91, 95, 255, 0.25);
  --green: #10b981;
  --yellow: #f59e0b;
  --red: #ef4444;
  --text-hi: #f0eee8;
  --text-mid: #c8c6d8;
  --text-lo: #9898b0;
  --text-faint: rgba(240, 238, 232, 0.35);
  --mono: "JetBrains Mono", monospace;
  --sans: "DM Sans", sans-serif;
  --display: "Syne", sans-serif;
  --radius: 12px;
  --radius-sm: 8px;
  --nav-h: 64px;
}

html {
  scroll-behavior: smooth;
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text-mid);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
}

img, svg {
  max-width: 100%;
}

/* ── Shared buttons ────────────────────────────────────────────── */
.btn-primary,
.btn-secondary,
.btn-ghost,
.btn-solid {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  padding: 10px 20px;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--indigo);
  color: #fff;
  letter-spacing: 0.01em;
}
.btn-primary:hover {
  background: #4a4ee8;
  transform: translateY(-1px);
  box-shadow: 0 6px 24px var(--indigo-glow);
}

.btn-secondary {
  background: transparent;
  color: var(--text-hi);
  border: 1px solid var(--border);
}
.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
}

.btn-ghost {
  background: transparent;
  color: var(--text-lo);
  font: inherit;
}
.btn-ghost:hover {
  color: var(--text-hi);
}

.btn-solid {
  background: var(--indigo);
  color: #fff;
}
.btn-solid:hover {
  background: #4a4ee8;
}

/* ── Section eyebrow / sub ─────────────────────────────────────── */
.section-eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--indigo);
  margin-bottom: 14px;
}
.section-sub {
  color: var(--text-lo);
  font-size: 1.0625rem;
  max-width: 48ch;
  margin-top: 12px;
}

/* ── NAV ───────────────────────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  min-height: var(--nav-h);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  padding: 10px 40px;
  gap: 16px 32px;
  transition:
    background 0.25s ease,
    border-color 0.25s ease;
}
.site-nav.is-scrolled {
  background: rgba(8, 8, 16, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
}
.brand-mark {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}
.brand-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--text-hi);
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.nav-links a {
  font-size: 0.875rem;
  color: var(--text-lo);
  transition: color 0.15s;
}
.nav-links a:hover {
  color: var(--text-hi);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 24px;
  flex-shrink: 0;
}
.nav-actions form {
  display: inline-flex;
}

/* ── TICKER ────────────────────────────────────────────────────── */
.ticker-rail {
  position: relative;
  margin-top: var(--nav-h);
  height: 36px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  align-items: center;
}
.ticker-rail::before,
.ticker-rail::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.ticker-rail::before {
  left: 0;
  background: linear-gradient(to right, var(--surface-2), transparent);
}
.ticker-rail::after {
  right: 0;
  background: linear-gradient(to left, var(--surface-2), transparent);
}

.ticker-track {
  display: flex;
  gap: 0;
  white-space: nowrap;
  animation: ticker-scroll 42s linear infinite;
  will-change: transform;
}
@keyframes ticker-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.tick-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--text-lo);
  padding: 0 32px;
  letter-spacing: 0.02em;
}
.tick-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.tick-dot.green {
  background: var(--green);
  box-shadow: 0 0 6px var(--green);
}
.tick-dot.blue {
  background: var(--indigo);
  box-shadow: 0 0 6px var(--indigo);
}
.tick-dot.yellow {
  background: var(--yellow);
  box-shadow: 0 0 6px var(--yellow);
}

/* ── HERO ──────────────────────────────────────────────────────── */
.hero-section {
  min-height: calc(100vh - var(--nav-h) - 36px);
  display: flex;
  align-items: center;
  padding: 72px 40px 80px;
  position: relative;
}
/* subtle radial glow behind hero */
.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(
      ellipse 60% 55% at 20% 40%,
      rgba(91, 95, 255, 0.09) 0%,
      transparent 70%
    ),
    radial-gradient(
      ellipse 40% 40% at 75% 60%,
      rgba(16, 185, 129, 0.05) 0%,
      transparent 70%
    );
  pointer-events: none;
}

.hero-inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
}

/* Hero left */
.hero-eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--indigo);
  margin-bottom: 20px;
}
.hero-heading {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text-hi);
  margin-bottom: 22px;
}
.hero-heading em {
  font-style: normal;
  color: var(--indigo);
}
.hero-body {
  font-size: 1.0625rem;
  color: var(--text-lo);
  max-width: 46ch;
  line-height: 1.65;
  margin-bottom: 36px;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}
.hero-cta a {
  flex: 0 1 auto;
}

/* Proof strip */
.hero-proof {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
}
.proof-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-right: 28px;
}
.proof-num {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.75rem;
  color: var(--text-hi);
  letter-spacing: -0.03em;
}
.proof-label {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-lo);
}
.proof-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
  margin: 0 28px 0 0;
  flex-shrink: 0;
}

/* ── Terminal card ─────────────────────────────────────────────── */
.hero-right {
  width: 100%;
  min-width: 0;
}
.terminal-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  width: 100%;
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(91, 95, 255, 0.08);
}

.terminal-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}
.terminal-dots {
  display: flex;
  gap: 6px;
}
.tdot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.tdot.red {
  background: #ef4444;
}
.tdot.yellow {
  background: var(--yellow);
}
.tdot.green {
  background: var(--green);
}

.terminal-title {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--text-lo);
  letter-spacing: 0.06em;
  flex: 1;
  text-align: center;
  margin-left: -24px; /* optical center */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.terminal-badge {
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--green);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  flex-shrink: 0;
}
.pulse-badge {
  animation: badge-pulse 2s ease-in-out infinite;
}
@keyframes badge-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.45;
  }
}

.terminal-body {
  padding: 12px 0;
  min-height: 220px;
}
.feed-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  font-family: var(--mono);
  font-size: 0.73rem;
  transition: opacity 0.4s ease;
}
.feed-row--new {
  animation: feed-slide-in 0.3s ease;
}
@keyframes feed-slide-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.feed-row.faded {
  opacity: 0.3;
}

.feed-time {
  color: var(--text-faint);
  min-width: 38px;
  font-size: 0.68rem;
  flex-shrink: 0;
}
.feed-tag {
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 4px;
  min-width: 72px;
  text-align: center;
  font-weight: 500;
  flex-shrink: 0;
}
.feed-tag.checkin {
  background: rgba(16, 185, 129, 0.15);
  color: var(--green);
}
.feed-tag.payment {
  background: rgba(91, 95, 255, 0.15);
  color: #8b8fff;
}
.feed-tag.enroll {
  background: rgba(245, 158, 11, 0.15);
  color: var(--yellow);
}
.feed-tag.order {
  background: rgba(239, 68, 68, 0.12);
  color: #f87171;
}

.feed-msg {
  color: var(--text-mid);
  font-size: 0.74rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.terminal-footer {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  border-top: 1px solid var(--border);
  background: var(--surface-2);
}
.tfooter-item {
  display: flex;
  flex-direction: column;
  gap: 1px;
  flex: 1;
  text-align: center;
  min-width: 0;
}
.tfooter-val {
  font-family: var(--mono);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-hi);
}
.tfooter-label {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-lo);
}
.tfooter-divider {
  width: 1px;
  height: 28px;
  background: var(--border);
  flex-shrink: 0;
}

/* ── FEATURES ──────────────────────────────────────────────────── */
.features-section {
  padding: 120px 40px;
  position: relative;
}
.features-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.features-header {
  max-width: 520px;
  margin-bottom: 80px;
}
.features-header h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text-hi);
}

/* Feat rows */
.feat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 72px 0;
  border-top: 1px solid var(--border);
}
.feat-row--flip {
  direction: rtl;
}
.feat-row--flip > * {
  direction: ltr;
}

.feat-index {
  display: block;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--indigo);
  margin-bottom: 12px;
}
.feat-text h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.625rem;
  letter-spacing: -0.02em;
  color: var(--text-hi);
  margin-bottom: 14px;
  line-height: 1.2;
}
.feat-text p {
  color: var(--text-lo);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 44ch;
  margin-bottom: 22px;
}

.feat-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.feat-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.5;
}
.feat-list li::before {
  content: "→";
  color: var(--indigo);
  font-family: var(--mono);
  font-size: 0.82rem;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Feature visual cards */
.feat-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.fv-card {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.fv-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(91, 95, 255, 0.15);
}

/* Member rows */
.member-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.member-row:last-of-type {
  border-bottom: none;
}
.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  flex-shrink: 0;
}
.member-info {
  flex: 1;
  min-width: 0;
}
.member-info strong {
  display: block;
  font-size: 0.875rem;
  color: var(--text-hi);
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.member-info span {
  display: block;
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--text-lo);
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.status-pill {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 100px;
  flex-shrink: 0;
}
.status-pill.active {
  background: rgba(16, 185, 129, 0.15);
  color: var(--green);
}
.status-pill.expiring {
  background: rgba(245, 158, 11, 0.15);
  color: var(--yellow);
}
.status-pill.expired {
  background: rgba(239, 68, 68, 0.12);
  color: #f87171;
}

.fv-stat-row {
  display: flex;
  gap: 0;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.fv-stat {
  flex: 1;
  text-align: center;
  min-width: 0;
}
.fv-stat span {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-hi);
}
.fv-stat label {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-lo);
}

/* Face card */
.face-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 32px 20px;
}
.face-scan {
  position: relative;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.scan-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid var(--indigo);
}
.scan-ring.outer {
  width: 100px;
  height: 100px;
  opacity: 0.3;
  animation: ring-pulse 2.4s ease-in-out infinite;
}
.scan-ring.inner {
  width: 74px;
  height: 74px;
  opacity: 0.6;
  animation: ring-pulse 2.4s ease-in-out infinite 0.4s;
}
@keyframes ring-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.4;
  }
  50% {
    transform: scale(1.06);
    opacity: 0.9;
  }
}
.scan-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--indigo-dim);
  color: var(--indigo);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.85rem;
  z-index: 1;
}
.scan-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 1.5px;
  background: linear-gradient(
    to right,
    transparent,
    var(--indigo),
    transparent
  );
  animation: scan-sweep 2s ease-in-out infinite;
}
@keyframes scan-sweep {
  0% {
    top: 8px;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    top: 92px;
    opacity: 0;
  }
}
.scan-result {
  text-align: center;
}
.scan-name {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--text-hi);
}
.scan-conf {
  display: block;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--text-lo);
  margin: 4px 0;
}
.scan-time {
  display: block;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--green);
}

/* Map card */
.map-card {
  padding: 0;
  overflow: hidden;
}
.map-bg {
  position: relative;
  height: 160px;
  background: #0e0e1a;
  overflow: hidden;
}
.map-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(91, 95, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91, 95, 255, 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
}
.map-pin {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.pin-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--indigo);
  box-shadow:
    0 0 0 3px rgba(91, 95, 255, 0.25),
    0 0 12px var(--indigo);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}
.pin-radius {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 1px dashed rgba(91, 95, 255, 0.4);
  background: rgba(91, 95, 255, 0.06);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: radius-pulse 3s ease-in-out infinite;
}
@keyframes radius-pulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.05);
    opacity: 0.7;
  }
}
.map-label {
  padding: 14px 16px;
}
.map-gym {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-hi);
}
.map-sub {
  display: block;
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--text-lo);
  margin-top: 4px;
}

/* Mini feature cards */
.feat-mini-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border-top: 1px solid var(--border);
  margin-top: 0;
}
.feat-mini {
  padding: 48px 40px;
  border-right: 1px solid var(--border);
  transition: background 0.2s ease;
  min-width: 0;
}
.feat-mini:last-child {
  border-right: none;
}
.feat-mini:hover {
  background: rgba(91, 95, 255, 0.03);
}
.feat-mini h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--text-hi);
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.feat-mini p {
  font-size: 0.9rem;
  color: var(--text-lo);
  line-height: 1.65;
}
.feat-mini .feat-index {
  margin-bottom: 16px;
}

/* ── CONTACT ───────────────────────────────────────────────────── */
.contact-section {
  padding: 120px 40px;
  border-top: 1px solid var(--border);
}
.contact-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.contact-left h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: -0.03em;
  color: var(--text-hi);
  line-height: 1.1;
  margin-bottom: 18px;
}
.contact-left p {
  color: var(--text-lo);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 44ch;
  margin-bottom: 28px;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
  min-width: 0;
}
.cc-label {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-lo);
  margin-bottom: 4px;
}
.cc-company {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-hi);
  margin-bottom: 24px;
}
.cc-divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 20px;
}
.cc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.cc-row:last-child {
  border-bottom: none;
}
.cc-key {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--text-lo);
  text-transform: uppercase;
  flex-shrink: 0;
}
.cc-val {
  font-size: 0.875rem;
  color: var(--text-mid);
  text-align: right;
}
.cc-val:hover {
  color: var(--text-hi);
}

/* ── GYMS (superuser) ──────────────────────────────────────────── */
.gyms-section {
  padding: 80px 40px 120px;
}
.gyms-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.gyms-inner h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: 2rem;
  letter-spacing: -0.03em;
  color: var(--text-hi);
  margin-bottom: 8px;
}

.gyms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 40px;
}
.gym-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  min-width: 0;
}
.gym-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}
.gym-card--expired {
  opacity: 0.55;
}

.gc-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 16px;
}
.gc-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-hi);
  overflow: hidden;
  text-overflow: ellipsis;
}
.gc-code {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: var(--text-lo);
  background: rgba(255, 255, 255, 0.05);
  padding: 2px 7px;
  border-radius: 4px;
  flex-shrink: 0;
}
.gc-mid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.gc-expiry {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--text-lo);
}
.gc-link {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  color: var(--indigo);
  transition: color 0.15s;
}
.gc-link:hover {
  color: #8b8fff;
}

/* ── FOOTER ────────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 40px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-hi);
}
.footer-copy {
  font-size: 0.8125rem;
  color: var(--text-lo);
}
.footer-copy a {
  color: var(--text-lo);
  transition: color 0.15s;
}
.footer-copy a:hover {
  color: var(--text-hi);
}

/* ── Scroll reveal ─────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Reduced motion ────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .ticker-track {
    animation: none;
  }
  .scan-line {
    animation: none;
  }
  .scan-ring {
    animation: none;
  }
  .pin-radius {
    animation: none;
  }
  .pulse-badge {
    animation: none;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ════════════════════════════════════════════════════════════════
   RESPONSIVE — laptop / tablet / phone breakpoints
   ════════════════════════════════════════════════════════════════ */

/* ── Laptop / small desktop (≤1100px): tighten side padding ──── */
@media (max-width: 1100px) {
  .hero-section,
  .features-section,
  .contact-section,
  .gyms-section {
    padding-left: 28px;
    padding-right: 28px;
  }
  .site-nav {
    padding-left: 28px;
    padding-right: 28px;
  }
}

/* ── Tablet (≤960px): stack hero/feat/contact columns ─────────── */
@media (max-width: 960px) {
  .hero-section {
    min-height: auto;
    padding-top: 56px;
    padding-bottom: 56px;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero-right {
    max-width: 560px;
    margin: 0 auto;
  }
  .feat-row {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .feat-row--flip {
    direction: ltr;
  }
  .feat-visual {
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
  }
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .contact-right {
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
  }
  .feat-mini-row {
    grid-template-columns: 1fr;
  }
  .feat-mini {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 36px 24px;
  }
  .feat-mini:last-child {
    border-bottom: none;
  }
  .features-header {
    margin-bottom: 56px;
  }
}

/* ── Nav collapses earlier (≤780px): hide center links, keep actions usable ── */
@media (max-width: 780px) {
  .nav-links {
    display: none;
  }
  .nav-actions {
    margin-left: auto;
  }
}

/* ── Large phone / small tablet (≤640px) ──────────────────────── */
@media (max-width: 640px) {
  .site-nav {
    padding: 10px 16px;
    gap: 10px 16px;
  }
  .brand-name {
    font-size: 0.95rem;
  }
  .nav-actions {
    gap: 6px;
  }
  .nav-actions .btn-ghost,
  .nav-actions .btn-solid {
    padding: 8px 12px;
    font-size: 0.8rem;
  }

  .ticker-rail {
    height: 32px;
  }
  .tick-item {
    font-size: 0.65rem;
    padding: 0 22px;
  }

  .hero-section,
  .features-section,
  .contact-section,
  .gyms-section,
  .site-footer {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-eyebrow {
    margin-bottom: 14px;
  }
  .hero-heading {
    font-size: clamp(1.9rem, 8vw, 2.6rem);
    margin-bottom: 16px;
  }
  .hero-body {
    font-size: 0.95rem;
    margin-bottom: 28px;
  }
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-bottom: 36px;
  }
  .hero-cta a {
    justify-content: center;
    width: 100%;
  }

  .hero-proof {
    flex-wrap: wrap;
    gap: 16px 0;
  }
  .proof-item {
    padding-right: 18px;
    min-width: 30%;
  }
  .proof-num {
    font-size: 1.4rem;
  }
  .proof-divider {
    display: none;
  }

  .terminal-title {
    margin-left: 0;
    font-size: 0.62rem;
  }
  .terminal-header {
    flex-wrap: wrap;
    gap: 6px 10px;
  }
  .terminal-body {
    min-height: 0;
  }
  .feed-tag {
    min-width: 58px;
    font-size: 0.58rem;
  }
  .feed-msg {
    font-size: 0.7rem;
  }
  .terminal-footer {
    flex-wrap: wrap;
    gap: 10px 0;
  }
  .tfooter-divider {
    display: none;
  }

  .features-header h2 {
    font-size: clamp(1.7rem, 7vw, 2.2rem);
  }
  .features-header {
    margin-bottom: 40px;
  }
  .feat-row {
    gap: 28px;
    padding: 40px 0;
  }
  .feat-text h3 {
    font-size: 1.35rem;
  }
  .feat-mini {
    padding: 30px 18px;
  }

  .map-bg {
    height: 130px;
  }

  .contact-left h2 {
    font-size: clamp(1.6rem, 7vw, 2rem);
  }
  .contact-card {
    padding: 24px;
  }
  .cc-row {
    flex-wrap: wrap;
  }

  .gyms-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 14px;
  }
}

/* ── Small phones (≤400px) ─────────────────────────────────────── */
@media (max-width: 400px) {
  .nav-actions .btn-ghost,
  .nav-actions .btn-solid {
    padding: 7px 10px;
    font-size: 0.74rem;
  }
  .hero-heading {
    font-size: 1.7rem;
  }
  .proof-item {
    min-width: 45%;
  }
  .terminal-card {
    border-radius: 10px;
  }
  .feed-tag {
    min-width: 0;
    padding: 2px 5px;
  }
}