/* ==========================================================================
   Vaznim | Modern Ultra-Premium Health & AI Design System
   Seed Color: #006D42 (Deep Emerald) + Mint (#10B981) + Warm Amber
   Rich Aesthetics: Mesh gradients, Glassmorphism, Micro-interactions
   ========================================================================== */

:root {
  /* Brand Tokens */
  --color-primary: #006D42;
  --color-primary-dark: #004D2E;
  --color-primary-light: #059669;
  --color-primary-tint: rgba(0, 109, 66, 0.08);
  --color-accent: #10B981;
  --color-accent-gold: #F59E0B;
  --color-accent-blue: #2563EB;
  
  /* Neutral Web Palette */
  --bg-main: #FFFFFF;
  --bg-subtle: #F8FAF9;
  --bg-card: #FFFFFF;
  --bg-dark: #09130E;
  --bg-dark-card: #11221A;

  --text-main: #0F172A;
  --text-secondary: #475569;
  --text-muted: #94A3B8;
  --text-white: #FFFFFF;

  --border-light: rgba(0, 0, 0, 0.07);
  --border-subtle: #E2E8F0;

  /* Elevation Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 20px -2px rgba(0, 109, 66, 0.08), 0 2px 6px -1px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 16px 40px -4px rgba(0, 109, 66, 0.12), 0 4px 14px -2px rgba(0, 0, 0, 0.05);
  --shadow-glow: 0 0 50px rgba(16, 185, 129, 0.22);

  /* Typography */
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--bg-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* Ambient Background Glow Orbs */
.ambient-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
  z-index: 0;
  opacity: 0.6;
}

.glow-top-left {
  top: -100px;
  left: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.18) 0%, rgba(0, 109, 66, 0.05) 60%, transparent 80%);
}

.glow-top-right {
  top: 150px;
  right: -100px;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(0, 109, 66, 0.12) 0%, rgba(16, 185, 129, 0.04) 60%, transparent 80%);
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  position: relative;
  z-index: 1;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.25;
}

.gradient-text {
  background: linear-gradient(135deg, #006D42 0%, #10B981 50%, #059669 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-family: var(--font-heading);
  font-weight: 600;
  text-decoration: none;
  border-radius: 9999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, #006D42 0%, #008751 100%);
  color: var(--text-white);
  box-shadow: 0 4px 18px rgba(0, 109, 66, 0.32);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #005a36 0%, #007546 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 109, 66, 0.42);
  color: var(--text-white);
}

/* Subtle Shimmer Sheen on Main Action Button */
.shine-btn::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 100%);
  transform: rotate(30deg);
  animation: btnShine 4s infinite;
}

@keyframes btnShine {
  0% { left: -60%; }
  25% { left: 140%; }
  100% { left: 140%; }
}

.btn-outline {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  color: var(--color-primary-dark);
  border: 1.5px solid rgba(0, 109, 66, 0.25);
}

.btn-outline:hover {
  background: var(--color-primary-tint);
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 109, 66, 0.12);
}

.btn-icon-circle {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #E8F5E9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}

.btn-light {
  background: #FFFFFF;
  color: var(--color-primary-dark);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn-light:hover {
  background: #F8FAF9;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

.btn-sm {
  padding: 0.55rem 1.25rem;
  font-size: 0.88rem;
}

.btn-md {
  padding: 0.8rem 1.6rem;
  font-size: 0.98rem;
}

.btn-lg {
  padding: 0.95rem 2rem;
  font-size: 1.05rem;
}

.btn-full {
  width: 100%;
}

/* Header & Navbar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  transition: all var(--transition-fast);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-sm);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-logo-wrap {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, #E8F5E9 0%, #C8E6C9 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 109, 66, 0.15);
}

.brand-logo-wrap.small-logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-text {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--color-primary-dark);
  letter-spacing: -0.03em;
}

.brand-chip {
  font-size: 0.72rem;
  font-weight: 700;
  background: #E8F5E9;
  color: #006D42;
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
  border: 1px solid rgba(0, 109, 66, 0.15);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
  position: relative;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle .bar {
  width: 24px;
  height: 2px;
  background-color: var(--text-main);
  transition: all 0.3s;
  border-radius: 2px;
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 82%;
  max-width: 340px;
  height: 100vh;
  background: #FFFFFF;
  z-index: 200;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  transition: right var(--transition-smooth);
}

.mobile-drawer.open {
  right: 0;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
}

.drawer-close {
  background: transparent;
  border: none;
  font-size: 2rem;
  line-height: 1;
  color: var(--text-secondary);
  cursor: pointer;
}

.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding-top: 1.5rem;
}

.drawer-link {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-main);
  text-decoration: none;
}

.drawer-cta {
  margin-top: auto;
  padding-top: 1.5rem;
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 4.5rem 0 5.5rem;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: #E8F5E9;
  color: #006D42;
  font-family: var(--font-heading);
  font-size: 0.86rem;
  font-weight: 700;
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  margin-bottom: 1.4rem;
  border: 1px solid rgba(0, 109, 66, 0.18);
  box-shadow: 0 2px 10px rgba(0, 109, 66, 0.08);
}

.badge-sparkle {
  font-size: 1rem;
}

.hero-title {
  font-size: 3.4rem;
  line-height: 1.12;
  letter-spacing: -0.035em;
  margin-bottom: 1.4rem;
  color: var(--text-main);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2.2rem;
  max-width: 540px;
}

.hero-subtitle strong {
  color: var(--color-primary-dark);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  flex-wrap: wrap;
  margin-bottom: 2.75rem;
}

.hero-cta-btn {
  padding: 0.8rem 1.85rem;
  gap: 0.95rem;
}

.btn-text-wrap {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.15;
}

.btn-subtext {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.85;
}

.btn-maintext {
  font-size: 1.15rem;
  font-weight: 700;
}

/* Hero Stats Bar */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  padding: 1.25rem 1.75rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  border-radius: 22px;
  box-shadow: var(--shadow-sm);
  max-width: 530px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.stat-rating {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.stars {
  color: #F59E0B;
  font-size: 0.95rem;
  letter-spacing: 1px;
}

.rating-num {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--text-main);
}

.stat-val {
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--color-primary);
  font-family: var(--font-heading);
}

.stat-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.stat-divider {
  width: 1px;
  height: 34px;
  background-color: var(--border-subtle);
}

/* ==========================================================================
   Phone Mockup: Ultra-Realistic Android Flagship
   ========================================================================== */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone-mockup-wrapper {
  position: relative;
  width: 330px;
}

.phone-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 540px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.28) 0%, rgba(0, 109, 66, 0.06) 60%, transparent 80%);
  filter: blur(45px);
  z-index: 1;
}

.phone-frame {
  position: relative;
  z-index: 2;
  background: #0B0F19;
  border-radius: 48px;
  padding: 10px;
  box-shadow: 0 28px 65px -15px rgba(0, 50, 30, 0.4),
              0 0 0 1px rgba(255, 255, 255, 0.15);
  overflow: hidden;
}

/* Glass glare reflection */
.screen-glass-sheen {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 45%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 60%);
  pointer-events: none;
  z-index: 20;
}

.phone-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 25;
}

.punch-hole-camera {
  width: 11px;
  height: 11px;
  background: #000000;
  border-radius: 50%;
  border: 1px solid #1E293B;
}

.app-home-screen {
  background: #FFFFFF;
  border-radius: 38px;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

/* Android Status Bar */
.android-status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px 4px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #191C1A;
  background: #FFFFFF;
}

.status-icons {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Material Toolbar */
.home-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 14px 10px;
  background: #FFFFFF;
}

.toolbar-notification-btn {
  position: relative;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
}

.notification-badge {
  position: absolute;
  top: 0;
  right: -2px;
  background: #BA1A1A;
  color: #FFFFFF;
  font-size: 0.6rem;
  font-weight: 800;
  min-width: 15px;
  height: 15px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #FFFFFF;
}

.toolbar-date-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #F8FAF9;
  padding: 4px 10px;
  border-radius: 9999px;
  border: 1px solid #E5E7EB;
}

.toolbar-date-text {
  font-size: 0.84rem;
  font-weight: 700;
  color: #191C1A;
}

.toolbar-streak-box {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 4px 8px;
  border-radius: 9999px;
  background: #FFF3E0;
}

.streak-flame {
  font-size: 0.95rem;
}

.streak-count-text {
  font-size: 0.85rem;
  font-weight: 800;
  color: #FF9800;
}

/* Scroll Body */
.home-scroll-body {
  flex: 1;
  padding: 4px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
  max-height: 490px;
}

.section-sub-header h3 {
  font-size: 0.92rem;
  font-weight: 800;
  color: #191C1A;
  margin: 6px 4px 4px;
}

/* Home Solid Hero Card */
.app-card-home {
  background: #F2F4F3;
  border-radius: 20px;
  padding: 14px;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.calories-triad-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.triad-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.triad-value {
  font-size: 1.05rem;
  font-weight: 800;
  color: #191C1A;
}

.triad-label {
  font-size: 0.72rem;
  color: #404943;
}

/* Center Ring */
.triad-center-ring {
  position: relative;
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.ring-track {
  fill: none;
  stroke: #DBE5DD;
  stroke-width: 8;
}

.ring-progress {
  fill: none;
  stroke: #006D42;
  stroke-width: 8;
  stroke-linecap: round;
  transition: stroke-dasharray 1s ease;
}

.ring-center-content {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.1;
}

.ring-calories-remaining {
  font-size: 1.25rem;
  font-weight: 900;
  color: #191C1A;
}

.ring-calories-label {
  font-size: 0.68rem;
  color: #404943;
  font-weight: 600;
}

.card-inner-divider {
  width: 100%;
  height: 1px;
  background: #DBE5DD;
  margin: 12px 0 10px;
}

/* Macros Linear Indicators */
.macros-linear-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.macro-linear-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.macro-name {
  font-size: 0.68rem;
  font-weight: 700;
  color: #191C1A;
}

.macro-progress-bar {
  width: 100%;
  height: 5px;
  background: #DBE5DD;
  border-radius: 9999px;
  overflow: hidden;
}

.macro-bar-fill {
  height: 100%;
  border-radius: 9999px;
}

.fill-protein { background: #2563EB; }
.fill-fat { background: #EAB308; }
.fill-carbs { background: #B45309; }

.macro-remain {
  font-size: 0.64rem;
  color: #404943;
  font-weight: 500;
}

/* Meals Container */
.layout-meals-card {
  padding: 6px 12px;
}

.meal-item-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
}

.meal-ring-box {
  position: relative;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.meal-mini-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.meal-ring-bg {
  fill: none;
  stroke: #DBE5DD;
  stroke-width: 3;
}

.meal-ring-fg {
  fill: none;
  stroke: #006D42;
  stroke-width: 3;
  stroke-linecap: round;
}

.meal-icon-symbol {
  font-size: 0.82rem;
  position: relative;
  z-index: 2;
}

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

.meal-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.meal-name {
  font-size: 0.82rem;
  font-weight: 800;
  color: #191C1A;
}

.meal-time {
  font-size: 0.68rem;
  color: #707973;
}

.meal-cal-status {
  font-size: 0.68rem;
  color: #404943;
}

.btn-add-meal {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid #DBE5DD;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  line-height: 1;
  color: #006D42;
  cursor: pointer;
}

.btn-add-meal.active-btn {
  background: #006D42;
  color: #FFFFFF;
  border-color: #006D42;
  box-shadow: 0 2px 6px rgba(0, 109, 66, 0.3);
}

.meal-divider {
  width: 100%;
  height: 1px;
  background: #E5E7EB;
}

/* Material Bottom Navigation Bar */
.app-bottom-nav {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: #FFFFFF;
  border-top: 1px solid #E5E7EB;
  padding: 6px 0 10px;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: #707973;
  font-size: 0.62rem;
  font-weight: 600;
}

.nav-item.active {
  color: #006D42;
  font-weight: 800;
}

.nav-pill {
  background: #BCECCB;
  color: #006D42;
  padding: 3px 14px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Floating Badges */
.floating-badge {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  padding: 0.7rem 1.1rem;
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  animation: float 4s ease-in-out infinite;
}

.floating-badge .badge-icon {
  font-size: 1.4rem;
}

.floating-badge strong {
  display: block;
  font-size: 0.85rem;
  color: var(--text-main);
}

.floating-badge span {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.badge-left {
  top: 18%;
  left: -48px;
  animation-delay: 0s;
}

.badge-right {
  bottom: 22%;
  right: -50px;
  animation-delay: 2s;
}

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

/* ==========================================================================
   Interactive Camera AI Showcase
   ========================================================================== */
.camera-ai-section {
  padding: 6.5rem 0;
  background: radial-gradient(circle at 10% 30%, rgba(0, 109, 66, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 90% 70%, rgba(16, 185, 129, 0.08) 0%, transparent 50%);
}

.camera-ai-container {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 4.5rem;
}

.camera-scanner-card {
  position: relative;
  background: #FFFFFF;
  border-radius: 32px;
  padding: 1.4rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  max-width: 450px;
  margin: 0 auto;
}

/* Interactive Food Tabs */
.food-tabs-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  overflow-x: auto;
  padding-bottom: 4px;
}

.food-tab {
  background: #F1F5F9;
  border: 1px solid transparent;
  padding: 0.4rem 0.85rem;
  border-radius: 9999px;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.food-tab:hover {
  background: #E2E8F0;
  color: var(--text-main);
}

.food-tab.active {
  background: #006D42;
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(0, 109, 66, 0.25);
}

.camera-scanner-lens {
  position: relative;
  width: 100%;
  height: 270px;
  border-radius: 22px;
  overflow: hidden;
  background: #0F172A;
}

.scanner-food-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.scanner-frame {
  position: absolute;
  top: 18px;
  left: 18px;
  right: 18px;
  bottom: 18px;
  border: 1px dashed rgba(255, 255, 255, 0.4);
  border-radius: 16px;
  pointer-events: none;
}

.scan-corner {
  position: absolute;
  width: 18px;
  height: 18px;
  border-color: #10B981;
  border-style: solid;
}

.corner-tl { top: -2px; left: -2px; border-width: 3px 0 0 3px; }
.corner-tr { top: -2px; right: -2px; border-width: 3px 3px 0 0; }
.corner-bl { bottom: -2px; left: -2px; border-width: 0 0 3px 3px; }
.corner-br { bottom: -2px; right: -2px; border-width: 0 3px 3px 0; }

.scan-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #10B981, transparent);
  box-shadow: 0 0 14px #10B981;
  animation: scanLaser 2.4s ease-in-out infinite alternate;
}

@keyframes scanLaser {
  0% { top: 10%; }
  100% { top: 90%; }
}

.ai-detect-tag {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  padding: 8px 14px;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.ai-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px #10B981;
  flex-shrink: 0;
}

.scanner-results-card {
  margin-top: 1rem;
  background: #F8FAF9;
  border-radius: 20px;
  padding: 1.15rem;
  border: 1px solid #E2E8F0;
}

.scan-result-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.scan-pill-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: block;
}

.result-cal {
  font-size: 1.45rem;
  font-weight: 900;
  color: #006D42;
  font-family: var(--font-heading);
}

.badge-accuracy {
  font-size: 0.75rem;
  font-weight: 700;
  background: #E8F5E9;
  color: #006D42;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  border: 1px solid rgba(0, 109, 66, 0.2);
}

.scan-macros-chips {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 0.95rem;
}

.chip-macro {
  padding: 0.55rem 0.4rem;
  border-radius: 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.chip-label {
  font-size: 0.65rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.chip-macro strong {
  font-size: 0.95rem;
  font-weight: 800;
}

.chip-macro.p { background: #EFF6FF; color: #1D4ED8; }
.chip-macro.f { background: #FEF3C7; color: #B45309; }
.chip-macro.c { background: #ECFDF5; color: #047857; }

.scan-auto-btn {
  text-align: center;
  background: #006D42;
  color: #FFFFFF;
  font-size: 0.84rem;
  font-weight: 700;
  padding: 0.65rem;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 109, 66, 0.2);
}

.camera-ai-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.camera-features-list {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  margin-bottom: 2.25rem;
}

.cam-feat-item {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
}

.cam-feat-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: #E8F5E9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 109, 66, 0.1);
}

.cam-feat-item h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
  font-weight: 800;
}

.cam-feat-item p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Section Common Styling */
.section-badge-center {
  display: flex;
  justify-content: center;
}

.section-badge {
  display: inline-block;
  background: #E8F5E9;
  color: #006D42;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.38rem 0.95rem;
  border-radius: 9999px;
  margin-bottom: 0.9rem;
  text-align: center;
  border: 1px solid rgba(0, 109, 66, 0.16);
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}

.section-title.text-left {
  text-align: left;
}

.section-subtitle {
  text-align: center;
  font-size: 1.12rem;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto 3.8rem;
  line-height: 1.6;
}

/* Features Grid */
.features-section {
  padding: 6.5rem 0;
  background: #FFFFFF;
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 26px;
  padding: 2.3rem 1.9rem;
  transition: all var(--transition-smooth);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 109, 66, 0.25);
}

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.bg-green-tint { background: #E8F5E9; }
.bg-blue-tint { background: #EFF6FF; }
.bg-amber-tint { background: #FEF3C7; }
.bg-cyan-tint { background: #E0F2FE; }
.bg-emerald-tint { background: #D1FAE5; }
.bg-rose-tint { background: #FFE4E6; }

.feature-heading {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  font-weight: 800;
}

.feature-body {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* How It Works Section */
.how-section {
  padding: 6.5rem 0;
  background: var(--bg-subtle);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.steps-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.step-card {
  flex: 1;
  background: #FFFFFF;
  border-radius: 26px;
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: all var(--transition-fast);
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 109, 66, 0.2);
}

.step-badge-num {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: #E8F5E9;
  color: #006D42;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.4rem;
}

.step-card h4 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  font-weight: 800;
}

.step-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.step-arrow {
  color: var(--color-primary-light);
  opacity: 0.5;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* AI Consultant Section */
.ai-section {
  padding: 6.5rem 0;
  background: radial-gradient(circle at 90% 20%, rgba(37, 99, 235, 0.06) 0%, transparent 50%),
              radial-gradient(circle at 10% 80%, rgba(0, 109, 66, 0.08) 0%, transparent 50%);
}

.ai-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 4.5rem;
}

.ai-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.ai-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-bottom: 2.5rem;
}

.ai-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 0.95rem;
  font-size: 1.02rem;
  color: var(--text-main);
  font-weight: 600;
}

.bullet-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #E8F5E9;
  color: #006D42;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.8rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Chat Mockup */
.chat-mockup {
  background: #FFFFFF;
  border-radius: 30px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  overflow: hidden;
}

.chat-header {
  padding: 1.35rem 1.6rem;
  background: #F8FAF9;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-ai-status {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px #10B981;
}

.chat-badge {
  font-size: 0.72rem;
  font-weight: 700;
  background: #E8F5E9;
  color: #006D42;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
}

.chat-messages {
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.chat-msg {
  max-width: 84%;
  padding: 1rem 1.25rem;
  border-radius: 20px;
  font-size: 0.94rem;
  line-height: 1.55;
}

.msg-time {
  display: block;
  font-size: 0.68rem;
  margin-top: 0.35rem;
  text-align: right;
  opacity: 0.65;
}

.user-msg {
  align-self: flex-end;
  background: #006D42;
  color: #FFFFFF;
  border-bottom-right-radius: 4px;
}

.ai-msg {
  align-self: flex-start;
  background: #F1F5F9;
  color: var(--text-main);
  border-bottom-left-radius: 4px;
}

/* Reviews Section */
.reviews-section {
  padding: 6.5rem 0;
  background: #FFFFFF;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.review-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 26px;
  padding: 2.3rem 1.9rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

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

.highlight-card {
  border-color: rgba(0, 109, 66, 0.3);
  background: linear-gradient(180deg, #FFFFFF 0%, #F0FDF4 100%);
}

.review-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.review-stars {
  color: #F59E0B;
  font-size: 1.15rem;
}

.result-pill {
  background: #E8F5E9;
  color: #006D42;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
}

.result-pill-gold {
  background: #FEF3C7;
  color: #B45309;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
}

.review-text {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.75rem;
  font-style: italic;
}

.reviewer {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.reviewer-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #006D42 0%, #10B981 100%);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.15rem;
}

.reviewer-avatar.gold-avatar {
  background: linear-gradient(135deg, #D97706 0%, #F59E0B 100%);
}

.reviewer-info strong {
  display: block;
  font-size: 0.98rem;
  color: var(--text-main);
}

.reviewer-info span {
  font-size: 0.82rem;
  color: var(--color-primary);
  font-weight: 600;
}

/* FAQ Accordion */
.faq-section {
  padding: 6.5rem 0;
  background: var(--bg-subtle);
}

.faq-accordion {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 20px;
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item.active {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  padding: 1.35rem 1.75rem;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  gap: 1rem;
}

.faq-icon {
  font-size: 1.4rem;
  color: var(--color-primary);
  font-weight: bold;
  transition: transform var(--transition-fast);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding: 0 1.75rem;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding-bottom: 1.35rem;
}

.faq-answer p {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* CTA Banner */
.cta-section {
  padding: 4.5rem 0 6.5rem;
}

.cta-box {
  position: relative;
  background: linear-gradient(135deg, #003822 0%, #005a36 40%, #006D42 100%);
  border-radius: 38px;
  padding: 4.8rem 3rem;
  text-align: center;
  color: #FFFFFF;
  overflow: hidden;
  box-shadow: 0 24px 60px -10px rgba(0, 109, 66, 0.45);
}

.cta-glow-bg {
  position: absolute;
  top: -60%;
  left: -20%;
  width: 140%;
  height: 220%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.22) 0%, transparent 60%);
  pointer-events: none;
}

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

.cta-mini-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  color: #96F7B8;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.85rem;
  border-radius: 9999px;
  margin-bottom: 1.25rem;
}

.cta-title {
  font-size: 3rem;
  color: #FFFFFF;
  margin-bottom: 1.25rem;
  letter-spacing: -0.025em;
}

.cta-subtitle {
  font-size: 1.18rem;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 2.6rem;
  line-height: 1.65;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  margin-bottom: 1.6rem;
}

.cta-footnote {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.8);
}

/* Footer */
.site-footer {
  background: var(--bg-dark);
  color: #94A3B8;
  padding: 4.8rem 0 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.3fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-col .brand-name {
  color: #FFFFFF;
}

.footer-tagline {
  margin-top: 1rem;
  font-size: 0.92rem;
  line-height: 1.65;
  max-width: 320px;
}

.copyright {
  margin-top: 1.8rem;
  font-size: 0.82rem;
  color: #64748B;
}

.footer-heading {
  color: #FFFFFF;
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
  font-weight: 700;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: #94A3B8;
  text-decoration: none;
  font-size: 0.92rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: #10B981;
}

.footer-contact {
  font-size: 0.92rem;
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.footer-contact strong {
  color: #E2E8F0;
}

/* Animations */
.animate-fade-in { animation: fadeIn 0.8s ease forwards; }
.animate-fade-in-up { animation: fadeInUp 0.8s ease forwards; }
.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

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

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

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

  .hero-stats {
    margin: 0 auto;
  }

  .camera-ai-container {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

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

  .ai-container {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .ai-info, .camera-ai-info {
    text-align: center;
  }

  .section-title.text-left {
    text-align: center;
  }

  .ai-bullets, .cam-cta-wrap {
    align-items: center;
    justify-content: center;
    display: flex;
  }

  .steps-row {
    flex-direction: column;
  }

  .step-arrow {
    transform: rotate(90deg);
  }

  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.45rem;
  }

  .section-title {
    font-size: 2.05rem;
  }

  .nav-links,
  #navDownloadBtn {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .features-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .cta-title {
    font-size: 2.1rem;
  }

  .cta-box {
    padding: 3.2rem 1.6rem;
  }

  .badge-left,
  .badge-right {
    display: none;
  }

  .phone-mockup-wrapper {
    width: 298px;
  }

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

/* ==========================================================================
   Vaznim Tools & Multi-Page SEO Expansion Styles
   ========================================================================== */

/* Subpage Header & Breadcrumbs */
.page-header {
  padding: 8rem 0 3rem;
  background: linear-gradient(180deg, rgba(0, 109, 66, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
  position: relative;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.breadcrumbs a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.breadcrumbs a:hover {
  color: var(--color-primary-dark);
  text-decoration: underline;
}

.breadcrumbs .sep {
  color: #CBD5E1;
}

.page-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-main);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.page-lead {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 780px;
  line-height: 1.7;
}

/* Homepage Health Tools Grid */
.tools-section {
  padding: 5rem 0 4rem;
  background: var(--bg-subtle);
  position: relative;
}

.tools-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.tool-preview-card {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-smooth);
  position: relative;
  text-decoration: none;
  color: inherit;
}

.tool-preview-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 109, 66, 0.2);
}

.tool-card-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--color-primary-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
}

.tool-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.tool-card-desc {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.tool-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--color-primary);
}

.tool-card-link svg {
  transition: transform var(--transition-fast);
}

.tool-preview-card:hover .tool-card-link svg {
  transform: translateX(4px);
}

/* Interactive Calculator Layout */
.calc-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: start;
  margin: 2.5rem 0 4rem;
}

.calc-card {
  background: #FFFFFF;
  border-radius: 24px;
  padding: 2.5rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
}

.calc-form-group {
  margin-bottom: 1.5rem;
}

.calc-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.calc-label {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-main);
}

.calc-val-badge {
  background: var(--color-primary-tint);
  color: var(--color-primary-dark);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.2rem 0.65rem;
  border-radius: 8px;
}

.calc-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.calc-input {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border-radius: 12px;
  border: 1.5px solid var(--border-subtle);
  font-size: 1rem;
  font-family: inherit;
  color: var(--text-main);
  background: #FFFFFF;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.calc-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(0, 109, 66, 0.12);
}

.calc-unit {
  position: absolute;
  right: 1.1rem;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
  pointer-events: none;
}

.calc-slider {
  width: 100%;
  height: 6px;
  border-radius: 4px;
  background: #E2E8F0;
  outline: none;
  margin-top: 0.75rem;
  accent-color: var(--color-primary);
  cursor: pointer;
}

/* Gender Selector Toggle */
.gender-toggle-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.gender-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1.5px solid var(--border-subtle);
  background: #FFFFFF;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.gender-btn:hover {
  border-color: var(--color-primary-light);
}

.gender-btn.active {
  border-color: var(--color-primary);
  background: var(--color-primary-tint);
  color: var(--color-primary-dark);
}

.calc-select {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border-radius: 12px;
  border: 1.5px solid var(--border-subtle);
  font-size: 0.98rem;
  font-family: inherit;
  color: var(--text-main);
  background: #FFFFFF;
  cursor: pointer;
}

.calc-select:focus {
  outline: none;
  border-color: var(--color-primary);
}

/* Result Card */
.calc-result-card {
  background: linear-gradient(135deg, #09130E 0%, #11281E 100%);
  color: #FFFFFF;
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  position: sticky;
  top: 100px;
}

.calc-result-badge {
  display: inline-block;
  background: rgba(16, 185, 129, 0.2);
  color: #34D399;
  border: 1px solid rgba(16, 185, 129, 0.3);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.8rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.result-main-val {
  font-size: clamp(2.8rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1;
  color: #FFFFFF;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.result-subtext {
  font-size: 1.15rem;
  font-weight: 700;
  color: #34D399;
  margin-bottom: 1.5rem;
}

/* BMI Meter Gauge */
.bmi-meter-wrap {
  margin: 1.75rem 0;
}

.bmi-meter-bar {
  height: 10px;
  border-radius: 10px;
  background: linear-gradient(to right, #38BDF8 0%, #34D399 25%, #FBBF24 60%, #F87171 85%, #EF4444 100%);
  position: relative;
}

.bmi-meter-pin {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 3px solid #09130E;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  position: absolute;
  top: -4px;
  transform: translateX(-50%);
  transition: left 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.bmi-meter-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: #94A3B8;
  margin-top: 0.4rem;
}

.result-data-rows {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
}

.result-row .row-lbl {
  color: #CBD5E1;
}

.result-row .row-val {
  font-weight: 700;
  color: #FFFFFF;
}

/* Calorie TDEE Macros Grid */
.tdee-macros-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.tdee-macro-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 1rem 0.75rem;
  text-align: center;
}

.tdee-macro-box .macro-name {
  font-size: 0.78rem;
  color: #94A3B8;
  display: block;
  margin-bottom: 0.3rem;
  font-weight: 600;
}

.tdee-macro-box .macro-num {
  font-size: 1.35rem;
  font-weight: 800;
  color: #FFFFFF;
  display: block;
}

.tdee-macro-box .macro-cal {
  font-size: 0.75rem;
  color: #34D399;
}

.calc-app-cta {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
}

.calc-app-cta p {
  font-size: 0.88rem;
  color: #CBD5E1;
  margin-bottom: 1rem;
  line-height: 1.5;
}

/* Kaloriyalar Jadvali Table Styles */
.food-table-section {
  padding: 2rem 0 5rem;
}

.food-filter-card {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 1.75rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
}

.food-search-wrap {
  position: relative;
  margin-bottom: 1.25rem;
}

.food-search-input {
  width: 100%;
  padding: 1rem 1rem 1rem 3rem;
  font-size: 1.05rem;
  font-family: inherit;
  border-radius: 14px;
  border: 1.5px solid var(--border-subtle);
  background: #FFFFFF;
  transition: all var(--transition-fast);
}

.food-search-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(0, 109, 66, 0.1);
}

.food-search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.category-pills-wrap {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scrollbar-width: thin;
}

.cat-pill {
  white-space: nowrap;
  padding: 0.5rem 1rem;
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 600;
  border: 1px solid var(--border-subtle);
  background: #F8FAF9;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.cat-pill:hover {
  border-color: var(--color-primary-light);
  color: var(--color-primary-dark);
}

.cat-pill.active {
  background: var(--color-primary);
  color: #FFFFFF;
  border-color: var(--color-primary);
}

.table-stats-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.food-table-container {
  background: #FFFFFF;
  border-radius: 20px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  overflow-x: auto;
}

.food-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.food-table th {
  background: #F8FAF9;
  padding: 1rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  border-bottom: 1.5px solid var(--border-subtle);
  cursor: pointer;
  user-select: none;
}

.food-table th:hover {
  color: var(--color-primary);
}

.food-table td {
  padding: 1.1rem 1.25rem;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-main);
  vertical-align: middle;
}

.food-table tr:last-child td {
  border-bottom: none;
}

.food-table tr:hover td {
  background: rgba(0, 109, 66, 0.02);
}

.food-title-cell {
  font-weight: 700;
  color: var(--text-main);
}

.food-alias-text {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: normal;
  display: block;
}

.badge-category {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  background: #F1F5F9;
  color: #475569;
}

.cal-number {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--color-primary);
}

/* Rich SEO Article Styles */
.article-section {
  padding: 2rem 0 5rem;
}

.article-container {
  max-width: 860px;
  margin: 0 auto;
}

.article-content {
  background: #FFFFFF;
  border-radius: 24px;
  padding: 3.5rem 3rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.article-content h2 {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 2.75rem 0 1rem;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.article-content h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin: 1.75rem 0 0.75rem;
}

.article-content p,
.article-content li {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.article-content ul,
.article-content ol {
  padding-left: 1.75rem;
  margin-bottom: 1.5rem;
}

.article-content li {
  margin-bottom: 0.5rem;
}

.article-callout {
  background: linear-gradient(135deg, rgba(0, 109, 66, 0.08) 0%, rgba(16, 185, 129, 0.05) 100%);
  border-left: 4px solid var(--color-primary);
  border-radius: 0 16px 16px 0;
  padding: 1.5rem 1.75rem;
  margin: 2rem 0;
}

.article-callout strong {
  color: var(--color-primary-dark);
}

.article-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 2rem 0;
}

.info-box-good {
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  border-radius: 16px;
  padding: 1.5rem;
}

.info-box-bad {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  border-radius: 16px;
  padding: 1.5rem;
}

.info-box-title {
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.info-box-good .info-box-title { color: #166534; }
.info-box-bad .info-box-title { color: #991B1B; }

/* Responsive adjustments for tools */
@media (max-width: 900px) {
  .calc-layout {
    grid-template-columns: 1fr;
  }
  .calc-result-card {
    position: static;
  }
  .article-content {
    padding: 2.25rem 1.5rem;
  }
  .article-info-grid {
    grid-template-columns: 1fr;
  }
}

