/* ═══════════════════════════════════════════════════════════════════
   styleSheet.css — VitaTrack Apple-style redesign
   ═══════════════════════════════════════════════════════════════════ */

/* ─── Custom Properties ─────────────────────────────────────────── */
:root {
  --bg: #ffffff;
  --surface: #f5f5f7;
  --surface-2: #e8e8ed;
  --surface-dark: #1d1d1f;
  --surface-dark-2: #2c2c2e;
  --text-primary: #1d1d1f;
  --text-secondary: #6e6e73;
  --text-tertiary: #aeaeb2;
  --accent: #bf5af2;
  --accent-hover: #a44fd4;
  --accent-blue: #0071e3;
  --accent-green: #30d158;
  --accent-orange: #ff9f0a;
  --accent-red: #ff3b5c;
  --accent-purple: #bf5af2;
  --accent-pink: #ff375f;
  --nav-bg: rgba(255,255,255,0.85);
  --border: rgba(0,0,0,0.08);
  --border-dark: rgba(255,255,255,0.1);
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-2xl: 36px;
  --radius-pill: 980px;
  --shadow-card: 0 2px 20px rgba(0,0,0,0.06);
  --shadow-card-hover: 0 20px 60px rgba(0,0,0,0.12);
  --shadow-phone: 0 60px 120px rgba(0,0,0,0.18), 0 20px 40px rgba(0,0,0,0.10);
  --transition: 0.25s ease;
  --transition-slow: 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text',
    'Helvetica Neue', Arial, sans-serif;
  background: var(--bg);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { display: block; }
a { text-decoration: none; }
ul { list-style: none; }
strong { font-weight: 600; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ─── Scroll Progress Bar ────────────────────────────────────────── */
#scrollProgress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, #bf5af2, #9b59d4);
  z-index: 999;
  transition: width 0.1s linear;
}

/* ─── Navigation ─────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--nav-bg);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition), box-shadow var(--transition);
}

.nav.scrolled {
  background: rgba(255,255,255,0.95);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06), 0 4px 20px rgba(0,0,0,0.04);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-primary);
  flex-shrink: 0;
}

.nav-logo-img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  object-fit: cover;
}

.nav-logo-text {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-secondary);
  transition: color var(--transition);
}

.nav-links a:hover { color: var(--text-primary); }

.nav-cta-link {
  color: var(--accent) !important;
  font-weight: 500 !important;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── Mobile Menu ────────────────────────────────────────────────── */
.mobile-menu {
  position: fixed;
  inset: 52px 0 0 0;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 199;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.mobile-menu-inner {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mobile-link {
  display: block;
  font-size: 20px;
  font-weight: 500;
  color: var(--text-primary);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--transition);
}

.mobile-link:hover { color: var(--accent); }

/* ─── Hero ───────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: calc(100vh - 52px);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 80px 28px;
}

.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #fbfbfd 0%, #f0f0f5 55%, #eaeaf0 100%);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  width: 100%;
}

.hero-text { flex: 1; max-width: 560px; }

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

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,113,227,0.1);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.1px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(0,113,227,0.2);
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-headline {
  font-size: clamp(52px, 6vw, 80px);
  font-weight: 700;
  letter-spacing: -3px;
  line-height: 1.03;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.text-gradient {
  background: linear-gradient(135deg, #bf5af2 0%, #9b59d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subhead {
  font-size: 19px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-frame {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-glow {
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(191,90,242,0.18) 0%, transparent 70%);
  pointer-events: none;
  animation: glow-pulse 4s ease-in-out infinite;
}

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

.hero-phone {
  width: 320px;
  max-width: 90vw;
  border-radius: 40px;
  box-shadow: var(--shadow-phone);
  animation: float 6s ease-in-out infinite;
  position: relative;
  z-index: 1;
  will-change: transform;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33% { transform: translateY(-12px) rotate(0.5deg); }
  66% { transform: translateY(-6px) rotate(-0.3deg); }
}

.hero-scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1;
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, transparent, var(--text-secondary));
  animation: scroll-hint 2s ease-in-out infinite;
}

@keyframes scroll-hint {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); transform-origin: top; }
  50% { opacity: 0.8; transform: scaleY(1); }
}

/* ─── Buttons ────────────────────────────────────────────────────── */
.btn-appstore {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--text-primary);
  color: #ffffff;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.2px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  transition: background var(--transition), transform 0.2s var(--spring), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-appstore::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background 0.2s;
}

.btn-appstore:hover {
  background: #3a3a3c;
  transform: scale(1.02);
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.btn-appstore--large {
  font-size: 17px;
  padding: 16px 36px;
  gap: 12px;
}

.appstore-icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex-shrink: 0;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-size: 15px;
  font-weight: 500;
  transition: gap var(--transition), opacity var(--transition);
}

.btn-ghost:hover { gap: 10px; opacity: 0.8; }

.btn-ghost--subtle {
  color: var(--accent);
  font-size: 15px;
  font-weight: 500;
  margin-top: 24px;
  display: inline-block;
  transition: opacity var(--transition);
}

.btn-ghost--subtle:hover { opacity: 0.7; }

/* ─── Marquee ────────────────────────────────────────────────────── */
.marquee-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  padding: 16px 0;
  overflow: hidden;
}

.marquee-wrapper { overflow: hidden; }

.marquee-track { display: flex; }

.marquee-content {
  display: flex;
  align-items: center;
  gap: 20px;
  white-space: nowrap;
  animation: marquee-scroll 28s linear infinite;
  padding-right: 20px;
}

.marquee-content span {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: -0.1px;
}

.marquee-dot {
  color: var(--text-tertiary) !important;
  font-size: 18px !important;
  font-weight: 300 !important;
  margin: 0 -6px;
}

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

/* ─── Section Shared ─────────────────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: 72px;
}

.section-eyebrow {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 1.08;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.section-sub {
  font-size: 19px;
  line-height: 1.55;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto;
}

/* ─── Features Grid ──────────────────────────────────────────────── */
.features-section {
  padding: 120px 0;
  background: var(--bg);
}

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

.feature-card {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: 48px 36px;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-slow), box-shadow var(--transition-slow);
  will-change: transform;
}

.feature-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: var(--shadow-card-hover);
}

.feature-card--dark {
  background: var(--surface-dark);
  color: #f5f5f7;
}

.feature-card--dark h3 { color: #f5f5f7; }

.feature-icon-wrap {
  margin-bottom: 24px;
}

.feature-icon {
  font-size: 44px;
  line-height: 1;
  display: block;
}

.feature-card h3 {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.4px;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.feature-card p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.feature-card--dark p { color: #aeaeb2; }

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

.feature-bullets li {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-secondary);
  padding-left: 16px;
  position: relative;
}

.feature-bullets li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 500;
}

.feature-bullets--dark li { color: #aeaeb2; }
.feature-bullets--dark li::before { color: #5ac8fa; }

/* ─── Deep Dive Sections ─────────────────────────────────────────── */
.deep-dive {
  padding: 120px 0;
  background: var(--bg);
}

.deep-dive--dark {
  background: var(--surface-dark);
}

.deep-dive-layout {
  display: flex;
  align-items: center;
  gap: 80px;
}

.deep-dive-layout--reverse {
  flex-direction: row-reverse;
}

.deep-dive-text {
  flex: 1;
  max-width: 520px;
}

.deep-dive-text h2 {
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 1.08;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.deep-dive-text p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.deep-dive-visual {
  flex: 1;
  display: flex;
  justify-content: center;
}

/* ─── Pills ──────────────────────────────────────────────────────── */
.pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.pill {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  background: rgba(0,113,227,0.08);
  border: 1px solid rgba(0,113,227,0.15);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  letter-spacing: -0.1px;
}

.pill--dark {
  color: #5ac8fa;
  background: rgba(90,200,250,0.1);
  border-color: rgba(90,200,250,0.2);
}

/* ─── Mock Nutrition Card ────────────────────────────────────────── */
.mock-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.12), 0 8px 24px rgba(0,0,0,0.06);
  min-width: 320px;
  max-width: 380px;
  width: 100%;
}

.mock-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.mock-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

.mock-goal {
  font-size: 13px;
  color: var(--text-secondary);
}

/* Calorie ring */
.calorie-ring-wrap {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.calorie-ring {
  position: relative;
  width: 110px;
  height: 110px;
  flex-shrink: 0;
}

.ring-svg { width: 100%; height: 100%; transform: rotate(-90deg); }

.ring-arc {
  transition: stroke-dashoffset 1.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.ring-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.ring-num {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--text-primary);
  line-height: 1;
}

.ring-unit {
  font-size: 11px;
  color: var(--text-secondary);
  margin-top: 2px;
}

/* Macro bars */
.macro-stack {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.macro-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.macro-name {
  font-size: 12px;
  color: var(--text-secondary);
  width: 44px;
  flex-shrink: 0;
}

.macro-bar-track {
  flex: 1;
  height: 6px;
  background: var(--surface-2);
  border-radius: 3px;
  overflow: hidden;
}

.macro-bar-fill {
  height: 100%;
  border-radius: 3px;
  width: 0%;
  transition: width 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.macro-grams {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary);
  width: 32px;
  text-align: right;
  flex-shrink: 0;
}

/* Mock meals */
.mock-meals {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.mock-meal-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--text-secondary);
}

.mock-meal-row span:last-child {
  font-weight: 500;
  color: var(--text-primary);
}

/* ─── Mock Workout Card (form-based, matches real iOS UI) ────────── */
.workout-mock {
  background: #1c1c1e;
  border: 1px solid rgba(255,255,255,0.08);
  padding: 20px;
}

/* Exercise header */
.wf-exercise-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.wf-exercise-name {
  font-size: 17px;
  font-weight: 700;
  color: #f5f5f7;
  letter-spacing: -0.3px;
}

.wf-set-counter {
  font-size: 12px;
  color: #636366;
}

/* Set list */
.wf-set-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

/* Base set card */
.wf-set-card {
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Done state */
.wf-set-card--done {
  background: transparent;
}

.wf-set-num {
  font-size: 12px;
  color: #636366;
  width: 36px;
  flex-shrink: 0;
}

.wf-set-result {
  font-size: 13px;
  color: #aeaeb2;
  flex: 1;
}

.wf-set-check {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-green);
}

/* Active state */
.wf-set-card--active {
  background: rgba(191,90,242,0.08);
  border: 1px solid rgba(191,90,242,0.18);
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 12px;
}

.wf-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0;
}

.wf-row + .wf-row {
  border-top: 1px solid rgba(255,255,255,0.05);
}

.wf-label {
  font-size: 13px;
  color: #aeaeb2;
}

/* Stepper */
.wf-stepper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.wf-stepper-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: none;
  color: #f5f5f7;
  font-size: 16px;
  cursor: default;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.wf-stepper-val {
  font-size: 15px;
  font-weight: 700;
  color: #f5f5f7;
  min-width: 20px;
  text-align: center;
}

.wf-weight-val {
  font-size: 15px;
  font-weight: 700;
  color: #f5f5f7;
}

/* BW + Warm-up row */
.wf-bw-btn {
  font-size: 11px;
  font-weight: 600;
  color: #aeaeb2;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 6px;
  padding: 4px 10px;
  cursor: default;
  letter-spacing: 0.2px;
}

.wf-warmup-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Toggle (off state) */
.wf-toggle {
  width: 36px;
  height: 20px;
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  position: relative;
}

.wf-toggle::after {
  content: '';
  width: 16px;
  height: 16px;
  background: #636366;
  border-radius: 50%;
  position: absolute;
  top: 2px;
  left: 2px;
}

/* Action buttons row */
.wf-row--btns {
  gap: 8px;
  padding-top: 10px !important;
  border-top: 1px solid rgba(255,255,255,0.06) !important;
  justify-content: flex-end;
}

.wf-btn-bordered {
  font-size: 12px;
  font-weight: 500;
  color: #aeaeb2;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 8px;
  padding: 6px 12px;
  cursor: default;
}

.wf-btn-done {
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: var(--accent-purple);
  border: none;
  border-radius: 8px;
  padding: 6px 14px;
  cursor: default;
}

/* Pending state */
.wf-set-card--pending {
  background: transparent;
  opacity: 0.5;
}

.wf-set-pending {
  font-size: 13px;
  color: #48484a;
}

/* Add Set */
.wf-add-set {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-purple);
  background: none;
  border: none;
  padding: 6px 0;
  cursor: default;
  margin-bottom: 14px;
  display: block;
}

/* Rest Timer */
.wf-rest-timer {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 14px;
  margin-bottom: 14px;
}

.wf-rest-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #636366;
  margin-bottom: 10px;
}

.wf-rest-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 10px;
}

.wf-rest-adj {
  font-size: 12px;
  font-weight: 600;
  color: #aeaeb2;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 5px 12px;
  cursor: default;
}

.wf-rest-dur {
  font-size: 22px;
  font-weight: 700;
  color: #f5f5f7;
  letter-spacing: -0.5px;
  min-width: 52px;
  text-align: center;
}

.wf-rest-start {
  width: 100%;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: var(--accent-purple);
  border: none;
  border-radius: 10px;
  padding: 9px;
  cursor: default;
  letter-spacing: -0.1px;
}

/* PR Indicator */
.wf-pr-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,214,10,0.08);
  border: 1px solid rgba(255,214,10,0.18);
  border-radius: 10px;
  padding: 8px 12px;
}

.wf-pr-text {
  font-size: 14px;
  font-weight: 700;
  color: #ffd60a;
  letter-spacing: -0.2px;
}

/* ─── Apple Health Section ───────────────────────────────────────── */
.health-section {
  padding: 120px 0;
  background: var(--surface);
}

.health-inner {
  text-align: center;
}

.health-badge-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.health-badge-icon svg {
  filter: drop-shadow(0 8px 24px rgba(255,59,92,0.3));
}

.health-inner h2 {
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 1.08;
  margin-bottom: 20px;
}

.health-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  text-align: left;
}

.health-item {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
}

.health-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.health-item-icon {
  font-size: 28px;
  flex-shrink: 0;
}

.health-item strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.health-item span {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* ─── Stats Section ──────────────────────────────────────────────── */
.stats-section {
  padding: 100px 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item {
  padding: 32px 20px;
}

.stat-num {
  display: inline-block;
  font-size: clamp(40px, 4vw, 60px);
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 1;
  color: var(--text-primary);
}

.stat-suffix {
  display: inline-block;
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--accent);
  vertical-align: top;
  margin-top: 4px;
}

.stat-label {
  margin-top: 12px;
  font-size: 15px;
  color: var(--text-secondary);
  font-weight: 400;
}

/* ─── Privacy Section ────────────────────────────────────────────── */
.privacy-section {
  padding: 120px 0;
  background: var(--surface);
}

.privacy-layout {
  display: flex;
  align-items: center;
  gap: 80px;
}

.privacy-text {
  flex: 1;
  max-width: 520px;
}

.privacy-text h2 {
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 1.08;
  margin-bottom: 20px;
}

.privacy-text > p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 36px;
}

.privacy-checks {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 8px;
}

.privacy-check {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.check-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.privacy-check strong {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  display: block;
  margin-bottom: 4px;
}

.privacy-check p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.privacy-visual {
  flex: 1;
  display: flex;
  justify-content: center;
}

.privacy-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.1), 0 8px 24px rgba(0,0,0,0.05);
  min-width: 280px;
  max-width: 340px;
  width: 100%;
}

.privacy-card-header {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.privacy-shield { font-size: 32px; }

.privacy-card-header strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.privacy-card-header span {
  font-size: 13px;
  color: var(--accent-green);
  font-weight: 500;
}

.privacy-rows {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.privacy-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text-primary);
}

.pcheck {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(48,209,88,0.12);
  color: var(--accent-green);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.privacy-card-footer {
  font-size: 12px;
  color: var(--text-tertiary);
  text-align: center;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

/* ─── CTA Section ────────────────────────────────────────────────── */
.cta-section {
  padding: 140px 28px;
  background: var(--surface-dark);
  text-align: center;
}

.cta-inner {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
}

.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(191,90,242,0.2) 0%, transparent 70%);
  pointer-events: none;
}

.cta-inner h2 {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 700;
  letter-spacing: -2.5px;
  line-height: 1.06;
  color: #f5f5f7;
  margin-bottom: 20px;
}

.cta-inner > p {
  font-size: 19px;
  line-height: 1.55;
  color: #aeaeb2;
  margin-bottom: 48px;
}

.cta-fine {
  margin-top: 20px;
  font-size: 13px;
  color: #636366 !important;
}

/* ─── Footer ─────────────────────────────────────────────────────── */
.footer {
  background: var(--surface-dark);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 40px 0 28px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #f5f5f7;
  font-size: 16px;
  font-weight: 600;
}

.footer-brand .nav-logo-img {
  border-radius: 7px;
}

.footer-nav {
  display: flex;
  gap: 24px;
}

.footer-nav a {
  font-size: 13px;
  color: #636366;
  transition: color var(--transition);
}

.footer-nav a:hover { color: #aeaeb2; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-copy {
  font-size: 13px;
  color: #636366;
}

.footer-disclaimer {
  font-size: 12px;
  color: #48484a;
  max-width: 480px;
  line-height: 1.5;
  text-align: right;
}

/* ─── Scroll Reveal Animations ───────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hero entrance animations */
.animate-fade-up {
  opacity: 0;
  transform: translateY(24px);
  animation: fade-up-in 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.animate-fade-in {
  opacity: 0;
  animation: fade-in 1s ease forwards;
}

.anim-delay-1 { animation-delay: 0.1s; }
.anim-delay-2 { animation-delay: 0.22s; }
.anim-delay-3 { animation-delay: 0.36s; }
.anim-delay-4 { animation-delay: 0.55s; }

@keyframes fade-up-in {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fade-in {
  to { opacity: 1; }
}

/* ─── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .health-grid { grid-template-columns: repeat(2, 1fr); }
  .deep-dive-layout { gap: 48px; }
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  .hero-content {
    flex-direction: column-reverse;
    text-align: center;
    gap: 40px;
  }

  .hero-text { max-width: 100%; }
  .hero-subhead { max-width: 100%; }
  .hero-actions { justify-content: center; }
  .hero-headline { letter-spacing: -2px; }

  .badge-pill { font-size: 12px; }

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

  .deep-dive-layout,
  .deep-dive-layout--reverse {
    flex-direction: column;
    text-align: center;
  }

  .deep-dive-text { max-width: 100%; }
  .pill-group { justify-content: center; }

  .privacy-layout { flex-direction: column; text-align: center; }
  .privacy-text { max-width: 100%; }
  .privacy-check { text-align: left; }

  .footer-top { flex-direction: column; gap: 20px; text-align: center; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; }
  .footer-disclaimer { text-align: center; }
}

@media (max-width: 640px) {
  .hero-phone { width: 260px; }
  .features-grid { grid-template-columns: 1fr; }
  .health-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .mock-card { min-width: unset; }
  .calorie-ring-wrap { flex-direction: column; align-items: flex-start; }
  .footer-nav { flex-direction: column; align-items: center; gap: 14px; }
  .section-title { letter-spacing: -1.5px; }
}

@media (max-width: 480px) {
  .hero-headline { letter-spacing: -1.5px; }
  .hero-phone { width: 230px; }
  .nav-logo-text { display: none; }
  .section-header { margin-bottom: 48px; }
  .features-section, .deep-dive, .health-section, .privacy-section { padding: 80px 0; }
  .stats-section { padding: 60px 0; }
  .cta-section { padding: 100px 28px; }
  .watch-section { padding: 80px 0; }
  .pro-section { padding: 80px 0; }
  .pro-grid { grid-template-columns: 1fr; }
}

/* ─── Ring label top ─────────────────────────────────────────────── */
.ring-label-top {
  font-size: 10px;
  font-weight: 500;
  color: var(--accent-green);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-bottom: 1px;
}

/* ─── Apple Watch Section ────────────────────────────────────────── */
.watch-section {
  padding: 120px 0;
  background: var(--surface-dark);
}

.watch-inner {
  display: flex;
  align-items: center;
  gap: 80px;
}

.watch-icon {
  font-size: 120px;
  line-height: 1;
  flex-shrink: 0;
  filter: drop-shadow(0 20px 40px rgba(191,90,242,0.3));
  animation: float 5s ease-in-out infinite;
}

.watch-text {
  flex: 1;
}

.watch-text h2 {
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 1.08;
  color: #f5f5f7;
  margin-bottom: 20px;
}

.watch-text > p {
  font-size: 17px;
  line-height: 1.6;
  color: #aeaeb2;
  margin-bottom: 32px;
  max-width: 480px;
}

.watch-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.watch-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 500;
  color: #f5f5f7;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}

.watch-feature-icon {
  font-size: 22px;
  flex-shrink: 0;
}

/* ─── Health Columns Layout ──────────────────────────────────────── */
.health-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 48px;
  text-align: left;
}

.health-col-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  display: inline-block;
  margin-bottom: 20px;
}

.health-col-label--read {
  background: rgba(0,113,227,0.1);
  color: var(--accent);
  border: 1px solid rgba(0,113,227,0.2);
}

.health-col-label--write {
  background: rgba(48,209,88,0.1);
  color: var(--accent-green);
  border: 1px solid rgba(48,209,88,0.2);
}

.health-items-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.health-item--write {
  border-left: 2px solid rgba(48,209,88,0.3);
}

/* ─── Workout metadata ───────────────────────────────────────────── */
.workout-meta {
  font-size: 12px;
  color: #636366;
  margin-top: 3px;
}

/* ─── Pro Section ────────────────────────────────────────────────── */
.pro-section {
  padding: 120px 0;
  background: var(--surface);
}

.pro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.pro-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  box-shadow: var(--shadow-card);
  position: relative;
}

.pro-card--pro {
  background: var(--surface-dark);
  border: 1px solid rgba(191,90,242,0.3);
  box-shadow: 0 20px 60px rgba(191,90,242,0.15), var(--shadow-card);
}

.pro-card-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
  background: linear-gradient(135deg, #bf5af2, #9b59d4);
  color: #fff;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
}

.pro-card-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.pro-card-price {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -2px;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 6px;
}

.pro-card--pro .pro-card-price { color: #f5f5f7; }

.pro-card-price span {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.5px;
  color: var(--text-secondary);
}

.pro-card-sub {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.pro-card--pro .pro-card-sub {
  color: #636366;
  border-color: rgba(255,255,255,0.08);
}

.pro-features-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pro-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-primary);
  line-height: 1.4;
}

.pro-card--pro .pro-feature { color: #f5f5f7; }

.pro-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.pro-check--yes {
  background: rgba(0,113,227,0.12);
  color: var(--accent);
}

.pro-check--no {
  background: var(--surface-2);
  color: var(--text-tertiary);
  font-size: 12px;
}

.pro-check--purple {
  background: rgba(191,90,242,0.15);
  color: var(--accent-purple);
}

.btn-appstore--purple {
  background: var(--accent-purple) !important;
}

.btn-appstore--purple:hover {
  background: #a44fd4 !important;
}

/* ─── Pill purple variant ────────────────────────────────────────── */
.pill--purple {
  color: var(--accent-purple);
  background: rgba(191,90,242,0.1);
  border-color: rgba(191,90,242,0.2);
}

/* ─── Updated responsive for new sections ───────────────────────── */
@media (max-width: 860px) {
  .watch-inner { flex-direction: column; text-align: center; gap: 40px; }
  .watch-icon { font-size: 80px; }
  .watch-text > p { max-width: 100%; }
  .watch-features { grid-template-columns: 1fr; }
  .health-columns { grid-template-columns: 1fr; }
  .pro-grid { grid-template-columns: 1fr; max-width: 480px; }
}

@media (max-width: 640px) {
  .watch-section, .pro-section { padding: 80px 0; }
}
