:root {
  --bg: #f6f8fc;
  --bg2: #eef3ff;
  --card: #ffffff;
  --card-b: #e3e8f2;
  --text: #0d1b3e;
  --muted: #5b6785;
  --p1: #f7a21b;
  --p2: #1148d8;
  --green: #5a9e2f;
  --gold: #f7a21b;
  --ok: #2ed47a;
  --warn: #ffb020;
  --bad: #ff5370;
  --grad: linear-gradient(120deg, #f7a21b, #ff7a00);
  --grad2: linear-gradient(120deg, #1148d8, #2f7bff);
  --r: 18px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 Inter, system-ui, sans-serif; overflow-x: hidden; }
h1, h2, h3, h4 { font-family: Poppins, Inter, sans-serif; font-weight: 800; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 6vw, 4.4rem); letter-spacing: -.01em; font-style: italic; text-transform: uppercase; }
h1 .blue, .blue { color: var(--p2); }
h1 .orange, .orange { color: var(--p1); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
a { color: var(--p2); text-decoration: none; }
img { max-width: 100%; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.grad-text { background: var(--grad2); -webkit-background-clip: text; background-clip: text; color: transparent; }
.center { text-align: center; }
section { padding: 90px 0; position: relative; }
.eyebrow { display: inline-block; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: #fff; padding: 6px 14px; border-radius: 4px; margin-bottom: 18px; background: var(--p1); font-weight: 700; transform: skewX(-10deg); }
.sec-head { max-width: 680px; margin: 0 auto 50px; text-align: center; }

/* background orbs */
.bg-orbs { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.bg-orbs span { position: absolute; border-radius: 50%; filter: blur(120px); opacity: .18; animation: drift 22s ease-in-out infinite alternate; }
.bg-orbs span:nth-child(1) { width: 520px; height: 520px; background: var(--p1); top: -150px; left: -120px; }
.bg-orbs span:nth-child(2) { width: 420px; height: 420px; background: var(--p2); bottom: -160px; right: -100px; animation-delay: -8s; }
.bg-orbs span:nth-child(3) { width: 300px; height: 300px; background: var(--green); top: 45%; left: 55%; opacity: .1; animation-delay: -14s; }
@keyframes drift { to { transform: translate(80px, 60px) scale(1.15); } }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; border: 0; cursor: pointer; background: var(--grad); color: #fff; padding: 14px 26px; border-radius: 99px; font-weight: 600; font-size: 1rem; transition: transform .2s, box-shadow .2s; box-shadow: 0 8px 24px -8px rgba(247, 162, 27, .8); font-family: inherit; font-weight: 700; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -8px rgba(247, 162, 27, .9); }
.btn-ghost { background: #fff; color: var(--p2); border: 2px solid var(--p2); box-shadow: none; }
.btn-ghost:hover { background: var(--p2); color: #fff; box-shadow: none; }
.btn-sm { padding: 9px 18px; font-size: .9rem; }
.btn-gold { background: var(--grad2); color: #fff; box-shadow: 0 8px 24px -8px rgba(17, 72, 216, .7); }
.btn-block { width: 100%; justify-content: center; }
.btn-danger { background: var(--bad); box-shadow: none; }

/* nav */
.topbar { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(16px); background: rgba(255, 255, 255, .9); border-bottom: 1px solid var(--card-b); box-shadow: 0 4px 20px -12px rgba(13, 27, 62, .3); }
.nav-row { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font: italic 800 1.25rem Poppins; text-transform: uppercase; }
.brand b { color: var(--p1); }
.brand img { height: 46px; width: 46px; border-radius: 50%; object-fit: contain; background: #fff; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; background: var(--grad2); font-size: .95rem; color: #fff; transform: skewX(-10deg); box-shadow: 4px 4px 0 var(--p1); }
.main-nav { display: flex; align-items: center; gap: 22px; }
.main-nav > a:not(.btn) { color: var(--text); font-weight: 600; }
.main-nav > a:not(.btn):hover, .main-nav > a.active { color: var(--p1); }
.burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.burger i { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; transition: .3s; }
@media (max-width: 940px) {
  .burger { display: block; }
  .main-nav { position: fixed; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; padding: 20px 16px 30px; background: #fff; box-shadow: 0 20px 40px -20px rgba(0,0,0,.3); transform: translateY(-120%); transition: transform .35s; gap: 14px; }
  .main-nav .btn { justify-content: center; }
  .nav-open .main-nav { transform: none; }
}

/* hero */
.hero { min-height: calc(100vh - 72px); display: flex; align-items: center; padding: 40px 0; overflow: hidden; }
#hero3d { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; align-items: center; }
.hero p.lead { font-size: 1.2rem; color: var(--muted); max-width: 560px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin: 30px 0; }
.hero-stats { display: flex; gap: 34px; flex-wrap: wrap; }
.hero-stats b { display: block; font: 700 2rem 'Space Grotesk'; }
.typed { color: var(--p2); border-right: 4px solid var(--p1); padding-right: 4px; animation: blink .8s step-end infinite; }
@keyframes blink { 50% { border-color: transparent; } }
.hero-card-stack { position: relative; height: 420px; perspective: 1000px; pointer-events: none; }
.float-card { position: absolute; padding: 18px 20px; border-radius: var(--r); background: #fff; border: 1px solid var(--card-b); border-left: 5px solid var(--p1); display: flex; gap: 12px; align-items: center; font-weight: 600; animation: bob 6s ease-in-out infinite; box-shadow: 0 20px 40px -18px rgba(13, 27, 62, .35); }
.float-card .ic { font-size: 1.6rem; }
.float-card { font-size: .9rem; padding: 12px 16px; }
.float-card:nth-child(1) { top: 2%; right: 4%; }
.float-card:nth-child(2) { top: 44%; right: -6%; animation-delay: -1.5s; }
.float-card:nth-child(3) { bottom: 4%; left: 18%; animation-delay: -3s; }
.float-card:nth-child(4) { display: none; animation-delay: -4.5s; }
@keyframes bob { 50% { transform: translateY(-16px) rotateX(8deg) rotateY(-8deg); } }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } .hero-card-stack { height: 300px; } }

/* cards / grid */
.grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.grid-2 { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--card-b); border-radius: var(--r); padding: 28px; position: relative; transition: transform .3s, border-color .3s, box-shadow .3s; box-shadow: 0 6px 24px -14px rgba(13, 27, 62, .25); }
.card:hover { border-color: var(--p1); box-shadow: 0 18px 40px -18px rgba(247, 162, 27, .55); }
.tilt { transform-style: preserve-3d; will-change: transform; }
.tilt .pop { transform: translateZ(40px); }
.svc-icon { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; font-size: 1.9rem; background: linear-gradient(135deg, #fff3de, #e6eeff); border: 1px solid var(--card-b); margin-bottom: 18px; }
.card h3 { font-size: 1.3rem; }
.card ul { padding-left: 18px; color: var(--muted); margin: 10px 0 0; }
.card .glow { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(247, 162, 27, .14), transparent 40%); opacity: 0; transition: opacity .3s; }
.card:hover .glow { opacity: 1; }

/* gigs */
.gig-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; color: var(--text); }
.gig-thumb { aspect-ratio: 16/10; background: linear-gradient(115deg, #1148d8 0 55%, #f7a21b 55% 75%, #5a9e2f 75%); display: grid; place-items: center; font-size: 3.4rem; position: relative; overflow: hidden; }
.gig-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gig-thumb::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 60%, rgba(13, 27, 62, .35)); }
.gig-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.gig-body h3 { font-size: 1.1rem; }
.gig-foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--card-b); }
.gig-foot b { color: var(--p2); font-size: 1.1rem; }
.tag { display: inline-block; font-size: .75rem; padding: 3px 10px; border-radius: 99px; background: #fff3de; color: #b86e00; font-weight: 600; margin-bottom: 10px; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 36px; }
.filters a { padding: 8px 18px; border-radius: 99px; border: 1px solid var(--card-b); color: var(--muted); }
.filters a.active, .filters a:hover { background: var(--grad); color: #fff; border-color: transparent; }
.pkg-tabs { display: flex; border-bottom: 1px solid var(--card-b); }
.pkg-tabs button { flex: 1; background: none; border: 0; color: var(--muted); padding: 14px; cursor: pointer; font: 600 1rem Inter; border-bottom: 2px solid transparent; }
.pkg-tabs button.active { color: var(--text); border-color: var(--p1); }
.pkg-panel { display: none; padding: 24px; }
.pkg-panel.active { display: block; }
.price { font: italic 800 2rem Poppins; color: var(--p2); }
.check-list { list-style: none; padding: 0 !important; }
.check-list li { padding: 5px 0 5px 28px; position: relative; color: var(--text); }
.check-list li::before { content: '✓'; position: absolute; left: 0; color: var(--ok); font-weight: 700; }
.gig-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: start; }
.sticky { position: sticky; top: 92px; }
@media (max-width: 900px) { .gig-layout { grid-template-columns: 1fr; } }

/* process / marquee */
.marquee { overflow: hidden; background: #fff; border-block: 4px solid var(--p1); padding: 22px 0; white-space: nowrap; }
.marquee div { display: inline-block; animation: marq 30s linear infinite; font: italic 800 1.6rem Poppins; color: var(--p2); }
.marquee span { margin: 0 28px; }
.marquee span:nth-child(odd) { color: transparent; -webkit-text-stroke: 1.5px var(--p1); }
@keyframes marq { to { transform: translateX(-50%); } }
.steps { counter-reset: s; }
.steps .card::before { counter-increment: s; content: '0' counter(s); font: italic 800 3rem Poppins; color: transparent; -webkit-text-stroke: 2px var(--p1); display: block; margin-bottom: 10px; }

/* CTA band */
.cta-band { border-radius: 28px; padding: 60px 40px; text-align: center; background: linear-gradient(115deg, #1148d8 0 62%, #f7a21b 62% 82%, #5a9e2f 82%); color: #fff; position: relative; overflow: hidden; }

/* forms */
.form-grid { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
label { display: block; font-size: .88rem; color: var(--muted); margin-bottom: 6px; }
input, select, textarea { width: 100%; padding: 13px 15px; border-radius: 12px; border: 1px solid var(--card-b); background: #fff; color: var(--text); font: inherit; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--p2); box-shadow: 0 0 0 3px rgba(17, 72, 216, .15); }
select option { background: #fff; }
textarea { min-height: 120px; resize: vertical; }
input[type=checkbox], input[type=radio] { width: auto; }
.auth-box { max-width: 440px; margin: 60px auto; }
.alert { padding: 14px 18px; border-radius: 12px; margin-bottom: 20px; border: 1px solid; }
.alert-ok { background: rgba(46, 212, 122, .1); border-color: rgba(46, 212, 122, .4); color: #1c7a45; }
.alert-bad { background: rgba(255, 83, 112, .1); border-color: rgba(255, 83, 112, .4); color: #b3243c; }
.alert-warn { background: rgba(255, 176, 32, .1); border-color: rgba(255, 176, 32, .4); color: #8a5a00; }

/* tables / dashboard */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 13px 12px; text-align: left; border-bottom: 1px solid var(--card-b); font-size: .94rem; }
th { color: var(--muted); font-weight: 500; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; }
.badge { display: inline-block; font-size: .75rem; padding: 3px 10px; border-radius: 99px; text-transform: capitalize; font-weight: 600; }
.badge-ok { background: rgba(46, 212, 122, .15); color: var(--ok); }
.badge-warn { background: rgba(255, 176, 32, .15); color: var(--warn); }
.badge-bad { background: rgba(255, 83, 112, .15); color: var(--bad); }
.badge-info { background: rgba(0, 212, 255, .15); color: var(--p2); }
.dash { display: grid; grid-template-columns: 240px 1fr; gap: 28px; padding: 30px 0 80px; }
.dash-side { display: flex; flex-direction: column; gap: 4px; position: sticky; top: 92px; align-self: start; }
.dash-side a { padding: 11px 16px; border-radius: 12px; color: var(--muted); }
.dash-side a { color: var(--text) !important; font-weight: 500; }
.dash-side a.active, .dash-side a:hover { background: #fff3de; color: #b86e00 !important; }
.stat-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); margin-bottom: 28px; }
.stat b { display: block; font: 800 2rem Poppins; color: var(--p2); }
@media (max-width: 860px) { .dash { grid-template-columns: 1fr; } .dash-side { position: static; flex-direction: row; overflow-x: auto; } .dash-side a { white-space: nowrap; } }
.row-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.expiry-bar { height: 6px; background: #e3e8f2; border-radius: 9px; overflow: hidden; margin-top: 6px; }
.expiry-bar i { display: block; height: 100%; background: var(--grad); }

/* tools */
.tool-card { display: flex; gap: 16px; align-items: flex-start; color: var(--text); }
.tool-card .svc-icon { flex: none; width: 52px; height: 52px; font-size: 1.5rem; margin: 0; }
.tool-card p { margin: 4px 0 0; font-size: .9rem; }
.tool-search { max-width: 520px; margin: 0 auto 30px; }
.drop { border: 2px dashed var(--p1); border-radius: var(--r); padding: 44px 20px; text-align: center; cursor: pointer; transition: .2s; background: #fffaf1; }
.drop.over, .drop:hover { border-color: var(--p2); background: #eef3ff; }
.drop input { display: none; }
.out-list { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); margin-top: 24px; }
.out-item { background: var(--card); border: 1px solid var(--card-b); border-radius: 14px; padding: 12px; text-align: center; font-size: .85rem; word-break: break-all; }
.out-item img { border-radius: 8px; max-height: 160px; object-fit: contain; background: repeating-conic-gradient(#e9edf5 0 25%, #fff 0 50%) 0 0/16px 16px; width: 100%; }
.tool-opts { display: flex; gap: 16px; flex-wrap: wrap; align-items: end; margin-top: 20px; }
.tool-opts > div { min-width: 160px; flex: 1; }
.progress { height: 8px; border-radius: 9px; background: #e3e8f2; overflow: hidden; margin-top: 16px; display: none; }
.progress i { display: block; height: 100%; width: 0; background: var(--grad); transition: width .3s; }

/* portfolio */
.pf-card { color: var(--text); overflow: hidden; padding: 0; }
.pf-shot { aspect-ratio: 16/10; background: var(--bg2); display: grid; place-items: center; overflow: hidden; }
.pf-shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.pf-card:hover .pf-shot img { transform: scale(1.06); }
.pf-body { padding: 18px 20px; }

/* footer */
.footer { border-top: 1px solid var(--card-b); padding: 60px 0 20px; margin-top: 40px; background: #0d1b3e; color: #dfe6f7; border-top: 6px solid var(--p1); --muted: #9fb0d6; --text: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 30px; }
.footer h4 { font-size: 1rem; }
.footer-grid a { display: block; color: var(--muted); padding: 3px 0; }
.footer-grid a:hover { color: var(--p1); }
.copy { padding-top: 30px; margin-top: 30px; border-top: 1px solid var(--card-b); font-size: .85rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.wa-float { position: fixed; right: 20px; bottom: 20px; width: 56px; height: 56px; border-radius: 50%; background: #25d366; display: grid; place-items: center; z-index: 60; box-shadow: 0 10px 30px -6px rgba(37, 211, 102, .6); }

/* reveal */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .8s, transform .8s; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { *, .reveal { animation: none !important; transition: none !important; opacity: 1; transform: none; } }

/* brand extras */
.cta-band .muted { color: #e6ecff; }
.cta-band .eyebrow { background: #fff; color: var(--p2); }
.hero { background: #fff; isolation: isolate; }
.hero-bg i { position: absolute; top: 0; bottom: 0; right: 0; width: 48%; clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%); }
.hero-bg .s1 { background: var(--green); transform: translateX(-64px); z-index: 0; }
.hero-bg .s2 { background: var(--p1); transform: translateX(-32px); z-index: 1; }
.hero-bg .s3 { background: linear-gradient(160deg, #7ccbff, #2b86ee); z-index: 1; }
#hero3d { z-index: 2; left: auto; width: 48%; }
.hero .wrap { z-index: 3; }
.hero h1 { font-size: clamp(2rem, 4.3vw, 3.7rem); }
.hero h1 .typed { white-space: nowrap; }
@media (max-width: 900px) {
  .hero { flex-direction: column; padding-top: 0; }
  .hero-bg { display: none; }
  #hero3d { position: relative; width: 100%; height: 300px; background: linear-gradient(160deg, #7ccbff, #2b86ee); border-bottom: 8px solid var(--p1); }
  .hero-card-stack { display: none; }
}
.stripe-title { display: inline-block; height: 4px; width: 90px; background: var(--p1); margin: 4px 0 16px; }

/* ===== Digital Business Profile (dashboard + sales page) ===== */
.dp-list { display: grid; gap: 16px; margin-bottom: 28px; }
.dp-item { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.dp-sw { width: 64px; height: 64px; border-radius: 18px; flex: none; display: grid; place-items: center; color: #fff; font: 800 1.3rem Poppins; overflow: hidden; }
.dp-sw img { width: 100%; height: 100%; object-fit: cover; }
.dp-item .grow { flex: 1; min-width: 200px; }
.dp-item h3 { margin: 0 0 2px; }
.dp-link { font-size: .9rem; word-break: break-all; }
.tpl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 12px; margin: 10px 0 16px; }
.tpl { position: relative; cursor: pointer; border: 2px solid var(--card-b); border-radius: 16px; padding: 8px; background: #fff; transition: .2s; display: block; color: var(--text); margin: 0; }
.tpl input { position: absolute; opacity: 0; pointer-events: none; }
.tpl .sw { height: 64px; border-radius: 10px; margin-bottom: 6px; }
.tpl b { display: block; font-size: .82rem; line-height: 1.2; }
.tpl small { color: var(--muted); font-size: .72rem; line-height: 1.2; display: block; }
.tpl:hover { border-color: #f7c46b; }
.tpl.on, .tpl:has(input:checked) { border-color: var(--p1); box-shadow: 0 0 0 3px rgba(247, 162, 27, .25); }
.tpl a { position: absolute; top: 12px; right: 12px; background: rgba(255,255,255,.92); border-radius: 99px; font-size: .7rem; padding: 2px 8px; font-weight: 600; }
.dp-pay { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; justify-content: space-between; margin-bottom: 20px; border: 2px dashed var(--p1); background: #fffaf0; }
.dp-pay > div:first-child { flex: 1; min-width: 260px; }
.dp-pay-btns { display: flex; flex-direction: column; gap: 8px; align-items: stretch; }
.dp-share { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; margin-bottom: 20px; border: 2px solid rgba(46, 212, 122, .5); background: #f3fdf7; }
.dp-qr { background: #fff; padding: 10px; border-radius: 14px; border: 1px solid var(--card-b); line-height: 0; }
.dp-url { display: flex; gap: 8px; }
.dp-url input { padding: 9px 12px; font-size: .92rem; }
.dp-slug { display: flex; align-items: center; border: 1px solid var(--card-b); border-radius: 12px; overflow: hidden; background: #fff; }
.dp-slug span { padding: 0 4px 0 14px; color: var(--muted); white-space: nowrap; font-size: .92rem; }
.dp-slug input { border: 0; padding-left: 2px; box-shadow: none !important; }
.ed { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.ed-form { display: grid; gap: 18px; }
.ed-sec { padding: 22px; }
.ed-sec:hover { border-color: var(--card-b); box-shadow: 0 6px 24px -14px rgba(13, 27, 62, .25); }
.ed-sec h3 { font-size: 1.1rem; margin-bottom: 14px; }
.ed-sec h3 small { font: 500 .78rem Inter, 'Noto Sans Sinhala', sans-serif; color: var(--muted); margin-left: 6px; }
.ed-inline { display: flex; align-items: center; gap: 10px; color: var(--text); flex-wrap: wrap; }
.ed-inline input[type=color] { width: 46px; height: 34px; padding: 2px; }
.ed-imgs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.ed-img { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.ed-img small { font-size: .74rem; line-height: 1.3; }
.ed-thumb { width: 84px; height: 84px; border-radius: 50%; background: var(--bg2); border: 2px dashed var(--card-b); display: grid; place-items: center; overflow: hidden; color: var(--muted); font-size: 1.6rem; margin-bottom: 4px; }
.ed-thumb.cover { width: 100%; max-width: 150px; border-radius: 14px; }
.ed-thumb.logo { border-radius: 14px; }
.ed-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ed-thumb.logo img { object-fit: contain; }
.ed-up { position: relative; overflow: hidden; margin-top: 4px; }
.ed-up input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.ed-del { font-size: .78rem; display: flex; gap: 4px; align-items: center; margin: 0; }
.ed-svc { display: grid; gap: 12px; margin-bottom: 12px; }
.ed-svc-row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px; padding-bottom: 12px; border-bottom: 1px dashed var(--card-b); }
.ed-svc-row[hidden] { display: none; }
.ed-svc-row .full { grid-column: 1 / -1; }
.ed-svc-row input { padding: 10px 12px; }
.ed-gal { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.ed-g { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; margin: 0; background: var(--bg2); }
.ed-g img { width: 100%; height: 100%; object-fit: cover; }
.ed-g span { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,.55); color: #fff; font-size: .72rem; padding: 4px 6px; display: flex; gap: 4px; align-items: center; }
.ed-add { display: grid; place-items: center; text-align: center; border: 2px dashed var(--card-b); color: var(--muted); font-size: 1.6rem; line-height: 1; cursor: pointer; align-content: center; }
.ed-add small { font-size: .75rem; }
.ed-add input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.ed-savebar { position: sticky; bottom: 0; z-index: 5; display: flex; gap: 14px; align-items: center; padding: 14px 0; background: linear-gradient(180deg, transparent, var(--bg) 35%); }
.ed-pv { position: sticky; top: 90px; }
.ed-phone { width: 330px; height: 660px; margin: 0 auto; border: 11px solid #0d1b3e; border-radius: 46px; overflow: hidden; background: #fff; box-shadow: 0 30px 60px -30px rgba(13, 27, 62, .6); position: relative; }
.ed-phone::before { content: ''; position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 90px; height: 22px; border-radius: 99px; background: #0d1b3e; z-index: 2; }
.ed-phone iframe { width: 100%; height: 100%; border: 0; display: block; }
.ed-pvbtn { display: none; }
@media (max-width: 1150px) {
  .ed { grid-template-columns: 1fr; }
  .ed-pv { position: static; }
  .ed-pvbtn { display: block; position: fixed; right: 16px; bottom: 90px; z-index: 40; background: #0d1b3e; color: #fff; padding: 10px 16px; border-radius: 99px; font-weight: 600; box-shadow: 0 10px 24px -10px rgba(0,0,0,.6); }
}
@media (max-width: 520px) { .ed-imgs { grid-template-columns: 1fr 1fr; } .ed-phone { width: 300px; height: 600px; } .dp-pay-btns { width: 100%; } }

/* sales page */
.dpp-hero { padding: 60px 0 40px; }
.dpp-hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.dpp-hero h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
.dpp-price { display: inline-flex; align-items: baseline; gap: 10px; background: #fff; border: 2px solid var(--p1); border-radius: 18px; padding: 10px 20px; margin: 10px 0 22px; box-shadow: 0 10px 30px -18px rgba(247,162,27,.9); }
.dpp-price b { font: italic 800 2.2rem Poppins; color: var(--p2); }
.dpp-price s { color: var(--muted); }
.dpp-price span { font-weight: 700; color: #b86e00; text-transform: uppercase; font-size: .8rem; letter-spacing: .08em; }
.ph { display: block; width: 250px; height: 506px; border: 9px solid #0d1b3e; border-radius: 40px; overflow: hidden; position: relative; background: #fff; box-shadow: 0 30px 60px -30px rgba(13,27,62,.6); margin: 0 auto; }
.ph::before { content: ''; position: absolute; top: 7px; left: 50%; transform: translateX(-50%); width: 70px; height: 18px; border-radius: 99px; background: #0d1b3e; z-index: 2; }
.ph iframe { width: 375px; height: 732px; border: 0; transform: scale(.6427); transform-origin: 0 0; pointer-events: none; display: block; }
.ph.big { width: 310px; height: 630px; border-width: 11px; border-radius: 48px; }
.ph.big iframe { width: 390px; height: 764px; transform: scale(.7385); }
.dpp-gal { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 34px 20px; }
.dpp-d { text-align: center; }
.dpp-d h3 { margin: 16px 0 2px; font-size: 1.1rem; }
.dpp-d p { margin: 0 0 10px; font-size: .88rem; }
.dpp-d .btns { display: flex; gap: 8px; justify-content: center; }
.dpp-feat { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.dpp-feat .card { padding: 22px; }
.dpp-feat .ic { font-size: 1.8rem; }
.dpp-feat h3 { font-size: 1.05rem; margin: 8px 0 4px; }
.dpp-feat p { margin: 0; font-size: .9rem; }
.dpp-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; counter-reset: s; }
.dpp-steps .card { padding: 22px; }
.dpp-steps .card::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--grad); color: #fff; font: 800 1.1rem Poppins; margin-bottom: 10px; }
.dpp-plan { max-width: 520px; margin: 0 auto; text-align: center; border: 2px solid var(--p1); }
.dpp-plan ul { text-align: left; list-style: none; padding: 0; margin: 18px 0 24px; display: grid; gap: 8px; color: var(--text); }
.dpp-plan li::before { content: '✓'; color: var(--ok); font-weight: 800; margin-right: 10px; }
.dpp-faq details { background: #fff; border: 1px solid var(--card-b); border-radius: 14px; padding: 16px 20px; margin-bottom: 10px; }
.dpp-faq summary { cursor: pointer; font-weight: 600; }
.dpp-faq p { margin: 10px 0 0; color: var(--muted); }
@media (max-width: 900px) { .dpp-hero .wrap { grid-template-columns: 1fr; text-align: center; } }
