/* ==========================================================
   PawPing – Apple-Inspired iOS Native Website Stylesheet
   Color Theme: #6E54D7 Purple (matching the iOS App)
   Design Language: Apple Human Interface Guidelines
   ========================================================== */

/* ---------- CSS Custom Properties ---------- */
:root {
  /* App Brand Purple Palette */
  --purple: #6E54D7;
  --purple-light: #8D75F6;
  --purple-dark: #583EBF;
  --purple-soft: #F0EDFD;
  --purple-tint: rgba(110, 84, 215, 0.08);
  --purple-glow: rgba(110, 84, 215, 0.22);
  --lavender: #F6F4FC;
  --lavender-card: #FBF9FE;

  /* Accent Colors */
  --green: #34C759;
  --green-soft: #EBF9EE;
  --orange: #FF9500;
  --orange-soft: #FFF4E6;
  --red: #FF3B30;
  --blue: #007AFF;
  --blue-soft: #E8F2FF;

  /* Apple Neutrals */
  --text-primary: #1D1D1F;
  --text-secondary: #6E6E73;
  --text-tertiary: #86868B;
  --text-quaternary: #A1A1A6;
  --bg-canvas: #FFFFFF;
  --bg-secondary: #F5F5F7;
  --bg-tertiary: #ECECEE;
  --card-bg: #FFFFFF;
  --glass-bg: rgba(255, 255, 255, 0.82);
  --glass-border: rgba(0, 0, 0, 0.08);
  --glass-border-subtle: rgba(110, 84, 215, 0.10);

  /* Gradients */
  --gradient-purple: linear-gradient(135deg, #846CEF 0%, #6E54D7 50%, #573EBE 100%);
  --gradient-card: linear-gradient(180deg, #FFFFFF 0%, #FAF8FE 100%);
  --gradient-hero-glow: radial-gradient(circle at 50% 10%, rgba(110, 84, 215, 0.12) 0%, rgba(141, 117, 246, 0.04) 50%, rgba(255, 255, 255, 0) 80%);

  /* Spacing */
  --container-width: 1160px;
  --radius-xs: 8px;
  --radius-sm: 14px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 36px;
  --radius-pill: 9999px;

  /* Apple Layered Shadows */
  --shadow-subtle: 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.06), 0 2px 8px rgba(110, 84, 215, 0.04);
  --shadow-lg: 0 20px 48px rgba(0, 0, 0, 0.08), 0 6px 16px rgba(110, 84, 215, 0.08);
  --shadow-xl: 0 30px 70px rgba(110, 84, 215, 0.16), 0 10px 24px rgba(0, 0, 0, 0.06);
  --shadow-phone: 0 28px 60px -10px rgba(110, 84, 215, 0.20), 0 12px 30px -5px rgba(0, 0, 0, 0.12);

  /* Transitions */
  --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --ease-apple: cubic-bezier(0.25, 1, 0.5, 1);
  --transition-fast: 0.2s var(--ease-apple);
  --transition-base: 0.35s var(--ease-apple);
  --transition-slow: 0.6s var(--ease-apple);
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-canvas);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "SF Pro", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-primary);
  background: var(--bg-canvas);
  line-height: 1.5;
  overflow-x: hidden;
  letter-spacing: -0.01em;
  -webkit-tap-highlight-color: transparent;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--purple);
  text-decoration: none;
  transition: all var(--transition-fast);
}

a:hover {
  color: var(--purple-light);
}

button {
  font-family: inherit;
}

/* ---------- Container ---------- */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Scroll Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-apple), transform 0.7s var(--ease-apple);
}

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

/* ===================================================================
   PILL NAVIGATION (<PillNav /> React Bits component adaptation)
   =================================================================== */
.pill-nav-container {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.pill-nav {
  --nav-h: 46px;
  --pill-pad-x: 18px;
  --pill-gap: 3px;
  --base: #6E54D7;
  --pill-bg: #FFFFFF;
  --hover-text: #FFFFFF;
  --pill-text: #1D1D1F;
  width: max-content;
  display: flex;
  align-items: center;
  gap: 8px;
  box-sizing: border-box;
  pointer-events: auto;
}

.pill-nav-items {
  position: relative;
  display: flex;
  align-items: center;
  height: var(--nav-h);
  background: var(--base, #6E54D7);
  border-radius: 9999px;
  box-shadow: 0 8px 24px -4px rgba(110, 84, 215, 0.32), 0 2px 6px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.pill-logo {
  width: var(--nav-h);
  height: var(--nav-h);
  border-radius: 50%;
  background: var(--base, #6E54D7);
  padding: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 8px 20px -4px rgba(110, 84, 215, 0.35), 0 2px 6px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.2s ease;
  cursor: pointer;
  text-decoration: none;
  flex-shrink: 0;
}

.pill-logo:hover {
  transform: scale(1.06);
  box-shadow: 0 10px 24px -4px rgba(110, 84, 215, 0.45);
}

.pill-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.pill-list {
  list-style: none;
  display: flex;
  align-items: stretch;
  gap: var(--pill-gap);
  margin: 0;
  padding: 3px;
  height: 100%;
}

.pill-list>li {
  display: flex;
  height: 100%;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 0 var(--pill-pad-x);
  background: var(--pill-bg, #ffffff);
  color: var(--pill-text, #1D1D1F);
  text-decoration: none;
  border-radius: 9999px;
  box-sizing: border-box;
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
  letter-spacing: -0.01em;
  white-space: nowrap;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.pill .hover-circle {
  position: absolute;
  left: 50%;
  bottom: 0;
  border-radius: 50%;
  background: var(--base, #6E54D7);
  z-index: 1;
  display: block;
  pointer-events: none;
  will-change: transform;
}

.pill .label-stack {
  position: relative;
  display: inline-block;
  line-height: 1;
  z-index: 2;
}

.pill .pill-label {
  position: relative;
  z-index: 2;
  display: inline-block;
  line-height: 1;
  will-change: transform;
}

.pill .pill-label-hover {
  position: absolute;
  left: 0;
  top: 0;
  color: var(--hover-text, #ffffff);
  z-index: 3;
  display: inline-block;
  will-change: transform, opacity;
  font-weight: 600;
}

.pill.is-active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  background: var(--base, #6E54D7);
  border-radius: 50%;
  z-index: 4;
}

.pill-cta {
  background: rgba(255, 255, 255, 0.95);
  font-weight: 700;
}

.desktop-only {
  display: flex;
}

.mobile-only {
  display: none;
}

/* Mobile Nav Styles */
.mobile-menu-button {
  width: var(--nav-h);
  height: var(--nav-h);
  border-radius: 50%;
  background: var(--base, #6E54D7);
  border: 1px solid rgba(255, 255, 255, 0.22);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 0;
  position: relative;
  box-shadow: 0 8px 20px -4px rgba(110, 84, 215, 0.35), 0 2px 6px rgba(0, 0, 0, 0.08);
  pointer-events: auto;
  transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.mobile-menu-button:active {
  transform: scale(0.92);
}

.hamburger-line {
  width: 17px;
  height: 2px;
  background: #FFFFFF;
  border-radius: 2px;
  transition: all 0.01s ease;
  transform-origin: center;
}

.mobile-menu-popover {
  position: absolute;
  top: calc(var(--nav-h, 46px) + 8px);
  left: 14px;
  right: 14px;
  max-width: 420px;
  margin: 0 auto;
  background: rgba(110, 84, 215, 0.94);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border-radius: 26px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.28), 0 6px 16px rgba(110, 84, 215, 0.3);
  z-index: 998;
  opacity: 0;
  transform-origin: top center;
  visibility: hidden;
  pointer-events: auto;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-sizing: border-box;
}

.mobile-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  box-sizing: border-box;
}

.mobile-menu-list>li {
  width: 100%;
  display: block;
  box-sizing: border-box;
}

.mobile-menu-popover .mobile-menu-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  padding: 13px 18px;
  color: var(--pill-text, #1D1D1F);
  background-color: var(--pill-bg, #ffffff);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  border-radius: 9999px;
  transition: all 0.2s cubic-bezier(0.25, 1, 0.5, 1);
  letter-spacing: -0.01em;
}

.mobile-menu-popover .mobile-menu-link:active,
.mobile-menu-popover .mobile-menu-link:hover {
  background-color: #F0EDFD;
  color: var(--base, #6E54D7);
}

.mobile-menu-popover .mobile-menu-link.is-active {
  color: var(--base, #6E54D7);
  background-color: #F0EDFD;
  font-weight: 700;
  box-shadow: inset 0 0 0 1.5px var(--base, #6E54D7);
}

.mobile-menu-popover .mobile-menu-link.mobile-cta {
  background: var(--base, #6E54D7);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-weight: 700;
}

@media (max-width: 768px) {
  .pill-nav-container {
    top: 12px;
    left: 0;
    right: 0;
    width: 100%;
    padding: 0 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
  }

  .pill-nav {
    width: 100%;
    max-width: 420px;
    justify-content: space-between;
    padding: 0;
    background: transparent;
  }

  .desktop-only {
    display: none !important;
  }

  .mobile-only {
    display: flex !important;
  }

  .mobile-menu-popover {
    position: relative;
    top: auto;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 420px;
    margin-top: 8px;
  }
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  padding-bottom: 60px;
  background: var(--bg-canvas);
  background-image: var(--gradient-hero-glow);
  overflow: hidden;
}

.hero-glow-orb {
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(110, 84, 215, 0.16) 0%, rgba(141, 117, 246, 0.05) 50%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  width: 100%;
}

.hero-content {
  width: 100%;
  max-width: 580px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  margin-top: 0;
}

/* Apple Eyebrow Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--purple-soft);
  color: var(--purple);
  border: 1px solid var(--glass-border-subtle);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(110, 84, 215, 0.06);
}

.hero-badge-icon {
  font-size: 14px;
}

/* Brand Wordmark Logo Styling */
.hero-wordmark-wrap {
  margin: 0 0 10px 0;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
}

.hero-wordmark-img {
  width: 320px;
  max-width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 6px 20px rgba(110, 84, 215, 0.25));
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  user-select: none;
}

.hero-wordmark-img:hover {
  transform: scale(1.03);
}

.hero-tagline {
  font-size: clamp(2rem, 3.2vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 20px;
  max-width: 540px;
  text-align: left;
}

.hero-tagline .gradient-text {
  background: var(--gradient-purple);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.hero-phone-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 0;
}

.hero-phone-img {
  width: 330px;
  max-width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 25px 60px rgba(0, 0, 0, 0.18));
  animation: heroFloat 6s ease-in-out infinite;
}

.hero-buttons {
  display: flex;
  flex-direction: row;
  width: auto;
  max-width: none;
  gap: 16px;
  align-items: center;
  justify-content: flex-start;
  margin: 8px 0 0 0;
}

/* Apple Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--gradient-purple);
  color: white;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  box-shadow: 0 8px 24px rgba(110, 84, 215, 0.32);
  min-height: 48px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(110, 84, 215, 0.42);
  color: white;
}

.btn-primary:active {
  transform: scale(0.97);
}

.btn-primary svg {
  width: 20px;
  height: 20px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.04);
  color: var(--text-primary);
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: all var(--transition-base);
  min-height: 48px;
}

.btn-secondary:hover {
  background: rgba(0, 0, 0, 0.07);
  transform: translateY(-2px);
  color: var(--text-primary);
}

.btn-secondary:active {
  transform: scale(0.97);
}

/* Rating / Trust pill */
.hero-trust {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--text-tertiary);
  font-weight: 500;
}

.hero-trust-stars {
  color: #FFB800;
  letter-spacing: 2px;
  font-size: 14px;
}

/* Hero Phone Display */
.hero-phone-wrapper {
  flex: 0 0 auto;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-phone-img {
  width: 290px;
  max-width: 100%;
  height: auto;
  display: block;
  animation: heroFloat 6s ease-in-out infinite;
}

@keyframes heroFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.iphone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

/* Interactive Floating Stat Cards */
.hero-stat-card {
  position: absolute;
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 5;
  animation: statFloat 4s ease-in-out infinite;
}

@keyframes statFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

.hero-stat-card.card-walk {
  top: 22%;
  right: -30px;
  animation-delay: 0.2s;
}

.hero-stat-card.card-health {
  bottom: 18%;
  left: -35px;
  animation-delay: 1.5s;
}

.stat-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
}

.stat-icon-wrap.green {
  background: var(--green-soft);
}

.stat-icon-wrap.purple {
  background: var(--purple-soft);
}

.stat-info strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.stat-info span {
  font-size: 11px;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ===== APP HIGHLIGHT STRIP ===== */
.highlight-strip {
  padding: 30px 0;
  background: var(--bg-secondary);
  border-top: 1px solid rgba(0, 0, 0, 0.04);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

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

.highlight-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--bg-canvas);
  border-radius: var(--radius-sm);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-subtle);
  transition: all var(--transition-fast);
}

.highlight-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.sf-icon {
  display: inline-block;
  vertical-align: middle;
  fill: currentColor;
  flex-shrink: 0;
}

.highlight-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--purple-soft);
  color: var(--purple);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.highlight-icon svg {
  width: 20px;
  height: 20px;
}

.highlight-text strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}

.highlight-text span {
  font-size: 12px;
  color: var(--text-secondary);
}

/* ===== SECTIONS GENERAL ===== */
.section {
  padding: 100px 0;
  position: relative;
}

.section-canvas {
  background: var(--bg-canvas);
}

.section-secondary {
  background: var(--bg-secondary);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px auto;
}

.section-kicker {
  display: inline-block;
  color: var(--purple);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(2rem, 3.5vw + 0.5rem, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: clamp(1rem, 1.2vw + 0.2rem, 1.15rem);
  color: var(--text-secondary);
  line-height: 1.55;
  letter-spacing: -0.01em;
}

/* ===== APPLE BENTO FEATURE CARDS ===== */
.features-container {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.feature-showcase-card {
  background: var(--bg-canvas);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: var(--shadow-sm);
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
  transition: all var(--transition-base);
  overflow: hidden;
}

.feature-showcase-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(110, 84, 215, 0.16);
}

.feature-showcase-card.reverse {
  direction: rtl;
}

.feature-showcase-card.reverse>* {
  direction: ltr;
}

.feature-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.feature-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--purple-soft);
  color: var(--purple);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.feature-pill-badge .badge-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.feature-pill-badge .badge-icon svg {
  width: 14px;
  height: 14px;
}

.feature-info h3 {
  font-size: clamp(1.6rem, 2.5vw + 0.2rem, 2.2rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.feature-info p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}

/* Native iOS List Rows */
.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.feature-list-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-secondary);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0, 0, 0, 0.03);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.feature-check {
  width: 22px;
  height: 22px;
  min-width: 22px;
  background: var(--purple);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
}

/* Feature Phone Presentation */
.feature-phone-holder {
  display: flex;
  justify-content: center;
  align-items: center;
}

.device-mockup {
  width: 260px;
  height: 535px;
  background: #1D1D20;
  border-radius: 44px;
  padding: 8px;
  box-shadow: var(--shadow-phone);
  position: relative;
  border: 3px solid #303036;
  transition: transform var(--transition-base);
}

.device-mockup:hover {
  transform: translateY(-4px) scale(1.01);
}

.device-island {
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 76px;
  height: 20px;
  background: #000000;
  border-radius: 16px;
  z-index: 10;
}

.device-screen {
  width: 100%;
  height: 100%;
  border-radius: 36px;
  overflow: hidden;
  background: #F8F7FA;
}

.device-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

/* Raw Screenshot Presentation (Features 1, 3, 4, 6, 8) */
.feature-raw-img {
  width: 250px;
  max-width: 100%;
  height: auto;
  display: block;
  transition: transform var(--transition-base);
}

.feature-raw-img:hover {
  transform: translateY(-6px) scale(1.015);
}

/* ===== HOW IT WORKS ===== */
.steps-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.apple-step-card {
  background: var(--bg-canvas);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  transition: all var(--transition-base);
  position: relative;
}

.apple-step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(110, 84, 215, 0.2);
}

.step-badge {
  width: 32px;
  height: 32px;
  background: var(--purple-soft);
  color: var(--purple);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 20px;
}

.step-icon-large {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--purple-soft);
  color: var(--purple);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.step-icon-large svg {
  width: 26px;
  height: 26px;
}

.apple-step-card h3 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.apple-step-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ===== DOWNLOAD CTA CARD ===== */
.download-section {
  padding: 80px 0;
  background: var(--bg-canvas);
}

.download-card {
  background: linear-gradient(135deg, #241C47 0%, #16122E 100%);
  border-radius: var(--radius-xl);
  padding: 64px 40px;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(22, 18, 46, 0.3);
}

.download-card::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(141, 117, 246, 0.3) 0%, transparent 70%);
  border-radius: 50%;
}

.download-card::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(110, 84, 215, 0.35) 0%, transparent 70%);
  border-radius: 50%;
}

.download-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
}

.download-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 20px;
}

.download-card h2 {
  font-size: clamp(2rem, 3.5vw + 0.5rem, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 14px;
}

.download-card p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.55;
  margin-bottom: 32px;
}

.appstore-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: #FFFFFF;
  color: #000000;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  transition: all var(--transition-base);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.appstore-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
  color: #000000;
}

.appstore-btn:active {
  transform: scale(0.97);
}

.appstore-btn svg {
  width: 28px;
  height: 28px;
}

.appstore-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.appstore-text small {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
  color: #666666;
  line-height: 1;
}

.appstore-text span {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding: 60px 0 40px 0;
}

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

.footer-brand h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 400;
}

.footer-col a:hover {
  color: var(--purple);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  font-size: 12px;
  color: var(--text-tertiary);
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.04);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.footer-socials a:hover {
  background: var(--purple-soft);
  color: var(--purple);
}

.footer-socials a svg {
  width: 15px;
  height: 15px;
}

/* ===== PAGE HERO (Privacy & Support) ===== */
.page-hero {
  padding: 120px 0 40px;
  background: var(--bg-secondary);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw + 0.5rem, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.page-hero p {
  font-size: 15px;
  color: var(--text-secondary);
}

.page-content {
  padding: 60px 0;
  background: var(--bg-canvas);
}

.page-content h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 32px 0 14px;
}

.page-content p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

.page-content ul {
  padding-left: 20px;
  margin-bottom: 20px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
}

/* FAQ Items */
.faq-item {
  background: var(--bg-secondary);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-question {
  width: 100%;
  padding: 18px 20px;
  background: transparent;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  text-align: left;
}

.faq-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple);
  transition: transform var(--transition-base);
}

.faq-item.active .faq-toggle {
  transform: rotate(180deg);
}

/* Contact Card on Support Page */
.contact-card {
  margin-top: 48px;
  padding: 36px 32px;
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  text-align: center;
}

.contact-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.contact-card p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: var(--purple);
  color: #FFFFFF !important;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  transition: all var(--transition-fast);
  text-decoration: none;
}

.contact-email:hover {
  background: var(--purple-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.contact-email svg {
  width: 16px;
  height: 16px;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer.open {
  max-height: 300px;
}

.faq-answer-inner {
  padding: 0 20px 18px 20px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================
   IPHONE & MOBILE OPTIMIZATIONS (Primary Target)
   ========================================================== */
@media (max-width: 900px) {
  .hero {
    min-height: auto;
    padding-top: 72px;
    padding-bottom: 32px;
  }

  .hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    max-width: 800px;
  }

  .hero-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    width: 100%;
  }

  .hero-content {
    display: contents;
  }

  .hero-wordmark-wrap {
    order: 1;
    margin: 14px auto 6px auto;
    justify-content: center;
    width: 100%;
  }

  .hero-wordmark-img {
    width: clamp(230px, 52vw, 360px);
  }

  .hero-tagline {
    order: 2;
    font-size: clamp(1.6rem, 3.2vw + 0.5rem, 2.4rem);
    text-align: center;
    margin-bottom: 14px;
    max-width: 480px;
  }

  .hero-phone-wrapper {
    order: 3;
    margin: 6px 0 16px 0;
    width: 100%;
  }

  .hero-phone-img {
    width: 290px;
  }

  .hero-buttons {
    order: 4;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    gap: 12px;
    align-items: center;
    justify-content: center;
    margin: 12px auto 0 auto;
  }

  @media (min-width: 600px) {
    .hero-buttons {
      flex-direction: row;
      max-width: none;
      width: auto;
    }
  }

  .hero-stat-card.card-walk {
    right: -10px;
  }

  .hero-stat-card.card-health {
    left: -10px;
  }

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

  .feature-showcase-card,
  .feature-showcase-card.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    padding: 32px 24px;
    gap: 36px;
  }

  .feature-info {
    align-items: flex-start;
    text-align: left;
  }

  .steps-wrapper {
    grid-template-columns: 1fr;
    gap: 16px;
  }

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

@media (max-width: 768px) {
  :root {
    --container-width: 100%;
  }

  .container {
    padding: 0 16px;
  }

  /* Hero Section on iPhone */
  .hero {
    min-height: auto;
    padding-top: 68px;
    padding-bottom: 28px;
  }

  .hero-tagline {
    font-size: 1.65rem;
    margin-bottom: 12px;
  }

  .hero-phone-wrapper {
    margin: 4px 0 16px 0;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    min-height: 50px;
  }

  /* iPhone Frame responsive sizing on mobile */
  .iphone-frame {
    width: 260px;
    height: 530px;
    border-radius: 44px;
    padding: 8px;
  }

  .iphone-screen {
    border-radius: 36px;
  }

  .hero-stat-card {
    padding: 10px 14px;
  }

  .hero-stat-card.card-walk {
    top: auto;
    bottom: -15px;
    right: 5px;
  }

  .hero-stat-card.card-health {
    bottom: auto;
    top: -15px;
    left: 5px;
  }

  /* Feature Cards on iPhone */
  .section {
    padding: 60px 0;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .feature-showcase-card {
    padding: 24px 18px;
    border-radius: var(--radius-md);
    gap: 28px;
  }

  .feature-info h3 {
    font-size: 1.5rem;
  }

  .feature-list-item {
    font-size: 13px;
    padding: 9px 12px;
  }

  .device-mockup {
    width: 220px;
    height: 450px;
    border-radius: 38px;
    padding: 7px;
  }

  .feature-raw-img {
    width: 220px;
  }

  .hero-phone-img {
    width: 240px;
  }

  .device-screen {
    border-radius: 30px;
  }

  .highlight-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .download-card {
    padding: 40px 20px;
    border-radius: var(--radius-lg);
  }

  .download-card h2 {
    font-size: 1.85rem;
  }

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