:root {
  --bg: #fffaf7;
  --ink: #221430;
  --muted: #6c5a75;
  --pink: #ff3d7f;
  --purple: #7b2ff7;
  --gold: #e8c46a;
  --line: #f1e3ea;
  --radius: 22px;
  --shadow: 0 14px 40px rgba(123, 47, 247, 0.10);
  --grad: linear-gradient(135deg, #ff3d7f, #a445ff 55%, #7b2ff7);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; font-family: Poppins, "Segoe UI", system-ui, sans-serif; background: var(--bg); color: var(--ink); line-height: 1.55; overflow-x: hidden; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.12; margin: 0 0 .5em; }
h2 { font-family: "Playfair Display", Georgia, serif; font-size: clamp(1.9rem, 4.5vw, 2.8rem); text-align: center; }
.eyebrow { text-align: center; text-transform: uppercase; letter-spacing: .2em; font-size: .78rem; font-weight: 700; color: var(--pink); margin: 0 0 8px; }
.eyebrow.light { color: var(--gold); text-align: left; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 24px; padding: 14px 5vw; background: rgba(255, 250, 247, .78); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.logo { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 1.15rem; text-decoration: none; }
.logo-mark { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: var(--grad); font-size: 1.1rem; box-shadow: 0 6px 16px rgba(255, 61, 127, .35); }
.nav nav { margin-left: auto; }
.nav nav a { margin-left: 22px; text-decoration: none; color: var(--muted); font-weight: 500; font-size: .95rem; }
.nav nav a:hover { color: var(--pink); }

/* Buttons */
.btn { display: inline-block; padding: 14px 26px; border-radius: 999px; font: inherit; font-weight: 600; text-decoration: none; border: 0; cursor: pointer; font-size: 1rem; transition: transform .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); }
.btn.small { padding: 9px 18px; font-size: .9rem; }
.btn.primary { background: var(--grad); color: #fff; box-shadow: 0 10px 26px rgba(164, 69, 255, .35); }
.btn.primary:hover { box-shadow: 0 14px 34px rgba(164, 69, 255, .5); }
.btn.ghost { background: #fff; border: 1.5px solid var(--line); box-shadow: 0 4px 14px rgba(0, 0, 0, .04); }
.btn.gold { background: linear-gradient(135deg, #fff1c1, var(--gold)); color: #4a0f1c; }
.btn.full { width: 100%; }

/* Hero */
.hero { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center; padding: 70px 5vw 60px; max-width: 1240px; margin: auto; }
.mesh { position: absolute; inset: -80px 0 0; z-index: -1; overflow: hidden; pointer-events: none; }
.mesh i { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .45; animation: drift 16s ease-in-out infinite alternate; }
.mesh i:nth-child(1) { width: 520px; height: 520px; background: #ffb3cf; top: -120px; left: 10%; }
.mesh i:nth-child(2) { width: 460px; height: 460px; background: #d6b8ff; top: 60px; right: 5%; animation-delay: -6s; }
.mesh i:nth-child(3) { width: 360px; height: 360px; background: #ffd7b0; bottom: -100px; left: 40%; animation-delay: -10s; }
@keyframes drift { to { transform: translate(60px, 40px) scale(1.1); } }
.pill { display: inline-block; background: #fff; border: 1px solid var(--line); color: var(--pink); padding: 7px 16px; border-radius: 999px; font-weight: 600; font-size: .85rem; box-shadow: 0 4px 14px rgba(255, 61, 127, .1); }
.hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.3rem); font-weight: 800; letter-spacing: -.02em; margin-top: 18px; }
.hero h1 em { font-family: "Playfair Display", serif; font-style: italic; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sub { font-size: 1.15rem; color: var(--muted); max-width: 520px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 34px; }
.stats { display: flex; gap: 30px; flex-wrap: wrap; }
.stats b { display: block; font-size: 1.45rem; }
.stats span { color: var(--muted); font-size: .85rem; }

.hero-art { position: relative; height: 540px; }
.phone { border-radius: 38px; padding: 10px; background: #1c0f22; box-shadow: 0 40px 80px rgba(42, 21, 48, .3); aspect-ratio: 9 / 18.5; }
.phone { overflow: hidden; }
.phone .screen { width: 100%; height: 100%; border-radius: 30px; overflow: hidden; position: relative; background: #fff; }
.phone iframe { position: absolute; top: 0; left: 0; width: 390px; height: 802px; border: 0; pointer-events: none; transform-origin: 0 0; }
.hero-art .phone { position: absolute; width: 240px; }
.p1 { left: 4%; top: 30px; transform: rotate(-6deg); z-index: 2; animation: bob 6s ease-in-out infinite; }
.p2 { right: 4%; top: 0; transform: rotate(5deg); animation: bob 6s -3s ease-in-out infinite; }
@keyframes bob { 50% { translate: 0 -14px; } }
.float-chip { position: absolute; z-index: 3; background: #fff; padding: 10px 16px; border-radius: 14px; font-weight: 600; font-size: .9rem; box-shadow: var(--shadow); white-space: nowrap; animation: bob 5s ease-in-out infinite; }
.c1 { left: -10px; bottom: 40px; } .c2 { right: 0; bottom: 90px; animation-delay: -2.5s; }

/* Marquee */
.marquee { overflow: hidden; background: var(--ink); color: #fff; padding: 14px 0; }
.marquee div { display: flex; gap: 40px; width: max-content; animation: scroll 30s linear infinite; }
.marquee span { font-weight: 600; white-space: nowrap; opacity: .9; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* Shop */
.shop { padding: 80px 5vw 40px; max-width: 1240px; margin: auto; }
.filters { position: sticky; top: 66px; z-index: 5; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin: 26px 0 34px; padding: 8px 0; }
.filters button { border: 1.5px solid var(--line); background: #fff; padding: 9px 18px; border-radius: 999px; font: inherit; font-weight: 600; cursor: pointer; font-size: .92rem; color: var(--ink); transition: all .2s; }
.filters button:hover { border-color: var(--pink); }
.filters button.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 24px; }
.card { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); display: flex; flex-direction: column; overflow: hidden; transition: transform .3s, box-shadow .3s; animation: rise .5s both; }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } }
.card:hover { transform: translateY(-6px); box-shadow: 0 22px 50px rgba(123, 47, 247, .18); }
.art { position: relative; height: 150px; display: grid; place-items: center; overflow: hidden; }
.art::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 20% 20%, rgba(255,255,255,.35), transparent 40%), radial-gradient(circle at 80% 90%, rgba(255,255,255,.2), transparent 40%); }
.art .emoji { font-size: 4.2rem; filter: drop-shadow(0 10px 18px rgba(0,0,0,.25)); transition: transform .4s cubic-bezier(.3,1.6,.6,1); }
.card:hover .art .emoji { transform: scale(1.15) rotate(-6deg); }
.badge { position: absolute; top: 14px; left: 14px; background: rgba(255,255,255,.92); color: var(--ink); font-size: .72rem; font-weight: 700; padding: 5px 11px; border-radius: 999px; }
.live { position: absolute; top: 14px; right: 14px; background: rgba(0,0,0,.35); color: #fff; font-size: .72rem; font-weight: 600; padding: 5px 10px; border-radius: 999px; backdrop-filter: blur(4px); }
.live::before { content: "● "; color: #4cff9a; }
.body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.card h3 { font-size: 1.1rem; }
.card p { color: var(--muted); margin: 0 0 16px; flex: 1; font-size: .93rem; }
.price { display: flex; align-items: baseline; gap: 8px; }
.price b { font-size: 1.55rem; }
.price s { color: var(--muted); font-size: .9rem; }
.price .off { color: #0a8f4e; font-weight: 700; font-size: .78rem; background: #e5f8ee; padding: 2px 8px; border-radius: 999px; }
.meta { font-size: .8rem; color: var(--muted); margin: 4px 0 16px; }
.card-actions { display: flex; gap: 8px; }
.card-actions .btn { padding: 11px 14px; font-size: .92rem; flex: 1; text-align: center; }

/* Wedding feature */
.feature { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; margin: 60px 5vw; padding: 60px 6vw; border-radius: 36px; color: #fff1c1;
  background: radial-gradient(ellipse at 80% 30%, #8b1a2e, #5a0f1f 55%, #2a0610); overflow: hidden; position: relative; }
.feature::before { content: ""; position: absolute; inset: 0; opacity: .1; background-image: radial-gradient(#e8c46a 1px, transparent 1.5px); background-size: 24px 24px; }
.feature h2 { text-align: left; color: #fff; position: relative; }
.feature p { opacity: .85; position: relative; max-width: 520px; margin-bottom: 26px; }
.feature .btn { position: relative; }
.feature-art { display: flex; justify-content: center; position: relative; }
.feature-art .phone { width: 250px; transform: rotate(4deg); }

/* How / why / FAQ */
.how, .faq { padding: 70px 5vw 30px; max-width: 1040px; margin: auto; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 30px; }
.step { background: #fff; border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.step span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--grad); color: #fff; font-weight: 800; margin-bottom: 14px; }
.step p { color: var(--muted); margin: 0; }
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 50px 5vw; max-width: 1240px; margin: auto; }
.why div { padding: 24px; border-radius: var(--radius); background: linear-gradient(160deg, #fff, #fff4f8); border: 1px solid var(--line); }
.why b { font-size: 1.8rem; }
.why h3 { margin: 10px 0 6px; font-size: 1.05rem; }
.why p { margin: 0; color: var(--muted); font-size: .9rem; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 22px; margin-bottom: 12px; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; }
.faq summary::after { content: "+"; font-size: 1.3rem; color: var(--pink); }
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--muted); margin: 10px 0 0; }
.final { text-align: center; margin: 60px 5vw 0; padding: 60px 20px; border-radius: 36px; background: var(--grad); color: #fff; }
.final h2 { color: #fff; }
.final .btn { background: #fff; color: var(--purple); margin-top: 10px; }

footer { text-align: center; padding: 40px 5vw 90px; color: var(--muted); font-size: .9rem; }
.legal-links a { color: var(--muted); }
.wa-float { position: fixed; right: 22px; bottom: 22px; width: 60px; height: 60px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 10px 24px rgba(37, 211, 102, .45); z-index: 20; animation: ping 2.5s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); } 70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); } }

/* Modal */
.modal { position: fixed; inset: 0; background: rgba(34, 20, 48, .55); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 16px; z-index: 50; }
.modal[hidden] { display: none; }
.modal-box { background: #fff; border-radius: 26px; padding: 28px; width: 100%; max-width: 490px; max-height: 92vh; overflow-y: auto; position: relative; animation: pop .3s cubic-bezier(.3,1.4,.6,1); }
@keyframes pop { from { transform: scale(.9) translateY(20px); opacity: 0; } }
.close { position: absolute; top: 14px; right: 16px; border: 0; background: #f6f1f8; width: 36px; height: 36px; border-radius: 50%; font-size: 1.4rem; cursor: pointer; color: var(--muted); }
.m-head { display: flex; gap: 14px; align-items: center; margin-bottom: 20px; }
.m-emoji { font-size: 2.2rem; width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; flex: none; }
.m-head h3 { margin: 0; padding-right: 30px; }
.m-price { margin: 4px 0 0; color: var(--muted); font-size: .9rem; }
.m-price b { color: var(--ink); font-size: 1.2rem; }
.field { display: block; margin-bottom: 14px; }
.field span { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 6px; }
.field input, .field textarea, .field select { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; font: inherit; font-size: .95rem; background: #fffbfd; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--pink); box-shadow: 0 0 0 4px rgba(255, 61, 127, .1); }
.field textarea { min-height: 84px; resize: vertical; }
.note { background: #f3ecff; color: var(--purple); padding: 11px 14px; border-radius: 12px; font-size: .88rem; margin-bottom: 14px; }
.pay { background: #f2fbf5; border: 1.5px dashed #8fd3a8; border-radius: 16px; padding: 16px; margin: 6px 0 16px; }
.pay p { margin: 0 0 10px; }
.btn.upi { background: #0a8f4e; color: #fff; width: 100%; text-align: center; }
.small { font-size: .85rem; color: var(--muted); margin-top: 10px !important; }
.copy { border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 2px 8px; cursor: pointer; font: inherit; font-size: .8rem; }
.step2 { font-size: .92rem; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 40px; text-align: center; }
  .sub { margin: auto; }
  .hero-cta, .stats { justify-content: center; }
  .hero-art { display: none; }
  .feature { grid-template-columns: 1fr; padding: 44px 24px; text-align: center; margin: 40px 3vw; }
  .feature h2, .eyebrow.light { text-align: center; } .feature p { margin-left: auto; margin-right: auto; }
  .steps { grid-template-columns: 1fr; }
  .why { grid-template-columns: 1fr 1fr; }
  .nav nav { display: none; }
  .nav-cta { margin-left: auto; }
  .filters { top: 62px; flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; background: var(--bg); margin-left: -5vw; margin-right: -5vw; padding: 10px 5vw; }
  .filters button { flex: none; }
}
@media (max-width: 520px) { .why { grid-template-columns: 1fr; } }

/* ---------- Search ---------- */
.search { display: flex; align-items: center; gap: 10px; max-width: 560px; margin: 22px auto 0; background: #fff; border: 1.5px solid var(--line); border-radius: 999px; padding: 6px 8px 6px 18px; box-shadow: var(--shadow); }
.search:focus-within { border-color: var(--pink); }
.search input { flex: 1; border: 0; outline: none; font: inherit; font-size: 1rem; padding: 10px 6px; background: transparent; min-width: 0; }
.empty { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 40px 10px; }

/* ---------- Self-serve builder ---------- */
.photo .drop { display: grid; place-items: center; height: 110px; border: 2px dashed var(--line); border-radius: 14px; cursor: pointer; background: #fffbfd; position: relative; overflow: hidden; }
.photo .drop:hover { border-color: var(--pink); }
.photo .drop img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo .drop img:not([hidden]) + em { position: absolute; bottom: 6px; right: 6px; background: rgba(0,0,0,.6); color: #fff; padding: 3px 10px; border-radius: 999px; font-size: .75rem; }
.photo .drop em { font-style: normal; color: var(--muted); font-size: .88rem; }
.moment { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 10px; margin-top: 8px; }
.moment .photo { margin: 0; }
.moment .photo > span { display: none; }
.moment .drop { height: 100%; min-height: 110px; }
.moment > div:last-child { display: grid; gap: 8px; align-content: start; }
.moment textarea { margin-top: 0 !important; min-height: 64px !important; }
.fests { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.fest { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; font-size: .9rem; }
.fest:has(input:checked) { border-color: var(--pink); background: #fff0f6; }
.fest input { accent-color: var(--pink); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; margin: 6px 0 10px; cursor: pointer; }
.check input { margin-top: 4px; accent-color: var(--pink); width: 18px; height: 18px; flex: none; }
.field input.color { height: 46px; padding: 4px; width: 100px; cursor: pointer; }
.modal-box { max-width: 540px; }
.b-sec { font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--pink); margin: 20px 0 10px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.rows { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin-bottom: 10px; }
.row { border: 1.5px solid var(--line); border-radius: 14px; padding: 10px; background: #fffbfd; min-width: 0; }
.row input:not([type=radio]) { width: 100%; }
.row-top .emo { flex: none; width: auto; }
.row input, .row textarea, .row select { font: inherit; font-size: .92rem; border: 1.5px solid var(--line); border-radius: 10px; padding: 9px 10px; background: #fff; min-width: 0; }
.row input:focus, .row textarea:focus { outline: none; border-color: var(--pink); }
.row-top { display: flex; gap: 8px; align-items: center; }
.row-top input { flex: 1; }
.row .pre { font-size: .85rem; color: var(--muted); white-space: nowrap; }
.row textarea { width: 100%; margin-top: 8px; min-height: 70px; resize: vertical; }
.row .x { border: 0; background: #f6eef3; width: 32px; height: 32px; border-radius: 50%; cursor: pointer; font-size: 1.1rem; color: var(--muted); flex: none; }
.row .opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.row .opt { display: flex; align-items: center; gap: 6px; }
.row .opt input[type=text], .row .opt .qo { flex: 1; width: 100%; }
.row .opt input[type=radio] { accent-color: #0a8f4e; width: 18px; height: 18px; flex: none; }
.row-inline { display: flex; gap: 8px; align-items: center; }
.row-inline input { flex: 1; }
.themes { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.theme { cursor: pointer; text-align: center; }
.theme input { position: absolute; opacity: 0; }
.theme span { display: block; aspect-ratio: 9 / 14; border-radius: 12px; border: 3px solid transparent; box-shadow: 0 4px 12px rgba(0,0,0,.12); transition: transform .2s; }
.theme input:checked + span { border-color: var(--pink); transform: translateY(-3px); box-shadow: 0 8px 18px rgba(255,61,127,.3); }
.theme small { display: block; font-size: .68rem; line-height: 1.2; margin-top: 5px; color: var(--muted); }
.guests { width: 100%; min-height: 110px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; font: inherit; background: #fffbfd; }
.err { background: #ffe8ee; color: #b0123f; border-radius: 12px; padding: 11px 14px; font-size: .9rem; margin: 8px 0; }
.b-actions { display: flex; gap: 10px; margin-top: 14px; }
.b-actions .btn { flex: 1; text-align: center; padding: 13px 14px; }
.b-actions.wrap { flex-wrap: wrap; }
.btn:disabled { opacity: .65; cursor: wait; transform: none; }
.btn.wa { background: #25d366; color: #fff; }
.center { text-align: center; }
.success { text-align: center; }
.success h3 { font-size: 1.5rem; margin: 4px 0 6px; }
.burst { font-size: 3.6rem; animation: pop .6s cubic-bezier(.3,1.6,.6,1); }
.linkbox { background: #f6f1fb; border-radius: 14px; padding: 14px; margin: 14px 0 4px; word-break: break-all; }
.linkbox code { font-size: .92rem; color: var(--purple); }
.guests-out { text-align: left; margin-top: 18px; }
.glist { display: grid; gap: 8px; max-height: 300px; overflow: auto; margin-bottom: 10px; }
.g { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 12px; }
.g .btn { flex: none; }
.mock { position: absolute; inset: 0; background: rgba(255,255,255,.9); display: grid; place-items: center; padding: 20px; border-radius: 26px; }
.mock-box { background: #fff; border: 2px dashed #f0b400; border-radius: 18px; padding: 22px; max-width: 360px; text-align: center; box-shadow: var(--shadow); }
.mock-box p { color: var(--muted); font-size: .92rem; }
@media (max-width: 520px) {
  .themes { grid-template-columns: repeat(3, 1fr); }
  .two { grid-template-columns: 1fr; }
  .row .opts { grid-template-columns: 1fr; }
  .row-top { flex-wrap: wrap; }
  .row-top .lt { flex-basis: 100%; order: 3; }
  .row-top .pre { flex: 1; }
}
