/* ============================================================
   FitNest – Premium Marketing Site Styles
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* ── Custom Properties ─────────────────────────────────────── */
:root {
  --bg-base:        #060810;
  --bg-card:        rgba(255,255,255,0.04);
  --bg-card-hover:  rgba(255,255,255,0.07);
  --border:         rgba(255,255,255,0.08);
  --border-hover:   rgba(255,255,255,0.16);

  --cyan:   #00D4FF;
  --emerald:#10B981;
  --violet: #10efb0;
  --amber:  #F59E0B;
  --red:    #EF4444;

  --text-primary:   #ffffff;
  --text-secondary: rgba(255,255,255,0.78);
  --text-muted:     rgba(255,255,255,0.52);

  --radius-sm:  8px;
  --radius-md:  14px;
  --radius-lg:  20px;
  --radius-xl:  28px;
  --radius-2xl: 40px;

  --shadow-glow-cyan:   0 0 40px rgba(0,212,255,0.2);
  --shadow-glow-violet: 0 0 40px rgba(16,239,176,0.18);
  --shadow-glow-emerald:0 0 40px rgba(16,185,129,0.2);

  --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);

  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --section-gap: 120px;
  --container:   1200px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: clip;
  width: 100%;
  max-width: 100%;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: clip;
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overscroll-behavior-x: none;
  touch-action: manipulation;
}

@media (max-width: 1024px) {
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="image"]):not([type="file"]),
  textarea,
  select {
    font-size: 16px !important;
    max-width: 100%;
  }
}

/* Global gradient background — takes colour cues from the download CTA */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 55% at 8% 0%,   rgba(0,212,255,0.07)   0%, transparent 60%),
    radial-gradient(ellipse 60% 65% at 92% 25%,  rgba(16,239,176,0.06)  0%, transparent 60%),
    radial-gradient(ellipse 70% 50% at 50% 105%, rgba(16,185,129,0.06)  0%, transparent 60%),
    radial-gradient(ellipse 55% 55% at 15% 70%,  rgba(0,212,255,0.04)   0%, transparent 55%),
    radial-gradient(ellipse 65% 45% at 80% 80%,  rgba(16,239,176,0.03)  0%, transparent 55%);
  pointer-events: none;
  z-index: 0;
}

body > * { position: relative; z-index: 1; }

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: var(--font); cursor: pointer; border: none; background: none; }
img { max-width: 100%; display: block; }

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

/* ── Keyframe Animations ────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(-1deg); }
  50%       { transform: translateY(-18px) rotate(1deg); }
}

@keyframes floatCenter {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-16px); }
}

@keyframes floatLeft {
  0%, 100% { transform: rotate(-9deg) translateY(36px); }
  50%       { transform: rotate(-9deg) translateY(20px); }
}

@keyframes floatRight {
  0%, 100% { transform: rotate(9deg) translateY(36px); }
  50%       { transform: rotate(9deg) translateY(22px); }
}

@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.7; transform: scale(1.05); }
}

@keyframes glow {
  0%, 100% { box-shadow: 0 0 20px rgba(0,212,255,0.3); }
  50%       { box-shadow: 0 0 50px rgba(0,212,255,0.7), 0 0 80px rgba(0,212,255,0.3); }
}

@keyframes orbFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(60px, -40px) scale(1.1); }
  66%       { transform: translate(-40px, 30px) scale(0.95); }
}

@keyframes orbFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(-50px, 50px) scale(1.05); }
  66%       { transform: translate(40px, -30px) scale(1.1); }
}

@keyframes orbFloat3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%       { transform: translate(30px, 40px) scale(1.08); }
}

@keyframes spinRing {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes countUp {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes barGrow {
  from { height: 0; opacity: 0; }
  to   { opacity: 1; }
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  14%       { transform: scale(1.15); }
  28%       { transform: scale(1); }
  42%       { transform: scale(1.1); }
  70%       { transform: scale(1); }
}

@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ── Scroll Reveal ──────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1),
              transform 0.7s cubic-bezier(0.4,0,0.2,1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1),
              transform 0.7s cubic-bezier(0.4,0,0.2,1);
}
.reveal-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1),
              transform 0.7s cubic-bezier(0.4,0,0.2,1);
}
.reveal-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* ── Typography Helpers ─────────────────────────────────────── */
.label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
}
.label::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background: var(--cyan);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.section-sub {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.7;
}

/* gradient text */
.grad {
  background: linear-gradient(135deg, var(--cyan) 0%, var(--violet) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.grad-emerald {
  background: linear-gradient(135deg, var(--emerald) 0%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.grad-amber {
  background: linear-gradient(135deg, var(--amber) 0%, #f97316 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Glassmorphism Card ─────────────────────────────────────── */
.glass {
  background: var(--bg-card);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.glass:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  transition: var(--transition-base);
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--cyan), #0099bb);
  color: #000;
  box-shadow: 0 8px 32px rgba(0,212,255,0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0,212,255,0.5);
}

.btn-white {
  background: #ffffff;
  color: #000000;
  font-weight: 700;
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255,255,255,0.2);
}

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  background: var(--bg-card);
  border-color: var(--border-hover);
}

.app-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  background: #fff;
  color: #000;
  border-radius: 14px;
  font-weight: 700;
  font-size: 15px;
  transition: var(--transition-base);
  box-shadow: 0 4px 20px rgba(255,255,255,0.15);
}
.app-store-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(255,255,255,0.25);
}
.app-store-btn .store-icon {
  font-size: 24px;
  line-height: 1;
}
.app-store-btn .store-text-top {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1;
  opacity: 0.7;
}
.app-store-btn .store-text-bottom {
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}
.app-store-btn .store-text {
  display: flex;
  flex-direction: column;
}

/* ╔══════════════════════════════════════════════════════════╗
   ║  1. NAVIGATION                                           ║
   ╚══════════════════════════════════════════════════════════╝ */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition-base);
}
#navbar.scrolled {
  background: rgba(8,8,10,0.85);
  backdrop-filter: blur(24px) saturate(200%);
  -webkit-backdrop-filter: blur(24px) saturate(200%);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.nav-logo-img {
  height: 36px;
  width: auto;
  max-width: min(230px, 46vw);
  object-fit: contain;
  display: block;
}
/* Legacy placeholder (if any page still uses .logo-mark) */
.nav-logo .logo-mark {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #fff;
  font-weight: 900;
  box-shadow: 0 4px 16px rgba(0,212,255,0.4);
}
.nav-logo .logo-star {
  color: var(--cyan);
  font-style: normal;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 8px;
  transition: var(--transition-base);
}
.nav-links a:hover {
  color: var(--text-primary);
  background: var(--bg-card);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-signin {
  display: flex;
  align-items: center;
  padding: 9px 18px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  transition: var(--transition-base);
}
.nav-signin:hover {
  border-color: rgba(0,212,255,0.5);
  color: #00d4ff;
  background: rgba(0,212,255,0.06);
  text-decoration: none;
}

.nav-download {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: #ffffff;
  color: #000;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 700;
  transition: var(--transition-base);
}
.nav-download:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(255,255,255,0.2);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  background: none;
  border: none;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition-base);
}

/* Mobile-only nav items (hidden on desktop, shown in slide-down menu) */
.nav-mobile-divider { display: none; }
.nav-mobile-signin  { display: none; }
.nav-mobile-download { display: none; }

/* ╔══════════════════════════════════════════════════════════╗
   ║  2. HERO                                                 ║
   ╚══════════════════════════════════════════════════════════╝ */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
}
.orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,212,255,0.5), transparent 70%);
  top: -200px;
  right: -100px;
  animation: orbFloat1 12s ease-in-out infinite;
}
.orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(16,239,176,0.3), transparent 70%);
  bottom: -150px;
  left: -100px;
  animation: orbFloat2 15s ease-in-out infinite;
}
.orb-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(16,185,129,0.3), transparent 70%);
  top: 40%;
  left: 40%;
  animation: orbFloat3 10s ease-in-out infinite;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content { max-width: 560px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(0,212,255,0.1);
  border: 1px solid rgba(0,212,255,0.2);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--cyan);
  margin-bottom: 28px;
  animation: fadeInUp 0.6s ease both;
}
.hero-badge .badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  animation: pulse 2s ease infinite;
}

.hero-title {
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
  animation: fadeInUp 0.6s 0.1s ease both;
}

.hero-sub {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 40px;
  animation: fadeInUp 0.6s 0.2s ease both;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.6s 0.3s ease both;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  animation: fadeInUp 0.6s 0.4s ease both;
}
.hero-trust-item {
  text-align: center;
  min-width: 96px; /* prevent layout shift during counter animation */
}
.hero-trust-item .trust-num {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
  display: block;
  min-height: 1.2em;
}
.hero-trust-item .trust-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}
.trust-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* ── iPhone Mockup ──────────────────────────────────────────── */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.hero-phones {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
}

.iphone-side {
  width: 200px !important;
  height: 420px !important;
  border-radius: 38px !important;
  opacity: 0.82;
  flex-shrink: 0;
}
.iphone-side .iphone-screen {
  border-radius: 32px !important;
}
.phone-left {
  z-index: 1;
  margin-right: -32px;
  margin-bottom: 60px;
  animation: floatLeft 7s ease-in-out infinite;
  animation-delay: -2.2s;
  will-change: transform;
}
.phone-right {
  z-index: 1;
  margin-left: -32px;
  will-change: transform;
  animation: floatRight 6s ease-in-out infinite;
  animation-delay: -4.1s;
}
.phone-center {
  z-index: 2;
  position: relative;
  will-change: transform;
  animation: floatCenter 5s ease-in-out infinite;
  animation-delay: -1s;
}

/* ── Home phone mockup (hn-) ───────────────────────────── */
.hn-screen { background: #0C1828 !important; }

/* Scale workout content down when on left side phone */
.workout-phone .app-screen { zoom: 0.68; }

/* ── Center home phone — full-size accurate layout ── */
.phone-center .hn-status { padding: 12px 22px 6px; }
.phone-center .hn-time { font-size: 16px; letter-spacing: -0.5px; }
.phone-center .hn-battery { font-size: 9px; padding: 2px 5px; }
.phone-center .hn-body { padding: 6px 20px 0; overflow: hidden; }

/* Nav */
.phone-center .hn-nav { margin-bottom: 12px; }
.phone-center .hn-nav-ic {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.12);
}
.phone-center .hn-logo { font-size: 20px; }
.phone-center .hn-coach {
  font-size: 11px; padding: 5px 12px;
  border: 1.5px solid rgba(0,212,255,0.5);
  box-shadow: 0 0 10px rgba(0,212,255,0.15);
}

/* Greeting */
.hn-greeting { display: flex; flex-direction: column; }
.phone-center .hn-gm { font-size: 11px; letter-spacing: 0.1em; margin-bottom: 2px; }
.phone-center .hn-name { font-size: 42px; margin-bottom: 3px; }
.phone-center .hn-sub { font-size: 14px; margin-bottom: 12px; }

/* Program banner */
.phone-center .hn-program {
  padding: 14px 16px; margin-bottom: 0;
  border-radius: 14px; gap: 12px;
}
.phone-center .hn-prog-name { font-size: 12px; letter-spacing: 0.04em; }
.phone-center .hn-prog-week { font-size: 11px; margin-top: 3px; }

/* Divider */
.hn-divider {
  height: 1px;
  background: rgba(255,255,255,0.08);
  margin: 10px 0 10px;
}

/* AI Shortcuts */
.hn-ai-label {
  font-size: 10px; font-weight: 700;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.hn-shortcuts { display: flex; gap: 6px; margin-bottom: 10px; overflow: hidden; }
.hn-pill {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 20px;
  font-size: 10px; font-weight: 600;
  color: rgba(255,255,255,0.85);
  padding: 5px 10px;
  white-space: nowrap;
}

/* Next Up */
.phone-center .hn-nextup {
  padding: 14px 16px; margin-bottom: 10px;
  border-radius: 14px; gap: 12px;
  align-items: center;
}
.phone-center .hn-nextup-lbl { font-size: 11px; margin-bottom: 3px; }
.phone-center .hn-nextup-name { font-size: 24px; }
.phone-center .hn-nextup-meta { font-size: 11px; margin-top: 3px; margin-bottom: 8px; }
.phone-center .hn-progress { height: 3px; width: 50%; }
.phone-center .hn-nextup-img {
  width: 58px; height: 58px; border-radius: 13px;
  background: linear-gradient(135deg, #1a3a6a, #0d2245);
  flex-shrink: 0;
}

/* Stats */
.phone-center .hn-stats { gap: 8px; margin-bottom: 14px; }
.phone-center .hn-stat-card {
  border-radius: 14px;
  padding: 12px 12px 10px;
  min-height: 80px;
}
.phone-center .hn-stat-val { font-size: 32px; }
.phone-center .hn-stat-lbl { font-size: 12px; margin-top: 2px; }
.phone-center .hn-stat-sub { font-size: 11px; }
.phone-center .hn-stat-em { font-size: 26px; bottom: 6px; right: 6px; }
.phone-center .hn-stat-ring { padding: 8px 4px; }

/* Recommended */
.hn-rec-label {
  font-size: 16px; font-weight: 800;
  color: #fff; letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.hn-rec-card {
  background: rgba(30,60,100,0.5);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 14px 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
}
.hn-rec-heart { font-size: 20px; flex-shrink: 0; margin-top: 2px; }
.hn-rec-body { flex: 1; }
.hn-rec-title {
  font-size: 13px; font-weight: 700;
  color: #fff; line-height: 1.3;
  margin-bottom: 5px;
}
.hn-rec-sub {
  font-size: 11px; color: rgba(255,255,255,0.5);
  line-height: 1.4;
}
.hn-rec-arrow {
  font-size: 18px; color: rgba(255,255,255,0.3);
  flex-shrink: 0; margin-top: 2px;
}

/* Tab bar */
.phone-center .hn-tabs {
  display: flex;
  justify-content: space-around;
  align-items: center;
  background: rgba(15,25,45,0.97);
  border-radius: 22px;
  padding: 8px 6px 10px;
  margin: 0 -20px 0;
  border-top: 1px solid rgba(255,255,255,0.07);
  flex-shrink: 0;
}
.phone-center .hn-tab {
  display: flex; flex-direction: column;
  align-items: center; gap: 3px;
  font-size: 10px; font-weight: 600;
  color: rgba(255,255,255,0.45);
  padding: 2px 8px; border-radius: 10px;
}
.phone-center .hn-tab-active { color: #3DC4B8; background: transparent; }
.hn-tab-home-bg {
  width: 34px; height: 30px;
  background: rgba(61,196,184,0.15);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}

/* Status bar — sits beside the DI on the same row */
.hn-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px 3px;
  color: #fff;
}
.hn-time { font-size: 10px; font-weight: 800; letter-spacing: -0.3px; }
.hn-status-icons { display: flex; align-items: center; gap: 4px; }
.hn-battery {
  background: #4ade80;
  color: #000;
  font-size: 6px;
  font-weight: 800;
  border-radius: 3px;
  padding: 1px 3px;
  line-height: 1.5;
}

/* Body */
.hn-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 6px 13px 0;
  min-height: 0;
}

/* Nav bar */
.hn-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.hn-nav-ic {
  width: 24px; height: 24px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.hn-logo { font-size: 13px; font-weight: 800; color: #fff; letter-spacing: -0.3px; }
.hn-logo span { color: #00D4FF; }
.hn-coach {
  background: rgba(0,212,255,0.12);
  border: 1px solid rgba(0,212,255,0.35);
  border-radius: 20px;
  color: #00D4FF;
  font-size: 7.5px; font-weight: 700;
  padding: 3px 7px;
}

/* Greeting */
.hn-gm {
  font-size: 7px; font-weight: 600;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.1em;
  margin-bottom: 1px;
}
.hn-name {
  font-size: 26px; font-weight: 900;
  color: #fff; letter-spacing: -0.03em; line-height: 1;
  margin-bottom: 3px;
}
.hn-sub {
  font-size: 9px; color: rgba(255,255,255,0.45);
  margin-bottom: 12px;
}

/* Program banner */
.hn-program {
  background: linear-gradient(110deg, #3DC4B8, #2BA8BE);
  border-radius: 10px;
  padding: 9px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.hn-prog-name {
  font-size: 8px; font-weight: 800;
  color: rgba(0,0,0,0.8);
  letter-spacing: 0.02em; line-height: 1.3;
}
.hn-prog-week { font-size: 7.5px; color: rgba(0,0,0,0.55); margin-top: 2px; }

/* Next Up card */
.hn-nextup {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 11px;
  padding: 9px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.hn-nextup-body { flex: 1; min-width: 0; }
.hn-nextup-lbl { font-size: 7.5px; color: rgba(255,255,255,0.4); margin-bottom: 3px; }
.hn-nextup-name { font-size: 15px; font-weight: 900; color: #fff; letter-spacing: -0.02em; line-height: 1; }
.hn-nextup-meta { font-size: 7.5px; color: rgba(255,255,255,0.38); margin-top: 3px; }
.hn-nextup-img {
  width: 36px; height: 36px;
  background: rgba(20,60,130,0.6);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* Stats row */
.hn-stats { display: flex; gap: 5px; }
.hn-stat-card {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 11px;
  padding: 8px 8px 7px;
  position: relative; overflow: hidden;
}
.hn-stat-val { font-size: 20px; font-weight: 900; color: #fff; letter-spacing: -0.04em; line-height: 1; }
.hn-stat-lbl { font-size: 7.5px; font-weight: 600; color: rgba(255,255,255,0.45); margin-top: 3px; }
.hn-stat-sub { font-size: 7px; color: rgba(255,255,255,0.35); }
.hn-stat-em { position: absolute; bottom: 4px; right: 5px; font-size: 20px; line-height: 1; }
.hn-stat-ring {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 5px 3px;
}

/* Tab bar */
.hn-tabs {
  display: flex;
  justify-content: space-around;
  align-items: center;
  background: #111E30;
  border-radius: 10px 10px 0 0;
  padding: 6px 2px 7px;
  margin: 8px -13px 0;
  border-top: 1px solid rgba(255,255,255,0.07);
  flex-shrink: 0;
}
.hn-tab {
  display: flex; flex-direction: column;
  align-items: center; gap: 2px;
  font-size: 6.5px; font-weight: 600;
  color: rgba(255,255,255,0.38);
  padding: 2px 5px; border-radius: 6px;
}
.hn-tab-active { color: #00D4FF; background: rgba(0,212,255,0.12); }

/* PT Hub screen styles */
.pt-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.pt-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}
.pt-badge {
  font-size: 10px;
  font-weight: 700;
  color: var(--emerald);
  background: rgba(16,185,129,0.15);
  border-radius: 20px;
  padding: 3px 8px;
}
.pt-client-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 9px 10px;
  margin-bottom: 7px;
}
.pt-client-av {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}
.pt-client-info { flex: 1; min-width: 0; }
.pt-client-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-primary);
}
.pt-client-sub {
  font-size: 10px;
  color: var(--text-muted);
  margin-top: 1px;
}
.pt-client-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.pt-client-dot.green { background: var(--emerald); }
.pt-client-dot.amber { background: var(--amber); }
.pt-client-dot.blue { background: var(--cyan); }
.pt-assign-btn {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  background: linear-gradient(135deg, var(--violet), var(--cyan));
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  border-radius: 10px;
  padding: 10px;
  text-align: center;
}

/* ── Browser / web dashboard mockup ───────────────────── */
.browser-mockup {
  width: 310px;
  height: 420px;
  background: #0E1A2B;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 40px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  opacity: 0.85;
  margin-bottom: 110px;
}
.bm-chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: #0A1220;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  flex-shrink: 0;
}
.bm-dots { display: flex; gap: 4px; }
.bm-dots span { width: 7px; height: 7px; border-radius: 50%; }
.bm-dots span:nth-child(1) { background: #FF5F57; }
.bm-dots span:nth-child(2) { background: #FFBD2E; }
.bm-dots span:nth-child(3) { background: #28CA41; }
.bm-url {
  flex: 1; text-align: center;
  font-size: 9px; color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.05);
  border-radius: 4px; padding: 3px 8px;
}
.bm-layout { display: flex; flex: 1; overflow: hidden; }
.bm-sidebar {
  width: 88px; flex-shrink: 0;
  background: #0A1220;
  border-right: 1px solid rgba(255,255,255,0.07);
  padding: 12px 8px;
  display: flex; flex-direction: column; gap: 2px;
}
.bm-slogo {
  font-size: 11px; font-weight: 800; color: #fff;
  padding: 0 4px; margin-bottom: 10px; letter-spacing: -0.3px;
}
.bm-slogo span { color: #00D4FF; }
.bm-nav-item {
  display: flex; align-items: center; gap: 5px;
  font-size: 8.5px; font-weight: 500;
  color: rgba(255,255,255,0.4);
  padding: 5px 6px; border-radius: 6px;
}
.bm-nav-active { background: rgba(0,212,255,0.12); color: #00D4FF; font-weight: 600; }
.bm-main { flex: 1; padding: 12px; overflow: hidden; display: flex; flex-direction: column; }
.bm-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.bm-title { font-size: 13px; font-weight: 800; color: #fff; }
.bm-badge {
  background: rgba(0,212,255,0.15);
  border: 1px solid rgba(0,212,255,0.3);
  border-radius: 20px;
  color: #00D4FF; font-size: 7.5px; font-weight: 700;
  padding: 2px 7px;
}
.bm-stats { display: flex; gap: 6px; margin-bottom: 11px; }
.bm-stat {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px; padding: 7px;
}
.bm-stat-val { font-size: 15px; font-weight: 900; color: #fff; letter-spacing: -0.03em; }
.bm-stat-lbl { font-size: 7px; color: rgba(255,255,255,0.4); margin-top: 2px; }
.bm-section-label {
  font-size: 7px; font-weight: 700;
  color: rgba(255,255,255,0.3); letter-spacing: 0.08em;
  margin-bottom: 6px;
}
.bm-clients { display: flex; flex-direction: column; gap: 4px; }
.bm-client {
  display: flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 8px; padding: 6px 8px;
}
.bm-av {
  width: 24px; height: 24px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 8px; font-weight: 800; color: #fff; flex-shrink: 0;
}
.bm-cinfo { flex: 1; min-width: 0; }
.bm-cname { font-size: 9px; font-weight: 700; color: #fff; }
.bm-csub { font-size: 7.5px; color: rgba(255,255,255,0.4); margin-top: 1px; }
.bm-chip {
  font-size: 7px; font-weight: 700;
  border-radius: 4px; padding: 2px 5px; flex-shrink: 0;
}
.bm-chip.green { background: rgba(16,185,129,0.15); color: #10B981; }
.bm-chip.amber { background: rgba(245,158,11,0.15); color: #F59E0B; }
.bm-chip.cyan  { background: rgba(0,212,255,0.15);  color: #00D4FF; }
.bm-log { display: flex; flex-direction: column; gap: 3px; }
.bm-log-row {
  display: flex; align-items: center;
  font-size: 8px; padding: 4px 8px;
  background: rgba(255,255,255,0.03);
  border-radius: 6px; gap: 6px;
}
.bm-log-ex { flex: 1; color: rgba(255,255,255,0.7); font-weight: 500; }
.bm-log-sets { color: rgba(255,255,255,0.4); }
.bm-log-wt { color: #00D4FF; font-weight: 700; min-width: 36px; text-align: right; }

.iphone {
  width: 300px;
  height: 620px;
  background: linear-gradient(145deg, #1a1a1f, #0d0d10);
  border-radius: 50px;
  border: 2px solid rgba(255,255,255,0.15);
  position: relative;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.05),
    0 40px 80px rgba(0,0,0,0.6),
    0 0 60px rgba(0,212,255,0.15),
    inset 0 1px 0 rgba(255,255,255,0.1);
  overflow: hidden;
}

.iphone-buttons {
  position: absolute;
  left: -3px;
  top: 100px;
}
.iphone-btn-vol {
  width: 3px;
  height: 30px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px 0 0 2px;
  margin-bottom: 10px;
}
.iphone-btn-power {
  position: absolute;
  right: -3px;
  top: 130px;
  width: 3px;
  height: 50px;
  background: rgba(255,255,255,0.1);
  border-radius: 0 2px 2px 0;
}

.iphone-screen {
  position: absolute;
  inset: 6px;
  background: #0a0a0f;
  border-radius: 44px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Dynamic Island */
.dynamic-island {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 34px;
  background: #000;
  border-radius: 20px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.di-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
}
.di-dot.green { background: var(--emerald); animation: pulse 2s ease infinite; }

/* Status bar */
.iphone-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px 6px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  position: relative;
  z-index: 5;
  margin-top: 36px;
}
.status-time { font-weight: 700; font-size: 13px; }
.status-icons { display: flex; align-items: center; gap: 5px; font-size: 11px; }

/* App content */
.app-screen {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 12px 16px 16px;
  overflow: hidden;
  position: relative;
}

.app-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
}
.workout-title {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.2;
}
.workout-subtitle {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  margin-top: 2px;
}

.hr-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  background: rgba(239,68,68,0.2);
  border: 1px solid rgba(239,68,68,0.3);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  color: #EF4444;
}
.hr-icon {
  font-size: 11px;
  animation: heartbeat 1.2s ease infinite;
}

.exercise-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 10px;
}
.exercise-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--cyan);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.sets-grid {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.set-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 6px;
  color: rgba(255,255,255,0.5);
}
.set-row.active {
  background: rgba(0,212,255,0.12);
  color: #fff;
  font-weight: 600;
}
.set-row.done {
  color: rgba(16,185,129,0.8);
}
.set-num {
  width: 18px;
  font-weight: 700;
  font-size: 10px;
  opacity: 0.7;
}
.set-check { color: var(--emerald); font-size: 10px; }
.set-weight { margin-left: auto; font-weight: 700; }

.volume-bar {
  height: 3px;
  background: rgba(255,255,255,0.08);
  border-radius: 3px;
  margin: 10px 0;
  overflow: hidden;
}
.volume-fill {
  height: 100%;
  width: 65%;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  border-radius: 3px;
}

.coach-bubble {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  background: rgba(0,212,255,0.10);
  border: 1px solid rgba(0,212,255,0.25);
  border-radius: 14px;
  padding: 10px 12px;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.coach-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), #008faf);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}
.coach-msg {
  font-size: 10.5px;
  color: rgba(255,255,255,0.85);
  line-height: 1.45;
}
.coach-msg strong {
  color: var(--cyan);
  font-weight: 700;
  display: block;
  font-size: 10px;
  margin-bottom: 2px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ╔══════════════════════════════════════════════════════════╗
   ║  3. SOCIAL PROOF MARQUEE                                 ║
   ╚══════════════════════════════════════════════════════════╝ */
#social-proof {
  padding: 24px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  position: relative;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: ticker 28s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }

.marquee-set {
  display: flex;
  align-items: center;
  gap: 0;
}

.stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
  border-right: 1px solid var(--border);
  transition: color 0.2s;
}
.stat-pill:hover { color: var(--text-primary); }
.stat-pill .pill-icon { font-size: 16px; }
.stat-pill .pill-num { color: var(--cyan); font-weight: 700; }

/* ╔══════════════════════════════════════════════════════════╗
   ║  4. FEATURES (TABBED)                                    ║
   ╚══════════════════════════════════════════════════════════╝ */
#features {
  padding: var(--section-gap) 0;
}

.features-header {
  text-align: center;
  margin-bottom: 60px;
}
.features-header .section-sub { margin: 0 auto; }

/* ── Features nav ───────────────────────────────────────────── */
.features-nav-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-bottom: 36px;
}

.tabs-nav {
  display: flex;
  justify-content: center;
  gap: 4px;
  flex-wrap: wrap;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px;
  max-width: 780px;
}
.tabs-nav::-webkit-scrollbar { display: none; }

.scroll-hint {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  opacity: 0.7;
}


.tabs-carousel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  margin: 0 auto 28px;
  max-width: 860px;
}

.tabs-arrow {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-primary);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: var(--transition-base);
  flex-shrink: 0;
}
.tabs-arrow:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-1px);
}
.tabs-arrow:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.tab-btn {
  padding: 10px 20px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: var(--transition-base);
  cursor: pointer;
  background: transparent;
  border: none;
  font-family: var(--font);
  white-space: nowrap;
  flex-shrink: 0;
}
.tab-btn.active {
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  color: #fff;
  box-shadow: 0 4px 20px rgba(0,212,255,0.25);
}
.tab-btn:not(.active):hover { color: var(--text-primary); }

/* ── Tab panels ──────────────────────────────────────────────── */
.features-track {
  border-radius: var(--radius-xl);
}

.tab-panel {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 8px 4px 48px;
}
.tab-panel.active {
  display: grid;
}

.tab-content {}
.tab-content .tab-title {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  line-height: 1.15;
}
.tab-content .tab-desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 28px;
}
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text-secondary);
}
.feature-item .fi-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(0,212,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 1px;
}
.feature-item .fi-text strong { color: var(--text-primary); display: block; font-weight: 600; font-size: 14px; }
.feature-item .fi-text span { font-size: 13px; }

.tab-visual {
  position: relative;
}

.feature-mock {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px;
  position: relative;
  overflow: hidden;
}
.feature-mock::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

/* Workout mock */
.workout-mock-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.workout-mock-title { font-size: 18px; font-weight: 800; }
.workout-timer {
  font-size: 13px;
  font-weight: 700;
  color: var(--cyan);
  padding: 5px 12px;
  background: rgba(0,212,255,0.1);
  border-radius: 100px;
}

.exercise-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  margin-bottom: 10px;
  transition: var(--transition-base);
}
.exercise-row:hover { border-color: var(--border-hover); background: rgba(255,255,255,0.07); }
.exercise-row.pr-row { border-color: rgba(245,158,11,0.3); }

.ex-name { font-size: 14px; font-weight: 600; }
.ex-meta { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.ex-right { text-align: right; }
.ex-weight { font-size: 16px; font-weight: 800; color: var(--cyan); }
.ex-sets { font-size: 11px; color: var(--text-muted); }
.pr-badge {
  display: inline-block;
  padding: 2px 8px;
  background: rgba(245,158,11,0.15);
  border: 1px solid rgba(245,158,11,0.3);
  border-radius: 100px;
  font-size: 10px;
  font-weight: 700;
  color: var(--amber);
  margin-top: 3px;
}

/* Coaching mock */
.coach-mock-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.coach-mock-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 900;
  color: #fff;
  flex-shrink: 0;
}
.coach-mock-info { flex: 1; }
.coach-mock-name { font-size: 16px; font-weight: 700; }
.coach-mock-role { font-size: 12px; color: var(--text-muted); }
.coach-mock-status {
  font-size: 11px;
  font-weight: 600;
  color: var(--emerald);
  background: rgba(16,185,129,0.1);
  padding: 4px 10px;
  border-radius: 100px;
}

.chat-messages { display: flex; flex-direction: column; gap: 10px; }
.chat-msg {
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.55;
}
.chat-msg.ai {
  background: rgba(16,239,176,0.10);
  border: 1px solid rgba(0,212,255,0.18);
  color: rgba(255,255,255,0.85);
  border-radius: 4px 12px 12px 12px;
}
.chat-msg.user {
  background: rgba(0,212,255,0.1);
  border: 1px solid rgba(0,212,255,0.2);
  color: rgba(255,255,255,0.85);
  align-self: flex-end;
  border-radius: 12px 4px 12px 12px;
  max-width: 80%;
}

/* Recovery mock */
.recovery-ring-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}
.recovery-ring-outer {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: conic-gradient(var(--emerald) 0% 78%, rgba(255,255,255,0.1) 78% 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: pulse 3s ease infinite;
}
.recovery-ring-inner {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #0a0a0f;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.recovery-pct { font-size: 32px; font-weight: 900; color: var(--emerald); }
.recovery-label { font-size: 11px; color: var(--text-muted); font-weight: 600; }

.recovery-stats-row {
  display: flex;
  gap: 12px;
}
.rec-stat {
  flex: 1;
  padding: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  text-align: center;
}
.rec-stat-val { font-size: 20px; font-weight: 800; color: var(--text-primary); }
.rec-stat-lbl { font-size: 11px; color: var(--text-muted); margin-top: 3px; }

/* Progress mock */
.mini-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 100px;
  padding: 0 0 8px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
}
.mini-bar {
  flex: 1;
  border-radius: 4px 4px 0 0;
  transition: height 0.6s cubic-bezier(0.34,1.56,0.64,1);
}

.pr-mini-list { display: flex; flex-direction: column; gap: 8px; }
.pr-mini-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
}
.pr-mini-lift { color: var(--text-secondary); }
.pr-mini-weight { font-weight: 700; color: var(--amber); }

/* Gamification mock */
.xp-section { margin-bottom: 16px; }
.level-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.level-badge-mock {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
}
.level-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--amber), #f97316);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 900;
  color: #000;
}
.xp-bar-track {
  height: 8px;
  background: rgba(255,255,255,0.06);
  border-radius: 4px;
  overflow: hidden;
}
.xp-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--amber), #f97316);
  border-radius: 4px;
  width: 62%;
  position: relative;
}
.xp-label {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 5px;
}

.badges-mini {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.badge-mini {
  aspect-ratio: 1;
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  gap: 2px;
  transition: var(--transition-base);
}
.badge-mini:hover { border-color: var(--amber); background: rgba(245,158,11,0.08); }
.badge-mini .bm-label { font-size: 8px; color: var(--text-muted); font-weight: 600; }


/* Social platform tags */
.social-platform-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 0 auto 32px;
  max-width: 820px;
}
.spt {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  color: var(--text-secondary);
}

/* Social mock */
.social-feed { display: flex; flex-direction: column; gap: 12px; }
.feed-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
}
.feed-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  font-weight: 700;
}
.feed-content {}
.feed-user { font-size: 13px; font-weight: 700; }
.feed-text { font-size: 12px; color: var(--text-secondary); margin-top: 3px; line-height: 1.4; }
.feed-meta { font-size: 11px; color: var(--text-muted); margin-top: 6px; }
.feed-likes { color: var(--red); }
.challenge-banner {
  padding: 12px 16px;
  background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.22);
  border-radius: var(--radius-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
}
.challenge-info .ch-title { font-size: 14px; font-weight: 700; }
.challenge-info .ch-sub { font-size: 11px; color: var(--text-muted); margin-top: 2px; }
.challenge-rank {
  text-align: right;
}
.challenge-rank .rank-num { font-size: 20px; font-weight: 900; color: var(--violet); }
.challenge-rank .rank-lbl { font-size: 10px; color: var(--text-muted); }

/* ╔══════════════════════════════════════════════════════════╗
   ║  5. AI COACHES                                           ║
   ╚══════════════════════════════════════════════════════════╝ */
#coaches {
  padding: var(--section-gap) 0;
  position: relative;
  overflow: hidden;
}
#coaches::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(16,239,176,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.coaches-header {
  text-align: center;
  margin-bottom: 60px;
}

.coaches-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.coach-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px 22px;
  transition: var(--transition-base);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
}
.coach-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  transition: opacity 0.3s;
  opacity: 0;
}
.coach-card:hover::before { opacity: 1; }
.coach-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.coach-card[data-color="cyan"]::before { background: linear-gradient(90deg, var(--cyan), transparent); }
.coach-card[data-color="violet"]::before { background: linear-gradient(90deg, var(--violet), transparent); }
.coach-card[data-color="emerald"]::before { background: linear-gradient(90deg, var(--emerald), transparent); }
.coach-card[data-color="amber"]::before { background: linear-gradient(90deg, var(--amber), transparent); }
.coach-card[data-color="red"]::before { background: linear-gradient(90deg, var(--red), transparent); }
.coach-card[data-color="blue"]::before { background: linear-gradient(90deg, #3b82f6, transparent); }
.coach-card[data-color="orange"]::before { background: linear-gradient(90deg, #f97316, transparent); }

.coach-avatar-wrap {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 16px;
  position: relative;
}
.coach-card[data-color="cyan"] .coach-avatar-wrap { background: rgba(0,212,255,0.12); box-shadow: 0 0 20px rgba(0,212,255,0.15); }
.coach-card[data-color="violet"] .coach-avatar-wrap { background: rgba(16,239,176,0.10); box-shadow: 0 0 20px rgba(16,239,176,0.12); }
.coach-card[data-color="emerald"] .coach-avatar-wrap { background: rgba(16,185,129,0.12); box-shadow: 0 0 20px rgba(16,185,129,0.15); }
.coach-card[data-color="amber"] .coach-avatar-wrap { background: rgba(245,158,11,0.12); box-shadow: 0 0 20px rgba(245,158,11,0.15); }
.coach-card[data-color="red"] .coach-avatar-wrap { background: rgba(239,68,68,0.12); box-shadow: 0 0 20px rgba(239,68,68,0.15); }
.coach-card[data-color="blue"] .coach-avatar-wrap { background: rgba(59,130,246,0.12); box-shadow: 0 0 20px rgba(59,130,246,0.15); }
.coach-card[data-color="orange"] .coach-avatar-wrap { background: rgba(249,115,22,0.12); box-shadow: 0 0 20px rgba(249,115,22,0.15); }

.coach-name {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.coach-specialty {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.coach-card[data-color="cyan"] .coach-specialty { color: var(--cyan); }
.coach-card[data-color="violet"] .coach-specialty { color: var(--violet); }
.coach-card[data-color="emerald"] .coach-specialty { color: var(--emerald); }
.coach-card[data-color="amber"] .coach-specialty { color: var(--amber); }
.coach-card[data-color="red"] .coach-specialty { color: var(--red); }
.coach-card[data-color="blue"] .coach-specialty { color: #3b82f6; }
.coach-card[data-color="orange"] .coach-specialty { color: #f97316; }

.coach-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.coach-quote {
  font-size: 12px;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.55;
  padding: 10px 12px;
  border-left: 2px solid;
  border-radius: 0 6px 6px 0;
  background: rgba(255,255,255,0.03);
}
.coach-card[data-color="cyan"] .coach-quote { border-color: var(--cyan); }
.coach-card[data-color="violet"] .coach-quote { border-color: var(--violet); }
.coach-card[data-color="emerald"] .coach-quote { border-color: var(--emerald); }
.coach-card[data-color="amber"] .coach-quote { border-color: var(--amber); }
.coach-card[data-color="red"] .coach-quote { border-color: var(--red); }
.coach-card[data-color="blue"] .coach-quote { border-color: #3b82f6; }
.coach-card[data-color="orange"] .coach-quote { border-color: #f97316; }

/* 7th coach spans 2 columns on last row */
@media (min-width: 1025px) {
  .coach-card:last-child {
    grid-column: span 1;
  }
}

/* ╔══════════════════════════════════════════════════════════╗
   ║  6. RECOVERY & INTEGRATIONS                              ║
   ╚══════════════════════════════════════════════════════════╝ */
#recovery {
  padding: var(--section-gap) 0;
  background: linear-gradient(180deg, transparent, rgba(16,185,129,0.03) 50%, transparent);
}

.recovery-header {
  text-align: center;
  margin-bottom: 60px;
}

.integrations-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.integration-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
}
.integration-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  opacity: 0;
  transition: opacity 0.3s;
}
.integration-card:hover::after { opacity: 1; }
.integration-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
}

.int-card-whoop::after { background: linear-gradient(90deg, var(--red), transparent); }
.int-card-health::after { background: linear-gradient(90deg, var(--emerald), transparent); }
.int-card-watch::after { background: linear-gradient(90deg, var(--cyan), transparent); }
.int-card-cloud::after { background: linear-gradient(90deg, var(--violet), transparent); }

.int-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}
.int-logo {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
}
.int-card-whoop .int-logo { background: rgba(239,68,68,0.12); }
.int-card-health .int-logo { background: rgba(16,185,129,0.12); }
.int-card-watch .int-logo { background: rgba(0,212,255,0.12); }
.int-card-cloud .int-logo { background: rgba(16,239,176,0.10); }

.int-title { font-size: 20px; font-weight: 800; margin-bottom: 4px; }
.int-subtitle { font-size: 13px; color: var(--text-muted); }

/* WHOOP specific */
.whoop-metrics {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: center;
}
.whoop-ring-container { position: relative; width: 110px; height: 110px; }
.whoop-ring {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: conic-gradient(var(--emerald) 0% 78%, rgba(255,255,255,0.08) 78% 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse 4s ease infinite;
}
.whoop-ring-inner {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: #0a0a0f;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.whoop-pct { font-size: 26px; font-weight: 900; color: var(--emerald); line-height: 1; }
.whoop-label { font-size: 9px; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.whoop-stats { display: flex; flex-direction: column; gap: 10px; }
.whoop-stat { display: flex; justify-content: space-between; align-items: center; }
.whoop-stat-name { font-size: 13px; color: var(--text-muted); }
.whoop-stat-val { font-size: 15px; font-weight: 700; }

/* Health card */
.health-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.health-metric {
  padding: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.hm-icon { font-size: 20px; margin-bottom: 6px; }
.hm-val { font-size: 18px; font-weight: 800; }
.hm-lbl { font-size: 11px; color: var(--text-muted); }
.hm-change { font-size: 11px; font-weight: 600; margin-top: 3px; }
.hm-change.up { color: var(--emerald); }
.hm-change.down { color: var(--red); }

/* Watch card */
.watch-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.watch-feat {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: var(--transition-base);
}
.watch-feat:hover { border-color: rgba(0,212,255,0.2); }
.wf-icon { font-size: 18px; width: 30px; text-align: center; }
.wf-name { font-size: 14px; font-weight: 600; }
.wf-desc { font-size: 12px; color: var(--text-muted); }

/* Cloud card */
.cloud-features { display: flex; flex-direction: column; gap: 10px; }
.cloud-feat {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text-secondary);
}
.cloud-feat-icon { font-size: 18px; }
.cloud-feat-text strong { color: var(--text-primary); }

/* ╔══════════════════════════════════════════════════════════╗
   ║  7. GAMIFICATION                                         ║
   ╚══════════════════════════════════════════════════════════╝ */
#gamification {
  padding: var(--section-gap) 0;
}

.gamification-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  align-items: start;
}

.game-left {}
.game-left .section-sub { margin-bottom: 36px; }

.player-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px;
  margin-bottom: 20px;
}
.player-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.player-avatar {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}
.player-name { font-size: 18px; font-weight: 800; }
.player-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--amber);
  margin-top: 2px;
}

.level-display {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.level-label { font-size: 13px; color: var(--text-muted); }
.level-current {
  font-size: 14px;
  font-weight: 800;
}
.level-current .lv { color: var(--text-muted); font-weight: 500; font-size: 12px; }

.xp-track {
  height: 10px;
  background: rgba(255,255,255,0.06);
  border-radius: 5px;
  overflow: hidden;
  margin-bottom: 6px;
}
.xp-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--amber), #f97316);
  border-radius: 5px;
  width: 62%;
  position: relative;
}
.xp-fill::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #fff;
  border-radius: 0 5px 5px 0;
  opacity: 0.6;
}
.xp-labels {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-muted);
}

.streak-card {
  background: linear-gradient(135deg, rgba(245,158,11,0.1), rgba(249,115,22,0.05));
  border: 1px solid rgba(245,158,11,0.2);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.streak-left {}
.streak-num {
  font-size: 48px;
  font-weight: 900;
  color: var(--amber);
  line-height: 1;
  letter-spacing: -0.04em;
}
.streak-lbl { font-size: 13px; color: var(--text-muted); font-weight: 500; }
.streak-icon { font-size: 48px; }

/* Achievement Grid */
.achievement-grid-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px;
}
.achievement-grid-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
}

.achievement-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.achievement-tile {
  aspect-ratio: 1;
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px;
  text-align: center;
  transition: var(--transition-spring);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.achievement-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.3s;
  border-radius: 14px;
}
.achievement-tile:hover { transform: translateY(-4px) scale(1.03); border-color: var(--border-hover); }
.achievement-tile:hover::before { opacity: 1; }

.achievement-tile.unlocked { border-color: rgba(245,158,11,0.3); background: rgba(245,158,11,0.06); }
.achievement-tile.unlocked::before { background: rgba(245,158,11,0.03); }
.achievement-tile.locked { opacity: 0.4; filter: grayscale(1); }

.ach-icon { font-size: 28px; line-height: 1; }
.ach-name { font-size: 10px; font-weight: 700; color: var(--text-secondary); line-height: 1.3; }
.ach-unlock {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--amber);
  display: none;
}
.achievement-tile.unlocked .ach-unlock { display: block; }

/* ╔══════════════════════════════════════════════════════════╗
   ║  8. ANALYTICS / PROGRESS                                 ║
   ╚══════════════════════════════════════════════════════════╝ */
#analytics {
  padding: var(--section-gap) 0;
  background: linear-gradient(180deg, transparent, rgba(0,212,255,0.02) 50%, transparent);
}

.analytics-layout {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 48px;
  align-items: start;
  margin-top: 60px;
}

.chart-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
}
.chart-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 32px;
}
.chart-title { font-size: 18px; font-weight: 700; }
.chart-meta { font-size: 13px; color: var(--text-muted); margin-top: 4px; }
.chart-change {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--emerald);
}

.bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 160px;
  border-bottom: 1px solid var(--border);
  border-left: 1px solid var(--border);
  padding: 0 8px 0 8px;
  margin-bottom: 12px;
  position: relative;
}

.chart-grid-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255,255,255,0.04);
}

.bar-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  height: 100%;
  justify-content: flex-end;
}

.bar-fill {
  width: 100%;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, var(--cyan) 0%, rgba(0,212,255,0.4) 100%);
  transition: height 1s cubic-bezier(0.34,1.56,0.64,1);
  height: 0;
  position: relative;
  cursor: pointer;
}
.bar-fill:hover { background: linear-gradient(180deg, #fff 0%, var(--cyan) 100%); }
.bar-fill.highlighted {
  background: linear-gradient(180deg, var(--emerald) 0%, rgba(16,185,129,0.4) 100%);
}
.bar-fill.highlighted:hover { background: linear-gradient(180deg, #fff 0%, var(--emerald) 100%); }

.bar-label {
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
}

.chart-y-labels {
  display: flex;
  justify-content: space-between;
  padding-left: 8px;
  font-size: 11px;
  color: var(--text-muted);
}

.pr-board {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px;
  margin-bottom: 20px;
}
.pr-board-title { font-size: 18px; font-weight: 700; margin-bottom: 20px; }
.pr-list { display: flex; flex-direction: column; gap: 12px; }
.pr-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: var(--transition-base);
}
.pr-item:hover { border-color: rgba(245,158,11,0.2); }
.pr-item-left { display: flex; align-items: center; gap: 10px; }
.pr-rank {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(245,158,11,0.1);
  border: 1px solid rgba(245,158,11,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--amber);
}
.pr-lift { font-size: 14px; font-weight: 600; }
.pr-date { font-size: 11px; color: var(--text-muted); }
.pr-weight-val { font-size: 18px; font-weight: 900; color: var(--amber); }
.pr-weight-unit { font-size: 12px; color: var(--text-muted); }

.plateau-alert {
  background: rgba(245,158,11,0.08);
  border: 1px solid rgba(245,158,11,0.25);
  border-radius: var(--radius-lg);
  padding: 20px;
}
.plateau-header { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.plateau-icon { font-size: 20px; }
.plateau-title { font-size: 15px; font-weight: 700; color: var(--amber); }
.plateau-desc { font-size: 13px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 14px; }
.plateau-suggestion {
  padding: 10px 14px;
  background: rgba(245,158,11,0.08);
  border: 1px solid rgba(245,158,11,0.15);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  color: var(--amber);
}
.plateau-suggestion span { color: var(--text-secondary); font-weight: 400; display: block; font-size: 12px; margin-top: 2px; }

/* ╔══════════════════════════════════════════════════════════╗
   ║  9. TESTIMONIALS                                         ║
   ╚══════════════════════════════════════════════════════════╝ */
#testimonials {
  padding: var(--section-gap) 0;
}

.testimonials-header { text-align: center; margin-bottom: 60px; }

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

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  transition: var(--transition-base);
  position: relative;
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px;
  right: 28px;
  font-size: 80px;
  font-weight: 900;
  color: rgba(255,255,255,0.04);
  line-height: 1;
  font-family: Georgia, serif;
}
.testimonial-card:hover { border-color: var(--border-hover); transform: translateY(-3px); }

.stars {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
  font-size: 14px;
}

.quote-text {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 24px;
  font-style: italic;
}

.reviewer {
  display: flex;
  align-items: center;
  gap: 12px;
}
.reviewer-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.reviewer-name { font-size: 15px; font-weight: 700; }
.reviewer-role { font-size: 13px; color: var(--text-muted); }

/* ╔══════════════════════════════════════════════════════════╗
   ║  10. PRICING                                             ║
   ╚══════════════════════════════════════════════════════════╝ */
#pricing {
  padding: var(--section-gap) 0;
  background: linear-gradient(180deg, transparent, rgba(16,239,176,0.03) 50%, transparent);
}

.pricing-header { text-align: center; margin-bottom: 48px; }

.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 60px;
}
.toggle-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: color 0.2s;
}
.toggle-label.active { color: var(--text-primary); }

.toggle-switch {
  position: relative;
  width: 52px;
  height: 28px;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--border);
  border-radius: 100px;
  cursor: pointer;
  transition: var(--transition-base);
}
.toggle-switch.annual { background: var(--violet); border-color: var(--violet); }
.toggle-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  transition: var(--transition-spring);
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.toggle-switch.annual .toggle-knob { left: 27px; }

.save-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  background: rgba(16,185,129,0.12);
  border: 1px solid rgba(16,185,129,0.2);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: var(--emerald);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
}
.pricing-card:hover { border-color: var(--border-hover); transform: translateY(-4px); }

.pricing-card.featured {
  border-color: rgba(0,212,255,0.3);
  background: rgba(0,212,255,0.04);
  box-shadow: 0 0 60px rgba(0,212,255,0.08), var(--shadow-glow-cyan);
  transform: scale(1.02);
}
.pricing-card.featured:hover { transform: scale(1.02) translateY(-4px); }

.featured-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 4px 12px;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tier-name {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.price-display {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 6px;
}
.price-currency { font-size: 24px; font-weight: 700; color: var(--text-secondary); }
.price-amount {
  font-size: 56px;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
}
.price-period { font-size: 14px; color: var(--text-muted); margin-left: 4px; }

.price-annual-note {
  font-size: 12px;
  color: var(--emerald);
  font-weight: 600;
  margin-bottom: 28px;
  min-height: 18px;
}

.pricing-divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 24px;
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}
.pf-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
}
.pf-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  flex-shrink: 0;
  margin-top: 1px;
}
.pf-check.yes { background: rgba(16,185,129,0.15); color: var(--emerald); }
.pf-check.no { background: rgba(255,255,255,0.04); color: var(--text-muted); }
.pf-text { color: var(--text-secondary); }
.pf-item.included .pf-text { color: var(--text-primary); }

.pricing-cta {
  width: 100%;
  padding: 14px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  transition: var(--transition-base);
  cursor: pointer;
  display: block;
}
.cta-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-primary);
}
.cta-outline:hover { background: var(--bg-card-hover); border-color: var(--border-hover); }
.cta-gradient {
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  border: none;
  color: #fff;
  box-shadow: 0 6px 24px rgba(0,212,255,0.3);
}
.cta-gradient:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(0,212,255,0.4); }
.cta-elite {
  background: linear-gradient(135deg, var(--cyan), #0077a8);
  border: none;
  color: #fff;
  box-shadow: 0 6px 24px rgba(0,212,255,0.3);
}
.cta-elite:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(0,212,255,0.4); }

/* ╔══════════════════════════════════════════════════════════╗
   ║  11. FAQ                                                 ║
   ╚══════════════════════════════════════════════════════════╝ */
#faq {
  padding: var(--section-gap) 0;
}

.faq-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}

.faq-header {}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:last-child { border-bottom: none; }

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 28px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  gap: 16px;
  transition: background 0.2s;
}
.faq-question:hover { background: rgba(255,255,255,0.03); }
.faq-question.open { background: rgba(255,255,255,0.03); }

.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  transition: var(--transition-base);
  color: var(--text-secondary);
}
.faq-question.open .faq-icon {
  background: rgba(0,212,255,0.1);
  border-color: rgba(0,212,255,0.2);
  color: var(--cyan);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.4,0,0.2,1),
              padding 0.3s ease;
}
.faq-answer.open { max-height: 300px; }

.faq-answer-inner {
  padding: 0 28px 22px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ╔══════════════════════════════════════════════════════════╗
   ║  12. DOWNLOAD CTA                                        ║
   ╚══════════════════════════════════════════════════════════╝ */
#download {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.download-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,212,255,0.08) 0%, rgba(16,239,176,0.10) 50%, rgba(16,185,129,0.06) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.download-bg::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,212,255,0.1), transparent 70%);
  border-radius: 50%;
}

.download-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}
.download-title {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 20px;
}
.download-sub {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.download-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.download-note {
  margin-top: 20px;
  font-size: 13px;
  color: var(--text-muted);
}


/* ── Nutrition Tab Mock ─────────────────────────────────────── */
.nutrition-mock {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.nutr-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
}
.nutr-title { font-size: 14px; font-weight: 700; }
.nutr-date { font-size: 12px; color: var(--text-muted); }
.nutr-ring-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px;
}
.nutr-ring-wrap { flex-shrink: 0; }
.nutr-ring {
  width: 90px; height: 90px;
  border-radius: 50%;
  background: conic-gradient(var(--cyan) 0% var(--pct), rgba(255,255,255,0.06) var(--pct) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.nutr-ring-inner {
  width: 66px; height: 66px;
  border-radius: 50%;
  background: #0d0f16;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}
.nutr-pct { font-size: 18px; font-weight: 900; color: var(--cyan); line-height: 1; }
.nutr-lbl { font-size: 9px; color: var(--text-muted); font-weight: 600; text-transform: uppercase; }
.nutr-stats { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.nutr-stat { display: flex; align-items: baseline; gap: 6px; font-size: 13px; }
.ns-lbl { color: var(--text-muted); width: 56px; font-size: 12px; }
.ns-val { font-weight: 700; }
.ns-target { color: var(--text-muted); font-size: 11px; }
.nutr-water { padding: 0 18px 14px; }
.water-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 6px;
}
.water-track {
  height: 6px;
  background: rgba(255,255,255,0.06);
  border-radius: 999px;
  overflow: hidden;
}
.water-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), rgba(0,212,255,0.5));
  border-radius: 999px;
}
.nutr-coach-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 0 12px 14px;
  padding: 12px;
  background: rgba(16,185,129,0.07);
  border: 1px solid rgba(16,185,129,0.18);
  border-radius: var(--radius-md);
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
}
.ncn-avatar { font-size: 16px; flex-shrink: 0; }

/* ╔══════════════════════════════════════════════════════════╗
   ║  9. SOCIAL / COMMUNITY                                   ║
   ╚══════════════════════════════════════════════════════════╝ */
#social {
  padding: var(--section-gap) 0;
  position: relative;
  overflow: hidden;
}

.social-section-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(0,212,255,0.06) 0%,
    rgba(0,212,255,0.05) 50%,
    rgba(16,185,129,0.06) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.social-section-bg::before {
  content: '';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 900px; height: 500px;
  background: radial-gradient(ellipse, rgba(0,212,255,0.07) 0%, transparent 70%);
}

/* Header */
.social-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 28px;
  position: relative;
}

/* Live pulse bar */
.social-pulse {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 20px;
  width: fit-content;
  margin: 0 auto 52px;
  position: relative;
}
.pulse-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  animation: pulse 1.8s ease-in-out infinite;
  flex-shrink: 0;
}

/* 3-col layout */
.social-main {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: 24px;
  align-items: start;
  position: relative;
}

/* ── Left: stat cards ── */
.social-stats-col { display: flex; flex-direction: column; gap: 14px; }

.ss-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  backdrop-filter: blur(10px);
}
.ss-number {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--cyan);
  line-height: 1;
}
.ss-number.emerald { color: var(--emerald); }
.ss-number.amber   { color: var(--amber); }
.ss-number.violet  { color: var(--violet); }
.ss-label {
  font-size: 12px;
  color: var(--text-muted);
  margin: 4px 0 10px;
}
.ss-track {
  height: 3px;
  background: rgba(255,255,255,0.06);
  border-radius: 999px;
  overflow: hidden;
}
.ss-fill {
  height: 100%;
  background: var(--cyan);
  border-radius: 999px;
  transition: width 1.4s cubic-bezier(0.4,0,0.2,1);
}
.ss-fill.emerald { background: var(--emerald); }
.ss-fill.amber   { background: var(--amber); }
.ss-fill.violet  { background: var(--violet); }

.fomo-card {
  display: flex;
  gap: 12px;
  background: rgba(0,212,255,0.07);
  border: 1px solid rgba(0,212,255,0.20);
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  align-items: flex-start;
}
.fomo-card.fomo-green {
  background: rgba(16,185,129,0.07);
  border-color: rgba(16,185,129,0.2);
}
.fomo-icon { font-size: 18px; flex-shrink: 0; line-height: 1.3; }
.fomo-body { font-size: 13px; color: var(--text-secondary); line-height: 1.5; }
.fomo-body strong { color: var(--text-primary); }

/* ── Centre: feed ── */
.social-feed-col {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
}
.feed-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px 12px;
  border-bottom: 1px solid var(--border);
}
.feed-col-title { font-size: 13px; font-weight: 700; }
.live-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--emerald);
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.25);
  border-radius: 999px;
  padding: 4px 10px;
}
.live-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--emerald);
  animation: pulse 1.4s ease-in-out infinite;
}

.social-post {
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}
.social-post:hover { background: rgba(255,255,255,0.03); }
.social-post:last-of-type { border-bottom: none; }
.social-post--faded { opacity: 0.55; }

.sp-top {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
}
.sp-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 800;
  flex-shrink: 0;
}
.sp-meta { flex: 1; }
.sp-name { font-size: 13px; font-weight: 700; display: inline; }
.sp-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  margin-left: 6px;
  vertical-align: middle;
}
.sp-tag--cyan   { background: rgba(0,212,255,0.1);    color: var(--cyan);    border: 1px solid rgba(0,212,255,0.2); }
.sp-tag--amber  { background: rgba(245,158,11,0.1);   color: var(--amber);   border: 1px solid rgba(245,158,11,0.2); }
.sp-tag--violet { background: rgba(0,212,255,0.10);   color: var(--cyan);    border: 1px solid rgba(0,212,255,0.22); }
.sp-time { font-size: 11px; color: var(--text-muted); margin-top: 2px; }
.sp-heart { font-size: 12px; color: var(--text-muted); white-space: nowrap; margin-top: 2px; }

.sp-body { font-size: 13px; color: var(--text-secondary); line-height: 1.5; margin-bottom: 10px; }
.sp-body strong { color: var(--text-primary); }

.sp-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.sp-chip {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  color: var(--text-secondary);
}
.sp-chip--cyan    { background: rgba(0,212,255,0.08);   color: var(--cyan);    border-color: rgba(0,212,255,0.2); }
.sp-chip--emerald { background: rgba(16,185,129,0.08);  color: var(--emerald); border-color: rgba(16,185,129,0.2); }
.sp-chip--amber   { background: rgba(245,158,11,0.08);  color: var(--amber);   border-color: rgba(245,158,11,0.2); }

.feed-fade {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60px;
  background: linear-gradient(transparent, rgba(6,8,16,0.9));
  pointer-events: none;
}

/* ── Right: leaderboard + PT + buddy ── */
.social-right-col { display: flex; flex-direction: column; gap: 16px; }

.lb-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.lb-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
  background: rgba(16,239,176,0.05);
}
.lb-card-icon { font-size: 20px; }
.lb-card-title { font-size: 13px; font-weight: 700; }
.lb-card-sub { font-size: 11px; color: var(--text-muted); margin-top: 2px; }
.lb-rows { padding: 8px 0; }
.lb-row {
  display: grid;
  grid-template-columns: 32px 32px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  font-size: 13px;
}
.lb-row--you {
  background: rgba(0,212,255,0.07);
  border-top: 1px solid rgba(0,212,255,0.1);
  border-bottom: 1px solid rgba(0,212,255,0.1);
}
.lb-pos { font-size: 12px; font-weight: 800; color: var(--text-muted); text-align: center; }
.lb-gold   { color: #F59E0B; }
.lb-silver { color: #94a3b8; }
.lb-bronze { color: #c2714f; }
.lb-av {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800;
}
.lb-n { font-size: 12px; font-weight: 600; }
.lb-s { font-size: 11px; color: var(--text-muted); }
.lb-gap { font-size: 10px; color: var(--cyan); font-weight: 600; white-space: nowrap; }

.pt-card, .buddy-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 18px;
}
.pt-top { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.pt-icon { font-size: 20px; }
.pt-title { font-size: 14px; font-weight: 800; }
.pt-desc, .buddy-desc { font-size: 12px; color: var(--text-secondary); line-height: 1.5; margin-bottom: 14px; }
.pt-clients { display: flex; align-items: center; gap: 6px; }
.pt-av {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800;
}
.pt-more { font-size: 11px; color: var(--text-muted); margin-left: 4px; }

.buddy-card { }
.buddy-icon { font-size: 24px; margin-bottom: 8px; }
.buddy-title { font-size: 14px; font-weight: 800; margin-bottom: 6px; }
.buddy-matches { display: flex; flex-direction: column; gap: 8px; }
.match-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 8px 12px;
  font-size: 12px;
  color: var(--text-secondary);
}
.match-av {
  width: 26px; height: 26px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800;
  flex-shrink: 0;
}

/* Feature pills */
.social-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 48px;
}
.social-pill {
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  transition: var(--transition-base);
}
.social-pill:hover {
  background: rgba(255,255,255,0.09);
  border-color: var(--border-hover);
  color: var(--text-primary);
  transform: translateY(-1px);
}

/* Social section responsive */
@media (max-width: 1024px) {
  .social-main {
    grid-template-columns: 1fr 1fr;
  }
  .social-stats-col {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  .fomo-card { grid-column: span 1; }
}
@media (max-width: 768px) {
  .social-main {
    grid-template-columns: 1fr;
  }
  .social-stats-col {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 480px) {
  .social-stats-col { grid-template-columns: 1fr; }
}

/* ╔══════════════════════════════════════════════════════════╗
   ║  13. FOOTER                                              ║
   ╚══════════════════════════════════════════════════════════╝ */
#footer {
  padding: 60px 0 32px;
  border-top: 1px solid var(--border);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand {}
.footer-brand .nav-logo { margin-bottom: 16px; }
.footer-tagline {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 260px;
  margin-bottom: 24px;
}
.footer-socials { display: flex; gap: 10px; }
.social-link {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: var(--transition-base);
}
.social-link:hover { border-color: var(--border-hover); background: var(--bg-card-hover); transform: translateY(-2px); }

.footer-col-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--text-primary); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 16px;
}
.footer-copyright { font-size: 13px; color: var(--text-muted); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a {
  font-size: 13px;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-legal a:hover { color: var(--text-secondary); }

/* ── Divider ─────────────────────────────────────────────── */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 0;
}

/* ╔══════════════════════════════════════════════════════════╗
   ║  RESPONSIVE                                              ║
   ╚══════════════════════════════════════════════════════════╝ */
@media (max-width: 1024px) {
  :root { --section-gap: 80px; }

  #hero { padding: 120px 0 70px; }

  .hero-grid { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .hero-content { max-width: 100%; }
  .hero-actions { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-visual { order: -1; }

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

  .integrations-grid { grid-template-columns: 1fr; }

  .gamification-layout { grid-template-columns: 1fr; gap: 32px; }

  .analytics-layout { grid-template-columns: 1fr; }

  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }

  .pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .pricing-card.featured { transform: none; }
  .pricing-card.featured:hover { transform: translateY(-4px); }

  .faq-layout { grid-template-columns: 1fr; gap: 40px; }

  .tab-panel { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  :root { --section-gap: 60px; }

  #hero { padding: 100px 0 56px; }
  .hero-sub { font-size: 16px; margin-bottom: 32px; }
  .hero-badge { font-size: 12px; padding: 6px 14px; margin-bottom: 20px; }
  .hero-trust { flex-wrap: wrap; gap: 16px 20px; justify-content: center; }

  /* Nav: only show logo + hamburger on mobile */
  .nav-inner { gap: 0; }
  .nav-signin, .nav-download { display: none; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; margin-left: auto; }

  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(8,8,10,0.97);
    backdrop-filter: blur(20px);
    padding: 20px;
    border-bottom: 1px solid var(--border);
    gap: 4px;
  }
  .nav-links.mobile-open a {
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    display: block;
  }

  /* Show mobile-only CTA items in the slide-down menu */
  .nav-mobile-divider {
    display: block;
    height: 1px;
    background: var(--border);
    margin: 8px 0;
  }
  .nav-mobile-signin {
    display: block !important;
    color: var(--text-secondary) !important;
    font-weight: 600 !important;
  }
  .nav-mobile-download {
    display: block !important;
    background: #fff !important;
    color: #000 !important;
    font-weight: 700 !important;
    border-radius: var(--radius-sm) !important;
    margin-top: 4px;
    text-align: center;
  }

  .iphone { width: 260px; height: 540px; }
  .iphone-side { width: 170px !important; height: 360px !important; border-radius: 32px !important; }
  .iphone-side .iphone-screen { border-radius: 26px !important; }

  .coaches-grid { grid-template-columns: repeat(2, 1fr); }

  .testimonials-grid { grid-template-columns: 1fr; }

  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }

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

  .tabs-carousel { grid-template-columns: 1fr; }
  .tabs-arrow { display: none; }
  .tabs-nav {
    border-radius: var(--radius-lg);
    padding: 4px;
    flex-wrap: nowrap;
    justify-content: flex-start;
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .tabs-nav::-webkit-scrollbar { display: none; }
  .tab-btn { flex: 0 0 auto; min-width: max-content; text-align: center; font-size: 13px; }

  .whoop-metrics { grid-template-columns: 1fr; justify-items: center; }
  .health-metrics { grid-template-columns: repeat(2, 1fr); }
}

/* Hide side phones when viewport is too narrow to show all three */
@media (max-width: 540px) {
  .phone-left, .phone-right { display: none; }
  .hero-phones { justify-content: center; }
  .phone-center { animation: floatCenter 5s ease-in-out infinite; }
}

@media (max-width: 480px) {
  #hero { padding: 90px 0 48px; }

  .hero-title { font-size: 32px; letter-spacing: -0.03em; }
  .section-title { font-size: 26px; }
  .section-sub { font-size: 15px; }

  .hero-sub { font-size: 15px; margin-bottom: 24px; }
  .hero-badge { font-size: 11px; padding: 6px 12px; }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }
  .app-store-btn { justify-content: center; }
  .btn-ghost { text-align: center; }

  .hero-trust {
    flex-wrap: wrap;
    gap: 14px 0;
    justify-content: space-around;
    padding-top: 28px;
    margin-top: 28px;
  }
  .trust-divider { display: none; }
  .hero-trust-item { flex: 0 0 40%; }
  .hero-trust-item .trust-num { font-size: 22px; }

  .coaches-grid { grid-template-columns: 1fr; }
  .achievement-grid { grid-template-columns: repeat(2, 1fr); }
  .badges-mini { grid-template-columns: repeat(3, 1fr); }

  .iphone { width: 240px; height: 500px; border-radius: 44px; }
  .iphone-screen { border-radius: 38px; }

  .pricing-grid { max-width: 100%; }

  .tabs-nav { gap: 4px; }
  .tab-btn { padding: 8px 12px; font-size: 12px; }

  .container { padding: 0 16px; }
}


/* ╔══════════════════════════════════════════════════════════╗
   ║  14. INTERNAL CONTENT PAGES                              ║
   ╚══════════════════════════════════════════════════════════╝ */
.page-shell {
  min-height: 100vh;
  padding: 140px 0 80px;
}
.page-hero {
  max-width: 860px;
  margin: 0 auto 28px;
  text-align: center;
}
.page-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.page-title {
  font-size: clamp(36px, 6vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
}
.page-subtitle {
  font-size: 18px;
  line-height: 1.75;
  color: var(--text-secondary);
  max-width: 760px;
  margin: 0 auto;
}
.page-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 24px;
  align-items: start;
}
.page-card, .page-sidecard {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-md);
}
.page-card + .page-card { margin-top: 20px; }
.page-card h2, .page-sidecard h2 {
  font-size: 24px;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}
.page-card h3, .page-sidecard h3 {
  font-size: 18px;
  margin: 22px 0 10px;
}
.page-card p, .page-card li, .page-sidecard p, .page-sidecard li {
  color: var(--text-secondary);
  line-height: 1.75;
}
.page-card ul, .page-sidecard ul {
  padding-left: 18px;
  margin: 14px 0;
}
.page-card a, .page-sidecard a { color: var(--cyan); }
.page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.page-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 13px;
}
.back-home {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
}
@media (max-width: 900px) {
  .page-grid { grid-template-columns: 1fr; }
}
