/* Ryzo Premium Light-Themed Design System */

/* =========================================================================
   STACKED SCROLL ANIMATION SYSTEM
   ========================================================================= */

/* Big "Features" heading above the stack */
.stacked-section-header {
  text-align: center;
  padding: 100px 24px 60px;
  max-width: 720px;
  margin: 0 auto;
}

.stacked-section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent-orange);
  background: rgba(255, 107, 0, 0.08);
  border: 1px solid rgba(255, 107, 0, 0.2);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.stacked-section-title {
  font-size: clamp(56px, 8vw, 96px);
  font-weight: 900;
  letter-spacing: -3px;
  line-height: 1;
  color: var(--text-primary);
  margin-bottom: 20px;
  background: linear-gradient(135deg, #0f1117 0%, #374151 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stacked-section-sub {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 540px;
  margin: 0 auto;
}

/* Outer wrapper: tall enough so each card has scroll-travel room */
.stacked-features-wrapper {
  position: relative;
}

/* Each stack-card is a sticky wrapper */
.stack-card {
  position: sticky;
  top: 80px;
  max-height: calc(100vh - 80px);
  overflow-y: auto;
  scrollbar-width: none;
  /* Hide scrollbar for a cleaner look */
  /* below the navbar */
  z-index: 1;
  /* Default starting state — will be animated by JS */
  transform-origin: center top;
  will-change: transform;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.55s ease;
  border-radius: 20px;
  /* NOTE: no overflow:hidden — breaks inner sticky/fixed children */
  /* margin-bottom creates scroll-travel room for each card's sticky effect */
  margin-bottom: 0;
  background: #fff;
}

.stack-card::-webkit-scrollbar {
  display: none;
}

/* z-index stacking so later cards appear on top */
.stack-card[data-card-index="0"] {
  z-index: 10;
}

.stack-card[data-card-index="1"] {
  z-index: 20;
}

.stack-card[data-card-index="2"] {
  z-index: 30;
}

.stack-card[data-card-index="3"] {
  z-index: 40;
}

.stack-card[data-card-index="4"] {
  z-index: 50;
}

/* When a card is "behind" (being stacked on), shrink & dim it */
.stack-card.is-behind {
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.18);
}

/* Pill progress indicator for stack navigation */
.stack-progress-nav {
  position: fixed;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.stack-progress-nav.visible {
  opacity: 1;
  pointer-events: auto;
}

.stack-nav-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.18);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.stack-nav-dot.active {
  width: 10px;
  height: 10px;
  background: var(--accent-orange);
  border-color: rgba(255, 107, 0, 0.3);
  box-shadow: 0 0 12px rgba(255, 107, 0, 0.5);
}

.stack-nav-dot:hover {
  background: var(--accent-orange);
  transform: scale(1.3);
}

/* Label tooltip on dot hover */
.stack-nav-dot[data-label]::after {
  content: attr(data-label);
  position: absolute;
  right: 20px;
  background: rgba(15, 17, 23, 0.85);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-4px);
  transition: all 0.2s ease;
  letter-spacing: 0.3px;
}

.stack-nav-dot[data-label]:hover::after {
  opacity: 1;
  transform: translateX(0);
}

/* Section inner content — ensure sections fill their stack-card */
.stack-card>.section,
.stack-card>.steps-section,
.stack-card>.music-section {
  border-radius: inherit;
}

/* Scroll-in animation for sections outside the stack */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f8f9fb;
  --bg-tertiary: #f0f2f5;
  --text-primary: #0f1117;
  --text-secondary: #4b5563;
  --text-muted: #9ca3af;

  /* Primary Accent Colors */
  --accent-orange: #ff6b00;
  --accent-orange-glow: rgba(255, 107, 0, 0.25);
  --accent-teal: #0d9488;
  --accent-teal-glow: rgba(13, 148, 136, 0.2);
  --accent-blue: #3b82f6;
  --accent-purple: #8b5cf6;
  --accent-gold: #f59e0b;

  /* Borders & Shadows */
  --border-glow: rgba(0, 0, 0, 0.07);
  --border-active: rgba(255, 107, 0, 0.4);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 8px;
  --radius-full: 9999px;

  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Orbitron', sans-serif;
  --transition-smooth: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  --shadow-neon: 0 4px 24px 0 rgba(0, 0, 0, 0.08);
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: 1px solid rgba(0, 0, 0, 0.07);
}

/* Reset & Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

html {
  scroll-behavior: smooth;
  zoom: 1;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-sans);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.3px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #f0f2f5;
}

::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-orange);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatWidget {
  0% {
    transform: translateY(0px) translateX(0px);
  }

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

  100% {
    transform: translateY(0px) translateX(0px);
  }
}

@keyframes floatWidgetReverse {
  0% {
    transform: translateY(0px) translateX(0px);
  }

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

  100% {
    transform: translateY(0px) translateX(0px);
  }
}

@keyframes pulseGlow {

  0%,
  100% {
    box-shadow: 0 0 15px -3px var(--accent-orange-glow);
  }

  50% {
    box-shadow: 0 0 25px 2px var(--accent-orange-glow);
  }
}

@keyframes pulseRed {

  0%,
  100% {
    opacity: 0.6;
  }

  50% {
    opacity: 1;
  }
}

/* Global Layout Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
  position: relative;
}

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

.section-header {
  margin-bottom: 60px;
  max-width: 700px;
}

.section-header.text-center {
  margin-left: auto;
  margin-right: auto;
}

.section-tag-teal {
  display: inline-block;
  background: rgba(13, 148, 136, 0.08);
  color: var(--accent-teal);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  border: 1px solid rgba(13, 148, 136, 0.2);
  letter-spacing: 0.5px;
}

.section-tag-gold {
  display: inline-block;
  background: rgba(245, 159, 11, 0.08);
  color: var(--accent-gold);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  border: 1px solid rgba(245, 159, 11, 0.2);
  letter-spacing: 0.5px;
}

.section-tag-orange {
  display: inline-block;
  background: rgba(255, 107, 0, 0.08);
  color: var(--accent-orange);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  border: 1px solid rgba(255, 107, 0, 0.2);
  letter-spacing: 0.5px;
}

.section-title {
  font-size: 40px;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 17px;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Header & Translucent Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  transition: var(--transition-smooth);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--accent-orange);
  box-shadow: 0 0 12px var(--accent-orange-glow);
}

.logo-mascot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.logo:hover .logo-mascot {
  transform: rotate(15deg) scale(1.1);
}

.logo-text {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 2px;
  background: linear-gradient(135deg, #0f1117, #374151);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-link {
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  color: #4b5563;
  transition: var(--transition-smooth);
  padding: 6px 0;
  position: relative;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-orange);
  transition: var(--transition-smooth);
}

.nav-link:hover::after {
  width: 100%;
}

.header-cta-mobile {
  display: none;
}

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

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1100;
}

.hamburger span {
  width: 25px;
  height: 2px;
  background-color: #0f1117;
  border-radius: 2px;
  transition: var(--transition-smooth);
}

/* Premium Neon & Glass Buttons */
.btn-neon-orange {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-weight: 700;
  font-size: 16px;
  background: linear-gradient(135deg, var(--accent-orange), #ff4500);
  color: #fff;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 20px rgba(255, 107, 0, 0.4);
  text-decoration: none;
  transition: var(--transition-smooth);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
}

.btn-neon-orange:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(255, 107, 0, 0.6);
  background: linear-gradient(135deg, #ff8c00, var(--accent-orange));
}

.btn-neon-orange.btn-small {
  padding: 10px 20px;
  font-size: 14px;
}

.btn-neon-orange.btn-large {
  padding: 18px 40px;
  font-size: 17px;
}

.btn-glass {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  font-weight: 700;
  font-size: 16px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: var(--transition-smooth);
  border: var(--glass-border);
  backdrop-filter: blur(8px);
  cursor: pointer;
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-whatsapp:hover {
  background: rgba(37, 211, 102, 0.15);
  border-color: rgba(37, 211, 102, 0.4);
  color: #25d366;
}

.icon-whatsapp {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.btn-glass-green {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 40px;
  font-weight: 700;
  font-size: 17px;
  background: rgba(37, 211, 102, 0.1);
  border: 1px solid rgba(37, 211, 102, 0.3);
  color: #25d366;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.btn-glass-green:hover {
  background: rgba(37, 211, 102, 0.2);
  border-color: #25d366;
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.2);
}

/* Neon Gradient Text */
.gradient-text-orange {
  background: linear-gradient(135deg, var(--accent-orange), #ff4500);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.gradient-text-teal {
  background: linear-gradient(135deg, #0d9488, #0891b2);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Hero Section Styles */
.hero {
  padding-top: 180px;
  padding-bottom: 100px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #fff8f5 0%, #ffffff 50%, #f0faf8 100%);
}

.hero-glow-orange {
  position: absolute;
  top: -10%;
  right: -5%;
  width: 50vw;
  height: 50vw;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(255, 107, 0, 0.06) 0%, transparent 70%);
  filter: blur(80px);
}

.hero-glow-teal {
  position: absolute;
  bottom: -10%;
  left: -5%;
  width: 40vw;
  height: 40vw;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.06) 0%, transparent 70%);
  filter: blur(80px);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.aura-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 107, 0, 0.06);
  border: 1px solid rgba(255, 107, 0, 0.2);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-orange);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-orange);
  box-shadow: 0 0 10px var(--accent-orange);
  animation: pulseRed 2s infinite;
}

.hero-title {
  font-size: 58px;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 24px;
}

.hero-description {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 580px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats-panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
  padding-top: 32px;
}

.hero-stat-card {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-stat-icon {
  font-size: 24px;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(255, 107, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 107, 0, 0.12);
}

.hero-stat-info {
  display: flex;
  flex-direction: column;
}

.hero-stat-number {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
}

.hero-stat-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 500;
}

/* Hero Screen Device Frames & Floating Widgets */
.hero-frame-area {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  min-height: 600px;
}

.phone-glow {
  position: absolute;
  width: 130%;
  height: 80%;
  background: radial-gradient(circle, rgba(255, 107, 0, 0.08) 0%, rgba(13, 148, 136, 0.05) 50%, transparent 100%);
  filter: blur(60px);
  z-index: 1;
}

/* Floating Widgets Styles */
.floating-widget {
  position: absolute;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(16px);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.10);
  z-index: 5;
  width: 220px;
}

.steps-widget {
  top: 10%;
  left: -20px;
  animation: floatWidget 5s ease-in-out infinite;
}

.workout-widget {
  bottom: 20%;
  right: -30px;
  animation: floatWidgetReverse 6s ease-in-out infinite;
  width: 240px;
}

.level-widget {
  bottom: 12%;
  left: -40px;
  animation: floatWidget 5.5s ease-in-out infinite;
}

.fw-icon {
  font-size: 22px;
  width: 40px;
  height: 40px;
  background: rgba(255, 107, 0, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fw-details {
  display: flex;
  flex-direction: column;
}

.fw-title {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
}

.fw-val {
  font-size: 13px;
  font-weight: 700;
  color: #0f1117;
}

.fw-sub {
  font-size: 10px;
  color: var(--accent-orange);
  font-weight: 600;
}

/* Standard Premium Device Frame Shell */
.phone-shell {
  width: 290px;
  height: 590px;
  background-color: #0c0d12;
  border: 11px solid #1a1c24;
  border-radius: 42px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 0 3px #2d313d;
  position: relative;
  overflow: hidden;
  z-index: 2;
  display: flex;
  flex-direction: column;
}

.phone-screen {
  flex: 1;
  background-color: #000;
  position: relative;
  overflow: hidden;
  border-radius: 32px;
}

.phone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 95px;
  height: 22px;
  background-color: #000;
  border-radius: 12px;
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-camera {
  width: 8px;
  height: 8px;
  background-color: #08080a;
  border-radius: 50%;
  margin-right: 14px;
}

.phone-speaker {
  width: 28px;
  height: 3px;
  background-color: #1e2025;
  border-radius: 2px;
}

.screen-slider {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.5s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.screen-slide {
  min-width: 100%;
  height: 100%;
}

.screen-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 20;
  background: rgba(0, 0, 0, 0.45);
  padding: 6px 12px;
  border-radius: var(--radius-full);
}

.slider-dots .dot {
  width: 6px;
  height: 6px;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.slider-dots .dot.active {
  background-color: var(--accent-orange);
  width: 14px;
  border-radius: 3px;
}

/* Feature Showcase Explorer (Interaction Section) */
.features-explore {
  background-color: var(--bg-secondary);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.features-hub-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}

.features-menu {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 520px;
  overflow-y: auto;
  padding-right: 12px;
}

/* Style for custom menu list scrollbar */
.features-menu::-webkit-scrollbar {
  width: 3px;
}

.features-menu::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.06);
}

.menu-item {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.menu-item:hover {
  background: #fff8f5;
  border-color: rgba(255, 107, 0, 0.3);
  transform: translateX(4px);
}

.menu-item.active {
  background: rgba(255, 107, 0, 0.05);
  border-color: var(--accent-orange);
  box-shadow: 0 4px 20px rgba(255, 107, 0, 0.08);
}

.menu-item-icon {
  font-size: 24px;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: #f8f9fb;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.menu-item.active .menu-item-icon {
  background: rgba(255, 107, 0, 0.15);
  color: var(--accent-orange);
  border-color: rgba(255, 107, 0, 0.3);
}

.menu-item-text h3 {
  font-size: 16px;
  margin-bottom: 4px;
  font-weight: 700;
}

.menu-item-text p {
  font-size: 13px;
  color: var(--text-secondary);
}

/* Feature Preview iPhone Frame style */
.features-preview-iphone {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.iphone-glow-orb {
  position: absolute;
  width: 120%;
  height: 80%;
  background: radial-gradient(circle, rgba(42, 245, 152, 0.1) 0%, rgba(255, 107, 0, 0.05) 50%, transparent 100%);
  filter: blur(40px);
  z-index: 1;
}

.iphone-frame {
  width: 280px;
  height: 570px;
  background: #020202;
  border: 9px solid #1c1d24;
  border-radius: 36px;
  position: relative;
  z-index: 2;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}

.iphone-island {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 18px;
  background: #000;
  border-radius: 10px;
  z-index: 10;
}

.iphone-glass {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 27px;
  background: #111;
}

.iphone-glass img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease-out;
}

.preview-caption {
  margin-top: 24px;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  max-width: 320px;
  line-height: 1.5;
  background: #f8f9fb;
  padding: 8px 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

/* Gamification Details Section Styles */
.gamification-hub {
  display: none !important;
  position: relative;
  overflow: hidden;
}

.gamification-bg-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

.gamification-rules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}

.rule-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition-smooth);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.rule-card:hover {
  border-color: rgba(255, 107, 0, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

.rule-badge {
  display: inline-block;
  padding: 4px 12px;
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 800;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.rule-badge.purple {
  background: rgba(139, 92, 246, 0.08);
  color: #7c3aed;
}

.rule-badge.orange {
  background: rgba(255, 107, 0, 0.08);
  color: #ea580c;
}

.rule-badge.teal {
  background: rgba(13, 148, 136, 0.08);
  color: #0d9488;
}

.rule-card h3 {
  font-size: 20px;
  margin-bottom: 16px;
}

.rule-list {
  list-style: none;
}

.rule-list li {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 12px;
  position: relative;
  padding-left: 8px;
}

.rule-list li.cap-high {
  border-top: 1px dashed rgba(0, 0, 0, 0.1);
  padding-top: 12px;
  margin-top: 12px;
  color: var(--text-primary);
  font-size: 14px;
}

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

/* Tier rows inside levels details */
.tiers-chart {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tier-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  padding: 6px 10px;
  background: rgba(0, 0, 0, 0.02);
  border-radius: var(--radius-sm);
  border-left: 3px solid;
}

.tier-row .xp-val {
  color: var(--text-muted);
}

/* Arc Calculator Widget Design */
.calc-widget {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.calc-title {
  font-family: var(--font-sans);
  font-size: 24px;
  margin-bottom: 8px;
}

.calc-desc {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 32px;
}

.calc-body-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
}

.slider-group {
  margin-bottom: 24px;
}

.slider-label {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
}

.slider-value {
  color: var(--accent-orange);
}

.slider-calc-detail {
  font-size: 11px;
  color: var(--text-muted);
  display: block;
  margin-top: 4px;
  font-weight: 500;
}

/* Modern Range Slider Aesthetics */
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 5px;
  background: #e5e7eb;
  border-radius: 3px;
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-orange);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(255, 107, 0, 0.6);
  transition: var(--transition-smooth);
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.calc-results-panel {
  background: #f8f9fb;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: var(--radius-md);
  padding: 30px;
}

.res-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.res-label {
  font-size: 14px;
  color: var(--text-secondary);
}

.res-numeric-val {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 900;
}

.res-numeric-val.orange-text {
  color: var(--accent-orange);
  text-shadow: 0 0 10px rgba(255, 107, 0, 0.2);
}

/* Badge Tier Result Card */
.tier-result-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(135deg, rgba(8b, 92, 246, 0.1), rgba(15, 17, 24, 0.8));
  border: 1px solid rgba(139, 92, 246, 0.3);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
}

.calc-tier-emoji {
  font-size: 32px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #f8f9fb;
  display: flex;
  align-items: center;
  justify-content: center;
}

.calc-tier-contents {
  display: flex;
  flex-direction: column;
}

.computed-tier-label {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
}

.computed-tier-name {
  font-size: 20px;
  font-weight: 800;
}

/* Levels Progress Bar */
.progress-bar-container {
  display: flex;
  flex-direction: column;
}

.progress-bar-labels {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.progress-outer {
  background: #e5e7eb;
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 8px;
}

.progress-inner {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-orange), var(--accent-gold));
  border-radius: 4px;
  transition: width 0.4s ease-out;
}

.xp-remaining-text {
  font-size: 11px;
  color: var(--accent-teal);
  font-weight: 600;
}

/* AI Coach chat playground section */
.ai-coach-chat {
  background-color: var(--bg-secondary);
}

.playground-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.suggestion-pills-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-pill {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.chat-pill:hover {
  background: #fff8f5;
  border-color: var(--accent-orange);
  transform: translateX(4px);
}

/* WhatsApp-themed Chat UI Showcase container */
.chat-wrapper {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 480px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
}

.chat-header {
  background: #f8f9fb;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.chat-avatar {
  position: relative;
  width: 44px;
  height: 44px;
}

.chat-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--accent-orange);
}

.status-online-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 10px;
  height: 10px;
  background-color: #10b981;
  border-radius: 50%;
  border: 2px solid var(--bg-tertiary);
}

.chat-coach-name h3 {
  font-size: 15px;
  font-weight: 800;
}

.chat-coach-name span {
  font-size: 11px;
  color: var(--text-secondary);
}

.chat-body-window {
  flex: 1;
  background: #f4f6f8;
  padding: 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Chat Message Styling */
.message {
  max-width: 80%;
  display: flex;
  flex-direction: column;
  animation: fadeInUp 0.3s ease-out;
}

.message .msg-content {
  padding: 12px 18px;
  border-radius: var(--radius-md);
  font-size: 14px;
}

.message .msg-time {
  font-size: 10px;
  color: var(--text-muted);
  margin-top: 4px;
}

.message.incoming {
  align-self: flex-start;
}

.message.incoming .msg-content {
  background: #ffffff;
  color: var(--text-primary);
  border-bottom-left-radius: 4px;
  border: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.message.incoming .msg-time {
  align-self: flex-start;
}

.message.outgoing {
  align-self: flex-end;
}

.message.outgoing .msg-content {
  background: var(--accent-orange);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.message.outgoing .msg-time {
  align-self: flex-end;
}

/* Typing indicator simulator */
.typing-bubble {
  align-self: flex-start;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  display: flex;
  gap: 5px;
}

.dot-bounce {
  width: 6px;
  height: 6px;
  background-color: var(--text-secondary);
  border-radius: 50%;
  animation: bounceDot 1.4s infinite ease-in-out both;
}

.dot-bounce:nth-child(1) {
  animation-delay: -0.32s;
}

.dot-bounce:nth-child(2) {
  animation-delay: -0.16s;
}

@keyframes bounceDot {

  0%,
  80%,
  100% {
    transform: scale(0);
  }

  40% {
    transform: scale(1.0);
  }
}

.chat-input-bar {
  background: #f8f9fb;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding: 16px;
  display: flex;
  gap: 12px;
}

.chat-input-bar input {
  flex: 1;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-full);
  padding: 12px 20px;
  color: var(--text-primary);
  font-size: 13px;
}

.btn-send-message {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-send-message:hover {
  background: #ff8c00;
  transform: scale(1.05);
}

.send-svg {
  width: 18px;
  height: 18px;
  fill: #fff;
}

/* Glassmorphic Download Section */
.download-app-section {
  padding-bottom: 120px;
}

.container-glassmorphic {
  background: linear-gradient(135deg, #fff8f5 0%, #f0faf8 100%);
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  padding: 60px 80px;
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.download-text-content h2 {
  font-size: 42px;
  margin-bottom: 16px;
  font-family: var(--font-sans);
}

.download-text-content p {
  color: var(--text-secondary);
  font-size: 16px;
  margin-bottom: 32px;
}

.cta-downloads-wrapper {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.compatibility-notice {
  font-size: 12px;
  color: var(--text-muted) !important;
  margin-bottom: 0 !important;
}

/* Floating animation for image preview inside download section */
.download-phone-image {
  display: flex;
  justify-content: center;
}

.img-floating {
  width: 250px;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  transform: rotate(4deg);
  animation: floatWidgetReverse 6s ease-in-out infinite;
}

/* Footer Section */
footer {
  background: #0f1117;
  color: #9ca3af;
  padding: 80px 0 40px 0;
  border-top: none;
}

.footer-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 80px;
  margin-bottom: 60px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
  font-family: var(--font-display);
  font-size: 22px;
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.footer-logo img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--accent-orange);
}

.footer-brand p {
  font-size: 13px;
  line-height: 1.6;
}

.footer-links-col h4 {
  color: white;
  font-size: 15px;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-links-col ul {
  list-style: none;
}

.footer-links-col li {
  margin-bottom: 12px;
}

.footer-links-col a {
  text-decoration: none;
  font-size: 14px;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
}

.footer-links-col a:hover {
  color: white;
}

.footer-sub-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  padding-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.copyright-label {
  font-size: 12px;
}

.disclaimer-label {
  font-size: 10px;
  color: var(--text-muted);
  max-width: 500px;
  text-align: right;
}

/* Premium Responsive Media Breakpoints */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-ctas {
    justify-content: center;
  }

  .hero-stats-panel {
    max-width: 600px;
    margin: 0 auto;
  }

  .features-hub-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .features-preview-iphone {
    order: -1;
    /* Display iPhone above menu list on tablet */
  }

  .calc-body-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .container-glassmorphic {
    grid-template-columns: 1fr;
    padding: 60px 40px;
    text-align: center;
  }

  .cta-downloads-wrapper {
    justify-content: center;
  }

  .download-phone-image {
    display: none;
  }

  .disclaimer-label {
    text-align: center;
    max-width: 100%;
  }
}

@media (max-width: 900px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: rgba(7, 8, 11, 0.95);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 40px;
    gap: 30px;
    transition: var(--transition-smooth);
    border-top: var(--glass-border);
  }

  .nav-links.active {
    left: 0;
  }

  .hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .header-cta-mobile {
    display: block;
    background: var(--accent-orange);
    color: white;
    padding: 12px 24px;
    border-radius: var(--radius-full);
  }

  .header-actions .btn-neon-orange {
    display: none;
    /* Hide header CTA btn, show inside hamburger menu */
  }

  .gamification-rules-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .hero-title {
    font-size: 38px;
  }

  .hero-stats-panel {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .floating-widget {
    display: none;
    /* Hide floating accessories on widgets mobile screen */
  }

  .calc-widget {
    padding: 20px;
  }

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

  .footer-sub-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* Document Sub-pages (Privacy Policy, Terms of Service) */
.doc-page {
  padding-top: 140px;
  padding-bottom: 100px;
  background-color: var(--bg-primary);
  min-height: 100vh;
}

.doc-container {
  max-width: 800px;
  margin: 0 auto;
  background-color: var(--bg-secondary);
  padding: 60px 50px;
  border-radius: var(--radius-lg);
  border: var(--glass-border);
  box-shadow: var(--shadow-neon);
}

.doc-title {
  font-size: 38px;
  background: linear-gradient(135deg, #ffffff, #94a3b8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
  font-weight: 800;
}

.doc-date {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 40px;
  display: block;
}

.doc-content h2 {
  font-size: 22px;
  margin-top: 36px;
  margin-bottom: 16px;
  color: var(--accent-orange);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 8px;
}

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

.doc-content ul {
  margin-bottom: 24px;
  padding-left: 20px;
}

.doc-content li {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 10px;
  list-style-type: square;
}

.doc-content strong {
  color: var(--text-primary);
}

@media (max-width: 768px) {
  .doc-container {
    padding: 30px 20px;
    border-radius: 0;
    border: none;
  }
}

/* =====================================================
   Problems We Solve Section (Cal AI / Yazio Style)
   ===================================================== */
.problems-section {
  padding: 100px 0;
  background-color: var(--bg-primary);
}

.problems-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.problem-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: var(--transition-smooth);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.problem-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
  border-color: rgba(255, 107, 0, 0.15);
}

.problem-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.problem-icon {
  font-size: 26px;
}

.problem-vs {
  flex: 1;
  display: flex;
  gap: 14px;
  align-items: stretch;
}

.problem-side,
.solution-side {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.problem-side p,
.solution-side p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}

.problem-side strong,
.solution-side strong {
  color: var(--text-primary);
}

.label-bad {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #dc2626;
  background: #fef2f2;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  display: inline-block;
  width: fit-content;
}

.label-good {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #16a34a;
  background: #f0fdf4;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  display: inline-block;
  width: fit-content;
}

.arrow-divider {
  font-size: 20px;
  color: #d1d5db;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  padding-top: 24px;
}

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

@media (max-width: 600px) {
  .problem-card {
    flex-direction: column;
    gap: 16px;
  }

  .problem-vs {
    flex-direction: column;
  }

  .arrow-divider {
    padding-top: 0;
    transform: rotate(90deg);
    align-self: center;
  }
}

/* =====================================================
   Music App Integration Section
   ===================================================== */
/* =========================================================================
   WORKOUT MUSIC SECTION — Reference Image Style
   ========================================================================= */

.music-section {
  padding: 100px 0;
  background: linear-gradient(140deg, #f0fdf4 0%, #ffffff 45%, #fff8f5 100%);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  overflow: hidden;
  position: relative;
}

body.dark-theme .music-section {
  background: linear-gradient(160deg, #052618 0%, #090a0f 50%, #291102 100%);
}

.music-section-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 80px;
  align-items: center;
}

/* ── Left column ── */
.music-text-col {
  display: flex;
  flex-direction: column;
}

/* Tag pill */
.music-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 107, 0, 0.08);
  border: 1px solid rgba(255, 107, 0, 0.18);
  border-radius: 99px;
  padding: 5px 14px;
  font-size: 11px;
  font-weight: 800;
  color: #ea580c;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  width: fit-content;
  margin-bottom: 20px;
}

.music-tag-note {
  font-size: 13px;
}

/* Hero headline */
.music-hero-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  color: #0f1724;
  line-height: 1.15;
  margin-bottom: 16px;
}

body.dark-theme .music-hero-title {
  color: #fff;
}

.music-orange-text {
  color: #ea580c;
}

.music-hero-sub {
  font-size: 16px;
  color: #4b5563;
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 480px;
}

body.dark-theme .music-hero-sub {
  color: var(--text-secondary);
}

/* ── Connected App List (the 3 white rows) ── */
.music-app-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.music-app-row {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #ffffff;
  border: 1px solid #e8ecf0;
  border-radius: 16px;
  padding: 14px 18px;
  cursor: pointer;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  border-left: 4px solid transparent;
}

.music-app-row:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transform: translateX(4px);
}

.spotify-row {
  border-left-color: #1db954;
}

.youtube-row {
  border-left-color: #ff0000;
}

.apple-row {
  border-left-color: #fc3c44;
}

body.dark-theme .music-app-row {
  background: #12131a;
  border-color: rgba(255, 255, 255, 0.06);
}

.mar-logo {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.spotify-logo {
  background: rgba(29, 185, 84, 0.1);
}

.youtube-logo {
  background: rgba(255, 0, 0, 0.08);
}

.apple-logo {
  background: rgba(252, 60, 68, 0.08);
}

.mar-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.mar-name {
  font-size: 14px;
  font-weight: 800;
  color: #0f1724;
}

body.dark-theme .mar-name {
  color: #fff;
}

.mar-status {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.4px;
  margin-top: 1px;
}

.mar-status.connected {
  color: #16a34a;
}

.mar-arrow {
  font-size: 18px;
  color: #94a3b8;
  transition: transform 0.2s ease;
}

.music-app-row:hover .mar-arrow {
  transform: translateX(3px);
  color: #ea580c;
}

/* ── Feature list (icon + title + subtitle rows) ── */
.music-feat-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mfl-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.mfl-icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.mfl-text {
  display: flex;
  flex-direction: column;
}

.mfl-title {
  font-size: 14px;
  font-weight: 700;
  color: #0f1724;
  line-height: 1.3;
}

body.dark-theme .mfl-title {
  color: #fff;
}

.mfl-sub {
  font-size: 12px;
  color: #64748b;
  margin-top: 2px;
}

/* ── Right Column ── */
.music-player-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  position: relative;
}

/* Handwriting annotation */
.music-annotation {
  align-self: flex-end;
  margin-right: 24px;
  margin-bottom: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.annotation-text {
  font-size: 13px;
  color: #64748b;
  line-height: 1.4;
  text-align: center;
  font-style: italic;
  font-family: 'Caveat', cursive, sans-serif;
}

.annotation-arrow {
  opacity: 0.6;
}

/* ── Main Player Card ── */
.music-player-card {
  background: #ffffff;
  border: 1px solid #e8ecf0;
  border-radius: 28px;
  padding: 24px;
  width: 100%;
  max-width: 380px;
  box-shadow: 0 12px 50px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0;
}

body.dark-theme .music-player-card {
  background: #12131a;
  border-color: rgba(255, 255, 255, 0.06);
  box-shadow: 0 12px 50px rgba(0, 0, 0, 0.3);
}

/* Header row: NOW PLAYING + Spotify badge */
.mpc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

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

.mpc-now-lbl {
  font-size: 11px;
  font-weight: 800;
  color: #64748b;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

.mpc-spotify-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  background: #1db954;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 99px;
  letter-spacing: 0.3px;
}

/* Track Row: Album Art + Info Side by Side */
.mpc-track-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

.mpc-album-art {
  width: 90px;
  height: 90px;
  border-radius: 14px;
  background: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.album-art-inner {
  font-size: 40px;
  line-height: 1;
  z-index: 1;
}

.album-art-overlay-x {
  position: absolute;
  bottom: 4px;
  right: 6px;
  font-size: 9px;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 900;
}

.mpc-track-info {
  flex: 1;
  padding-top: 4px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mpc-track-name {
  font-size: 20px;
  font-weight: 900;
  color: #0f1724;
  line-height: 1.2;
  margin-bottom: 4px;
}

body.dark-theme .mpc-track-name {
  color: #fff;
}

.mpc-artist {
  font-size: 13px;
  color: #64748b;
  margin: 0 0 2px 0;
}

.mpc-album {
  font-size: 12px;
  color: #94a3b8;
  margin: 0;
}

/* Progress bar */
.mpc-progress-wrap {
  margin-bottom: 6px;
}

.mpc-progress-track {
  height: 4px;
  background: #e2e8f0;
  border-radius: 99px;
  position: relative;
  cursor: pointer;
}

body.dark-theme .mpc-progress-track {
  background: #2d313d;
}

.mpc-progress-fill {
  height: 100%;
  background: #1db954;
  border-radius: 99px;
  transition: width 0.3s linear;
  position: absolute;
  top: 0;
  left: 0;
}

.mpc-progress-thumb {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  background: #1db954;
  border-radius: 50%;
  box-shadow: 0 0 0 2px #fff;
  transition: left 0.3s linear;
}

body.dark-theme .mpc-progress-thumb {
  box-shadow: 0 0 0 2px #12131a;
}

/* Time row */
.mpc-time-row {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #94a3b8;
  font-weight: 500;
  margin-bottom: 16px;
}

/* Controls */
.mpc-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.mpc-ctrl-icon {
  background: none;
  border: none;
  color: #64748b;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease, background 0.2s ease;
}

.mpc-ctrl-icon:hover {
  color: #0f1724;
  background: #f3f4f6;
}

body.dark-theme .mpc-ctrl-icon {
  color: #64748b;
}

body.dark-theme .mpc-ctrl-icon:hover {
  color: #fff;
  background: #1b1c26;
}

.mpc-play-btn {
  width: 56px;
  height: 56px;
  background: #1db954;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(29, 185, 84, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mpc-play-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 28px rgba(29, 185, 84, 0.55);
}

/* Change Music App row */
.mpc-change-app-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8f9fb;
  border: 1px solid #e8ecf0;
  border-radius: 14px;
  padding: 12px 16px;
  cursor: pointer;
  transition: box-shadow 0.2s ease;
}

.mpc-change-app-row:hover {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

body.dark-theme .mpc-change-app-row {
  background: #1b1c26;
  border-color: rgba(255, 255, 255, 0.06);
}

.mpc-change-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mpc-small-spotify-icon {
  width: 32px;
  height: 32px;
  background: rgba(29, 185, 84, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mpc-change-text {
  display: flex;
  flex-direction: column;
}

.mpc-change-title {
  font-size: 13px;
  font-weight: 700;
  color: #0f1724;
}

body.dark-theme .mpc-change-title {
  color: #fff;
}

.mpc-change-sub {
  font-size: 11px;
  color: #64748b;
}

.mpc-change-arrow {
  font-size: 18px;
  color: #94a3b8;
}

/* ── Sound Wave Animation (below card) ── */
.music-wave-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  margin-top: 28px;
  height: 40px;
}

.wave-bar {
  width: 4px;
  background: linear-gradient(to top, #1db954, #0d9488);
  border-radius: 99px;
  opacity: 0.5;
  animation: waveAnim 1.2s ease-in-out infinite alternate;
}

.wave-bar:nth-child(2) {
  animation-delay: 0.1s;
}

.wave-bar:nth-child(3) {
  animation-delay: 0.2s;
  height: 28px !important;
}

.wave-bar:nth-child(4) {
  animation-delay: 0.05s;
}

.wave-bar:nth-child(5) {
  animation-delay: 0.3s;
}

.wave-bar:nth-child(6) {
  animation-delay: 0.15s;
  height: 34px !important;
}

.wave-bar:nth-child(7) {
  animation-delay: 0.25s;
}

.wave-bar:nth-child(8) {
  animation-delay: 0.1s;
  height: 38px !important;
}

.wave-bar:nth-child(9) {
  animation-delay: 0.35s;
}

.wave-bar:nth-child(10) {
  animation-delay: 0.2s;
  height: 30px !important;
}

.wave-bar:nth-child(11) {
  animation-delay: 0.05s;
}

.wave-bar:nth-child(12) {
  animation-delay: 0.4s;
  height: 36px !important;
}

.wave-bar:nth-child(13) {
  animation-delay: 0.15s;
}

.wave-bar:nth-child(14) {
  animation-delay: 0.3s;
  height: 22px !important;
}

.wave-bar:nth-child(15) {
  animation-delay: 0.1s;
}

.wave-bar:nth-child(16) {
  animation-delay: 0.25s;
  height: 18px !important;
}

@keyframes waveAnim {
  0% {
    height: 6px;
    opacity: 0.3;
  }

  100% {
    height: 36px;
    opacity: 0.7;
  }
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .music-section-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .music-player-col {
    order: -1;
  }

  .music-player-card {
    max-width: 420px;
  }

  .music-annotation {
    display: none;
  }
}

/* =========================================================================
   9. Dark Mode Theme Variables & Styling (Cal AI Vibe)
   ========================================================================= */
body.dark-theme,
html.dark-theme {
  --bg-primary: #090a0f;
  --bg-secondary: #12131a;
  --bg-tertiary: #1b1c26;
  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border-glow: rgba(255, 255, 255, 0.05);
  --glass-bg: rgba(9, 10, 15, 0.85);
  --glass-border: 1px solid rgba(255, 255, 255, 0.08);
  --shadow-neon: 0 4px 24px 0 rgba(0, 0, 0, 0.4);
}

body.dark-theme header {
  background: rgba(9, 10, 15, 0.8);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

body.dark-theme .logo-text {
  background: linear-gradient(135deg, #ffffff, #94a3b8);
  -webkit-background-clip: text;
  background-clip: text;
}

body.dark-theme .menu-item {
  background: #12131a;
  border-color: rgba(255, 255, 255, 0.05);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

body.dark-theme .menu-item.active {
  background: rgba(255, 107, 0, 0.1);
}

body.dark-theme .menu-item-icon {
  background: #1b1c26;
  border-color: rgba(255, 255, 255, 0.05);
}

body.dark-theme .rule-card {
  background: #12131a;
  border-color: rgba(255, 255, 255, 0.05);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

body.dark-theme .calc-widget {
  background: #12131a;
  border-color: rgba(255, 255, 255, 0.05);
}

body.dark-theme .calc-results-panel {
  background: #1b1c26;
  border-color: rgba(255, 255, 255, 0.05);
}

body.dark-theme .chat-wrapper {
  background: #12131a;
  border-color: rgba(255, 255, 255, 0.05);
}

body.dark-theme .chat-header {
  background: #090a0f;
  border-bottom-color: rgba(255, 255, 255, 0.05);
}

body.dark-theme .chat-body-window {
  background: #0a0b10;
}

body.dark-theme .message.incoming .msg-content {
  background: #1b1c26;
  border-color: rgba(255, 255, 255, 0.05);
  color: #fff;
}

body.dark-theme .chat-input-bar {
  background: #12131a;
  border-top-color: rgba(255, 255, 255, 0.05);
}

body.dark-theme .chat-input-bar input {
  background: #1b1c26;
  border-color: rgba(255, 255, 255, 0.08);
  color: #fff;
}

body.dark-theme .chat-pill {
  background: #12131a;
  border-color: rgba(255, 255, 255, 0.05);
  color: #fff;
}

body.dark-theme .nav-link {
  color: #94a3b8;
}

body.dark-theme .nav-link:hover {
  color: var(--accent-orange);
}

body.dark-theme .music-section {
  background: linear-gradient(160deg, #052618 0%, #090a0f 50%, #291102 100%);
}

body.dark-theme .music-app-badge {
  background: #12131a;
  border-color: rgba(255, 255, 255, 0.05);
}

body.dark-theme .music-player-card {
  background: #12131a;
  border-color: rgba(255, 255, 255, 0.08);
}

body.dark-theme .music-album-art {
  background: linear-gradient(135deg, #1b1c26, #090a0f);
}

body.dark-theme .preview-caption {
  background: #12131a;
  border-color: rgba(255, 255, 255, 0.05);
}

body.dark-theme .container-glassmorphic {
  background: linear-gradient(135deg, #271408 0%, #041f1b 100%);
  border-color: rgba(255, 255, 255, 0.05);
}

body.dark-theme .hero {
  background: linear-gradient(160deg, #1a0f08 0%, #090a0f 50%, #041b18 100%);
}

body.dark-theme .hero-title {
  color: #fff;
}

body.dark-theme .problem-card {
  background: #12131a;
  border-color: rgba(255, 255, 255, 0.05);
}

body.dark-theme .problem-side p {
  color: #94a3b8;
}

body.dark-theme .solution-side p {
  color: #e2e8f0;
}

body.dark-theme .arrow-divider {
  color: #475569;
}

body.dark-theme .tier-row {
  background: rgba(255, 255, 255, 0.02);
}

body.dark-theme .progress-outer {
  background: #1b1c26;
}

body.dark-theme .tier-result-card {
  background: linear-gradient(135deg, rgba(8b, 92, 246, 0.1), rgba(15, 17, 24, 0.8));
}

body.dark-theme .calc-tier-emoji {
  background: #1b1c26;
}

/* =========================================================================
   10. Interactive AI Scanner Demo Styles (Cal AI Vibe)
   ========================================================================= */
.scan-demo-section {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-glow);
  border-bottom: 1px solid var(--border-glow);
}

.scan-demo-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
  margin-top: 20px;
}

.scan-selectors {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.scan-food-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.scan-food-card:hover {
  transform: translateX(6px);
  border-color: rgba(255, 107, 0, 0.3);
}

.scan-food-card.active {
  border-color: var(--accent-orange);
  background: rgba(255, 107, 0, 0.04);
  box-shadow: 0 4px 20px rgba(255, 107, 0, 0.06);
}

.scan-food-emoji {
  font-size: 28px;
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.scan-food-text {
  flex: 1;
}

.scan-food-text h4 {
  font-size: 16px;
  margin-bottom: 4px;
}

.scan-food-text p {
  font-size: 13px;
  color: var(--text-secondary);
}

.scan-arrow-right {
  font-size: 18px;
  color: var(--text-muted);
  transition: var(--transition-smooth);
}

.scan-food-card.active .scan-arrow-right {
  color: var(--accent-orange);
  transform: translateX(4px);
}

.scan-phone-sim {
  display: flex;
  justify-content: center;
}

.sim-phone {
  width: 300px;
  height: 600px;
  background-color: #0c0d12;
  border: 10px solid #1a1c24;
  border-radius: 40px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 0 3px #2d313d;
  overflow: hidden;
  position: relative;
  z-index: 10;
}

.sim-phone-screen {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #000;
  position: relative;
}

.sim-phone-header {
  height: 38px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  z-index: 30;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  box-sizing: border-box;
}

.sim-camera-punch {
  width: 70px;
  height: 18px;
  background: #000;
  border-radius: 99px;
  margin-top: 4px;
}

.sim-viewport {
  flex: 1;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  background: radial-gradient(circle at center, #1b202e 0%, #08090d 100%);
  padding-bottom: 240px;
  /* Leave space for drawer */
}

/* Glowing laser scanner effect */
.scan-laser {
  position: absolute;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--accent-orange), #ff4500, var(--accent-orange), transparent);
  box-shadow: 0 0 20px var(--accent-orange), 0 0 30px #ff4500;
  z-index: 20;
  opacity: 0;
  top: 0;
}

.scan-laser.scanning {
  opacity: 1;
  animation: laserSweep 1.3s infinite ease-in-out;
}

@keyframes laserSweep {
  0% {
    top: 0%;
  }

  50% {
    top: 75%;
  }

  100% {
    top: 0%;
  }
}

.food-avatar-plate {
  font-size: 72px;
  line-height: 1;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s ease;
  z-index: 10;
}

.avatar-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(255, 107, 0, 0.3) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  z-index: -1;
  border-radius: 50%;
}

.scan-overlay-labels {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 15;
  transition: opacity 0.4s ease;
}

.overlay-tag {
  position: absolute;
  background: rgba(15, 17, 23, 0.85);
  border: 1px solid rgba(255, 107, 0, 0.4);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  backdrop-filter: blur(4px);
  animation: pulseLabel 2s infinite ease-in-out;
}

@keyframes pulseLabel {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.95;
  }

  50% {
    transform: scale(1.03);
    opacity: 1;
    box-shadow: 0 0 10px rgba(255, 107, 0, 0.3);
  }
}

.sim-loader-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(12, 13, 18, 0.85);
  z-index: 25;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: 11px;
  font-weight: 500;
}

.sim-spinner {
  width: 28px;
  height: 28px;
  border: 3px solid rgba(255, 107, 0, 0.155);
  border-top-color: var(--accent-orange);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Analysis Drawer Sheet */
.sim-drawer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #ffffff;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  padding: 16px 20px 24px 20px;
  box-sizing: border-box;
  color: #000;
  z-index: 22;
  transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.3);
}

.sim-drawer.slide-down {
  transform: translateY(105%);
}

.drawer-drag-line {
  width: 36px;
  height: 4px;
  background: #e2e8f0;
  border-radius: 2px;
  margin: 0 auto 12px auto;
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.drawer-green-badge {
  font-size: 9px;
  font-weight: 800;
  color: #16a34a;
  background: #f0fdf4;
  padding: 2.5px 8px;
  border-radius: 99px;
  letter-spacing: 0.3px;
}

.meal-group-label {
  font-size: 10px;
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
}

.drawer-food-name {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 8px;
}

.drawer-cals-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.cals-val {
  font-size: 32px;
  font-weight: 900;
  font-family: var(--font-display);
  color: var(--accent-orange);
  line-height: 1;
}

.cals-lbl {
  font-size: 11px;
  color: var(--text-secondary);
  font-weight: 600;
}

.xp-badge-glow {
  margin-left: auto;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--accent-orange), #ff4500);
  padding: 4px 10px;
  border-radius: 99px;
  box-shadow: 0 4px 12px rgba(255, 107, 0, 0.4);
}

.drawer-macros-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.drawer-macro-card {
  background: #f8f9fb;
  border-radius: 12px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.m-card-name {
  font-size: 10px;
  color: var(--text-muted);
  font-weight: 700;
}

.m-card-val {
  font-size: 13px;
  font-weight: 800;
  margin: 2px 0 6px 0;
}

.m-card-progress {
  height: 4px;
  background: #e2e8f0;
  border-radius: 2px;
  overflow: hidden;
}

.m-card-bar {
  height: 100%;
  border-radius: 2px;
}

.btn-drawer-add {
  width: 100%;
  padding: 12px;
  border-radius: 99px;
  background: var(--accent-orange);
  color: #fff;
  border: none;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-drawer-add:hover {
  background: #ff8c00;
  transform: translateY(-2px);
}

body.dark-theme .sim-drawer {
  background: #12131a;
  color: #fff;
}

body.dark-theme .drawer-macro-card {
  background: #1b1c26;
  border-color: rgba(255, 255, 255, 0.03);
}

body.dark-theme .m-card-progress {
  background: #2d313d;
}

/* =========================================================================
   11. Goal Planner Tabs & Inputs (Yazio Onboarding Vibe)
   ========================================================================= */
.calc-tabs {
  display: flex;
  gap: 12px;
  border-bottom: 1px solid var(--border-glow);
  padding-bottom: 16px;
  margin-bottom: 24px;
}

.calc-tab-btn {
  background: transparent;
  border: none;
  font-size: 15px;
  font-weight: 700;
  padding: 8px 16px;
  cursor: pointer;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: var(--transition-smooth);
  position: relative;
}

.calc-tab-btn.active {
  color: var(--accent-orange);
  background: rgba(255, 107, 0, 0.06);
}

.calc-tab-btn::after {
  content: '';
  position: absolute;
  bottom: -17px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-orange);
  transition: var(--transition-smooth);
}

.calc-tab-btn.active::after {
  width: 100%;
}

.calc-tab-content {
  display: none;
}

.calc-tab-content.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.planner-inputs {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.planner-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.planner-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.planner-group label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
}

.planner-select,
.planner-num {
  background: var(--bg-secondary);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 14px;
  color: var(--text-primary);
  outline: none;
  font-weight: 500;
}

.planner-select:focus,
.planner-num:focus {
  border-color: rgba(255, 107, 0, 0.4);
}

.planner-metric-large {
  background: var(--bg-primary);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  margin-bottom: 16px;
}

.plan-metric-lbl {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.plan-metric-val {
  font-size: 34px;
  font-weight: 900;
  font-family: var(--font-display);
  color: var(--accent-orange);
}

.planner-grid-sub {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.plan-sub-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.p-sub-emoji {
  font-size: 20px;
}

.p-sub-lbl {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
}

.plan-sub-card strong {
  font-size: 13px;
  color: var(--text-primary);
}

.planner-macro-breakdown {
  background: var(--bg-primary);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-md);
  padding: 18px;
}

.p-macro-bars {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.p-macro-dot-bg {
  height: 4px;
  background: var(--bg-secondary);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 4px;
}

.p-macro-dot-fill {
  height: 100%;
  border-radius: 2px;
  transition: width 0.5s ease;
}

/* =========================================================================
   12. Testimonials (Social Proof) Section Styles
   ========================================================================= */
.testimonials-section {
  background: var(--bg-primary);
}

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

.testimonial-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: var(--transition-smooth);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-neon);
  transform: translateY(-4px);
  border-color: rgba(255, 107, 0, 0.12);
}

.t-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.t-user-profile {
  display: flex;
  align-items: center;
  gap: 12px;
}

.t-user-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
}

.t-user-name {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-primary);
}

.t-user-handle {
  font-size: 11px;
  color: var(--text-muted);
}

.t-rating {
  font-size: 12px;
}

.t-achievement {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-orange);
  background: rgba(255, 107, 0, 0.06);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  border: 1px solid rgba(255, 107, 0, 0.1);
}

.t-review-text {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.6;
  font-style: italic;
}

.theme-toggle {
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.08);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: var(--transition-smooth);
}

.theme-toggle:hover {
  background: rgba(0, 0, 0, 0.1);
  transform: scale(1.05);
}

/* =========================================================================
   Responsive Fixes for New Sections
   ========================================================================= */
@media (max-width: 1024px) {
  .scan-demo-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .scan-phone-sim {
    order: -1;
  }

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

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

  .calc-tabs {
    flex-direction: column;
    gap: 4px;
  }
}

/* =========================================================================
   WHY RYZO IS DIFFERENT — Problem/Solution Section (Reference Image Style)
   ========================================================================= */

.different-section {
  background: #f8f9fb;
  padding: 80px 0;
}

body.dark-theme .different-section {
  background: var(--bg-secondary);
}

.different-main-title {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 900;
  color: #0f1724;
  margin-bottom: 12px;
  line-height: 1.15;
}

body.dark-theme .different-main-title {
  color: #fff;
}

.different-subtitle {
  font-size: 15px;
  color: #64748b;
  max-width: 540px;
  margin: 0 auto 48px;
  line-height: 1.6;
}

body.dark-theme .different-subtitle {
  color: var(--text-secondary);
}

/* ── Row container ── */
.diff-rows-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ── Individual Row Card ── */
.diff-row-card {
  background: #ffffff;
  border: 1px solid #e8ecf0;
  border-radius: 20px;
  display: grid;
  grid-template-columns: 1fr 56px 1fr;
  align-items: center;
  overflow: hidden;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
  min-height: 120px;
}

.diff-row-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

body.dark-theme .diff-row-card {
  background: #12131a;
  border-color: rgba(255, 255, 255, 0.06);
}

body.dark-theme .diff-row-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

/* ── Left side — Before Ryzo ── */
.diff-side-bad {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 28px;
  border-right: 1px solid #e8ecf0;
}

body.dark-theme .diff-side-bad {
  border-right-color: rgba(255, 255, 255, 0.06);
}

/* ── Right side — With Ryzo ── */
.diff-side-good {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 28px;
  border-left: 1px solid #e8ecf0;
}

body.dark-theme .diff-side-good {
  border-left-color: rgba(255, 255, 255, 0.06);
}

/* ── Icon wrapper ── */
.diff-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bad-bg {
  background: #fff0f0;
}

body.dark-theme .diff-icon-wrap.bad-bg {
  background: rgba(239, 68, 68, 0.1);
}

.diff-emoji {
  font-size: 24px;
  line-height: 1;
}

/* ── Content ── */
.diff-content {
  flex: 1;
  min-width: 0;
}

.diff-badge-bad {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  color: #ef4444;
  background: rgba(239, 68, 68, 0.08);
  padding: 3px 10px;
  border-radius: 99px;
  margin-bottom: 8px;
  letter-spacing: 0.2px;
}

.diff-badge-good {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  color: #16a34a;
  background: rgba(22, 163, 74, 0.08);
  padding: 3px 10px;
  border-radius: 99px;
  margin-bottom: 8px;
  letter-spacing: 0.2px;
}

.diff-heading {
  font-size: 15px;
  font-weight: 800;
  color: #0f1724;
  margin: 0 0 6px 0;
  line-height: 1.3;
}

body.dark-theme .diff-heading {
  color: #fff;
}

.diff-text {
  font-size: 13px;
  color: #64748b;
  line-height: 1.55;
  margin: 0;
}

body.dark-theme .diff-text {
  color: var(--text-secondary);
}

/* ── Arrow divider circle ── */
.diff-arrow-circle {
  width: 56px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.arrow-svg {
  width: 32px;
  height: 32px;
  background: #f0f2f5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #94a3b8;
  flex-shrink: 0;
  /* Make the span act like flexbox center */
  display: inline-flex;
  place-items: center;
  line-height: 1;
  font-style: normal;
}

body.dark-theme .arrow-svg {
  background: #1b1c26;
  color: #475569;
}

/* ── Graphic Box (right column widget) ── */
.diff-graphic-box {
  flex-shrink: 0;
  margin-left: auto;
}

/* =========================================================================
   GRAPHIC 1 — Salad Photo Card (AI Photo scanner)
   ========================================================================= */
.g-card-salad {
  width: 140px;
  height: 90px;
  background: linear-gradient(135deg, #e8f5e9, #f1f8e9);
  border-radius: 16px;
  border: 1px solid #d4edda;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
}

.g-salad-bowl {
  font-size: 36px;
  line-height: 1;
}

.g-salad-pill {
  display: flex;
  align-items: center;
  gap: 5px;
  background: #fff;
  border: 1px solid #d0ecd8;
  border-radius: 99px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 700;
  color: #16a34a;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.g-check-icon {
  width: 14px;
  height: 14px;
  background: #16a34a;
  color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  font-weight: 900;
  flex-shrink: 0;
}

/* =========================================================================
   GRAPHIC 2 — Barcode Scanner Card
   ========================================================================= */
.g-card-barcode {
  width: 140px;
  height: 90px;
  background: linear-gradient(135deg, #f5f9ff, #ecf3ff);
  border: 1px solid #dce8fd;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  overflow: hidden;
  position: relative;
}

.barcode-lines-container {
  position: relative;
  width: 100px;
  height: 36px;
  overflow: hidden;
  border-radius: 4px;
}

/* CSS-drawn barcode stripes */
.barcode-lines {
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(90deg,
      #1e293b 0px, #1e293b 2px,
      transparent 2px, transparent 4px,
      #1e293b 4px, #1e293b 5px,
      transparent 5px, transparent 8px,
      #1e293b 8px, #1e293b 11px,
      transparent 11px, transparent 13px,
      #1e293b 13px, #1e293b 14px,
      transparent 14px, transparent 17px,
      #1e293b 17px, #1e293b 20px,
      transparent 20px, transparent 22px,
      #1e293b 22px, #1e293b 23px,
      transparent 23px, transparent 26px,
      #1e293b 26px, #1e293b 29px);
  border-radius: 2px;
}

body.dark-theme .barcode-lines {
  background: repeating-linear-gradient(90deg,
      #94a3b8 0px, #94a3b8 2px,
      transparent 2px, transparent 4px,
      #94a3b8 4px, #94a3b8 5px,
      transparent 5px, transparent 8px,
      #94a3b8 8px, #94a3b8 11px,
      transparent 11px, transparent 13px,
      #94a3b8 13px, #94a3b8 14px,
      transparent 14px, transparent 17px,
      #94a3b8 17px, #94a3b8 20px,
      transparent 20px, transparent 22px,
      #94a3b8 22px, #94a3b8 23px,
      transparent 23px, transparent 26px,
      #94a3b8 26px, #94a3b8 29px);
}

/* Animated red laser sweep */
.barcode-laser {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: rgba(239, 68, 68, 0.9);
  box-shadow: 0 0 6px rgba(239, 68, 68, 0.6);
  animation: barcodeSweep 1.6s ease-in-out infinite;
}

@keyframes barcodeSweep {
  0% {
    top: 0;
  }

  50% {
    top: 100%;
  }

  100% {
    top: 0;
  }
}

.barcode-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1px solid #dce8fd;
  border-radius: 10px;
  padding: 4px 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.barcode-leaf-icon {
  font-size: 13px;
}

.barcode-pill-text {
  display: flex;
  flex-direction: column;
}

.barcode-food-name {
  font-size: 10px;
  font-weight: 800;
  color: #0f1724;
  line-height: 1.2;
}

.barcode-food-cals {
  font-size: 9px;
  color: #64748b;
}

body.dark-theme .g-card-barcode {
  background: linear-gradient(135deg, #1b1c26, #12131a);
  border-color: rgba(255, 255, 255, 0.06);
}

body.dark-theme .barcode-pill {
  background: #1b1c26;
  border-color: rgba(255, 255, 255, 0.06);
}

body.dark-theme .barcode-food-name {
  color: #fff;
}

/* =========================================================================
   GRAPHIC 3 — Steps / Arc Radial Progress
   ========================================================================= */
.g-card-steps {
  width: 140px;
  height: 90px;
  background: linear-gradient(135deg, #f0fdf4, #ecfdf5);
  border: 1px solid #bbf7d0;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.dark-theme .g-card-steps {
  background: linear-gradient(135deg, #0d1f14, #091a11);
  border-color: rgba(22, 163, 74, 0.2);
}

.c-radial-progress {
  position: relative;
  width: 80px;
  height: 80px;
}

.radial-svg {
  width: 80px;
  height: 80px;
  transform: rotate(-90deg);
}

.radial-track {
  fill: none;
  stroke: #d1fae5;
}

body.dark-theme .radial-track {
  stroke: rgba(22, 163, 74, 0.12);
}

.radial-fill {
  fill: none;
  stroke: #16a34a;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.6s ease;
}

.radial-center-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.radial-lbl {
  font-size: 7px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.2px;
}

.radial-c-val {
  font-size: 14px;
  font-weight: 900;
  color: #0f1724;
  line-height: 1;
}

body.dark-theme .radial-c-val {
  color: #fff;
}

.radial-rank {
  font-size: 7.5px;
  font-weight: 700;
  color: #16a34a;
}

/* =========================================================================
   GRAPHIC 4 — AI Workout Card
   ========================================================================= */
.g-card-workout {
  width: 160px;
  height: 90px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

body.dark-theme .g-card-workout {
  background: #12131a;
  border-color: rgba(255, 255, 255, 0.06);
}

.workout-info-col {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.w-card-title {
  font-size: 11px;
  font-weight: 800;
  color: #0f1724;
}

body.dark-theme .w-card-title {
  color: #fff;
}

.w-card-sub {
  font-size: 9px;
  color: #64748b;
}

.w-card-icons {
  display: flex;
  gap: 4px;
  margin-top: 4px;
}

.w-icon {
  font-size: 16px;
}

.w-play-btn {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, #16a34a, #22c55e);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 12px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.35);
  padding-left: 2px;
  /* optical centering */
}

/* =========================================================================
   GRAPHIC 5 — Water Tracker Card
   ========================================================================= */
.g-card-water {
  width: 150px;
  height: 90px;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  border: 1px solid #bfdbfe;
  border-radius: 16px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

body.dark-theme .g-card-water {
  background: linear-gradient(135deg, #0c1628, #091220);
  border-color: rgba(59, 130, 246, 0.2);
}

.water-info-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.water-today-lbl {
  font-size: 9px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
}

.water-cups-lbl {
  font-size: 12px;
  font-weight: 800;
  color: #0f1724;
}

body.dark-theme .water-cups-lbl {
  color: #fff;
}

.water-progress-outer {
  width: 88px;
  height: 5px;
  background: #bfdbfe;
  border-radius: 99px;
  overflow: hidden;
  margin-top: 2px;
}

body.dark-theme .water-progress-outer {
  background: rgba(59, 130, 246, 0.15);
}

.water-progress-inner {
  height: 100%;
  background: #3b82f6;
  border-radius: 99px;
  transition: width 0.6s ease;
}

.water-cup-display {
  font-size: 28px;
  line-height: 1;
}

/* =========================================================================
   GRAPHIC 6 — Leaderboard Rank Card
   ========================================================================= */
.g-card-leaderboard {
  width: 150px;
  height: 90px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

body.dark-theme .g-card-leaderboard {
  background: #12131a;
  border-color: rgba(255, 255, 255, 0.06);
}

.leaderboard-icon {
  font-size: 32px;
  flex-shrink: 0;
}

.leaderboard-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.lead-rank-text {
  font-size: 12px;
  font-weight: 800;
  color: #0f1724;
  line-height: 1.2;
}

body.dark-theme .lead-rank-text {
  color: #fff;
}

.lead-sub-text {
  font-size: 10px;
  color: #64748b;
}

.lead-streak-text {
  font-size: 11px;
  font-weight: 700;
  color: #ea580c;
  margin-top: 4px;
}

/* =========================================================================
   RESPONSIVE — Why Ryzo is Different Section
   ========================================================================= */
@media (max-width: 900px) {
  .diff-row-card {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    min-height: unset;
  }

  .diff-side-bad {
    border-right: none;
    border-bottom: 1px solid #e8ecf0;
    padding: 20px 20px;
  }

  body.dark-theme .diff-side-bad {
    border-bottom-color: rgba(255, 255, 255, 0.06);
  }

  .diff-side-good {
    border-left: none;
    padding: 20px 20px;
    flex-wrap: wrap;
  }

  .diff-arrow-circle {
    width: 100%;
    padding: 8px 0;
    background: #f8f9fb;
    border-top: 1px solid #e8ecf0;
    border-bottom: 1px solid #e8ecf0;
  }

  body.dark-theme .diff-arrow-circle {
    background: #0d0d12;
    border-color: rgba(255, 255, 255, 0.06);
  }

  .diff-graphic-box {
    margin-left: 0;
    margin-top: 12px;
  }

  .g-card-salad,
  .g-card-barcode,
  .g-card-steps,
  .g-card-workout,
  .g-card-water,
  .g-card-leaderboard {
    width: 100%;
    max-width: 100%;
    height: 80px;
  }

  .different-section {
    padding: 48px 0;
  }
}

/* =============== LOG MEAL SECTION OVERRIDES =============== */
.scan-left-col {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 500px;
}

.scan-demo-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
}

.scan-demo-top-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 107, 0, 0.06);
  color: var(--accent-orange);
  font-size: 11px;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 99px;
  margin-bottom: 20px;
}

.scan-demo-title {
  font-size: 46px;
  font-weight: 900;
  line-height: 1.1;
  color: #0c111d;
  margin-bottom: 16px;
}

.scan-demo-highlight {
  color: var(--accent-orange);
}

.scan-demo-subtitle {
  font-size: 16px;
  color: #4b5563;
  line-height: 1.6;
}

/* scan selectors */
.scan-selectors {
  display: flex !important;
  flex-direction: column;
  gap: 16px;
}

.scan-food-card {
  padding: 12px 20px !important;
  border-radius: 16px !important;
  background: #fdfdfd !important;
  border: 1px solid #e8ecf0 !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02) !important;
  align-items: center;
}

.scan-food-card.active {
  background: #fffafa !important;
  border-color: #ffd9c2 !important;
}

.scan-food-emoji-img {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent !important;
}

.scan-food-text h4 {
  font-size: 15px !important;
  font-weight: 800 !important;
  color: #0c111d !important;
}

.scan-food-text p {
  color: #64748b !important;
}

.scan-arrow-right-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e8ecf0;
  color: #94a3b8;
  transition: all 0.2s;
}

.scan-food-card.active .scan-arrow-right-circle {
  border-color: var(--accent-orange);
  color: var(--accent-orange);
}

.scan-arrow-right {
  margin: 0 !important;
  transform: none !important;
  color: inherit !important;
}

/* Features */
.scan-features-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 10px;
  padding: 24px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e8ecf0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  text-align: center;
}

.scan-feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.sfi-icon {
  color: var(--accent-orange);
  margin-bottom: 4px;
}

.sfi-title {
  font-size: 11px;
  font-weight: 800;
  color: #0c111d;
}

.sfi-sub {
  font-size: 9px;
  color: #64748b;
  line-height: 1.4;
}

/* Phone screen overrides */
.sim-viewport {
  background: url('assets/feature_01_ai_snap_meal.png') center/cover no-repeat !important;
}

.scan-overlay-pill {
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(8px);
  padding: 8px 14px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 107, 0, 0.3);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  z-index: 50;
  color: #fff;
}

.pill-text {
  font-size: 12px;
  font-weight: 600;
}

.pill-check {
  background: var(--accent-orange);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cam-corner {
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  z-index: 20;
}

.cam-tl {
  top: 30px;
  left: 30px;
  border-right: none;
  border-bottom: none;
  border-radius: 8px 0 0 0;
}

.cam-tr {
  top: 30px;
  right: 30px;
  border-left: none;
  border-bottom: none;
  border-radius: 0 8px 0 0;
}

.cam-bl {
  bottom: 300px;
  left: 30px;
  border-right: none;
  border-top: none;
  border-radius: 0 0 0 8px;
}

.cam-br {
  bottom: 300px;
  right: 30px;
  border-left: none;
  border-top: none;
  border-radius: 0 0 8px 0;
}

/* Drawer */
.sim-drawer {
  padding: 20px 24px 30px 24px !important;
  border-top-left-radius: 28px !important;
  border-top-right-radius: 28px !important;
}

.drawer-food-name {
  font-size: 20px !important;
}

.drawer-cals-row {
  margin-top: 10px;
}

.drawer-green-badge {
  background: #f0fdf4 !important;
  color: #16a34a !important;
  padding: 4px 10px !important;
  display: flex;
  align-items: center;
  gap: 4px;
}

.xp-badge-glow {
  background: var(--accent-orange) !important;
  width: 54px !important;
  height: 54px !important;
  border-radius: 50% !important;
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: none !important;
  color: #fff !important;
  margin-right: 0 !important;
}

.drawer-macro-card {
  background: #f8fafc !important;
  border: 1px solid #f1f5f9 !important;
  border-radius: 16px !important;
  padding: 16px 12px !important;
  text-align: center;
  gap: 8px;
}

.m-card-name {
  font-size: 11px !important;
  color: #64748b !important;
  margin-bottom: 4px;
}

.m-card-val {
  font-size: 18px !important;
  font-weight: 800 !important;
  color: #0c111d !important;
}

.btn-drawer-add {
  margin-top: 8px;
  background: var(--accent-orange) !important;
  font-size: 14px !important;
  padding: 16px !important;
  border-radius: 12px !important;
}

body.dark-theme .scan-demo-title {
  color: #fff;
}

body.dark-theme .scan-food-card {
  background: #12131a !important;
  border-color: rgba(255, 255, 255, 0.05) !important;
}

body.dark-theme .scan-features-row {
  background: #0f1117 !important;
  border-color: rgba(255, 255, 255, 0.05) !important;
}

body.dark-theme .sfi-title {
  color: #fff;
}

/* =============== STEPS TRACKING SECTION =============== */
.steps-section {
  padding: 100px 0;
  background: linear-gradient(140deg, #f8faff 0%, #ffffff 50%, #fff8f5 100%);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  overflow: hidden;
  position: relative;
}

body.dark-theme .steps-section {
  background: linear-gradient(160deg, #050a1a 0%, #090a0f 50%, #1a0800 100%);
}

.steps-section-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: center;
}

/* ── Left card column ── */
.steps-card-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}

.steps-glow-orb {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 107, 0, 0.1) 0%, transparent 70%);
  filter: blur(60px);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
}

/* ── Main tracker card ── */
.steps-tracker-card {
  background: #ffffff;
  border: 1px solid #e8ecf0;
  border-radius: 28px;
  padding: 28px 28px 20px;
  box-shadow: 0 16px 60px rgba(0, 0, 0, 0.07);
  position: relative;
  z-index: 1;
}

body.dark-theme .steps-tracker-card {
  background: #12131a;
  border-color: rgba(255, 255, 255, 0.06);
  box-shadow: 0 16px 60px rgba(0, 0, 0, 0.3);
}

/* Header row */
.stc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.stc-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.stc-icon-wrap {
  width: 44px;
  height: 44px;
  background: rgba(255, 107, 0, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  border: 1px solid rgba(255, 107, 0, 0.15);
}

.stc-title {
  font-size: 16px;
  font-weight: 800;
  color: #0f1117;
}

body.dark-theme .stc-title {
  color: #fff;
}

.stc-sub {
  font-size: 11px;
  color: #64748b;
  margin-top: 1px;
}

.stc-live-badge {
  font-size: 10px;
  font-weight: 800;
  color: #16a34a;
  background: #f0fdf4;
  padding: 4px 10px;
  border-radius: 99px;
  letter-spacing: 0.5px;
  animation: pulseRed 2s infinite;
}

/* Circular ring */
.stc-ring-wrap {
  position: relative;
  width: 180px;
  height: 180px;
  margin: 0 auto 24px;
}

.stc-ring-svg {
  width: 100%;
  height: 100%;
}

.stc-ring-track {
  stroke: #f1f5f9;
}

body.dark-theme .stc-ring-track {
  stroke: #1b1c26;
}

.stc-ring-fill {
  stroke: url(#stepsGradient);
  stroke: var(--accent-orange);
  transition: stroke-dashoffset 1.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.stc-ring-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.stc-step-count {
  font-size: 28px;
  font-weight: 900;
  color: #0f1117;
  line-height: 1;
}

body.dark-theme .stc-step-count {
  color: #fff;
}

.stc-step-label {
  font-size: 11px;
  color: #64748b;
  font-weight: 500;
}

.stc-step-pct {
  font-size: 13px;
  font-weight: 800;
  color: var(--accent-orange);
  margin-top: 2px;
}

/* Stats row */
.stc-stats-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 20px;
}

body.dark-theme .stc-stats-row {
  background: #1b1c26;
}

.stc-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  flex: 1;
}

.stc-stat-icon {
  font-size: 18px;
}

.stc-stat-val {
  font-size: 15px;
  font-weight: 800;
  color: #0f1117;
}

body.dark-theme .stc-stat-val {
  color: #fff;
}

.stc-stat-lbl {
  font-size: 9px;
  color: #94a3b8;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.stc-stat-divider {
  width: 1px;
  height: 36px;
  background: #e2e8f0;
  flex-shrink: 0;
}

body.dark-theme .stc-stat-divider {
  background: #2d313d;
}

/* Weekly bar chart */
.stc-week-section {}

.stc-week-label {
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.stc-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 80px;
}

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

.stc-bar {
  width: 100%;
  background: linear-gradient(180deg, #fed7aa, #fdba74);
  border-radius: 6px 6px 0 0;
  transition: height 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.stc-bar-today {
  background: linear-gradient(180deg, var(--accent-orange), #ff4500);
  box-shadow: 0 4px 16px rgba(255, 107, 0, 0.35);
}

.stc-bar-future {
  background: #e5e7eb;
}

body.dark-theme .stc-bar-future {
  background: #2d313d;
}

.stc-bar-day {
  font-size: 9px;
  color: #94a3b8;
  font-weight: 600;
  text-transform: uppercase;
}

.stc-bar-today-lbl {
  color: var(--accent-orange);
  font-weight: 800;
}

/* Leaderboard card */
.steps-leaderboard-card {
  background: #ffffff;
  border: 1px solid #e8ecf0;
  border-radius: 20px;
  padding: 18px 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 1;
}

body.dark-theme .steps-leaderboard-card {
  background: #12131a;
  border-color: rgba(255, 255, 255, 0.06);
}

.slc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 800;
  color: #0f1117;
}

body.dark-theme .slc-header {
  color: #fff;
}

.slc-count {
  font-size: 10px;
  color: #64748b;
  font-weight: 500;
}

.slc-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.slc-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 10px;
  background: #f8fafc;
  font-size: 13px;
}

body.dark-theme .slc-row {
  background: #1b1c26;
}

.slc-row-you {
  background: rgba(255, 107, 0, 0.06) !important;
  border: 1px solid rgba(255, 107, 0, 0.2);
}

.slc-rank {
  font-size: 16px;
  width: 24px;
}

.slc-name {
  flex: 1;
  font-weight: 700;
  color: #0f1117;
  display: flex;
  align-items: center;
  gap: 6px;
}

body.dark-theme .slc-name {
  color: #fff;
}

.slc-you-tag {
  background: var(--accent-orange);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  padding: 1px 7px;
  border-radius: 99px;
}

.slc-pts {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-orange);
}

/* ── Right text column ── */
.steps-text-col {
  display: flex;
  flex-direction: column;
}

.steps-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 107, 0, 0.07);
  border: 1px solid rgba(255, 107, 0, 0.18);
  border-radius: 99px;
  padding: 5px 14px;
  font-size: 11px;
  font-weight: 800;
  color: var(--accent-orange);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  width: fit-content;
  margin-bottom: 20px;
}

.steps-hero-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  color: #0f1724;
  line-height: 1.15;
  margin-bottom: 16px;
}

body.dark-theme .steps-hero-title {
  color: #fff;
}

.steps-orange-text {
  color: var(--accent-orange);
}

.steps-hero-sub {
  font-size: 16px;
  color: #4b5563;
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 480px;
}

body.dark-theme .steps-hero-sub {
  color: #94a3b8;
}

/* App connection rows (reuse music row style) */
.steps-app-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.steps-app-row {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #ffffff;
  border: 1px solid #e8ecf0;
  border-radius: 16px;
  padding: 14px 18px;
  cursor: pointer;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  border-left: 4px solid transparent;
}

body.dark-theme .steps-app-row {
  background: #12131a;
  border-color: rgba(255, 255, 255, 0.06);
}

.steps-app-row:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transform: translateX(4px);
}

.steps-app-row:hover .sar-arrow {
  transform: translateX(3px);
  color: var(--accent-orange);
}

.gfit-row {
  border-left-color: #4285F4;
}

.phone-row {
  border-left-color: #374151;
}

.samsung-row {
  border-left-color: #1428A0;
}

.sar-logo {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.gfit-logo {
  background: rgba(66, 133, 244, 0.1);
}

.phone-logo {
  background: rgba(55, 65, 81, 0.08);
}

.samsung-logo {
  background: rgba(20, 40, 160, 0.08);
}

.sar-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.sar-name {
  font-size: 14px;
  font-weight: 800;
  color: #0f1724;
}

body.dark-theme .sar-name {
  color: #fff;
}

.sar-status {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.4px;
  margin-top: 1px;
  color: #94a3b8;
}

.sar-status.connected {
  color: #16a34a;
}

.sar-arrow {
  font-size: 18px;
  color: #94a3b8;
  transition: transform 0.2s ease, color 0.2s ease;
}

/* Feature list */
.steps-feat-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sfl-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.sfl-icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.sfl-text {
  display: flex;
  flex-direction: column;
}

.sfl-title {
  font-size: 14px;
  font-weight: 700;
  color: #0f1724;
  line-height: 1.3;
}

body.dark-theme .sfl-title {
  color: #fff;
}

.sfl-sub {
  font-size: 12px;
  color: #64748b;
  margin-top: 2px;
}

/* Responsive */
@media (max-width: 1024px) {
  .steps-section-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .steps-card-col {
    order: -1;
  }
}

@media (max-width: 600px) {
  .stc-step-count {
    font-size: 22px;
  }

  .steps-hero-title {
    font-size: 28px;
  }
}

/* ─────────────────────────────────────────────────────────────
   Subscription Pricing Section Styling
   ───────────────────────────────────────────────────────────── */
.pricing-section {
  padding: 80px 0;
  position: relative;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  max-width: 980px;
  margin: 30px auto 0 auto;
}

.pricing-card {
  background: var(--card-bg, #ffffff);
  border: 1px solid rgba(255, 107, 0, 0.25);
  border-radius: 24px;
  padding: 40px;
  width: 100%;
  box-sizing: border-box;
  position: relative;
  box-shadow: 0 20px 60px rgba(255, 107, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card.pricing-free {
  border-color: rgba(148, 163, 184, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

body.dark-theme .pricing-card.pricing-free {
  background: rgba(18, 19, 26, 0.6);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

body.dark-theme .pricing-card.pricing-featured {
  background: rgba(18, 19, 26, 0.95);
  border-color: rgba(255, 107, 0, 0.45);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 35px rgba(255, 107, 0, 0.2);
}

.disabled-feat {
  opacity: 0.45;
  text-decoration: line-through;
}

.cross-icon {
  color: #ef4444;
  font-weight: 900;
  font-size: 14px;
}

.btn-glass {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(148, 163, 184, 0.3);
  color: var(--text-color, #0f1724);
  padding: 14px 24px;
  border-radius: 99px;
  font-weight: 700;
  font-size: 14px;
  transition: all 0.2s ease;
}

body.dark-theme .btn-glass {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 70px rgba(255, 107, 0, 0.2);
}

.pricing-badge {
  position: absolute;
  top: -16px;
  right: 32px;
  background: linear-gradient(135deg, #ff6b00, #ff8800);
  color: #ffffff;
  font-size: 11px;
  font-weight: 900;
  padding: 6px 16px;
  border-radius: 99px;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(255, 107, 0, 0.4);
}

.plan-name {
  font-size: 26px;
  font-weight: 900;
  color: var(--text-color, #0f1724);
  margin-bottom: 6px;
}

body.dark-theme .plan-name {
  color: #ffffff;
}

.plan-tagline {
  font-size: 14px;
  color: var(--text-muted, #64748b);
  margin-bottom: 24px;
}

.pricing-price-wrapper {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 6px;
}

.price-currency {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted, #64748b);
}

.price-amount {
  font-size: 48px;
  font-weight: 900;
  color: var(--primary-orange, #ff6b00);
  line-height: 1;
}

.price-period {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-muted, #64748b);
}

.pricing-note {
  font-size: 12px;
  color: #94a3b8;
  margin-bottom: 28px;
  font-style: italic;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pricing-features li {
  font-size: 14px;
  color: var(--text-color, #334155);
  display: flex;
  align-items: center;
  gap: 10px;
}

body.dark-theme .pricing-features li {
  color: #e2e8f0;
}

.check-icon {
  color: #16a34a;
  font-weight: 900;
  font-size: 16px;
}

.btn-full-width {
  width: 100%;
  text-align: center;
  display: block;
  box-sizing: border-box;
}

.pricing-billing-disclosure {
  font-size: 12px;
  color: #94a3b8;
  margin-top: 14px;
  line-height: 1.5;
  text-align: center;
}

.pricing-billing-disclosure a {
  color: var(--primary-orange, #ff6b00);
  text-decoration: underline;
}