/* Fit for Longevity — Premium Landing Page */

/* ── Variables ───────────────────────────────────────────── */
:root {
  --bg: #f8f1e3;
  --surface: #fffcf2;
  --border: #e0d5c0;
  --text: #231a0e;
  --muted: #7a6a52;
  --accent: #2d5233;
  --accent-light: #e2ede4;
  --accent-dark: #1e3a22;
  --warm: #a07810;
  --warm-light: #fdf3d6;
  --warm-dark: #6b4f0a;
  --gold: #c4900a;
  --gold-light: #f9f0d0;
  --wheat: #e8d5a0;
  --cta: #2d5233;
  --cta-hover: #1e3a22;
  --radius: 14px;
  --shadow: 0 2px 10px rgba(35,26,14,.08);
  --shadow-md: 0 8px 28px rgba(35,26,14,.12);
  --shadow-lg: 0 16px 48px rgba(35,26,14,.15);
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Layout Helpers ──────────────────────────────────────── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 28px;
}
.section { padding: 96px 0; }
.section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--text);
}
.section-sub {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 540px;
}

/* ── Nav ─────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  background: rgba(248,241,227,0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav__logo {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.nav__logo span { color: var(--accent); }
.nav__links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav__links a {
  font-size: 0.9rem;
  color: var(--muted);
  transition: color 0.15s;
}
.nav__links a:hover { color: var(--text); text-decoration: none; }
.nav__cta {
  background: var(--accent);
  color: #fff !important;
  padding: 9px 22px;
  border-radius: 24px;
  font-size: 0.875rem;
  font-weight: 700;
  transition: background 0.15s;
}
.nav__cta:hover { background: var(--accent-dark); text-decoration: none; }

@media (max-width: 700px) {
  .nav__links { display: none; }
}

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  padding: 112px 0 96px;
  text-align: center;
  background: linear-gradient(165deg, #f8f1e3 0%, #e8d5a0 35%, #fdf3d6 70%, #e2ede4 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(196,144,10,.12) 0%, transparent 60%);
  pointer-events: none;
}
.hero__eyebrow {
  display: inline-block;
  background: var(--gold-light);
  color: var(--warm-dark);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 7px 18px;
  border-radius: 20px;
  margin-bottom: 28px;
  border: 1px solid var(--wheat);
  letter-spacing: 0.04em;
}
.hero__title {
  font-size: clamp(2.5rem, 6.5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text);
  letter-spacing: -0.02em;
}
.hero__title .accent {
  color: var(--accent);
}
.hero__sub {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto 44px;
  line-height: 1.6;
}
.hero__sub strong {
  color: var(--accent-dark);
  font-weight: 700;
}
.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 36px;
  border-radius: 32px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all 0.18s;
  text-decoration: none;
  letter-spacing: -0.01em;
}
.btn--primary {
  background: var(--cta);
  color: #fff;
  box-shadow: 0 4px 14px rgba(45,82,51,.3);
}
.btn--primary:hover {
  background: var(--cta-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(45,82,51,.35);
  text-decoration: none;
}
.btn--outline {
  background: transparent;
  color: var(--text);
  border: 2.5px solid var(--border);
}
.btn--outline:hover { border-color: var(--warm); background: var(--warm-light); text-decoration: none; }

/* ── Bio ─────────────────────────────────────────────────── */
.bio {
  background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent) 50%, #3a6240 100%);
  color: #fff;
}
.bio__inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
  align-items: start;
}
.bio__photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.bio__photo img { width: 100%; }
.bio__photo--circle {
  border-radius: 50%;
  width: 240px;
  height: 240px;
  overflow: hidden;
  border: 4px solid rgba(255,255,255,0.25);
}
.bio__photo--circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.bio__content { padding-top: 8px; }
.bio__content .section-label { color: #c8e6c9; }
.bio__name {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 4px;
  color: #fff;
  letter-spacing: -0.01em;
}
.bio__title {
  font-size: 1rem;
  color: #a8d5b0;
  font-weight: 600;
  margin-bottom: 22px;
}
.bio__lead {
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.9);
  margin-bottom: 28px;
}
.bio__credentials {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.bio__credentials li {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.82);
  padding-left: 22px;
  position: relative;
}
.bio__credentials li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #a8d5b0;
  font-weight: 700;
}
.bio__focus {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.focus-tag {
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.95);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.18);
}

@media (max-width: 700px) {
  .bio__inner { grid-template-columns: 1fr; gap: 32px; }
  .bio__photo--circle { width: 180px; height: 180px; margin: 0 auto; }
}

/* ── How It Works ────────────────────────────────────────── */
.how {
  background: var(--surface);
}
.how__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
}
.step {
  background: linear-gradient(145deg, var(--warm-light) 0%, var(--surface) 100%);
  border: 1.5px solid var(--wheat);
  border-radius: var(--radius);
  padding: 40px 28px;
  text-align: center;
  box-shadow: var(--shadow);
}
.step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--warm) 0%, var(--warm-dark) 100%);
  color: #fff;
  font-size: 1.3rem;
  font-weight: 900;
  border-radius: 50%;
  margin-bottom: 22px;
  box-shadow: 0 4px 12px rgba(160,120,16,.3);
}
.step__title {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--warm-dark);
  letter-spacing: -0.01em;
}
.step__desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
}

@media (max-width: 700px) {
  .how__steps { grid-template-columns: 1fr; }
}

/* ── Testimonials ────────────────────────────────────────── */
.testimonials {
  background: linear-gradient(170deg, var(--gold-light) 0%, var(--warm-light) 100%);
  position: relative;
}
.testimonials::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(196,144,10,.08) 0%, transparent 50%);
  pointer-events: none;
}
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
  position: relative;
}
.testimonial {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  border: 1.5px solid var(--wheat);
}
.testimonial__stars {
  color: var(--gold);
  font-size: 0.9rem;
  margin-bottom: 14px;
  letter-spacing: 3px;
}
.testimonial__text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 18px;
  font-style: italic;
}
.testimonial__author {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
}

@media (max-width: 700px) {
  .testimonials__grid { grid-template-columns: 1fr; }
}

/* ── Apply / Qualification Form ─────────────────────────── */
.apply {
  background: var(--surface);
  border-top: 2px solid var(--wheat);
}
.apply__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.apply__intro { padding-top: 8px; }
.apply__intro p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--muted);
  margin-top: 16px;
  margin-bottom: 28px;
}
.apply__perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.apply__perks li {
  font-size: 0.9rem;
  color: var(--text);
  padding-left: 26px;
  position: relative;
}
.apply__perks li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.75rem;
  top: 2px;
}

/* Form */
.apply-form {
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
}
.apply-form h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--text);
}
.apply-form__sub {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 28px;
}
.form-group {
  margin-bottom: 18px;
}
.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: var(--font);
  color: var(--text);
  background: var(--surface);
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(45,82,51,.1);
}
.form-group textarea { resize: vertical; min-height: 90px; }
.form-group .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%237a6a52' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}
.form-submit {
  width: 100%;
  padding: 15px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 32px;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.18s;
  letter-spacing: -0.01em;
  box-shadow: 0 4px 14px rgba(45,82,51,.3);
  font-family: var(--font);
}
.form-submit:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(45,82,51,.35);
}
.form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Form response messages */
.form-response {
  border-radius: 12px;
  padding: 20px 24px;
  margin-top: 16px;
  font-size: 0.9rem;
  line-height: 1.6;
  display: none;
}
.form-response.show { display: block; }
.form-response.success {
  background: var(--accent-light);
  border: 1.5px solid var(--accent);
  color: var(--accent-dark);
}
.form-response.rejected {
  background: var(--warm-light);
  border: 1.5px solid var(--wheat);
  color: var(--warm-dark);
}
.form-response.error {
  background: #fef2f2;
  border: 1.5px solid #fca5a5;
  color: #991b1b;
}

@media (max-width: 800px) {
  .apply__inner { grid-template-columns: 1fr; gap: 40px; }
  .apply-form { padding: 28px 24px; }
}

/* ── Pricing ─────────────────────────────────────────────── */
.pricing {
  background: linear-gradient(180deg, var(--surface) 0%, var(--gold-light) 100%);
}
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.pricing-card {
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  background: var(--surface);
}
.pricing-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.pricing-card--highlighted {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-light), var(--shadow-md);
  background: #fff;
  position: relative;
}
.pricing-card__label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.pricing-card__name {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--text);
}
.pricing-card__price {
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--accent-dark);
  margin-bottom: 4px;
  line-height: 1;
  letter-spacing: -0.02em;
}
.pricing-card__price sup { font-size: 1.2rem; top: -0.6em; }
.pricing-card__period-inline {
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--muted);
}
.pricing-card__period {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 24px;
}
.pricing-card__features {
  list-style: none;
  text-align: left;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pricing-card__features li {
  font-size: 0.88rem;
  color: var(--text);
  padding-left: 24px;
  position: relative;
}
.pricing-card__features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.82rem;
}
.pricing-card__commitment {
  background: var(--gold-light);
  border: 1.5px solid var(--gold);
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 0.85rem;
  color: var(--warm-dark);
  margin-bottom: 20px;
  font-weight: 600;
}
.pricing-card__cta {
  display: block;
  width: 100%;
  text-align: center;
  padding: 14px 24px;
  border-radius: 32px;
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.18s;
  border: 2px solid var(--accent);
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(45,82,51,.25);
  letter-spacing: -0.01em;
}
.pricing-card__cta:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  text-decoration: none;
  transform: translateY(-1px);
}
.pricing-card__note {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 12px;
}

/* ── Trainerize ──────────────────────────────────────────── */
.trainerize {
  background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent) 50%, #3a6240 100%);
  color: #fff;
}
.trainerize__inner {
  display: flex;
  align-items: center;
  gap: 64px;
}
.trainerize__qr {
  flex-shrink: 0;
  width: 220px;
  border-radius: 16px;
  overflow: hidden;
  border: 3px solid rgba(255,255,255,0.22);
  box-shadow: var(--shadow-md);
  background: #fff;
  padding: 12px;
}
.trainerize__qr img {
  width: 100%;
  border-radius: 8px;
}
.trainerize__content .section-label { color: #b8d9c3; }
.trainerize__content .section-title { color: #fff; }
.trainerize__desc {
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.88);
  margin-bottom: 28px;
  max-width: 500px;
}
.trainerize__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}
.trainerize__features li {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
  padding-left: 24px;
  position: relative;
}
.trainerize__features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #b8d9c3;
  font-weight: 700;
}
.trainerize__cta {
  background: #fff;
  color: var(--accent-dark);
  border: none;
  box-shadow: 0 4px 14px rgba(0,0,0,.15);
}
.trainerize__cta:hover {
  background: var(--gold-light);
  text-decoration: none;
  transform: translateY(-1px);
}

@media (max-width: 700px) {
  .trainerize__inner { flex-direction: column; gap: 32px; }
  .trainerize__qr { width: 160px; margin: 0 auto; }
}

/* ── Footer ──────────────────────────────────────────────── */
.footer {
  background: var(--text);
  color: rgba(255,255,255,0.55);
  padding: 44px 0;
  font-size: 0.85rem;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer__brand { color: #fff; font-weight: 800; font-size: 1rem; }
.footer__brand span { color: var(--accent-light); }
.footer__links {
  display: flex;
  gap: 24px;
  list-style: none;
}
.footer__links a { color: rgba(255,255,255,0.55); }
.footer__links a:hover { color: #fff; text-decoration: none; }

/* ── Utilities ────────────────────────────────────────────── */
.text-center { text-align: center; }