/* ── Navbar + Hero Section ── */

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

body {
  min-height: 100vh;
  overflow-x: hidden;
  font-family: 'Segoe UI', sans-serif;
  background: #0d0b1f;
}

/* ── Navbar ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 6vw;
  background: transparent;
}

.nav-logo {
  font-size: 1.3rem;
  font-weight: 800;
  color: white;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.nav-logo-img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  vertical-align: middle;
}

.nav-logo-name {
  font-size: 1.7rem;
  font-weight: 800;
  color: #ffffff;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: white;
}

.nav-cta {
  padding: 10px 24px;
  background: linear-gradient(135deg, #ffffff, #e0e7ff);
  color: #4338ca;
  font-weight: 800;
  font-size: 0.9rem;
  border-radius: 30px;
  text-decoration: none;
  transition: box-shadow 0.2s, transform 0.2s;
  box-shadow: 0 6px 20px rgba(0,0,0,0.35), 0 2px 6px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.8);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.4), 0 4px 10px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.8);
}

.navbar {
  transition: transform 0.3s ease;
}

.nav-hidden {
  transform: translateY(-100%);
}

/* Hero wrapper — clips flying items inside hero only */
.hero-wrapper {
  position: relative;
  overflow: hidden;
}

.hero-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top left, rgba(0,0,0,0.25) 0%, transparent 25%);
  z-index: 1;
  pointer-events: none;
}

/* Twinkling stars canvas */
.scene {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  display: block;
}

/* ── Hero Layout ── */
.hero {
  position: relative;
  z-index: 5;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 60px 6vw 0 12vw;
  gap: 2rem;
}

/* ── Left: Text Content ── */
.hero-text {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  max-width: 560px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 30px;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: #a5b4fc;
  font-size: 13px;
  font-weight: 600;
  width: fit-content;
}

.hero-title {
  font-size: clamp(1.9rem, 3.5vw, 3.2rem);
  font-weight: 900;
  color: #ffffff;
  line-height: 1.1;
  letter-spacing: -1px;
}

.hero-title span {
  color: #ffffff;
}

.hero-desc {
  font-size: 1.05rem;
  color: #fff;
  line-height: 1.75;
  max-width: 440px;
}

.hero-feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
}


.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.btn-white {
  padding: 14px 36px;
  background: #ffffff;
  color: #090a13;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: opacity 0.2s, transform 0.2s;
  box-shadow: 0 8px 28px rgba(255,255,255,0.15);
}

.btn-white:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.btn-outline {
  padding: 14px 28px;
  background: transparent;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 4px;
  border: 2px solid rgba(255,255,255,0.5);
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.btn-outline:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.08);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 0.5rem;
}

.stat-item .stat-num {
  font-size: 1.6rem;
  font-weight: 900;
  color: white;
}

.stat-item .stat-label {
  font-size: 12px;
  color: #fff;
  margin-top: 2px;
}

/* ── Right: Chef Image ── */
.hero-image {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  margin-left: 20px;
  margin-top: -30px;
}

.chef-wrap {
  position: relative;
  width: 100%;
  max-width: 420px;
  display: flex;
  justify-content: flex-start;
}

/* Speech Bubble */
.speech-bubble {
  position: absolute;
  top: 13%;
  left: 10px;
  background: #ffffff;
  color: #0d0b1f;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 12px 16px;
  border-radius: 14px;
  max-width: 190px;
  line-height: 1.5;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  z-index: 10;
}

.speech-bubble::after {
  content: '';
  position: absolute;
  bottom: -10px;
  right: 18px;
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid #ffffff;
}

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

.chef-glow {
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99,102,241,0.35) 0%, transparent 70%);
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  filter: blur(40px);
  z-index: 0;
}

.chef-img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 400px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.6));
}

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

/* ── Flying items ── */
.fi {
  position: absolute;
  animation: flyItem linear infinite;
  will-change: transform, opacity;
}

@keyframes flyItem {
  0%   { opacity:0; transform: translateY(0) rotate(var(--r0)) scale(0.7); }
  8%   { opacity:1; }
  92%  { opacity:1; }
  100% { opacity:0; transform: translateY(var(--rise)) rotate(var(--r1)) scale(1.05); }
}

.item-emoji {
  filter: drop-shadow(0 6px 18px rgba(0,0,0,0.6));
  line-height: 1;
}

.item-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 14px;
  background: #141528;
  border: 1px solid #312e81;
  
  box-shadow: 0 8px 28px rgba(0,0,0,0.45);
  white-space: nowrap;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

.recipe-card {
  padding: 12px 16px;
  border-radius: 14px;
  background: #141528;
  border: 1px solid #312e81;
  
  box-shadow: 0 8px 28px rgba(0,0,0,0.4);
  min-width: 180px;
  color: white;
  font-size: 12px;
}

.recipe-card .rc-title {
  font-weight: 800;
  margin-bottom: 6px;
}

.recipe-card .rc-ingredients {
  color: #fff;
  line-height: 1.8;
}

.temp-badge {
  padding: 8px 18px;
  border-radius: 30px;
  background: #141528;
  border: 1px solid rgba(255,100,50,0.3);
  
  box-shadow: 0 0 20px rgba(255,100,50,0.2);
  font-size: 15px;
  font-weight: 800;
  color: #ff9966;
  white-space: nowrap;
}

.timer-card {
  padding: 10px 18px;
  border-radius: 14px;
  background: #141528;
  border: 1px solid #312e81;
  
  text-align: center;
  min-width: 120px;
}

.timer-card .t-label {
  font-size: 10px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.timer-card .t-time {
  font-size: 22px;
  font-weight: 900;
  color: #57F287;
  margin-top: 2px;
}

.stars-card {
  padding: 8px 14px;
  border-radius: 12px;
  background: #141528;
  border: 1px solid #312e81;
  
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #fff;
}

/* Responsive */
/* ── Responsive ── */

/* Hamburger button */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  padding: 8px;
  z-index: 200;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 10px;
  width: 44px;
  height: 44px;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 4px;
  transition: all 0.3s;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .nav-links { gap: 1.2rem; }
  .nav-logo-img { width: 52px; height: 52px; }
  .nav-logo-name { font-size: 1.3rem; }
}

@media (max-width: 768px) {
  .nav-hamburger { display: flex; }
  .nav-links {
    display: none;
  }
  .nav-links.open {
    display: flex;
    position: fixed;
    top: 65px; right: 1rem;
    background: #6366F1;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    z-index: 999;
    list-style: none;
    padding: 0.25rem 0;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.08);
    min-width: 160px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  }
  .nav-links.open li a { font-size: 0.95rem; font-weight: 600; color: #fff; text-decoration: none; padding: 0.55rem 1.2rem; display: block; white-space: nowrap; }
  .nav-cta { display: none; }

  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 5rem 6vw 3rem;
    gap: 2rem;
  }
  .hero-image { justify-content: flex-end; margin: 0; }
  .hero-btns  { justify-content: center; }
  .hero-badge { margin: 0 auto; }
  .hero-desc  { margin: 0 auto; }
  .chef-wrap  { max-width: 100%; }
  .chef-img   { width: 85vw; max-width: 370px; }
  .speech-bubble { display: block; font-size: 0.75rem; max-width: 150px; }
}

@media (max-width: 480px) {
  .hero { padding: 4.5rem 5vw 2rem; }
  .btn-white, .btn-outline { padding: 12px 22px; font-size: 0.9rem; }
  .hero-btns { flex-direction: column; align-items: center; }
  .speech-bubble { display: block; font-size: 0.7rem; max-width: 130px; padding: 8px 10px; }
}

@media (max-width: 768px) {
  .hero-wrapper::before { display: none !important; }
}
