/* =============================================================
   IRIO — Landing Page Styles
   Brand: #E85D26 (orange) · #2D9B6F (green) · #F5C842 (yellow)
   Font: Poppins
   ============================================================= */

/* ─── 1. Custom Properties ──────────────────────────────────── */
:root {
  --primary:       #E85D26;
  --primary-dark:  #C44E1E;
  --primary-light: #FF7A45;
  --secondary:     #2D9B6F;
  --accent:        #F5C842;
  --surface:       #FFF8F2;
  --dark:          #1A1A1A;
  --dark-2:        #2A1A0A;
  --text:          #1A1A1A;
  --text-2:        #6B6B6B;
  --text-3:        #AAAAAA;
  --border:        #F0E8E0;
  --white:         #FFFFFF;
  --nav-h:         70px;
  --radius-sm:     10px;
  --radius-md:     16px;
  --radius-lg:     24px;
  --radius-xl:     32px;
  --shadow-sm:     0 2px 12px rgba(0,0,0,0.06);
  --shadow-md:     0 8px 32px rgba(0,0,0,0.10);
  --shadow-lg:     0 20px 60px rgba(0,0,0,0.16);
  --shadow-orange: 0 12px 40px rgba(232,93,38,0.35);
}

/* ─── 2. Reset & Base ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Poppins', sans-serif;
  background: var(--surface);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; border: none; background: none; cursor: pointer; }

/* ─── 3. Typography ─────────────────────────────────────────── */
.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}
.section-label.light { color: rgba(255,255,255,0.5); }
.section-title {
  font-size: clamp(28px, 4.5vw, 46px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text);
}
.section-sub {
  font-size: 17px;
  color: var(--text-2);
  line-height: 1.7;
  margin-top: 14px;
}
.section-header { margin-bottom: 56px; }

/* ─── 4. Layout ─────────────────────────────────────────────── */
.container { max-width: 1140px; margin: 0 auto; padding: 0 28px; }

/* ─── 5. Scroll Progress ────────────────────────────────────── */
#scroll-progress {
  position: fixed; top: 0; left: 0; z-index: 200;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  width: 0%;
  transition: width 0.1s linear;
}

/* ─── 6. Navigation ─────────────────────────────────────────── */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  transition: background 0.3s, box-shadow 0.3s;
}
#nav.scrolled {
  background: rgba(255,248,242,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border), var(--shadow-sm);
}
.nav-container {
  max-width: 1140px; margin: 0 auto; padding: 0 28px;
  height: 100%; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 20px; font-weight: 800; color: var(--primary);
}
.nav-logo img { width: 38px; height: 38px; border-radius: 10px; object-fit: contain; }
.nav-links { display: flex; gap: 36px; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--text-2);
  transition: color 0.2s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -3px; left: 0; right: 0;
  height: 2px; background: var(--primary); border-radius: 2px;
  transform: scaleX(0); transition: transform 0.2s;
}
.nav-links a:hover { color: var(--primary); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta {
  background: var(--primary); color: white;
  padding: 10px 22px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 600;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.nav-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-orange);
}
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  padding: 6px; border-radius: 8px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: all 0.3s;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Nav */
.mobile-nav {
  display: none; flex-direction: column;
  position: fixed; top: var(--nav-h); left: 0; right: 0; z-index: 99;
  background: white; border-bottom: 1px solid var(--border);
  padding: 20px 28px; gap: 4px;
  box-shadow: var(--shadow-md);
  transform: translateY(-8px); opacity: 0;
  transition: transform 0.25s, opacity 0.25s;
}
.mobile-nav.open { display: flex; transform: none; opacity: 1; }
.mobile-link {
  font-size: 15px; font-weight: 500; color: var(--text);
  padding: 12px 0; border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}
.mobile-link:last-of-type { border-bottom: none; }
.mobile-link:hover { color: var(--primary); }
.mobile-cta {
  display: block; margin-top: 12px;
  background: var(--primary); color: white; text-align: center;
  padding: 16px; border-radius: var(--radius-md);
  font-weight: 700; font-size: 15px;
}

/* ─── 7. Hero ───────────────────────────────────────────────── */
#hero-particles {
  position: fixed; inset: 0;
  width: 100vw; height: 100vh;
  pointer-events: none; z-index: 1;
  mix-blend-mode: screen;
}
@media (prefers-reduced-motion: reduce) { #hero-particles { display: none; } }

#hero {
  min-height: 100vh;
  background: linear-gradient(160deg, #0D0500 0%, #2A1000 35%, #1A0A00 60%, #0A1A10 100%);
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + 60px) 28px 100px;
  position: relative; overflow: hidden;
}
.hero-bg-glow {
  position: absolute; top: 15%; left: 50%; transform: translateX(-50%);
  width: 700px; height: 500px;
  background: radial-gradient(ellipse, rgba(232,93,38,0.22) 0%, transparent 70%);
  pointer-events: none;
  animation: pulse-glow 4s ease-in-out infinite;
}
@keyframes pulse-glow {
  0%, 100% { opacity: 0.7; transform: translateX(-50%) scale(1); }
  50%       { opacity: 1;   transform: translateX(-50%) scale(1.1); }
}
.hero-dots {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 100%);
}
.hero-content { position: relative; z-index: 1; max-width: 680px; }
.hero-logo-wrap {
  width: 108px; height: 108px;
  background: white; border-radius: 28px;
  padding: 10px; margin: 0 auto 28px;
  box-shadow: 0 24px 64px rgba(232,93,38,0.45), 0 0 0 1px rgba(255,255,255,0.1);
  animation: float 3s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}
.hero-logo-wrap img { width: 100%; height: 100%; object-fit: contain; border-radius: 18px; }
.karibu-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(245,200,66,0.1);
  border: 1px solid rgba(245,200,66,0.3);
  padding: 6px 18px; border-radius: 24px;
  margin-bottom: 20px;
  opacity: 0; animation: slide-up 0.6s 0.1s forwards;
}
.kb-swahili {
  font-size: 13px; font-weight: 700; color: var(--accent); letter-spacing: 0.5px;
}
.kb-sep { color: var(--accent); opacity: 0.35; font-size: 12px; }
.kb-translation {
  font-size: 11px; font-weight: 400; font-style: italic;
  color: rgba(255,255,255,0.4);
}
.hero-eyebrow {
  font-size: 13px; font-weight: 600; color: var(--accent);
  letter-spacing: 2px; text-transform: uppercase;
  margin-bottom: 18px; opacity: 0;
  animation: slide-up 0.6s 0.2s forwards;
}
.hero-title {
  font-size: clamp(40px, 7vw, 72px); font-weight: 900;
  color: white; line-height: 1.1; margin-bottom: 22px;
  opacity: 0; animation: slide-up 0.6s 0.35s forwards;
}
.hero-title em {
  font-style: normal; color: var(--primary);
  position: relative;
}
.hero-sub {
  font-size: clamp(15px, 2.2vw, 18px); color: rgba(255,255,255,0.65);
  line-height: 1.75; max-width: 520px; margin: 0 auto 36px;
  opacity: 0; animation: slide-up 0.6s 0.5s forwards;
}
.hero-actions {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
  opacity: 0; animation: slide-up 0.6s 0.65s forwards;
}
.btn-primary {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--primary); color: white;
  padding: 16px 30px; border-radius: var(--radius-md);
  font-size: 15px; font-weight: 700;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.btn-primary:hover {
  background: var(--primary-dark); transform: translateY(-2px);
  box-shadow: var(--shadow-orange);
}
.btn-ghost {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(255,255,255,0.07); color: rgba(255,255,255,0.85);
  padding: 16px 30px; border-radius: var(--radius-md);
  font-size: 15px; font-weight: 600;
  border: 1.5px solid rgba(255,255,255,0.2);
  transition: background 0.2s, border-color 0.2s;
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.4); }
.hero-meta {
  display: flex; gap: 10px; justify-content: center; align-items: center;
  flex-wrap: wrap; margin-top: 24px;
  font-size: 13px; color: rgba(255,255,255,0.35); font-weight: 500;
  opacity: 0; animation: slide-up 0.6s 0.8s forwards;
}
.hero-meta .dot { opacity: 0.3; }
.ios-coming-soon {
  display: inline-flex; align-items: center; gap: 5px;
  color: rgba(255,255,255,0.45);
  font-size: 12px;
}
.ios-coming-soon svg { opacity: 0.6; flex-shrink: 0; }
.hero-scroll {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 10px; letter-spacing: 2px; color: rgba(255,255,255,0.3);
  font-weight: 600; transition: color 0.2s;
}
.hero-scroll:hover { color: rgba(255,255,255,0.6); }
.scroll-arrow {
  width: 20px; height: 20px; border-right: 2px solid rgba(255,255,255,0.3);
  border-bottom: 2px solid rgba(255,255,255,0.3);
  transform: rotate(45deg);
  animation: bounce-arrow 1.6s ease-in-out infinite;
}
@keyframes bounce-arrow {
  0%,100% { transform: rotate(45deg) translateY(0); }
  50%      { transform: rotate(45deg) translateY(5px); }
}
@keyframes slide-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}

/* ─── 8. Stats ──────────────────────────────────────────────── */
#stats {
  background: var(--primary);
  padding: 28px 0;
}
.stats-inner {
  max-width: 1140px; margin: 0 auto; padding: 0 28px;
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 0;
}
.stat-item {
  display: flex; flex-direction: column; align-items: center;
  padding: 8px 48px; gap: 2px;
}
.stat-num {
  font-size: 28px; font-weight: 900; color: white;
  line-height: 1;
}
.stat-num.free { font-size: 24px; }
.stat-label { font-size: 12px; color: rgba(255,255,255,0.75); font-weight: 500; }
.stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.2); }

/* ─── 9. Features ───────────────────────────────────────────── */
#features { padding: 110px 0; }
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-bottom: 32px;
}
.feature-card {
  background: white; border-radius: var(--radius-lg);
  border: 1px solid var(--border); padding: 36px 30px;
  transition: transform 0.25s, box-shadow 0.25s;
  position: relative;
  animation-delay: var(--delay, 0s);
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.featured-card {
  background: linear-gradient(160deg, #FFF8F2 0%, #FFF0E4 100%);
  border-color: rgba(232,93,38,0.2);
}
.feature-badge {
  position: absolute; top: -12px; left: 28px;
  background: var(--primary); color: white;
  font-size: 11px; font-weight: 700; letter-spacing: 0.5px;
  padding: 4px 14px; border-radius: 20px;
}
.feature-icon {
  width: 60px; height: 60px; border-radius: var(--radius-md);
  background: var(--icon-bg); color: var(--icon-color);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}
.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: var(--text-2); line-height: 1.75; }
.feature-chip {
  display: inline-block; margin-top: 18px;
  background: var(--surface); border: 1px solid var(--border);
  padding: 5px 14px; border-radius: 20px;
  font-size: 12px; font-weight: 600; color: var(--text-2);
}
.extra-chips {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: center;
  margin-top: 16px;
}
.extra-chip {
  display: inline-flex; align-items: center; gap: 7px;
  background: white; border: 1px solid var(--border);
  padding: 8px 18px; border-radius: 24px;
  font-size: 13px; font-weight: 500; color: var(--text-2);
}
.extra-chip svg { color: var(--secondary); flex-shrink: 0; }

/* ─── 10. Recipes ────────────────────────────────────────────── */
#recipes {
  padding: 110px 0;
  background: linear-gradient(180deg, #0D0500 0%, #1A0A00 50%, #0A0D05 100%);
}
.recipe-tabs {
  display: flex; gap: 10px; justify-content: center;
  flex-wrap: wrap; margin-bottom: 48px;
}
.recipe-tab {
  padding: 10px 26px; border-radius: 24px;
  font-size: 14px; font-weight: 600; cursor: pointer;
  border: 2px solid rgba(255,255,255,0.15); color: rgba(255,255,255,0.5);
  transition: all 0.2s;
}
.recipe-tab:hover { border-color: rgba(255,255,255,0.35); color: rgba(255,255,255,0.8); }
.recipe-tab.active { background: var(--primary); border-color: var(--primary); color: white; }

/* Recipe grid */
.recipe-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.recipe-card {
  position: relative; border-radius: var(--radius-lg);
  overflow: hidden; aspect-ratio: 3/4; cursor: pointer;
  display: none;
}
.recipe-card.active { display: block; animation: card-in 0.45s var(--ci-delay, 0s) both; }
@keyframes card-in {
  from { opacity: 0; transform: translateY(20px) scale(0.96); }
  to   { opacity: 1; transform: none; }
}
.rc-img {
  position: absolute; inset: 0;
  background: var(--card-grad);
  transition: transform 0.5s ease;
}
.rc-img img {
  width: 100%; height: 100%; object-fit: cover;
  position: absolute; inset: 0;
}
.recipe-card:hover .rc-img { transform: scale(1.07); }
.rc-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.1) 100%);
}
.rc-content {
  position: absolute; inset: 0;
  padding: 16px; display: flex; flex-direction: column; justify-content: space-between;
}
.rc-top { display: flex; justify-content: space-between; align-items: flex-start; }
.rc-tag {
  padding: 4px 10px; border-radius: 8px;
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
}
.rc-tag.food     { background: rgba(232,93,38,0.85); color: white; }
.rc-tag.mocktail { background: rgba(45,155,111,0.85); color: white; }
.rc-tag.cocktail { background: rgba(123,63,160,0.85); color: white; }
.rc-diff {
  font-size: 10px; font-weight: 700; padding: 4px 10px; border-radius: 8px;
}
.rc-diff.easy   { background: rgba(45,155,111,0.9); color: white; }
.rc-diff.medium { background: rgba(245,200,66,0.9); color: #1A1A1A; }
.rc-diff.hard   { background: rgba(232,64,64,0.9); color: white; }
.rc-bottom { color: white; }
.rc-bottom h3 { font-size: 15px; font-weight: 700; margin-bottom: 6px; line-height: 1.3; }
.rc-desc {
  font-size: 12px; color: rgba(255,255,255,0.75); line-height: 1.6;
  margin-bottom: 10px; max-height: 0; overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.35s;
  opacity: 0;
}
.recipe-card:hover .rc-desc { max-height: 80px; opacity: 1; }
.rc-meta {
  display: flex; gap: 12px;
  font-size: 11px; color: rgba(255,255,255,0.55); font-weight: 500;
}

/* ─── 11. How It Works ───────────────────────────────────────── */
#how { padding: 110px 0; background: var(--surface); }
.how-container {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.how-left .section-title { margin-bottom: 10px; }
.how-steps { margin-top: 48px; display: flex; flex-direction: column; gap: 36px; }
.how-step {
  display: flex; gap: 20px; align-items: flex-start;
  animation-delay: var(--delay, 0s);
}
.step-num {
  width: 44px; height: 44px; border-radius: 14px;
  background: var(--primary); color: white;
  font-size: 18px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(232,93,38,0.35);
}
.step-body h4 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.step-body p { font-size: 14px; color: var(--text-2); line-height: 1.7; }

/* Phone mockup */
.how-right { display: flex; justify-content: center; }
.phone-wrap { position: relative; }
.phone-frame {
  width: 240px; height: 500px;
  background: var(--dark); border-radius: 44px;
  padding: 14px; position: relative;
  box-shadow: 0 40px 80px rgba(0,0,0,0.35), 0 0 0 1px rgba(255,255,255,0.05);
}
.phone-notch {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 90px; height: 8px; background: var(--dark);
  border-radius: 0 0 10px 10px; z-index: 2;
}
.phone-screen {
  width: 100%; height: 100%; border-radius: 32px;
  background: var(--surface); overflow: hidden;
  display: flex; flex-direction: column;
}
.phone-glow {
  position: absolute; bottom: -30px; left: 50%; transform: translateX(-50%);
  width: 180px; height: 60px;
  background: radial-gradient(ellipse, rgba(232,93,38,0.4) 0%, transparent 70%);
  filter: blur(10px);
}

/* Mini app UI inside phone */
.mini-appbar {
  background: var(--primary); padding: 12px 14px 0;
  flex-shrink: 0;
}
.mini-appbar-title { font-size: 14px; font-weight: 700; color: white; display: block; margin-bottom: 10px; }
.mini-tabs { display: flex; gap: 0; }
.mini-tab {
  flex: 1; text-align: center; padding: 7px 4px;
  font-size: 10px; font-weight: 600; color: rgba(255,255,255,0.6);
  border-bottom: 2px solid transparent;
}
.mini-tab.active { color: white; border-bottom-color: white; }
.mini-search {
  margin: 10px 12px; height: 28px; background: white;
  border-radius: 8px; border: 1px solid var(--border);
  flex-shrink: 0;
}
.mini-filters {
  display: flex; gap: 6px; padding: 0 12px 8px;
  overflow-x: hidden; flex-shrink: 0;
}
.mf {
  font-size: 9px; font-weight: 600; padding: 3px 10px;
  border-radius: 12px; background: white; color: var(--text-2);
  border: 1px solid var(--border); white-space: nowrap;
}
.mf.active { background: var(--primary); color: white; border-color: var(--primary); }
.mini-ing-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 7px; padding: 0 12px; flex: 1;
}
.mi {
  background: white; border: 1px solid var(--border);
  border-radius: 8px; padding: 7px 8px;
  font-size: 10px; font-weight: 500; color: var(--text-2);
}
.mi.sel { background: var(--primary); color: white; border-color: var(--primary); }
.mini-btn {
  margin: 10px 12px 12px; background: var(--primary); color: white;
  border-radius: 10px; padding: 10px; text-align: center;
  font-size: 10px; font-weight: 700; flex-shrink: 0;
}

/* ─── 12. Screenshots ────────────────────────────────────────── */
#screenshots { padding: 110px 0; background: white; }
.screens-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 40px; align-items: end;
}
.screen-wrap {
  display: flex; flex-direction: column; align-items: center; gap: 20px;
  animation-delay: var(--delay, 0s);
}
.screen-wrap.elevated .screen-frame { transform: translateY(-24px); }
.screen-frame {
  width: 200px; height: 420px;
  background: var(--dark); border-radius: 38px;
  padding: 10px; position: relative;
  box-shadow: 0 24px 60px rgba(0,0,0,0.22), 0 0 0 1px rgba(255,255,255,0.04);
}
.screen-notch {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 70px; height: 6px; background: var(--dark);
  border-radius: 0 0 8px 8px; z-index: 2;
}
.screen-inner {
  width: 100%; height: 100%; border-radius: 30px; overflow: hidden;
}
.screen-inner img { width: 100%; height: 100%; object-fit: cover; }
.screen-placeholder { width: 100%; height: 100%; display: flex; flex-direction: column; background: var(--surface); }
.sp-bar {
  background: var(--primary); color: white; padding: 14px 12px 10px;
  font-size: 12px; font-weight: 700; flex-shrink: 0;
}
.sp-body { flex: 1; padding: 10px 10px; overflow: hidden; display: flex; flex-direction: column; gap: 8px; }

/* Cook screen placeholder */
.cook-screen .sp-row { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.cook-screen .sp-tile {
  background: white; border: 1px solid var(--border);
  border-radius: 7px; padding: 7px 6px;
  font-size: 9px; font-weight: 500; color: var(--text-2);
}
.cook-screen .sp-tile.sel { background: var(--primary); color: white; border-color: var(--primary); }
.cook-screen .sp-btn {
  margin-top: auto; background: var(--primary); color: white;
  border-radius: 10px; padding: 9px; text-align: center;
  font-size: 9px; font-weight: 700;
}

/* Recipe screen placeholder */
.recipe-screen .sp-card {
  background: white; border: 1px solid var(--border);
  border-radius: 8px; overflow: hidden; display: flex;
}
.recipe-screen .sp-card-color { width: 8px; flex-shrink: 0; }
.recipe-screen .sp-card-color.c1 { background: var(--primary); }
.recipe-screen .sp-card-color.c2 { background: #C0392B; }
.recipe-screen .sp-card-color.c3 { background: #B8960A; }
.recipe-screen .sp-card-info { padding: 8px; flex: 1; }
.recipe-screen .sp-card-name { font-size: 10px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.recipe-screen .sp-card-chips { display: flex; gap: 4px; }
.recipe-screen .sp-card-chips span {
  background: var(--surface); border: 1px solid var(--border);
  padding: 2px 6px; border-radius: 5px; font-size: 8px; color: var(--text-2);
}

/* Planner screen placeholder */
.planner-screen .sp-day {
  display: flex; align-items: center; gap: 6px;
  background: white; border: 1px solid var(--border);
  border-radius: 8px; padding: 7px 8px;
}
.planner-screen .sp-day.today { border-color: var(--primary); background: rgba(232,93,38,0.04); }
.planner-screen .sp-day-name { font-size: 9px; font-weight: 700; color: var(--text); width: 22px; }
.planner-screen .sp-meals { display: flex; gap: 4px; flex: 1; }
.planner-screen .sp-m {
  flex: 1; height: 16px; border-radius: 4px;
}
.planner-screen .sp-m.b { background: rgba(232,93,38,0.25); }
.planner-screen .sp-m.l { background: rgba(45,155,111,0.25); }
.planner-screen .sp-m.d { background: rgba(74,105,189,0.25); }
.planner-screen .today .sp-m.b { background: rgba(232,93,38,0.6); }
.planner-screen .today .sp-m.l { background: rgba(45,155,111,0.6); }
.planner-screen .today .sp-m.d { background: rgba(74,105,189,0.6); }

.screen-label { font-size: 15px; font-weight: 700; color: var(--text); }
.screen-sub   { font-size: 13px; color: var(--text-2); margin-top: -14px; }

/* ─── 13. Download CTA ───────────────────────────────────────── */
#download {
  padding: 120px 28px;
  background: linear-gradient(160deg, #0D0500 0%, #2A1000 40%, #0A1A10 100%);
  text-align: center; position: relative; overflow: hidden;
}
.dl-glow {
  position: absolute; top: 20%; left: 50%; transform: translateX(-50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(232,93,38,0.2) 0%, transparent 70%);
  pointer-events: none;
}
.dl-content { position: relative; z-index: 1; max-width: 560px; margin: 0 auto; }
.dl-logo {
  width: 90px; height: 90px; margin: 0 auto 28px;
  background: white; border-radius: 24px; padding: 10px;
  box-shadow: var(--shadow-orange);
}
.dl-logo img { width: 100%; height: 100%; object-fit: contain; border-radius: 14px; }
.dl-title {
  font-size: clamp(32px, 6vw, 52px); font-weight: 900;
  color: white; line-height: 1.1; margin-bottom: 18px;
}
.dl-sub {
  font-size: 17px; color: rgba(255,255,255,0.6);
  line-height: 1.75; margin-bottom: 36px;
}
.dl-badges { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 36px; }
.dl-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.15);
  padding: 8px 16px; border-radius: var(--radius-sm);
  font-size: 13px; color: rgba(255,255,255,0.7); font-weight: 500;
}
.dl-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--primary); color: white;
  padding: 18px 44px; border-radius: var(--radius-md);
  font-size: 17px; font-weight: 800;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: var(--shadow-orange);
}
.dl-btn:hover {
  background: var(--primary-dark); transform: translateY(-3px);
  box-shadow: 0 20px 50px rgba(232,93,38,0.5);
}
.dl-note { margin-top: 18px; font-size: 12px; color: rgba(255,255,255,0.3); line-height: 1.6; }
.ios-soon-wrap {
  display: inline-flex; align-items: center; gap: 7px;
  margin-top: 14px;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  padding: 7px 16px; border-radius: 20px;
  font-size: 12px; color: rgba(255,255,255,0.4); font-weight: 500;
}
.ios-soon-wrap svg { opacity: 0.5; flex-shrink: 0; }
.dl-disclaimer {
  margin-top: 24px; padding: 16px 22px;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  font-size: 12px; color: rgba(255,255,255,0.3); line-height: 1.75;
  max-width: 440px; margin-left: auto; margin-right: auto;
  text-align: left;
}
.dl-disclaimer strong { color: rgba(255,255,255,0.45); }

/* ─── 14. Footer ─────────────────────────────────────────────── */
footer { background: #0D0500; padding: 48px 0; }
.footer-inner {
  display: flex; flex-direction: column;
  align-items: center; gap: 14px; text-align: center;
}
.footer-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 18px; font-weight: 800; color: white;
}
.footer-logo img { width: 34px; height: 34px; border-radius: 8px; }
.footer-tagline { font-size: 13px; color: rgba(255,255,255,0.35); font-style: italic; }
.footer-copy {
  font-size: 12px; color: rgba(255,255,255,0.25);
}
.footer-copy a { color: rgba(255,255,255,0.4); transition: color 0.2s; }
.footer-copy a:hover { color: var(--primary); }

/* ─── 15. Scroll Reveal ─────────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
  transition-delay: var(--delay, 0s);
}
.reveal.visible { opacity: 1; transform: none; }

/* ─── 16. Responsive ─────────────────────────────────────────── */
@media (max-width: 1060px) {
  .recipe-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .features-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto 32px; }
  .recipe-grid { grid-template-columns: repeat(2, 1fr); }
  .how-container { grid-template-columns: 1fr; gap: 56px; }
  .how-right { display: none; }
  .screens-grid { grid-template-columns: 1fr; gap: 48px; align-items: center; }
  .screen-wrap.elevated .screen-frame { transform: none; }
  .stat-item { padding: 8px 24px; }
}

@media (max-width: 600px) {
  .recipe-grid { grid-template-columns: 1fr; }
  .recipe-card { aspect-ratio: 16/9; }
  .rc-desc { max-height: 60px; opacity: 1; }
  .stats-inner { flex-wrap: wrap; }
  .stat-item { width: 50%; border-right: none; }
  .stat-divider { display: none; }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn-primary, .btn-ghost { width: 100%; max-width: 320px; justify-content: center; }
  .screen-frame { width: 180px; height: 380px; }
  .section-header { margin-bottom: 40px; }
}

@media (max-width: 420px) {
  .stat-item { width: 100%; }
}
