/* ==========================================================================
   Tafakar (تَفَكَّرْ) - Design System & Stylesheet
   Modern Premium Light Mode • Arabic RTL • Brand Gradient (#DAE13B -> #ABCF39)
   ========================================================================== */

/* Google Fonts - Arabic */
@import url('https://fonts.googleapis.com/css2?family=Alexandria:wght@400;500;600;700;800;900&family=Cairo:wght@400;500;600;700;800;900&family=Tajawal:wght@400;500;700;800&display=swap');

/* --- CSS Variables & Design Tokens --- */
:root {
  /* Brand Lime/Chartreuse Palette */
  --lime-light: #DAE13B;
  --lime-primary: #ABCF39;
  --lime-dark: #8BA826;
  --lime-deep: #4A5B0F;
  --brand-gradient: linear-gradient(135deg, #DAE13B 0%, #ABCF39 100%);
  --brand-gradient-hover: linear-gradient(135deg, #E2E84E 0%, #B8DC45 100%);
  --brand-gradient-subtle: linear-gradient(135deg, rgba(218, 225, 59, 0.15) 0%, rgba(171, 207, 57, 0.15) 100%);
  
  /* Light Mode Backgrounds */
  --bg-primary: #F9FBF5;
  --bg-secondary: #FFFFFF;
  --bg-tertiary: #F1F6E6;
  --bg-card: rgba(255, 255, 255, 0.88);
  --bg-card-hover: #FFFFFF;
  --bg-glass: rgba(255, 255, 255, 0.75);
  
  /* Text Colors (High Contrast Light Mode) */
  --text-primary: #121A0E;
  --text-secondary: #475569;
  --text-muted: #809176;
  --text-dark-btn: #1B2404;
  
  /* Accents & Status */
  --accent-cyan: #0284C7;
  --accent-purple: #7C3AED;
  --accent-amber: #D97706;
  --accent-red: #DC2626;
  --accent-green: #16A34A;
  
  /* Borders & Shadows */
  --card-border: rgba(171, 207, 57, 0.22);
  --card-border-strong: rgba(171, 207, 57, 0.45);
  --shadow-sm: 0 4px 14px rgba(139, 168, 38, 0.06);
  --shadow-md: 0 10px 30px rgba(139, 168, 38, 0.1);
  --shadow-lg: 0 20px 50px rgba(18, 26, 14, 0.08);
  --shadow-lime: 0 10px 30px rgba(171, 207, 57, 0.35);
  --shadow-glow: 0 0 35px rgba(218, 225, 59, 0.4);
  
  /* Typography */
  --font-heading: 'Alexandria', 'Cairo', sans-serif;
  --font-body: 'Tajawal', 'Cairo', sans-serif;
  
  /* Layout */
  --container-max: 1240px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 36px;
  --radius-full: 9999px;
  
  --transition-fast: 0.2s ease;
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  direction: rtl;
  text-align: right;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
}

/* Light Mode Ambient Glow Orbs */
.bg-ambient-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(120px);
  z-index: 0;
  opacity: 0.35;
}

.orb-1 {
  width: 550px;
  height: 550px;
  top: -80px;
  left: -100px;
  background: radial-gradient(circle, #DAE13B, transparent 70%);
}

.orb-2 {
  width: 600px;
  height: 600px;
  top: 900px;
  right: -150px;
  background: radial-gradient(circle, #ABCF39, transparent 70%);
}

.orb-3 {
  width: 500px;
  height: 500px;
  top: 2400px;
  left: -100px;
  background: radial-gradient(circle, #E6ED6B, transparent 70%);
}

.orb-4 {
  width: 650px;
  height: 650px;
  bottom: 200px;
  right: 15%;
  background: radial-gradient(circle, #C8E35A, transparent 70%);
}

/* --- Container & Helpers --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  position: relative;
  z-index: 1;
}

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

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

button {
  cursor: pointer;
  border: none;
  outline: none;
  font-family: var(--font-body);
  transition: var(--transition-fast);
}

.gradient-text {
  background: linear-gradient(135deg, #8BA826 0%, #4A5B0F 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  font-weight: 800;
}

.lime-highlight {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  font-weight: 900;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: var(--bg-tertiary);
  border: 1px solid var(--card-border-strong);
  border-radius: var(--radius-full);
  color: var(--lime-deep);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
}

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

.section-title {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--text-primary);
  margin-bottom: 18px;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* --- Buttons & CTAs --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: var(--radius-full);
  font-size: 1.05rem;
  font-weight: 700;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.btn-primary {
  background: var(--brand-gradient);
  color: var(--text-dark-btn);
  box-shadow: var(--shadow-lime);
}

.btn-primary:hover {
  background: var(--brand-gradient-hover);
  transform: translateY(-3px);
  box-shadow: 0 14px 35px rgba(171, 207, 57, 0.45);
}

.btn-secondary {
  background: #FFFFFF;
  color: var(--text-primary);
  border: 1.5px solid var(--card-border-strong);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--bg-tertiary);
  border-color: var(--lime-primary);
  transform: translateY(-3px);
}

.btn-dark {
  background: #1B2404;
  color: #FFFFFF;
  border: 1px solid rgba(218, 225, 59, 0.3);
  box-shadow: 0 10px 25px rgba(27, 36, 4, 0.2);
}

.btn-dark:hover {
  background: #283606;
  transform: translateY(-3px);
}

.btn-sm {
  padding: 8px 20px;
  font-size: 0.92rem;
}

/* ==========================================================================
   Header & Navigation (RTL)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  padding: 12px 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--card-border);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-brand-img {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.logo-text-wrap {
  display: flex;
  flex-direction: column;
}

.logo-title-ar {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 900;
  line-height: 1;
  color: var(--lime-deep);
}

.logo-sub-en {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.4vw, 22px);
  flex: 1;
  justify-content: center;
  padding: 0 12px;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 2px;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--lime-deep);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 2px;
  border-radius: var(--radius-full);
  background: var(--brand-gradient);
  transition: width var(--transition-fast);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  color: var(--text-primary);
  font-size: 1.6rem;
  padding: 6px;
}

.mobile-nav-drawer {
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(25px);
  padding: 28px 24px;
  border-bottom: 1px solid var(--card-border);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
  flex-direction: column;
  gap: 14px;
  z-index: 999;
  display: flex;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  pointer-events: none;
  transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s;
}

.mobile-nav-drawer.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: all;
}

/* ==========================================================================
   Hero Section with Real App Phone Mockups
   ========================================================================== */
.hero-section {
  padding-top: 160px;
  padding-bottom: 90px;
  position: relative;
  overflow: hidden;
}

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

.hero-content-col {
  z-index: 2;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px 8px 12px;
  background: #FFFFFF;
  border: 1px solid var(--card-border-strong);
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--lime-deep);
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}

.badge-pulse-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(171, 207, 57, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-pulse-dot::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime-primary);
  box-shadow: 0 0 10px var(--lime-primary);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.75rem;
  font-weight: 900;
  line-height: 1.25;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.hero-description {
  font-size: 1.25rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-trust-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid rgba(171, 207, 57, 0.2);
}

.avatar-stack {
  display: flex;
  align-items: center;
}

.avatar-stack-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 3px solid #FFFFFF;
  margin-right: -12px;
  background: var(--bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--lime-deep);
  box-shadow: var(--shadow-sm);
}

.avatar-stack-circle:first-child {
  margin-right: 0;
}

.trust-stats p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.trust-stats strong {
  color: var(--text-primary);
  font-weight: 800;
}

.trust-stars {
  display: flex;
  gap: 2px;
  color: #F59E0B;
  font-size: 0.85rem;
  margin-top: 2px;
}

/* Hero Multi-Phone Interactive Visual Showcase */
.hero-visual-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 520px;
}

.phone-showcase-container {
  position: relative;
  width: 100%;
  max-width: 480px;
  display: flex;
  justify-content: center;
}

.main-phone-frame {
  position: relative;
  width: 290px;
  border-radius: 40px;
  padding: 10px;
  background: #FFFFFF;
  border: 4px solid #1B2404;
  box-shadow: var(--shadow-lg), 0 25px 50px rgba(171, 207, 57, 0.3);
  z-index: 3;
  transform: rotate(0deg);
  transition: transform var(--transition-normal);
}

.main-phone-frame:hover {
  transform: scale(1.02);
}

.phone-screen-img {
  width: 100%;
  border-radius: 30px;
  display: block;
}

/* Secondary Background Phone Mockup */
.side-phone-frame {
  position: absolute;
  width: 250px;
  border-radius: 36px;
  padding: 8px;
  background: #FFFFFF;
  border: 3px solid rgba(27, 36, 4, 0.6);
  box-shadow: var(--shadow-md);
  z-index: 1;
  opacity: 0.88;
  filter: drop-shadow(0 15px 30px rgba(0,0,0,0.08));
  transition: all var(--transition-normal);
}

.side-phone-left {
  left: -25px;
  top: 30px;
  transform: rotate(-7deg);
}

.side-phone-left:hover {
  transform: rotate(-3deg) translateY(-8px);
  z-index: 4;
  opacity: 1;
}

.side-phone-right {
  right: -25px;
  top: 30px;
  transform: rotate(7deg);
}

.side-phone-right:hover {
  transform: rotate(3deg) translateY(-8px);
  z-index: 4;
  opacity: 1;
}

/* Floating Glass Badges */
.floating-badge-card {
  position: absolute;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.94);
  border: 1.5px solid var(--card-border-strong);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(16px);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: floatUpDown 6s ease-in-out infinite;
}

.badge-pos-1 {
  top: 10%;
  right: -30px;
  animation-delay: 0s;
}

.badge-pos-2 {
  bottom: 8%;
  left: -30px;
  animation-delay: -3s;
}

.badge-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--brand-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: var(--shadow-sm);
}

.badge-info-box h5 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-primary);
}

.badge-info-box p {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--lime-dark);
}

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

/* ==========================================
   Partners & Integrations Strip (Light)
   ========================================== */
.partners-section {
  padding: 40px 0 50px;
  border-top: 1px solid rgba(171, 207, 57, 0.2);
  border-bottom: 1px solid rgba(171, 207, 57, 0.2);
  background: #FFFFFF;
}

.partners-label {
  text-align: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.partners-flex {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 32px;
}

.partner-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.partner-item:hover {
  color: var(--lime-deep);
  transform: translateY(-2px);
}

.partner-item svg {
  width: 24px;
  height: 24px;
  color: var(--lime-primary);
}

/* ==========================================
   Features Bento Grid (Light Mode)
   ========================================== */
.features-section {
  padding: 110px 0;
  position: relative;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 28px;
}

.bento-card {
  background: var(--bg-card);
  border: 1.5px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bento-card:hover {
  background: #FFFFFF;
  transform: translateY(-5px);
  border-color: var(--lime-primary);
  box-shadow: var(--shadow-md), var(--shadow-lime);
}

.bento-col-8 { grid-column: span 8; }
.bento-col-4 { grid-column: span 4; }
.bento-col-6 { grid-column: span 6; }
.bento-col-12 { grid-column: span 12; }

.bento-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--brand-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark-btn);
  margin-bottom: 22px;
  box-shadow: var(--shadow-sm);
}

.bento-icon svg {
  width: 28px;
  height: 28px;
}

.bento-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.bento-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

/* Bento Screen Inset Preview */
.screen-card-inset {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid var(--card-border);
  background: #FFFFFF;
  box-shadow: var(--shadow-sm);
  margin-top: 14px;
}

.screen-card-inset img {
  width: 100%;
  display: block;
}

/* ==========================================
   Interactive Scanner Lab Simulator (Light Mode)
   ========================================== */
.lab-section {
  padding: 110px 0;
  background: linear-gradient(180deg, #F9FBF5 0%, var(--bg-tertiary) 50%, #F9FBF5 100%);
  border-top: 1px solid rgba(171, 207, 57, 0.25);
  border-bottom: 1px solid rgba(171, 207, 57, 0.25);
}

.lab-container-box {
  background: #FFFFFF;
  border: 2px solid var(--card-border-strong);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-lg);
}

.food-picker-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.food-pick-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 26px;
  border-radius: var(--radius-full);
  background: #F8FAF2;
  border: 1.5px solid var(--card-border);
  color: var(--text-secondary);
  font-weight: 700;
  font-size: 1rem;
  transition: all var(--transition-fast);
}

.food-pick-btn:hover {
  background: #FFFFFF;
  border-color: var(--lime-primary);
  color: var(--text-primary);
}

.food-pick-btn.active {
  background: var(--brand-gradient);
  border-color: var(--lime-primary);
  color: var(--text-dark-btn);
  box-shadow: var(--shadow-lime);
}

.scanner-demo-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: center;
}

/* Simulated Viewport Frame (Light Mode) */
.scanner-viewport-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #F0F4E4;
  border: 2px solid var(--card-border-strong);
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.04);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.viewport-food-display {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, #FFFFFF 0%, #EBF2DA 100%);
  position: relative;
}

.viewport-big-icon {
  font-size: 5.5rem;
  margin-bottom: 12px;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,0.1));
}

.scanner-viewfinder-overlay {
  position: absolute;
  inset: 20px;
  border: 2px dashed rgba(171, 207, 57, 0.8);
  border-radius: var(--radius-md);
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.viewfinder-corner-tl, .viewfinder-corner-tr, .viewfinder-corner-bl, .viewfinder-corner-br {
  position: absolute;
  width: 22px;
  height: 22px;
  border-color: var(--lime-primary);
  border-style: solid;
}

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

.scanner-laser-beam {
  position: absolute;
  top: 10%;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #DAE13B, #ABCF39, #DAE13B, transparent);
  box-shadow: 0 0 20px 4px rgba(171, 207, 57, 0.8);
  animation: laserScan 2.2s infinite ease-in-out alternate;
}

@keyframes laserScan {
  0% { top: 15%; }
  100% { top: 85%; }
}

.scanner-status-tag {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--lime-deep);
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--card-border-strong);
  box-shadow: var(--shadow-sm);
}

/* Result Panel (Light Mode) */
.scanner-result-panel {
  background: #FFFFFF;
  border: 1.5px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
}

.result-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.result-item-name {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.result-item-category {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.score-badge-circle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--bg-tertiary);
  border: 3px solid var(--lime-primary);
  box-shadow: var(--shadow-lime);
}

.score-num {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--lime-deep);
  line-height: 1;
}

.score-grade {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--text-secondary);
}

.calories-counter-box {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 22px;
}

.calories-val {
  font-size: 2.8rem;
  font-weight: 900;
  font-family: var(--font-heading);
  color: var(--text-primary);
}

.calories-unit {
  color: var(--text-secondary);
  font-size: 1.05rem;
  font-weight: 700;
}

/* Macro Bars in Light Mode */
.macro-bars-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 22px;
}

.macro-bar-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.macro-label-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.92rem;
  font-weight: 700;
}

.macro-track {
  width: 100%;
  height: 10px;
  background: #EEF2E6;
  border-radius: var(--radius-full);
  overflow: hidden;
}

.macro-fill {
  height: 100%;
  border-radius: var(--radius-full);
  transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fill-protein { background: linear-gradient(90deg, #8BA826, #ABCF39); }
.fill-carbs { background: linear-gradient(90deg, #0284C7, #38BDF8); }
.fill-fat { background: linear-gradient(90deg, #D97706, #FBBF24); }

.micro-pills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.micro-chip {
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  background: #F8FAF2;
  border: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================
   App Features Spotlight (Events, Recipes, BMR)
   ========================================== */
.screens-showcase-section {
  padding: 110px 0;
}

.screens-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.screen-feature-card {
  background: #FFFFFF;
  border: 1.5px solid var(--card-border);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-normal);
}

.screen-feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--lime-primary);
  box-shadow: var(--shadow-md), var(--shadow-lime);
}

.screen-mockup-holder {
  border-radius: 28px;
  overflow: hidden;
  border: 3px solid #1B2404;
  box-shadow: var(--shadow-md);
  margin-bottom: 24px;
  background: #F8FAF2;
}

.screen-mockup-holder img {
  width: 100%;
  display: block;
}

.screen-card-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: var(--bg-tertiary);
  color: var(--lime-deep);
  margin-bottom: 12px;
}

/* ==========================================
   1-on-1 Coach & Event Consultation (Light Mode)
   ========================================== */
.coach-section {
  padding: 110px 0;
  position: relative;
}

.coach-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 50px;
  align-items: center;
}

.coach-visual-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 2px solid var(--card-border-strong);
  box-shadow: var(--shadow-lg);
}

.coach-photo {
  width: 100%;
  display: block;
}

.coach-floating-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  border: 1.5px solid var(--card-border-strong);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-md);
}

/* Chat Simulator in Light Mode */
.chat-sim-card {
  background: #FFFFFF;
  border: 1.5px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
}

.chat-messages-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 280px;
  margin-bottom: 24px;
}

.chat-bubble {
  max-width: 85%;
  padding: 14px 20px;
  border-radius: 20px;
  font-size: 1rem;
  line-height: 1.6;
  animation: fadeInBubble 0.3s ease;
}

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

.chat-bubble-user {
  align-self: flex-start; /* RTL: user bubble on right */
  background: var(--bg-tertiary);
  border: 1.5px solid var(--card-border-strong);
  color: var(--text-primary);
  border-bottom-right-radius: 4px;
}

.chat-bubble-coach {
  align-self: flex-end; /* RTL: coach bubble on left */
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  color: var(--text-secondary);
  border-bottom-left-radius: 4px;
}

.chat-bubble-coach strong {
  color: var(--lime-deep);
}

.quick-prompt-chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.prompt-chip-btn {
  padding: 10px 18px;
  border-radius: var(--radius-full);
  background: #F8FAF2;
  border: 1.5px solid var(--card-border);
  color: var(--text-primary);
  font-size: 0.92rem;
  font-weight: 700;
  transition: all var(--transition-fast);
}

.prompt-chip-btn:hover {
  background: var(--brand-gradient);
  border-color: var(--lime-primary);
  color: var(--text-dark-btn);
  transform: translateY(-2px);
}

/* ==========================================
   Interactive Macro & Calorie Calculator (Light Mode)
   ========================================== */
.calc-section {
  padding: 110px 0;
  position: relative;
}

.calc-glass-box {
  background: #FFFFFF;
  border: 2px solid var(--card-border-strong);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-lg);
}

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

.calc-form-group {
  margin-bottom: 20px;
}

.calc-label {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.calc-input, .calc-select {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  background: #F8FAF2;
  border: 1.5px solid var(--card-border);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  outline: none;
  transition: all var(--transition-fast);
}

.calc-input:focus, .calc-select:focus {
  background: #FFFFFF;
  border-color: var(--lime-primary);
  box-shadow: 0 0 0 4px rgba(171, 207, 57, 0.2);
}

.calc-result-panel {
  background: var(--bg-tertiary);
  border: 2px solid var(--card-border-strong);
  border-radius: var(--radius-lg);
  padding: 36px;
  text-align: center;
  box-shadow: var(--shadow-lime);
}

.target-cal-num {
  font-family: var(--font-heading);
  font-size: 3.6rem;
  font-weight: 900;
  color: var(--lime-deep);
  line-height: 1.1;
}

.target-macro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 26px;
}

.target-macro-card {
  padding: 16px 10px;
  border-radius: var(--radius-md);
  background: #FFFFFF;
  border: 1.5px solid var(--card-border);
  box-shadow: var(--shadow-sm);
}

.target-macro-card h6 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.target-macro-card span {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--text-primary);
}

/* ==========================================
   Pricing Section (Light Mode)
   ========================================== */
.pricing-section {
  padding: 110px 0;
  position: relative;
}

.billing-toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 50px;
}

.billing-switch {
  position: relative;
  width: 64px;
  height: 34px;
  background: #E2E8D0;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.billing-knob {
  position: absolute;
  top: 4px;
  right: 4px; /* RTL switch knob */
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--brand-gradient);
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.billing-switch.annual .billing-knob {
  transform: translateX(-30px);
}

.save-badge-chip {
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: var(--bg-tertiary);
  border: 1px solid var(--card-border-strong);
  color: var(--lime-deep);
  font-size: 0.82rem;
  font-weight: 800;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: stretch;
}

.pricing-card {
  background: #FFFFFF;
  border: 1.5px solid var(--card-border);
  border-radius: var(--radius-xl);
  padding: 40px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.pricing-card.featured {
  border-color: var(--lime-primary);
  background: #FFFFFF;
  box-shadow: var(--shadow-lg), var(--shadow-lime);
  transform: scale(1.04);
}

.pricing-card:hover {
  transform: translateY(-6px);
}

.pricing-card.featured:hover {
  transform: scale(1.04) translateY(-6px);
}

.featured-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand-gradient);
  color: var(--text-dark-btn);
  padding: 5px 20px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  box-shadow: var(--shadow-sm);
}

.plan-name {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.plan-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 20px 0;
}

.plan-price-num {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 900;
  color: var(--text-primary);
}

.plan-features-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 28px 0;
}

.plan-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: var(--text-secondary);
}

.plan-feature-item svg {
  width: 20px;
  height: 20px;
  color: var(--lime-dark);
  flex-shrink: 0;
}

/* ==========================================
   FAQ Accordion (Light Mode)
   ========================================== */
.faq-section {
  padding: 100px 0;
}

.faq-list {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: #FFFFFF;
  border: 1.5px solid var(--card-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.faq-question {
  width: 100%;
  padding: 22px 26px;
  text-align: right;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
}

.faq-toggle-icon {
  font-size: 1.4rem;
  color: var(--lime-dark);
  transition: transform var(--transition-fast);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
  padding: 0 26px;
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.8;
}

.faq-item.open .faq-answer {
  padding-bottom: 22px;
}

/* ==========================================
   CTA Banner & App Download
   ========================================== */
.cta-banner-section {
  padding: 100px 0;
  position: relative;
}

.cta-glass-banner {
  background: linear-gradient(135deg, #1B2404 0%, #2D3D06 100%);
  border: 2px solid var(--lime-primary);
  border-radius: var(--radius-xl);
  padding: 60px 48px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  box-shadow: 0 25px 60px rgba(27, 36, 4, 0.25);
  color: #FFFFFF;
}

.cta-banner-title {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 18px;
  color: #FFFFFF;
}

.app-badges-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.app-badge-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  background: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #1B2404;
  font-weight: 700;
  transition: all var(--transition-fast);
}

.app-badge-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(218, 225, 59, 0.3);
}

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

.badge-text-col small {
  display: block;
  font-size: 0.7rem;
  color: #64748B;
}

.badge-text-col strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
}

.qr-code-box {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(218, 225, 59, 0.3);
  border-radius: var(--radius-lg);
  padding: 26px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.qr-visual-box {
  width: 140px;
  height: 140px;
  background: #FFFFFF;
  border-radius: 14px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  box-shadow: var(--shadow-md);
}

.qr-visual-box svg {
  width: 100%;
  height: 100%;
  color: #1B2404;
}

/* ==========================================
   Footer (Light Mode)
   ========================================== */
.site-footer {
  padding: 80px 0 40px;
  background: #FFFFFF;
  border-top: 1.5px solid var(--card-border);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 50px;
  margin-bottom: 60px;
}

.footer-brand-info p {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-top: 16px;
  max-width: 340px;
  line-height: 1.8;
}

.footer-col h5 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--text-primary);
}

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

.footer-col a {
  color: var(--text-secondary);
  font-size: 0.98rem;
  font-weight: 600;
}

.footer-col a:hover {
  color: var(--lime-dark);
  padding-right: 4px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 30px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ==========================================
   Responsive Breakpoints
   ========================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 50px;
  }
  
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-cta-group {
    justify-content: center;
  }
  
  .hero-trust-bar {
    justify-content: center;
  }
  
  .bento-col-8, .bento-col-4, .bento-col-6 {
    grid-column: span 12;
  }
  
  .scanner-demo-grid, .screens-showcase-grid, .coach-grid, .calc-grid, .cta-glass-banner {
    grid-template-columns: 1fr;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin: 0 auto;
  }
  
  .pricing-card.featured {
    transform: none;
  }
  
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1101px) {
  .mobile-nav-drawer {
    display: none !important;
  }
}

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

  .mobile-menu-toggle {
    display: block;
  }
}

@media (max-width: 900px) {
  .nav-actions .btn-secondary {
    display: none;
  }
}

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

  .hero-title {
    font-size: 2.6rem;
  }

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

  .lab-container-box, .calc-glass-box, .cta-glass-banner {
    padding: 24px;
  }

  .side-phone-frame {
    display: none;
  }

  .floating-badge-card {
    display: none;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}
