/* BDIT POS - public website. Dark, premium look. No images, no frameworks: CSS only. */
:root {
  --bg: #0a0f1e; --bg-2: #0d1426; --card: #111827; --card-2: #0d1117; --line: rgba(148, 163, 184, .16);
  --head: #f1f5f9; --body: #94a3b8; --muted: #64748b;
  --primary: #6366f1; --violet: #a855f7; --cyan: #45afe2; --ok: #22c55e;
  --grad: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
  --grad-soft: linear-gradient(135deg, rgba(99, 102, 241, .9), rgba(168, 85, 247, .9));
  --radius: 18px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; background: var(--bg); }
body { margin: 0; font-family: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color: var(--body); background: var(--bg); line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; position: relative; }
h1, h2, h3, h4 { color: var(--head); line-height: 1.12; margin: 0; letter-spacing: -.025em; font-weight: 800; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid transparent; cursor: pointer; padding: 12px 24px; border-radius: 12px; font: 700 .98rem/1.2 "Plus Jakarta Sans", "Inter", system-ui, sans-serif; transition: transform .18s, box-shadow .18s, background .18s, border-color .18s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn.primary { background: var(--grad); color: #fff; box-shadow: 0 10px 30px -10px rgba(99, 102, 241, .8); }
.btn.primary:hover { box-shadow: 0 14px 38px -8px rgba(139, 92, 246, .95); }
.btn.accent { background: var(--grad); color: #fff; position: relative; animation: pulse 2.6s ease-in-out infinite; }
.btn.accent::after { content: ""; position: absolute; inset: -2px; border-radius: 14px; background: var(--grad); filter: blur(14px); opacity: .55; z-index: -1; transition: opacity .2s; }
.btn.accent:hover::after { opacity: .9; }
.btn.ghost { background: rgba(255, 255, 255, .04); color: var(--head); border-color: var(--line); }
.btn.ghost:hover { background: rgba(255, 255, 255, .09); border-color: rgba(148, 163, 184, .4); }
.btn.light { background: #fff; color: #1e1b4b; }
.btn.outline-light { background: rgba(255, 255, 255, .04); color: var(--head); border-color: rgba(148, 163, 184, .35); }
.btn.outline-light:hover { background: rgba(255, 255, 255, .1); }
.btn.lg { padding: 15px 30px; font-size: 1.05rem; border-radius: 14px; }
.btn.block { width: 100%; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(139, 92, 246, .55); } 50% { box-shadow: 0 0 0 14px rgba(139, 92, 246, 0); } }

/* nav */
.nav { position: sticky; top: 0; z-index: 60; background: rgba(10, 15, 30, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 1.2rem; color: var(--head); letter-spacing: -.02em; }
.brand .plate { display: flex; align-items: center; }
.brand .logoimg { height: 40px; width: auto; display: block; filter: brightness(0) invert(1); margin-left: -12px; margin-right: -4px; }
.brand .bname { display: flex; align-items: center; gap: 7px; }
.brand .bn-full { display: none; }
.brand .bn-pos { font-weight: 800; letter-spacing: .04em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: 1.15rem; }
.brand .mark { display: none; }
.brand.nologo .plate { display: none; } .brand.nologo .mark { display: grid; } .brand.nologo .bn-full { display: inline; } .brand.nologo .bn-pos { display: none; }
.brand .mark { width: 38px; height: 38px; border-radius: 11px; background: var(--grad); color: #fff; display: none; place-items: center; font-size: 1rem; box-shadow: 0 8px 20px -6px rgba(99, 102, 241, .9); }
.menu { display: flex; align-items: center; gap: 30px; }
.menu a:not(.btn) { color: var(--body); font-weight: 500; font-size: .95rem; transition: color .15s; }
.menu a:not(.btn):hover { color: #fff; }
.menu .btn { padding: 10px 20px; }
.burger { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; cursor: pointer; font-size: 1.2rem; color: var(--head); }

/* hero */
.hero { position: relative; overflow: hidden; padding: 96px 0 110px; background: var(--bg); isolation: isolate; }
.hero::before { content: ""; position: absolute; z-index: -1; width: 780px; height: 780px; right: -220px; top: -300px; background: radial-gradient(circle, rgba(99, 102, 241, .5), transparent 65%); }
.hero::after { content: ""; position: absolute; z-index: -1; width: 640px; height: 640px; left: -240px; bottom: -340px; background: radial-gradient(circle, rgba(168, 85, 247, .32), transparent 65%); }
.hero .gridlines { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(148, 163, 184, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(148, 163, 184, .06) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 25%, transparent 75%); mask-image: radial-gradient(ellipse at 50% 30%, #000 25%, transparent 75%); }
.hero .grid { display: grid; grid-template-columns: 1.12fr 1fr; gap: 48px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 9px; background: rgba(99, 102, 241, .12); border: 1px solid rgba(129, 140, 248, .35); color: #c7d2fe; padding: 7px 16px; border-radius: 999px; font-size: .85rem; font-weight: 600; }
.pill i { color: var(--cyan); }
.hero h1 { font-size: clamp(2.5rem, 4.7vw, 4.7rem); margin: 22px 0 20px; line-height: 1.05; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #818cf8, #c084fc 55%, #45afe2); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 1.15rem; max-width: 540px; margin: 0 0 32px; color: var(--body); }
.hero .cta { display: flex; gap: 14px; flex-wrap: wrap; }
.trust { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 30px; font-size: .9rem; color: var(--body); }
.trust span i { color: var(--ok); margin-right: 8px; }

/* hero mock: a POS sale screen */
.pos { background: linear-gradient(180deg, #131c33, #0d1426); border: 1px solid rgba(129, 140, 248, .28); border-radius: 20px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .03) inset, 0 0 90px -20px rgba(99, 102, 241, .55); overflow: hidden; transform: perspective(1400px) rotateY(-5deg) rotateX(2deg); }
.pos .top { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .02); }
.pos .top i { width: 10px; height: 10px; border-radius: 50%; display: block; } .pos .top i:nth-child(1) { background: #ef4444; } .pos .top i:nth-child(2) { background: #f59e0b; } .pos .top i:nth-child(3) { background: #22c55e; }
.pos .top b { margin-left: 10px; font-size: .78rem; color: var(--body); font-weight: 600; }
.pos .top .live { margin-left: auto; font-size: .68rem; color: var(--ok); display: flex; align-items: center; gap: 6px; font-weight: 700; } .pos .top .live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.pos .body { display: grid; grid-template-columns: 1.55fr 1fr; }
.pos .left { padding: 16px; border-right: 1px solid var(--line); }
.pos .search { display: flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; font-size: .75rem; color: var(--muted); margin-bottom: 12px; }
.pos table { width: 100%; border-collapse: collapse; font-size: .74rem; color: #cbd5e1; }
.pos th { text-align: left; color: var(--muted); font-weight: 600; font-size: .66rem; text-transform: uppercase; letter-spacing: .06em; padding: 6px 4px; }
.pos td { padding: 9px 4px; border-top: 1px solid var(--line); } .pos td:nth-child(n+2), .pos th:nth-child(n+2) { text-align: right; } .pos td b { color: var(--head); font-weight: 600; }
.pos .right { padding: 16px; display: flex; flex-direction: column; gap: 8px; background: rgba(255, 255, 255, .015); }
.pos .row { display: flex; justify-content: space-between; font-size: .74rem; color: var(--body); }
.pos .total { margin-top: 6px; padding-top: 10px; border-top: 1px dashed rgba(148, 163, 184, .3); }
.pos .total small { display: block; font-size: .66rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.pos .total strong { font-size: 1.7rem; color: #fff; letter-spacing: -.02em; line-height: 1.2; }
.paid { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; background: rgba(34, 197, 94, .14); border: 1px solid rgba(34, 197, 94, .4); color: #4ade80; font-weight: 700; font-size: .68rem; padding: 3px 10px; border-radius: 999px; }
.pay { display: flex; gap: 6px; margin-top: 4px; } .pay span { flex: 1; text-align: center; font-size: .66rem; padding: 6px 0; border-radius: 8px; border: 1px solid var(--line); color: var(--body); } .pay span.on { background: rgba(99, 102, 241, .22); border-color: rgba(129, 140, 248, .7); color: #fff; font-weight: 700; }
.pos .done { margin-top: auto; text-align: center; font-size: .78rem; font-weight: 700; color: #fff; background: var(--grad); padding: 10px; border-radius: 10px; box-shadow: 0 10px 24px -10px rgba(99, 102, 241, .9); }
.pos .foot { display: flex; gap: 18px; padding: 10px 16px; border-top: 1px solid var(--line); font-size: .68rem; color: var(--muted); } .pos .foot b { color: var(--head); }

/* sections */
section { padding: 100px 0; position: relative; }
section.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { text-align: center; max-width: 700px; margin: 0 auto 56px; }
.sec-head .eyebrow { display: inline-block; font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; background: linear-gradient(90deg, #818cf8, #45afe2); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sec-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); margin-bottom: 14px; }
.sec-head p { margin: 0; color: var(--body); font-size: 1.08rem; }

/* gradient-border cards */
.fcard, .pcard { position: relative; background: var(--card); border-radius: var(--radius); border: 1px solid transparent; background-clip: padding-box; }
.fcard::before, .pcard::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(160deg, rgba(129, 140, 248, .5), rgba(148, 163, 184, .08) 40%, rgba(168, 85, 247, .35)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; opacity: .75; transition: opacity .25s; }
.fcard:hover::before, .pcard:hover::before { opacity: 1; }

/* features */
.fgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.fcard { padding: 30px 26px; transition: transform .25s, box-shadow .25s; }
.fcard:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -24px rgba(99, 102, 241, .55); }
.ico { width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; font-size: 1.35rem; color: #a5b4fc; background: rgba(99, 102, 241, .14); border: 1px solid rgba(129, 140, 248, .35); margin-bottom: 20px; box-shadow: 0 0 24px -6px rgba(99, 102, 241, .6); }
.fcard:nth-child(even) .ico { color: #7cc8ee; background: rgba(69, 175, 226, .1); border-color: rgba(69, 175, 226, .35); box-shadow: 0 0 24px -6px rgba(69, 175, 226, .5); }
.fcard h3 { font-size: 1.15rem; margin-bottom: 10px; } .fcard p { margin: 0; color: var(--body); font-size: .96rem; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 40px; }
.chip { background: rgba(255, 255, 255, .03); border: 1px solid var(--line); color: #cbd5e1; border-radius: 999px; padding: 9px 18px; font-size: .88rem; font-weight: 500; transition: border-color .2s, background .2s; }
.chip:hover { border-color: rgba(129, 140, 248, .6); background: rgba(99, 102, 241, .1); }
.chip i { color: #818cf8; margin-right: 9px; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; position: relative; }
.steps::before { content: ""; position: absolute; top: 36px; left: 16.6%; right: 16.6%; height: 2px; background: linear-gradient(90deg, #6366f1, #a855f7 50%, #45afe2); opacity: .55; }
.step { text-align: center; padding: 0 12px; position: relative; }
.step .num { width: 74px; height: 74px; border-radius: 50%; margin: 0 auto 24px; display: grid; place-items: center; font-size: 1.5rem; color: #fff; background: var(--bg-2); border: 2px solid #6366f1; box-shadow: 0 0 0 8px var(--bg-2), 0 0 34px -2px rgba(99, 102, 241, .8); position: relative; }
.step:nth-child(2) .num { border-color: #a855f7; box-shadow: 0 0 0 8px var(--bg-2), 0 0 34px -2px rgba(168, 85, 247, .8); }
.step:nth-child(3) .num { border-color: #45afe2; box-shadow: 0 0 0 8px var(--bg-2), 0 0 34px -2px rgba(69, 175, 226, .7); }
.step .num i { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step h3 { font-size: 1.25rem; margin-bottom: 10px; } .step p { margin: 0 auto; max-width: 310px; color: var(--body); }

/* pricing */
.pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; align-items: stretch; }
.pcard { padding: 32px 26px 26px; display: flex; flex-direction: column; background: linear-gradient(180deg, var(--card), var(--card-2)); transition: transform .25s, box-shadow .25s; }
.pcard:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -26px rgba(99, 102, 241, .6); }
.pcard.pop { box-shadow: 0 0 0 1px rgba(129, 140, 248, .7), 0 0 60px -8px rgba(99, 102, 241, .7), 0 30px 60px -30px rgba(139, 92, 246, .8); }
.pcard.pop::before { background: linear-gradient(160deg, #6366f1, #a855f7 55%, #45afe2); opacity: 1; padding: 2px; }
.badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--grad); color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 6px 16px; border-radius: 999px; white-space: nowrap; box-shadow: 0 8px 20px -6px rgba(99, 102, 241, .9); }
.pcard h3 { font-size: 1.2rem; text-align: center; color: #e2e8f0; }
.price { text-align: center; margin: 16px 0 8px; color: #fff; }
.price small.cur { display: block; color: var(--muted); font-weight: 700; font-size: .78rem; letter-spacing: .12em; }
.price b { font-size: 3rem; font-weight: 800; letter-spacing: -.04em; line-height: 1.1; color: #fff; }
.price span { color: var(--muted); font-size: .95rem; }
.limits { list-style: none; margin: 18px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); flex: 1; }
.limits li { padding: 6px 0 6px 30px; position: relative; font-size: .94rem; color: #cbd5e1; font-weight: 500; }
.limits li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 0; top: 7px; width: 20px; height: 20px; border-radius: 50%; background: rgba(34, 197, 94, .16); color: var(--ok); font-size: .58rem; display: grid; place-items: center; }
details.mods { margin: 14px 0 20px; font-size: .88rem; }
details.mods summary { cursor: pointer; color: #a5b4fc; font-weight: 600; list-style: none; }
details.mods summary::-webkit-details-marker { display: none; }
details.mods summary::after { content: " \25BE"; }
details.mods ul { list-style: none; margin: 12px 0 0; padding: 0; color: var(--body); }
details.mods li { padding: 3px 0 3px 22px; position: relative; } details.mods li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 0; color: var(--ok); font-size: .7rem; top: 7px; }
.pcard .btns { display: grid; gap: 10px; }
.note { text-align: center; color: var(--muted); margin: 34px 0 0; font-size: .95rem; }

/* cta band */
.band { position: relative; overflow: hidden; text-align: center; padding: 96px 0; background: var(--bg-2); border-top: 1px solid var(--line); isolation: isolate; }
.band::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 50%; width: 900px; height: 420px; transform: translate(-50%, -50%); background: radial-gradient(ellipse, rgba(99, 102, 241, .38), transparent 68%); }
.band h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); margin-bottom: 12px; } .band p { margin: 0 auto 30px; max-width: 540px; font-size: 1.08rem; }

/* footer */
footer { background: #070b16; color: var(--body); padding: 70px 0 28px; border-top: 1px solid var(--line); }
.fcols { display: grid; grid-template-columns: 2fr 1fr 1.4fr; gap: 40px; }
footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
footer p { margin: 12px 0 0; max-width: 340px; } footer ul { list-style: none; margin: 0; padding: 0; } footer li { margin: 10px 0; }
footer a:hover { color: #fff; }
footer .brand { color: #fff; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); color: #cbd5e1; transition: transform .18s, background .18s, border-color .18s, color .18s; }
.social a:hover { transform: translateY(-3px); background: rgba(99, 102, 241, .2); border-color: rgba(129, 140, 248, .6); color: #fff; }
footer .by a, .copy a { color: #cbd5e1; text-decoration: underline; text-underline-offset: 3px; }
footer li a:hover { color: #fff; }
footer li i { width: 22px; color: #818cf8; }
.copy { border-top: 1px solid var(--line); margin-top: 44px; padding-top: 22px; font-size: .86rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; color: var(--muted); }

/* reveal on scroll (the page is fully visible without JavaScript) */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* responsive */
@media (max-width: 1100px) { .pgrid, .fgrid { grid-template-columns: repeat(2, 1fr); } .hero .grid { grid-template-columns: 1fr; } .pos { transform: none; max-width: 640px; margin: 8px auto 0; } .hero p.lead { max-width: 640px; } }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 44px; } .steps::before { display: none; }
  .fcols { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .burger { display: block; }
  .menu { display: none; position: absolute; top: 72px; left: 0; right: 0; background: #0a0f1e; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 20px; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px rgba(0, 0, 0, .5); }
  .menu.open { display: flex; } .menu a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); } .menu .btn { margin-top: 16px; }
}
@media (max-width: 620px) {
  .wrap { padding: 0 16px; } section { padding: 64px 0; }
  .pgrid, .fgrid { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 70px; } .hero .cta .btn { flex: 1 1 100%; }
  .pos .body { grid-template-columns: 1fr; } .pos .left { border-right: 0; border-bottom: 1px solid var(--line); }
  .band { padding: 70px 0; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } .js .reveal { opacity: 1; transform: none; } }

/* ---------- signup page (dark) ---------- */
body.su { background: var(--bg); min-height: 100vh; display: flex; flex-direction: column; }
.su-main { flex: 1; padding: 54px 0 80px; position: relative; isolation: isolate; overflow: hidden; }
.su-main::before { content: ""; position: absolute; z-index: -1; width: 700px; height: 700px; right: -200px; top: -240px; background: radial-gradient(circle, rgba(99, 102, 241, .28), transparent 65%); }
.su-main::after { content: ""; position: absolute; z-index: -1; width: 560px; height: 560px; left: -220px; bottom: -200px; background: radial-gradient(circle, rgba(168, 85, 247, .18), transparent 65%); }
.su .nav .menu a:not(.btn) { padding: 0; }
.su-head { text-align: center; margin: 0 auto 38px; max-width: 720px; }
.su-head h1, .su-center h1 { font-size: clamp(2rem, 4vw, 3.1rem); margin-bottom: 12px; }
.su-lead { margin: 0; color: var(--body); font-size: 1.1rem; }
.su-grid { display: grid; grid-template-columns: 380px 1fr; gap: 28px; align-items: start; }
.su-plan { position: sticky; top: 96px; }
.su-plan-in { position: relative; background: linear-gradient(180deg, var(--card), var(--card-2)); border-radius: 20px; padding: 34px 28px 26px; box-shadow: 0 0 0 1px rgba(129, 140, 248, .55), 0 0 60px -10px rgba(99, 102, 241, .6), 0 30px 60px -30px rgba(139, 92, 246, .7); }
.su-tag { display: block; text-align: center; text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; font-weight: 700; color: #a5b4fc; margin-bottom: 6px; }
.su-plan h2 { text-align: center; font-size: 1.7rem; }
.su-price { margin: 12px 0 4px; } .su-price b { font-size: 3.2rem; }
.su-after { text-align: center; margin: 0 0 6px; color: var(--muted); font-size: .88rem; }
.su-plan .limits { margin-top: 16px; flex: none; }
.su-plan details.mods { margin: 14px 0 0; }
.su-plan details.mods ul { columns: 1; }
.su-card { background: linear-gradient(180deg, var(--card), var(--card-2)); border: 1px solid var(--line); border-radius: 20px; padding: 30px 30px 28px; }
.su-card h2 { font-size: 1.1rem; margin: 26px 0 16px; display: flex; align-items: center; gap: 12px; } .su-card h2:first-of-type { margin-top: 0; }
.su-card h2 .n { width: 28px; height: 28px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-size: .82rem; font-weight: 800; }
.su-center { max-width: 640px; margin: 0 auto; text-align: center; }
.su-center .su-card { text-align: left; margin-top: 26px; } .su-center .su-card h2 { margin-top: 0; }
.su-center .su-card p { color: var(--body); } .su-center .su-card a { color: #a5b4fc; text-decoration: underline; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 18px; }
label.f { display: block; font-weight: 600; font-size: .9rem; color: #cbd5e1; margin-bottom: 7px; } label.f .note { font-weight: 400; color: var(--muted); font-size: .8rem; }
.su input[type=text], .su input[type=email], .su input[type=password], .su input[type=tel] { width: 100%; padding: 13px 15px; border: 1px solid rgba(148, 163, 184, .28); border-radius: 12px; font: 500 1rem "Plus Jakarta Sans", "Inter", system-ui, sans-serif; background: #0a1020; color: #f1f5f9; transition: border-color .15s, box-shadow .15s; }
.su input::placeholder { color: #475569; }
.su input:focus { outline: none; border-color: #818cf8; box-shadow: 0 0 0 4px rgba(99, 102, 241, .25); }
.sub { display: flex; align-items: center; gap: 8px; } .sub input { flex: 1; min-width: 100px; } .sub .suf { color: var(--muted); white-space: nowrap; font-size: .92rem; }
#slugMsg { display: flex; align-items: center; gap: 7px; min-height: 24px; font-size: .86rem; margin-top: 6px; }
#slugMsg .ic { width: 20px; height: 20px; border-radius: 50%; color: #0a0f1e; display: inline-flex; align-items: center; justify-content: center; font-size: .75rem; font-weight: 800; }
#slugMsg.ok { color: #4ade80; } #slugMsg.ok .ic { background: #22c55e; } #slugMsg.bad { color: #f87171; } #slugMsg.bad .ic { background: #ef4444; } #slugMsg.warn { color: #fbbf24; } #slugMsg.warn .ic { background: #f59e0b; }
.pk { display: flex; flex-wrap: wrap; gap: 9px; }
.pk label { display: block; cursor: pointer; }
.pk input { position: absolute; opacity: 0; pointer-events: none; }
.pk .c { display: flex; flex-direction: column; gap: 1px; border: 1px solid rgba(148, 163, 184, .28); border-radius: 12px; padding: 9px 14px; background: #0a1020; color: #cbd5e1; transition: border-color .15s, background .15s, box-shadow .15s; min-width: 92px; }
.pk .c b { font-size: .88rem; color: #fff; font-weight: 700; } .pk .c .pr { font-size: .76rem; color: var(--muted); }
.pk label:hover .c { border-color: rgba(129, 140, 248, .6); }
.pk input:checked + .c { border-color: #818cf8; background: rgba(99, 102, 241, .18); box-shadow: 0 0 0 3px rgba(99, 102, 241, .25); }
.pk input:checked + .c .pr { color: #c7d2fe; }
.pk input:focus-visible + .c { outline: 2px solid #a5b4fc; outline-offset: 2px; }
.su-terms { display: flex; align-items: center; gap: 10px; margin: 26px 0 18px; color: var(--body); font-size: .93rem; cursor: pointer; } .su-terms input { width: 18px; height: 18px; accent-color: #6366f1; } .su-terms a { color: #a5b4fc; text-decoration: underline; }
.su .err { background: rgba(239, 68, 68, .12); border: 1px solid rgba(239, 68, 68, .45); color: #fca5a5; padding: 13px 16px; border-radius: 12px; margin-bottom: 18px; }
.su-trust { display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; margin-top: 20px; font-size: .88rem; color: var(--body); } .su-trust i { color: var(--ok); margin-right: 7px; }
.hp { position: absolute; left: -9999px; top: -9999px; height: 0; overflow: hidden; }
.su .cred { background: #0a1020; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; } .su .cred p { margin: 6px 0; color: var(--body); } .su .cred code { color: #fff; font-weight: 700; font-size: 1.02rem; word-break: break-all; }
.su .note { color: var(--muted); font-size: .88rem; }
.su-foot { border-top: 1px solid var(--line); padding: 22px 0; font-size: .86rem; color: var(--muted); } .su-foot .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; } .su-foot a { color: #cbd5e1; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 960px) { .su-grid { grid-template-columns: 1fr; } .su-plan { position: static; } }
@media (max-width: 620px) { .row { grid-template-columns: 1fr; } .su-card { padding: 24px 18px; } .su-main { padding: 36px 0 60px; } .sub { flex-wrap: wrap; } }
@media (max-width: 820px) { .menu.simple { display: flex; position: static; flex-direction: row; align-items: center; padding: 0; background: none; border: 0; box-shadow: none; gap: 18px; } .menu.simple a:not(.btn) { padding: 0; border: 0; } }

/* ---------- payment pages: pay, renew, upgrade, buy, result (dark) ---------- */
.sp .sp-secure { color: #4ade80; font-size: .85rem; font-weight: 600; background: rgba(34, 197, 94, .1); border: 1px solid rgba(34, 197, 94, .35); padding: 6px 14px; border-radius: 999px; }
.sp .sp-secure i { margin-right: 6px; }
.sp-wrap { max-width: 880px; }
.sp h1 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin: 0 0 10px; }
.sp .lead { margin: 0 0 28px; color: var(--body); font-size: 1.08rem; }
.sp .lead b, .sp p b { color: #fff; }
.sp main a:not(.btn) { color: #a5b4fc; text-decoration: underline; text-underline-offset: 3px; }
.sp .card { background: linear-gradient(180deg, var(--card), var(--card-2)); border: 1px solid var(--line); border-radius: 20px; padding: 26px 28px; margin-bottom: 22px; color: var(--body); }
.sp .card h2 { font-size: 1.15rem; margin: 0 0 14px; color: #fff; }
.sp .card p { margin: 0 0 12px; } .sp .card p:last-child { margin-bottom: 0; }
.sp #paySummary, .sp #upTop, .sp .card.hl { box-shadow: 0 0 0 1px rgba(129, 140, 248, .5), 0 0 50px -12px rgba(99, 102, 241, .55); }
.sp .sum { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; color: var(--body); }
.sp .sum b { color: #fff; } .sp .sum b.amt { font-size: 2.2rem; letter-spacing: -.03em; font-weight: 800; }
.sp .note { text-align: left; margin: 0; color: var(--muted); font-size: .9rem; }
.sp .tabs { display: flex; gap: 12px; flex-wrap: wrap; margin: 0 0 18px; }
.sp .tab { border: 1px solid rgba(148, 163, 184, .28); background: #0a1020; color: #cbd5e1; border-radius: 14px; padding: 13px 20px; font: 600 .98rem "Plus Jakarta Sans", "Inter", system-ui, sans-serif; cursor: pointer; text-align: left; transition: border-color .15s, background .15s, box-shadow .15s; }
.sp .tab:hover:not(.off) { border-color: rgba(129, 140, 248, .65); }
.sp .tab.on { border-color: #818cf8; background: rgba(99, 102, 241, .18); color: #fff; box-shadow: 0 0 0 3px rgba(99, 102, 241, .25); }
.sp .tab.off { color: #475569; background: rgba(255, 255, 255, .02); cursor: not-allowed; } .sp .tab small { display: block; color: #475569; font-size: .74rem; font-weight: 500; }
.sp .panel { display: none; } .sp .panel.on { display: block; }
.sp table.kv { border-collapse: collapse; margin: 0 0 14px; } .sp table.kv td { padding: 7px 28px 7px 0; vertical-align: top; color: #cbd5e1; } .sp table.kv td:first-child { color: var(--muted); white-space: nowrap; } .sp table.kv b { color: #fff; }
.sp label.f { display: block; font-weight: 600; font-size: .9rem; color: #cbd5e1; margin: 16px 0 7px; }
.sp input[type=text], .sp input[type=file], .sp input[type=password], .sp input[type=email] { width: 100%; padding: 13px 15px; border: 1px solid rgba(148, 163, 184, .28); border-radius: 12px; font: 500 1rem "Plus Jakarta Sans", "Inter", system-ui, sans-serif; background: #0a1020; color: #f1f5f9; }
.sp input[type=file] { padding: 10px 12px; color: var(--body); } .sp input[type=file]::file-selector-button { margin-right: 12px; border: 0; border-radius: 8px; padding: 8px 14px; background: rgba(99, 102, 241, .25); color: #e0e7ff; font: 600 .88rem inherit; cursor: pointer; }
.sp .btn { background: var(--grad); color: #fff; border: 0; box-shadow: 0 10px 30px -10px rgba(99, 102, 241, .8); padding: 12px 26px; }
.sp .btn.sec { background: rgba(255, 255, 255, .05); border: 1px solid rgba(148, 163, 184, .35); box-shadow: none; color: #e2e8f0; } .sp .btn.sec:hover { background: rgba(255, 255, 255, .1); }
.sp .btn.green { background: linear-gradient(135deg, #16a34a, #22c55e); box-shadow: 0 10px 28px -10px rgba(34, 197, 94, .7); } .sp .btn.red { background: linear-gradient(135deg, #dc2626, #ef4444); box-shadow: 0 10px 28px -10px rgba(239, 68, 68, .7); }
.sp .err { background: rgba(239, 68, 68, .12); border: 1px solid rgba(239, 68, 68, .45); color: #fca5a5; padding: 13px 16px; border-radius: 12px; margin-bottom: 18px; }
.sp .okbox { background: rgba(34, 197, 94, .1); border: 1px solid rgba(34, 197, 94, .4); color: #86efac; padding: 13px 16px; border-radius: 12px; margin-bottom: 18px; }
.sp .cred { background: #0a1020; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; } .sp code { color: #fff; font-weight: 700; word-break: break-all; }
.sp .pk { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sp .pk .c { display: flex; flex-direction: column; gap: 6px; border: 1px solid var(--line); border-radius: 18px; padding: 22px; background: linear-gradient(180deg, var(--card), var(--card-2)); color: var(--body); min-width: 0; transition: border-color .2s, box-shadow .2s, transform .2s; }
.sp .pk .c:hover { border-color: rgba(129, 140, 248, .6); transform: translateY(-3px); box-shadow: 0 20px 40px -24px rgba(99, 102, 241, .6); }
.sp .pk .c b { font-size: 1.2rem; color: #fff; } .sp .pk .c .pr { font-weight: 800; color: #c7d2fe; font-size: 1.05rem; } .sp .pk .c small { color: var(--muted); display: block; line-height: 1.5; margin-bottom: 10px; }
.sp .pk .c form { margin-top: auto; } .sp .pk .c .btn { width: 100%; white-space: normal; text-align: center; line-height: 1.3; }
.sp-wrap > .btn, .sp .card .btn { margin-top: 4px; }
@media (max-width: 820px) { .sp .pk { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .sp .pk { grid-template-columns: 1fr; } .sp .card { padding: 22px 18px; } .sp .tab { flex: 1 1 100%; } .sp .sp-secure { font-size: .76rem; padding: 5px 10px; } }

/* signup: math CAPTCHA */
.su-cap { margin-top: 26px; }
.su-cap-row { display: flex; align-items: stretch; gap: 12px; flex-wrap: wrap; }
.su-cap-q { display: flex; align-items: center; padding: 11px 18px; border-radius: 12px; font-size: 1.15rem; font-weight: 800; color: #fff; letter-spacing: .01em; background: linear-gradient(135deg, rgba(99, 102, 241, .2), rgba(168, 85, 247, .18)); border: 1px solid rgba(129, 140, 248, .55); box-shadow: 0 0 26px -10px rgba(99, 102, 241, .8); user-select: none; }
.su .su-cap input[type=text] { width: 140px; text-align: center; font-size: 1.1rem; font-weight: 700; }
.su-cap-help { margin: 8px 0 0; color: var(--muted); font-size: .84rem; }
@media (max-width: 620px) { .su .su-cap input[type=text] { flex: 1; width: auto; min-width: 110px; } }
