/* ============================================================
   Giftyra — Premium Gift Studio (Light theme)
   ============================================================ */
:root {
  --bg: #faf7f1;
  --bg-soft: #f3ede2;
  --card: #ffffff;
  --line: rgba(43, 34, 51, 0.1);
  --text: #2b2233;
  --muted: #7d7286;
  --gold: #c9922b;
  --gold-2: #b57f1f;
  --rose: #e0557f;
  --wa: #1fbd5f;
  --grad: linear-gradient(120deg, var(--gold), var(--rose) 55%, #e6b04f);
  --radius: 22px;
  --font-serif: "Playfair Display", Georgia, serif;
  --font-sans: "Poppins", -apple-system, "Segoe UI", sans-serif;
  --shadow: 0 20px 50px rgba(90, 70, 30, 0.14);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
}

::selection { background: var(--gold); color: #fffdf6; }

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; }

.container { width: min(1200px, 92%); margin-inline: auto; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section { padding: 100px 0; position: relative; }

.section-head { text-align: center; margin-bottom: 56px; }
.section-head__tag {
  color: var(--gold);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 14px;
}
.section-head__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
}
.section-head__sub { color: var(--muted); margin-top: 14px; max-width: 520px; margin-inline: auto; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  border: none;
}
.btn .ic { width: 18px; height: 18px; fill: currentColor; }

.btn--gold {
  background: var(--grad);
  color: #fffdf6;
  box-shadow: 0 8px 26px rgba(201, 146, 43, 0.35);
}
.btn--gold:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(224, 85, 127, 0.38); }

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-3px); }

.btn--wa {
  background: var(--wa);
  color: #ffffff;
  box-shadow: 0 8px 26px rgba(31, 189, 95, 0.35);
}
.btn--wa:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(31, 189, 95, 0.42); }

/* ============================================================
   Navbar
   ============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 18px 0;
  transition: background 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease;
}
.nav.scrolled {
  background: rgba(250, 247, 241, 0.85);
  backdrop-filter: blur(14px);
  padding: 12px 0;
  box-shadow: 0 10px 34px rgba(90, 70, 30, 0.1);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; }

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
}
.nav__logo-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--grad);
  color: #fffdf6;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.2rem;
  transform: rotate(-8deg);
  box-shadow: 0 6px 18px rgba(201, 146, 43, 0.3);
}

.nav__links { display: flex; gap: 34px; }
.nav__links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
  position: relative;
  transition: color 0.25s ease;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--grad);
  border-radius: 2px;
  transition: width 0.3s ease;
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { width: 100%; }

.nav__cta { padding: 11px 24px; font-size: 0.85rem; }

.nav__toggle {
  display: none;
  background: none;
  border: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav__toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s 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;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  overflow: hidden;
}
.hero__inner { position: relative; z-index: 2; text-align: center; }

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.4;
  z-index: 1;
}
.hero__glow--one {
  width: 480px;
  height: 480px;
  background: rgba(232, 176, 75, 0.45);
  top: -120px;
  left: -100px;
  animation: drift 12s ease-in-out infinite alternate;
}
.hero__glow--two {
  width: 420px;
  height: 420px;
  background: rgba(224, 85, 127, 0.35);
  bottom: -140px;
  right: -80px;
  animation: drift 14s ease-in-out infinite alternate-reverse;
}
@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(40px, 30px) scale(1.15); }
}

.hero__eyebrow {
  color: var(--gold);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  line-height: 1.08;
  font-weight: 700;
  margin-bottom: 26px;
}

.hero__sub {
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto 40px;
  font-weight: 300;
  font-size: 1.05rem;
}

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

.hero__stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}
.hero__stats div { text-align: center; }
.hero__stats strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.9rem;
  color: var(--gold);
}
.hero__stats span { font-size: 0.8rem; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; }

.hero__sparkles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.hero__sparkle {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0;
  animation: sparkleFloat linear infinite;
}
@keyframes sparkleFloat {
  0% { transform: translateY(0) scale(1); opacity: 0; }
  20% { opacity: 0.9; }
  80% { opacity: 0.9; }
  100% { transform: translateY(-60vh) scale(0.4); opacity: 0; }
}

.hero__float { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--line);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  padding: 12px 18px;
  box-shadow: var(--shadow);
  animation: floaty 6s ease-in-out infinite;
}
.float-card b { display: block; font-size: 0.85rem; }
.float-card__icon { width: 34px; height: 34px; fill: var(--rose); flex-shrink: 0; }
.float-card small { color: var(--muted); font-size: 0.72rem; }
.float-card--a { top: 24%; left: 8%; animation-delay: 0s; }
.float-card--b { bottom: 20%; right: 8%; animation-delay: -3s; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

/* ============================================================
   Marquee
   ============================================================ */
.marquee {
  border-block: 1px solid var(--line);
  background: var(--bg-soft);
  padding: 18px 0;
  overflow: hidden;
  position: relative;
}
.marquee__track {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: marquee 26s linear infinite;
}
.marquee__track span { font-family: var(--font-serif); font-size: 1.15rem; color: var(--gold); }
.marquee__track i { color: var(--rose); font-style: normal; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================================
   Filters + Product grid
   ============================================================ */
.filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-bottom: 48px; }

.chip {
  padding: 10px 22px;
  border-radius: 100px;
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.25s ease;
}
.chip:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.chip--active {
  background: var(--grad);
  color: #fffdf6;
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(201, 146, 43, 0.28);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 26px;
}

.product {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(90, 70, 30, 0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  opacity: 0;
  transform: translateY(24px) scale(0.96);
}
.product.show { opacity: 1; transform: translateY(0) scale(1); transition: opacity 0.5s ease, transform 0.5s ease; }
.product:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(90, 70, 30, 0.16);
  border-color: rgba(201, 146, 43, 0.4);
}

.product__imgwrap { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg); }
.product__imgwrap svg { width: 100%; height: 100%; display: block; transition: transform 0.6s ease; }
.product:hover .product__imgwrap svg { transform: scale(1.08) rotate(-1deg); }

.product__tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--grad);
  color: #fffdf6;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
  box-shadow: 0 6px 16px rgba(201, 146, 43, 0.3);
}
.product__tag--hot {
  background: var(--rose);
  color: #fffdf6;
}

.product__body { padding: 20px 22px 24px; }
.product__cat { color: var(--gold); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.14em; font-weight: 600; }
.product__name { font-family: var(--font-serif); font-size: 1.25rem; margin: 6px 0 8px; }
.product__desc { color: var(--muted); font-size: 0.86rem; margin-bottom: 16px; min-height: 42px; }

.product__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.product__price { font-family: var(--font-serif); font-size: 1.35rem; color: var(--gold); }
.product__price small { font-size: 0.8rem; color: var(--muted); font-family: var(--font-sans); }

.btn--wa-small {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--wa);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 10px 18px;
  border-radius: 100px;
  border: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.btn--wa-small .ic { width: 16px; height: 16px; fill: currentColor; }
.btn--wa-small:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 10px 26px rgba(31, 189, 95, 0.35); }

/* ============================================================
   Features
   ============================================================ */
.features { background: var(--bg-soft); border-block: 1px solid var(--line); }
.features__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; }
.feature {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(90, 70, 30, 0.06);
}
.feature::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 0%), rgba(201, 146, 43, 0.1), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.feature:hover { transform: translateY(-6px); border-color: rgba(201, 146, 43, 0.4); }
.feature:hover::before { opacity: 1; }
.feature__icon {
  font-size: 2rem;
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 16px;
  margin-bottom: 18px;
  transition: transform 0.3s ease;
}
.feature__icon svg { width: 26px; height: 26px; fill: var(--rose); }
.feature:hover .feature__icon { transform: rotate(-8deg) scale(1.08); }
.feature h3 { font-family: var(--font-serif); font-size: 1.15rem; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 0.88rem; }

/* ============================================================
   About
   ============================================================ */
.about__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 70px; align-items: center; }

.about__visual { position: relative; }
.about__photo {
  background: var(--grad);
  border-radius: 34px;
  padding: 3px;
  transform: rotate(-2deg);
  box-shadow: var(--shadow);
}
.about__photo-inner {
  background: var(--bg-soft);
  border-radius: 32px;
  padding: 46px;
  text-align: center;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.about__photo-inner svg.about__gift { width: 74px; height: 74px; fill: var(--rose); animation: floaty 5s ease-in-out infinite; filter: drop-shadow(0 10px 30px rgba(224, 85, 127, 0.35)); }
.about__photo-inner p { font-family: var(--font-serif); font-style: italic; font-size: 1.3rem; color: var(--gold); }

.about__badge {
  position: absolute;
  right: -14px;
  bottom: 26px;
  background: var(--card);
  border: 1px solid var(--line);
  padding: 18px 26px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}
.about__badge strong { font-family: var(--font-serif); font-size: 2rem; color: var(--gold); display: block; }
.about__badge span { color: var(--muted); font-size: 0.8rem; }

.about__steps { list-style: none; margin: 30px 0 36px; display: grid; gap: 22px; }
.about__steps li { display: flex; gap: 18px; align-items: flex-start; }
.about__step-num {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: #fffdf6;
  background: var(--grad);
  padding: 8px 12px;
  border-radius: 12px;
  flex-shrink: 0;
  transform: rotate(-4deg);
  box-shadow: 0 6px 16px rgba(201, 146, 43, 0.25);
}
.about__steps b { font-family: var(--font-serif); font-size: 1.05rem; }
.about__steps p { color: var(--muted); font-size: 0.88rem; }

/* ============================================================
   Testimonials
   ============================================================ */
.testimonials { background: var(--bg-soft); border-block: 1px solid var(--line); }
.testi__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 26px; }
.testi {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform 0.3s ease, border-color 0.3s ease;
  box-shadow: 0 6px 24px rgba(90, 70, 30, 0.06);
}
.testi:hover { transform: translateY(-6px); border-color: rgba(224, 85, 127, 0.4); }
.testi__stars { color: var(--gold); letter-spacing: 3px; margin-bottom: 14px; font-size: 0.95rem; }
.testi > p { color: var(--muted); font-size: 0.95rem; font-style: italic; margin-bottom: 20px; }
.testi__user { display: flex; align-items: center; gap: 12px; }
.testi__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--grad);
  color: #fffdf6;
  font-weight: 700;
}
.testi__user b { display: block; font-size: 0.95rem; }
.testi__user small { color: var(--muted); font-size: 0.78rem; }

/* ============================================================
   Contact / CTA
   ============================================================ */
.contact__card {
  position: relative;
  text-align: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 34px;
  padding: 80px 40px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(90, 70, 30, 0.12);
}
.contact__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(600px circle at 50% -10%, rgba(224, 85, 127, 0.12), transparent 60%);
  pointer-events: none;
}
.contact__card > * { position: relative; z-index: 1; }
.contact__title { font-family: var(--font-serif); font-size: clamp(1.9rem, 4vw, 3rem); margin: 8px 0 18px; }
.contact__card p { color: var(--muted); max-width: 520px; margin: 0 auto 34px; }
.contact__card .btn { margin-bottom: 14px; }
.contact__card small { display: block; color: var(--muted); opacity: 0.8; font-size: 0.8rem; }

/* ============================================================
   Footer
   ============================================================ */
.footer { border-top: 1px solid var(--line); background: var(--bg-soft); padding-top: 60px; }
.footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; }
.footer__brand p { color: var(--muted); font-size: 0.9rem; margin: 16px 0 20px; max-width: 300px; }
.footer__social { display: flex; gap: 12px; }
.footer__social a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  transition: all 0.25s ease;
  background: var(--card);
}
.footer__social a:hover { background: var(--grad); color: #fffdf6; border-color: transparent; transform: translateY(-3px); }
.footer__col h4 { font-family: var(--font-serif); font-size: 1.05rem; margin-bottom: 18px; color: var(--gold); }
.footer__col a { display: block; color: var(--muted); font-size: 0.9rem; margin-bottom: 12px; transition: color 0.25s ease; }
.footer__col a:hover { color: var(--gold); transform: translateX(4px); }
.footer__note { color: var(--muted); font-size: 0.85rem; margin-top: 8px; }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8rem;
}
.footer__heart { width: 13px; height: 13px; fill: var(--rose); vertical-align: -2px; margin: 0 2px; }

/* ============================================================
   Floating WhatsApp button
   ============================================================ */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 200;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--wa);
  display: grid;
  place-items: center;
  box-shadow: 0 12px 34px rgba(31, 189, 95, 0.45);
  transition: transform 0.3s ease;
}
.wa-float svg { width: 32px; height: 32px; fill: #fff; }
.wa-float:hover { transform: scale(1.12) rotate(8deg); }
.wa-float__ping {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--wa);
  animation: ping 2s ease-out infinite;
  z-index: -1;
}
@keyframes ping {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.9); opacity: 0; }
}

/* ============================================================
   Reveal on scroll
   ============================================================ */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal[data-delay="1"] { transition-delay: 0.12s; }
.reveal[data-delay="2"] { transition-delay: 0.24s; }
.reveal[data-delay="3"] { transition-delay: 0.36s; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
  .about__inner { grid-template-columns: 1fr; gap: 50px; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .float-card { display: none; }
}

@media (max-width: 720px) {
  .section { padding: 70px 0; }
  .hero__stats { gap: 34px; }

  .nav__links {
    position: fixed;
    inset: 0;
    background: rgba(250, 247, 241, 0.97);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    font-size: 1.2rem;
    transform: translateY(-100%);
    transition: transform 0.4s ease;
    z-index: -1;
  }
  .nav__links.open { transform: translateY(0); }
  .nav__cta { display: none; }
  .nav__toggle { display: flex; z-index: 110; }
}

@media (max-width: 520px) {
  .footer__inner { grid-template-columns: 1fr; gap: 30px; }
  .contact__card { padding: 56px 24px; }
  .about__photo-inner { padding: 30px; }
  .about__badge { right: 0; }
}
