/* ════════════════════════════════════════════
   QuickMeal — index.html styles
   ════════════════════════════════════════════ */

/* ── Hero ── */
.hero {
  padding: 64px 0 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 14px;
  border-radius: 100px;
  background: var(--red-light);
  border: 1px solid rgba(255,59,48,0.22);
  font-size: 12px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.hero-title {
  font-size: clamp(34px, 6.5vw, 64px);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.06;
  color: var(--text);
  max-width: 680px;
  margin-bottom: 18px;
}
.hero-title span {
  background: linear-gradient(135deg, var(--red) 0%, #FF8C86 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 17px;
  color: var(--text-2);
  max-width: 460px;
  line-height: 1.65;
  margin-bottom: 34px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 56px;
}
.hero-img-wrap {
  width: 100%;
  max-width: 740px;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.72);
  box-shadow: 0 20px 72px rgba(0,0,0,0.11);
  position: relative;
}
.hero-img-wrap img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
}
.hero-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 55%, rgba(0,0,0,0.16));
}

/* ── Typing cursor ── */
.typing-wrap { position: relative; display: inline-block; }
.typing { display: inline-block; }
.cursor {
  display: inline-block;
  width: 3px;
  background: var(--red);
  margin-left: 2px;
  border-radius: 2px;
  animation: blink 1s infinite;
}
@keyframes blink { 0%,49% { opacity:1 } 50%,100% { opacity:0 } }

/* ── Section header ── */
.s-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 16px; }
.s-title { font-size: 20px; font-weight: 700; letter-spacing: -0.4px; }
.s-link  { font-size: 14px; font-weight: 600; color: var(--red); text-decoration: none; }
.s-link:hover { opacity: 0.75; }

/* ── Categories chips ── */
.category-chips { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; }
.chip {
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.chip-outline {
  background: rgba(255,255,255,0.55);
  border: 1.5px solid rgba(255,255,255,0.75);
  color: var(--text-2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.chip-outline:hover,
.chip-outline.active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

/* ── Features grid ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 32px;
}
.feat-card { border-radius: var(--r-xl); padding: 28px 24px; }
.feat-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--red-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.feat-icon svg { width: 22px; height: 22px; stroke: var(--red); fill: none; stroke-width: 1.8; }
.feat-num   { font-size: 11px; font-weight: 700; color: var(--red); letter-spacing: 0.6px; text-transform: uppercase; margin-bottom: 7px; }
.feat-title { font-size: 16px; font-weight: 700; letter-spacing: -0.3px; margin-bottom: 8px; }
.feat-desc  { font-size: 14px; color: var(--text-2); line-height: 1.55; }

/* ── CTA banner ── */
.cta-banner {
  border-radius: var(--r-xl);
  padding: 36px 40px;
  background: linear-gradient(135deg, #1c1c1e 0%, #2c2c2e 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 12px 40px rgba(0,0,0,0.20);
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -70px; right: -50px;
  width: 230px; height: 230px;
  border-radius: 50%;
  background: rgba(255,59,48,0.16);
  pointer-events: none;
}
.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -55px; left: 12%;
  width: 170px; height: 170px;
  border-radius: 50%;
  background: rgba(255,59,48,0.09);
  pointer-events: none;
}
.cta-text { position: relative; z-index: 1; }
.cta-text h3 { font-size: 22px; font-weight: 800; color: #fff; letter-spacing: -0.4px; margin-bottom: 7px; }
.cta-text p  { font-size: 14px; color: rgba(255,255,255,0.60); }
.cta-right   { position: relative; z-index: 1; display: flex; gap: 10px; flex-shrink: 0; }

/* ── Responsive ── */
@media (max-width: 700px) {
  .hero { padding: 40px 0 52px; }
  .hero-img-wrap img { height: 210px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions a { text-align: center; }
  .features-grid { grid-template-columns: 1fr; gap: 10px; }
  .cta-banner { flex-direction: column; text-align: center; padding: 28px 22px; }
  .cta-right { justify-content: center; width: 100%; }
}
