/* ================================================================
   CULIVO MARKETING SITE — STYLES
   Design system: Inter font, green accent, dark/light sections
   Architecture: CSS custom properties → layout → components → states
================================================================ */

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

html {
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a, button {
  -webkit-tap-highlight-color: transparent;
}

:root {
  /* Brand */
  --green-500: #388E3C;
  --green-400: #4CAF50;
  --green-600: #2E7D32;
  --green-50: #E8F5E9;
  --green-100: #C8E6C9;
  --navy: #191654;

  /* Surfaces */
  --bg-dark:        #0a0a0a;
  --bg-dark-2:      #111111;
  --bg-dark-3:      #1a1a1a;
  --bg-dark-4:      #141414;
  --bg-dark-border: rgba(255, 255, 255, 0.08);
  --bg-light:       #f8f9fa;
  --bg-light-2:     #ffffff;
  --bg-light-border: #e5e7eb;

  /* Text on dark */
  --text-white:    #ffffff;
  --text-muted-d:  rgba(255, 255, 255, 0.55);
  --text-sub-d:    rgba(255, 255, 255, 0.7);

  /* Text on light */
  --text-dark:     #0f0f0f;
  --text-muted-l:  #6b7280;
  --text-sub-l:    #374151;

  /* Spacing */
  --sp-xs:  4px;
  --sp-sm:  8px;
  --sp-md:  16px;
  --sp-lg:  24px;
  --sp-xl:  40px;
  --sp-2xl: 64px;
  --sp-3xl: 96px;

  /* Typography */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Border radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast:   150ms;
  --dur-normal: 250ms;
  --dur-slow:   400ms;

  /* Nav */
  --nav-height: 64px;
}

html {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--bg-dark);
  color: var(--text-white);
  overflow-x: hidden;
}

img, svg { display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ----------------------------------------------------------------
   SCROLL REVEAL
---------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.reveal:nth-child(2) { transition-delay: 80ms; }
.reveal:nth-child(3) { transition-delay: 160ms; }
.reveal:nth-child(4) { transition-delay: 240ms; }
.reveal:nth-child(5) { transition-delay: 320ms; }
.reveal:nth-child(6) { transition-delay: 400ms; }

/* ----------------------------------------------------------------
   NAVIGATION
---------------------------------------------------------------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  transition: background var(--dur-normal) var(--ease),
              border-color var(--dur-normal) var(--ease),
              backdrop-filter var(--dur-normal) var(--ease);
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(10, 10, 10, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--bg-dark-border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--sp-xl);
  height: 100%;
  display: flex;
  align-items: center;
  gap: var(--sp-xl);
}

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

.nav-logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: contain;
}

.nav-logo-text {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: var(--text-white);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-lg);
  margin-left: auto;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted-d);
  transition: color var(--dur-fast) var(--ease);
}

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

.nav-cta {
  margin-left: var(--sp-sm);
  padding: 7px 16px;
  background: var(--green-500);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: background var(--dur-fast) var(--ease),
              transform var(--dur-fast) var(--ease-spring);
  flex-shrink: 0;
}

.nav-cta:hover {
  background: var(--green-400);
  transform: translateY(-1px);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  margin-left: auto;
}

.nav-hamburger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--text-white);
  border-radius: 2px;
  transition: transform var(--dur-normal) var(--ease), opacity var(--dur-fast) var(--ease);
}

/* ----------------------------------------------------------------
   SECTION SHARED
---------------------------------------------------------------- */
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--sp-3xl) var(--sp-xl);
}

.section-header {
  text-align: center;
  margin-bottom: var(--sp-2xl);
}

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-500);
  margin-bottom: var(--sp-md);
}

.section-label--light {
  color: var(--green-400);
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.18;
  color: var(--text-dark);
  margin-bottom: var(--sp-md);
}

.section-sub {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-muted-l);
  max-width: 560px;
  margin: 0 auto;
}

/* ----------------------------------------------------------------
   STORE BUTTONS
---------------------------------------------------------------- */
.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: transform var(--dur-fast) var(--ease-spring),
              box-shadow var(--dur-fast) var(--ease);
}

.btn-apple {
  background: var(--text-white);
  color: #0f0f0f;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.btn-apple:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.btn-google {
  background: transparent;
  color: var(--text-white);
  border: 1px solid var(--bg-dark-border);
}

.btn-google:hover {
  background: var(--bg-dark-3);
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.2);
}

/* ----------------------------------------------------------------
   PHONE MOCKUP
---------------------------------------------------------------- */
.phone-mockup {
  width: 230px;
  height: 468px;
  background: #0f0f0f;
  border-radius: 40px;
  border: 2px solid rgba(255,255,255,0.12);
  position: relative;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.5),
    0 32px 64px rgba(0,0,0,0.6),
    inset 0 0 0 1px rgba(255,255,255,0.04);
  flex-shrink: 0;
}

.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 26px;
  background: #0f0f0f;
  border-radius: 0 0 16px 16px;
  z-index: 10;
}

.phone-screen {
  position: absolute;
  top: 10px;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.phone-home-bar {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: rgba(255,255,255,0.25);
  border-radius: 4px;
  z-index: 10;
}

.phone-mockup--centered {
  margin: 0 auto;
}

/* ----------------------------------------------------------------
   MOCK STATUS BAR
---------------------------------------------------------------- */
.mock-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 14px 6px;
  font-size: 9px;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  flex-shrink: 0;
}

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

/* ----------------------------------------------------------------
   MOCK CHAT SCREEN
---------------------------------------------------------------- */
.phone-screen--chat {
  background: #111;
}

.mock-header {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px 10px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  flex-shrink: 0;
}

.mock-avatar {
  width: 30px;
  height: 30px;
  background: rgba(56, 142, 60, 0.2);
  border: 1px solid rgba(56, 142, 60, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mock-header-title {
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.mock-header-sub {
  font-size: 8.5px;
  color: rgba(255,255,255,0.45);
  margin-top: 2px;
}

.mock-chat {
  flex: 1;
  padding: 10px 10px 6px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  overflow: hidden;
}

.mock-bubble {
  max-width: 88%;
  padding: 7px 10px;
  border-radius: 12px;
  font-size: 8.5px;
  line-height: 1.5;
}

.mock-bubble p { margin: 0; }

.mock-bubble--ai {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 4px 12px 12px 12px;
  align-self: flex-start;
  color: rgba(255,255,255,0.9);
}

.mock-bubble--user {
  background: var(--green-600);
  border-radius: 12px 4px 12px 12px;
  align-self: flex-end;
  color: #fff;
}

.mock-recipe-card {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 8px;
  margin-top: 2px;
}

.mock-recipe-img {
  width: 38px;
  height: 38px;
  border-radius: 7px;
  background: linear-gradient(135deg, #2a5c2b 0%, #388E3C 60%, #4a9e4e 100%);
  flex-shrink: 0;
}

.mock-recipe-title {
  font-size: 8.5px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}

.mock-recipe-meta {
  font-size: 7.5px;
  color: rgba(255,255,255,0.5);
  display: flex;
  gap: 4px;
}

.mock-input-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px 18px;
  border-top: 1px solid rgba(255,255,255,0.07);
  flex-shrink: 0;
}

.mock-input {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 18px;
  padding: 5px 10px;
  font-size: 8px;
  color: rgba(255,255,255,0.3);
}

.mock-send {
  width: 24px;
  height: 24px;
  background: var(--green-500);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

/* ----------------------------------------------------------------
   MOCK RECIPE SCREEN
---------------------------------------------------------------- */
.phone-screen--recipe {
  background: #0d0d0d;
}

.mock-recipe-hero {
  position: relative;
  height: 140px;
  flex-shrink: 0;
}

.mock-recipe-hero-img {
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, #1a3a1a 0%, #2d6430 40%, #388E3C 100%);
}

.mock-recipe-hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px 12px;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 100%);
}

.mock-recipe-hero-title {
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 5px;
}

.mock-recipe-hero-badges {
  display: flex;
  gap: 4px;
}

.mock-badge {
  font-size: 7px;
  font-weight: 600;
  padding: 2px 5px;
  background: rgba(255,255,255,0.15);
  border-radius: 3px;
  color: rgba(255,255,255,0.9);
}

.mock-badge--green {
  background: rgba(56, 142, 60, 0.4);
  color: #88d18b;
}

.mock-recipe-detail {
  flex: 1;
  padding: 10px 12px;
  overflow: hidden;
}

.mock-nutrition-row {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.mock-nutrition-item {
  flex: 1;
  text-align: center;
}

.mock-nut-val {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
}

.mock-nut-label {
  font-size: 7px;
  color: rgba(255,255,255,0.4);
}

.mock-section-title {
  font-size: 9px;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 8px;
}

.mock-ingredient-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.mock-ingredient {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 8.5px;
  color: rgba(255,255,255,0.7);
}

.mock-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--green-500);
  flex-shrink: 0;
}

/* ----------------------------------------------------------------
   MOCK SCANNER SCREEN
---------------------------------------------------------------- */
.phone-screen--scanner {
  background: #0d0d0d;
}

.mock-scanner-header {
  padding: 8px 12px 10px;
  flex-shrink: 0;
}

.mock-scanner-title {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}

.mock-scanner-sub {
  font-size: 8.5px;
  color: rgba(255,255,255,0.4);
  margin-top: 1px;
}

.mock-camera-view {
  height: 140px;
  background: #1a1a1a;
  border: 1px solid rgba(255,255,255,0.06);
  margin: 0 10px;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.mock-camera-label {
  font-size: 8px;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  background: rgba(0,0,0,0.5);
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
}

.mock-scan-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90px;
  height: 60px;
}

.mock-scan-corner {
  position: absolute;
  width: 12px;
  height: 12px;
  border-color: var(--green-400);
  border-style: solid;
}

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

.mock-scan-line {
  position: absolute;
  left: 4px;
  right: 4px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--green-400), transparent);
  top: 50%;
  animation: scanline 2s ease-in-out infinite;
}

@keyframes scanline {
  0%, 100% { top: 15%; opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  50% { top: 85%; }
}

.mock-scan-results {
  flex: 1;
  padding: 10px 12px;
  overflow: hidden;
}

.mock-scan-result-title {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
  font-weight: 700;
  color: rgba(255,255,255,0.8);
  margin-bottom: 9px;
}

.mock-macro-bars {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mock-macro-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.mock-macro-label {
  font-size: 7.5px;
  color: rgba(255,255,255,0.5);
  width: 42px;
  flex-shrink: 0;
}

.mock-macro-bar-wrap {
  flex: 1;
  height: 3px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  overflow: hidden;
}

.mock-macro-bar {
  height: 100%;
  background: rgba(255,255,255,0.25);
  border-radius: 2px;
  transition: width 1s var(--ease);
}

.mock-macro-bar--green {
  background: var(--green-500);
}

.mock-macro-val {
  font-size: 7.5px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  width: 30px;
  text-align: right;
  flex-shrink: 0;
}

/* ----------------------------------------------------------------
   MOCK INGREDIENT SCAN SCREEN
---------------------------------------------------------------- */
.phone-screen--scan-ingredients {
  background: #0d0d0d;
}

.mock-scan-ing-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px 6px;
  flex-shrink: 0;
}

.mock-scan-ing-title {
  font-size: 11px;
  font-weight: 700;
  color: #fff;
}

.mock-fridge-view {
  padding: 0 10px;
  flex-shrink: 0;
}

.mock-fridge-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
}

.mock-fridge-item {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  padding: 8px 4px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  position: relative;
  transition: border-color 0.3s ease;
}

.mock-fridge-item--detected {
  border-color: rgba(56, 142, 60, 0.35);
  background: rgba(56, 142, 60, 0.06);
}

.mock-fridge-emoji {
  font-size: 16px;
  line-height: 1;
}

.mock-fridge-label {
  font-size: 7px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
}

.mock-fridge-check {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 12px;
  height: 12px;
  background: var(--green-500);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mock-fridge-status {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 8px;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  padding: 7px 0 4px;
  justify-content: center;
}

.mock-recipe-suggestions {
  padding: 4px 10px 8px;
  flex: 1;
  overflow: hidden;
}

.mock-recipe-sug-title {
  font-size: 8.5px;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.mock-recipe-sug-card {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  margin-bottom: 5px;
}

.mock-recipe-sug-color {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: linear-gradient(135deg, #e85d45, #f0a040);
  flex-shrink: 0;
}

.mock-recipe-sug-color--alt {
  background: linear-gradient(135deg, #388E3C, #66BB6A);
}

.mock-recipe-sug-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.mock-recipe-sug-name {
  font-size: 8.5px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mock-recipe-sug-meta {
  font-size: 7px;
  color: rgba(255,255,255,0.4);
}

.mock-recipe-sug-match {
  font-size: 9px;
  font-weight: 800;
  color: var(--green-400);
  flex-shrink: 0;
}

/* ----------------------------------------------------------------
   HERO
---------------------------------------------------------------- */
.hero {
  min-height: 100vh;
  background: var(--bg-dark);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: var(--nav-height);
  position: relative;
  overflow: hidden;
}

/* Very subtle grid texture */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--sp-3xl) var(--sp-xl);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--sp-2xl);
  width: 100%;
}

.hero-content {
  animation: fadeInLeft 0.9s var(--ease) both;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px;
  padding: 5px 12px;
  margin-bottom: var(--sp-lg);
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-400);
  box-shadow: 0 0 6px var(--green-400);
  animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

.hero-headline {
  font-size: clamp(36px, 5vw, 62px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--text-white);
  margin-bottom: var(--sp-md);
}

.hero-sub {
  font-size: 18px;
  line-height: 1.65;
  color: var(--text-muted-d);
  margin-bottom: var(--sp-xl);
  max-width: 480px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
  flex-wrap: wrap;
}

.hero-note {
  margin-top: var(--sp-md);
  font-size: 12px;
  color: rgba(255,255,255,0.3);
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  animation: fadeInRight 0.9s var(--ease) 0.2s both;
}

.phone-glow {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(56, 142, 60, 0.15) 0%, transparent 70%);
  pointer-events: none;
  transform: translateY(20px);
}

.hero-scroll-hint {
  position: absolute;
  bottom: var(--sp-xl);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: fadeIn 1.5s var(--ease) 1.2s both;
}

.hero-scroll-arrow {
  animation: bounceDown 2.5s ease-in-out infinite;
}

@keyframes bounceDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

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

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-32px); }
  to { opacity: 1; transform: none; }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(32px); }
  to { opacity: 1; transform: none; }
}

/* ----------------------------------------------------------------
   FEATURES
---------------------------------------------------------------- */
.features {
  background: var(--bg-light);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-md);
}

.feature-card {
  background: var(--bg-light-2);
  border: 1px solid var(--bg-light-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-xl) var(--sp-lg);
  transition: transform var(--dur-normal) var(--ease),
              box-shadow var(--dur-normal) var(--ease),
              border-color var(--dur-normal) var(--ease);
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.08);
  border-color: #d1d5db;
}

.feature-icon {
  width: 44px;
  height: 44px;
  background: var(--green-50);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-600);
  margin-bottom: var(--sp-lg);
}

.feature-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: var(--sp-sm);
  letter-spacing: -0.02em;
}

.feature-desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-muted-l);
}

/* ----------------------------------------------------------------
   SPOTLIGHT SECTIONS
---------------------------------------------------------------- */
.spotlight {
  overflow: hidden;
}

.spotlight--dark {
  background: var(--bg-dark-2);
  border-top: 1px solid var(--bg-dark-border);
  border-bottom: 1px solid var(--bg-dark-border);
}

.spotlight--light {
  background: var(--bg-light);
}

.spotlight-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--sp-3xl);
}

.spotlight-layout--reverse {
  direction: rtl;
}

.spotlight-layout--reverse > * {
  direction: ltr;
}

.spotlight-headline {
  font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.18;
  margin-bottom: var(--sp-md);
}

.spotlight--dark .spotlight-headline {
  color: var(--text-white);
}

.spotlight--light .spotlight-headline {
  color: var(--text-dark);
}

.spotlight-body {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: var(--sp-xl);
}

.spotlight--dark .spotlight-body { color: var(--text-sub-d); }
.spotlight--light .spotlight-body { color: var(--text-sub-l); }

.spotlight-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
}

.spotlight-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
}

.spotlight--dark .spotlight-list li { color: rgba(255,255,255,0.75); }
.spotlight-list--dark li { color: var(--text-sub-l); }

.spotlight-check {
  width: 22px;
  height: 22px;
  background: rgba(56, 142, 60, 0.15);
  border: 1px solid rgba(56, 142, 60, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-500);
  flex-shrink: 0;
}

.spotlight--light .spotlight-check {
  background: var(--green-50);
  border-color: var(--green-100);
  color: var(--green-600);
}

/* ----------------------------------------------------------------
   HOW IT WORKS
---------------------------------------------------------------- */
.how-it-works {
  background: var(--bg-light-2);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-lg);
  position: relative;
}

/* Connecting line between steps */
.steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(16.67% + 12px);
  right: calc(16.67% + 12px);
  height: 1px;
  background: linear-gradient(90deg, var(--green-100), var(--green-100));
  border-top: 1px dashed var(--green-100);
}

.step {
  position: relative;
  padding-top: var(--sp-2xl);
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--green-50);
  border: 1px solid var(--green-100);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 800;
  color: var(--green-600);
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-lg);
  position: relative;
  z-index: 1;
}

.step:last-child .step-connector { display: none; }

.step-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text-dark);
  margin-bottom: var(--sp-sm);
}

.step-desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-muted-l);
}

/* ----------------------------------------------------------------
   STATS
---------------------------------------------------------------- */
.stats {
  background: var(--bg-dark-4);
  border-top: 1px solid var(--bg-dark-border);
  border-bottom: 1px solid var(--bg-dark-border);
}

.stats .section-inner {
  padding-top: var(--sp-2xl);
  padding-bottom: var(--sp-2xl);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-lg);
  text-align: center;
}

.stat {
  padding: var(--sp-lg);
}

.stat-value {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text-white);
  margin-bottom: 6px;
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted-d);
  font-weight: 500;
}

/* ----------------------------------------------------------------
   FINAL CTA
---------------------------------------------------------------- */
.cta-section {
  background: var(--bg-dark);
  border-top: 1px solid var(--bg-dark-border);
}

.cta-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.cta-headline {
  font-size: clamp(30px, 4.5vw, 52px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--text-white);
  margin-bottom: var(--sp-md);
}

.cta-sub {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-muted-d);
  margin-bottom: var(--sp-xl);
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-md);
  flex-wrap: wrap;
}

.cta-note {
  margin-top: var(--sp-md);
  font-size: 12px;
  color: rgba(255,255,255,0.25);
}

/* ----------------------------------------------------------------
   FOOTER
---------------------------------------------------------------- */
.footer {
  background: var(--bg-dark-4);
  border-top: 1px solid var(--bg-dark-border);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--sp-2xl) var(--sp-xl);
}

.footer-top {
  margin-bottom: var(--sp-xl);
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: var(--sp-sm);
}

.footer-logo-text {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-white);
  letter-spacing: -0.02em;
}

.footer-tagline {
  font-size: 13px;
  color: rgba(255,255,255,0.3);
}

.footer-divider {
  height: 1px;
  background: var(--bg-dark-border);
  margin-bottom: var(--sp-xl);
}

.footer-bottom {
  display: flex;
  align-items: center;
  gap: var(--sp-xl);
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.25);
}

.footer-links {
  display: flex;
  gap: var(--sp-lg);
  margin-left: auto;
}

.footer-links a {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  transition: color var(--dur-fast) var(--ease);
}

.footer-links a:hover { color: rgba(255,255,255,0.7); }

.footer-social {
  display: flex;
  gap: var(--sp-sm);
}

.social-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--bg-dark-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.35);
  transition: color var(--dur-fast) var(--ease),
              border-color var(--dur-fast) var(--ease),
              background var(--dur-fast) var(--ease);
}

.social-icon:hover {
  color: var(--text-white);
  border-color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.05);
}

/* ----------------------------------------------------------------
   MOBILE NAVIGATION OPEN STATE
---------------------------------------------------------------- */
.nav-mobile-cta {
  display: none;
}

.nav-links.open {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: rgba(10,10,10,0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--bg-dark-border);
  padding: var(--sp-lg) var(--sp-md);
  gap: 0;
  z-index: 999;
}

.nav-links.open .nav-link {
  display: block;
  padding: 14px 0;
  font-size: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-links.open .nav-link:active {
  color: var(--green-400);
}

.nav-links.open .nav-mobile-cta {
  display: block;
  padding-top: var(--sp-md);
  border-bottom: none;
}

.nav-links.open .nav-link--cta {
  display: block;
  background: var(--green-600);
  color: #fff;
  text-align: center;
  padding: 14px;
  border-radius: var(--radius-md);
  font-weight: 600;
  border-bottom: none;
}

/* ----------------------------------------------------------------
   RESPONSIVE
---------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-inner {
    gap: var(--sp-xl);
  }

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

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

  .stats .section-inner {
    padding-top: var(--sp-xl);
    padding-bottom: var(--sp-xl);
  }

  .spotlight-layout,
  .spotlight-layout--reverse {
    gap: var(--sp-2xl);
  }
}

@media (max-width: 768px) {
  :root {
    --sp-3xl: 56px;
    --sp-2xl: 40px;
  }

  .nav-inner {
    padding: 0 var(--sp-md);
  }

  .nav-links {
    display: none;
  }

  .nav-cta {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  /* Hero */
  .hero {
    min-height: 100vh;
    min-height: 100dvh;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: var(--sp-2xl) var(--sp-md);
    gap: var(--sp-xl);
  }

  .hero-content { order: 1; }
  .hero-visual  { order: 2; }

  .hero-sub {
    margin-left: auto;
    margin-right: auto;
    font-size: 15px;
  }

  .hero-actions {
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }

  .btn-store {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

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

  .hero-scroll-hint { display: none; }

  /* Hide hero phone on mobile */
  .hero-visual {
    display: none;
  }

  /* Phone mockups */
  .phone-mockup {
    width: 220px;
    height: 448px;
  }

  .phone-mockup--centered {
    margin: 0 auto;
  }

  /* Sections */
  .section-inner {
    padding: var(--sp-2xl) var(--sp-md);
  }

  .section-title {
    font-size: clamp(24px, 6vw, 32px);
  }

  .section-sub {
    font-size: 15px;
  }

  .section-header {
    margin-bottom: var(--sp-xl);
  }

  /* Features */
  .features-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-sm);
  }

  .feature-card {
    padding: var(--sp-lg);
  }

  .feature-card:hover {
    transform: none;
    box-shadow: none;
  }

  /* Spotlights */
  .spotlight-layout,
  .spotlight-layout--reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: var(--sp-xl);
    text-align: center;
  }

  .spotlight-text {
    order: 2;
  }

  .spotlight-visual {
    order: 1;
  }

  .spotlight-headline {
    font-size: clamp(24px, 6vw, 32px);
  }

  .spotlight-body {
    font-size: 14px;
  }

  .spotlight-list {
    text-align: left;
    display: inline-block;
  }

  .spotlight-list li {
    font-size: 13px;
  }

  /* How It Works */
  .steps {
    grid-template-columns: 1fr;
    gap: var(--sp-lg);
  }

  .steps::before { display: none; }

  .step {
    padding-top: 0;
    display: flex;
    gap: var(--sp-md);
    align-items: flex-start;
  }

  .step-number {
    margin-bottom: 0;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    font-size: 12px;
  }

  .step-connector { display: none; }

  .step-title {
    font-size: 16px;
  }

  .step-desc {
    font-size: 13px;
  }

  /* CTA */
  .cta-headline {
    font-size: clamp(26px, 7vw, 36px);
  }

  .cta-sub {
    font-size: 15px;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .cta-actions .btn-store {
    width: 100%;
    max-width: 280px;
  }

  /* Footer */
  .footer-inner {
    padding: var(--sp-xl) var(--sp-md);
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--sp-md);
  }

  .footer-links {
    margin-left: 0;
    flex-wrap: wrap;
    gap: var(--sp-md);
  }
}

@media (max-width: 400px) {
  :root {
    --sp-3xl: 48px;
    --sp-2xl: 32px;
  }

  .hero-headline {
    font-size: 28px;
  }

  .phone-mockup {
    width: 190px;
    height: 388px;
  }

  .btn-store {
    max-width: 100%;
  }

  .spotlight-headline {
    font-size: 24px;
  }

  .cta-headline {
    font-size: 24px;
  }

  .section-title {
    font-size: 24px;
  }

  .feature-icon {
    width: 38px;
    height: 38px;
    margin-bottom: var(--sp-md);
  }

  .mock-fridge-grid {
    gap: 4px;
  }

  .mock-fridge-emoji {
    font-size: 14px;
  }

  .mock-fridge-label {
    font-size: 6px;
  }

  .nav-logo-icon {
    width: 28px;
    height: 28px;
  }

  .nav-logo-text {
    font-size: 16px;
  }
}
