/* Anza Invitation — gaya website utama
   Palet: #C5ADED #F8ABEB #FFC8DD #BCE0FF #A2D2FF + indigo tua untuk teks */
:root {
  --lav: #C5ADED; --pink: #F8ABEB; --rose: #FFC8DD; --ice: #BCE0FF; --sky: #A2D2FF;
  --ink: #15096b; --ink-2: #4a4285; --ink-3: #7b75a8;
  --bg: #f8f5ff; --card: #ffffff; --line: rgba(21, 9, 107, .1);
  --grad: linear-gradient(120deg, var(--lav), var(--pink) 30%, var(--rose) 50%, var(--ice) 75%, var(--sky));
  --grad-ink: linear-gradient(120deg, #6b3fd1, #c845b0 50%, #3d7ce0);
  --radius: 22px;
  --shadow: 0 24px 60px -30px rgba(21, 9, 107, .35);
  --ease: cubic-bezier(.22, .8, .24, 1);
  --head: 'Outfit', system-ui, sans-serif;
  --body: 'Plus Jakarta Sans', system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.1; margin: 0; letter-spacing: -.02em; }
.wrap { width: min(1160px, 100% - 32px); margin: 0 auto; }
.grad-text { background: var(--grad-ink); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.eyebrow::before { content: ''; width: 18px; height: 6px; border-radius: 3px; background: var(--grad); }

/* latar blob bergerak */
.blobs { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.blobs i { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; }
.blobs i:nth-child(1) { width: 520px; height: 520px; background: var(--lav); top: -160px; left: -120px; animation: b1 20s ease-in-out infinite alternate; }
.blobs i:nth-child(2) { width: 460px; height: 460px; background: var(--pink); top: 20%; right: -160px; animation: b2 24s ease-in-out infinite alternate; }
.blobs i:nth-child(3) { width: 520px; height: 520px; background: var(--sky); bottom: -220px; left: 20%; animation: b1 26s ease-in-out infinite alternate-reverse; }
@keyframes b1 { to { transform: translate(120px, 80px) scale(1.15); } }
@keyframes b2 { to { transform: translate(-100px, 140px) scale(.9); } }

/* tombol */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 999px; border: 0;
  font-weight: 700; font-size: 15px; transition: transform .35s var(--ease), box-shadow .35s, background .3s; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-ink { background: var(--ink); color: #fff; box-shadow: 0 14px 30px -14px rgba(21,9,107,.6); }
.btn-ink:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -14px rgba(21,9,107,.7); }
.btn-wa { background: #1faa59; color: #fff; box-shadow: 0 14px 30px -14px rgba(31,170,89,.7); }
.btn-wa:hover { transform: translateY(-2px); background: #1b9a50; }
.btn-soft { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn-soft:hover { transform: translateY(-2px); border-color: var(--lav); }
.btn-grad { background: var(--grad); color: var(--ink); background-size: 200% 100%; animation: slide 6s ease-in-out infinite alternate; }
.btn-grad:hover { transform: translateY(-2px); }
@keyframes slide { to { background-position: 100% 0; } }

/* navbar */
.nav { position: sticky; top: 0; z-index: 50; padding: 12px 0; transition: background .3s, box-shadow .3s; }
.nav.scrolled { background: rgba(248,245,255,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--head); font-weight: 700; font-size: 20px; }
.logo-mark { width: 38px; height: 38px; border-radius: 12px; background: var(--grad); display: grid; place-items: center; color: var(--ink); font-size: 19px; font-weight: 800; box-shadow: inset 0 0 0 1px rgba(255,255,255,.6); }
.logo small { display: block; font-family: var(--body); font-size: 10px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); margin-top: 2px; }
.menu { display: flex; align-items: center; gap: 4px; }
.menu a { padding: 8px 12px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--ink-2); transition: background .25s, color .25s; }
.menu a:hover, .menu a.on { background: #fff; color: var(--ink); }
.menu .soon { font-size: 9px; font-weight: 700; padding: 2px 6px; border-radius: 6px; background: var(--rose); color: var(--ink); margin-left: 4px; vertical-align: 2px; }
.burger { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: #fff; place-items: center; }
.burger span, .burger span::before, .burger span::after { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); position: relative; transition: transform .3s, background .3s; }
.burger span::before, .burger span::after { content: ''; position: absolute; left: 0; }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
.nav-open .burger span { background: transparent; }
.nav-open .burger span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .burger span::after { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 920px) {
  .burger { display: grid; }
  .menu { position: fixed; left: 16px; right: 16px; top: 72px; flex-direction: column; align-items: stretch; gap: 2px; padding: 10px; background: #fff; border-radius: 20px; box-shadow: var(--shadow);
    opacity: 0; transform: translateY(-10px) scale(.98); pointer-events: none; transition: all .3s var(--ease); }
  .menu a { padding: 12px 14px; }
  .nav-open .menu { opacity: 1; transform: none; pointer-events: auto; }
  .nav .btn-wa.desk { display: none; }
}

/* reveal */
[data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
[data-reveal].in { opacity: 1; transform: none; }

/* hero */
.hero { padding: 40px 0 70px; overflow-x: clip; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(40px, 6.2vw, 72px); font-weight: 700; margin: 16px 0 18px; }
.hero p.lead { font-size: 18px; color: var(--ink-2); max-width: 520px; margin: 0 0 28px; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .proof { display: flex; gap: 22px; margin-top: 30px; flex-wrap: wrap; }
.hero .proof div { font-size: 13px; color: var(--ink-3); }
.hero .proof b { display: block; font-family: var(--head); font-size: 24px; color: var(--ink); }
.phones { position: relative; height: 560px; }
.phones .phone { position: absolute; }
.phones .phone:nth-child(1) { left: 2%; top: 60px; transform: rotate(-8deg); animation: bob 7s ease-in-out infinite; z-index: 1; }
.phones .phone:nth-child(2) { left: 30%; top: 0; z-index: 3; animation: bob 6s ease-in-out .8s infinite; }
.phones .phone:nth-child(3) { right: 0; top: 70px; transform: rotate(8deg); animation: bob 8s ease-in-out .4s infinite; z-index: 2; }
@keyframes bob { 50% { translate: 0 -14px; } }
@media (max-width: 920px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .phones { height: 470px; margin: 0 -8px; }
  .phones .phone { --w: 190px !important; }
  .phones .phone:nth-child(1) { left: -2%; top: 50px; }
  .phones .phone:nth-child(2) { left: 50%; margin-left: -95px; }
  .phones .phone:nth-child(3) { right: -2%; top: 60px; }
}

/* mockup HP berisi template hidup */
.phone {
  --w: 230px; width: var(--w); aspect-ratio: 390 / 820; border-radius: calc(var(--w) * .14); padding: calc(var(--w) * .035);
  background: linear-gradient(145deg, #2a2160, #0d0640); box-shadow: 0 40px 70px -30px rgba(21,9,107,.55), inset 0 0 0 1.5px rgba(255,255,255,.12);
}
.phone .screen { position: relative; width: 100%; height: 100%; border-radius: calc(var(--w) * .11); overflow: hidden; background: #fff; }
.phone .screen::before { content: ''; position: absolute; top: 8px; left: 50%; width: 30%; height: calc(var(--w) * .06); margin-left: -15%; border-radius: 999px; background: #0d0640; z-index: 3; }
.phone iframe { position: absolute; top: 0; left: 0; width: 390px; height: 844px; border: 0; transform-origin: 0 0; transform: scale(var(--s, .5)); pointer-events: none; }
.phone.live iframe { pointer-events: auto; }

/* section umum */
section.block { padding: 80px 0; }
.sec-head { max-width: 640px; margin-bottom: 40px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head h2 { font-size: clamp(30px, 4.4vw, 46px); margin: 12px 0 12px; }
.sec-head p { color: var(--ink-2); margin: 0; }

/* kategori */
.cats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
@media (max-width: 920px) { .cats { grid-template-columns: repeat(2, 1fr); } .cats .cat:first-child { grid-column: span 2; } }
.cat { position: relative; padding: 22px 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s; min-height: 170px; display: flex; flex-direction: column; justify-content: space-between; }
.cat:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.cat .ic { width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; font-size: 24px; }
.cat h3 { font-size: 19px; margin-top: 16px; }
.cat p { font-size: 13px; color: var(--ink-3); margin: 4px 0 0; }
.cat .tag { position: absolute; top: 16px; right: 16px; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.cat .tag.ok { background: #e3f8ea; color: #137a3d; }
.cat .tag.soon { background: var(--bg); color: var(--ink-3); }
.cat.off { opacity: .85; }
.cat::after { content: ''; position: absolute; right: -40px; bottom: -40px; width: 120px; height: 120px; border-radius: 50%; opacity: .45; background: var(--c, var(--lav)); transition: transform .5s var(--ease); }
.cat:hover::after { transform: scale(1.4); }

/* langkah */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: st; }
@media (max-width: 920px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.step { background: rgba(255,255,255,.7); border: 1px solid rgba(255,255,255,.9); border-radius: var(--radius); padding: 24px; backdrop-filter: blur(10px); }
.step::before { counter-increment: st; content: counter(st); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--grad); font-family: var(--head); font-weight: 700; margin-bottom: 14px; }
.step h3 { font-size: 18px; margin-bottom: 6px; }
.step p { margin: 0; font-size: 14px; color: var(--ink-2); }

/* fitur */
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 920px) { .feats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .feats { grid-template-columns: 1fr; } }
.feat { background: #fff; border-radius: var(--radius); padding: 22px; border: 1px solid var(--line); }
.feat .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--bg); margin-bottom: 12px; }
.feat .ic svg { width: 22px; height: 22px; }
.feat h3 { font-size: 17px; margin-bottom: 4px; }
.feat p { margin: 0; font-size: 14px; color: var(--ink-2); }

/* kartu template */
.tpl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 920px) { .tpl-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .tpl-grid { grid-template-columns: 1fr; } }
.tpl { background: #fff; border-radius: 28px; border: 1px solid var(--line); overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s; display: flex; flex-direction: column; }
.tpl:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.tpl .stage { position: relative; padding: 26px 0 0; display: grid; place-items: center; background: var(--tint, var(--bg)); overflow: hidden; height: 400px; }
.tpl .stage .phone { --w: 210px; transform: translateY(18px); transition: transform .6s var(--ease); }
.tpl:hover .stage .phone { transform: translateY(4px); }
.tpl .no { position: absolute; top: 16px; left: 16px; z-index: 2; background: var(--ink); color: #fff; font-family: var(--head); font-weight: 700; font-size: 13px; padding: 6px 12px; border-radius: 999px; }
.tpl .body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.tpl h3 { font-size: 22px; }
.tpl p { margin: 0; color: var(--ink-2); font-size: 14px; flex: 1; }
.swatches { display: flex; gap: 6px; }
.swatches i { width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.tpl .acts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 4px; }
.tpl .acts .btn { padding: 11px 12px; font-size: 14px; }

/* tab kategori */
.tabs { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 10px; margin-bottom: 26px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a { flex: none; padding: 10px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: 14px; color: var(--ink-2); transition: all .3s; }
.tabs a.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.tabs a .count { margin-left: 6px; font-size: 12px; opacity: .6; }

.empty { text-align: center; padding: 60px 20px; background: #fff; border-radius: 28px; border: 1px dashed var(--lav); }
.empty .ic { font-size: 46px; }
.empty h3 { font-size: 24px; margin: 10px 0 6px; }
.empty p { color: var(--ink-2); max-width: 420px; margin: 0 auto 20px; }

/* CTA */
.cta { position: relative; border-radius: 34px; padding: 54px 40px; overflow: hidden; background: var(--ink); color: #fff; display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: center; }
.cta::before { content: ''; position: absolute; width: 500px; height: 500px; right: -120px; top: -200px; border-radius: 50%; background: var(--grad); opacity: .55; filter: blur(40px); animation: b1 14s ease-in-out infinite alternate; }
.cta > * { position: relative; }
.cta h2 { font-size: clamp(28px, 4vw, 42px); }
.cta p { color: rgba(255,255,255,.75); margin: 12px 0 0; }
.cta .acts { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
@media (max-width: 760px) { .cta { grid-template-columns: 1fr; padding: 40px 24px; } .cta .acts { justify-content: flex-start; } }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 4px 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 0; font-weight: 700; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 22px; line-height: 1; color: var(--ink-3); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 16px; color: var(--ink-2); }

/* detail template */
.detail { display: grid; grid-template-columns: 420px 1fr; gap: 56px; align-items: start; padding: 30px 0 80px; }
@media (max-width: 920px) { .detail { grid-template-columns: 1fr; gap: 30px; } }
.detail .stage { position: sticky; top: 90px; display: grid; place-items: center; padding: 30px 0; border-radius: 34px; background: var(--tint, #fff); }
@media (max-width: 920px) { .detail .stage { position: relative; top: 0; } }
.detail .stage .phone { --w: 300px; }
@media (max-width: 380px) { .detail .stage .phone { --w: 260px; } }
.detail .hint { font-size: 12px; color: var(--ink-3); margin-top: 14px; }
.detail h1 { font-size: clamp(36px, 5vw, 56px); margin: 12px 0 14px; }
.detail .lead { font-size: 18px; color: var(--ink-2); margin: 0 0 22px; }
.detail .badge-no { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 700; font-family: var(--head); }
.flist { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 26px 0; padding: 0; list-style: none; }
@media (max-width: 520px) { .flist { grid-template-columns: 1fr; } }
.flist li { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; font-size: 14px; font-weight: 600; }
.flist li::before { content: ''; flex: none; width: 22px; height: 22px; border-radius: 7px; background: var(--grad) ; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect width='24' height='24' rx='7'/%3E%3C/svg%3E"); }
.detail .acts { display: flex; gap: 10px; flex-wrap: wrap; }
.detail .note { margin-top: 16px; font-size: 13px; color: var(--ink-3); }
.included { margin-top: 34px; background: #fff; border-radius: 24px; padding: 24px; border: 1px solid var(--line); }
.included h3 { font-size: 18px; margin-bottom: 10px; }
.included p { margin: 0; color: var(--ink-2); font-size: 15px; }

/* floating WA */
.fab-wa { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: #1faa59; color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(31,170,89,.7); transition: transform .3s var(--ease); }
.fab-wa:hover { transform: scale(1.08); }
.fab-wa svg { width: 28px; height: 28px; }
.fab-wa::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #1faa59; animation: ripple 2s infinite; }
@keyframes ripple { to { transform: scale(1.6); opacity: 0; } }

/* footer */
footer.site { padding: 50px 0 40px; border-top: 1px solid var(--line); margin-top: 40px; }
footer.site .wrap { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
footer.site p { color: var(--ink-3); font-size: 14px; max-width: 340px; }
footer.site h4 { font-size: 14px; margin-bottom: 10px; }
footer.site ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: 14px; color: var(--ink-2); }
footer.site .copy { width: 100%; font-size: 13px; color: var(--ink-3); border-top: 1px solid var(--line); padding-top: 20px; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } [data-reveal] { opacity: 1; transform: none; } }
