/* ==========================================================================
   Qwota Website - Premium Dark Athletic Design
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

/* --------------------------------------------------------------------------
   Design Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand Colors */
  --teal: #14B8A6;
  --teal-light: #5EEAD4;
  --teal-dark: #0D9488;
  --cyan: #22D3EE;
  --coral: #F97316;

  /* Dark Theme (Default) */
  --bg-deep: #030712;
  --bg-primary: #0a0f1a;
  --bg-elevated: #111827;
  --bg-card: rgba(17, 24, 39, 0.6);
  --bg-glass: rgba(20, 184, 166, 0.05);

  --text-primary: #F9FAFB;
  --text-secondary: #9CA3AF;
  --text-muted: #6B7280;

  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-glow: rgba(20, 184, 166, 0.3);

  /* Gradients */
  --gradient-brand: linear-gradient(135deg, #14B8A6 0%, #22D3EE 50%, #14B8A6 100%);
  --gradient-glow: radial-gradient(ellipse at center, rgba(20, 184, 166, 0.15) 0%, transparent 70%);
  --gradient-card: linear-gradient(135deg, rgba(20, 184, 166, 0.1) 0%, rgba(34, 211, 238, 0.05) 100%);
  --gradient-mesh:
    radial-gradient(at 40% 20%, rgba(20, 184, 166, 0.3) 0px, transparent 50%),
    radial-gradient(at 80% 0%, rgba(34, 211, 238, 0.2) 0px, transparent 50%),
    radial-gradient(at 0% 50%, rgba(20, 184, 166, 0.15) 0px, transparent 50%),
    radial-gradient(at 80% 50%, rgba(249, 115, 22, 0.1) 0px, transparent 50%),
    radial-gradient(at 0% 100%, rgba(34, 211, 238, 0.15) 0px, transparent 50%);

  /* Typography */
  --font-display: 'Outfit', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 2rem;
  --text-4xl: 2.5rem;
  --text-5xl: 3.5rem;
  --text-6xl: 4.5rem;
  --text-hero: clamp(3rem, 10vw, 5.5rem);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Effects */
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-2xl: 2rem;
  --radius-3xl: 2.5rem;
  --radius-full: 9999px;

  --shadow-glow: 0 0 60px rgba(20, 184, 166, 0.4);
  --shadow-glow-lg: 0 0 120px rgba(20, 184, 166, 0.3);
  --shadow-card: 0 25px 50px -12px rgba(0, 0, 0, 0.5);

  --blur-glass: 20px;

  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  --transition-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);

  --header-height: 80px;
  --max-width: 1400px;
}

/* Light Mode Override */
[data-theme="light"] {
  --bg-deep: #FAFAFA;
  --bg-primary: #FFFFFF;
  --bg-elevated: #F3F4F6;
  --bg-card: rgba(255, 255, 255, 0.8);
  --bg-glass: rgba(20, 184, 166, 0.08);

  --text-primary: #111827;
  --text-secondary: #4B5563;
  --text-muted: #9CA3AF;

  --border-subtle: rgba(0, 0, 0, 0.06);
  --shadow-card: 0 25px 50px -12px rgba(0, 0, 0, 0.1);

  --gradient-mesh:
    radial-gradient(at 40% 20%, rgba(20, 184, 166, 0.15) 0px, transparent 50%),
    radial-gradient(at 80% 0%, rgba(34, 211, 238, 0.1) 0px, transparent 50%),
    radial-gradient(at 0% 50%, rgba(20, 184, 166, 0.08) 0px, transparent 50%);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-display);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-deep);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

ul { list-style: none; }

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h1 { font-size: var(--text-hero); font-weight: 800; }
h2 { font-size: var(--text-5xl); }
h3 { font-size: var(--text-2xl); }

p { color: var(--text-secondary); }

.text-gradient {
  background: var(--gradient-brand);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s linear infinite;
}

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

.text-glow {
  text-shadow: 0 0 40px rgba(20, 184, 166, 0.5);
}

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.section {
  position: relative;
  padding: var(--space-32) 0;
  overflow-x: hidden;
}

/* --------------------------------------------------------------------------
   Background Effects
   -------------------------------------------------------------------------- */
.bg-mesh {
  position: fixed;
  inset: 0;
  background: var(--gradient-mesh);
  pointer-events: none;
  z-index: -1;
}

.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
  pointer-events: none;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  pointer-events: none;
  animation: float 20s ease-in-out infinite;
}

.glow-orb--teal {
  width: 600px;
  height: 600px;
  background: var(--teal);
  top: -200px;
  right: -200px;
}

.glow-orb--cyan {
  width: 400px;
  height: 400px;
  background: var(--cyan);
  bottom: 20%;
  left: -100px;
  animation-delay: -10s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1000;
  transition: all var(--transition-base);
}

.header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(3, 7, 18, 0.8);
  backdrop-filter: blur(var(--blur-glass));
  -webkit-backdrop-filter: blur(var(--blur-glass));
  border-bottom: 1px solid var(--border-subtle);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.header.scrolled::before {
  opacity: 1;
}

[data-theme="light"] .header::before {
  background: rgba(255, 255, 255, 0.8);
}

.header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text-primary);
}

.header__logo img {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-lg);
  object-fit: contain;
}

/* Logo theme switching */
.logo-dark {
  display: block;
}

.logo-light {
  display: none;
}

[data-theme="light"] .logo-dark {
  display: none;
}

[data-theme="light"] .logo-light {
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.nav__link {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.nav__link:hover {
  color: var(--text-primary);
  background: var(--bg-glass);
}

.theme-toggle {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.theme-toggle:hover {
  color: var(--teal);
  background: var(--bg-glass);
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
}

.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

@media (max-width: 768px) {
  .nav { display: none; }
  .mobile-menu-btn { display: flex; }

  .nav.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-subtle);
    padding: var(--space-4);
    gap: var(--space-1);
  }
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--gradient-brand);
  background-size: 200% auto;
  color: #000;
  box-shadow: var(--shadow-glow);
}

.btn--primary:hover {
  background-position: right center;
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-lg);
}

.btn--secondary {
  background: var(--bg-glass);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(10px);
}

.btn--secondary:hover {
  background: rgba(20, 184, 166, 0.1);
  border-color: var(--border-glow);
}

.btn--large {
  padding: var(--space-6) var(--space-10);
  font-size: var(--text-base);
}

.app-store-badge {
  display: inline-block;
  transition: all var(--transition-spring);
}

.app-store-badge:hover {
  transform: scale(1.05) translateY(-2px);
  filter: drop-shadow(0 10px 30px rgba(20, 184, 166, 0.3));
}

.app-store-badge img {
  height: 56px;
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  position: relative;
  overflow-x: clip;
  overflow-y: visible;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

@media (max-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.hero__content {
  position: relative;
  z-index: 2;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: var(--bg-glass);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-8);
  backdrop-filter: blur(10px);
}

.hero__badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--teal);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
  box-shadow: 0 0 10px var(--teal);
}

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

.hero__title {
  margin-bottom: var(--space-6);
  line-height: 1;
}

.hero__title-line {
  display: block;
}

.hero__subtitle {
  font-size: var(--text-xl);
  color: var(--text-secondary);
  max-width: 500px;
  margin-bottom: var(--space-10);
  line-height: 1.7;
}

@media (max-width: 1024px) {
  .hero__subtitle {
    margin-left: auto;
    margin-right: auto;
  }
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

@media (max-width: 1024px) {
  .hero__cta {
    justify-content: center;
  }
}

/* Hero Phone Mockup */
.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-mockup {
  position: relative;
  z-index: 2;
}

.phone-frame {
  position: relative;
  width: 280px;
  padding: 10px;
  background: linear-gradient(145deg, #2a2a2a 0%, #1a1a1a 50%, #0a0a0a 100%);
  border-radius: 45px;
  box-shadow:
    var(--shadow-card),
    var(--shadow-glow),
    inset 0 1px 1px rgba(255,255,255,0.1);
}

/* Removed fake notch - screenshots already have Dynamic Island */

.phone-frame::after {
  content: '';
  position: absolute;
  inset: 2px;
  border-radius: 43px;
  border: 1px solid rgba(255,255,255,0.1);
  pointer-events: none;
}

.phone-screen {
  position: relative;
  border-radius: 36px;
  overflow: hidden;
  background: #000;
  aspect-ratio: 9 / 19.5;
}

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

/* Theme-switching mockup crossfade */
.phone-screen__dark,
.phone-screen__light {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: opacity 0.5s ease-in-out;
}

.phone-screen__dark {
  opacity: 1;
  z-index: 2;
}

.phone-screen__light {
  opacity: 0;
  z-index: 1;
}

[data-theme="light"] .phone-screen__dark {
  opacity: 0;
}

[data-theme="light"] .phone-screen__light {
  opacity: 1;
}

/* Phone glow effects */
.phone-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  background: var(--teal);
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.3;
  z-index: 1;
}

@media (max-width: 768px) {
  .phone-frame {
    width: 220px;
  }

  .phone-glow {
    width: 250px;
    height: 250px;
  }

  .hero__visual {
    margin-top: var(--space-8);
  }
}

@media (max-width: 480px) {
  .phone-frame {
    width: 200px;
  }
}

/* Legacy floating cards - hidden */
.floating-card {
  display: none !important;
  align-items: center;
  gap: var(--space-3);
  animation: float-card 5s ease-in-out infinite;
  z-index: 3;
}

.floating-card--calories {
  top: 8%;
  left: -60px;
  animation-delay: 0s;
}

.floating-card--calories .floating-card__icon {
  background: rgba(20, 184, 166, 0.2);
  color: var(--teal);
}

.floating-card--workout {
  bottom: 20%;
  right: -60px;
  animation-delay: -2s;
}

.floating-card--workout .floating-card__icon {
  background: rgba(249, 115, 22, 0.2);
  color: var(--coral);
}

.floating-card--protein {
  top: 45%;
  left: -80px;
  animation-delay: -1s;
}

.floating-card--protein .floating-card__icon {
  background: rgba(236, 72, 153, 0.2);
  color: #EC4899;
}

.floating-card--streak {
  top: 3%;
  right: -40px;
  animation-delay: -3s;
}

.floating-card--streak .floating-card__icon {
  background: rgba(239, 68, 68, 0.2);
  color: #EF4444;
}

.floating-card--ai {
  bottom: 3%;
  left: -50px;
  animation-delay: -4s;
}

.floating-card--ai .floating-card__icon {
  background: rgba(139, 92, 246, 0.2);
  color: #8B5CF6;
}

@media (max-width: 1024px) {
  .floating-card {
    display: none;
  }
}

@keyframes float-card {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.floating-card__icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-brand);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-card__icon svg {
  width: 20px;
  height: 20px;
  color: #000;
}

.floating-card__text {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.floating-card__value {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--text-primary);
}

@media (max-width: 1024px) {
  .floating-card { display: none; }
}

/* --------------------------------------------------------------------------
   Features - Bento Grid
   -------------------------------------------------------------------------- */
.features {
  background: var(--bg-primary);
  position: relative;
}

.features__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-16);
}

.features__header h2 {
  margin-bottom: var(--space-4);
}

.features__header p {
  font-size: var(--text-lg);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(200px, auto);
  gap: var(--space-6);
}

.bento-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  overflow: hidden;
  transition: all var(--transition-base);
  backdrop-filter: blur(10px);
}

.bento-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-card);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.bento-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.bento-card:hover::before {
  opacity: 1;
}

.bento-card > * {
  position: relative;
  z-index: 1;
}

/* Bento sizes */
.bento-card--wide { grid-column: span 8; }
.bento-card--narrow { grid-column: span 4; }
.bento-card--half { grid-column: span 6; }
.bento-card--third { grid-column: span 4; }

@media (max-width: 1024px) {
  .bento-card--wide,
  .bento-card--narrow,
  .bento-card--half { grid-column: span 6; }
  .bento-card--third { grid-column: span 6; }
}

@media (max-width: 640px) {
  .bento-card--wide,
  .bento-card--narrow,
  .bento-card--half,
  .bento-card--third { grid-column: span 12; }
}

.bento-card__icon {
  width: 56px;
  height: 56px;
  background: var(--gradient-brand);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-6);
  box-shadow: 0 0 30px rgba(20, 184, 166, 0.3);
}

.bento-card__icon svg {
  width: 28px;
  height: 28px;
  color: #000;
}

.bento-card__title {
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-3);
}

.bento-card__desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Feature card with visual */
.bento-card--visual {
  display: flex;
  flex-direction: column;
}

.bento-card__visual {
  margin-top: var(--space-6);
  border-radius: var(--radius-xl);
  overflow: hidden;
  height: 200px;
  box-shadow: var(--shadow-card);
}

.bento-card__visual img {
  width: 100%;
  height: auto;
  display: block;
}

/* Nutrition card - crop to show calorie ring area */
.bento-card__visual--nutrition {
  height: 240px !important;
  overflow: hidden !important;
}

.bento-card__visual--nutrition img {
  width: 100% !important;
  height: 700px !important;
  object-fit: cover !important;
  object-position: center 50% !important;
}

/* --------------------------------------------------------------------------
   Screenshots Section
   -------------------------------------------------------------------------- */
.screenshots {
  position: relative;
  overflow: hidden;
}

.screenshots__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-16);
}

.screenshots__header h2 {
  margin-bottom: var(--space-4);
}

.screenshots__track {
  display: flex;
  gap: var(--space-8);
  padding: var(--space-8) 0;
  animation: scroll-track 30s linear infinite;
}

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

.screenshots__track:hover {
  animation-play-state: paused;
}

.screenshot-card {
  flex-shrink: 0;
  position: relative;
}

.screenshot-phone {
  width: 240px;
  padding: 8px;
  background: linear-gradient(145deg, #2a2a2a 0%, #1a1a1a 50%, #0a0a0a 100%);
  border-radius: 32px;
  box-shadow:
    0 25px 50px -12px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all var(--transition-base);
}

.screenshot-phone img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 24px;
}

.screenshot-card:hover .screenshot-phone {
  transform: scale(1.02) translateY(-10px);
  box-shadow: var(--shadow-glow);
}

/* --------------------------------------------------------------------------
   AI Coach Spotlight
   -------------------------------------------------------------------------- */
.spotlight {
  position: relative;
  background: var(--bg-primary);
}

.spotlight__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

@media (max-width: 900px) {
  .spotlight__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.spotlight__content h2 {
  margin-bottom: var(--space-6);
}

.spotlight__content > p {
  font-size: var(--text-lg);
  margin-bottom: var(--space-8);
  line-height: 1.7;
}

.spotlight__features {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

@media (max-width: 900px) {
  .spotlight__features {
    width: 100%;
  }

  .spotlight__feature {
    width: 100%;
  }
}

.spotlight__feature {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4);
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: all var(--transition-fast);
}

.spotlight__feature:hover {
  border-color: var(--border-glow);
  background: rgba(20, 184, 166, 0.1);
}

.spotlight__feature-icon {
  width: 32px;
  height: 32px;
  background: var(--teal);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.spotlight__feature-icon svg {
  width: 16px;
  height: 16px;
  color: #000;
}

.spotlight__feature span {
  font-weight: 500;
  color: var(--text-primary);
}

.spotlight__visual {
  display: flex;
  justify-content: center;
  position: relative;
}

.spotlight__phone {
  width: 260px;
  max-height: 560px;
  object-fit: cover;
  object-position: top;
  border-radius: var(--radius-3xl);
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

/* --------------------------------------------------------------------------
   Stats Section
   -------------------------------------------------------------------------- */
.stats {
  position: relative;
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal) 50%, var(--cyan) 100%);
  overflow: hidden;
}

.stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  opacity: 0.05;
  pointer-events: none;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
  text-align: center;
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.stat-item__number {
  font-size: var(--text-6xl);
  font-weight: 800;
  color: #000;
  line-height: 1;
  margin-bottom: var(--space-2);
}

.stat-item__label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: rgba(0, 0, 0, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* --------------------------------------------------------------------------
   CTA Section
   -------------------------------------------------------------------------- */
.cta {
  text-align: center;
  position: relative;
}

.cta__content {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta h2 {
  margin-bottom: var(--space-6);
}

.cta p {
  font-size: var(--text-xl);
  margin-bottom: var(--space-10);
}

.cta__glow {
  position: absolute;
  width: 600px;
  height: 600px;
  background: var(--teal);
  border-radius: 50%;
  filter: blur(200px);
  opacity: 0.15;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   Quota Section (Meet Your Quota)
   -------------------------------------------------------------------------- */
.quota-section {
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

.quota-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 0%, rgba(20, 184, 166, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 100%, rgba(249, 115, 22, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.quota-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

@media (max-width: 900px) {
  .quota-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 580px) {
  .quota-grid {
    grid-template-columns: 1fr;
  }
}

.quota-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  backdrop-filter: blur(var(--blur-glass));
  transition: all var(--transition-base);
}

.quota-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.quota-card__header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.quota-card__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-elevated);
}

.quota-card__icon svg {
  width: 20px;
  height: 20px;
}

.quota-card__icon--calories { background: rgba(20, 184, 166, 0.15); color: var(--teal); }
.quota-card__icon--protein { background: rgba(236, 72, 153, 0.15); color: #EC4899; }
.quota-card__icon--carbs { background: rgba(245, 158, 11, 0.15); color: #F59E0B; }
.quota-card__icon--fat { background: rgba(139, 92, 246, 0.15); color: #8B5CF6; }
.quota-card__icon--workout { background: rgba(249, 115, 22, 0.15); color: var(--coral); }
.quota-card__icon--streak { background: rgba(239, 68, 68, 0.15); color: #EF4444; }

.quota-card__label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
}

.quota-card__value {
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-4);
}

.quota-card__value span {
  font-size: var(--text-lg);
  font-weight: 400;
  color: var(--text-muted);
}

.quota-card__value--streak {
  background: linear-gradient(135deg, #F97316, #EF4444);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.quota-progress {
  height: 8px;
  background: var(--bg-elevated);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: var(--space-3);
}

.quota-progress__fill {
  height: 100%;
  width: 0;
  background: var(--progress-color, var(--teal));
  border-radius: var(--radius-full);
  transition: width 1.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

.quota-progress__fill::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: progress-shine 2s ease-in-out infinite;
}

@keyframes progress-shine {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.quota-card__status {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.quota-card__fire {
  display: flex;
  gap: 4px;
  margin-bottom: var(--space-3);
}

.quota-card__fire span {
  width: 20px;
  height: 8px;
  background: var(--bg-elevated);
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
}

.quota-card__fire span:nth-child(-n+12) {
  background: linear-gradient(135deg, #F97316, #EF4444);
}

.quota-card__fire span.active {
  animation: pulse-fire 1s ease-in-out infinite;
}

@keyframes pulse-fire {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border-subtle);
  padding: var(--space-16) 0 var(--space-8);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}

@media (max-width: 768px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text-primary);
}

.footer__logo img {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  object-fit: cover;
  object-position: 40% 40%;
}

.footer__tagline {
  font-size: var(--text-sm);
  color: var(--text-muted);
  max-width: 280px;
}

.footer__column h4 {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: var(--space-4);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer__link {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.footer__link:hover {
  color: var(--teal);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-8);
  border-top: 1px solid var(--border-subtle);
}

.footer__copyright {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Page Layouts (Privacy, Terms, Support)
   -------------------------------------------------------------------------- */
.page {
  padding-top: calc(var(--header-height) + var(--space-16));
  padding-bottom: var(--space-24);
  min-height: 100vh;
}

.page__header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.page__header h1 {
  font-size: var(--text-4xl);
  margin-bottom: var(--space-4);
}

.page__header p {
  font-size: var(--text-lg);
}

.page__content {
  max-width: 800px;
  margin: 0 auto;
}

.page__content h2 {
  font-size: var(--text-2xl);
  margin-top: var(--space-12);
  margin-bottom: var(--space-4);
}

.page__content h3 {
  font-size: var(--text-xl);
  margin-top: var(--space-8);
  margin-bottom: var(--space-3);
}

.page__content p {
  margin-bottom: var(--space-4);
  line-height: 1.8;
}

.page__content ul {
  margin-bottom: var(--space-4);
  padding-left: var(--space-6);
}

.page__content li {
  color: var(--text-secondary);
  margin-bottom: var(--space-2);
  position: relative;
}

.page__content li::before {
  content: '';
  position: absolute;
  left: calc(-1 * var(--space-4));
  top: 10px;
  width: 6px;
  height: 6px;
  background: var(--teal);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--teal);
}

.page__content a {
  color: var(--teal);
  text-decoration: underline;
}

.page__date {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-top: var(--space-2);
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-top: var(--space-8);
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  backdrop-filter: blur(10px);
  transition: all var(--transition-fast);
}

.faq-item:hover {
  border-color: var(--border-glow);
}

.faq-item__question {
  width: 100%;
  padding: var(--space-6);
  text-align: left;
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all var(--transition-fast);
}

.faq-item__question:hover {
  color: var(--teal);
}

.faq-item__icon {
  font-size: var(--text-xl);
  color: var(--teal);
  transition: transform var(--transition-fast);
}

.faq-item.active .faq-item__icon {
  transform: rotate(45deg);
}

.faq-item__answer {
  display: none;
  padding: 0 var(--space-6) var(--space-6);
  color: var(--text-secondary);
  line-height: 1.8;
}

.faq-item.active .faq-item__answer {
  display: block;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-2xl);
  padding: var(--space-10);
  text-align: center;
  margin-top: var(--space-12);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-glow);
}

.contact-card h3 {
  margin-bottom: var(--space-4);
}

.contact-card p {
  margin-bottom: var(--space-6);
}

.contact-card__email {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--teal);
}

/* --------------------------------------------------------------------------
   Animations
   -------------------------------------------------------------------------- */
[data-animate] {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

[data-animate-stagger] > * {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-animate-stagger].visible > *:nth-child(1) { transition-delay: 0.1s; }
[data-animate-stagger].visible > *:nth-child(2) { transition-delay: 0.2s; }
[data-animate-stagger].visible > *:nth-child(3) { transition-delay: 0.3s; }
[data-animate-stagger].visible > *:nth-child(4) { transition-delay: 0.4s; }
[data-animate-stagger].visible > *:nth-child(5) { transition-delay: 0.5s; }
[data-animate-stagger].visible > *:nth-child(6) { transition-delay: 0.6s; }

[data-animate-stagger].visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   Utilities
   -------------------------------------------------------------------------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* --------------------------------------------------------------------------
   Section Header (Reusable)
   -------------------------------------------------------------------------- */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-16);
}

.section-header h2 {
  margin-bottom: var(--space-4);
}

.section-header p {
  font-size: var(--text-lg);
}

/* --------------------------------------------------------------------------
   Hero Trust Bar
   -------------------------------------------------------------------------- */
.hero__trust {
  margin-top: var(--space-8);
}

.hero__features-mini {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

@media (max-width: 1024px) {
  .hero__features-mini {
    justify-content: center;
  }
}

.hero__feature-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.hero__feature-tag svg {
  width: 14px;
  height: 14px;
  color: var(--teal);
}

/* --------------------------------------------------------------------------
   Trust Bar
   -------------------------------------------------------------------------- */
.trust-bar {
  padding: var(--space-12) 0;
  border-bottom: 1px solid var(--border-subtle);
}

.trust-bar__title {
  text-align: center;
  font-size: var(--text-sm);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-8);
}

.trust-bar__logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-12);
  flex-wrap: wrap;
}

.trust-bar__logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
}

.trust-bar__logo span {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--text-primary);
}

.trust-bar__logo small {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .trust-bar__logos {
    gap: var(--space-6);
  }
}

/* --------------------------------------------------------------------------
   How It Works
   -------------------------------------------------------------------------- */
.how-it-works {
  background: var(--bg-primary);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
}

@media (max-width: 1024px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

.step {
  position: relative;
  text-align: center;
  padding: var(--space-8);
}

.step__number {
  font-size: var(--text-6xl);
  font-weight: 800;
  color: var(--bg-elevated);
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  line-height: 1;
  z-index: 0;
}

[data-theme="light"] .step__number {
  color: var(--bg-tertiary);
}

.step__icon {
  position: relative;
  z-index: 1;
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-6);
  background: var(--gradient-brand);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-glow);
}

.step__icon svg {
  width: 28px;
  height: 28px;
  fill: #000;
}

.step__title {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-3);
}

.step__desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Activity Types
   -------------------------------------------------------------------------- */
.activities {
  background: var(--bg-primary);
}

.activities__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

@media (max-width: 900px) {
  .activities__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .activities__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.activity-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  text-align: center;
  transition: all var(--transition-base);
  backdrop-filter: blur(10px);
}

.activity-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.activity-card__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto var(--space-4);
  background: var(--gradient-brand);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.activity-card__icon svg {
  width: 24px;
  height: 24px;
  fill: #000;
}

.activity-card h4 {
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: var(--space-1);
}

.activity-card p {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Calorie Accuracy Section
   -------------------------------------------------------------------------- */
.accuracy {
  background: var(--bg-deep);
}

.accuracy__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

@media (max-width: 900px) {
  .accuracy__grid {
    grid-template-columns: 1fr;
  }
}

.accuracy__content h2 {
  margin-bottom: var(--space-6);
}

.accuracy__content > p {
  font-size: var(--text-lg);
  margin-bottom: var(--space-8);
  line-height: 1.7;
}

.accuracy__factors {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
}

.factor-chip {
  padding: var(--space-2) var(--space-4);
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.factor-chip:hover {
  border-color: var(--border-glow);
  color: var(--teal);
}

.accuracy__note {
  font-size: var(--text-sm);
  color: var(--text-muted);
  font-style: italic;
}

.accuracy__visual {
  display: flex;
  justify-content: center;
}

.accuracy__card {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-2xl);
  padding: var(--space-10);
  text-align: center;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-glow);
  min-width: 320px;
}

.accuracy__card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-6);
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.accuracy__badge {
  padding: var(--space-1) var(--space-3);
  background: var(--teal);
  color: #000;
  font-size: var(--text-xs);
  font-weight: 600;
  border-radius: var(--radius-full);
}

.accuracy__card-value {
  font-size: var(--text-6xl);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.accuracy__card-label {
  font-size: var(--text-lg);
  color: var(--text-muted);
  margin-bottom: var(--space-8);
}

.accuracy__card-macros {
  display: flex;
  justify-content: space-around;
  padding-top: var(--space-6);
  border-top: 1px solid var(--border-subtle);
}

.accuracy__macro {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.accuracy__macro-value {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--teal);
}

.accuracy__macro-label {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Spotlight Badge
   -------------------------------------------------------------------------- */
.spotlight__badge {
  display: inline-block;
  padding: var(--space-2) var(--space-4);
  background: var(--bg-glass);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-4);
}

.spotlight__feature div {
  display: flex;
  flex-direction: column;
}

.spotlight__feature strong {
  color: var(--text-primary);
  font-weight: 600;
}

.spotlight__feature span {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Built For Fitness Section
   -------------------------------------------------------------------------- */
.built-for {
  background: var(--bg-primary);
}

.built-for__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

@media (max-width: 900px) {
  .built-for__grid {
    grid-template-columns: 1fr;
  }
}

.built-for__card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  backdrop-filter: blur(10px);
  transition: all var(--transition-base);
  text-align: center;
}

.built-for__card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.built-for__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-6);
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
}

.built-for__icon svg {
  width: 32px;
  height: 32px;
  color: var(--teal);
}

.built-for__card h4 {
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-3);
}

.built-for__card p {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Pricing
   -------------------------------------------------------------------------- */
.pricing {
  background: var(--bg-deep);
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  align-items: stretch;
}

@media (max-width: 1100px) {
  .pricing__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .pricing__grid {
    grid-template-columns: 1fr;
    max-width: 100%;
    margin: 0 auto;
  }

  .pricing-card__features {
    min-height: auto;
  }
}

.pricing-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  backdrop-filter: blur(10px);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  border-color: var(--border-glow);
}

.pricing-card--featured {
  border-color: var(--teal);
  box-shadow: var(--shadow-glow);
  transform: scale(1.05);
}

@media (max-width: 900px) {
  .pricing-card--featured {
    transform: none;
  }
}

.pricing-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: var(--space-2) var(--space-4);
  background: var(--gradient-brand);
  color: #000;
  font-size: var(--text-xs);
  font-weight: 700;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-card__header {
  text-align: center;
  margin-bottom: var(--space-8);
  padding-bottom: var(--space-8);
  border-bottom: 1px solid var(--border-subtle);
}

.pricing-card__name {
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-2);
}

.pricing-card__price {
  font-size: var(--text-5xl);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.pricing-card__price span {
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--text-muted);
}

.pricing-card__desc {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.pricing-card__features {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
  flex: 1;
  min-height: 200px;
}

.pricing-card__features li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.pricing-card__features svg {
  width: 18px;
  height: 18px;
  fill: var(--teal);
  flex-shrink: 0;
}

.pricing-card__features strong {
  color: var(--text-primary);
}

.pricing-card .btn {
  width: 100%;
}

/* --------------------------------------------------------------------------
   Apple Watch Section
   -------------------------------------------------------------------------- */
.apple-watch {
  background: var(--bg-deep);
  position: relative;
  overflow: hidden;
}

.apple-watch::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(20, 184, 166, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(34, 211, 238, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.watch-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  position: relative;
  z-index: 1;
}

@media (max-width: 900px) {
  .watch-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
}

.watch-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  text-align: center;
  backdrop-filter: blur(10px);
  transition: all var(--transition-base);
}

.watch-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.watch-card:hover .watch-device {
  transform: scale(1.02);
}

.watch-card h4 {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-2);
  color: var(--text-primary);
}

.watch-card p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Apple Watch Device Mockup */
.watch-device {
  position: relative;
  width: 200px;
  margin: 0 auto var(--space-6);
  padding: 0 20px;
  transition: transform var(--transition-base);
}

.watch-case {
  position: relative;
  background: linear-gradient(145deg, #3a3a3c 0%, #1c1c1e 50%, #2c2c2e 100%);
  border-radius: 42px;
  padding: 8px;
  box-shadow:
    0 25px 60px -15px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(255, 255, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    inset 0 -1px 0 rgba(0, 0, 0, 0.3),
    0 0 50px rgba(20, 184, 166, 0.15);
}

/* Titanium texture overlay */
.watch-case::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 42px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%, rgba(0,0,0,0.1) 100%);
  pointer-events: none;
  z-index: 1;
}

/* Inner bezel */
.watch-case::after {
  content: '';
  position: absolute;
  inset: 6px;
  border-radius: 36px;
  border: 1px solid rgba(0, 0, 0, 0.5);
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.3);
  pointer-events: none;
  z-index: 2;
}

/* Digital Crown */
.watch-crown {
  position: absolute;
  right: -14px;
  top: 28%;
  width: 10px;
  height: 28px;
  background: linear-gradient(90deg, #4a4a4c 0%, #2c2c2e 40%, #3a3a3c 60%, #1c1c1e 100%);
  border-radius: 3px;
  box-shadow:
    2px 0 4px rgba(0, 0, 0, 0.4),
    inset -1px 0 0 rgba(255, 255, 255, 0.1),
    inset 1px 0 0 rgba(0, 0, 0, 0.2);
  z-index: 10;
}

/* Crown texture lines */
.watch-crown::before {
  content: '';
  position: absolute;
  top: 4px;
  left: 2px;
  right: 2px;
  bottom: 4px;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(255, 255, 255, 0.1) 2px,
    rgba(255, 255, 255, 0.1) 3px
  );
  border-radius: 1px;
}

/* Crown cap (red/orange accent like Apple Watch) */
.watch-crown::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 4px;
  height: 4px;
  background: linear-gradient(135deg, #ff6b4a 0%, #e8453c 100%);
  border-radius: 50%;
  box-shadow: 0 0 4px rgba(232, 69, 60, 0.5);
}

/* Side Button */
.watch-button {
  position: absolute;
  right: -12px;
  top: 55%;
  width: 8px;
  height: 18px;
  background: linear-gradient(90deg, #4a4a4c 0%, #2c2c2e 50%, #3a3a3c 100%);
  border-radius: 2px;
  box-shadow:
    2px 0 4px rgba(0, 0, 0, 0.4),
    inset -1px 0 0 rgba(255, 255, 255, 0.1);
  z-index: 10;
}

/* Watch Screen */
.watch-screen {
  position: relative;
  background: #000;
  border-radius: 34px;
  overflow: hidden;
  z-index: 3;
}

.watch-screen::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, transparent 50%);
  pointer-events: none;
  z-index: 4;
  border-radius: 34px;
}

.watch-screen img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 34px;
}

/* Ambient glow on hover */
.watch-card:hover .watch-case {
  box-shadow:
    0 30px 70px -15px rgba(0, 0, 0, 0.8),
    0 0 0 1px rgba(255, 255, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    inset 0 -1px 0 rgba(0, 0, 0, 0.3),
    0 0 80px rgba(20, 184, 166, 0.25);
}

/* Light mode adjustments */
[data-theme="light"] .watch-case {
  background: linear-gradient(145deg, #e8e8ed 0%, #d1d1d6 50%, #c7c7cc 100%);
  box-shadow:
    0 25px 60px -15px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .watch-crown,
[data-theme="light"] .watch-button {
  background: linear-gradient(90deg, #d1d1d6 0%, #a8a8ad 50%, #c7c7cc 100%);
}

[data-theme="light"] .watch-card:hover .watch-case {
  box-shadow:
    0 30px 70px -15px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 0 60px rgba(20, 184, 166, 0.2);
}

/* --------------------------------------------------------------------------
   Animated Counter
   -------------------------------------------------------------------------- */
.stat-item__number {
  font-variant-numeric: tabular-nums;
}

.stat-item__number::after {
  content: '+';
}

/* --------------------------------------------------------------------------
   Release Status Banner
   -------------------------------------------------------------------------- */
.release-banner {
  position: relative;
  margin-top: var(--header-height);
  background: linear-gradient(90deg,
    rgba(20, 184, 166, 0.08) 0%,
    rgba(34, 211, 238, 0.05) 50%,
    rgba(20, 184, 166, 0.08) 100%
  );
  border-bottom: 1px solid rgba(20, 184, 166, 0.15);
  padding: var(--space-3) 0;
  overflow: hidden;
  z-index: 90;
}

.release-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(20, 184, 166, 0.1), transparent);
  animation: banner-shimmer 3s ease-in-out infinite;
}

@keyframes banner-shimmer {
  0%, 100% { opacity: 0; transform: translateX(-100%); }
  50% { opacity: 1; transform: translateX(100%); }
}

.release-banner__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-6);
  flex-wrap: wrap;
}

.release-banner__status {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.release-banner__pulse {
  position: relative;
  width: 10px;
  height: 10px;
  background: var(--teal);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--teal);
}

.release-banner__pulse::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--teal);
  animation: pulse-ring 2s ease-out infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(2); opacity: 0; }
}

.release-banner__badge {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--teal-light);
  background: rgba(20, 184, 166, 0.15);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  border: 1px solid rgba(20, 184, 166, 0.3);
}

.release-banner__divider {
  width: 1px;
  height: 20px;
  background: linear-gradient(180deg, transparent, rgba(20, 184, 166, 0.4), transparent);
}

.release-banner__text {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.release-banner__text strong {
  color: var(--text-primary);
  font-weight: 600;
}

.release-banner__icon {
  width: 16px;
  height: 16px;
  stroke: var(--teal);
  flex-shrink: 0;
}

/* Light mode adjustments */
[data-theme="light"] .release-banner {
  background: linear-gradient(90deg,
    rgba(20, 184, 166, 0.06) 0%,
    rgba(34, 211, 238, 0.04) 50%,
    rgba(20, 184, 166, 0.06) 100%
  );
  border-bottom: 1px solid rgba(20, 184, 166, 0.2);
}

[data-theme="light"] .release-banner__badge {
  background: rgba(20, 184, 166, 0.12);
  color: var(--teal-dark);
}

@media (max-width: 640px) {
  .release-banner__inner {
    gap: var(--space-3);
    flex-direction: column;
  }

  .release-banner__divider {
    display: none;
  }

  .release-banner__text {
    font-size: var(--text-sm);
    text-align: center;
  }
}

/* ==========================================================================
   Mobile Touch Targets & Accessibility (768px)
   ========================================================================== */
@media (max-width: 768px) {
  /* Mobile menu button - meet 44px touch target */
  .mobile-menu-btn {
    min-width: 44px;
    min-height: 44px;
    padding: var(--space-3);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Navigation links in mobile menu */
  .nav.active .nav__link {
    min-height: 44px;
    padding: var(--space-3) var(--space-4);
    display: flex;
    align-items: center;
  }

  /* Section spacing reduction */
  .section {
    padding: var(--space-16) 0;
  }

  .section-header {
    margin-bottom: var(--space-10);
  }
}

/* ==========================================================================
   Extra-Small Devices (480px) - iPhone SE, older phones
   ========================================================================== */
@media (max-width: 480px) {
  /* Header height reduction */
  :root {
    --header-height: 64px;
  }

  /* Header logo scaling */
  .header__logo img {
    width: 36px;
    height: 36px;
  }

  .header__logo span {
    font-size: var(--text-base);
  }

  /* Container padding */
  .container {
    padding: 0 var(--space-4);
  }

  /* Section spacing */
  .section {
    padding: var(--space-12) 0;
  }

  .section-header {
    margin-bottom: var(--space-8);
  }

  .section-header h2 {
    font-size: var(--text-3xl);
  }

  .section-header p {
    font-size: var(--text-base);
  }

  /* Hero section */
  .hero {
    min-height: auto;
    padding-bottom: var(--space-8);
  }

  .hero__title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .hero__subtitle {
    font-size: var(--text-base);
  }

  .hero__badge {
    margin-bottom: var(--space-6);
  }

  /* Trust Bar */
  .trust-bar {
    padding: var(--space-8) 0;
  }

  .trust-bar__logos {
    gap: var(--space-4);
  }

  .trust-bar__logo span {
    font-size: var(--text-base);
  }

  /* Bento Grid */
  .bento-grid {
    gap: var(--space-4);
  }

  .bento-card {
    padding: var(--space-6);
  }

  .bento-card__icon {
    width: 48px;
    height: 48px;
    margin-bottom: var(--space-4);
  }

  .bento-card__icon svg {
    width: 24px;
    height: 24px;
  }

  .bento-card__title {
    font-size: var(--text-lg);
  }

  /* Activity cards */
  .activity-card {
    padding: var(--space-4);
  }

  .activity-card__icon {
    width: 40px;
    height: 40px;
  }

  .activity-card__icon svg {
    width: 20px;
    height: 20px;
  }

  /* Watch device scaling */
  .watch-device {
    width: 160px;
    padding: 0 16px;
  }

  .watch-case {
    border-radius: 34px;
    padding: 6px;
  }

  .watch-screen {
    border-radius: 28px;
  }

  .watch-crown {
    right: -12px;
    width: 8px;
    height: 24px;
  }

  .watch-button {
    right: -10px;
    width: 6px;
    height: 14px;
  }

  .watch-card h4 {
    font-size: var(--text-base);
  }

  .watch-card p {
    font-size: var(--text-xs);
  }

  /* Stats */
  .stat-item__number {
    font-size: var(--text-4xl);
  }

  .stat-item__label {
    font-size: 11px;
  }

  /* Pricing */
  .pricing-card {
    padding: var(--space-6);
  }

  .pricing-card__price {
    font-size: var(--text-4xl);
  }

  /* Accuracy card */
  .accuracy__card {
    min-width: auto;
    padding: var(--space-6);
  }

  .accuracy__card-value {
    font-size: var(--text-5xl);
  }

  /* CTA */
  .cta h2 {
    font-size: var(--text-3xl);
  }

  .cta p {
    font-size: var(--text-base);
  }

  /* Footer */
  .footer {
    padding: var(--space-12) 0 var(--space-6);
  }

  .footer__grid {
    gap: var(--space-8);
  }
}

/* ==========================================================================
   Tiny Devices (360px) - Very small phones
   ========================================================================== */
@media (max-width: 360px) {
  :root {
    --header-height: 56px;
  }

  .header__logo img {
    width: 32px;
    height: 32px;
  }

  .header__logo span {
    font-size: var(--text-sm);
  }

  .hero__title {
    font-size: clamp(1.75rem, 7vw, 2.5rem);
  }

  .hero__subtitle {
    font-size: var(--text-sm);
    line-height: 1.6;
  }

  .btn--large {
    padding: var(--space-4) var(--space-6);
    font-size: var(--text-sm);
  }

  .app-store-badge img {
    height: 48px;
  }

  /* Trust bar stacked */
  .trust-bar__logos {
    flex-direction: column;
    gap: var(--space-3);
  }

  .trust-bar__logo {
    flex-direction: row;
    gap: var(--space-2);
  }

  /* Activity cards single column */
  .activities__grid {
    grid-template-columns: 1fr;
  }

  /* Stats smaller */
  .stat-item__number {
    font-size: var(--text-3xl);
  }

  .stat-item__label {
    font-size: 10px;
  }

  /* Section headers */
  .section-header h2 {
    font-size: var(--text-2xl);
  }

  /* Quota cards */
  .quota-card__value {
    font-size: var(--text-2xl);
  }

  /* Spotlight feature text */
  .spotlight__feature {
    padding: var(--space-3);
  }

  .spotlight__feature-icon {
    width: 28px;
    height: 28px;
  }

  .spotlight__feature-icon svg {
    width: 14px;
    height: 14px;
  }
}
