/* ========================================
   SmartChef Website - Main Styles
   Colors: Primary #f97316 | Secondary #10b981
   ======================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary: #f97316;
  --primary-dark: #ea580c;
  --secondary: #10b981;
  --secondary-dark: #059669;
  --bg: #fdfcfa;
  --surface: #ffffff;
  --muted: #f8f6f2;
  --border: #ede9e3;
  --text: #1a1a1a;
  --text-muted: #6b6b6b;
  --gradient: linear-gradient(135deg, #f97316 0%, #ea580c 40%, #10b981 100%);
  --gradient-soft: linear-gradient(135deg, rgba(249,115,22,0.08) 0%, rgba(16,185,129,0.06) 100%);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.06), 0 16px 48px rgba(0,0,0,0.08);
  --shadow-primary: 0 8px 32px rgba(249,115,22,0.28);
  --radius: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  background-color: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

::selection {
  background-color: var(--primary);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

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

a { color: inherit; text-decoration: none; }

/* ========================================
   UTILITIES
   ======================================== */

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(249,115,22,0.08);
  border: 1px solid rgba(249,115,22,0.2);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 560px;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header .section-subtitle {
  margin: 0 auto;
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4,0,0.2,1);
  text-decoration: none;
  white-space: nowrap;
  border-radius: var(--radius-full);
  padding: 14px 28px;
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(249,115,22,0.38);
}

.btn-primary:active { transform: translateY(0); }

.btn-outline {
  background: var(--surface);
  color: var(--text);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
  background: var(--muted);
  transform: translateY(-2px);
  border-color: #d1cdc8;
}

.btn-ghost {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1rem;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.85rem;
}

/* Store buttons */
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #111;
  color: #fff;
  border-radius: 14px;
  padding: 12px 22px;
  font-family: var(--font);
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid rgba(255,255,255,0.08);
  text-decoration: none;
}

.store-btn-disabled {
  opacity: 0.55;
  cursor: not-allowed !important;
  pointer-events: none;
  filter: grayscale(20%);
}

.store-btn:hover {
  background: #1c1c1e;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.store-btn-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.store-btn-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
}

.store-btn-text .pre {
  font-size: 0.68rem;
  opacity: 0.7;
  font-weight: 400;
  line-height: 1;
}

.store-btn-text .name {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
}

/* ========================================
   NAVBAR
   ======================================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(250,248,245,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(232,228,222,0.6);
  box-shadow: 0 1px 24px rgba(0,0,0,0.05);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.03em;
  color: var(--text);
}

.navbar-logo-icon {
  width: 38px;
  height: 38px;
  background: var(--gradient);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 12px rgba(249,115,22,0.3);
}

.navbar-logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
  display: block;
}

.navbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Language switcher */
.lang-switcher {
  position: relative;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  padding: 7px 14px;
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: all 0.15s ease;
}

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

.lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  min-width: 148px;
  z-index: 200;
}

.lang-dropdown.open { display: block; }

.lang-option {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 10px 16px;
  background: none;
  border: none;
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: background 0.12s ease;
  text-align: left;
}

.lang-option:hover { background: var(--muted); color: var(--text); }
.lang-option.active { color: var(--primary); font-weight: 600; }

/* ========================================
   HERO
   ======================================== */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 100px 0 80px;
  background: linear-gradient(160deg, #ffffff 0%, #fdfcfa 50%, #f7fdf9 100%);
}

.hero-bg-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
  opacity: 0.45;
}

.hero-bg-orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(249,115,22,0.18) 0%, transparent 70%);
  top: -100px;
  right: -100px;
}

.hero-bg-orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(16,185,129,0.14) 0%, transparent 70%);
  bottom: -80px;
  left: -80px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-inner .hero-stats {
  grid-column: 1 / -1;
  justify-content: center;
  margin-top: -24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, rgba(249,115,22,0.1), rgba(16,185,129,0.08));
  border: 1px solid rgba(249,115,22,0.2);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
  width: fit-content;
}

.hero-title {
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-stat-value {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Hero phone mockup */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-mockup {
  position: relative;
  width: 280px;
  height: 560px;
  background: #e8e4df;
  border-radius: 44px;
  border: 8px solid #d6d1cb;
  box-shadow: 0 32px 64px rgba(0,0,0,0.10), 0 0 0 1px rgba(0,0,0,0.04);
  overflow: hidden;
  flex-shrink: 0;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #fdfcfa 0%, #f8f6f2 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 36px 20px 24px;
  position: relative;
  overflow: hidden;
}

.phone-notch {
  width: 90px;
  height: 24px;
  background: #d6d1cb;
  border-radius: 0 0 16px 16px;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.phone-status {
  width: 100%;
  display: flex;
  justify-content: space-between;
  font-size: 0.65rem;
  color: rgba(0,0,0,0.35);
  margin-bottom: 24px;
  padding-top: 8px;
}

.phone-app-icon {
  width: 56px;
  height: 56px;
  background: #fdfcfa;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 12px;
  border: 2px solid transparent;
  background-clip: padding-box;
  box-shadow: 0 0 0 2px transparent, 0 4px 12px rgba(249,115,22,0.12);
  position: relative;
}

.phone-app-icon::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 18px;
  padding: 2px;
  background: linear-gradient(135deg, #f97316, #10b981);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

.phone-app-name {
  color: #1a1a1a;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 4px;
}

.phone-tagline {
  color: #9a9490;
  font-size: 0.72rem;
  margin-bottom: 24px;
  text-align: center;
}

.phone-scan-area {
  width: 120px;
  height: 120px;
  border-radius: 12px;
  background: rgba(249,115,22,0.04);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  position: relative;
}

.phone-scan-corner {
  position: absolute;
  width: 16px;
  height: 16px;
  border-color: var(--primary);
  border-style: solid;
}

.phone-scan-corner:nth-child(1) { top: 0; left: 0;   border-width: 2px 0 0 2px; border-radius: 3px 0 0 0; }
.phone-scan-corner:nth-child(2) { top: 0; right: 0;  border-width: 2px 2px 0 0; border-radius: 0 3px 0 0; }
.phone-scan-corner:nth-child(3) { bottom: 0; left: 0;  border-width: 0 0 2px 2px; border-radius: 0 0 0 3px; }
.phone-scan-corner:nth-child(4) { bottom: 0; right: 0; border-width: 0 2px 2px 0; border-radius: 0 0 3px 0; }

.phone-fridge-svg {
  position: relative;
  z-index: 1;
  opacity: 0.85;
}

.phone-scan-beam {
  position: absolute;
  left: 8px; right: 8px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #f97316, transparent);
  box-shadow: 0 0 8px rgba(249,115,22,0.6);
  top: 10%;
  border-radius: 2px;
  animation: phoneScanMove 2.2s ease-in-out infinite;
}

@keyframes phoneScanMove {
  0%, 100% { top: 10%; opacity: 1; }
  50%       { top: 82%; opacity: 1; }
}

.phone-scan-ingredients {
  position: absolute;
  inset: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  place-items: center;
}

.psi {
  font-size: 1.5rem;
  opacity: 0;
  transform: scale(0.5);
  animation: psiDetect 2.2s ease-in-out infinite;
}
.psi1 { animation-delay: 0.2s; }
.psi2 { animation-delay: 0.6s; }
.psi3 { animation-delay: 1.0s; }
.psi4 { animation-delay: 1.4s; }

@keyframes psiDetect {
  0%, 15%  { opacity: 0; transform: scale(0.5); }
  30%, 70% { opacity: 1; transform: scale(1); }
  85%, 100%{ opacity: 0.3; transform: scale(0.9); }
}

.phone-recipe-cards {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.phone-recipe-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #ede9e3;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.phone-recipe-emoji { font-size: 1.3rem; }

.phone-recipe-info { flex: 1; }

.phone-recipe-name {
  color: #1a1a1a;
  font-size: 0.72rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.phone-recipe-time {
  color: #9a9490;
  font-size: 0.62rem;
}

.phone-recipe-tag {
  background: rgba(249,115,22,0.2);
  color: #f97316;
  font-size: 0.6rem;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 6px;
}

/* Floating elements around phone */
.float-badge {
  position: absolute;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 10px 14px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: float 4s ease-in-out infinite;
}

.float-badge-1 { top: 60px; right: -20px; animation-delay: 0s; }
.float-badge-2 { bottom: 120px; left: -30px; animation-delay: 1.5s; }
.float-badge-3 { top: 240px; right: -40px; animation-delay: 0.8s; }

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

/* ========================================
   DOWNLOAD STRIP (Top CTA)
   ======================================== */

.download-strip {
  background: linear-gradient(135deg, #111 0%, #1a1a1a 100%);
  padding: 48px 0;
}

.download-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  .download-strip-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .download-strip-btns {
    justify-content: center;
  }
}

.download-strip-text h2 {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}

.download-strip-text p {
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
}

.download-strip-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ========================================
   HOW IT WORKS
   ======================================== */

.how-it-works {
  padding: 100px 0;
  background: #ffffff;
}

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

.steps-grid::before {
  content: '';
  position: absolute;
  top: 48px;
  left: calc(16.66% + 24px);
  right: calc(16.66% + 24px);
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  opacity: 0.25;
}

.step-card {
  background: #fdfcfa;
  border: 1px solid #ede9e3;
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
}

.step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(249,115,22,0.2);
}

.step-number {
  width: 56px;
  height: 56px;
  background: var(--gradient);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 6px 20px rgba(249,115,22,0.3);
  position: relative;
  z-index: 1;
}

.step-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
  display: block;
}

.step-title {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  color: var(--text);
}

.step-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── Step illustrations ─────────────────── */

.step-illustration {
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

/* --- STEP 1 : SCAN --- */
.scan-frame {
  position: relative;
  width: 90px;
  height: 90px;
  background: rgba(249,115,22,0.05);
  border-radius: 12px;
}

.scan-corner {
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: #f97316;
  border-style: solid;
}
.scan-corner.tl { top: 0; left: 0;  border-width: 3px 0 0 3px; border-radius: 4px 0 0 0; }
.scan-corner.tr { top: 0; right: 0; border-width: 3px 3px 0 0; border-radius: 0 4px 0 0; }
.scan-corner.bl { bottom: 0; left: 0;  border-width: 0 0 3px 3px; border-radius: 0 0 0 4px; }
.scan-corner.br { bottom: 0; right: 0; border-width: 0 3px 3px 0; border-radius: 0 0 4px 0; }

.scan-line {
  position: absolute;
  left: 8px; right: 8px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #f97316, transparent);
  top: 10%;
  animation: scanMove 2s ease-in-out infinite;
  border-radius: 2px;
}

@keyframes scanMove {
  0%, 100% { top: 10%; opacity: 0.9; }
  50%       { top: 80%; opacity: 1; }
}

.scan-items {
  position: absolute;
  inset: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  place-items: center;
}

.scan-item {
  font-size: 1.35rem;
  animation: itemPop 2s ease-in-out infinite;
}
.si1 { animation-delay: 0s; }
.si2 { animation-delay: 0.3s; }
.si3 { animation-delay: 0.6s; }
.si4 { animation-delay: 0.9s; }

@keyframes itemPop {
  0%, 80%, 100% { transform: scale(1); }
  40% { transform: scale(1.18); }
}

/* --- STEP 2 : ORBIT ANALYSIS --- */
.cook-scene {
  position: relative;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cook-center {
  position: absolute;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.cook-brain {
  width: 44px;
  height: 44px;
  background: rgba(249,115,22,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid rgba(249,115,22,0.25);
  animation: brainPulse 2s ease-in-out infinite;
}

@keyframes brainPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(249,115,22,0.3); }
  50%       { transform: scale(1.08); box-shadow: 0 0 0 8px rgba(249,115,22,0); }
}

.cook-pulse-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(249,115,22,0.3);
  animation: ringExpand 2s ease-out infinite;
}
.r2 { animation-delay: 1s; }

@keyframes ringExpand {
  0%   { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(2.4); opacity: 0; }
}

.cook-orbit {
  position: absolute;
  inset: 0;
  animation: orbitSpin 5s linear infinite;
  border-radius: 50%;
}

.cook-orb {
  position: absolute;
  font-size: 1.3rem;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  animation: orbitCounter 5s linear infinite;
}
.co1 { top: 2px;  left: 50%; transform: translateX(-50%); }
.co2 { right: 2px; top: 50%; transform: translateY(-50%); }
.co3 { bottom: 2px; left: 50%; transform: translateX(-50%); }
.co4 { left: 2px; top: 50%; transform: translateY(-50%); }

@keyframes orbitSpin    { from { transform: rotate(0deg); }   to { transform: rotate(360deg); } }
@keyframes orbitCounter { from { transform: rotate(0deg); }   to { transform: rotate(-360deg); } }
.co2 { animation: orbitCounter2 5s linear infinite; }
.co4 { animation: orbitCounter2 5s linear infinite; }
@keyframes orbitCounter2 { from { transform: translateY(-50%) rotate(0deg); } to { transform: translateY(-50%) rotate(-360deg); } }

/* --- STEP 3 : RECIPE STACK --- */
.recipe-stack {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 120px;
}

.recipe-mini {
  width: 100%;
  height: 30px;
  background: #fff;
  border: 1.5px solid #ede9e3;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  opacity: 0;
  transform: translateX(-12px);
  animation: slideIn 0.5s ease forwards;
}
.rm1 { animation-delay: 0.1s; border-color: rgba(249,115,22,0.3); }
.rm2 { animation-delay: 0.4s; border-color: rgba(16,185,129,0.25); }
.rm3 { animation-delay: 0.7s; border-color: rgba(59,130,246,0.25); }

@keyframes slideIn {
  to { opacity: 1; transform: translateX(0); }
}

.rm-emoji { font-size: 1rem; flex-shrink: 0; }
.rm-lines { display: flex; flex-direction: column; gap: 3px; flex: 1; }
.rm-lines span { height: 3px; border-radius: 4px; background: #ede9e3; }
.rm-lines span:first-child { width: 70%; }
.rm-lines span:last-child  { width: 45%; }
.rm1 .rm-lines span { background: rgba(249,115,22,0.25); }
.rm2 .rm-lines span { background: rgba(16,185,129,0.2); }
.rm3 .rm-lines span { background: rgba(59,130,246,0.2); }
.rm-badge {
  font-size: 0.7rem;
  font-weight: 700;
  color: #10b981;
  flex-shrink: 0;
}

/* ========================================
   FEATURES
   ======================================== */

.features {
  padding: 100px 0;
  background: #f8f6f2;
}

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

.feature-card {
  background: #ffffff;
  border: 1px solid #ede9e3;
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(249,115,22,0.2);
}

.feature-card.large {
  grid-column: span 2;
  flex-direction: row;
  align-items: center;
  gap: 40px;
  background: linear-gradient(135deg, #fffaf6 0%, #f4fdf8 100%);
  border-color: rgba(249,115,22,0.12);
}

.feature-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}

.feature-icon-wrap.orange { background: rgba(249,115,22,0.1); }
.feature-icon-wrap.green  { background: rgba(16,185,129,0.1); }
.feature-icon-wrap.blue   { background: rgba(59,130,246,0.1); }
.feature-icon-wrap.purple { background: rgba(139,92,246,0.1); }

.feature-content { flex: 1; }

.feature-title {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  color: var(--text);
}

.feature-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.feature-tag {
  background: var(--muted);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

/* ========================================
   DOWNLOAD SECTION
   ======================================== */

.download-section {
  padding: 100px 0;
  background: linear-gradient(160deg, #111 0%, #1a1a1a 60%, #0d1f18 100%);
  position: relative;
  overflow: hidden;
}

.download-section::before {
  content: '';
  position: absolute;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(249,115,22,0.12) 0%, transparent 65%);
  top: -200px;
  left: -200px;
  pointer-events: none;
}

.download-section::after {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(16,185,129,0.1) 0%, transparent 65%);
  bottom: -150px;
  right: -100px;
  pointer-events: none;
}

.download-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.download-inner .section-label {
  background: rgba(249,115,22,0.12);
  border-color: rgba(249,115,22,0.3);
  color: #fb923c;
}

.download-inner .section-title {
  color: #fff;
}

.download-inner .section-subtitle {
  color: rgba(255,255,255,0.55);
  margin: 0 auto 48px;
}

.download-btns {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.store-btn-light {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.06);
  color: #fff;
  border-radius: 14px;
  padding: 14px 24px;
  font-family: var(--font);
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid rgba(255,255,255,0.12);
  text-decoration: none;
}

.store-btn-light:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  border-color: rgba(255,255,255,0.2);
}

.qr-hint {
  margin-top: 40px;
  color: rgba(255,255,255,0.35);
  font-size: 0.85rem;
}

/* ========================================
   FAQ
   ======================================== */

.faq {
  padding: 100px 0;
  background: #ffffff;
}

.faq-grid {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #fdfcfa;
  border: 1px solid #ede9e3;
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item.open {
  border-color: rgba(249,115,22,0.3);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 22px 24px;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: background 0.15s ease;
}

.faq-question:hover { background: rgba(249,115,22,0.03); }

.faq-chevron {
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.faq-item.open .faq-chevron { transform: rotate(180deg); color: var(--primary); }

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

.faq-item.open .faq-answer { max-height: 300px; }

.faq-answer-inner {
  padding: 0 24px 22px;
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ========================================
   CONTACT
   ======================================== */

.contact {
  padding: 80px 0;
  background: #f8f6f2;
}

.contact-inner {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.contact-card {
  background: #ffffff;
  border: 1px solid #ede9e3;
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-sm);
}

.contact-email-icon {
  width: 56px;
  height: 56px;
  background: rgba(249,115,22,0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.contact-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.contact-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  text-align: center;
  line-height: 1.6;
}

.contact-link {
  color: var(--primary);
  font-weight: 600;
  font-size: 1rem;
  transition: opacity 0.15s ease;
}

.contact-link:hover { opacity: 0.75; }

/* ========================================
   FOOTER
   ======================================== */

.footer {
  background: #111;
  padding: 60px 0 36px;
  color: rgba(255,255,255,0.55);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .navbar-logo {
  color: #fff;
  margin-bottom: 16px;
}

.footer-brand-desc {
  font-size: 0.88rem;
  line-height: 1.65;
  margin-bottom: 24px;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

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

.footer-col ul a {
  color: rgba(255,255,255,0.5);
  font-size: 0.88rem;
  transition: color 0.15s ease;
}

.footer-col ul a:hover { color: #fff; }

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

.footer-bottom p { font-size: 0.85rem; }

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  transition: color 0.15s ease;
}

.footer-legal a:hover { color: #fff; }

/* ========================================
   LEGAL PAGES
   ======================================== */

.legal-page {
  min-height: 100vh;
  padding-top: 100px;
  padding-bottom: 80px;
  background: var(--bg);
}

.legal-header {
  text-align: center;
  margin-bottom: 60px;
}

.legal-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.legal-header p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.legal-content {
  max-width: 780px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 56px 60px;
  box-shadow: var(--shadow-sm);
}

.legal-content h2 {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  margin-top: 36px;
  color: var(--text);
}

.legal-content h2:first-child { margin-top: 0; }

.legal-content p, .legal-content li {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 12px;
}

.legal-content ul {
  padding-left: 20px;
  margin-bottom: 12px;
}

.legal-content a {
  color: var(--primary);
  text-decoration: underline;
}

/* ========================================
   ANIMATIONS & SCROLL REVEAL
   ======================================== */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 1024px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
  .feature-card.large {
    flex-direction: column;
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .navbar-nav, .navbar-cta { display: none; }
  .menu-toggle { display: flex; }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
  }

  .hero-subtitle, .hero-actions { margin-left: auto; margin-right: auto; }
  .hero-badge { margin: 0 auto 24px; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }

  .hero-content { order: 1; }
  .hero-visual { order: 2; }
  .hero-inner .hero-stats { order: 3; }
  .phone-mockup { width: 220px; height: 440px; }
  .float-badge { display: none; }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .steps-grid::before { display: none; }

  .features-grid {
    grid-template-columns: 1fr;
  }
  .feature-card.large {
    grid-column: span 1;
  }

  .download-strip-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  .legal-content {
    padding: 32px 24px;
  }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .download-btns { flex-direction: column; align-items: center; }
  .store-btn, .store-btn-light { width: 100%; max-width: 280px; justify-content: center; }
}
