/* ──────────────────────────────────────────────
   Culinara Promotional Website v2
   Bold, playful, colorful — inspired by reference
   Merged with app's orange accent brand palette
   ────────────────────────────────────────────── */

/* ─── CSS Variables ─── */
:root {
  /* Brand – from the app */
  --accent: #FF6B35;
  --accent-dark: #E55A2B;
  --accent-light: #FFF0E8;
  --accent-rgb: 255, 107, 53;

  /* Playful palette – inspired by reference */
  --lime: #A8E847;
  --lime-dark: #7FBF2A;
  --blue: #3B5FE5;
  --blue-light: #EEF1FF;
  --cyan: #00D4E8;
  --yellow: #FFD43B;
  --yellow-light: #FFF9E0;
  --pink: #FF5DAE;
  --pink-light: #FFF0F7;

  /* Neutrals */
  --bg: #FFFFFF;
  --bg-secondary: #F8F8FA;
  --text: #1A1A2E;
  --text-secondary: #44445A;
  --text-tertiary: #8888A0;
  --text-light: #FFFFFF;
  --border: #E8E8EE;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.1);

  /* Sizing */
  --radius: 20px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --radius-xl: 36px;
  --max-width: 1160px;
  --nav-height: 72px;
}

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

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 60px;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-primary {
  background: var(--accent);
  color: #FFF;
  box-shadow: 0 4px 16px rgba(var(--accent-rgb), 0.35);
}
.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 24px rgba(var(--accent-rgb), 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-3px);
}

.btn-white {
  background: #FFF;
  color: var(--accent);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.btn-white:hover { transform: translateY(-3px) scale(1.02); }

.btn-ghost {
  background: rgba(255,255,255,0.15);
  color: #FFF;
  border: 2px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.25); transform: translateY(-3px); }

.btn-lg { padding: 16px 36px; font-size: 16px; }
.btn-block { display: flex; justify-content: center; width: 100%; padding: 16px; }

/* ─── Typography ─── */
.accent-text { color: var(--accent); }
.yellow-text { color: var(--yellow); }

.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  background: var(--accent-light);
  padding: 8px 20px;
  border-radius: 60px;
  margin-bottom: 20px;
}
.tag-blue { background: var(--blue-light); color: var(--blue); }
.tag-white { background: rgba(255,255,255,0.2); color: #FFF; }
.tag-dark { background: rgba(0,0,0,0.08); color: var(--text); }

.section-title {
  font-size: 46px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1px;
  color: var(--text);
}
.section-title-light { color: #FFF; }

.section-subtitle {
  font-size: 17px;
  color: var(--text-tertiary);
  max-width: 500px;
  margin: 12px auto 0;
}

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

/* ─── Scroll Reveal ─── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.active { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }

/* ─── Decorative shapes ─── */
.shape {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.shape-circle { border-radius: 50%; }
.shape-square { border-radius: 12px; }

.shape-1 { width: 80px; height: 80px; background: var(--pink); top: 120px; right: 8%; opacity: 0.6; }
.shape-2 { width: 50px; height: 50px; background: var(--cyan); top: 200px; right: 3%; border-radius: 12px; opacity: 0.5; transform: rotate(25deg); }
.shape-3 { width: 40px; height: 40px; background: var(--yellow); top: 85%; left: 5%; opacity: 0.5; }
.shape-4 { top: 140px; left: 3%; color: var(--lime); }
.shape-5 { bottom: 16%; right: 6%; color: var(--blue); }

.shape-f1 { width: 100px; height: 100px; background: var(--yellow); top: 10%; right: 5%; opacity: 0.15; }
.shape-f2 { width: 60px; height: 60px; background: var(--pink); bottom: 20%; left: 4%; border-radius: 12px; opacity: 0.12; transform: rotate(30deg); }

/* ─── Wave dividers ─── */
.wave-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  line-height: 0;
  z-index: 1;
}
.wave-divider svg { display: block; width: 100%; height: 60px; }

/* ══════════════════════════════
   NAVIGATION
   ══════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: box-shadow 0.3s;
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo { display: flex; align-items: center; gap: 10px; }
.logo-icon { font-size: 26px; }
.logo-text { font-size: 20px; font-weight: 900; color: var(--text); letter-spacing: -0.3px; }

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-link { font-size: 14px; font-weight: 600; color: var(--text-secondary); transition: color 0.2s; }
.nav-link:hover { color: var(--accent); }

.nav-cta-btn {
  font-size: 14px; font-weight: 700; color: #FFF;
  background: var(--accent); padding: 10px 24px; border-radius: 60px;
  transition: all 0.2s;
}
.nav-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 4px 14px rgba(var(--accent-rgb), 0.35); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all 0.3s; }
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ══════════════════════════════
   HERO
   ══════════════════════════════ */
.hero {
  padding-top: calc(var(--nav-height) + 60px);
  padding-bottom: 120px;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

.hero-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  font-size: 14px; font-weight: 700;
  color: var(--accent);
  background: var(--accent-light);
  padding: 10px 22px;
  border-radius: 60px;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 58px;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 460px;
  margin-bottom: 36px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Phone mockup */
.hero-visual { display: flex; justify-content: center; position: relative; }

.hero-phone-mockup { position: relative; width: 280px; }

.phone-frame {
  background: var(--text);
  border-radius: 36px;
  padding: 12px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.18), 0 0 0 2px rgba(0,0,0,0.05);
  position: relative;
  z-index: 1;
}

.phone-screen {
  background: var(--bg-secondary);
  border-radius: 26px;
  overflow: hidden;
  aspect-ratio: 9 / 19.5;
}

.hero-screenshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* Placeholder images */
.placeholder-image {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-tertiary);
  position: relative;
}

.placeholder-hero {
  background: linear-gradient(135deg, var(--accent-light) 0%, #FFF5F0 50%, #FFF 100%);
}

.placeholder-about {
  background: linear-gradient(135deg, var(--lime) 0%, #D4F99A 100%);
  color: #3D6B00;
  min-height: 360px;
  border-radius: var(--radius);
}

.placeholder-label {
  background: rgba(255,255,255,0.7);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  backdrop-filter: blur(4px);
}

/* Floating ingredient cards */
.floating-card {
  position: absolute;
  background: #FFF;
  border-radius: 14px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  z-index: 3;
  animation: float 3s ease-in-out infinite;
  white-space: nowrap;
}

.floating-card-1 { top: 15%; right: -40px; animation-delay: 0s; }
.floating-card-2 { top: 50%; left: -50px; animation-delay: 0.8s; }
.floating-card-3 { bottom: 18%; right: -30px; animation-delay: 1.6s; }

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

/* ══════════════════════════════
   ABOUT / PROBLEM — Lime background
   ══════════════════════════════ */
.about {
  background: var(--lime);
  padding: 100px 0 140px;
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-visual { position: relative; }

.about-image-card {
  position: relative;
  border-radius: var(--radius);
  overflow: visible;
}

.sticker {
  position: absolute;
  z-index: 2;
  font-size: 32px;
  animation: float 3.5s ease-in-out infinite;
}
.sticker-1 { top: -20px; right: -10px; animation-delay: 0.3s; }
.sticker-2 { bottom: -15px; left: -15px; animation-delay: 1s; }

.about .section-title { color: var(--text); }

.about-text {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 28px;
}

.pain-points { display: flex; flex-direction: column; gap: 14px; }

.pain-point {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(255,255,255,0.6);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
  backdrop-filter: blur(6px);
  transition: transform 0.2s;
}
.pain-point:hover { transform: translateX(4px); }

.pain-icon { font-size: 20px; flex-shrink: 0; }

/* ══════════════════════════════
   HOW IT WORKS — White background
   ══════════════════════════════ */
.how-it-works {
  padding: 100px 0 140px;
  position: relative;
  background: var(--bg);
}

.steps-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.step-card {
  background: var(--bg-secondary);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  flex: 1;
  max-width: 300px;
  position: relative;
  border: 2px solid var(--border);
  transition: all 0.3s ease;
}
.step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

.step-blob {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.step-blob-1 { background: var(--accent-light); }
.step-blob-2 { background: var(--blue-light); }
.step-blob-3 { background: var(--yellow-light); }

.step-emoji { font-size: 36px; }

.step-number-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 28px;
  background: var(--accent);
  color: #FFF;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.step-title { font-size: 19px; font-weight: 800; margin-bottom: 8px; }
.step-text { font-size: 14px; color: var(--text-tertiary); line-height: 1.6; }

.step-arrow {
  width: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 4px;
}

/* ══════════════════════════════
   FEATURES — Blue background
   ══════════════════════════════ */
.features {
  background: var(--blue);
  padding: 100px 0 140px;
  position: relative;
  overflow: hidden;
}

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

.feature-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid rgba(255,255,255,0.15);
  transition: all 0.3s ease;
}
.feature-card:hover {
  background: rgba(255,255,255,0.18);
  transform: translateY(-4px);
}

.feature-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: #FFF;
}
.feature-icon-orange { background: var(--accent); }
.feature-icon-green { background: var(--lime-dark); }
.feature-icon-yellow { background: #E6A800; }
.feature-icon-pink { background: var(--pink); }
.feature-icon-cyan { background: var(--cyan); }

.feature-title { font-size: 18px; font-weight: 800; color: #FFF; margin-bottom: 8px; }
.feature-text { font-size: 14px; color: rgba(255,255,255,0.7); line-height: 1.6; }

/* ══════════════════════════════
   PRICING — White background
   ══════════════════════════════ */
.pricing {
  padding: 100px 0 140px;
  background: var(--bg);
  position: relative;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 760px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 2px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: all 0.3s;
}
.pricing-card:hover { transform: translateY(-4px); }

.pricing-card-featured {
  border-color: var(--accent);
  box-shadow: 0 12px 40px rgba(var(--accent-rgb), 0.15);
  position: relative;
}
.pricing-card-featured:hover { box-shadow: 0 16px 50px rgba(var(--accent-rgb), 0.25); }

.pricing-popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #FFF;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 22px;
  border-radius: 60px;
  white-space: nowrap;
}

.pricing-card-header { margin-bottom: 24px; }
.pricing-plan-name { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.pricing-amount { display: flex; align-items: baseline; }
.pricing-currency { font-size: 22px; font-weight: 700; }
.pricing-price { font-size: 52px; font-weight: 900; line-height: 1; letter-spacing: -2px; }
.pricing-decimal { font-size: 22px; font-weight: 700; }
.pricing-period { font-size: 15px; font-weight: 500; color: var(--text-tertiary); margin-left: 4px; }
.pricing-plan-desc { font-size: 14px; color: var(--text-tertiary); margin-top: 8px; }

.save-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  color: #FFF;
  background: var(--lime-dark);
  padding: 3px 10px;
  border-radius: 6px;
  margin-left: 4px;
}

.pricing-features-list {
  list-style: none;
  flex: 1;
  margin-bottom: 24px;
}
.pricing-features-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
}
.pricing-features-list li:last-child { border-bottom: none; }
.check { color: var(--lime-dark); font-weight: 800; font-size: 16px; }

/* ══════════════════════════════
   TESTIMONIALS — Yellow background
   ══════════════════════════════ */
.testimonials {
  background: var(--yellow);
  padding: 100px 0 140px;
  position: relative;
}

.testimonials-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  align-items: start;
}

.testimonials-header .section-title { color: var(--text); }

.testimonials-list { display: flex; flex-direction: column; gap: 16px; }

.testimonial-card {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(8px);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
  transition: transform 0.2s;
}
.testimonial-card:hover { transform: translateY(-4px); }

.testimonial-quote {
  font-size: 48px;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  position: absolute;
  top: 12px;
  right: 20px;
  opacity: 0.3;
}

.testimonial-author-name { font-size: 16px; font-weight: 800; margin-bottom: 8px; }
.testimonial-text { font-size: 14px; color: var(--text-secondary); line-height: 1.65; margin-bottom: 8px; }
.testimonial-role { font-size: 12px; color: var(--text-tertiary); font-weight: 600; }

/* ══════════════════════════════
   DOWNLOAD CTA
   ══════════════════════════════ */
.download-cta {
  padding: 80px 0 100px;
  background: var(--bg);
}

.cta-card {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border-radius: var(--radius-xl);
  padding: 80px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-shapes { position: absolute; top: 0; left: 0; right: 0; bottom: 0; pointer-events: none; }
.cta-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
}
.cta-shape-1 { width: 200px; height: 200px; background: #FFF; top: -60px; right: -40px; }
.cta-shape-2 { width: 120px; height: 120px; background: var(--yellow); bottom: -30px; left: -20px; }
.cta-shape-3 { width: 80px; height: 80px; background: #FFF; top: 30%; left: 10%; border-radius: 16px; transform: rotate(30deg); }

.cta-title {
  font-size: 42px;
  font-weight: 900;
  color: #FFF;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.cta-subtitle {
  font-size: 17px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 36px;
  position: relative;
  z-index: 1;
}

.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* ══════════════════════════════
   FOOTER
   ══════════════════════════════ */
.footer {
  padding: 56px 0 28px;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand-text { font-size: 14px; color: var(--text-tertiary); line-height: 1.65; margin-top: 14px; max-width: 280px; }

.footer-socials { display: flex; gap: 10px; margin-top: 16px; }
.footer-social {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--border);
  color: var(--text-tertiary);
  transition: all 0.2s;
}
.footer-social:hover { background: var(--accent); color: #FFF; transform: scale(1.1); }

.footer-links-title { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 14px; }
.footer-link { display: block; font-size: 14px; color: var(--text-tertiary); margin-bottom: 10px; transition: color 0.2s; }
.footer-link:hover { color: var(--accent); }

.footer-bottom { padding-top: 24px; border-top: 1px solid var(--border); text-align: center; font-size: 13px; color: var(--text-tertiary); }

/* ══════════════════════════════
   RESPONSIVE
   ══════════════════════════════ */
@media (max-width: 1024px) {
  .hero-title { font-size: 46px; }
  .section-title { font-size: 38px; }
  .cta-title { font-size: 36px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0; right: 0;
    background: var(--bg);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
  }
  .nav-links.active { display: flex; }
  .nav-toggle { display: flex; }

  .hero-container { grid-template-columns: 1fr; text-align: center; gap: 48px; }
  .hero-title { font-size: 40px; }
  .hero-subtitle { margin: 0 auto 36px; }
  .hero-actions { justify-content: center; }
  .hero-phone-mockup { width: 240px; margin: 0 auto; }

  .about-grid { grid-template-columns: 1fr; }
  .about-visual { order: -1; }

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

  .steps-row { flex-direction: column; gap: 20px; }
  .step-arrow { transform: rotate(90deg); margin: 0; }
  .step-card { max-width: 100%; }

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

  .pricing-grid { grid-template-columns: 1fr; }

  .testimonials-layout { grid-template-columns: 1fr; }
  .testimonials-header { text-align: center; }

  .cta-card { padding: 48px 24px; }
  .cta-title { font-size: 28px; }

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

  /* Hide shapes on mobile */
  .shape { display: none; }
}

@media (max-width: 400px) {
  .hero-title { font-size: 34px; }
  .hero-actions { flex-direction: column; }
  .btn-lg { width: 100%; justify-content: center; }
}
