/* ==========================================================================
   Mythra Fitness — Marketing Site
   Design concept: "the logbook" — a training ledger for gym, run and walk,
   with a stopwatch-plate signature motif. Numbers are real (reps, sets,
   pace) so mono-digit readouts do actual work here, not decoration.
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=IBM+Plex+Mono:wght@400;500;600&family=IBM+Plex+Sans:wght@400;500;600;700&display=swap");

:root {
  --ink: #0d1210;
  --ink-2: #141a16;
  --ink-3: #1b221d;
  --ink-4: #232b25;
  --chalk: #f3f6f0;
  --chalk-dim: #a9b3a6;
  --chalk-dimmer: #78827a;
  --line: #2a332c;
  --signal: #ff4b3e;
  --signal-dim: rgba(255, 75, 62, 0.14);
  --gold: #e8b94f;
  --gold-dim: rgba(232, 185, 79, 0.14);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --font-display: "Bebas Neue", "Arial Narrow", sans-serif;
  --font-body: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--chalk);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* -------------------------------------------------------------------------
   Utility text styles
   ------------------------------------------------------------------------- */

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  display: inline-block;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.01em;
  margin: 0;
  color: var(--chalk);
}

/* -------------------------------------------------------------------------
   Header / nav (CSS-only mobile toggle via checkbox hack)
   ------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(13, 18, 16, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: block;
}

.logo span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--chalk-dimmer);
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 9px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  font-size: 14px;
  font-weight: 500;
  color: var(--chalk-dim);
}

.nav-links a {
  transition: color 0.15s ease;
}
.nav-links a:hover {
  color: var(--chalk);
}

.nav-cta {
  background: var(--chalk);
  color: var(--ink) !important;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600 !important;
}

.nav-toggle {
  display: none;
}
.nav-toggle-label {
  display: none;
}

/* -------------------------------------------------------------------------
   Hero
   ------------------------------------------------------------------------- */

.hero {
  position: relative;
  padding: 88px 0 96px;
  overflow: hidden;
  background:
    radial-gradient(
      700px 420px at 82% -10%,
      var(--signal-dim),
      transparent 60%
    ),
    radial-gradient(600px 380px at -10% 30%, var(--gold-dim), transparent 60%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  margin-bottom: 20px;
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.6);
}

.hero-copy .eyebrow {
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(46px, 6.4vw, 78px);
  line-height: 0.98;
  text-transform: uppercase;
}

.hero h1 em {
  font-style: normal;
  color: var(--gold);
}

.hero-sub {
  margin: 26px 0 0;
  max-width: 480px;
  font-size: 17px;
  color: var(--chalk-dim);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    opacity 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--signal);
  color: var(--chalk);
}

.btn-primary:hover {
  opacity: 0.92;
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--chalk);
}

.btn-ghost:hover {
  border-color: var(--chalk-dimmer);
}

.hero-note {
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--chalk-dimmer);
  letter-spacing: 0.04em;
}

/* --- signature element: the stat plate card ------------------------------- */

.plate-card {
  position: relative;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
}

.plate-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.plate-card__title {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--chalk-dim);
}

.plate-card__stamp {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 999px;
  padding: 4px 10px;
  letter-spacing: 0.08em;
}

.plate-readouts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}

.readout {
  background: var(--ink-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px;
}

.readout__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--chalk-dimmer);
  margin-bottom: 8px;
}

.readout__value {
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 500;
  color: var(--chalk);
}

.readout__value small {
  font-size: 13px;
  color: var(--chalk-dimmer);
  font-weight: 400;
}

.plate-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px dashed var(--line);
  padding-top: 16px;
}

.plate-card__tag {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--chalk-dim);
}

.plate-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--signal);
}

.plate-card__ai {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gold);
}

/* -------------------------------------------------------------------------
   Section shell
   ------------------------------------------------------------------------- */

.section {
  padding: 96px 0;
  border-top: 1px solid var(--line);
}

.section-head {
  max-width: 620px;
  margin-bottom: 56px;
}

.section-head .eyebrow {
  margin-bottom: 18px;
}

.section-head h2 {
  font-size: clamp(32px, 4vw, 46px);
  text-transform: uppercase;
  line-height: 1.04;
}

.section-head p {
  margin: 18px 0 0;
  color: var(--chalk-dim);
  font-size: 16px;
  max-width: 540px;
}

/* -------------------------------------------------------------------------
   What's inside — plate-numbered pillars (real plate denominations)
   ------------------------------------------------------------------------- */

.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.pillar {
  background: var(--ink-2);
  padding: 32px 26px;
}

.pillar__plate {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 13px;
  color: var(--ink);
  background: var(--gold);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.pillar h3 {
  font-size: 22px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.pillar p {
  color: var(--chalk-dim);
  font-size: 14.5px;
  margin: 0;
}

/* -------------------------------------------------------------------------
   Features grid
   ------------------------------------------------------------------------- */

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature-card {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px;
  transition: border-color 0.15s ease;
}

.feature-card:hover {
  border-color: var(--chalk-dimmer);
}

.feature-icon {
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
}

.feature-card h3 {
  font-size: 19px;
  text-transform: uppercase;
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}

.feature-card p {
  color: var(--chalk-dim);
  font-size: 14.5px;
  margin: 0;
}

/* -------------------------------------------------------------------------
   Why Mythra
   ------------------------------------------------------------------------- */

.why {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: start;
}

.why-points {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.why-point {
  display: flex;
  gap: 18px;
}

.why-point__mark {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--gold);
  border: 1px solid var(--line);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-point h4 {
  font-size: 18px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.why-point p {
  color: var(--chalk-dim);
  font-size: 14.5px;
  margin: 0;
}

/* -------------------------------------------------------------------------
   Comparison table
   ------------------------------------------------------------------------- */

.compare-table-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink-2);
}

table.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}

table.compare th,
table.compare td {
  padding: 18px 22px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

table.compare thead th {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--chalk-dimmer);
  background: var(--ink-3);
}

table.compare thead th:not(:first-child),
table.compare td:not(:first-child) {
  text-align: center;
}

table.compare tbody tr:last-child td {
  border-bottom: none;
}

table.compare td:first-child {
  color: var(--chalk);
  font-weight: 500;
}

.mythra-col {
  background: rgba(232, 185, 79, 0.06);
}

.check-yes {
  color: var(--gold);
  font-family: var(--font-mono);
  font-weight: 600;
}

.check-no {
  color: var(--chalk-dimmer);
}

/* -------------------------------------------------------------------------
   FAQ (pure HTML <details>, no JS)
   ------------------------------------------------------------------------- */

.faq-list {
  max-width: 780px;
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.faq-item {
  background: var(--ink-2);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  font-size: 15.5px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 20px;
  color: var(--gold);
  transition: transform 0.15s ease;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  margin: 0;
  padding: 0 26px 24px;
  color: var(--chalk-dim);
  font-size: 14.5px;
  max-width: 640px;
}

/* -------------------------------------------------------------------------
   CTA band
   ------------------------------------------------------------------------- */

.cta {
  border-top: 1px solid var(--line);
  padding: 110px 0;
  text-align: center;
  background: radial-gradient(
    600px 300px at 50% 0%,
    var(--signal-dim),
    transparent 65%
  );
}

.cta h2 {
  font-size: clamp(36px, 5.5vw, 62px);
  text-transform: uppercase;
  line-height: 1;
}

.cta p {
  color: var(--chalk-dim);
  max-width: 460px;
  margin: 20px auto 0;
  font-size: 16px;
}

.cta .hero-actions {
  justify-content: center;
  margin-top: 34px;
}
.cta .hero-note {
  text-align: center;
}

/* -------------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 48px 0;
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links {
  display: flex;
  gap: 26px;
  font-size: 13.5px;
  color: var(--chalk-dim);
}

.footer-links a:hover {
  color: var(--chalk);
}

.footer-copy {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--chalk-dimmer);
}

/* -------------------------------------------------------------------------
   Legal pages
   ------------------------------------------------------------------------- */

.legal-hero {
  padding: 64px 0 40px;
  border-bottom: 1px solid var(--line);
}

.legal-hero .eyebrow {
  margin-bottom: 16px;
}

.legal-hero h1 {
  font-size: clamp(34px, 5vw, 50px);
  text-transform: uppercase;
}

.legal-hero .updated {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--chalk-dimmer);
  margin-top: 14px;
}

.legal-body {
  padding: 56px 0 100px;
  max-width: 760px;
  margin: 0 auto;
}

.legal-body h2 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 20px;
  text-transform: none;
  color: var(--chalk);
  margin: 40px 0 14px;
}

.legal-body h2:first-child {
  margin-top: 0;
}

.legal-body p,
.legal-body li {
  color: var(--chalk-dim);
  font-size: 15px;
  line-height: 1.7;
}

.legal-body ul {
  padding-left: 20px;
}
.legal-body li {
  margin-bottom: 8px;
}

.legal-body strong {
  color: var(--chalk);
}

.legal-body hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: 36px 0;
}

.legal-placeholder {
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 0.95em;
}

/* -------------------------------------------------------------------------
   Responsive
   ------------------------------------------------------------------------- */

@media (max-width: 920px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .pillars {
    grid-template-columns: repeat(2, 1fr);
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .why {
    grid-template-columns: 1fr;
  }
  table.compare {
    font-size: 13px;
  }
  table.compare th,
  table.compare td {
    padding: 14px;
  }
}

@media (max-width: 640px) {
  .nav-links {
    position: fixed;
    inset: 76px 0 0 0;
    background: var(--ink);
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 24px;
    gap: 24px;
    font-size: 18px;
    transform: translateX(100%);
    transition: transform 0.2s ease;
    z-index: 40;
  }

  .nav-toggle:checked ~ .nav-links {
    transform: translateX(0);
  }

  .nav-toggle-label {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    width: 24px;
  }

  .nav-toggle-label span {
    width: 100%;
    height: 2px;
    background: var(--chalk);
  }

  .pillars {
    grid-template-columns: 1fr;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .plate-readouts {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    flex-direction: column;
    align-items: flex-start;
  }
}
