/* Landing page Veenik — "Etalase Undangan Hidup". Mobile-first, tanpa framework. */
:root {
  --ivory: #FFF9F2;
  --paper: #FFFFFF;
  --plum: #5B2A6B;
  --plum-dark: #3F1B4B;
  --gold: #F2B84B;
  --gold-soft: #FBE7BE;
  --rose: #B23A5E;
  --ink: #2A1736;
  --muted: #6B5A72;
  --line: rgba(42, 23, 54, .12);
  --wa: #128C4A;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --radius: 22px;
  --shadow: 0 18px 50px rgba(63, 27, 75, .12);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 16px/1.65 var(--sans); color: var(--ink); background: var(--ivory); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.12; margin: 0 0 .4em; color: var(--plum-dark); }
h1 { font-size: clamp(2.3rem, 7.5vw, 3.9rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.9rem, 5.5vw, 2.7rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.wrap { width: min(1140px, 100% - 32px); margin-inline: auto; }
.section { padding: clamp(56px, 9vw, 96px) 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto clamp(28px, 5vw, 44px); }
.section-head p { color: var(--muted); }
.eyebrow { display: inline-block; font: 800 .78rem var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--rose); margin-bottom: .6rem; }

/* ---------- Tombol ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 50px; padding: .7em 1.5em;
  border-radius: 999px; border: 2px solid transparent; font: 800 1rem var(--sans); text-decoration: none; cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-main { background: var(--plum); color: #fff; box-shadow: 0 10px 24px rgba(91, 42, 107, .28); }
.btn-main:hover { background: var(--plum-dark); }
.btn-ghost { background: transparent; color: var(--plum); border-color: var(--plum); }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 10px 24px rgba(18, 140, 74, .25); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-sm { min-height: 42px; padding: .45em 1.1em; font-size: .9rem; }

/* ---------- Navigasi ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 249, 242, .88); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { font: 700 2rem 'Dancing Script', cursive; color: var(--plum-dark); text-decoration: none; }
.nav-links { display: none; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-weight: 700; color: var(--muted); }
.nav-links a:hover { color: var(--plum); }
@media (min-width: 880px) { .nav-links { display: flex; } }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(36px, 7vw, 80px) 0 clamp(48px, 8vw, 88px); overflow: hidden; }
.hero::before { /* cahaya lembut di belakang panggung */
  content: ''; position: absolute; width: 760px; height: 760px; right: -220px; top: -160px; border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 184, 75, .28), rgba(242, 184, 75, 0) 65%); pointer-events: none;
}
.hero .wrap { position: relative; display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .hero .wrap { grid-template-columns: 1.02fr 1fr; gap: 48px; } }
.hero h1 em { font-style: italic; color: var(--rose); }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 22px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; padding: 0; margin: 0; font-weight: 700; font-size: .92rem; color: var(--plum-dark); }
.trust li { display: flex; align-items: center; gap: 6px; }
.trust li::before { content: ''; width: 18px; height: 18px; border-radius: 50%; background: var(--gold-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235B2A6B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* Panggung: mockup undangan asli bergantian */
.stage { position: relative; margin: 0; background: var(--paper); border-radius: 28px; box-shadow: var(--shadow); padding: 14px 14px 18px; }
.stage-frame { touch-action: pan-y; -webkit-user-drag: none; user-select: none; display: block; position: relative; aspect-ratio: 3 / 2; border-radius: 18px; overflow: hidden; background: #fff; }
.stage-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.03); transition: opacity .8s ease, transform 3.6s ease; }
.stage-frame img.on { opacity: 1; transform: scale(1); }
.stage-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 6px 0; }
.stage-label b { display: block; font: 700 1.3rem var(--serif); color: var(--plum-dark); }
.stage-label span { font-size: .85rem; color: var(--muted); }
.dots { display: flex; gap: 6px; justify-content: center; margin-top: 12px; }
.dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 99px; background: var(--line); cursor: pointer; transition: width .3s, background .3s; }
.dots button[aria-current="true"] { width: 26px; background: var(--plum); }
.chip { display: inline-block; padding: .2em .75em; border-radius: 99px; background: var(--gold-soft); color: var(--plum-dark); font: 800 .75rem var(--sans); letter-spacing: .04em; }

/* ---------- Pilih gaya ---------- */
.styles { display: grid; gap: 18px; }
@media (min-width: 640px) { .styles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .styles { grid-template-columns: repeat(4, 1fr); } }
.style-card { display: flex; flex-direction: column; background: var(--paper); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; }
.style-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.style-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: contain; background: #fff; } /* contain: mockup HP/tablet tidak terpotong */
.style-body { display: flex; flex-direction: column; flex: 1; padding: 16px 18px 20px; }
.style-body h3 { margin-bottom: .2em; }
.style-body p { color: var(--muted); font-size: .95rem; flex: 1; }
.style-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 12px; font-size: .9rem; color: var(--muted); }
.style-meta strong { color: var(--plum); font-size: 1.05rem; }
@media (max-width: 639px) { /* HP: kartu gaya mendatar agar tidak terlalu panjang */
  .style-card { flex-direction: row; }
  .style-card img { width: 42%; align-self: center; }
  .style-body { padding: 14px 14px 16px; }
  .style-body h3 { font-size: 1.3rem; }
  .style-body p { font-size: .88rem; margin-bottom: .6em; }
  .style-meta { flex-direction: column; gap: 0; margin-bottom: 10px; }
}

/* ---------- Cara pesan ---------- */
.steps { display: grid; gap: 16px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { position: relative; background: var(--paper); border-radius: var(--radius); padding: 26px 22px 22px; border: 1px solid var(--line); }
.steps li::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 12px; border-radius: 50%; background: var(--plum); color: #fff; font: 700 1.4rem var(--serif); }
.steps p { color: var(--muted); margin: 0; }

/* ---------- Fitur ---------- */
.band { background: var(--plum-dark); color: #F6EEF8; }
.band h2, .band h3 { color: #fff; }
.band .section-head p { color: #D9C8E0; }
.band .eyebrow { color: var(--gold); }
.features { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); list-style: none; padding: 0; margin: 0; }
@media (min-width: 900px) { .features { grid-template-columns: repeat(4, 1fr); } }
.features li { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); border-radius: 18px; padding: 18px 16px; }
.features svg { width: 30px; height: 30px; stroke: var(--gold); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 8px; }
.features b { display: block; font-size: 1rem; color: #fff; }
.features span { font-size: .88rem; color: #D9C8E0; }
.band .note { text-align: center; font-size: .88rem; color: #BFAEC8; margin: 22px 0 0; }

/* ---------- Katalog ---------- */
.filters { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 12px; margin-bottom: 18px; scrollbar-width: none; justify-content: flex-start; }
.filters::-webkit-scrollbar { display: none; }
@media (min-width: 760px) { .filters { justify-content: center; } }
.filters button { flex: none; min-height: 44px; padding: 0 18px; border-radius: 99px; border: 1.5px solid var(--line); background: var(--paper); font: 700 .95rem var(--sans); color: var(--ink); cursor: pointer; }
.filters button small { margin-left: 4px; color: var(--muted); font-weight: 700; }
.filters button[aria-pressed="true"] { background: var(--plum); border-color: var(--plum); color: #fff; }
.filters button[aria-pressed="true"] small { color: var(--gold-soft); }
.grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid { grid-template-columns: repeat(3, 1fr); } }
.card { display: flex; flex-direction: column; background: var(--paper); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); animation: pop .4s ease both; }
@keyframes pop { from { opacity: 0; transform: translateY(12px); } }
.card a.thumb { display: block; position: relative; }
.card img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; background: #fff; }
.card .chip { position: absolute; left: 12px; top: 12px; box-shadow: 0 2px 8px rgba(0, 0, 0, .08); }
.card-body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.card-top h3 { margin: 0; font-size: 1.3rem; }
.price { font-weight: 800; color: var(--plum); white-space: nowrap; }
.card-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; }
.card-actions.single { grid-template-columns: 1fr; }
.more-wrap { text-align: center; margin-top: 26px; }

/* ---------- Testimoni ---------- */
.quotes { display: grid; grid-auto-flow: column; grid-auto-columns: min(86%, 340px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 14px; list-style: none; margin: 0; scrollbar-width: thin; }
.quotes li { scroll-snap-align: start; background: var(--paper); border-radius: var(--radius); border: 1px solid var(--line); padding: 24px 22px; }
.quotes blockquote { margin: 0 0 14px; font: italic 600 1.2rem/1.45 var(--serif); color: var(--ink); }
.quotes blockquote::before { content: '“'; display: block; font: 700 3rem/0.6 var(--serif); color: var(--gold); margin-bottom: 8px; }
.quotes cite { font-style: normal; font-weight: 800; }
.quotes cite span { font-weight: 400; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: var(--paper); border-radius: 16px; border: 1px solid var(--line); padding: 4px 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 14px 0; font-weight: 800; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font: 700 1.5rem/1 var(--sans); color: var(--plum); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--muted); }

/* ---------- Penutup & footer ---------- */
.final { text-align: center; background: linear-gradient(135deg, var(--plum-dark), var(--plum)); color: #F6EEF8; border-radius: 28px; padding: clamp(36px, 7vw, 64px) 22px; }
.final h2 { color: #fff; }
.final p { color: #D9C8E0; max-width: 520px; margin-inline: auto; }
.final .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .6); }
.final .cta-row { justify-content: center; margin-bottom: 0; }
.footer { padding: 40px 0 110px; font-size: .92rem; color: var(--muted); }
.footer .wrap { display: grid; gap: 22px; }
@media (min-width: 760px) { .footer .wrap { grid-template-columns: 1.4fr 1fr 1fr; } .footer { padding-bottom: 40px; } }
.footer h4 { margin: 0 0 6px; font: 800 .95rem var(--sans); color: var(--ink); }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--plum); }
.copy { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 16px; text-align: center; }

/* Tombol WhatsApp melayang (HP) */
.wa-float {
  position: fixed; left: 16px; right: 16px; bottom: max(14px, env(safe-area-inset-bottom)); z-index: 60;
  transform: translateY(140%); transition: transform .35s ease;
}
.wa-float.show { transform: none; }
.wa-float .btn { width: 100%; }
@media (min-width: 760px) { .wa-float { left: auto; right: 22px; } .wa-float .btn { width: auto; } }

/* Muncul saat discroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
