/* ==========================================================================
   Gym & Strength Product Landing Page Styles
   Scope: .gm-page
   Aesthetic: High-contrast iron gym cockpit & precision lifting tools.
   Consistent with Forgade light mode, brutalist machine typography, and accent tokens.
   ========================================================================== */

.gm-page {
  background: var(--lp-void);
  color: var(--fg);
}

/* Eyebrow Label */
.gm-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--lp-machine);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: 1.2rem;
}

.gm-eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--accent);
}

/* Hero Section */
.gm-hero {
  position: relative;
  padding-top: clamp(6.5rem, 13vh, 9rem);
  padding-bottom: clamp(3.5rem, 7vh, 5.5rem);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(var(--lp-void-rgb), 0.5) 0%, var(--lp-band) 100%);
  overflow: hidden;
}

.gm-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

@media (min-width: 960px) {
  .gm-hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.gm-hero-title {
  font-family: var(--lp-display);
  font-size: clamp(2.6rem, 5.8vw, 4.4rem);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.025em;
  color: var(--fg);
  margin: 0 0 1.25rem;
  text-wrap: balance;
}

.gm-hero-title em {
  font-style: normal;
  color: var(--accent);
}

.gm-hero-lead {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.55;
  color: var(--fg-2);
  margin: 0 0 2rem;
  max-width: 52ch;
}

/* App Store & APK Download Buttons */
.gm-store-buttons,
.gm-store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
  margin-bottom: 1.25rem;
}

.gm-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  background: #0d1117;
  border: 1px solid #232a36;
  border-radius: 6px;
  padding: 0.7rem 1.25rem;
  color: #f4f7fa;
  text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.gm-store-btn:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -10px rgba(0, 0, 0, 0.4);
  color: #ffffff;
}

.gm-store-btn svg {
  flex-shrink: 0;
}

.gm-store-btn-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.15;
}

.gm-store-btn-sub {
  font-family: var(--lp-machine);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8b98a5;
}

.gm-store-btn-main {
  font-family: var(--lp-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #ffffff;
  margin-top: 2px;
}

.gm-store-btn--accent {
  background: var(--accent);
  border-color: var(--accent);
}

.gm-store-btn--accent .gm-store-btn-sub {
  color: rgba(0, 0, 0, 0.65);
}

.gm-store-btn--accent .gm-store-btn-main {
  color: #000000;
}

.gm-store-btn--accent:hover {
  background: var(--accent);
  filter: brightness(1.06);
}

/* Trust Badge */
.gm-trust-badge,
.gm-trust-line {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--lp-machine);
  font-size: 0.72rem;
  color: var(--fg-3);
  margin: 0;
}

.gm-trust-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* Chip Strip */
.gm-chip-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.gm-chip {
  font-family: var(--lp-machine);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--fg-2);
  background: var(--card);
  border: 1px solid var(--line);
  padding: 0.35rem 0.65rem;
  border-radius: 3px;
}

/* Alternating Feature Sections */
.gm-section {
  padding-block: clamp(4.5rem, 9vh, 7rem);
  border-bottom: 1px solid var(--line);
  position: relative;
}

.gm-section--alt,
.gm-section:nth-of-type(even) {
  background: var(--lp-band);
}

.gm-feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

@media (min-width: 960px) {
  .gm-feature-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gm-feature-grid--reverse .gm-feature-copy {
    order: 2;
  }

  .gm-feature-grid--reverse .gm-device-stage {
    order: 1;
  }
}

.gm-section-title {
  font-family: var(--lp-display);
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin: 0 0 1rem;
}

.gm-section-lead {
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--fg-2);
  margin: 0 0 1.5rem;
  max-width: 48ch;
}

/* Feature Spec Bullets */
.gm-bullet-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
  display: grid;
  gap: 0.85rem;
}

.gm-bullet-item {
  display: grid;
  grid-template-columns: 1.25rem 1fr;
  gap: 0.65rem;
  align-items: start;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--fg-2);
}

.gm-bullet-item strong {
  color: var(--fg);
  font-weight: 600;
}

.gm-bullet-dot {
  width: 8px;
  height: 8px;
  margin-top: 6px;
  background: var(--accent);
  border-radius: 1px;
}

/* Mini Store CTA row in sections */
.gm-feature-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 1.5rem;
}

.gm-mini-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: #0d1117;
  border: 1px solid #232a36;
  border-radius: 5px;
  padding: 0.55rem 0.95rem;
  font-family: var(--lp-display);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #f4f7fa;
  text-decoration: none;
  transition: transform 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.gm-mini-store-btn svg {
  flex-shrink: 0;
}

.gm-mini-store-btn:hover {
  border-color: var(--accent);
  color: #ffffff;
  transform: translateY(-1px);
}

.gm-mini-store-btn--accent {
  background: var(--accent);
  border-color: var(--accent);
  color: #000000;
}

.gm-mini-store-btn--accent:hover {
  background: var(--accent);
  filter: brightness(1.06);
  color: #000000;
}

.gm-store-btn--placeholder {
  cursor: default;
  opacity: 0.9;
}

.gm-store-btn--placeholder:hover {
  transform: none;
  border-color: #232a36;
  box-shadow: none;
}

.gm-mini-store-placeholder {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(13, 17, 23, 0.75);
  border: 1px solid #232a36;
  border-radius: 6px;
  padding: 0.45rem 0.85rem;
  font-family: var(--lp-machine);
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  color: #8b98a5;
  text-transform: uppercase;
}

.gm-mini-store-placeholder svg {
  color: var(--accent);
  flex-shrink: 0;
}


/* Smartphone Device Frames */
.gm-device-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.gm-phone-frame {
  position: relative;
  width: 100%;
  max-width: 320px;
  aspect-ratio: 9 / 19.5;
  background: #0b0d11;
  border: 4px solid #202632;
  border-radius: 38px;
  box-shadow: 0 25px 65px -15px rgba(11, 13, 17, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.08);
  overflow: hidden;
  margin: 0;
}

.gm-phone-notch {
  position: absolute;
  top: 9px;
  left: 50%;
  transform: translateX(-50%);
  width: 82px;
  height: 18px;
  background: #000000;
  border-radius: 9px;
  z-index: 10;
}

.gm-phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #090c10;
}

.gm-phone-screen img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
  transition: opacity 0.3s ease;
}

/* High Fidelity Blueprint Fallback UI */
.gm-mockup {
  position: absolute;
  inset: 0;
  padding: 34px 14px 16px;
  display: flex;
  flex-direction: column;
  font-family: var(--sans);
  color: #ffffff;
  background: #090c10;
  z-index: 1;
  box-sizing: border-box;
}

.gm-mock-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--lp-machine);
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  color: #8c9ba8;
  padding-bottom: 8px;
  border-bottom: 1px solid #1a2230;
  margin-bottom: 8px;
}

/* Gym App Mockup Components */
.gm-mock-badge {
  display: inline-block;
  font-family: var(--lp-machine);
  font-size: 0.58rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 3px;
  text-transform: uppercase;
}

.gm-mock-badge--warmup {
  background: #252e3d;
  color: #8c9ba8;
}

.gm-mock-badge--target {
  background: rgba(var(--accent-rgb), 0.2);
  color: var(--accent);
  border: 1px solid rgba(var(--accent-rgb), 0.4);
}

.gm-mock-badge--pr {
  background: #ff9500;
  color: #000000;
}

.gm-mock-badge--drop {
  background: rgba(255, 69, 58, 0.18);
  color: #ff453a;
}

.gm-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.68rem;
}

.gm-table th {
  font-family: var(--lp-machine);
  font-size: 0.56rem;
  color: #728292;
  text-align: left;
  padding: 4px 6px;
  border-bottom: 1px solid #1a2230;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.gm-table td {
  padding: 6px 6px;
  border-bottom: 1px solid #141b26;
}

.gm-check-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 4px;
  background: var(--accent);
  color: #000000;
  font-weight: 900;
  font-size: 0.72rem;
}

.gm-shot-caption {
  font-family: var(--lp-machine);
  font-size: 0.62rem;
  color: var(--fg-4);
  text-align: center;
  margin-top: 0.75rem;
}

/* Bottom CTA / Conversion Block */
.gm-cta-section {
  position: relative;
  padding-block: clamp(5rem, 10vh, 8rem);
  background: #090c10;
  color: #f4f7fa;
  border-top: 1px solid #1f2735;
  overflow: hidden;
}

.gm-cta-box {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.gm-cta-title {
  font-family: var(--lp-display);
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin: 0 0 1.2rem;
}

.gm-cta-title em {
  font-style: normal;
  color: var(--accent);
}

.gm-cta-lead {
  font-size: 1.15rem;
  line-height: 1.55;
  color: #9aa7b5;
  margin: 0 auto 2.25rem;
  max-width: 48ch;
}

.gm-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}
