/* ===== PayLanding: modern, professional ===== */
:root {
  --accent: #6C47FF;
  --accent-d: color-mix(in srgb, var(--accent) 72%, #000);
  --accent-l: color-mix(in srgb, var(--accent) 10%, #fff);
  --ink: #0F172A; --muted: #64748B; --line: #E5E7EF; --bg: #F6F7FB;
  --ok: #16A34A; --wa: #25D366;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(15,23,42,.05), 0 8px 28px rgba(15,23,42,.07);
}
html { scroll-behavior: smooth; }
body { font-family: "Inter", "Noto Sans Devanagari", system-ui, -apple-system, "Segoe UI", sans-serif; background: var(--bg); color: var(--ink); -webkit-font-smoothing: antialiased; padding-bottom: 0; }
h1, h2, h3, h4, h5 { font-weight: 700; letter-spacing: -.02em; }
.text-muted { color: var(--muted) !important; }

/* header + brand */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.85); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); padding: .7rem 0; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); }
.brand-ico { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; color: #fff; font-size: 1.35rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-d)); box-shadow: 0 6px 16px color-mix(in srgb, var(--accent) 40%, transparent); }
.brand-name { font-size: 1.55rem; font-weight: 800; letter-spacing: -.01em; line-height: 1;
  background: linear-gradient(90deg, var(--ink), var(--accent-d)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.site-footer .brand-name, .admin-nav .brand-name { background: none; color: inherit; -webkit-text-fill-color: initial; }

/* buttons */
.btn { border-radius: 12px; font-weight: 600; }
.btn-pay { background: linear-gradient(135deg, var(--accent), var(--accent-d)); color: #fff; border: 0; padding: .85rem 1.4rem; box-shadow: 0 8px 20px color-mix(in srgb, var(--accent) 35%, transparent); }
.btn-pay:hover, .btn-pay:focus { color: #fff; transform: translateY(-1px); filter: brightness(1.06); }
.btn-outline-pay { border: 2px solid var(--accent); color: var(--accent-d); background: #fff; padding: .8rem 1.4rem; }
.btn-outline-pay:hover { background: var(--accent-l); color: var(--accent-d); border-color: var(--accent); }
.btn-wa { background: var(--wa); color: #fff; border: 0; }
.btn-wa:hover { background: #1fb457; color: #fff; }

/* cards */
.card-soft { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.pill { display: inline-flex; align-items: center; gap: .4rem; background: var(--accent-l); color: var(--accent-d); font-weight: 600; font-size: .82rem; padding: .35rem .8rem; border-radius: 999px; }
.sec-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; color: var(--muted); margin-bottom: .6rem; }

/* hero */
.hero-wrap { padding: 2rem 0 1rem; }
.gallery { position: relative; overflow: hidden; padding: .6rem; }
.gallery-img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; background: #EEF0F6; }
.gallery .carousel-indicators { margin-bottom: .6rem; }
.gallery .carousel-indicators [data-bs-target] { width: 8px; height: 8px; border-radius: 50%; border: 0; background: #fff; opacity: .6; }
.gallery .carousel-indicators .active { opacity: 1; width: 22px; border-radius: 8px; }
.ctl { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--ink); display: grid; place-items: center; box-shadow: var(--shadow); }
.off-badge { position: absolute; z-index: 5; top: 1.1rem; left: 1.1rem; background: #EF4444; color: #fff; font-weight: 800; padding: .35rem .8rem; border-radius: 999px; font-size: .9rem; box-shadow: 0 6px 14px rgba(239,68,68,.35); }
.thumbs { display: flex; gap: .6rem; overflow-x: auto; padding-bottom: .2rem; }
.thumb { border: 2px solid transparent; padding: 0; background: none; border-radius: 12px; flex: none; }
.thumb img { width: 76px; height: 58px; object-fit: cover; border-radius: 10px; display: block; border: 1px solid var(--line); }
.thumb:hover { border-color: var(--accent); }
.product-title { font-size: clamp(1.7rem, 3.6vw, 2.6rem); line-height: 1.12; font-weight: 800; }
.lead-muted { color: var(--muted); font-size: 1.05rem; }

.price-box { margin-top: 1.2rem; padding: 1.1rem 1.3rem; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.price-now { font-size: 2.6rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; color: var(--ink); }
.price-mrp { color: var(--muted); font-size: 1.05rem; padding-bottom: .25rem; }
.save-chip { background: #DCFCE7; color: #15803D; font-weight: 700; font-size: .82rem; padding: .3rem .7rem; border-radius: 999px; margin-bottom: .3rem; }
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.feature-list li { display: flex; gap: .65rem; align-items: flex-start; }
.feature-list .bi { color: var(--ok); margin-top: .15rem; }
.trust-row { display: flex; flex-wrap: wrap; gap: .6rem 1.2rem; color: var(--muted); font-size: .88rem; }
.trust-row .bi { color: var(--accent); margin-right: .25rem; }

/* how it works */
.how { padding: 3rem 0 2rem; }
.step-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; height: 100%; box-shadow: var(--shadow); }
.step-no { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-d)); margin-bottom: .9rem; }

/* mobile sticky pay bar */
.sticky-pay { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: .8rem;
  background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-top: 1px solid var(--line); padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom)); }
.sp-now { font-size: 1.4rem; font-weight: 800; line-height: 1.1; }
.sp-mrp { font-size: .78rem; color: var(--muted); }
@media (max-width: 991px) { body { padding-bottom: 78px; } }

/* modal + forms */
.modal-content { border: 0; border-radius: 20px; }
.form-control, .form-select { border-radius: 12px; border: 1px solid #CDD2E0; padding: .65rem .9rem; }
.form-control:focus, .form-select:focus { border-color: var(--accent); box-shadow: 0 0 0 .25rem color-mix(in srgb, var(--accent) 20%, transparent); }
.form-label { font-weight: 600; font-size: .86rem; }

/* pay + done */
.amount-box { background: var(--accent-l); border-radius: 16px; padding: 1.2rem; }
.qr-box { border: 1px dashed #CDD2E0; border-radius: 16px; padding: 1rem; }
.qr-collapsed { display: none; }
.utr-input { letter-spacing: .12em; font-weight: 700; text-align: center; font-size: 1.3rem; }
.done-ico { width: 78px; height: 78px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto; font-size: 2.4rem; color: #fff; background: var(--ok); box-shadow: 0 10px 24px rgba(22,163,74,.35); }
.done-ico.bad { background: #EF4444; box-shadow: 0 10px 24px rgba(239,68,68,.35); }
.receipt { background: var(--bg); border-radius: 14px; padding: .4rem 1rem; }
.receipt > div { display: flex; justify-content: space-between; padding: .65rem 0; border-bottom: 1px dashed var(--line); }
.receipt > div:last-child { border: 0; }
.receipt span { color: var(--muted); }

/* footer */
.site-footer { background: #0F172A; color: #CBD5E1; padding: 2.4rem 0 1.6rem; margin-top: 3rem; }
.site-footer a { color: #CBD5E1; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer .brand { color: #fff; }

/* admin */
.admin-body { background: var(--bg); }
.admin-nav { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30; }
.admin-links { display: flex; gap: .2rem; flex-wrap: wrap; }
.admin-links a { text-decoration: none; color: #334155; padding: .45rem .8rem; border-radius: 10px; font-weight: 500; }
.admin-links a:hover { background: var(--bg); }
.admin-links a.active { background: var(--accent); color: #fff; }
.stat { display: block; text-decoration: none; color: inherit; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 1rem; box-shadow: var(--shadow); height: 100%; }
.stat .bi { font-size: 1.3rem; color: var(--accent); }
.stat.warn .bi { color: #D97706; } .stat.ok .bi { color: var(--ok); }
.stat .num { font-size: 1.7rem; font-weight: 800; line-height: 1.2; }
.stat .lbl { font-size: .78rem; color: var(--muted); }
.admin-table th { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: #FAFBFD; white-space: nowrap; }
.icon-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(46px, 1fr)); gap: .4rem; }
.icon-opt { height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font-size: 1.25rem; color: var(--ink); }
.icon-opt:hover { border-color: var(--accent); }
.icon-opt.on { background: var(--accent); color: #fff; border-color: var(--accent); }
.brand-preview { background: var(--bg); border-radius: 14px; padding: .9rem 1rem; }
