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

:root {
  --bg: #050507;
  --bg-elevated: #0a0a0e;
  --bg-card: #0e0e12;
  --bg-card-hover: #131318;
  --primary: #2DD4BF;
  --primary-soft: rgba(45, 212, 191, 0.07);
  --primary-glow: rgba(45, 212, 191, 0.15);
  --accent: #8B5CF6;
  --accent-soft: rgba(139, 92, 246, 0.07);
  --green: #22C55E;
  --amber: #F59E0B;
  --red: #EF4444;
  --pink: #EC4899;
  --blue: #6366F1;
  --cyan: #06B6D4;
  --text: #E8E8EC;
  --text-secondary: #8888A0;
  --text-muted: #4A4A58;
  --border: #1a1a22;
  --border-light: #252530;
  --border-glow: rgba(45, 212, 191, 0.12);
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: #5EECD5; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.grad {
  background: linear-gradient(135deg, var(--primary) 0%, var(--cyan) 40%, var(--accent) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* ═══════════════════ FUTURISTIC BACKGROUNDS ═══════════════════ */
.dna-bg { position: fixed; inset: 0; z-index: -2; pointer-events: none; overflow: hidden; }
.dna-strand { position: absolute; width: 2px; height: 100%; opacity: 0.05; }
.dna-strand::before, .dna-strand::after {
  content: ''; position: absolute; width: 5px; height: 5px;
  border-radius: 50%;
}
.dna-strand:nth-child(1) { left: 8%; }
.dna-strand:nth-child(1)::before { background: var(--primary); animation-duration: 14s; }
.dna-strand:nth-child(1)::after { background: var(--accent); animation-duration: 14s; animation-delay: -7s; }
.dna-strand:nth-child(2) { left: 25%; }
.dna-strand:nth-child(2)::before { background: var(--accent); animation-duration: 18s; }
.dna-strand:nth-child(2)::after { background: var(--primary); animation-duration: 18s; animation-delay: -9s; }
.dna-strand:nth-child(3) { left: 50%; }
.dna-strand:nth-child(3)::before { background: var(--cyan); animation-duration: 16s; }
.dna-strand:nth-child(3)::after { background: var(--primary); animation-duration: 16s; animation-delay: -8s; }
.dna-strand:nth-child(4) { left: 75%; }
.dna-strand:nth-child(4)::before { background: var(--primary); animation-duration: 20s; }
.dna-strand:nth-child(4)::after { background: var(--accent); animation-duration: 20s; animation-delay: -10s; }
.dna-strand:nth-child(5) { left: 92%; }
.dna-strand:nth-child(5)::before { background: var(--accent); animation-duration: 15s; }
.dna-strand:nth-child(5)::after { background: var(--cyan); animation-duration: 15s; animation-delay: -7.5s; }
.dna-strand::before { left: -12px; }
.dna-strand::after  { left: 12px; }
@keyframes dna-float {
  0%   { top: -10%; transform: translateX(-15px); }
  25%  { transform: translateX(15px); }
  50%  { transform: translateX(-15px); }
  75%  { transform: translateX(15px); }
  100% { top: 110%; transform: translateX(-15px); }
}
.hex-grid {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(45, 212, 191, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45, 212, 191, 0.02) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 10%, transparent 70%);
}
.scanlines { display: none; }
.particles { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.particle {
  position: absolute; width: 1px; height: 16px;
  background: linear-gradient(to bottom, transparent, var(--primary), transparent);
  opacity: 0.12;
}
@keyframes particle-fall { 0% { top: -5%; opacity: 0; } 10% { opacity: 0.12; } 90% { opacity: 0.12; } 100% { top: 105%; opacity: 0; } }
.glow-orb { position: fixed; border-radius: 50%; pointer-events: none; z-index: -1; }
.glow-1 { width: 500px; height: 500px; background: radial-gradient(circle, rgba(45, 212, 191, 0.06) 0%, transparent 70%); top: -5%; left: -5%; }
.glow-2 { width: 400px; height: 400px; background: radial-gradient(circle, rgba(139, 92, 246, 0.05) 0%, transparent 70%); top: 40%; right: -8%; }
.glow-3 { width: 350px; height: 350px; background: radial-gradient(circle, rgba(6, 182, 212, 0.04) 0%, transparent 70%); bottom: 5%; left: 25%; }
@keyframes orb-move { 0%, 100% { transform: translate(0, 0); } 33% { transform: translate(40px, -30px); } 66% { transform: translate(-30px, 20px); } }

/* ─── Navbar ──────────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(5, 5, 7, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 700; color: var(--text); letter-spacing: -0.3px; }
.logo-icon {
  width: 32px; height: 32px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 20px rgba(45, 212, 191, 0.2);
}
.logo-icon svg { display: block; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: var(--text-muted); font-size: 13px; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-cta {
  background: linear-gradient(135deg, var(--primary), var(--accent)) !important;
  color: #000 !important; padding: 7px 18px !important;
  border-radius: 8px; font-weight: 700 !important; font-size: 13px !important;
  transition: box-shadow .2s, transform .2s !important;
}
.nav-cta:hover { box-shadow: 0 0 20px rgba(45, 212, 191, 0.3); transform: translateY(-1px); color: #000 !important; }
.nav-coach-login { color: var(--text-secondary) !important; font-weight: 500 !important; }
.menu-toggle { display: none; background: none; border: none; color: var(--text); font-size: 22px; cursor: pointer; }

/* ─── Hero ────────────────────────────────────────────────── */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  padding: 120px 0 60px; position: relative;
}
.hero-content {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 56px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--primary-soft);
  border: 1px solid var(--border-glow);
  color: var(--primary); padding: 6px 16px;
  border-radius: 100px; font-size: 13px; font-weight: 600;
  box-shadow: 0 0 20px rgba(45, 212, 191, 0.06);
}
.pulse-dot {
  width: 6px; height: 6px; background: var(--primary);
  border-radius: 50%; animation: pulse 2s ease-in-out infinite;
  box-shadow: 0 0 8px var(--primary);
}
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(1.8); } }
.hero-text { max-width: 760px; }
.hero-text h1 {
  font-size: clamp(42px, 6.5vw, 76px); font-weight: 800;
  line-height: 1.02; letter-spacing: -3px; margin: 20px 0 24px;
}
.glitch { position: relative; display: inline-block; }
.glitch::before, .glitch::after {
  content: attr(data-text); position: absolute; top: 0; left: 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--cyan) 40%, var(--accent) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  opacity: 0;
}
.glitch::before { animation: glitch-1 4s ease-in-out infinite; clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%); }
.glitch::after { animation: glitch-2 4s ease-in-out infinite 0.1s; clip-path: polygon(0 55%, 100% 55%, 100% 100%, 0 100%); }
@keyframes glitch-1 { 0%, 92%, 100% { opacity: 0; transform: translate(0); } 93% { opacity: 0.8; transform: translate(-3px, -1px); } 95% { opacity: 0; } }
@keyframes glitch-2 { 0%, 92%, 100% { opacity: 0; transform: translate(0); } 94% { opacity: 0.8; transform: translate(3px, 1px); } 96% { opacity: 0; } }
.hero-text p {
  font-size: 18px; color: var(--text-secondary);
  max-width: 540px; margin: 0 auto 40px; line-height: 1.7;
}
/* Hero stat chips */
.hero-stats-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 16px 0 -4px;
  flex-wrap: wrap;
}
.hero-stat-chip {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.2px;
}
.hero-stat-chip strong {
  color: var(--primary);
  font-weight: 800;
}
.hero-stat-divider {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--text-muted);
  opacity: 0.4;
}
.hero-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Buttons */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff; padding: 14px 32px; border-radius: 12px;
  font-weight: 700; font-size: 15px; border: none; cursor: pointer;
  transition: transform .2s, box-shadow .2s;
  position: relative; overflow: hidden;
}
.btn-primary::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
  transform: translateX(-100%); animation: shimmer 3s ease-in-out infinite;
}
@keyframes shimmer { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 40px rgba(45, 212, 191, 0.25); color: #fff; }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--text-secondary);
  padding: 14px 32px; border-radius: 12px;
  font-weight: 600; font-size: 15px;
  border: 1px solid var(--border-light); cursor: pointer; transition: all .2s;
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-soft); }

/* ═══════════════════ iPHONE 15 PRO MOCKUP ═══════════════════ */
.hero-phones {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  perspective: 1200px;
}
/* Massive glow behind the phones */
.hero-phones::before {
  content: '';
  position: absolute;
  width: 1000px; height: 700px;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 40% 40%, rgba(45, 212, 191, 0.14) 0%, transparent 50%),
    radial-gradient(ellipse at 60% 60%, rgba(139, 92, 246, 0.08) 0%, transparent 45%),
    radial-gradient(ellipse at 50% 50%, rgba(6, 182, 212, 0.06) 0%, transparent 60%);
  pointer-events: none;
  animation: hero-glow 6s ease-in-out infinite;
}
@keyframes hero-glow {
  0%, 100% { opacity: 0.7; transform: scale(1); filter: blur(0px); }
  50% { opacity: 1; transform: scale(1.08); filter: blur(2px); }
}

/* The iPhone */
.iphone {
  position: relative;
  flex-shrink: 0;
  transition: transform .6s cubic-bezier(0.23, 1, 0.32, 1), box-shadow .6s ease;
}

/* Titanium outer frame */
.iphone-frame {
  width: 280px;
  height: 572px;
  background: linear-gradient(160deg, #3B3B40 0%, #2A2A2E 20%, #1E1E22 50%, #2A2A2E 80%, #3B3B40 100%);
  border-radius: 48px;
  padding: 9px;
  position: relative;
  box-shadow:
    0 50px 100px rgba(0, 0, 0, 0.7),
    0 20px 40px rgba(0, 0, 0, 0.5),
    0 0 0 0.5px rgba(255, 255, 255, 0.1),
    inset 0 0 0 0.5px rgba(255, 255, 255, 0.05);
}

/* Glass reflection on frame */
.iphone-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 48px;
  background: linear-gradient(170deg,
    rgba(255, 255, 255, 0.12) 0%,
    rgba(255, 255, 255, 0.04) 15%,
    transparent 30%,
    transparent 70%,
    rgba(255, 255, 255, 0.02) 100%
  );
  pointer-events: none;
  z-index: 4;
}

/* Right side button (power) */
.iphone-frame::after {
  content: '';
  position: absolute;
  right: -2.5px; top: 140px;
  width: 3px; height: 60px;
  background: linear-gradient(180deg, #4A4A50, #3A3A40, #4A4A50);
  border-radius: 0 3px 3px 0;
  box-shadow: 1px 0 2px rgba(0,0,0,0.3);
}

/* Left side buttons (vol up, vol down, action) */
.iphone-buttons {
  position: absolute;
  left: -2.5px;
  z-index: 5;
}
.iphone-btn {
  position: absolute;
  width: 3px;
  background: linear-gradient(180deg, #4A4A50, #3A3A40, #4A4A50);
  border-radius: 3px 0 0 3px;
  box-shadow: -1px 0 2px rgba(0,0,0,0.3);
}
.iphone-btn-action { top: 100px; height: 24px; }
.iphone-btn-vol-up { top: 145px; height: 38px; }
.iphone-btn-vol-down { top: 192px; height: 38px; }

/* Dynamic Island */
.dynamic-island {
  width: 100px; height: 30px;
  background: #000;
  border-radius: 20px;
  position: absolute;
  top: 18px; left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  box-shadow: inset 0 0 3px rgba(0,0,0,0.8);
}
.dynamic-island::before {
  content: '';
  position: absolute;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle, #1a1a2e 30%, #0a0a14 100%);
  top: 11px; right: 20px;
  box-shadow: inset 0 0 2px rgba(0,0,0,0.5), 0 0 1px rgba(45, 212, 191, 0.15);
}

/* The screen */
.iphone-screen {
  width: 100%; height: 100%;
  background: #000;
  border-radius: 40px;
  overflow: hidden;
  position: relative;
}
.iphone-screen-inner {
  height: 100%;
  overflow: hidden;
  background: var(--bg);
  border-radius: 40px;
}

/* Hero phone sizing */
.iphone-center {
  z-index: 3;
}
.iphone-center:hover {
  transform: translateY(-8px);
  box-shadow:
    0 60px 120px rgba(0, 0, 0, 0.8),
    0 30px 60px rgba(0, 0, 0, 0.5),
    0 0 80px rgba(45, 212, 191, 0.08);
}
.iphone-center .iphone-frame {
  box-shadow:
    0 50px 100px rgba(0, 0, 0, 0.7),
    0 20px 40px rgba(0, 0, 0, 0.5),
    0 0 80px rgba(45, 212, 191, 0.06),
    0 0 0 0.5px rgba(255, 255, 255, 0.1),
    inset 0 0 0 0.5px rgba(255, 255, 255, 0.05);
}

.iphone-side {
  z-index: 2;
}
.iphone-side .iphone-frame {
  width: 252px;
  height: 515px;
  border-radius: 43px;
  padding: 8px;
}
.iphone-side .iphone-screen { border-radius: 36px; }
.iphone-side .iphone-screen-inner { border-radius: 36px; }
.iphone-side .dynamic-island { width: 90px; height: 27px; top: 16px; }

.iphone-left {
  margin-right: -28px;
  transform: rotate(-6deg) translateY(20px);
  opacity: 0.8;
}
.iphone-left:hover {
  opacity: 0.9;
  transform: rotate(-4deg) translateY(16px);
}

.iphone-right {
  margin-left: -28px;
  transform: rotate(6deg) translateY(20px);
  opacity: 0.8;
}
.iphone-right:hover {
  opacity: 0.9;
  transform: rotate(4deg) translateY(16px);
}

/* ─── Showcase phone ─────────────────────────────────────── */
.showcase-phone-wrap {
  display: flex; justify-content: center;
  perspective: 1400px;
}
.showcase-phone-wrap .iphone {
  transform: rotateY(-4deg) rotateX(1deg);
}
.showcase-phone-wrap .iphone:hover {
  transform: rotateY(0) rotateX(0) translateY(-6px);
}
.showcase-phone-wrap .iphone:hover .iphone-frame {
  box-shadow:
    0 60px 120px rgba(0, 0, 0, 0.6),
    0 25px 50px rgba(0, 0, 0, 0.4),
    0 0 60px rgba(45, 212, 191, 0.06),
    0 0 0 0.5px rgba(255, 255, 255, 0.1);
}
.showcase-grid.reverse .showcase-phone-wrap .iphone {
  transform: rotateY(4deg) rotateX(1deg);
}
.showcase-grid.reverse .showcase-phone-wrap .iphone:hover {
  transform: rotateY(0) rotateX(0) translateY(-6px);
}

/* ─── App UI inside phones ────────────────────────────────── */
.app-header { padding: 48px 16px 8px; }
.app-header-title { font-size: 18px; font-weight: 800; color: var(--text); letter-spacing: -0.3px; }
.app-header-sub { font-size: 11px; color: var(--text-muted); margin-top: 2px; }

.app-card {
  margin: 4px 10px; padding: 12px;
  background: rgba(255,255,255,0.025); border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.04);
}
.app-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.app-card-title { font-size: 12px; font-weight: 700; color: var(--text); }
.app-card-count { font-size: 11px; font-weight: 700; color: var(--primary); }

.calorie-ring-section { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.calorie-text { flex: 1; }
.calorie-num { font-size: 24px; font-weight: 800; color: var(--text); letter-spacing: -0.5px; }
.calorie-label { font-size: 10px; color: var(--text-muted); }
.calorie-goal { font-size: 10px; color: var(--text-muted); margin-top: 2px; }
.calorie-remain { font-size: 10px; color: var(--primary); font-weight: 600; margin-top: 4px; }
.calorie-ring { width: 68px; height: 68px; position: relative; flex-shrink: 0; }
.calorie-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: var(--border); stroke-width: 5; }
.ring-fill { fill: none; stroke: var(--primary); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 201; stroke-dashoffset: 32; filter: drop-shadow(0 0 4px rgba(45, 212, 191, 0.4)); }
.ring-pct { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 14px; font-weight: 800; color: var(--primary); line-height: 1; }
.ring-pct small { font-size: 7px; color: var(--text-muted); font-weight: 600; margin-top: 2px; }

.macro-bar-row { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.macro-bar-row:last-child { margin-bottom: 0; }
.macro-bar-label { font-size: 10px; color: var(--text-secondary); width: 46px; font-weight: 600; }
.macro-bar-track { flex: 1; height: 5px; background: var(--border); border-radius: 3px; overflow: hidden; }
.macro-bar-fill { height: 100%; border-radius: 3px; }
.macro-bar-val { font-size: 9px; color: var(--text-muted); width: 58px; text-align: right; font-weight: 500; }

.task-row { display: flex; align-items: flex-start; gap: 8px; padding: 4px 0; }
.task-check { width: 15px; height: 15px; border-radius: 4px; border: 1.5px solid var(--border-light); flex-shrink: 0; margin-top: 1px; }
.task-check.done { background: var(--primary); border-color: var(--primary); position: relative; }
.task-check.done::after { content: ''; display: block; width: 4px; height: 7px; border: solid #fff; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); position: absolute; top: 1px; left: 4px; }
.task-content { flex: 1; min-width: 0; }
.task-name { font-size: 11px; font-weight: 600; color: var(--text); }
.task-name.done { color: var(--text-muted); text-decoration: line-through; }
.task-dosing { font-size: 8px; color: var(--text-muted); margin-top: 1px; }

.action-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; margin: 8px 10px; }
.action-tile { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 7px 3px; background: rgba(255,255,255,0.025); border-radius: 10px; border: 1px solid rgba(255,255,255,0.04); }
.action-icon { width: 26px; height: 26px; border-radius: 7px; display: flex; align-items: center; justify-content: center; font-size: 13px; }
.action-label { font-size: 7px; font-weight: 600; color: var(--text-muted); }

/* Quick Actions grid (matches real app) */
.qa-grid { display: flex; flex-wrap: wrap; padding: 0 6px 6px; }
.qa-tile { width: 25%; display: flex; flex-direction: column; align-items: center; padding: 8px 0; gap: 4px; }
.qa-icon { width: 32px; height: 32px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 14px; }
.qa-label { font-size: 8px; font-weight: 500; color: var(--text-secondary); text-align: center; }

.meal-header { display: flex; align-items: center; gap: 8px; padding: 6px 10px; }
.meal-icon { width: 22px; height: 22px; border-radius: 7px; display: flex; align-items: center; justify-content: center; font-size: 11px; }
.meal-title { font-size: 12px; font-weight: 700; color: var(--text); flex: 1; }
.meal-kcal { font-size: 10px; color: var(--text-muted); font-weight: 600; }
.meal-item { display: flex; justify-content: space-between; align-items: center; padding: 6px 10px; margin: 0 10px 4px; background: rgba(255,255,255,0.025); border-radius: 8px; border: 1px solid rgba(255,255,255,0.04); }
.meal-item-name { font-size: 10px; font-weight: 600; color: var(--text); }
.meal-item-pills { display: flex; gap: 3px; margin-top: 2px; }
.meal-pill { font-size: 7px; font-weight: 700; padding: 2px 5px; border-radius: 3px; }
.meal-item-cal { font-size: 14px; font-weight: 800; color: var(--text); text-align: right; }
.meal-item-cal-label { font-size: 7px; color: var(--text-muted); text-align: right; }

/* ─── Dashboard-specific UI ──────────────────────────────── */
.dash-greeting { padding: 44px 16px 2px; display: flex; justify-content: space-between; align-items: flex-start; }
.dash-hello { font-size: 12px; color: var(--text-muted); font-weight: 400; }
.dash-name { font-size: 20px; font-weight: 800; color: var(--text); letter-spacing: -0.5px; }
.dash-date { font-size: 10px; color: var(--text-muted); font-weight: 500; padding-top: 4px; }
.dash-pct { font-size: 16px; font-weight: 800; color: #22C55E; }
.dash-progress-bar { height: 5px; background: var(--border); border-radius: 3px; overflow: hidden; margin: 6px 0 4px; }
.dash-progress-fill { height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--primary), var(--cyan)); }
.dash-progress-label { font-size: 9px; color: var(--text-muted); }
.dash-streak-compact { padding: 6px 10px !important; }
.dash-streak-row { display: flex; justify-content: space-between; align-items: center; }
.dash-streak-left { font-size: 9px; font-weight: 700; color: var(--text); display: flex; align-items: center; gap: 3px; }
.dash-streak-num { font-size: 11px; font-weight: 800; color: #22C55E; }
.dash-streak-dots-inline { display: flex; gap: 4px; align-items: center; }
.dash-streak-dots-inline .streak-dot { width: 6px; height: 6px; }
.dash-streak-badge { font-size: 8px; font-weight: 700; color: #2DD4BF; background: rgba(45,212,191,0.08); border: 1px solid rgba(45,212,191,0.15); padding: 2px 7px; border-radius: 6px; }
.dash-streak-dots { display: flex; flex-direction: column; gap: 4px; }
.dash-streak-dots > div:first-child { display: flex; gap: 6px; justify-content: center; }
.streak-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--border); }
.streak-dot.active { background: #F59E0B; box-shadow: 0 0 6px rgba(245,158,11,0.3); }
.streak-dot.today { background: #F59E0B; box-shadow: 0 0 8px rgba(245,158,11,0.4); position: relative; }
.streak-labels { display: flex; gap: 6px; justify-content: center; }
.streak-labels span { width: 14px; text-align: center; font-size: 7px; color: var(--text-muted); font-weight: 600; }

/* ─── Protocol items (showcase) ──────────────────────────── */
.protocol-item { display: flex; align-items: flex-start; gap: 8px; }
.protocol-check { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--primary); flex-shrink: 0; margin-top: 1px; }
.protocol-check.done { background: transparent; position: relative; }
.protocol-check.done::after { content: ''; display: block; width: 4px; height: 7px; border: solid var(--primary); border-width: 0 2px 2px 0; transform: rotate(45deg); position: absolute; top: 2px; left: 5px; }
.protocol-content { flex: 1; min-width: 0; }
.protocol-name-row { display: flex; align-items: center; gap: 6px; margin-bottom: 2px; }
.protocol-name { font-size: 11px; font-weight: 700; color: var(--text); }
.protocol-name.done { color: var(--text-muted); text-decoration: line-through; }
.protocol-type-badge { font-size: 6px; font-weight: 800; letter-spacing: 0.5px; padding: 1px 5px; border-radius: 3px; background: rgba(139,92,246,0.12); color: #8B5CF6; }
.protocol-type-badge.supp { background: rgba(45,212,191,0.12); color: #2DD4BF; }
.protocol-type-badge.med { background: rgba(59,130,246,0.12); color: #3B82F6; }
.protocol-dose { font-size: 9px; color: var(--text-muted); }
.protocol-schedule { font-size: 8px; color: var(--primary); font-weight: 600; margin-top: 3px; }
.protocol-recon {
  margin-top: 5px; padding: 6px 8px;
  background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.04);
  border-radius: 8px; font-size: 8px; color: var(--text-secondary);
  display: flex; flex-direction: column; gap: 2px;
}
.protocol-recon strong { color: var(--text); font-weight: 700; }
.protocol-doses { font-size: 8px; color: var(--text-muted); font-weight: 600; white-space: nowrap; padding-top: 2px; }

/* Tab bar */
.app-tabbar {
  display: flex; justify-content: space-around; align-items: center;
  padding: 5px 4px 12px; margin-top: 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  background: rgba(5,5,7,0.85);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  position: absolute; bottom: 0; left: 0; right: 0;
  border-radius: 0 0 40px 40px;
}
.tab-item { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.tab-icon { font-size: 14px; line-height: 1; }
.tab-label { font-size: 7px; font-weight: 600; color: var(--text-muted); }
.tab-item.active .tab-icon { filter: drop-shadow(0 0 4px rgba(45, 212, 191, 0.4)); }
.tab-item.active .tab-label { color: var(--primary); }
.tab-item.active { position: relative; }
.tab-item.active::after { content: ''; position: absolute; top: -5px; width: 4px; height: 4px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 6px rgba(45, 212, 191, 0.4); }

.chat-bubble { padding: 8px 12px; border-radius: 14px; font-size: 10px; line-height: 1.5; max-width: 82%; margin: 3px 10px; }
.chat-bubble.coach { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.04); color: var(--text); border-bottom-left-radius: 4px; }
.chat-bubble.client { background: var(--primary); color: #000; margin-left: auto; border-bottom-right-radius: 4px; }
.chat-sender { font-size: 8px; font-weight: 700; margin: 7px 10px 2px; color: var(--text-muted); }
.chat-time { font-size: 7px; color: var(--text-muted); margin: 1px 10px 0; }

/* ─── Trust / Powered By Bar ─────────────────────────────── */
.trust-bar {
  padding: 32px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(45, 212, 191, 0.01);
}
.trust-label {
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 18px;
}
.trust-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  transition: color .3s, transform .3s;
  opacity: 0.6;
}
.trust-item:hover {
  color: var(--text);
  opacity: 1;
  transform: translateY(-1px);
}
.trust-icon {
  flex-shrink: 0;
  opacity: 0.7;
  transition: opacity .3s;
}
.trust-item:hover .trust-icon {
  opacity: 1;
}

/* ─── Section ─────────────────────────────────────────────── */
.section { padding: 120px 0; position: relative; }
.section-label { font-size: 11px; font-weight: 700; color: var(--primary); letter-spacing: 2.5px; text-transform: uppercase; margin-bottom: 12px; }
.section-title { font-size: clamp(28px, 4vw, 44px); font-weight: 800; letter-spacing: -1.5px; line-height: 1.1; margin-bottom: 16px; }
.section-desc { font-size: 16px; color: var(--text-secondary); max-width: 540px; line-height: 1.7; }
.section-header { margin-bottom: 64px; }
.section-header.center { text-align: center; }
.section-header.center .section-desc { margin: 0 auto; }

/* ─── Features ────────────────────────────────────────────── */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.feature-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 14px; padding: 26px 22px; transition: all .3s ease;
  position: relative; overflow: hidden;
}
.feature-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 1px; background: linear-gradient(90deg, transparent, var(--primary-glow), transparent);
  opacity: 0; transition: opacity .3s;
}
.feature-card:hover::before { opacity: 1; }
.feature-card:hover { border-color: var(--border-glow); background: var(--bg-card-hover); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,0,0,.3); }
.feature-icon { width: 42px; height: 42px; border-radius: 11px; display: flex; align-items: center; justify-content: center; font-size: 19px; margin-bottom: 14px; }
.feature-card h3 { font-size: 14px; font-weight: 700; margin-bottom: 7px; color: var(--text); }
.feature-card p { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }

/* ─── Showcase ────────────────────────────────────────────── */
.showcase { padding: 100px 0; }
.showcase-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.showcase-grid.reverse { direction: rtl; }
.showcase-grid.reverse > * { direction: ltr; }
.showcase-text .badge {
  display: inline-block; font-size: 10px; font-weight: 700;
  color: var(--primary); background: var(--primary-soft);
  border: 1px solid var(--border-glow);
  padding: 4px 12px; border-radius: 6px; margin-bottom: 16px;
  letter-spacing: 1px; text-transform: uppercase;
}
.showcase-text h2 { font-size: clamp(24px, 3vw, 36px); font-weight: 800; letter-spacing: -1px; line-height: 1.15; margin-bottom: 16px; }
.showcase-text > p { font-size: 15px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 24px; }
.showcase-points { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.showcase-points li { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-secondary); }
.showcase-points li .check {
  width: 20px; height: 20px; border-radius: 6px;
  background: var(--primary-soft); border: 1px solid var(--border-glow);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary); font-size: 10px; font-weight: 800; flex-shrink: 0;
}

/* ─── Stats ───────────────────────────────────────────────── */
.stats-bar { padding: 64px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: rgba(45, 212, 191, 0.01); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.stat-num { font-size: 40px; font-weight: 800; letter-spacing: -1px; }
.stat-label { font-size: 12px; color: var(--text-muted); margin-top: 4px; font-weight: 500; }

/* ─── Portal ──────────────────────────────────────────────── */
.portal-section { padding: 120px 0; }
.portal-browser {
  border-radius: 14px; overflow: hidden;
  background: rgba(10, 10, 14, 0.8);
  border: 1px solid var(--border-glow);
  box-shadow: 0 40px 100px rgba(0,0,0,.5), 0 0 40px rgba(45, 212, 191, 0.04);
  transition: transform .5s cubic-bezier(0.23, 1, 0.32, 1);
  transform: perspective(2000px) rotateX(2deg);
}
.portal-browser:hover { transform: perspective(2000px) rotateX(0deg) translateY(-4px); }
.browser-chrome { display: flex; align-items: center; gap: 12px; padding: 10px 16px; background: rgba(14, 14, 20, 0.8); border-bottom: 1px solid var(--border); }
.browser-dots { display: flex; gap: 6px; }
.dot-red { width: 10px; height: 10px; border-radius: 50%; background: #EF4444; }
.dot-yellow { width: 10px; height: 10px; border-radius: 50%; background: #FBBF24; }
.dot-green { width: 10px; height: 10px; border-radius: 50%; background: #34D399; }
.browser-url { flex: 1; padding: 5px 14px; border-radius: 6px; background: var(--bg); border: 1px solid var(--border); font-size: 11px; color: var(--text-muted); font-family: monospace; }
.browser-content { display: flex; min-height: 480px; }
.portal-sidebar { width: 170px; background: rgba(10, 10, 14, 0.5); border-right: 1px solid var(--border); padding: 16px 12px; flex-shrink: 0; }
.portal-logo { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; padding: 0 4px; }
.portal-logo-icon { width: 26px; height: 26px; border-radius: 7px; background: linear-gradient(135deg, var(--primary), var(--cyan)); display: flex; align-items: center; justify-content: center; box-shadow: 0 0 10px rgba(45, 212, 191, 0.2); }
.portal-logo-text { font-size: 12px; font-weight: 800; color: var(--text); }
.portal-nav { display: flex; flex-direction: column; gap: 2px; }
.portal-nav-item { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 8px; font-size: 11px; font-weight: 500; color: var(--text-muted); }
.portal-nav-item.active { background: var(--primary-soft); color: var(--primary); }
.portal-main { flex: 1; padding: 18px 22px; overflow: hidden; }
.portal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.portal-title { font-size: 16px; font-weight: 800; color: var(--text); }
.portal-subtitle { font-size: 10px; color: var(--text-muted); margin-top: 2px; }
.portal-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; }
.portal-stat-card { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 12px; background: rgba(255,255,255,0.02); border: 1px solid var(--border); }
.portal-stat-icon { width: 34px; height: 34px; border-radius: 9px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.portal-stat-label { font-size: 8px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.portal-stat-value { font-size: 20px; font-weight: 800; color: var(--text); line-height: 1; margin-top: 2px; }
.portal-section-label { font-size: 8px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; }
.portal-clients-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 18px; }
.portal-client-card { border-radius: 10px; overflow: hidden; background: rgba(255,255,255,0.02); border: 1px solid var(--border); }
.portal-client-bar { height: 2px; background: linear-gradient(135deg, var(--primary), var(--cyan)); }
.portal-client-body { padding: 10px; }
.portal-client-header { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.portal-avatar { width: 28px; height: 28px; border-radius: 8px; background: linear-gradient(135deg, var(--primary), var(--cyan)); display: flex; align-items: center; justify-content: center; color: white; font-size: 9px; font-weight: 700; flex-shrink: 0; }
.portal-avatar.large { width: 36px; height: 36px; font-size: 11px; border-radius: 10px; }
.portal-client-name { font-size: 10px; font-weight: 700; color: var(--text); flex: 1; }
.portal-client-badge { font-size: 7px; font-weight: 600; padding: 2px 6px; border-radius: 6px; }
.portal-client-badge.unread { background: var(--primary-soft); color: var(--primary); border: 1px solid var(--border-glow); }
.portal-client-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.portal-metric { background: rgba(255,255,255,0.015); border-radius: 6px; padding: 5px; text-align: center; }
.portal-metric-label { display: block; font-size: 7px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.3px; }
.portal-metric-val { display: block; font-size: 11px; font-weight: 800; color: var(--text); margin-top: 1px; }
.portal-metric-val.good { color: #34D399; }
.portal-metric-val.warn { color: #FBBF24; }
.portal-detail-preview { background: rgba(10, 10, 14, 0.5); border: 1px solid var(--border); border-radius: 10px; padding: 12px; }
.portal-detail-header { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.portal-detail-name { font-size: 12px; font-weight: 700; color: var(--text); }
.portal-detail-sub { font-size: 8px; color: var(--text-muted); }
.portal-tabs { display: flex; gap: 3px; margin-bottom: 12px; overflow-x: auto; }
.portal-tab { font-size: 8px; font-weight: 600; padding: 4px 9px; border-radius: 6px; color: var(--text-muted); white-space: nowrap; }
.portal-tab.active { background: var(--primary-soft); color: var(--primary); }
.portal-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.portal-detail-card { background: rgba(255,255,255,0.02); border: 1px solid var(--border); border-radius: 8px; padding: 10px; }
.portal-detail-card-title { font-size: 9px; font-weight: 700; color: var(--text-secondary); margin-bottom: 8px; }
.portal-detail-macros { display: flex; flex-direction: column; gap: 6px; }
.portal-macro-item { display: flex; flex-direction: column; gap: 2px; }
.portal-macro-bar-wrap { height: 4px; border-radius: 2px; background: var(--border); overflow: hidden; }
.portal-macro-bar { height: 100%; border-radius: 2px; }
.portal-macro-text { font-size: 8px; font-weight: 600; }
.portal-workout-list { display: flex; flex-direction: column; gap: 3px; }
.portal-workout-row { display: flex; justify-content: space-between; font-size: 9px; color: var(--text); padding: 3px 0; border-bottom: 1px solid var(--border); }
.portal-workout-row:last-child { border-bottom: none; }
.portal-features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 48px; }
.portal-feature { background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px; padding: 24px; transition: all .3s; position: relative; overflow: hidden; }
.portal-feature::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--primary-glow), transparent); opacity: 0; transition: opacity .3s; }
.portal-feature:hover::before { opacity: 1; }
.portal-feature:hover { border-color: var(--border-glow); transform: translateY(-2px); }
.portal-feature-icon { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 18px; margin-bottom: 12px; }
.portal-feature h3 { font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.portal-feature p { font-size: 12px; color: var(--text-secondary); line-height: 1.6; }

/* ─── Steps ───────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { text-align: center; position: relative; }
.step::after { content: ''; position: absolute; top: 28px; right: -12px; width: calc(100% - 56px); height: 1px; background: linear-gradient(90deg, var(--border-glow), var(--border)); transform: translateX(100%); }
.step:last-child::after { display: none; }
.step-number { width: 56px; height: 56px; border-radius: 16px; background: var(--bg-card); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 800; color: var(--primary); margin: 0 auto 16px; transition: all .3s; }
.step:hover .step-number { border-color: var(--border-glow); box-shadow: 0 0 25px rgba(45, 212, 191, 0.1); }
.step h3 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.step p { font-size: 13px; color: var(--text-secondary); line-height: 1.5; }

/* ─── CTA ─────────────────────────────────────────────────── */
.cta-section { padding: 120px 0; }
.cta-box {
  background: var(--bg-card); border: 1px solid var(--border-glow);
  border-radius: 24px; padding: 80px 48px; text-align: center;
  position: relative; overflow: hidden;
}
.cta-box::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--primary), var(--accent), transparent); opacity: 0.5; }
.cta-box h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -1px; margin-bottom: 16px; }
.cta-box p { font-size: 16px; color: var(--text-secondary); max-width: 480px; margin: 0 auto 32px; line-height: 1.7; }

/* ─── Footer ──────────────────────────────────────────────── */
.footer { padding: 48px 0; border-top: 1px solid var(--border); }
.footer-content { display: flex; justify-content: space-between; align-items: center; }
.footer-copy { font-size: 13px; color: var(--text-muted); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 13px; color: var(--text-muted); transition: color .2s; }
.footer-links a:hover { color: var(--text); }

/* ═══════════════════ NEXT-LEVEL UPGRADES ═══════════════════ */

/* ─── Hero phone entrance animation ──────────────────────── */
.hero-phones .iphone {
  opacity: 0;
  transform: translateY(80px) scale(0.88) rotateX(15deg);
  animation: phone-entrance 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero-phones .iphone-center { animation-delay: 0.2s; }
.hero-phones .iphone-left { animation-delay: 0.5s; }
.hero-phones .iphone-right { animation-delay: 0.5s; }
@keyframes phone-entrance {
  to {
    opacity: 1;
    transform: translateY(0) scale(1) rotateX(0);
  }
}
.hero-phones .iphone-left {
  animation-name: phone-entrance-left;
}
@keyframes phone-entrance-left {
  to {
    opacity: 0.8;
    transform: rotate(-6deg) translateY(20px) scale(1) rotateX(0);
  }
}
.hero-phones .iphone-right {
  animation-name: phone-entrance-right;
}
@keyframes phone-entrance-right {
  to {
    opacity: 0.8;
    transform: rotate(6deg) translateY(20px) scale(1) rotateX(0);
  }
}

/* ─── Center phone subtle float ──────────────────────────── */
.hero-phones .iphone-center {
  animation: phone-entrance 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes center-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ─── Side phones subtle sway ────────────────────────────── */
.hero-phones .iphone-left {
  animation: phone-entrance-left 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
}
@keyframes left-sway {
  0%, 100% { transform: rotate(-6deg) translateY(20px); }
  50% { transform: rotate(-5deg) translateY(14px); }
}
.hero-phones .iphone-right {
  animation: phone-entrance-right 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
}
@keyframes right-sway {
  0%, 100% { transform: rotate(6deg) translateY(20px); }
  50% { transform: rotate(5deg) translateY(14px); }
}

/* ─── Screen glow bleeding through edges ─────────────────── */
.iphone-center::before {
  content: '';
  position: absolute;
  inset: -12px;
  border-radius: 56px;
  background: radial-gradient(ellipse at 50% 30%, rgba(45, 212, 191, 0.15), transparent 60%),
              radial-gradient(ellipse at 30% 70%, rgba(139, 92, 246, 0.10), transparent 50%),
              radial-gradient(ellipse at 70% 60%, rgba(6, 182, 212, 0.08), transparent 50%);
  z-index: -1;
  /* animation disabled for performance */
  pointer-events: none;
}
@keyframes screen-bleed {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.04); }
}

/* ─── Reflection surface beneath phones ──────────────────── */
.hero-phones::after {
  content: '';
  position: absolute;
  bottom: -120px;
  left: 50%;
  transform: translateX(-50%) perspective(800px) rotateX(75deg);
  width: 800px; height: 400px;
  background: radial-gradient(ellipse at center,
    rgba(45, 212, 191, 0.06) 0%,
    rgba(139, 92, 246, 0.03) 30%,
    transparent 60%
  );
  filter: blur(2px);
  pointer-events: none;
  opacity: 0;
  animation: reflection-in 1.5s ease 0.8s forwards;
}
@keyframes reflection-in { to { opacity: 1; } }

/* ─── Holographic screen shimmer ─────────────────────────── */
.hero-phones .iphone-screen::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    105deg,
    transparent 0%,
    transparent 35%,
    rgba(45, 212, 191, 0.06) 42%,
    rgba(139, 92, 246, 0.04) 48%,
    rgba(255, 255, 255, 0.03) 50%,
    rgba(6, 182, 212, 0.04) 52%,
    transparent 58%,
    transparent 100%
  );
  z-index: 20;
  pointer-events: none;
  /* animation disabled for performance */
  opacity: 0;
}
@keyframes holo-shimmer {
  0% { opacity: 0; transform: translateX(-120%); }
  40% { opacity: 1; }
  60% { opacity: 1; }
  100% { opacity: 0; transform: translateX(120%); }
}

/* ─── Animated macro bars (fill on load) ─────────────────── */
.hero-phones .macro-bar-fill {
  animation: bar-fill 1.5s cubic-bezier(0.23, 1, 0.32, 1) forwards;
  animation-delay: 1.2s;
  transform-origin: left;
  transform: scaleX(0);
}
@keyframes bar-fill {
  to { transform: scaleX(1); }
}

/* ─── Animated calorie ring draw ─────────────────────────── */
.hero-phones .ring-fill {
  stroke-dashoffset: 201;
  animation: ring-draw 2s cubic-bezier(0.23, 1, 0.32, 1) 1s forwards;
}
@keyframes ring-draw {
  to { stroke-dashoffset: 32; }
}

/* ─── Chat typing indicator ──────────────────────────────── */
.typing-indicator {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 14px;
  border-bottom-left-radius: 4px;
  margin: 3px 10px;
  width: fit-content;
}
.typing-dot {
  width: 5px; height: 5px;
  background: var(--text-muted);
  border-radius: 50%;
  animation: typing-bounce 1.4s ease-in-out infinite;
}
.typing-dot:nth-child(2) { animation-delay: 0.15s; }
.typing-dot:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-4px); opacity: 1; }
}

/* ─── Notification badge bounce-in ───────────────────────── */
.notif-badge {
  position: absolute;
  top: 10px; right: 6px;
  width: 18px; height: 18px;
  background: #EF4444;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; font-weight: 800; color: white;
  z-index: 20;
  opacity: 0;
  transform: scale(0);
  animation: notif-pop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) 2.5s forwards;
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.5);
}
@keyframes notif-pop {
  to { opacity: 1; transform: scale(1); }
}
.notif-badge::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid rgba(239, 68, 68, 0.4);
  animation: notif-ping 2s ease-out 3s infinite;
}
@keyframes notif-ping {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.8); opacity: 0; }
}

/* ─── Hero phone protocol items ─────────────────────────── */
.hero-phones .iphone-center .app-card { margin: 3px 10px; padding: 10px; }
.hero-phones .iphone-center .app-card-header { margin-bottom: 6px; }
.hero-phones .protocol-item { gap: 6px; padding: 2px 0; }
.hero-phones .protocol-name { font-size: 10px; }
.hero-phones .protocol-dose { font-size: 7.5px; }
.hero-phones .protocol-type-badge { font-size: 5.5px; padding: 1px 4px; }

/* ─── Task checkmarks animate in ─────────────────────────── */
.hero-phones .task-check.done, .hero-phones .protocol-item .task-check.done {
  animation: check-pop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
  opacity: 0;
  transform: scale(0);
}
.hero-phones .task-row:nth-child(1) .task-check.done, .hero-phones .protocol-item:nth-child(2) .task-check.done { animation-delay: 1.4s; }
.hero-phones .task-row:nth-child(2) .task-check.done, .hero-phones .protocol-item:nth-child(3) .task-check.done { animation-delay: 1.7s; }
.hero-phones .task-row:nth-child(3) .task-check.done, .hero-phones .protocol-item:nth-child(4) .task-check.done { animation-delay: 2.0s; }
.hero-phones .task-row:nth-child(4) .task-check.done, .hero-phones .protocol-item:nth-child(5) .task-check.done { animation-delay: 2.3s; }
@keyframes check-pop {
  to { opacity: 1; transform: scale(1); }
}

/* ─── Calorie number count-up glow ───────────────────────── */
.hero-phones .calorie-num {
  animation: num-glow 2s ease 1.2s;
}
@keyframes num-glow {
  0% { text-shadow: none; }
  50% { text-shadow: 0 0 20px rgba(45, 212, 191, 0.4); }
  100% { text-shadow: none; }
}


/* ─── Screen content staggered fade-in ───────────────────── */
.hero-phones .app-header {
  opacity: 0;
  animation: content-fade 0.6s ease 0.8s forwards;
}
.hero-phones .app-card {
  opacity: 0;
  animation: content-fade 0.6s ease forwards;
}
.hero-phones .iphone-center .app-card:nth-child(2) { animation-delay: 1.0s; }
.hero-phones .iphone-center .app-card:nth-child(3) { animation-delay: 1.2s; }
.hero-phones .iphone-center .action-grid, .hero-phones .iphone-center .qa-grid { opacity: 0; animation: content-fade 0.6s ease 1.4s forwards; }
.hero-phones .iphone-left .app-card:nth-child(2) { animation-delay: 1.1s; }
.hero-phones .iphone-left .app-card:nth-child(3) { animation-delay: 1.3s; }
.hero-phones .iphone-right .chat-bubble { opacity: 0; animation: content-fade 0.4s ease forwards; }
.hero-phones .iphone-right .chat-bubble:nth-child(1) { animation-delay: 1.0s; }
.hero-phones .iphone-right .chat-bubble:nth-child(2) { animation-delay: 1.3s; }
.hero-phones .iphone-right .chat-bubble:nth-child(3) { animation-delay: 1.6s; }
.hero-phones .iphone-right .chat-bubble:nth-child(4) { animation-delay: 1.9s; }
.hero-phones .iphone-right .chat-bubble:nth-child(5) { animation-delay: 2.2s; }
@keyframes content-fade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ─── Floating data cards around hero ────────────────────── */
.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: rgba(10, 10, 14, 0.75);
  border: 1px solid var(--border-glow);
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5), 0 0 30px rgba(45,212,191,0.04);
  z-index: 10;
  pointer-events: none;
  opacity: 0;
  animation: float-card-in 0.8s ease forwards;
}
.float-card:nth-child(1) { animation-delay: 1s; }
.float-card:nth-child(2) { animation-delay: 1.2s; }
.float-card:nth-child(3) { animation-delay: 1.4s; }
.float-card:nth-child(4) { animation-delay: 1.6s; }
@keyframes float-card-in {
  to { opacity: 1; }
}
.float-card-icon { font-size: 18px; line-height: 1; }
.float-card-val { font-size: 15px; font-weight: 800; color: var(--text); line-height: 1.1; }
.float-card-val span { font-size: 9px; font-weight: 600; color: var(--text-muted); margin-left: 2px; }
.float-card-label { font-size: 9px; color: var(--text-muted); font-weight: 500; margin-top: 1px; }

.fc-1 { top: 5%; left: -80px; animation: float-card-in 0.8s ease 1s forwards; }
.fc-2 { bottom: 15%; left: -60px; animation: float-card-in 0.8s ease 1.2s forwards; }
.fc-3 { top: 10%; right: -80px; animation: float-card-in 0.8s ease 1.4s forwards; }
.fc-4 { bottom: 10%; right: -60px; animation: float-card-in 0.8s ease 1.6s forwards; }

@keyframes fc-bob-1 { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-12px) rotate(0deg); } }
@keyframes fc-bob-2 { 0%, 100% { transform: translateY(0) rotate(1deg); } 50% { transform: translateY(-10px) rotate(-1deg); } }
@keyframes fc-bob-3 { 0%, 100% { transform: translateY(0) rotate(2deg); } 50% { transform: translateY(-14px) rotate(0deg); } }
@keyframes fc-bob-4 { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-8px) rotate(1deg); } }

/* ─── Staggered feature card entrance ────────────────────── */
.features-grid .feature-card:nth-child(1) { transition-delay: 0.05s; }
.features-grid .feature-card:nth-child(2) { transition-delay: 0.1s; }
.features-grid .feature-card:nth-child(3) { transition-delay: 0.15s; }
.features-grid .feature-card:nth-child(4) { transition-delay: 0.2s; }
.features-grid .feature-card:nth-child(5) { transition-delay: 0.25s; }
.features-grid .feature-card:nth-child(6) { transition-delay: 0.3s; }
.features-grid .feature-card:nth-child(7) { transition-delay: 0.35s; }
.features-grid .feature-card:nth-child(8) { transition-delay: 0.4s; }
.features-grid .feature-card:nth-child(9) { transition-delay: 0.45s; }

/* ─── Testimonials ────────────────────────────────────────── */
.testimonials { padding: 100px 0; }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.testimonial {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  transition: all .3s;
}
.testimonial::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary-glow), transparent);
  opacity: 0;
  transition: opacity .3s;
}
.testimonial:hover::before { opacity: 1; }
.testimonial:hover {
  border-color: var(--border-glow);
  transform: translateY(-2px);
}
.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 14px;
  font-size: 14px;
  color: #F59E0B;
}
.testimonial-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 18px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 10px;
}
.testimonial-avatar {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
  color: white;
  flex-shrink: 0;
}
.testimonial-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}
.testimonial-role {
  font-size: 11px;
  color: var(--text-muted);
}

/* ─── Animated gradient border on CTA ────────────────────── */
.cta-box::before {
  background: linear-gradient(90deg, transparent, var(--primary), var(--cyan), var(--accent), var(--primary), transparent);
  background-size: 200% 100%;
  animation: cta-border-flow 4s linear infinite;
  opacity: 0.6;
}
@keyframes cta-border-flow {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ─── Showcase phone screen auto-scroll ──────────────────── */
.showcase-phone-wrap .iphone-screen-inner {
  animation: screen-scroll 12s ease-in-out infinite;
}
@keyframes screen-scroll {
  0%, 15% { transform: translateY(0); }
  40%, 60% { transform: translateY(-80px); }
  85%, 100% { transform: translateY(0); }
}

/* ─── Hero text entrance ─────────────────────────────────── */
.hero-text {
  opacity: 0;
  transform: translateY(30px);
  animation: hero-text-in 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}
@keyframes hero-text-in {
  to { opacity: 1; transform: translateY(0); }
}

/* ─── Waitlist Form ───────────────────────────────────────── */
.waitlist-form-wrap {
  max-width: 520px;
}

/* Card with animated gradient border */
.waitlist-card {
  position: relative;
  border-radius: 20px;
  padding: 2px;
  background: linear-gradient(135deg, var(--primary), var(--cyan), var(--accent), var(--primary));
  background-size: 300% 300%;
  animation: waitlist-border-glow 4s ease-in-out infinite;
}
@keyframes waitlist-border-glow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.waitlist-card-glow {
  position: absolute;
  inset: -8px;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--primary), var(--cyan), var(--accent));
  background-size: 300% 300%;
  animation: waitlist-border-glow 4s ease-in-out infinite;
  filter: blur(16px);
  opacity: 0.15;
  z-index: -1;
}
.waitlist-card-inner {
  background: var(--bg-card);
  border-radius: 18px;
  padding: 24px;
}

/* Eyebrow */
.waitlist-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 16px;
}
.waitlist-pulse {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--primary);
  display: inline-block;
  animation: waitlist-pulse-dot 2s ease-in-out infinite;
}
@keyframes waitlist-pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(45,212,191,0.4); }
  50% { box-shadow: 0 0 0 6px rgba(45,212,191,0); }
}

/* Form */
.waitlist-form {
  display: flex;
  gap: 8px;
  width: 100%;
}
.waitlist-input {
  flex: 1;
  padding: 15px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.waitlist-input::placeholder {
  color: var(--text-muted);
}
.waitlist-input:focus {
  border-color: var(--primary);
  background: rgba(45, 212, 191, 0.03);
  box-shadow: 0 0 0 3px var(--primary-soft), 0 0 24px rgba(45, 212, 191, 0.08);
}
.waitlist-btn {
  padding: 15px 28px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: transform .2s, box-shadow .2s;
}
.waitlist-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(45, 212, 191, 0.3);
}
.waitlist-btn:hover .waitlist-btn-arrow {
  transform: translateX(3px);
}
.waitlist-btn-arrow {
  transition: transform .2s;
  font-size: 18px;
}
.waitlist-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}
.waitlist-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 30%, rgba(255,255,255,0.15) 50%, transparent 70%);
  transform: translateX(-100%);
  animation: shimmer 3s ease-in-out infinite;
}

/* Social proof */
.waitlist-social-proof {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.waitlist-avatars {
  display: flex;
  flex-shrink: 0;
}
.waitlist-av {
  width: 26px; height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  border: 2px solid var(--bg-card);
  margin-left: -6px;
}
.waitlist-av:first-child { margin-left: 0; }
.waitlist-count {
  font-size: 12px;
  color: var(--text-secondary);
}

/* Success */
.waitlist-success {
  padding: 18px 20px;
  background: rgba(34, 197, 94, 0.06);
  border: 1px solid rgba(34, 197, 94, 0.15);
  border-radius: 14px;
  color: #22C55E;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  animation: success-pop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes success-pop {
  0% { transform: scale(0.9); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* Hint */
.waitlist-hint {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 12px;
}
.waitlist-hint strong {
  color: var(--text);
}
.waitlist-savings {
  color: var(--primary);
  font-weight: 600;
}

/* CTA section (no card wrapper) */
.cta-box .waitlist-form-wrap {
  margin: 0 auto;
}
.cta-box .waitlist-hint {
  text-align: center;
}

@media (max-width: 600px) {
  .waitlist-form {
    flex-direction: column;
  }
  .waitlist-btn {
    width: 100%;
    justify-content: center;
  }
  .waitlist-card-inner {
    padding: 20px 16px;
  }
}

/* ─── Pricing ─────────────────────────────────────────────── */

/* Tab Toggle */
.pricing-toggle {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 4px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}
.pricing-toggle-btn {
  padding: 10px 28px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all .25s;
}
.pricing-toggle-btn:hover {
  color: var(--text-secondary);
}
.pricing-toggle-btn.active {
  color: var(--bg);
  background: var(--primary);
  box-shadow: 0 2px 12px rgba(45, 212, 191, 0.3);
}

/* Tab panels */
.pricing-tab { display: none; }
.pricing-tab.active { display: block; }

/* Grids */
.pricing-grid {
  display: grid;
  gap: 24px;
  max-width: 720px;
  margin: 0 auto;
}
.pricing-grid-2 { grid-template-columns: repeat(2, 1fr); }
.pricing-grid-3 { grid-template-columns: repeat(3, 1fr); max-width: 1060px; }
.pricing-grid-4 { grid-template-columns: repeat(4, 1fr); max-width: 1200px; }
.pricing-grid-5 { grid-template-columns: repeat(5, 1fr); max-width: 1400px; gap: 16px; }
.pricing-grid-5 .pricing-card { padding: 28px 20px; border-radius: 16px; }
.pricing-grid-5 .pricing-tier { font-size: 18px; margin-bottom: 8px; }
.pricing-grid-5 .pricing-amount { font-size: 36px; letter-spacing: -1.5px; }
.pricing-grid-5 .pricing-features li { font-size: 12px; gap: 8px; }
.pricing-grid-5 .pricing-features { gap: 8px; margin-bottom: 24px; }
.pricing-grid-5 .pricing-desc { font-size: 12px; margin-bottom: 16px; }
.pricing-grid-5 .pricing-card-badge { font-size: 8px; padding: 3px 10px; margin-bottom: 12px; }

.pro-highlight { color: var(--primary) !important; font-weight: 700; }

/* Cards */
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  transition: all .3s;
  display: flex;
  flex-direction: column;
}
.pricing-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--cyan));
  opacity: 0.5;
}
.pricing-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,.35);
}
.pricing-card-pro {
  border-color: rgba(139, 92, 246, 0.25);
  background: linear-gradient(180deg, rgba(139, 92, 246, 0.04) 0%, var(--bg-card) 40%);
}
.pricing-card-pro::before {
  background: linear-gradient(90deg, var(--accent), var(--pink));
  opacity: 1;
}
.pricing-card-premium {
  border-color: rgba(45, 212, 191, 0.2);
  background: linear-gradient(180deg, rgba(45, 212, 191, 0.04) 0%, var(--bg-card) 40%);
}
.pricing-card-premium::before {
  background: linear-gradient(90deg, var(--primary), var(--cyan));
  opacity: 1;
}
.pricing-card-badge.premium {
  color: var(--primary);
  background: var(--primary-soft);
  border-color: var(--border-glow);
}
.pricing-card-badge {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--primary);
  background: var(--primary-soft);
  border: 1px solid var(--border-glow);
  padding: 4px 12px;
  border-radius: 6px;
  margin-bottom: 16px;
  width: fit-content;
}
.pricing-card-badge.soon {
  color: var(--accent);
  background: var(--accent-soft);
  border-color: rgba(139, 92, 246, 0.2);
}
.pricing-tier {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 12px;
}
.pricing-price {
  margin-bottom: 6px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.pricing-amount {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -2px;
  background: linear-gradient(135deg, var(--text) 0%, var(--text-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.pricing-period {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}
.pricing-per-client {
  font-size: 12px;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 8px;
  opacity: 0.85;
}
.pricing-grid-5 .pricing-per-client { font-size: 11px; margin: -4px 0 8px; }
.pricing-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}
.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 32px;
  flex: 1;
}
.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-secondary);
}
.pricing-features li .check {
  width: 18px; height: 18px;
  border-radius: 5px;
  background: var(--primary-soft);
  border: 1px solid var(--border-glow);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  font-size: 9px; font-weight: 800;
  flex-shrink: 0;
}
/* Strikethrough original price */
.pricing-original {
  font-size: 22px;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: line-through;
  text-decoration-color: var(--red);
  margin-right: 8px;
  opacity: 0.6;
}
.pricing-amount-highlight {
  background: linear-gradient(135deg, var(--primary) 0%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Coach client note */
.pricing-client-note {
  text-align: center;
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 32px;
  padding: 14px 24px;
  background: var(--primary-soft);
  border-radius: 10px;
  border: 1px solid rgba(45, 212, 191, 0.12);
}
.pricing-client-note strong {
  color: var(--primary);
}

/* Enterprise bar */
.pricing-enterprise {
  margin-top: 24px;
  max-width: 1060px;
  margin-left: auto;
  margin-right: auto;
}
.pricing-enterprise-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px 32px;
  transition: all .3s;
}
.pricing-enterprise-inner:hover {
  border-color: var(--border-glow);
  box-shadow: 0 8px 30px rgba(0,0,0,.2);
}
.pricing-enterprise-inner h4 {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 4px;
}
.pricing-enterprise-inner p {
  font-size: 13px;
  color: var(--text-secondary);
}
.pricing-enterprise-inner .btn-outline {
  white-space: nowrap;
  flex-shrink: 0;
}

/* Competitor Comparison */
.competitor-section { padding-top: 60px; }
.competitor-grid { margin-top: 48px; }
.competitor-table-wrap {
  overflow-x: auto;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--bg-card);
}
.competitor-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.competitor-table th,
.competitor-table td {
  padding: 14px 16px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.competitor-table th:first-child,
.competitor-table td:first-child {
  text-align: left;
  font-weight: 600;
  color: var(--text);
  padding-left: 24px;
}
.competitor-table thead th {
  background: var(--bg-elevated);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
}
.comp-price {
  font-size: 10px;
  font-weight: 500;
  color: var(--text-muted);
  display: block;
  margin-top: 2px;
}
.comp-them { color: var(--text-secondary); }
.comp-us {
  color: var(--primary) !important;
  background: var(--primary-soft);
  position: relative;
}
.comp-us::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--primary);
}
.comp-yes {
  color: var(--primary);
  font-weight: 800;
  background: rgba(45, 212, 191, 0.04);
}
.competitor-table tbody tr:last-child td { border-bottom: none; }
.competitor-bottom {
  text-align: center;
  margin-top: 32px;
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
}
.competitor-bottom strong { color: var(--text); }

/* Showcase macro preview */
.showcase-macro-preview {
  margin: 20px 0 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 18px;
}
.showcase-food-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.showcase-food-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.showcase-pills {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.showcase-pill {
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
}
.showcase-pill-cal {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  margin-left: auto;
}

/* ROI Section */
.roi-section { padding-top: 40px; }
.roi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
@media (max-width: 900px) { .roi-grid { grid-template-columns: 1fr; } }
.roi-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
}
.roi-icon { font-size: 28px; margin-bottom: 12px; }
.roi-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 20px;
}
.roi-breakdown {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.roi-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-secondary);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.roi-time { color: var(--primary); font-weight: 600; font-size: 13px; }
.roi-cost { color: var(--text-muted); font-weight: 500; font-size: 12px; text-align: right; max-width: 140px; }
.roi-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  padding-top: 6px;
}
.roi-total .roi-time,
.roi-total .roi-cost { font-size: 15px; }
.roi-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}
.roi-perclient { margin-top: 40px; }
.roi-perclient-inner {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 36px;
}
.roi-perclient-inner h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 24px;
  text-align: center;
}
.roi-client-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .roi-client-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .roi-client-grid { grid-template-columns: 1fr; } }
.roi-client-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
}
.roi-client-card.featured {
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(45, 212, 191, 0.08);
}
.roi-client-tier {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.roi-client-math {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 10px;
}
.roi-client-result {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 10px;
}
.roi-client-context {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}
.roi-bottom-line {
  text-align: center;
  margin-top: 28px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Waitlist strikethrough in hint */
.waitlist-strike {
  text-decoration: line-through;
  text-decoration-color: var(--red);
  opacity: 0.5;
  margin-right: 2px;
}

/* Waitlist counter highlight */
.waitlist-counter {
  color: var(--primary);
  font-weight: 700;
}

/* ─── Comparison Table ───────────────────────────────────── */
.comparison-section {
  padding-top: 0;
}
.comparison-table-wrap {
  max-width: 680px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
}
.comparison-table th,
.comparison-table td {
  padding: 14px 20px;
  text-align: left;
  font-size: 13px;
  border-bottom: 1px solid var(--border);
}
.comparison-table thead th {
  background: rgba(45, 212, 191, 0.03);
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
  border-bottom: 1px solid var(--border-light);
}
.comp-feature-col {
  width: 50%;
}
.comp-plan-col {
  text-align: center !important;
  width: 25%;
}
.comp-pro-col {
  background: rgba(139, 92, 246, 0.04);
  position: relative;
}
.comp-pro-price {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 2px;
}
.comp-strike {
  text-decoration: line-through;
  text-decoration-color: var(--red);
  opacity: 0.5;
  margin-right: 2px;
}
.comparison-table td {
  color: var(--text-secondary);
}
.comp-check {
  text-align: center !important;
  color: var(--primary) !important;
  font-weight: 700;
  font-size: 15px !important;
}
.comp-check.comp-pro {
  color: var(--accent) !important;
  background: rgba(139, 92, 246, 0.04);
}
.comp-x {
  text-align: center !important;
  color: var(--text-muted) !important;
  opacity: 0.4;
}
.comp-divider td {
  border-top: 2px solid var(--border-light);
}
.comparison-table tbody tr:last-child td {
  border-bottom: none;
}
.comparison-table tbody tr {
  transition: background .2s;
}
.comparison-table tbody tr:hover {
  background: rgba(45, 212, 191, 0.02);
}

/* ─── FAQ ─────────────────────────────────────────────────── */
.faq-list {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color .3s;
}
.faq-item:hover {
  border-color: var(--border-glow);
}
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  background: none;
  border: none;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  gap: 16px;
}
.faq-icon {
  font-size: 20px;
  font-weight: 300;
  color: var(--text-muted);
  transition: transform .3s;
  flex-shrink: 0;
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
  color: var(--primary);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s cubic-bezier(0.23, 1, 0.32, 1), padding .3s;
}
.faq-item.open .faq-answer {
  max-height: 300px;
}
.faq-answer p {
  padding: 0 22px 18px;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
}
.faq-answer a {
  color: var(--primary);
  font-weight: 600;
}

/* ─── Verified Badge ─────────────────────────────────────── */
.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 9px;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-soft);
  padding: 1px 6px;
  border-radius: 4px;
  margin-right: 4px;
  font-style: normal;
}

/* ─── Sticky Mobile CTA ──────────────────────────────────── */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99;
  padding: 12px 16px;
  padding-bottom: calc(12px + env(safe-area-inset-bottom));
  background: rgba(5, 5, 7, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-glow);
}
.mobile-cta-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 14px 24px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}
.mobile-cta-btn:hover {
  color: #fff;
}
.mobile-cta-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
  transform: translateX(-100%);
  animation: shimmer 3s ease-in-out infinite;
}

/* ─── Animations ──────────────────────────────────────────── */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ─── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .iphone-side { display: none; }
  .float-card { display: none; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
  .showcase-grid { gap: 48px; }
  .portal-clients-grid { grid-template-columns: repeat(2, 1fr); }
  .portal-features-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid-5 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero-content { gap: 48px; }
  .showcase-grid, .showcase-grid.reverse { grid-template-columns: 1fr; text-align: center; direction: ltr; gap: 40px; }
  .showcase-grid > * { direction: ltr; }
  .showcase-text { order: 1; }
  .showcase-phone-wrap { order: 0; }
  .showcase-points li { justify-content: center; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps .step::after { display: none; }
  .portal-sidebar { display: none; }
}
@media (max-width: 600px) {
  .hero-text h1 { letter-spacing: -1.5px; }
  .features-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .menu-toggle { display: block; }
  .iphone-frame { width: 250px; height: 510px; border-radius: 42px; }
  .iphone-screen, .iphone-screen-inner { border-radius: 34px; }
  .cta-box { padding: 48px 24px; }
  .footer-content { flex-direction: column; gap: 16px; }
  .portal-stats { grid-template-columns: 1fr !important; }
  .portal-clients-grid { grid-template-columns: 1fr !important; }
  .portal-detail-grid { grid-template-columns: 1fr !important; }
  .portal-features-grid { grid-template-columns: 1fr !important; }
  .portal-tabs { flex-wrap: wrap; }
  .trust-logos { gap: 16px; }
  .trust-item span { display: none; }
  .comparison-table th, .comparison-table td { padding: 10px 12px; font-size: 12px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-grid-2 { grid-template-columns: 1fr; }
  .pricing-grid-3 { grid-template-columns: 1fr; }
  .pricing-grid-4 { grid-template-columns: 1fr; }
  .pricing-grid-5 { grid-template-columns: 1fr; }
  .pricing-enterprise-inner { flex-direction: column; text-align: center; gap: 16px; }
  .mobile-cta-bar { display: block; }
  .footer { padding-bottom: 80px; }
}
.nav-links.show {
  display: flex !important; flex-direction: column;
  position: absolute; top: 56px; left: 0; right: 0;
  background: rgba(5, 5, 7, 0.95); backdrop-filter: blur(20px);
  padding: 20px 24px; gap: 16px;
  border-bottom: 1px solid var(--border);
}
