/* ══════════════════════════════════════════════════════════════
   WishFeed Landing Page — theme
   Palette: warm cream base, deep plum, rose & gold accents
   ══════════════════════════════════════════════════════════════ */
:root {
  --cream: #fdf9f2;
  --cream-2: #f7efe2;
  --plum: #3d1f3c;
  --plum-soft: #6b3a67;
  --rose: #d94f70;
  --rose-deep: #b93a5c;
  --gold: #e8a33d;
  --ink: #33222e;
  --muted: #7a6773;
  --white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(61, 31, 60, 0.08);
  --shadow-lg: 0 18px 50px rgba(61, 31, 60, 0.18);
  --radius: 20px;
  --max-w: 1140px;
  --font-head: "Playfair Display", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

/* ═══════════ Reset & base ═══════════ */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--plum);
  line-height: 1.15;
}

.container {
  width: min(var(--max-w), 92%);
  margin-inline: auto;
}

.section { padding: 96px 0; }

.section--tint { background: var(--cream-2); }

/* ═══════════ Eyebrow & headings ═══════════ */
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rose-deep);
  background: rgba(217, 79, 112, 0.1);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.section__head { text-align: center; max-width: 640px; margin: 0 auto 56px; }

.section__head h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-bottom: 14px; }

.section__head p { color: var(--muted); font-size: 1.05rem; }

/* ═══════════ Buttons ═══════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 26px;
  border-radius: 999px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer;
}

.btn--solid {
  background: linear-gradient(135deg, var(--rose), var(--rose-deep));
  color: var(--white);
  box-shadow: 0 10px 24px rgba(217, 79, 112, 0.35);
}

.btn--solid:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(217, 79, 112, 0.45); }

.btn--ghost {
  border: 2px solid var(--plum);
  color: var(--plum);
  background: transparent;
}

.btn--ghost:hover { background: var(--plum); color: var(--white); transform: translateY(-2px); }

.btn--light {
  background: var(--white);
  color: var(--plum);
  box-shadow: var(--shadow-sm);
}

.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

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

/* ═══════════ Navbar ═══════════ */
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: rgba(253, 249, 242, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(61, 31, 60, 0.08);
  transition: box-shadow 0.3s ease;
}

.navbar.scrolled { box-shadow: var(--shadow-sm); }

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

.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; color: var(--plum); }

.brand__mark { font-size: 1.5rem; }

.nav-links { display: flex; gap: 34px; }

.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--plum-soft);
  transition: color 0.2s ease;
}

.nav-links a:hover { color: var(--rose-deep); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--plum);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ═══════════ Hero ═══════════ */
.hero {
  position: relative;
  padding: 170px 0 110px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 480px at 88% -10%, rgba(232, 163, 61, 0.22), transparent 60%),
    radial-gradient(800px 500px at 4% 12%, rgba(217, 79, 112, 0.16), transparent 60%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

.hero h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); margin: 6px 0 22px; }

.hero h1 em { color: var(--rose-deep); font-weight: 500; }

.hero__lede { color: var(--muted); font-size: 1.08rem; max-width: 480px; margin-bottom: 30px; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 32px; }

.hero__points { display: flex; flex-direction: column; gap: 10px; color: var(--plum-soft); font-size: 0.95rem; font-weight: 500; }

.hero__visual { position: relative; }

.hero__img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
}

.hero__card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 14px 18px;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  font-size: 0.85rem;
  animation: float 5s ease-in-out infinite;
}

.hero__card strong { display: block; color: var(--plum); }

.hero__card span { color: var(--muted); font-size: 0.78rem; }

.hero__card-emoji { font-size: 1.6rem; }

.hero__card--one { top: 34px; left: -34px; }

.hero__card--two { bottom: 40px; right: -28px; animation-delay: 2.2s; }

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

/* ═══════════ Cards ═══════════ */
.grid { display: grid; gap: 28px; }

.grid--3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--white);
  border: 1px solid rgba(61, 31, 60, 0.08);
  border-radius: var(--radius);
  padding: 36px 30px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.card__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  font-size: 1.6rem;
  background: linear-gradient(135deg, rgba(217, 79, 112, 0.14), rgba(232, 163, 61, 0.14));
  border-radius: 16px;
  margin-bottom: 20px;
}

.card h3 { font-size: 1.25rem; margin-bottom: 10px; }

.card p { color: var(--muted); font-size: 0.95rem; }

/* ═══════════ Steps ═══════════ */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.step__num {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin: 0 auto 18px;
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  background: linear-gradient(135deg, var(--gold), var(--rose));
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(232, 163, 61, 0.35);
}

.step h3 { margin-bottom: 10px; }

.step p { color: var(--muted); font-size: 0.95rem; }

/* ═══════════ Spotlight ═══════════ */
.spotlight { background: linear-gradient(135deg, var(--plum), var(--plum-soft)); }

.spotlight__inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.spotlight__visual img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.spotlight__content .eyebrow { color: var(--gold); background: rgba(232, 163, 61, 0.15); }

.spotlight__content h2 { color: var(--white); font-size: clamp(1.9rem, 3.2vw, 2.5rem); margin-bottom: 18px; }

.spotlight__content p { color: rgba(255, 255, 255, 0.82); margin-bottom: 24px; }

.spotlight__list { display: flex; flex-direction: column; gap: 12px; color: var(--white); font-weight: 500; font-size: 0.98rem; }

/* ═══════════ Gallery ═══════════ */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.gallery img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery img:hover { transform: scale(1.03); box-shadow: var(--shadow-lg); }

/* ═══════════ CTA ═══════════ */
.cta__inner {
  text-align: center;
  background: linear-gradient(135deg, var(--rose), var(--gold));
  border-radius: 32px;
  padding: 72px 40px;
  box-shadow: 0 24px 60px rgba(217, 79, 112, 0.3);
}

.cta__inner h2 { color: var(--white); font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-bottom: 14px; }

.cta__inner p { color: rgba(255, 255, 255, 0.9); max-width: 520px; margin: 0 auto 30px; }

.cta__actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }

.cta__note { display: block; color: rgba(255, 255, 255, 0.75); font-size: 0.85rem; }

/* ═══════════ Footer ═══════════ */
.footer { background: var(--plum); color: rgba(255, 255, 255, 0.75); padding: 64px 0 28px; }

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
}

.footer__brand .brand__name { color: var(--white); }

.footer__brand p { margin-top: 12px; font-size: 0.9rem; max-width: 260px; }

.footer__col h4 {
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer__col a { display: block; font-size: 0.92rem; margin-bottom: 10px; transition: color 0.2s ease; }

.footer__col a:hover { color: var(--white); }

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 24px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ═══════════ Scroll reveal ═══════════ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }

.reveal.visible { opacity: 1; transform: none; }

/* ═══════════ Responsive ═══════════ */
@media (max-width: 920px) {
  .hero__inner, .spotlight__inner { grid-template-columns: 1fr; gap: 48px; }
  .grid--3, .steps, .gallery { grid-template-columns: 1fr 1fr; }
  .hero__card--one { left: 0; }
  .hero__card--two { right: 0; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .section { padding: 72px 0; }
  .hero { padding: 130px 0 80px; }
  .grid--3, .steps, .gallery { grid-template-columns: 1fr; }
  .hero__img { height: 340px; }
  .hero__card--one { top: 14px; }
  .hero__card--two { bottom: 20px; }

  .navbar__cta { display: none; }

  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    background: var(--cream);
    padding: 24px 0;
    box-shadow: var(--shadow-lg);
    transform: translateY(-140%);
    transition: transform 0.3s ease;
  }

  .nav-links.open { transform: translateY(0); }
  .nav-links a { font-size: 1.05rem; padding: 10px; }

  .footer__inner { grid-template-columns: 1fr; }
  .cta__inner { padding: 52px 24px; }
}
