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

body {
  font-family: 'Space Grotesk', sans-serif;
  color: #fff;
  min-height: 100vh;
  overflow-x: hidden;
  background: #0d0b1f;
}

/* ── Navbar (matches home page) ── */
.recipe-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 6vw;
  background: rgba(13, 11, 31, 0.85);
  backdrop-filter: blur(12px);
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.recipe-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.2s;
}
.recipe-back:hover { color: #fff; }

.recipe-logo {
  font-size: 1.7rem;
  font-weight: 900;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.5px;
}

.recipe-nav-cta {
  padding: 9px 22px;
  background: linear-gradient(135deg, #6366F1, #8b5cf6);
  color: #fff;
  font-weight: 700;
  font-size: 0.88rem;
  border-radius: 30px;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.35);
}
.recipe-nav-cta:hover { opacity: 0.9; transform: translateY(-1px); }

/* ── Hero Banner ── */
.recipe-hero {
  margin-top: 0;
  min-height: 340px;
  display: flex;
  align-items: flex-end;
  padding: 3rem 6vw;
  position: relative;
  z-index: 5;
}

.recipe-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 11, 31, 0.92) 0%, rgba(13, 11, 31, 0.3) 60%, transparent 100%);
}

.recipe-hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.recipe-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 16px;
  border-radius: 30px;
  background: rgba(99, 102, 241, 0.2);
  border: 1px solid rgba(99, 102, 241, 0.35);
  color: #a5b4fc;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  width: fit-content;
}

.recipe-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.recipe-sub {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.65);
  max-width: 540px;
  line-height: 1.7;
}

.recipe-meta-row {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 600;
}

/* ── Body ── */
.recipe-body {
  position: relative;
  z-index: 5;
  max-width: 820px;
  margin: 0 auto;
  padding: 3rem 6vw 5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* ── Cards (same as How It Works) ── */
.recipe-card {
  background: #6366F1;
  border: none;
  border-radius: 20px;
  padding: 2rem 2.25rem;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 8px 60px rgba(0, 0, 0, 0.5);
}

.recipe-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 70px rgba(0, 0, 0, 0.6);
}

.recipe-card h2 {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ── Ingredients ── */
.ingredient-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.ingredient-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.ingredient-list li:last-child {
  border-bottom: none;
}

.qty {
  font-weight: 700;
  color: #a5b4fc;
  min-width: 70px;
  font-size: 0.85rem;
}

/* ── Steps ── */
.steps-list {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.step-num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366F1, #8b5cf6);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
}

.step h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 5px;
}

.step p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.75;
}

/* ── Tips Card ── */
.recipe-tips {
  background: #6366F1;
}

.recipe-tips ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.recipe-tips li {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  padding-left: 0.5rem;
  border-left: 2px solid rgba(99, 102, 241, 0.5);
  padding-left: 1rem;
}

/* ── Footer ── */
.recipe-footer {
  position: relative;
  z-index: 5;
  text-align: center;
  padding: 2.5rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.35);
}

.recipe-footer a {
  color: #a5b4fc;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}
.recipe-footer a:hover { color: #fff; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .recipe-hero { min-height: 260px; padding: 2rem 1.75rem; }
  .recipe-title { font-size: clamp(1.6rem, 6vw, 2.5rem); }
  .recipe-sub { font-size: 0.9rem; max-width: 100%; }
  .recipe-meta-row { flex-wrap: wrap; gap: 0.6rem; font-size: 0.8rem; }
  .recipe-body { padding: 1.5rem 1.75rem 3rem; gap: 1.1rem; max-width: 100%; }
  .recipe-card { padding: 1.5rem; border-radius: 40px; }
  .recipe-card h2 { font-size: 0.95rem; margin-bottom: 1rem; }
  .ingredient-list li { font-size: 0.85rem; gap: 0.6rem; }
  .qty { min-width: 60px; font-size: 0.78rem; }
  .step { gap: 0.75rem; }
  .step-num { width: 30px; height: 30px; font-size: 0.8rem; }
  .step h4 { font-size: 0.9rem; }
  .step p { font-size: 0.82rem; line-height: 1.7; }
  .recipe-tips li { font-size: 0.82rem; }
}

@media (max-width: 480px) {
  .recipe-hero { min-height: 220px; padding: 1.5rem 1.25rem; }
  .recipe-title { font-size: clamp(1.4rem, 7vw, 2rem); }
  .recipe-body { padding: 1.25rem 1.25rem 2rem; gap: 0.9rem; }
  .recipe-card { padding: 1.25rem; border-radius: 32px; }
  .recipe-card h2 { font-size: 0.9rem; margin-bottom: 0.9rem; }
  .step { gap: 0.65rem; }
  .step-num { width: 26px; height: 26px; font-size: 0.75rem; }
  .step h4 { font-size: 0.875rem; }
  .step p { font-size: 0.8rem; }
  .ingredient-list li { font-size: 0.8rem; gap: 0.5rem; }
  .qty { min-width: 50px; font-size: 0.75rem; }
  .recipe-tips li { font-size: 0.8rem; }
}
