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

:root {
  --bg: #F7F5F0;
  --bg-warm: #EDE9E1;
  --fg: #1A1A1A;
  --fg-muted: #6B6560;
  --accent: #2C6E6A;
  --accent-light: #E8F0EF;
  --accent-warm: #C4714A;
  --accent-warm-light: #F5EAE5;
  --surface: #FFFFFF;
  --border: #E0DBD3;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ─── Nav ──────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 2rem;
  background: rgba(247,245,240,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--fg);
  letter-spacing: -0.01em;
}
.nav-tagline {
  font-size: 0.8rem;
  color: var(--fg-muted);
  padding-left: 0.75rem;
  border-left: 1px solid var(--border);
}

/* ─── Hero ─────────────────────────────────────────────────── */
.hero {
  padding: 9rem 2rem 5rem;
  background: var(--bg);
  overflow: hidden;
}
.hero-content {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 1.5rem;
}
.hero-headline em {
  font-style: italic;
  color: var(--accent);
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
  max-width: 420px;
  line-height: 1.7;
  margin-bottom: 2rem;
}
.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.hero-cta-text {
  font-size: 0.85rem;
  color: var(--fg-muted);
}
.hero-app-badge {
  height: 28px;
  width: auto;
  border-radius: 4px;
  display: block;
}
.hero-image-wrap {
  position: relative;
}
.hero-img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.12), 0 8px 24px rgba(0,0,0,0.08);
  object-fit: cover;
  aspect-ratio: 4/3;
}
.hero-badge-float {
  position: absolute;
  bottom: -1.5rem;
  right: -1rem;
  background: var(--surface);
  border-radius: 16px;
  padding: 1rem 1.5rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  text-align: center;
  min-width: 140px;
}
.badge-label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-muted);
  margin-bottom: 0.25rem;
}
.badge-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.badge-sub {
  display: block;
  font-size: 0.65rem;
  color: var(--fg-muted);
  margin-top: 0.25rem;
}

/* ─── Features ────────────────────────────────────────────── */
.features {
  padding: 6rem 2rem 5rem;
  background: var(--surface);
}
.features-inner { max-width: 1100px; margin: 0 auto; }
.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.feat-card {
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--bg);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feat-card:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(0,0,0,0.07); }
.feat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--accent);
  background: var(--accent-light);
}
.feat-card--workouts .feat-icon { background: #E8F0EF; color: #2C6E6A; }
.feat-card--nutrition .feat-icon { background: #F5EAE5; color: #C4714A; }
.feat-card--sleep .feat-icon { background: #E8EDF5; color: #4A5E8C; }
.feat-card--documents .feat-icon { background: #EAF0E8; color: #3E7D54; }
.feat-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: var(--fg);
}
.feat-desc {
  font-size: 0.88rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* ─── Elevate Age ─────────────────────────────────────────── */
.elevate-age {
  padding: 7rem 2rem;
  background: var(--fg);
  color: #fff;
}
.ea-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.ea-eyebrow {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1rem;
}
.ea-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  color: #fff;
}
.ea-desc {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin-bottom: 2rem;
}
.ea-factors { display: flex; flex-direction: column; gap: 0.6rem; }
.factor {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.factor-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.ea-score-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 2.5rem;
}
.ea-score-inner { text-align: center; margin-bottom: 2rem; }
.ea-label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.25rem;
}
.ea-number {
  display: block;
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.ea-sub {
  display: block;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  margin-top: 0.5rem;
}
.ea-trend {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.75rem;
}
.ea-trend-label { font-size: 0.78rem; color: rgba(255,255,255,0.5); }
.ea-arrow { font-size: 1rem; color: #5ECC8A; }
.ea-bars { display: flex; flex-direction: column; gap: 0.9rem; }
.ea-bar-row { display: flex; align-items: center; gap: 1rem; }
.ea-bar-label { font-size: 0.75rem; color: rgba(255,255,255,0.5); width: 56px; flex-shrink: 0; }
.ea-bar {
  flex: 1;
  height: 6px;
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
  overflow: hidden;
}
.ea-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), #5ECC8A);
  border-radius: 3px;
}

/* ─── Mechanics ───────────────────────────────────────────── */
.mechanics {
  padding: 6rem 2rem;
  background: var(--bg-warm);
}
.mech-inner { max-width: 1100px; margin: 0 auto; }
.mech-head { text-align: center; margin-bottom: 3.5rem; }
.mech-eyebrow {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.mech-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--fg);
}
.mech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.mech-item { }
.mech-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--accent-warm);
  opacity: 0.4;
  margin-bottom: 0.5rem;
}
.mech-item-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--fg);
}
.mech-item-desc {
  font-size: 0.88rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* ─── Pricing ─────────────────────────────────────────────── */
.pricing {
  padding: 6rem 2rem;
  background: var(--surface);
}
.pricing-inner { max-width: 900px; margin: 0 auto; }
.pricing-eyebrow {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
  text-align: center;
  margin-bottom: 0.75rem;
}
.pricing-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 3rem;
}
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.pricing-card {
  border-radius: 20px;
  padding: 2.5rem;
  border: 1.5px solid var(--border);
  background: var(--bg);
  display: flex;
  flex-direction: column;
}
.pricing-card--pro {
  background: var(--fg);
  border-color: var(--fg);
  color: #fff;
}
.pricing-card-top { flex: 1; margin-bottom: 2rem; }
.pricing-plan-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: inherit;
}
.pricing-price { display: flex; align-items: baseline; gap: 0.2rem; margin-bottom: 0.6rem; }
.price-num { font-family: var(--font-display); font-size: 2.5rem; font-weight: 600; color: var(--accent); }
.pricing-card--pro .price-num { color: #fff; }
.price-period { font-size: 0.85rem; color: var(--fg-muted); }
.pricing-card--pro .price-period { color: rgba(255,255,255,0.6); }
.pricing-desc { font-size: 0.85rem; color: var(--fg-muted); line-height: 1.5; }
.pricing-card--pro .pricing-desc { color: rgba(255,255,255,0.6); }
.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 2rem;
  flex: 1;
}
.pricing-features li {
  font-size: 0.85rem;
  color: var(--fg-muted);
  padding-left: 1.5rem;
  position: relative;
}
.pricing-card--pro .pricing-features li { color: rgba(255,255,255,0.7); }
.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.8rem;
}
.pricing-card--pro .pricing-features li::before { color: #5ECC8A; }
.pricing-btn {
  display: block;
  text-align: center;
  padding: 0.9rem 1.5rem;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  transition: opacity 0.2s;
}
.pricing-btn:hover { opacity: 0.85; }
.pricing-btn--free {
  background: var(--surface);
  color: var(--fg);
  border: 1.5px solid var(--border);
}
.pricing-btn--pro {
  background: var(--accent);
  color: #fff;
}

/* ─── Closing ─────────────────────────────────────────────── */
.closing {
  padding: 7rem 2rem;
  background: var(--accent);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.closing-bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 10rem);
  font-weight: 700;
  color: rgba(255,255,255,0.07);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.03em;
}
.closing-inner { position: relative; z-index: 1; }
.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.closing-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 2.5rem;
}
.closing-badge {
  height: 36px;
  width: auto;
  border-radius: 6px;
}

/* ─── Footer ──────────────────────────────────────────────── */
.footer {
  padding: 2rem;
  border-top: 1px solid var(--border);
  background: var(--surface);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--fg);
}
.footer-tagline {
  font-size: 0.78rem;
  color: var(--fg-muted);
  margin-left: 0.5rem;
}
.footer-brand { display: flex; align-items: baseline; }
.footer-links {
  display: flex;
  gap: 1.5rem;
}
.footer-links a {
  font-size: 0.8rem;
  color: var(--fg-muted);
  text-decoration: none;
}
.footer-links a:hover { color: var(--fg); }
.footer-legal {
  font-size: 0.72rem;
  color: var(--fg-muted);
  width: 100%;
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  margin-top: 0.5rem;
}

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 768px) {
  .hero-content { grid-template-columns: 1fr; gap: 2.5rem; padding-top: 6rem; }
  .hero-image-wrap { order: -1; }
  .hero-badge-float { bottom: -1rem; right: 0; }
  .features-grid { grid-template-columns: 1fr; }
  .ea-inner { grid-template-columns: 1fr; gap: 3rem; }
  .mech-grid { grid-template-columns: 1fr; gap: 2rem; }
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-links { flex-wrap: wrap; }
}
@media (max-width: 480px) {
  .hero { padding: 5rem 1.5rem 4rem; }
  .features, .mechanics, .pricing { padding: 4rem 1.5rem; }
  .elevate-age { padding: 5rem 1.5rem; }
  .closing { padding: 5rem 1.5rem; }
}