/* ============================================
   TAKE THE STAIRS — style.css
   Black / White / Electric Blue
   Bebas Neue display + IBM Plex Mono body
   ============================================ */

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black:        #2a2a2a;
  --near-black:   #2f2f2f;
  --surface:      #383838;
  --surface-2:    #424242;
  --white:        #FFFFFF;
  --gray:         #d4d4d4;
  --lgray:        #efefef;
  --border:       rgba(255,255,255,0.10);
  --border-mid:   rgba(255,255,255,0.20);
  --blue:         #007BFF;
  --blue-dark:    #0056CC;
  --blue-glow:    rgba(0,123,255,0.18);
  --orange:       #FF4500;
  --orange-dark:  #D93500;

  --font-display: 'Bebas Neue', Impact, 'Arial Narrow', sans-serif;
  --font-mono:    'IBM Plex Mono', 'Courier New', monospace;

  --tap-target:   56px;

  --radius-sm:    4px;
  --radius-md:    6px;
  --radius-lg:    12px;

  --shadow-blue:  0 0 32px rgba(0,123,255,0.25);
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-mono);
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
  overflow-x: clip;
}

img { max-width: 100%; display: block; }

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover { text-decoration: underline; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400; /* Bebas Neue is naturally heavy */
  line-height: 0.95;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--white);
}

h1 { font-size: clamp(55px, 14vw, 92px); }
h2 { font-size: clamp(41px, 9vw, 64px); }
h3 { font-size: clamp(25px, 6vw, 37px); }
h4 { font-size: clamp(18px, 3.5vw, 25px); letter-spacing: 3px; }

p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--white);
}

.lead {
  font-size: 16px;
  line-height: 1.8;
  color: var(--white);
  letter-spacing: 0.3px;
}

.label-tag {
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gray);
}

/* === LAYOUT === */
.container {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  padding: 0 20px;
}

.container--wide {
  max-width: 1040px;
}

section { padding: 64px 0; }

/* === PAGE PROGRESS BAR === */
.page-progress {
  background: var(--near-black);
  border-bottom: 1px solid var(--border);
  padding: 0;
}

.page-progress__track {
  height: 3px;
  background: rgba(255,255,255,0.06);
  position: relative;
  overflow: hidden;
}

.page-progress__fill {
  height: 100%;
  background: var(--blue);
  box-shadow: 0 0 12px rgba(0,123,255,0.6);
  transition: width 0.4s ease;
}

.page-progress__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 20px;
  gap: 12px;
}

.page-progress__steps {
  display: flex;
  gap: 6px;
}

.page-progress__step {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0;
  border: 1px solid var(--border);
  color: var(--gray);
  flex-shrink: 0;
}

.page-progress__step--active {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
  box-shadow: 0 0 8px rgba(0,123,255,0.5);
}

.page-progress__label {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray);
  flex: 1;
  text-align: center;
}

.page-progress__cta {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue);
  text-decoration: none;
  font-family: var(--font-mono);
  white-space: nowrap;
}

.page-progress__cta:hover {
  color: var(--white);
  text-decoration: none;
}

/* === NAV === */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(18,18,18,0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0 20px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 32px;
  letter-spacing: 3px;
  color: var(--blue);
  text-transform: uppercase;
  line-height: 1;
}

.nav__logo-icon {
  font-size: 1.1rem;
}

.nav__logo-img {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  display: block;
  flex-shrink: 0;
}

.nav__price {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray);
}

/* === HERO === */
.hero {
  background: var(--black);
  padding: 80px 0 88px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0,123,255,0.10) 0%, transparent 70%);
  pointer-events: none;
}

.hero h1 { margin-bottom: 20px; }

.hero__tagline {
  font-size: 13px;
  letter-spacing: 1px;
  color: var(--lgray);
  margin-bottom: 32px;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

.hero__quote {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--gray);
  font-style: italic;
  margin-bottom: 40px;
  padding: 10px 20px;
  border: 1px solid var(--border);
}

.hero__cta-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: var(--tap-target);
  padding: 0 36px;
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 3px;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: opacity 0.15s, transform 0.1s;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  text-decoration: none;
}

.btn:active { transform: scale(0.97); }
.btn:hover  { text-decoration: none; opacity: 0.88; }

.btn--primary {
  background: var(--white);
  color: var(--black);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--border-mid);
  font-size: 14px;
  font-family: var(--font-mono);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.btn--outline:hover {
  border-color: rgba(255,255,255,0.5);
  opacity: 1;
}

.btn--blue {
  background: var(--blue);
  color: var(--white);
}

.btn--full  { width: 100%; }

.btn--lg {
  min-height: 64px;
  font-size: 26px;
}

/* === DIVIDER LINE === */
.section-divider {
  height: 1px;
  background: var(--border);
  margin: 0;
}

/* === HOW IT WORKS === */
.how-it-works {
  background: var(--black);
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.how-it-works h2 { margin-bottom: 8px; }
.how-it-works .lead { margin-bottom: 48px; }

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  text-align: left;
}

.step-card {
  background: var(--black);
  padding: 28px 24px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.step-card:hover { background: var(--surface); }

.step-card__num {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--blue);
  letter-spacing: 1px;
  line-height: 1;
  min-width: 32px;
}

.step-card__body h3 {
  font-size: 20px;
  letter-spacing: 2px;
  margin-bottom: 6px;
  line-height: 1.2;
}

.step-card__body p {
  font-size: 11px;
  color: var(--gray);
  margin: 0;
  line-height: 1.75;
}

/* Brand tile — 6th slot in the How It Works grid */
.step-card--brand {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 14px;
  background: var(--surface);
}

.step-card--brand:hover { background: #1a1a2a; }

.step-card--brand .brand-tile__logo {
  width: 56px;
  height: 56px;
  border-radius: 10px;
}

.step-card--brand .brand-tile__name {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 2px;
  color: var(--blue);
  line-height: 1.1;
}

.step-card--brand .brand-tile__tagline {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gray);
  line-height: 1.6;
  margin: 0;
}

/* === DIET STYLES === */
.diets {
  background: var(--near-black);
  color: var(--white);
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.diets h2 { margin-bottom: 10px; }
.diets .lead { margin-bottom: 36px; }

/* Diet groups */
.diet-group {
  margin-bottom: 28px;
}

.diet-group:last-child { margin-bottom: 0; }

.diet-group__header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.diet-group__dot {
  width: 5px;
  height: 5px;
  background: var(--blue);
  border-radius: 50%;
  flex-shrink: 0;
}

.diet-group__label {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white);
}

.diet-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.diet-grid--3col {
  grid-template-columns: repeat(3, 1fr);
}

.diet-pill {
  background: var(--surface);
  padding: 20px 16px;
  text-align: center;
  transition: background 0.15s, box-shadow 0.15s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.diet-pill:hover {
  background: var(--surface-2);
  box-shadow: inset 0 0 0 1px rgba(0,123,255,0.45);
}

.diet-pill__name {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.2;
}

.diet-pill__country {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray);
}

/* === BLUE ZONE ADVANTAGE SECTION === */
.bza {
  background: var(--black);
  padding: 72px 0;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.bza__eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
}

.bza__dot {
  width: 4px;
  height: 4px;
  background: var(--blue);
  border-radius: 50%;
  display: inline-block;
}

.bza h2 { margin-bottom: 10px; }

.bza .lead {
  margin-bottom: 48px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.bza__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  text-align: left;
  margin-bottom: 40px;
}

.bza__card {
  background: var(--black);
  padding: 28px 24px;
  position: relative;
}

.bza__card:hover { background: var(--surface); }

.bza__card--featured {
  background: var(--blue-glow);
  border-left: 2px solid var(--blue);
}

.bza__card--featured:hover { background: rgba(0,123,255,0.14); }

.bza__card h3 {
  font-size: 22px;
  letter-spacing: 2px;
  color: var(--white);
  margin-bottom: 8px;
}

.bza__card p {
  font-size: 11px;
  color: var(--gray);
  margin: 0;
  line-height: 1.75;
}

.bza__badge {
  display: inline-block;
  margin-top: 14px;
  background: var(--blue);
  color: var(--white);
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 4px 10px;
}

.bza__stat-row {
  display: flex;
  border: 1px solid var(--border);
}

.bza__stat {
  flex: 1;
  padding: 24px 12px;
  text-align: center;
  border-right: 1px solid var(--border);
}

.bza__stat:last-child { border-right: none; }

.bza__stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(28px, 6vw, 40px);
  color: var(--blue);
  line-height: 1;
  margin-bottom: 6px;
}

.bza__stat-label {
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--gray);
  line-height: 1.5;
  text-transform: uppercase;
}

/* 30% hero stat */
.bza__stat--hero {
  background: rgba(0,123,255,0.07);
  border-left: 2px solid var(--blue);
  position: relative;
}

.bza__stat--hero .bza__stat-num {
  font-size: clamp(48px, 10vw, 72px);
  color: var(--white);
  text-shadow: 0 0 40px rgba(0,123,255,0.6);
}

.bza__stat--hero .bza__stat-label {
  color: var(--lgray);
  font-size: 11px;
}

.bza__stat-detail {
  display: block;
  font-size: 9px;
  letter-spacing: 1px;
  color: var(--gray);
  margin-top: 4px;
  font-style: italic;
}

/* === ELEVATOR DAYS === */
.elevator {
  background: var(--near-black);
  border-top: 1px solid var(--surface-2);
  border-bottom: 1px solid var(--border);
  color: var(--white);
  text-align: center;
  padding: 56px 0;
}

.elevator h2 { color: var(--white); margin-bottom: 12px; }
.elevator p  { font-size: 13px; color: var(--lgray); line-height: 1.8; }
.elevator__icon {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
}

/* === ONBOARDING FORM === */
.onboarding {
  background: var(--near-black);
  scroll-margin-top: 80px;
  border-bottom: 1px solid var(--border);
}

/* Step 1 progress indicator (mirrors start.html progress bar) */
.onboarding-progress {
  padding: 16px 0 20px;
  text-align: center;
}

.onboarding-progress__steps {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 8px;
}

.onboarding-progress__step {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  border: 1px solid var(--border);
  color: var(--gray);
}

.onboarding-progress__step--active {
  border-color: var(--blue);
  color: var(--white);
  box-shadow: 0 0 0 2px rgba(0,123,255,0.25);
}

.onboarding-progress__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray);
  margin: 0;
}

.onboarding__card {
  background: var(--black);
  border: 1px solid var(--border-mid);
  padding: 40px 28px 48px;
}

.onboarding__step-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--blue);
  border: 1px solid rgba(0,123,255,0.35);
  padding: 6px 14px;
  margin-bottom: 16px;
}

.onboarding__card h2 {
  margin-bottom: 8px;
}

.onboarding__card .lead {
  margin-bottom: 28px;
}

/* === FORM === */
.form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form__label {
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white);
}

.form__label span { color: var(--orange); }

.form__input,
.form__select {
  width: 100%;
  min-height: var(--tap-target);
  padding: 14px 16px;
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--white);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 0;
  transition: border-color 0.2s;
  appearance: none;
  -webkit-appearance: none;
}

.form__input::placeholder { color: rgba(255,255,255,0.18); }

.form__input:focus,
.form__select:focus {
  border-color: rgba(255,255,255,0.45);
  outline: none;
}

.form__select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23777' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-color: var(--black);
  padding-right: 40px;
  cursor: pointer;
}

/* Sex radio buttons */
.form__radio-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.form__radio-label {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: var(--tap-target);
  padding: 12px 8px;
  background: transparent;
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--lgray);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
  text-align: center;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.form__radio-label:hover {
  border-color: var(--border-mid);
  color: var(--white);
}

.form__radio {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.form__radio:checked + .form__radio-label {
  background: var(--white);
  border-color: var(--white);
  color: var(--black);
  font-weight: 700;
}

.form__radio:focus-visible + .form__radio-label {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.radio-wrapper { position: relative; }

.form__hint {
  font-size: 10px;
  letter-spacing: 0.5px;
  color: var(--gray);
  margin-top: 2px;
  font-style: italic;
}

.form__divider {
  height: 1px;
  background: var(--border);
  margin: 4px 0;
}

.form__submit-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 8px;
}

.form__terms {
  font-size: 10px;
  letter-spacing: 0.5px;
  color: var(--gray);
  text-align: center;
  line-height: 1.6;
}

.form__terms a { color: var(--lgray); }

/* Pricing callout */
.pricing-callout {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.pricing-callout__icon { font-size: 1.2rem; flex-shrink: 0; }

.pricing-callout__text {
  font-size: 11px;
  letter-spacing: 0.5px;
  color: var(--lgray);
  line-height: 1.6;
}

.pricing-callout__text strong {
  font-weight: 700;
  color: var(--white);
  letter-spacing: 1px;
}

/* === FOOTER === */
.footer {
  background: var(--black);
  border-top: 1px solid var(--border);
  padding: 40px 0 32px;
  text-align: center;
}

.footer__logo {
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: 4px;
  color: var(--blue);
  margin-bottom: 8px;
}

.footer__tagline {
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--gray);
  margin-bottom: 20px;
  font-style: italic;
}

.footer__links {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.footer__links a {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray);
  transition: color 0.15s;
}

.footer__links a:hover { color: var(--white); text-decoration: none; }

.footer__copy {
  font-size: 10px;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.2);
}

/* === SCROLL ARROW === */
.scroll-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--gray);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 40px;
  animation: bounce 2s infinite;
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--font-mono);
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(6px); }
}

/* === ACCESSIBILITY === */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border-width: 0;
}

/* === TABLET & UP === */
@media (min-width: 540px) {
  .form__row                   { grid-template-columns: 1fr 1fr; }
  .diet-grid                   { grid-template-columns: repeat(3, 1fr); }
  .diet-grid--3col             { grid-template-columns: repeat(3, 1fr); }
  .steps-grid                  { grid-template-columns: 1fr 1fr 1fr; }
  .bza__grid                   { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 680px) {
  .hero__cta-group {
    flex-direction: row;
    justify-content: center;
  }
  .onboarding__card { padding: 48px 48px 56px; }
}

/* === REDUCED MOTION === */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
