/* ==========================================================
   DEARORA — Warm Sentiments & Modern Keepsakes
   Token mengikuti DESIGN.md. Mobile-first.
   ========================================================== */

:root {
  /* Permukaan */
  --canvas: #FCF9F7;
  --card: #FFFFFF;
  --warm: #FAF4F3;
  --rose-wash: #FDF2F4;
  --badge: #FFF0F4;
  --lav-tint: #F3EFFE;
  --lav-subtle: #EDE7FA;
  --sage: #EBF5ED;
  --sage-text: #3A6E46;

  /* Aksen */
  --primary: #D84A6E;
  --primary-deep: #AB274E;      /* untuk teks kecil di atas terang (kontras ≥ 7:1) */
  --rose: #F78DA7;
  --lavender: #9B86D4;
  --cta: #E85D75;
  --cta-hover: #D44760;
  --focus: #F3AAB8;

  /* Teks & garis */
  --ink: #261C24;
  --muted: #6E616B;
  --border: #F0E4E7;

  /* Bentuk */
  --r-sm: 0.5rem;
  --r: 1rem;
  --r-md: 1.5rem;
  --r-lg: 2rem;
  --r-full: 9999px;

  /* Bayangan (Elevation) */
  --sh-1: 0 4px 20px -2px rgba(180, 110, 130, 0.05);
  --sh-2: 0 12px 32px -4px rgba(216, 74, 110, 0.10);
  --sh-cta: 0 8px 24px -2px rgba(232, 93, 117, 0.35);
  --sh-badge: 0 6px 18px rgba(0, 0, 0, 0.06);

  /* Ruang */
  --container: 1200px;
  --gutter: 1.25rem;
  --section: 4rem;
  --header-h: 68px;

  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

@media (min-width: 768px) {
  :root { --gutter: 2rem; --section: 5rem; --header-h: 76px; }
}
@media (min-width: 1024px) {
  :root { --gutter: 3rem; --section: 6rem; }
}

/* ---------- Reset ringan ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: #FFD9E0; color: #3F0018; }

:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 1rem; top: -4rem; z-index: 200;
  background: var(--ink); color: #fff; padding: .75rem 1.25rem; border-radius: var(--r-full);
  font-weight: 600; transition: top .2s;
}
.skip-link:focus { top: 1rem; }

.icon { width: 1.25em; height: 1.25em; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon-fill { fill: currentColor; stroke: none; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section-alt { background: var(--warm); }

/* ---------- Tipografi ---------- */
.display { font-size: 2.25rem; line-height: 1.22; font-weight: 800; letter-spacing: -0.02em; }
.h1 { font-size: 1.75rem; line-height: 1.28; font-weight: 700; letter-spacing: -0.015em; }
.h2 { font-size: 1.5rem; line-height: 1.3; font-weight: 700; letter-spacing: -0.015em; }
.h3 { font-size: 1.25rem; line-height: 1.4; font-weight: 600; }
.lead { font-size: 1.0625rem; line-height: 1.7; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: .875rem; line-height: 1.6; }
.eyebrow {
  display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--primary-deep);
}
@media (min-width: 768px) {
  .display { font-size: 3.5rem; line-height: 1.22; letter-spacing: -0.03em; }
  .h1 { font-size: 2.5rem; line-height: 1.25; letter-spacing: -0.02em; }
  .h2 { font-size: 2rem; line-height: 1.25; }
  .lead { font-size: 1.125rem; }
}
.text-accent { color: var(--primary); }

.section-head { max-width: 42rem; margin: 0 auto 2.5rem; text-align: center; }
.section-head .eyebrow { margin-bottom: .75rem; }
.section-head p { margin-top: .75rem; }
.section-head-row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }
.section-head-row .h2 { margin-top: .5rem; }

/* ---------- Tombol ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .75rem 1.75rem;
  border-radius: var(--r-full); border: 1.5px solid transparent;
  font-weight: 700; font-size: 1rem; line-height: 1.2; white-space: nowrap;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease, border-color .2s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn-primary { background: var(--cta); color: #fff; box-shadow: var(--sh-cta); }
.btn-primary:hover { background: var(--cta-hover); transform: scale(1.02); }
.btn-primary:active { transform: scale(.98); }
.btn-secondary { background: var(--card); color: var(--ink); border-color: var(--border); }
.btn-secondary:hover { background: var(--rose-wash); border-color: var(--focus); }
.btn-quiet { background: var(--warm); color: var(--ink); border-color: var(--border); }
.btn-quiet:hover { background: var(--rose-wash); border-color: var(--focus); }
.btn-lavender { background: var(--lav-tint); color: #4E3A82; border-color: var(--lav-subtle); }
.btn-lavender:hover { background: var(--lav-subtle); }
.btn-white { background: #fff; color: var(--primary-deep); }
.btn-white:hover { background: var(--rose-wash); transform: scale(1.02); }
.btn-ghost-light { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost-light:hover { background: rgba(255,255,255,.24); }
.btn-sm { min-height: 44px; padding: .5rem 1.25rem; font-size: .9375rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; pointer-events: none; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(255, 255, 255, .85);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: 0 1px 8px rgba(0, 0, 0, .04);
}
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .625rem; font-weight: 800; font-size: 1.375rem; letter-spacing: -0.02em; min-height: 44px; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--cta), var(--primary)); color: #fff;
  box-shadow: 0 6px 14px -4px rgba(216, 74, 110, .5);
}
.brand-mark .icon { width: 18px; height: 18px; }

.nav { display: none; }
.nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 .875rem;
  border-radius: var(--r-full); font-weight: 600; font-size: .9375rem; color: var(--muted);
  transition: color .2s, background-color .2s;
}
.nav a:hover { color: var(--ink); background: var(--rose-wash); }
.nav a[aria-current="page"] { color: var(--primary-deep); background: var(--badge); }
.header-actions { display: flex; align-items: center; gap: .5rem; }
.menu-btn {
  width: 44px; height: 44px; border-radius: var(--r-full); border: 1.5px solid var(--border);
  background: var(--card); display: grid; place-items: center;
}
@media (min-width: 960px) {
  .nav { display: flex; align-items: center; gap: .25rem; }
  .menu-btn { display: none; }
}

.drawer {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
  background: rgba(252, 249, 247, .98);
  padding: 1rem var(--gutter) 2rem; overflow-y: auto;
  transform: translateY(-8px); opacity: 0; visibility: hidden;
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.drawer.open { opacity: 1; transform: none; visibility: visible; }
.drawer a.drawer-link {
  display: flex; align-items: center; justify-content: space-between; min-height: 56px;
  font-size: 1.125rem; font-weight: 600; border-bottom: 1px solid var(--border);
}
.drawer a.drawer-link[aria-current="page"] { color: var(--primary-deep); }
.drawer .btn { margin-top: 1.5rem; }

main { padding-top: var(--header-h); min-height: 70vh; outline: none; }

/* ---------- Hero ---------- */
.hero { padding: 2.5rem 0 var(--section); position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -120px;
  background: radial-gradient(circle, rgba(247,141,167,.28), transparent 65%); pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; width: 420px; height: 420px; left: -180px; bottom: -160px;
  background: radial-gradient(circle, rgba(155,134,212,.20), transparent 65%); pointer-events: none;
}
.hero-grid { display: grid; gap: 2.5rem; align-items: center; position: relative; z-index: 1; }
.hero-copy .pill-tag { margin-bottom: 1.25rem; }
.hero-copy .lead { margin-top: 1.25rem; max-width: 34rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin-top: 1.75rem; color: var(--muted); font-size: .875rem; font-weight: 600; }
.hero-trust span { display: inline-flex; align-items: center; gap: .4rem; }
.hero-trust .icon { color: var(--primary); width: 1.1em; height: 1.1em; }
@media (min-width: 960px) {
  .hero { padding-top: 4rem; }
  .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 4rem; }
}

.pill-tag {
  display: inline-flex; align-items: center; gap: .5rem; padding: .375rem .875rem;
  border-radius: var(--r-full); background: var(--badge); color: var(--primary-deep);
  font-size: .8125rem; font-weight: 700; border: 1px solid #FBD5DE;
}
.pill-tag .icon { width: 1em; height: 1em; }

/* Mockup ponsel di hero */
.hero-visual { position: relative; display: grid; place-items: center; padding: 1.5rem 0 2rem; }
.hero-blob {
  position: absolute; inset: 6% 8%; border-radius: 3rem;
  background: linear-gradient(145deg, #FFE3EA, var(--lav-subtle)); transform: rotate(-4deg);
}
.phone {
  position: relative; width: min(100%, 270px); aspect-ratio: 9 / 18.5;
  border-radius: 2.5rem; background: #2B2329; padding: 9px;
  box-shadow: 0 30px 60px -20px rgba(110, 40, 70, .45);
}
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: 2rem; overflow: hidden; background: #fff; }
.phone-notch { position: absolute; top: 8px; left: 50%; width: 72px; height: 18px; border-radius: 99px; background: #2B2329; transform: translateX(-50%); z-index: 3; }
.float-badge {
  position: absolute; display: inline-flex; align-items: center; gap: .5rem;
  background: #fff; border-radius: var(--r-full); padding: .5rem .875rem .5rem .5rem;
  box-shadow: var(--sh-badge); font-size: .8125rem; font-weight: 700; z-index: 2;
}
.float-badge .tile { width: 24px; height: 24px; border-radius: 8px; display: grid; place-items: center; background: var(--badge); color: var(--primary); }
.float-badge .tile.lav { background: var(--lav-tint); color: #5B47A0; }
.float-badge .tile .icon { width: 14px; height: 14px; }
.fb-1 { top: 10%; left: 0; animation: bob 5s ease-in-out infinite; }
.fb-2 { top: 44%; right: -2%; animation: bob 6s ease-in-out -2s infinite; }
.fb-3 { bottom: 8%; left: 3%; animation: bob 5.5s ease-in-out -1s infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@media (max-width: 480px) { .fb-2 { right: 0; } .float-badge { font-size: .75rem; } }

/* ---------- Kartu umum ---------- */
.card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--r-md);
  box-shadow: var(--sh-1); transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}
.card-hover:hover { box-shadow: var(--sh-2); transform: translateY(-3px); border-color: #F6D3DB; }

.grid { display: grid; gap: 1.25rem; }
.grid-cats { grid-template-columns: 1fr; }
.grid-feats { grid-template-columns: 1fr; }
.grid-designs { grid-template-columns: 1fr; }
.grid-steps { grid-template-columns: 1fr; }
@media (min-width: 560px) {
  .grid-cats, .grid-feats, .grid-steps { grid-template-columns: repeat(2, 1fr); }
  .grid-designs { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .grid-cats { grid-template-columns: repeat(3, 1fr); }
  .grid-feats, .grid-steps { grid-template-columns: repeat(4, 1fr); }
  .grid-designs { grid-template-columns: repeat(3, 1fr); }
}

/* Kategori */
.cat-card { padding: 1.5rem; display: flex; flex-direction: column; gap: .875rem; height: 100%; }
.cat-top { display: flex; align-items: center; justify-content: space-between; }
.icon-tile { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; background: var(--badge); color: var(--primary); }
.icon-tile.lav { background: var(--lav-tint); color: #5B47A0; }
.icon-tile.sage { background: var(--sage); color: var(--sage-text); }
.icon-tile .icon { width: 24px; height: 24px; }
.tag { display: inline-flex; align-items: center; padding: .25rem .75rem; border-radius: var(--r-full); font-size: .75rem; font-weight: 700; background: var(--badge); color: var(--primary-deep); }
.tag.lav { background: var(--lav-tint); color: #4E3A82; }
.tag.sage { background: var(--sage); color: var(--sage-text); }
.cat-card p { color: var(--muted); font-size: .9375rem; flex: 1; }
.link-arrow { display: inline-flex; align-items: center; gap: .375rem; font-weight: 700; font-size: .9375rem; color: var(--primary-deep); min-height: 32px; }
.link-arrow .icon { width: 1em; height: 1em; transition: transform .2s; }
.card:hover .link-arrow .icon, .link-arrow:hover .icon { transform: translateX(3px); }

/* Keunggulan */
.feat-card { padding: 1.5rem; height: 100%; }
.feat-card h3 { margin: 1rem 0 .5rem; }
.feat-card p { color: var(--muted); font-size: .9375rem; }

/* ---------- Galeri desain ---------- */
.design-card { overflow: hidden; display: flex; flex-direction: column; height: 100%; }
.design-thumb { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.design-meta { padding: 1.25rem; display: flex; flex-direction: column; gap: .75rem; flex: 1; }
.design-meta .tags { display: flex; flex-wrap: wrap; gap: .375rem; }
.design-meta h3 { font-size: 1.125rem; }
.design-actions { margin-top: auto; display: flex; gap: .5rem; }
.design-actions .btn { flex: 1; }

/* Tema thumbnail/demo (tanpa gambar eksternal) */
.theme { --t1: #FFE3EA; --t2: #F3EFFE; --tink: #7B2A42; --tacc: #D84A6E;
  background: linear-gradient(150deg, var(--t1), var(--t2)); color: var(--tink); }
.theme-blossom { --t1: #FFE0E8; --t2: #FFF5F7; --tink: #8D0B39; --tacc: #D84A6E; }
.theme-confetti { --t1: #FFF1C9; --t2: #FFE0EC; --tink: #7A3B00; --tacc: #E85D75; }
.theme-cinema { --t1: #2B1B2E; --t2: #5A2B45; --tink: #FFE3EA; --tacc: #FF93AD; }
.theme-dusk { --t1: #E9DDFF; --t2: #FFE3EA; --tink: #4E3A82; --tacc: #7D68B4; }
.theme-grad { --t1: #DDEBFF; --t2: #EDE7FA; --tink: #23406B; --tacc: #4A6FA8; }
.theme-sage { --t1: #DDF0E1; --t2: #FFF5F7; --tink: #2C5836; --tacc: #3A6E46; }
.theme-rose { --t1: #FFD3DE; --t2: #FFF0F4; --tink: #7B2A42; --tacc: #C23A55; }
.theme-arcade { --t1: #1F1B3A; --t2: #3C2A6E; --tink: #E9DDFF; --tacc: #B79CFF; }

.thumb-card {
  position: absolute; left: 50%; top: 50%; width: 44%; aspect-ratio: 9 / 14;
  transform: translate(-50%, -50%) rotate(-3deg);
  background: rgba(255,255,255,.88); border-radius: 18px; padding: .75rem;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem;
  box-shadow: 0 14px 30px -10px rgba(60, 20, 40, .35); text-align: center; transition: transform .35s ease;
}
.theme-cinema .thumb-card, .theme-arcade .thumb-card { background: rgba(255,255,255,.1); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.25); }
.design-card:hover .thumb-card { transform: translate(-50%, -52%) rotate(0deg); }
.thumb-card .ico { color: var(--tacc); }
.thumb-card .ico .icon { width: 28px; height: 28px; }
.thumb-card .t { font-size: .6875rem; font-weight: 800; color: var(--tink); line-height: 1.3; }
.thumb-card .bar { height: 6px; border-radius: 99px; width: 70%; background: color-mix(in srgb, var(--tacc) 35%, transparent); }
.thumb-card .bar.s { width: 46%; }
.design-thumb img.thumb-img { width: 100%; height: 100%; object-fit: cover; }
.design-thumb .badge-pkg { position: absolute; left: .75rem; top: .75rem; }

/* Filter */
.filters { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }
.chip-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  min-height: 44px; padding: 0 1.125rem; border-radius: var(--r-full);
  border: 1.5px solid var(--border); background: var(--card); font-weight: 600; font-size: .9375rem; color: var(--muted);
  transition: all .2s;
}
.chip:hover { border-color: var(--focus); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--badge); border-color: var(--primary); color: var(--primary-deep); }
.filter-label { font-size: .8125rem; font-weight: 700; color: var(--muted); margin-bottom: .5rem; }

/* ---------- Paket ---------- */
.pricing { display: grid; gap: 1.5rem; align-items: stretch; }
@media (min-width: 900px) { .pricing { grid-template-columns: repeat(3, 1fr); gap: 1.75rem; } }
.plan { position: relative; padding: 1.75rem; display: flex; flex-direction: column; height: 100%; }
.plan-premium { border: 2px solid var(--primary); box-shadow: var(--sh-2); }
@media (min-width: 900px) { .plan-premium { transform: translateY(-12px); } }
.plan-special { background: linear-gradient(180deg, var(--lav-tint), #fff 38%); border-color: var(--lav-subtle); }
.plan-flag {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--cta), var(--primary)); color: #fff;
  font-size: .75rem; font-weight: 800; padding: .375rem 1rem; border-radius: var(--r-full); white-space: nowrap;
  box-shadow: 0 6px 16px -4px rgba(216, 74, 110, .5);
}
.plan-head { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.plan-name { font-size: 1.25rem; font-weight: 800; }
.plan-tagline { margin-top: .5rem; color: var(--muted); font-size: .9375rem; min-height: 2.9em; }
.price { display: flex; align-items: baseline; gap: .375rem; margin: 1.25rem 0 .25rem; }
.price .cur { font-size: 1rem; font-weight: 700; color: var(--muted); }
.price .amt { font-size: 2.5rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.plan-sub { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.25rem; }
.plan-sub .tag { background: var(--warm); color: var(--muted); border: 1px solid var(--border); }
.plan-list { display: grid; gap: .75rem; margin-bottom: 1.75rem; flex: 1; }
.plan-list li { display: flex; gap: .625rem; font-size: .9375rem; align-items: flex-start; }
.plan-list .icon { width: 1.15em; height: 1.15em; margin-top: .2em; }
.plan-list .yes .icon { color: var(--sage-text); }
.plan-list .no { color: #8F8089; }
.plan-list .no .icon { color: #B8A9B3; }

.callout {
  display: flex; gap: 1rem; align-items: flex-start; margin-top: 3rem;
  background: var(--rose-wash); border: 1px solid #FBD5DE; border-radius: var(--r-md); padding: 1.25rem 1.5rem;
}
.callout .icon-tile { background: #fff; flex: none; }
.callout p { color: var(--muted); font-size: .9375rem; }
.callout strong { color: var(--ink); }

.compare-wrap { position: relative; margin-top: 3rem; overflow-x: auto; border: 1px solid var(--border); border-radius: var(--r-md); background: #fff; }
.compare { width: 100%; border-collapse: collapse; min-width: 560px; font-size: .9375rem; }
.compare th, .compare td { padding: .875rem 1rem; text-align: center; border-bottom: 1px solid var(--border); }
.compare th:first-child, .compare td:first-child { text-align: left; font-weight: 600; }
.compare thead th { background: var(--warm); font-weight: 800; }
.compare tr:last-child td { border-bottom: 0; }
.compare .yes { color: var(--sage-text); }
.compare .no { color: #B8A9B3; }
.compare .icon { display: inline-block; }

/* ---------- Cara kerja ---------- */
.step-card { padding: 1.5rem; height: 100%; position: relative; }
.step-no {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--cta), var(--primary)); color: #fff; font-weight: 800;
  box-shadow: 0 6px 14px -4px rgba(216, 74, 110, .5);
}
.step-card h3 { margin: 1rem 0 .5rem; font-size: 1.0625rem; }
.step-card p { color: var(--muted); font-size: .9375rem; }
.step-card .tag { margin-top: 1rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .75rem; max-width: 52rem; margin: 0 auto; }
.faq details { background: var(--card); border: 1px solid var(--border); border-radius: var(--r-md); transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--sh-1); border-color: #F6D3DB; }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 60px; padding: .75rem 1.5rem; font-weight: 700; cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform .25s ease; color: var(--primary); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq .answer { padding: 0 1.5rem 1.25rem; color: var(--muted); animation: fadeIn .3s ease; }
.faq .answer p + p { margin-top: .5rem; }
.faq-wrap { background: var(--warm); border-radius: var(--r-lg); padding: 1rem; }
@media (min-width: 768px) { .faq-wrap { padding: 2rem; } }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--r-lg); color: #fff; text-align: center;
  padding: 3rem 1.5rem; background: linear-gradient(135deg, #E85D75 0%, #B8315A 100%);
  box-shadow: var(--sh-2);
}
.cta-band::before { content: ""; position: absolute; width: 320px; height: 320px; right: -80px; top: -120px; border-radius: 50%; background: rgba(255,255,255,.1); }
.cta-band::after { content: ""; position: absolute; width: 220px; height: 220px; left: -60px; bottom: -100px; border-radius: 50%; background: rgba(255,255,255,.08); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band p { max-width: 36rem; margin: .75rem auto 0; color: rgba(255,255,255,.92); }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 1.75rem; }
@media (min-width: 768px) { .cta-band { padding: 4.5rem 2rem; } }

/* ---------- Footer ---------- */
.footer { background: var(--warm); border-top: 1px solid var(--border); padding: 3.5rem 0 2rem; margin-top: var(--section); }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.footer h4 { font-size: .875rem; font-weight: 800; margin-bottom: .875rem; }
.footer li a { display: inline-flex; align-items: center; min-height: 36px; color: var(--muted); font-size: .9375rem; }
.footer li a:hover { color: var(--primary-deep); }
.footer-note { color: var(--muted); font-size: .9375rem; max-width: 22rem; margin-top: .875rem; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; justify-content: space-between; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); color: var(--muted); font-size: .875rem; }

/* ---------- Halaman dalam ---------- */
.page-head { padding: 2.5rem 0 1rem; text-align: center; background: linear-gradient(180deg, var(--rose-wash), var(--canvas)); }
.page-head .lead { max-width: 40rem; margin: .75rem auto 0; }
.page-head .eyebrow { margin-bottom: .5rem; }
.breadcrumb { display: flex; justify-content: center; gap: .5rem; font-size: .8125rem; color: var(--muted); margin-bottom: 1rem; }
.breadcrumb a { color: var(--primary-deep); font-weight: 600; }

.prose { max-width: 48rem; margin: 0 auto; }
.prose h2 { font-size: 1.25rem; margin: 2rem 0 .5rem; font-weight: 800; }
.prose p, .prose li { color: #4A3F47; }
.prose p { margin-top: .5rem; }
.prose ul { list-style: disc; padding-left: 1.25rem; margin-top: .5rem; display: grid; gap: .375rem; }
.prose .updated { color: var(--muted); font-size: .875rem; }
.notice { background: var(--lav-tint); border: 1px solid var(--lav-subtle); border-radius: var(--r); padding: 1rem 1.25rem; font-size: .9375rem; color: #4E3A82; margin-top: 1.5rem; }

/* Placeholder Buat Ucapan */
.soon { max-width: 36rem; margin: 3rem auto; text-align: center; padding: 2.5rem 1.5rem; }
.soon .icon-tile { margin: 0 auto 1.25rem; width: 64px; height: 64px; border-radius: 20px; }
.soon .icon-tile .icon { width: 30px; height: 30px; }

/* ---------- Skeleton & status ---------- */
.skeleton { position: relative; overflow: hidden; background: #F3E9EC; border-radius: var(--r-md); }
.skeleton::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.7), transparent); animation: shimmer 1.4s infinite; }
@keyframes shimmer { 100% { transform: translateX(100%); } }
.sk-card { height: 340px; }
.sk-plan { height: 520px; }
.state-box { text-align: center; padding: 2.5rem 1.5rem; border: 1.5px dashed #F2C9D3; border-radius: var(--r-md); background: var(--rose-wash); }
.state-box p { color: var(--muted); margin: .5rem 0 1.25rem; }

/* ---------- Modal demo ---------- */
dialog.modal {
  border: 0; padding: 0; background: transparent; width: min(100vw - 1.5rem, 440px); max-height: 94vh; overflow: visible;
}
dialog.modal::backdrop { background: rgba(38, 28, 36, .6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.modal-box { background: var(--canvas); border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 30px 70px -20px rgba(0,0,0,.5); animation: pop .3s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal-bar { display: flex; align-items: center; justify-content: space-between; padding: .875rem 1rem .875rem 1.5rem; background: #fff; border-bottom: 1px solid var(--border); }
.modal-bar strong { font-size: .9375rem; }
.modal-bar small { display: block; color: var(--muted); font-weight: 500; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--warm); display: grid; place-items: center; }
.icon-btn:hover { background: var(--badge); }
.demo-stage { padding: 1.25rem; display: grid; place-items: center; }
.demo-phone { width: min(100%, 290px); aspect-ratio: 9 / 16; border-radius: 2rem; position: relative; overflow: hidden; box-shadow: 0 20px 40px -16px rgba(60,20,40,.45); }
.demo-layer { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 1.75rem 1.5rem; gap: .875rem; }
.demo-cover .ico { color: var(--tacc); }
.demo-cover .ico .icon { width: 44px; height: 44px; }
.demo-cover h3 { font-size: 1.375rem; font-weight: 800; line-height: 1.25; color: var(--tink); }
.demo-cover p { font-size: .875rem; color: var(--tink); opacity: .85; }
.demo-open { margin-top: .5rem; background: var(--tacc); color: #fff; border: 0; min-height: 44px; padding: 0 1.5rem; border-radius: var(--r-full); font-weight: 700; box-shadow: 0 8px 20px -6px rgba(0,0,0,.35); animation: pulse 2s ease-in-out infinite; }
.theme-cinema .demo-open, .theme-arcade .demo-open { color: #1c1020; }
@keyframes pulse { 0%, 100% { box-shadow: 0 8px 20px -6px rgba(0,0,0,.35), 0 0 0 0 rgba(255,255,255,.0); } 50% { box-shadow: 0 8px 20px -6px rgba(0,0,0,.35), 0 0 0 8px rgba(255,255,255,.35); } }
.demo-msg { opacity: 0; visibility: hidden; transform: translateY(14px); pointer-events: none; transition: opacity .6s ease .15s, transform .6s ease .15s, visibility 0s linear .75s; }
.demo-phone.opened .demo-cover { opacity: 0; visibility: hidden; transform: scale(.96); pointer-events: none; transition: opacity .4s ease, transform .4s ease, visibility 0s linear .4s; }
.demo-phone.opened .demo-msg { opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition: opacity .6s ease .15s, transform .6s ease .15s, visibility 0s; }
.demo-msg .to { font-size: .8125rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--tacc); }
.demo-msg .body { font-size: 1rem; line-height: 1.65; color: var(--tink); font-weight: 600; }
.demo-msg .from { font-size: .875rem; color: var(--tink); opacity: .85; }
.demo-photos { display: flex; gap: .5rem; }
.demo-photos i { width: 54px; height: 66px; border-radius: 12px; background: rgba(255,255,255,.6); border: 1px solid rgba(255,255,255,.7); transform: rotate(-4deg); }
.demo-photos i:nth-child(2) { transform: rotate(3deg) translateY(-4px); }
.demo-photos i:nth-child(3) { transform: rotate(-2deg); }
.particles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.particles span { position: absolute; bottom: -24px; color: var(--tacc); opacity: 0; animation: rise 7s linear infinite; }
.particles .icon { width: 100%; height: 100%; fill: currentColor; stroke: none; }
@keyframes rise { 0% { transform: translateY(0) rotate(0); opacity: 0; } 12% { opacity: .55; } 100% { transform: translateY(-560px) rotate(40deg); opacity: 0; } }
.modal-foot { padding: 1rem 1.25rem 1.25rem; display: grid; gap: .75rem; background: #fff; border-top: 1px solid var(--border); }
.modal-foot .small { color: var(--muted); text-align: center; }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 1.5rem; transform: translate(-50%, 20px); z-index: 300;
  background: var(--ink); color: #fff; padding: .75rem 1.25rem; border-radius: var(--r-full); font-size: .9375rem; font-weight: 600;
  opacity: 0; pointer-events: none; transition: all .25s ease; max-width: calc(100vw - 2rem);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Animasi masuk halaman */
.view { animation: fadeIn .35s ease; }
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Aksesibilitas gerak */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .particles { display: none; }
}

/* Penanda mode pratinjau (hanya muncul bila GAS_URL belum diisi) */
.preview-pill { position: fixed; left: 1rem; bottom: 1rem; z-index: 250; max-width: calc(100vw - 2rem);
  background: #2B2329; color: #fff; font-size: .75rem; font-weight: 600; padding: .5rem .875rem; border-radius: var(--r-full); opacity: .92; }
.preview-pill[hidden] { display: none; }

/* ==========================================================
   FORM BUAT UCAPAN & STATUS (Fase 2)
   ========================================================== */
.form-wrap { max-width: 44rem; margin: 0 auto; }
.form-card { padding: 1.5rem; }
@media (min-width: 768px) { .form-card { padding: 2.25rem; } }
.form-card > h1 { margin-bottom: 1.25rem; outline: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.stepper { margin-bottom: 1.25rem; }
.bar { height: 8px; border-radius: 99px; background: #F3E4E8; overflow: hidden; margin-top: .5rem; }
.bar > span { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--cta), var(--primary)); transition: width .35s ease; }
.dots { display: none; gap: .25rem; margin-top: .75rem; font-size: .75rem; font-weight: 700; color: var(--muted); }
.dots li { flex: 1; text-align: center; padding-top: .25rem; border-top: 3px solid transparent; }
.dots li.done { color: var(--sage-text); border-color: #BFE0C7; }
.dots li.now { color: var(--primary-deep); border-color: var(--primary); }
@media (min-width: 768px) { .dots { display: flex; } }

.field { margin-bottom: 1.25rem; border: 0; padding: 0; min-width: 0; position: relative; }
.field > label, .field > legend { display: block; font-weight: 700; font-size: .9375rem; margin-bottom: .5rem; padding: 0; }
.opt { font-weight: 500; color: var(--muted); }
.input {
  width: 100%; min-height: 48px; padding: .75rem 1rem; font: inherit; color: var(--ink);
  background: var(--canvas); border: 1.5px solid var(--border); border-radius: var(--r); transition: border-color .2s, background-color .2s;
}
.input:focus { outline: none; border-color: var(--focus); background: #fff; box-shadow: 0 0 0 3px rgba(243, 170, 184, .35); }
.textarea { resize: vertical; min-height: 7rem; line-height: 1.55; }
.has-error .input { border-color: #BA1A1A; background: #FFF8F7; }
.hint { color: var(--muted); font-size: .8125rem; margin-top: .375rem; }
.err { display: flex; align-items: flex-start; gap: .375rem; color: #A11313; font-size: .875rem; font-weight: 600; margin-top: .375rem; }
.err .icon { margin-top: .15em; width: 1.05em; height: 1.05em; }
.counter { display: block; text-align: right; font-size: .75rem; color: var(--muted); margin-top: .25rem; }
.counter.over { color: #A11313; font-weight: 700; }

.opt-list { display: grid; gap: .5rem; }
.opt-row, .check { display: flex; gap: .75rem; align-items: flex-start; padding: .875rem 1rem; border: 1.5px solid var(--border); border-radius: var(--r); background: var(--card); cursor: pointer; min-height: 52px; transition: border-color .2s, background-color .2s; }
.opt-row:hover, .check:hover { border-color: var(--focus); }
.opt-row:has(input:checked) { border-color: var(--primary); background: var(--badge); }
.opt-row input, .check input { width: 20px; height: 20px; margin: .1rem 0 0; accent-color: var(--primary); flex: none; }
.opt-row small { display: block; color: var(--muted); font-weight: 400; margin-top: .125rem; }
.check { border: 0; padding: .5rem 0; background: none; cursor: pointer; font-size: .9375rem; }
.check a { color: var(--primary-deep); font-weight: 700; text-decoration: underline; }
.audio { width: 100%; margin: -.125rem 0 .25rem; height: 36px; }

.plan-picks { display: grid; gap: .75rem; }
@media (min-width: 640px) { .plan-picks { grid-template-columns: repeat(3, 1fr); } }
.plan-pick { position: relative; display: flex; flex-direction: column; gap: .375rem; padding: 1.25rem 1rem 1rem; border: 2px solid var(--border); border-radius: var(--r-md); background: var(--card); cursor: pointer; transition: all .2s; }
.plan-pick:hover { border-color: var(--focus); }
.plan-pick.on, .plan-pick:has(input:checked) { border-color: var(--primary); background: var(--badge); box-shadow: var(--sh-2); }
.plan-pick input { position: absolute; opacity: 0; }
.plan-pick:has(input:focus-visible) { outline: 3px solid var(--primary); outline-offset: 3px; }
.pp-name { font-weight: 800; font-size: 1.125rem; }
.pp-price { font-weight: 800; font-size: 1.5rem; letter-spacing: -0.02em; }
.pp-desc { color: var(--muted); font-size: .8125rem; flex: 1; }
.pp-tags { display: flex; flex-wrap: wrap; gap: .375rem; margin-top: .25rem; }
.plan-flag.sm { top: -12px; font-size: .6875rem; padding: .25rem .75rem; }

.dropzone { text-align: center; padding: 1.5rem 1rem; border: 2px dashed #F2C9D3; border-radius: var(--r-md); background: var(--rose-wash); }
.dz-title { display: inline-flex; align-items: center; gap: .5rem; font-weight: 800; margin-bottom: .5rem; }
.dropzone .btn { margin-top: 1rem; }
.btn.disabled { opacity: .6; pointer-events: none; }
.file-list { display: grid; gap: .625rem; }
.file-item { display: flex; align-items: center; gap: .75rem; padding: .625rem; border: 1px solid var(--border); border-radius: var(--r); background: #fff; }
.file-th { position: relative; width: 56px; height: 56px; border-radius: .75rem; overflow: hidden; flex: none; background: var(--lav-tint); display: grid; place-items: center; }
.file-th img { width: 100%; height: 100%; object-fit: cover; }
.file-th .vid { display: grid; place-items: center; color: #4E3A82; font-size: .6875rem; font-weight: 700; }
.file-no { position: absolute; left: 3px; top: 3px; min-width: 20px; height: 20px; padding: 0 4px; display: grid; place-items: center; font-size: .6875rem; font-weight: 800; color: #fff; background: rgba(38, 28, 36, .72); border-radius: 99px; }
.file-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.file-name { font-weight: 600; font-size: .875rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-act { display: flex; gap: .25rem; }
.icon-btn.sm { width: 44px; height: 44px; }
.icon-btn[disabled] { opacity: .35; pointer-events: none; }

.opt-grid { display: grid; gap: .875rem; grid-template-columns: 1fr; }
@media (min-width: 560px) { .opt-grid { grid-template-columns: repeat(2, 1fr); } }
.opt-card { display: flex; flex-direction: column; gap: .5rem; padding: .625rem; border: 2px solid var(--border); border-radius: var(--r-md); background: #fff; transition: border-color .2s; }
.opt-card.on, .opt-card:has(input:checked) { border-color: var(--primary); background: var(--badge); }
.opt-card label { display: flex; flex-direction: column; gap: .5rem; cursor: pointer; position: relative; }
.opt-card input { position: absolute; opacity: 0; }
.opt-card:has(input:focus-visible) { outline: 3px solid var(--primary); outline-offset: 3px; }
.opt-card .design-thumb { border-radius: var(--r); aspect-ratio: 16 / 10; }
.oc-name { font-weight: 700; padding: 0 .25rem; }

.summary { display: grid; gap: 0; margin: 0 0 1rem; }
.sum-row { display: grid; grid-template-columns: 1fr auto; gap: .125rem .75rem; padding: .875rem 0; border-bottom: 1px solid var(--border); }
.sum-row dt { grid-column: 1; font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.sum-row dd { grid-column: 1; margin: 0; overflow-wrap: anywhere; }
.sum-row .link-btn { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
.clip { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.link-btn { background: none; border: 0; color: var(--primary-deep); font-weight: 700; text-decoration: underline; min-height: 44px; padding: 0 .5rem; }
.total-box { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.25rem; border-radius: var(--r); background: var(--rose-wash); border: 1px solid #FBD5DE; margin-bottom: 1rem; }
.total-box strong { font-size: 1.5rem; letter-spacing: -0.02em; }
.notice.warn { background: #FFF6E5; border-color: #F5D98B; color: #6B4A00; }
.pay-progress { margin-top: 1rem; }

.form-nav { display: flex; justify-content: space-between; gap: .75rem; margin-top: 1.25rem; }
.form-nav .btn { min-width: 8.5rem; }
@media (max-width: 480px) { .form-nav .btn { flex: 1; min-width: 0; } }

.status-wrap { max-width: 34rem; margin: 0 auto; }
.status-card { padding: 2rem 1.5rem; text-align: center; display: grid; gap: 1rem; justify-items: center; }
.status-card .icon-tile { width: 64px; height: 64px; border-radius: 20px; }
.status-card .icon-tile .icon { width: 30px; height: 30px; }
.status-card h1 { outline: none; }
.spinner { width: 44px; height: 44px; border-radius: 50%; border: 4px solid #F3E4E8; border-top-color: var(--primary); animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.code-box { width: 100%; display: grid; gap: .5rem; justify-items: center; padding: 1.25rem; border: 2px dashed var(--focus); border-radius: var(--r-md); background: var(--rose-wash); }
.code-label { font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--primary-deep); }
.code { font-size: 1.75rem; font-weight: 800; letter-spacing: .08em; word-break: break-all; }
.order-id { font-weight: 800; font-size: 1.125rem; letter-spacing: .04em; }
@media (prefers-reduced-motion: reduce) { .spinner { animation-duration: 3s !important; animation-iteration-count: infinite !important; } }

/* Elemen yang difokuskan lewat kode (judul langkah, main) tidak perlu cincin fokus */
[tabindex="-1"]:focus, [tabindex="-1"]:focus-visible { outline: none; }

/* Agar field yang difokuskan tidak tertutup header tetap */
.field, .input, .err, .dropzone, #stepTitle { scroll-margin-top: calc(var(--header-h) + 1.5rem); }

/* ==========================================================
   PORTAL PEMBELI (Fase 3)
   ========================================================== */
.portal { max-width: 46rem; margin: 0 auto; }
.portal-bar { display: flex; justify-content: space-between; align-items: center; gap: .75rem; margin-bottom: 1.25rem; flex-wrap: wrap; }
.order-list { display: grid; gap: 1.25rem; }
.order-card { padding: 1.25rem; display: grid; gap: 1rem; margin-bottom: 1.25rem; }
.order-list .order-card { margin-bottom: 0; }
@media (min-width: 640px) { .order-card { padding: 1.75rem; } }
.order-top { display: flex; justify-content: space-between; align-items: flex-start; gap: .75rem; }
.order-act { display: flex; flex-wrap: wrap; gap: .5rem; }
.tl { display: flex; gap: 0; padding: 0; margin: .25rem 0; list-style: none; }
.tl li { flex: 1; position: relative; display: flex; flex-direction: column; align-items: center; gap: .375rem; text-align: center; font-size: .6875rem; font-weight: 700; color: var(--muted); }
.tl li::before { content: ""; position: absolute; top: 11px; left: -50%; width: 100%; height: 3px; background: #F0E4E7; z-index: 0; }
.tl li:first-child::before { display: none; }
.tl li.done::before, .tl li.now::before { background: var(--primary); }
.tl .dot { position: relative; z-index: 1; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 3px solid #F0E4E7; }
.tl .dot .icon { width: 13px; height: 13px; color: #fff; stroke-width: 3; }
.tl li.done .dot { background: var(--primary); border-color: var(--primary); }
.tl li.now .dot { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(216, 74, 110, .18); }
.tl li.now, .tl li.done { color: var(--ink); }
.tl .lbl { line-height: 1.25; padding: 0 .125rem; }
.link-card { padding: .875rem; border: 1px solid var(--border); border-radius: var(--r); background: var(--canvas); }
.link-row { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .375rem; }
.link-row .input { flex: 1 1 14rem; min-width: 0; }
.rev-list { display: grid; gap: .75rem; margin-top: 1rem; padding: 0; list-style: none; }
.rev-list li { padding: .75rem; border: 1px solid var(--border); border-radius: var(--r); background: #fff; }
.akun-box { margin-bottom: 1.5rem; border: 1.5px solid var(--border); border-radius: var(--r); background: var(--rose-wash); }
.akun-box summary { min-height: 52px; display: flex; align-items: center; padding: 0 1rem; font-weight: 700; cursor: pointer; }
.akun-isi { padding: 0 1rem 1rem; }

/* ==========================================================
   PELACAK TAHAPAN (halaman status) & PROGRES PEMBUATAN AKUN
   ========================================================== */
.steps-track { display: grid; gap: .875rem; width: 100%; text-align: left; margin: .25rem 0; padding: 1rem 1.125rem; border: 1px solid var(--border); border-radius: var(--r); background: var(--canvas); list-style: none; }
.steps-track li { display: grid; grid-template-columns: 28px 1fr; gap: .75rem; align-items: start; color: var(--muted); }
.steps-track li strong { display: block; color: var(--ink); font-size: .9375rem; }
.steps-track li small { display: block; font-size: .8125rem; margin-top: .125rem; }
.steps-track li.next strong { color: var(--muted); font-weight: 600; }
.st-dot { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--border); font-size: .75rem; font-weight: 800; color: var(--muted); }
.steps-track li.done .st-dot { background: var(--primary); border-color: var(--primary); color: #fff; }
.steps-track li.done .st-dot .icon { width: 14px; height: 14px; stroke-width: 3; }
.steps-track li.now .st-dot { border-color: var(--primary); }
.st-spin { width: 14px; height: 14px; border-radius: 50%; border: 2.5px solid #F3D3DB; border-top-color: var(--primary); animation: spin .9s linear infinite; display: block; }
.proses-box { display: grid; gap: .875rem; justify-items: center; text-align: center; padding: 1.5rem .5rem; }
.proses-box .spinner { width: 52px; height: 52px; }
.proses-box .bar { width: min(100%, 18rem); }
.proses-box .bar > span { width: 40%; animation: geser 1.4s ease-in-out infinite; }
@keyframes geser { 0% { margin-left: -40%; } 100% { margin-left: 100%; } }
@media (prefers-reduced-motion: reduce) { .st-spin { animation-duration: 3s !important; animation-iteration-count: infinite !important; } .proses-box .bar > span { animation: none; width: 60%; } }

/* ---------- Langkah Kejutan Akhir ---------- */
.kej-grid { display: grid; gap: .75rem; grid-template-columns: 1fr; }
@media (min-width: 560px) { .kej-grid { grid-template-columns: 1fr 1fr; } }
.kej-card { display: flex; flex-direction: column; border: 2px solid var(--border); border-radius: var(--r-md); background: var(--card); overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.kej-card.on, .kej-card:has(input:checked) { border-color: var(--primary); background: var(--badge); box-shadow: var(--sh-2); }
.kej-card:has(input:focus-visible) { outline: 3px solid var(--primary); outline-offset: 3px; }
.kej-card label { display: grid; gap: .25rem; padding: .9rem 1rem .5rem; cursor: pointer; flex: 1; position: relative; }
.kej-card input[type=radio] { position: absolute; opacity: 0; }
.kc-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--badge); color: var(--primary); margin-bottom: .25rem; }
.kej-card.on .kc-ico { background: var(--primary); color: #fff; } .kc-ico .icon { width: 22px; height: 22px; }
.kej-card small { color: var(--muted); font-size: .8125rem; line-height: 1.45; }
.kc-demo { display: inline-flex; align-items: center; gap: .35rem; padding: .25rem 1rem .75rem; min-height: 44px; font-weight: 800; font-size: .875rem; color: var(--primary-deep); text-decoration: none; }
.kc-demo:hover { text-decoration: underline; } .kc-demo .icon { width: 1em; height: 1em; }
.kej-detail { padding: 1rem; border: 1px dashed #F2C9D3; border-radius: var(--r); background: var(--rose-wash); margin-bottom: 1.25rem; }
.kej-sub { padding: .875rem; border: 1px solid var(--border); border-radius: var(--r); background: #fff; margin-bottom: .75rem; }
.kej-opsi { display: flex; align-items: center; gap: .625rem; margin-bottom: .5rem; } .kej-opsi input[type=radio] { width: 22px; height: 22px; accent-color: var(--primary); flex: none; } .kej-opsi .input { flex: 1; }

/* ---------- Demo interaktif di katalog ---------- */
.demo-stage { padding: .75rem; display: grid; place-items: center; background: var(--canvas); }
.demo-frame { width: min(100%, 320px); height: min(66vh, 560px); border: 0; border-radius: 1.5rem; background: #fff; box-shadow: 0 20px 40px -16px rgba(60, 20, 40, .45); }
.demo-jenis { display: flex; flex-wrap: wrap; gap: .375rem; align-items: center; justify-content: center; padding: .5rem 1rem .75rem; background: #fff; border-top: 1px solid var(--border); }
.demo-jenis .chip { min-height: 38px; padding: 0 .9rem; font-size: .8125rem; } .demo-jenis .chip.on { background: var(--badge); border-color: var(--primary); color: var(--primary-deep); }
dialog.modal { width: min(100vw - 1rem, 460px); }

/* ---------- Isian desain Premium & ide Special ---------- */
.url-pre { display: flex; align-items: center; border: 1.5px solid var(--border); border-radius: var(--r); background: #fff; overflow: hidden; } .url-pre span { padding: 0 .6rem; color: var(--muted); font-size: .875rem; white-space: nowrap; background: var(--canvas); align-self: stretch; display: flex; align-items: center; } .url-pre .input { border: 0; flex: 1; min-width: 0; border-radius: 0; }
.sk-grup { border: 1px solid var(--border); border-radius: var(--r); padding: .9rem; margin-bottom: 1rem; background: var(--canvas); } .sk-grup > legend { font-weight: 800; padding: 0 .4rem; }
.sk-foto { display: flex; gap: .6rem; align-items: center; } .sk-foto .input { flex: 1; min-width: 0; } .sk-thumb { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; flex: none; background: var(--badge); border: 1px solid var(--border); display: grid; place-items: center; color: var(--muted); } .sk-thumb .icon { width: 22px; height: 22px; }

/* ---------- Sorotan paket terfavorit (di tengah, lebih menonjol) ---------- */
.plan-fav { border: 2px solid transparent; background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, var(--primary), #FF9A62) border-box; box-shadow: 0 28px 56px -22px rgba(232, 93, 117, .6); }
.plan-fav .plan-flag { display: inline-flex; align-items: center; gap: .35rem; left: 50%; right: auto; transform: translateX(-50%); top: -15px; background: linear-gradient(135deg, var(--primary), #FF9A62); color: #fff; padding: .35rem 1rem; font-weight: 800; white-space: nowrap; box-shadow: 0 8px 16px -6px rgba(232, 93, 117, .7); } .plan-fav .plan-flag .icon { width: 14px; height: 14px; }
@media (min-width: 900px) { .plan-fav { transform: translateY(-20px) scale(1.045); z-index: 2; } .pricing { padding-top: 1.5rem; } }
@media (max-width: 899px) { .plan-fav { order: -1; } }
.plan-pick.fav { border-color: var(--primary); box-shadow: var(--sh-2); }

/* ---------- Draf Saya ---------- */
.draf-panel { margin-bottom: 1rem; display: grid; gap: .6rem; } .draf-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.draf-list li { display: flex; align-items: center; gap: .5rem; padding: .6rem .75rem; border: 1px solid var(--border); border-radius: var(--r); background: #fff; } .draf-list li.on { border-color: var(--primary); background: var(--badge); }
.draf-list li > div { flex: 1; min-width: 0; display: grid; } .draf-list strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .draf-list small { color: var(--muted); }

/* ---------- Isi Desain bertahap ---------- */
.simpan-info { display: flex; align-items: center; gap: .4rem; font-size: .8125rem; color: var(--muted); margin: -.25rem 0 .75rem; } .simpan-info .icon { width: 14px; height: 14px; color: #2E7D32; }
.sk-langkah { list-style: none; margin: 0 0 1rem; padding: 0; display: flex; gap: .35rem; overflow-x: auto; }
.sk-langkah li { display: flex; align-items: center; gap: .35rem; flex: none; padding: .3rem .65rem; border-radius: 99px; background: var(--canvas); border: 1px solid var(--border); font-size: .75rem; font-weight: 700; color: var(--muted); }
.sk-langkah li .no { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid var(--border); font-size: .6875rem; } .sk-langkah li .no .icon { width: 12px; height: 12px; }
.sk-langkah li.on { background: var(--badge); border-color: var(--primary); color: var(--primary-deep); } .sk-langkah li.on .no { background: var(--primary); color: #fff; border-color: var(--primary); } .sk-langkah li.lalu .no { background: #2E7D32; color: #fff; border-color: #2E7D32; }
.sk-judul { display: flex; align-items: center; justify-content: space-between; gap: .5rem; flex-wrap: wrap; margin-bottom: .75rem; } .sk-judul h2 { margin: 0; }
details.sk-opsional { border: 1px dashed var(--border); border-radius: var(--r); padding: 0 .85rem; margin: .5rem 0 1rem; background: #fff; } details.sk-opsional summary { min-height: 44px; display: flex; align-items: center; cursor: pointer; font-weight: 700; font-size: .875rem; color: var(--muted); } details.sk-opsional[open] { padding-bottom: .5rem; }

/* ---------- Halaman Kontak ---------- */
.kontak-grid { display: grid; gap: 1rem; } .kontak-kartu { display: flex; align-items: center; gap: 1rem; padding: 1.25rem; text-decoration: none; color: inherit; } .kontak-kartu > div { display: grid; } .kontak-kartu strong { font-size: 1.0625rem; } .kontak-kartu span:not(.icon-tile) { color: var(--muted); word-break: break-all; }
.kontak-jam { display: flex; align-items: center; gap: .5rem; justify-content: center; margin-top: 1.25rem; color: var(--muted); font-weight: 600; } .kontak-jam .icon { width: 18px; height: 18px; }

.chat-list { list-style: none; margin: .75rem 0 0; padding: 0; display: grid; gap: .6rem; max-height: 24rem; overflow-y: auto; } .chat-list li { padding: .65rem .85rem; border-radius: 14px; } .chat-list p { margin: .25rem 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.chat-pem { background: var(--canvas); border: 1px solid var(--border); margin-right: 1.5rem; } .chat-adm { background: var(--badge); border: 1px solid #F2C9D3; margin-left: 1.5rem; }

/* ---------- Demo: tampilan HP vs Desktop ---------- */
.demo-mode { display: flex; gap: .4rem; justify-content: center; padding: .6rem 1rem 0; } .demo-mode .chip.on { background: var(--badge); border-color: var(--primary); color: var(--primary-deep); }
dialog.modal.demo-desk { width: min(100vw - 1rem, 1100px); max-width: min(100vw - 1rem, 1100px); }
/* Mode desktop: demo dirender pada ukuran layar komputer sungguhan (1280×720) lalu diperkecil agar muat, sehingga tidak terpotong dan tidak perlu menggulir. */
dialog.modal.demo-desk .demo-stage { display: block; position: relative; padding: 0; height: calc(var(--demo-h, 560px) + 2rem); }
dialog.modal.demo-desk .demo-frame { position: absolute; top: 1rem; left: 50%; width: 1280px; height: 720px; max-width: none; margin-left: -640px; border-radius: .5rem; transform-origin: top center; transform: scale(var(--demo-k, .8)); }
@media (max-width: 700px) { .demo-mode { display: none; } }

/* ---------- Keranjang draf (bayar beberapa ucapan sekaligus) ---------- */
.draf-list li { flex-wrap: wrap; } .draf-cek { display: grid; place-items: center; width: 44px; height: 44px; cursor: pointer; } .draf-cek input { width: 22px; height: 22px; accent-color: var(--primary); }
.draf-siap { color: #2E7D32; font-weight: 700; } .draf-belum { color: #B3261E; font-weight: 600; }
.draf-bar { display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap; padding: .75rem 1rem; border-radius: var(--r); background: var(--badge); } .draf-aksi { display: flex; gap: .5rem; flex-wrap: wrap; }
.draf-prog { padding: .75rem 1rem; border-radius: var(--r); background: #fff; border: 1px solid var(--border); } .draf-prog p { margin: 0 0 .4rem; font-weight: 600; } .draf-prog.galat { border-color: #F2B8B5; background: #FFF4F3; } .draf-prog .bar { height: 8px; border-radius: 99px; background: var(--border); overflow: hidden; } .draf-prog .bar span { display: block; height: 100%; background: var(--primary); transition: width .3s; }
.grup-list ul { list-style: none; margin: .75rem 0 0; padding: 0; display: grid; gap: .5rem; } .grup-list li { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .6rem .8rem; border: 1px solid var(--border); border-radius: var(--r); background: #fff; flex-wrap: wrap; } .grup-list li > div { display: grid; } .grup-list small { color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }

/* ---------- Paket khusus undangan (Invitation) ---------- */
.inv-wrap { margin-top: 2.5rem; } .inv-judul { margin: 0 0 1rem; text-align: center; font-size: 1.25rem; color: var(--muted); font-weight: 700; }
.inv-card { display: grid; gap: 1.5rem; padding: 1.75rem; background: linear-gradient(135deg, #FFFCF4, #FFF1D6); border: 1.5px solid #E8CF8A; box-shadow: var(--sh-2); } @media (min-width: 800px) { .inv-card { grid-template-columns: 1fr 1.1fr; align-items: center; padding: 2rem 2.25rem; } }
.inv-label { display: inline-flex; align-items: center; gap: .4rem; margin: 0 0 .6rem; padding: .25rem .8rem; border-radius: 99px; background: #fff; border: 1px solid #E8CF8A; color: #8A6B1E; font-weight: 800; font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; } .inv-label .icon { width: 14px; height: 14px; }
.inv-nama { margin: 0; font-size: 1.9rem; } .inv-nama small { display: block; font-size: .95rem; font-weight: 600; color: #8A6B1E; margin-top: .1rem; } .inv-tag { margin: .6rem 0; color: var(--muted); } .inv-harga { margin: .3rem 0 0; font-size: 1.75rem; font-weight: 800; color: #6B4E0F; } .inv-meta { margin: 0 0 1rem; color: var(--muted); font-size: .875rem; }
.inv-fitur { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; } .inv-fitur li { display: flex; gap: .6rem; align-items: flex-start; font-size: .9375rem; } .inv-fitur .icon { width: 18px; height: 18px; flex: none; margin-top: .1rem; color: #2E7D32; } .inv-fitur li.no { color: var(--muted); } .inv-fitur li.no .icon { color: var(--muted); }
.plan-pick.segera { opacity: .6; cursor: not-allowed; } .plan-pick.segera input { cursor: not-allowed; }

.sk-galeri { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: .5rem; } .sk-gal { position: relative; display: block; border-radius: 12px; overflow: hidden; border: 3px solid transparent; cursor: pointer; } .sk-gal img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; } .sk-gal input { position: absolute; opacity: 0; inset: 0; cursor: pointer; } .sk-gal span { position: absolute; left: 4px; top: 4px; min-width: 22px; height: 22px; display: grid; place-items: center; border-radius: 99px; background: rgba(0, 0, 0, .55); color: #fff; font-size: .75rem; font-weight: 700; } .sk-gal.on { border-color: var(--primary); } .sk-gal.on::after { content: "✓"; position: absolute; right: 4px; bottom: 4px; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--primary); color: #fff; font-size: .8rem; }

/* ---------- Portal: jawaban tamu (RSVP) ---------- */
.rsvp-ring { display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem; margin: .75rem 0; } @media (min-width: 640px) { .rsvp-ring { grid-template-columns: repeat(4, 1fr); } } .rsvp-ring div { display: grid; padding: .8rem; border-radius: var(--r); background: var(--canvas); border: 1px solid var(--border); text-align: center; } .rsvp-ring b { font-size: 1.6rem; } .rsvp-ring span { font-size: .75rem; color: var(--muted); }
.rsvp-alat { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: .75rem; } .rsvp-list { list-style: none; margin: .5rem 0 0; padding: 0; display: grid; gap: .5rem; } .rsvp-list li { display: flex; gap: .6rem; justify-content: space-between; align-items: flex-start; padding: .7rem .85rem; border: 1px solid var(--border); border-radius: var(--r); background: #fff; } .rsvp-list li > div { min-width: 0; } .rsvp-list p { margin: .25rem 0; overflow-wrap: anywhere; }
.rsvp-tautan { margin: .5rem 0; padding: .4rem .85rem; border: 1px dashed var(--border); border-radius: var(--r); } .rsvp-tautan summary { min-height: 44px; display: flex; align-items: center; cursor: pointer; font-weight: 700; } .rsvp-tautan textarea { margin: .5rem 0; font-family: monospace; font-size: .8rem; }
