/* LedgerPulse Store ? full theme */
:root {
  --bg: #050e1c;
  --bg2: #0a1a33;
  --card: rgba(15, 39, 68, .88);
  --line: rgba(255,255,255,.1);
  --text: #eef3fa;
  --muted: #9bb0c9;
  --gold: #c9a227;
  --gold2: #f0c14b;
  --ok: #3dd68c;
  --danger: #ff6b6b;
  --accent: #4d9fff;
  --radius: 18px;
  --font: "Cairo", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; max-width: 100%; width: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  position: relative;
}
img, video, svg, canvas { max-width: 100%; height: auto; }
a { color: var(--gold2); text-decoration: none; }
.wrap { width: min(1120px, 92%); margin-inline: auto; max-width: 100%; }
.top {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap;
  padding: .85rem 0; position: sticky; top: 0; z-index: 40;
  backdrop-filter: blur(14px); background: rgba(5,14,28,.82); border-bottom: 1px solid var(--line);
}
.logo { font-weight: 800; font-size: 1.3rem; color: #fff; }
.badge {
  display: inline-block; background: rgba(201,162,39,.14); color: var(--gold2);
  border: 1px solid rgba(201,162,39,.4); padding: .22rem .75rem; border-radius: 999px; font-size: .82rem; font-weight: 600;
}
.hero {
  position: relative; min-height: min(92vh, 720px); display: grid; align-items: end;
  padding: 2.5rem 0 3rem; isolation: isolate; overflow: hidden; max-width: 100%;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(180deg, rgba(5,14,28,.42) 0%, rgba(5,14,28,.55) 38%, rgba(5,14,28,.88) 82%, var(--bg) 100%),
    url('/shots/hub.png') center / cover no-repeat;
  filter: saturate(1.05) brightness(.82);
  transform-origin: center center;
  animation: heroPulse 12s ease-in-out infinite alternate;
}
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(3, 10, 22, .22);
  pointer-events: none;
}
.hero-glow {
  position: absolute; inset: auto 10% 18% 10%; height: 180px; z-index: -1;
  background: radial-gradient(ellipse, rgba(201,162,39,.18), transparent 70%);
  filter: blur(20px);
}
@keyframes heroPulse { from { transform: scale(1); } to { transform: scale(1.04); } }
.hero-inner {
  text-align: center; max-width: 820px; margin: 0 auto; animation: rise .8s ease both;
  position: relative; z-index: 1;
  padding: 1.15rem .9rem 1.25rem;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(5,14,28,.78), rgba(5,14,28,.68));
  box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 20px 50px rgba(0,0,0,.4);
  backdrop-filter: blur(10px);
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.brand-hero {
  font-size: clamp(2.4rem, 7vw, 4.2rem); font-weight: 800; margin: 0;
  letter-spacing: .02em; color: #fff;
  text-shadow: 0 2px 0 rgba(0,0,0,.35), 0 12px 28px rgba(0,0,0,.65);
}
.hero h1 {
  font-size: clamp(1.15rem, 2.6vw, 1.55rem); font-weight: 700; color: #f3f7ff;
  margin: .55rem 0 0; line-height: 1.55;
  text-shadow: 0 2px 10px rgba(0,0,0,.55);
}
.hero .lead {
  color: #e8eef8; max-width: 36rem; margin: 1rem auto 0; font-weight: 600;
  text-shadow: 0 2px 8px rgba(0,0,0,.5);
}
.hero #remainText,
.hero .fine-line {
  color: #dce6f5 !important; font-weight: 600;
  text-shadow: 0 1px 6px rgba(0,0,0,.45);
}
.price-row { display: flex; gap: .75rem; justify-content: center; align-items: baseline; flex-wrap: wrap; margin: 1.1rem 0 .4rem; }
.price-now {
  font-size: clamp(2rem, 5vw, 2.7rem); font-weight: 800; color: var(--gold2);
  text-shadow: 0 2px 12px rgba(0,0,0,.45);
}
.price-old { text-decoration: line-through; color: #b7c6db; font-size: 1.15rem; font-weight: 600; }
.cta-row { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; margin-top: 1.15rem; }
.mid-cta {
  display: flex; flex-direction: column; align-items: center; gap: .75rem;
  text-align: center; margin: 1.35rem auto 0; padding: 1.15rem 1.25rem;
  max-width: 640px;
  border-radius: 16px;
  border: 1px solid rgba(201,162,39,.28);
  background: linear-gradient(180deg, rgba(201,162,39,.08), rgba(7,21,38,.35));
}
.mid-cta-soft {
  margin-top: 1.6rem;
  border-color: var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.03), transparent);
}
.mid-cta-copy {
  margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.6; max-width: 34rem;
}
.mid-cta-copy strong { color: var(--gold2); font-weight: 800; }
.mid-cta-actions {
  display: flex; flex-wrap: wrap; gap: .55rem; justify-content: center;
}
.mid-cta .btn-primary { min-width: 11.5rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  border: 0; border-radius: 12px; padding: .85rem 1.3rem; font-weight: 700; cursor: pointer;
  font-family: inherit; font-size: .98rem; transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--gold2), var(--gold)); color: #1a1200; box-shadow: 0 8px 28px rgba(201,162,39,.28); }
.btn-ghost { background: rgba(255,255,255,.04); border: 1px solid var(--line); color: var(--text); }
.btn-wa { background: #128c7e; color: #fff; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-sm { padding: .45rem .8rem; font-size: .85rem; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: .9rem; margin-top: -1.5rem; position: relative; z-index: 2;
}
.step {
  background: linear-gradient(180deg, rgba(255,255,255,.06), transparent), var(--bg2);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem;
  animation: rise .7s ease both;
}
.step:nth-child(2) { animation-delay: .08s; }
.step:nth-child(3) { animation-delay: .16s; }
.step b { color: var(--gold2); display: block; margin-bottom: .25rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.card {
  background: linear-gradient(180deg, rgba(255,255,255,.04), transparent), var(--card);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem;
}
.card h3 { margin: .45rem 0; }
.card p { color: var(--muted); margin: 0; font-size: .95rem; }
.shot {
  overflow: hidden; border-radius: 14px; border: 1px solid var(--line);
  background: #0a1628; aspect-ratio: 16/10; position: relative;
}
.shot img {
  width: 100%; height: 100%; object-fit: contain; object-position: center;
  display: block; transition: transform .35s ease; background: #f4f7fb;
}
.shot-card { cursor: pointer; }
.shot-card:hover .shot img { transform: scale(1.015); }
.shot-card h3 { margin: .75rem 0 .35rem; font-size: 1.05rem; }
.shot-card p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.55; }
.shot-card .shot-hint {
  margin-top: .55rem; font-size: .78rem; color: var(--gold2); opacity: .9;
}
section { padding: 2.4rem 0; }
section h2 { text-align: center; margin: 0 0 1.3rem; font-size: clamp(1.35rem, 3vw, 1.9rem); }
.package {
  border: 1px solid rgba(201,162,39,.5);
  box-shadow: 0 0 0 1px rgba(201,162,39,.12), 0 24px 60px rgba(0,0,0,.35);
  max-width: 720px; margin-inline: auto;
}
.package ul { padding: 0 1.1rem; margin: 1rem 0; }
.package li { margin: .4rem 0; }

/* Package modules ? ???? ?????? */
.pkg-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.pkg-mod {
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(201,162,39,.07), transparent 42%),
    linear-gradient(180deg, rgba(255,255,255,.03), transparent),
    #071526;
  padding: 1.05rem 1.1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: .85rem;
  min-height: 100%;
  transition: border-color .2s ease, transform .2s ease;
}
.pkg-mod:hover {
  border-color: rgba(201,162,39,.45);
  transform: translateY(-2px);
}
.pkg-mod-head {
  display: flex; gap: .8rem; align-items: flex-start;
}
.pkg-mark {
  flex: 0 0 auto;
  width: 2.4rem; height: 2.4rem;
  display: grid; place-items: center;
  border-radius: 12px;
  font-size: .78rem; font-weight: 800; letter-spacing: .04em;
  color: #1a1200;
  background: linear-gradient(180deg, var(--gold2), var(--gold));
  box-shadow: 0 8px 18px rgba(201,162,39,.22);
}
.pkg-mod-head h3 {
  margin: 0 0 .3rem; font-size: 1.08rem; line-height: 1.3;
}
.pkg-mod-head p {
  margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.55;
}
.pkg-chips {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: .45rem;
}
.pkg-chip {
  display: inline-flex; flex-direction: column; gap: .08rem;
  padding: .42rem .65rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(10, 22, 40, .85);
  min-width: 0;
}
.pkg-chip b {
  font-size: .82rem; font-weight: 700; color: var(--text); line-height: 1.25;
}
.pkg-chip span {
  font-size: .72rem; color: var(--muted); line-height: 1.3;
}
.pkg-offer {
  margin-top: 1.4rem; max-width: none; padding: 1.2rem 1.25rem 1.3rem;
}
.pkg-offer-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap; margin-bottom: .85rem;
}
.pkg-offer-kicker {
  margin: 0 0 .35rem; color: var(--gold2); font-size: .78rem; font-weight: 800;
  letter-spacing: .04em;
}
.pkg-offer-list {
  margin: 0; padding: 0; list-style: none;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .45rem .9rem;
}
.pkg-offer-list li {
  margin: 0; padding: .55rem .75rem .55rem 0;
  position: relative; color: var(--muted); font-size: .9rem; line-height: 1.45;
}
.pkg-offer-list li::before {
  content: '';
  display: inline-block; width: .45rem; height: .45rem; border-radius: 50%;
  background: var(--gold2); margin-inline-end: .55rem; vertical-align: middle;
  box-shadow: 0 0 0 3px rgba(201,162,39,.15);
}
.form label,
label { display: block; margin: .7rem 0 .3rem; color: var(--muted); font-size: .9rem; }
.form input, .form select, .form textarea,
input, select, textarea {
  width: 100%; padding: .75rem .9rem; border-radius: 10px; border: 1px solid var(--line);
  background: #071526; color: var(--text); font-family: inherit; font-size: 1rem;
}
.pay-methods { display: grid; gap: .8rem; }
.pay-method {
  display: flex; gap: 1rem; align-items: center; padding: 1rem; border-radius: 14px;
  border: 1px solid var(--line); background: #0b1d36; cursor: pointer; transition: border-color .15s;
}
.pay-method.active { border-color: var(--gold); background: #132a4a; }
.pay-method input { accent-color: var(--gold); }
.pay-cards { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.pay-card {
  display: flex; flex-direction: column; align-items: stretch; gap: .45rem;
  padding: .95rem 1rem; border-radius: 16px; border: 1px solid var(--line);
  background: #0b1d36; color: inherit; cursor: pointer; text-align: right; font-family: inherit;
  min-height: 132px; transition: border-color .15s, background .15s, transform .15s;
}
.pay-card.active, .pay-card:hover { border-color: var(--gold); background: #132a4a; }
.pay-card.active { box-shadow: 0 0 0 1px rgba(201,162,39,.35), 0 10px 28px rgba(0,0,0,.25); }
.pay-card strong { font-size: 1rem; }
.pay-card small { color: var(--muted); font-size: .8rem; line-height: 1.4; }
.pay-logo {
  display: block; width: 100%; max-width: 148px; height: 44px;
  object-fit: contain; object-position: right center; border-radius: 10px;
  background: transparent;
}
.pay-ico {
  display: block; width: 100%; max-width: 148px; height: 44px; border-radius: 10px;
  background: #122844;
}
.muted { color: var(--muted); }
.ok { color: var(--ok); }
.danger { color: var(--danger); }
.footer { padding: 2rem 0 3rem; text-align: center; color: var(--muted); font-size: .9rem; border-top: 1px solid var(--line); margin-top: 1rem; }
.table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.table th, .table td { border-bottom: 1px solid var(--line); padding: .65rem .4rem; text-align: right; vertical-align: middle; }
.pill { display: inline-block; padding: .15rem .55rem; border-radius: 999px; font-size: .8rem; }
.pill-pending { background: #5c4a12; color: #ffd666; }
.pill-approved { background: #0f3d28; color: #7dffa8; }
.pill-rejected { background: #3d1515; color: #ff8e8e; }
.pill-lead { background: #12324f; color: #7ec8ff; }
.proof-preview { max-width: 100%; max-height: 220px; border-radius: 10px; border: 1px solid var(--line); }
.buy-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 1.2rem; align-items: start; }
.upload-zone {
  border: 1.5px dashed var(--line); border-radius: 14px; padding: 1.2rem;
  text-align: center; cursor: pointer; background: rgba(7,21,38,.55); transition: border-color .15s;
}
.upload-zone:hover, .upload-zone.has-file { border-color: var(--ok); }
.upload-zone .proof-preview { margin-top: .6rem; pointer-events: auto; }

/* Admin */
.admin-app {
  min-height: 100vh;
  background:
    radial-gradient(900px 420px at 100% -10%, rgba(201,162,39,.14), transparent 55%),
    radial-gradient(700px 360px at 0% 20%, rgba(77,159,255,.08), transparent 50%),
    linear-gradient(180deg, #06101f 0%, var(--bg) 38%, #040b16 100%);
}
.admin-top {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(5,14,28,.78);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.admin-top-inner {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  padding: .85rem 0;
}
.admin-top .logo span {
  margin-inline-start: .35rem; color: var(--gold2); font-weight: 700; font-size: .85rem;
}
.admin-top-actions { display: flex; gap: .45rem; align-items: center; }
.admin-shell { padding: 1.4rem 0 3.5rem; width: min(1180px, 94%); }
.admin-login {
  max-width: 440px; margin: 2.5rem auto 0;
  border: 1px solid rgba(201,162,39,.28);
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
}
.admin-login .btn-primary { width: 100%; margin-top: 1.1rem; }
.admin-kicker {
  margin: 0 0 .35rem; color: var(--gold2); font-size: .78rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
}
.admin-hero {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  margin: .4rem 0 1.25rem; padding: 1.15rem 1.25rem;
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(201,162,39,.12), transparent 42%),
    linear-gradient(180deg, rgba(255,255,255,.04), transparent),
    #071526;
  border: 1px solid rgba(201,162,39,.28);
}
.admin-hero h1 {
  margin: 0 0 .25rem; font-size: clamp(1.4rem, 3vw, 1.95rem); line-height: 1.25;
}
.admin-hero .muted { margin: 0; max-width: 36rem; }
.admin-hero-side { display: flex; align-items: center; gap: .55rem; flex-wrap: wrap; }
.admin-chip {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .4rem .75rem; border-radius: 999px; font-size: .8rem; font-weight: 700;
  border: 1px solid var(--line); background: #0b1d36; color: var(--muted);
}
.admin-chip.ok { color: #7dffa8; border-color: rgba(61,214,140,.35); background: #0f3d28; }
.admin-load-msg {
  margin: -.35rem 0 .85rem;
  font-size: .9rem;
}

.admin-tabs {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: .45rem;
  margin: 0 0 1.25rem; padding: .4rem;
  background: rgba(7,21,38,.85); border: 1px solid var(--line); border-radius: 16px;
}
.admin-tabs button {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  border: 0; background: transparent; color: var(--muted);
  border-radius: 12px; padding: .7rem .85rem; cursor: pointer; font-family: inherit;
  font-weight: 700; font-size: .92rem; transition: background .15s, color .15s, transform .15s;
}
.admin-tabs button i { font-style: normal; opacity: .7; }
.admin-tabs button:hover { color: var(--text); background: rgba(255,255,255,.04); }
.admin-tabs button.active {
  background: linear-gradient(180deg, var(--gold2), var(--gold));
  color: #0b1220; box-shadow: 0 8px 20px rgba(201,162,39,.25);
}
.admin-tabs button.active i { opacity: 1; }
.admin-tab-pane { animation: adminFade .28s ease; }
@keyframes adminFade {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

.admin-grid-2 {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: .2rem;
}
.admin-panel {
  background: linear-gradient(180deg, rgba(255,255,255,.035), transparent 40%), #071526;
  border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  box-shadow: 0 12px 32px rgba(0,0,0,.2);
}
.admin-panel-accent {
  border-color: rgba(201,162,39,.35);
  background:
    linear-gradient(160deg, rgba(201,162,39,.12), transparent 45%),
    #071526;
}
.admin-panel-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: .8rem;
  padding: 1rem 1.15rem .75rem; border-bottom: 1px solid rgba(255,255,255,.06);
}
.admin-panel-head h3 { margin: 0; font-size: 1.05rem; }
.admin-panel-head .muted { margin: .25rem 0 0; font-size: .85rem; }
.admin-panel-body { padding: 1rem 1.15rem 1.15rem; }
.admin-panel > .filter-row,
.admin-panel > .crm-grid,
.admin-panel > .table-wrap { padding: 0 1.15rem 1.15rem; }
.admin-panel > .filter-row { padding-top: .2rem; }

.funnel {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: .7rem; margin-bottom: 1rem;
}
.funnel-card {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,.05), transparent), #071526;
  border: 1px solid var(--line); border-radius: 16px; padding: .95rem .9rem;
  overflow: hidden;
}
.funnel-card::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 3px;
  background: linear-gradient(180deg, var(--gold2), transparent);
}
.funnel-label { color: var(--muted); font-size: .8rem; font-weight: 600; }
.funnel-card .n { font-size: 1.55rem; font-weight: 800; color: var(--gold2); line-height: 1.15; margin-top: .3rem; }
.funnel-card .r { font-size: .75rem; color: var(--muted); margin-top: .3rem; }

.bar-row { display: flex; align-items: center; gap: .65rem; margin: .55rem 0; }
.bar-label { min-width: 7.2rem; font-size: .86rem; color: var(--muted); }
.bar { flex: 1; height: 10px; border-radius: 999px; background: #0b1220; overflow: hidden; border: 1px solid var(--line); }
.bar > i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold2)); border-radius: 999px; }
.bar-row b { min-width: 2.6rem; text-align: left; font-size: .88rem; }

.stat-big {
  font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 800; color: var(--gold2); line-height: 1.1;
}
.stat-caption { margin: .15rem 0 .9rem; color: var(--muted); font-size: .9rem; }
.stat-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: .55rem;
}
.stat-grid > div {
  padding: .65rem .7rem; border-radius: 12px; background: rgba(11,29,54,.85); border: 1px solid var(--line);
}
.stat-grid span { display: block; color: var(--muted); font-size: .75rem; margin-bottom: .2rem; }
.stat-grid b { font-size: .92rem; }

.events-list {
  list-style: none; margin: 0; padding: .35rem 1.15rem 1.05rem;
  max-height: 240px; overflow: auto;
}
.events-list li {
  display: flex; justify-content: space-between; gap: .7rem; align-items: center;
  padding: .55rem 0; border-bottom: 1px dashed rgba(255,255,255,.06); font-size: .86rem;
}
.events-list li:last-child { border-bottom: 0; }
.events-list code {
  color: var(--gold2); background: rgba(201,162,39,.1); padding: .12rem .4rem; border-radius: 6px; font-size: .78rem;
}
.events-list time { color: var(--muted); font-size: .78rem; white-space: nowrap; }

.table-wrap { overflow: auto; border-radius: 0 0 18px 18px; }
.admin-table { min-width: 920px; }
.admin-table thead th {
  position: sticky; top: 0; background: #0a1628; z-index: 1;
  font-size: .78rem; color: var(--muted); font-weight: 700;
}
.admin-table tbody tr:hover { background: rgba(255,255,255,.03); }
.id-cell { font-size: .78rem; color: var(--accent); }
.row-actions { display: flex; flex-wrap: wrap; gap: .35rem; min-width: 12rem; }
.row-actions .btn:disabled { opacity: .35; cursor: not-allowed; }

.crm-summary {
  display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .55rem;
}
.crm-summary > span {
  font-size: .78rem; color: var(--muted); padding: .28rem .6rem; border-radius: 999px;
  background: #0b1d36; border: 1px solid var(--line);
}
.crm-summary > span.ok { color: #7dffa8; border-color: rgba(61,214,140,.3); }
.crm-summary > span.warn { color: #ffd666; border-color: rgba(240,193,75,.3); }
.crm-summary b { color: var(--text); }

.crm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; }
.crm-card {
  background: linear-gradient(165deg, rgba(255,255,255,.04), transparent 42%), #0b1d36;
  border: 1px solid var(--line); border-radius: 16px; padding: 1.05rem 1.1rem;
  box-shadow: 0 10px 28px rgba(0,0,0,.22); transition: border-color .15s, transform .15s;
}
.crm-card:hover { border-color: rgba(201,162,39,.4); transform: translateY(-2px); }
.crm-card h4 { margin: 0 0 .4rem; font-size: 1.05rem; display: flex; align-items: center; gap: .45rem; flex-wrap: wrap; }
.crm-meta { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .7rem; }
.crm-meta span {
  font-size: .78rem; color: var(--muted); padding: .25rem .55rem; border-radius: 999px;
  background: #071526; border: 1px solid var(--line);
}
.crm-card textarea {
  width: 100%; min-height: 78px; margin: .35rem 0 .55rem; background: #071526; color: inherit;
  border: 1px solid var(--line); border-radius: 12px; padding: .65rem .75rem; font-family: inherit; resize: vertical;
}
.crm-card textarea:focus { outline: none; border-color: var(--gold); }
.crm-actions { display: flex; gap: .5rem; flex-wrap: wrap; }

.filter-row { display: flex; gap: .6rem; flex-wrap: wrap; margin-bottom: .8rem; align-items: center; }
.filter-row input, .filter-row select {
  width: auto; min-width: 180px; flex: 1; background: #0b1220; border: 1px solid var(--line);
  color: inherit; border-radius: 12px; padding: .55rem .8rem;
}

.proof-modal {
  position: fixed; inset: 0; background: rgba(0,0,0,.78); z-index: 80;
  display: flex; align-items: center; justify-content: center;
  padding: 1rem; backdrop-filter: blur(4px);
}
.proof-modal[hidden] { display: none !important; }
.proof-modal-inner {
  background: #0b1220; border: 1px solid var(--line); border-radius: 16px;
  max-width: min(920px, 96vw); max-height: 92vh; overflow: auto; padding: 1rem 1.1rem 1.2rem;
}
.proof-modal-head {
  display: flex; justify-content: space-between; gap: 1rem; align-items: center;
}
.proof-modal-head h3 { margin: 0; font-size: 1rem; }
.proof-modal img { display: block; max-width: 100%; max-height: 70vh; margin: .8rem auto 0; border-radius: 10px; }
.proof-modal-actions { margin-top: .8rem; justify-content: flex-start; }
.wa-modal-inner { max-width: min(560px, 96vw); }
.wa-text-box {
  width: 100%;
  min-height: 280px;
  resize: vertical;
  margin-top: .2rem;
  padding: .85rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #060b14;
  color: #e8eef8;
  font-family: inherit;
  font-size: .92rem;
  line-height: 1.65;
  white-space: pre-wrap;
}

@media (max-width: 1100px) {
  .funnel { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .admin-tabs { grid-template-columns: 1fr 1fr; }
  .admin-grid-2 { grid-template-columns: 1fr; }
  .funnel { grid-template-columns: 1fr 1fr; }
  .stat-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .admin-tabs { grid-template-columns: 1fr; }
  .funnel { grid-template-columns: 1fr; }
  .admin-hero { padding: 1rem; }
}

/* Landing extras */
.urgency-box {
  margin: .9rem auto 1.1rem; max-width: 420px; text-align: right;
  background: rgba(201,162,39,.1); border: 1px solid rgba(201,162,39,.45);
  border-radius: 14px; padding: .75rem .9rem;
}
.urgency-top { display: flex; justify-content: space-between; gap: .6rem; font-size: .86rem; font-weight: 700; color: var(--gold2); }
.urgency-bar { height: 9px; border-radius: 999px; background: #071526; overflow: hidden; margin: .55rem 0 .45rem; }
.urgency-bar > i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold2)); border-radius: 999px; }
.urgency-note { margin: 0; font-size: .78rem; color: var(--muted); line-height: 1.5; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.review-card { display: flex; flex-direction: column; gap: .55rem; min-height: 100%; }
.review-stars { color: var(--gold2); letter-spacing: .08em; font-size: .95rem; }
.review-text { color: var(--text) !important; font-size: .92rem; line-height: 1.7; flex: 1; }
.review-who b { display: block; font-size: .9rem; }
.review-who span { color: var(--muted); font-size: .78rem; }
.extra-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.feature-list { margin: .4rem 0 0; padding: 0 1.1rem 0 0; color: var(--muted); }
.feature-list li { margin: .35rem 0; }
.carousel {
  position: relative; overflow: hidden; border-radius: 18px;
  border: 1px solid var(--line); background: #071526;
}
.carousel-track { display: flex; transition: transform .45s ease; direction: ltr; }
.carousel-slide {
  min-width: 100%; display: flex; flex-direction: column; cursor: zoom-in;
}
.carousel-media {
  background: #0a1628; border-bottom: 1px solid var(--line);
}
.carousel-slide img {
  width: 100%; aspect-ratio: 16/10; object-fit: contain; object-position: center;
  display: block; background: #f4f7fb;
}
.carousel-caption {
  padding: 1rem 1.15rem 1.15rem; text-align: center;
  background: #071526;
}
.carousel-caption h3 { margin: 0 0 .35rem; font-size: 1.15rem; }
.carousel-caption p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.55; }
.carousel-hud {
  position: absolute; top: .7rem; left: .7rem; z-index: 3;
  display: flex; align-items: center; gap: .45rem; flex-wrap: wrap;
}
.carousel-counter {
  font-size: .78rem; font-weight: 700; color: #fff;
  background: rgba(7,21,38,.78); border: 1px solid rgba(255,255,255,.2);
  padding: .28rem .55rem; border-radius: 999px;
}
.carousel-modes { display: flex; gap: .25rem; }
.carousel-mode {
  border: 1px solid rgba(255,255,255,.2); background: rgba(7,21,38,.78);
  color: #dce6f5; font: inherit; font-size: .75rem; font-weight: 700;
  padding: .28rem .55rem; border-radius: 999px; cursor: pointer;
}
.carousel-mode.on {
  background: linear-gradient(180deg, var(--gold2), var(--gold));
  color: #0b1220; border-color: transparent;
}
.carousel-nav {
  position: absolute; top: calc(50% - 2.8rem); transform: translateY(-50%); z-index: 3;
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25);
  background: rgba(7,21,38,.82); color: #fff; font-size: 1.6rem; line-height: 1;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.carousel-nav.prev { right: .7rem; }
.carousel-nav.next { left: .7rem; }
.carousel-controls {
  display: flex; align-items: center; justify-content: center; gap: .75rem;
  margin-top: .9rem; flex-wrap: wrap;
}
.carousel-dots { display: flex; justify-content: center; gap: .4rem; flex-wrap: wrap; }
.carousel-dots button {
  width: 9px; height: 9px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.28); cursor: pointer; padding: 0;
}
.carousel-dots button.on { background: var(--gold2); width: 22px; border-radius: 999px; }
.carousel-slide.broken .carousel-media::after,
.shot.broken::after {
  content: '???? ????? ??????'; display: flex; align-items: center; justify-content: center;
  position: absolute; inset: 0; color: var(--muted); background: #0a1628; font-size: .9rem;
}

/* Lightbox ? ???? + ????? ?????? ????? */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: none; align-items: center; justify-content: center;
  padding: 1rem; background: rgba(2, 8, 18, .88); backdrop-filter: blur(8px);
}
.lightbox.open { display: flex; }
.lb-panel {
  position: relative; width: min(960px, 96vw); max-height: min(92vh, 920px);
  display: flex; flex-direction: column;
  background: #071526; border: 1px solid rgba(201,162,39,.35);
  border-radius: 18px; overflow: hidden;
  box-shadow: 0 28px 80px rgba(0,0,0,.55);
}
.lb-close {
  position: absolute; top: .55rem; left: .55rem; z-index: 5;
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25);
  background: rgba(7,21,38,.9); color: #fff; font-size: 1.45rem; line-height: 1;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.lb-media {
  flex: 1 1 auto; min-height: 0; display: flex; align-items: center; justify-content: center;
  background: #0a1628; padding: .75rem .75rem 0;
}
.lb-media img, .lightbox > img#lbImg, #lbImg {
  display: block; max-width: 100%; max-height: min(62vh, 560px);
  width: auto; height: auto; object-fit: contain; margin: 0 auto;
  border-radius: 10px; background: #f4f7fb;
}
.lb-text {
  padding: 1rem 1.2rem 1.15rem; text-align: center;
  border-top: 1px solid var(--line); background: #071526;
}
.lb-text h3 { margin: 0 0 .35rem; font-size: 1.2rem; }
.lb-text p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.6; }
.lb-nav {
  position: absolute; top: 42%; transform: translateY(-50%); z-index: 5;
  min-width: 42px; padding: .45rem .7rem;
}
.lb-prev { right: .55rem; }
.lb-next { left: .55rem; }
body.lb-open { overflow: hidden; }
body.has-sticky-buy { padding-bottom: 4.8rem; }
.sticky-buy {
  position: fixed; bottom: 0; inset-inline: 0; z-index: 88;
  padding: .65rem .85rem calc(.65rem + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(5,14,28,.2), rgba(5,14,28,.96) 28%);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(201,162,39,.35);
  transform: translateY(110%);
  transition: transform .28s ease, opacity .28s ease;
  opacity: 0; pointer-events: none;
}
.sticky-buy.show { transform: translateY(0); opacity: 1; pointer-events: auto; }
.sticky-buy-inner { max-width: 520px; margin: 0 auto; display: flex; align-items: center; gap: .7rem; }
.sticky-buy-meta { flex: 1; min-width: 0; }
.sticky-buy-meta b { display: block; color: var(--gold2); font-size: .95rem; }
.sticky-buy-meta span { display: block; color: var(--muted); font-size: .72rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-buy .btn { flex: 0 0 auto; padding: .7rem 1.05rem; white-space: nowrap; }

@media (max-width: 1100px) {
  .funnel { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 980px) {
  .reviews-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .buy-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .grid-3, .grid-2, .steps, .extra-grid, .pkg-grid, .pkg-offer-list { grid-template-columns: 1fr; }
  .top .badge { display: none; }
}
@media (max-width: 720px) {
  .funnel { grid-template-columns: 1fr 1fr; }
  .cta-row .btn { width: 100%; }
  .hero { min-height: auto; padding: 1.4rem 0 1.5rem; }
  .hero-bg { animation: none; transform: none; filter: saturate(1.02) brightness(.78); }
  .hero-inner { padding: 1rem .7rem 1.05rem; background: rgba(5,14,28,.82); }
  .carousel-nav { width: 38px; height: 38px; font-size: 1.35rem; top: 36%; }
  .lb-media img, #lbImg { max-height: min(52vh, 420px); }
  .lb-nav { top: 36%; }
  .table { font-size: .8rem; }
}
@media (max-width: 620px) {
  .reviews-grid { grid-template-columns: 1fr; }
}

/* ?? Payment / checkout board ?? */
.offer-bar {
  display: flex; align-items: center; justify-content: space-between; gap: .8rem; flex-wrap: wrap;
  padding: .65rem clamp(.85rem, 3vw, 1.1rem);
  padding-top: calc(.65rem + env(safe-area-inset-top));
  background: linear-gradient(90deg, #1a1204, #2a1c06 40%, #1a1204);
  border-bottom: 1px solid rgba(201,162,39,.45); color: #ffe6a3; font-size: .9rem;
}
.offer-bar span { line-height: 1.45; }
.offer-bar .btn { flex: 0 0 auto; }
.pay-page {
  background: radial-gradient(1200px 500px at 80% -10%, rgba(201,162,39,.12), transparent 55%), var(--bg);
  min-height: 100vh; min-height: 100dvh;
}
.pay-page .wrap { width: min(1100px, 94%); }
.pay-top { padding: 1.1rem 0 .4rem; }
.pay-head { margin-bottom: .35rem; }
.back-link { color: var(--muted); text-decoration: none; font-size: .9rem; display: inline-block; margin-bottom: .8rem; }
.back-link:hover { color: var(--gold2); }
.steps-bar {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: .55rem; margin-bottom: .4rem;
}
.steps-bar .s {
  display: flex; align-items: center; gap: .45rem; padding: .55rem .7rem;
  border-radius: 12px; border: 1px solid var(--line); background: #071526; color: var(--muted); font-size: .82rem;
}
.steps-bar .s span {
  width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: #0b1d36; border: 1px solid var(--line); font-weight: 800; font-size: .8rem; flex: 0 0 auto;
}
.steps-bar .s.done { border-color: rgba(61,214,140,.45); color: #9dffc4; }
.steps-bar .s.done span { background: #0f3d28; border-color: transparent; color: #7dffa8; }
.steps-bar .s.current { border-color: rgba(201,162,39,.55); color: var(--gold2); }
.steps-bar .s.current span { background: var(--gold); color: #0b1220; border-color: transparent; }
.pay-layout {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(260px, .85fr); gap: 1.25rem; align-items: start;
  padding: 1rem 0 3rem;
}
.pay-main { min-width: 0; }
.pay-main h1 { margin: 0 0 .35rem; font-size: clamp(1.2rem, 2.8vw, 1.7rem); line-height: 1.35; }
.howto { margin: 1rem 0; }
.howto h3 { margin: 0 0 .55rem; }
.howto ol { margin: 0; padding: 0 1.15rem 0 0; color: var(--muted); }
.howto li { margin: .35rem 0; line-height: 1.55; }
.howto .tip { margin: .7rem 0 0; font-size: .85rem; }
.card.block { position: relative; padding: 1.35rem 1.1rem 1.15rem; margin: 1rem 0; }
.block-num {
  position: absolute; top: -12px; right: 1rem; width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: .85rem;
  background: var(--gold); color: #0b1220; box-shadow: 0 6px 16px rgba(0,0,0,.35);
}
.copy-box {
  margin-top: .85rem; padding: .75rem .9rem; border-radius: 12px;
  background: rgba(201,162,39,.08); border: 1px dashed rgba(201,162,39,.4);
}
.copy-box p { margin: 0 0 .45rem; font-size: .88rem; color: var(--muted); }
.copy-row { display: flex; align-items: center; justify-content: space-between; gap: .6rem; flex-wrap: wrap; }
.copy-row strong {
  font-size: .95rem; letter-spacing: .02em; color: var(--gold2);
  word-break: break-all; line-height: 1.4; flex: 1; min-width: 0;
}
.pay-open-row {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap;
  margin-top: .95rem;
}
.pay-open-row .btn { flex: 0 0 auto; }
.amount-line { margin: 0; color: var(--muted); }
.amount-line b { color: var(--gold2); font-size: 1.1rem; }
.pay-login-note { margin: .6rem 0 .85rem; font-size: .88rem; }
.user-chip {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .55rem;
  margin: .3rem 0 .2rem; padding: .75rem; border-radius: 12px;
  background: #0b1d36; border: 1px solid var(--line);
}
.user-chip > div { min-width: 0; }
.user-chip span { display: block; font-size: .72rem; color: var(--muted); margin-bottom: .15rem; }
.user-chip b { display: block; font-size: .88rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.upload-ico {
  width: 42px; height: 42px; margin: 0 auto .45rem; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.2rem; font-weight: 800;
  background: rgba(201,162,39,.15); color: var(--gold2); border: 1px solid rgba(201,162,39,.35);
}
.btn-wide { width: 100%; margin-top: 1rem; justify-content: center; min-height: 48px; }
.order-side { position: sticky; top: 1rem; min-width: 0; }
.order-side h3 { margin: 0 0 .25rem; }
.side-sub { margin: 0 0 .9rem; color: var(--muted); font-size: .85rem; }
.side-pkg {
  padding: .85rem; border-radius: 12px; background: #0b1d36; border: 1px solid var(--line); margin-bottom: .9rem;
}
.side-pkg strong { display: block; margin-bottom: .45rem; color: var(--gold2); }
.side-pkg ul { margin: 0; padding: 0 1rem 0 0; color: var(--muted); font-size: .88rem; }
.side-pkg li { margin: .3rem 0; }
.side-rows { display: grid; gap: .45rem; margin-bottom: .85rem; }
.side-row {
  display: flex; justify-content: space-between; gap: .6rem; align-items: baseline;
  font-size: .9rem; color: var(--muted);
}
.side-row span { min-width: 0; }
.side-row s { text-decoration: line-through; color: #7a8799; white-space: nowrap; }
.side-row.discount { color: #7dffa8; }
.side-row.discount b { color: #7dffa8; white-space: nowrap; }
.side-total {
  display: flex; justify-content: space-between; align-items: center; gap: .6rem;
  padding: .85rem; border-radius: 12px; background: linear-gradient(180deg, rgba(201,162,39,.16), rgba(201,162,39,.05));
  border: 1px solid rgba(201,162,39,.45); margin-bottom: .85rem;
}
.side-total b { font-size: 1.25rem; color: var(--gold2); }
.trust { display: flex; flex-wrap: wrap; gap: .4rem; }
.trust span {
  font-size: .75rem; color: var(--muted); padding: .3rem .55rem; border-radius: 999px;
  border: 1px solid var(--line); background: #071526;
}
.pay-page .upload-zone { padding: 1.15rem .9rem; }
.pay-page .proof-preview { max-height: min(240px, 42vh); margin-inline: auto; }
.pay-page #changeProof { margin-top: .65rem; }
.pay-page #uploadOk { margin: .55rem 0 0; }
.pay-page #err { margin-top: .65rem; }

/* Field icons (login / admin / buy forms) */
.field {
  position: relative; margin: .15rem 0 .55rem;
}
.field > label { margin-top: .55rem; }
.field .ico {
  position: absolute; bottom: .85rem; right: .85rem; width: 1.1rem; height: 1.1rem;
  opacity: .55; pointer-events: none; color: var(--gold2); font-size: .95rem; line-height: 1;
}
.field input, .field select { padding-right: 2.35rem; }
.field select { appearance: none; background-image: none; }
.check-row {
  display: flex; align-items: flex-start; gap: .55rem; margin-top: 1rem; color: var(--muted); font-size: .88rem; line-height: 1.55;
}
.check-row input { width: auto; margin-top: .2rem; accent-color: var(--gold); }
.form-msg {
  margin: .75rem 0 0; padding: .65rem .8rem; border-radius: 10px; font-size: .88rem; line-height: 1.45;
}
.form-msg.err {
  background: rgba(220, 80, 80, .12); border: 1px solid rgba(220, 80, 80, .35); color: #ffb4b4;
}

/* Manual add polish */
details.manual-box {
  margin-top: 1.1rem; border: 1px solid rgba(201,162,39,.35);
  border-radius: 16px; background: linear-gradient(180deg, rgba(201,162,39,.07), #071526 40%);
  padding: 0; overflow: hidden;
}
details.manual-box > summary {
  cursor: pointer; font-weight: 800; color: var(--gold2); list-style: none;
  padding: 1rem 1.1rem; border-bottom: 1px solid transparent;
}
details.manual-box > summary::-webkit-details-marker { display: none; }
details.manual-box[open] > summary { border-bottom-color: var(--line); background: rgba(0,0,0,.15); }
details.manual-box .manual-body { padding: .2rem 1.1rem 1.1rem; }
details.manual-box .manual-body > .muted { margin: .65rem 0 .4rem; }
details.manual-box .btn { margin-top: 1rem; }
details.manual-box #manMsg { margin-top: .6rem; }
details.manual-box input,
details.manual-box select {
  background: #0b1220; border-color: rgba(201,162,39,.28);
}
details.manual-box input:focus,
details.manual-box select:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,162,39,.15);
}

@media (max-width: 900px) {
  .pay-layout { grid-template-columns: 1fr; gap: 1rem; }
  .order-side { position: static; }
  .user-chip { grid-template-columns: 1fr; }
  .steps-bar {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .35rem;
  }
  .steps-bar .s {
    flex-direction: column; text-align: center; gap: .3rem;
    padding: .5rem .35rem; font-size: .72rem;
  }
  .steps-bar .s small { line-height: 1.25; }
  .pay-open-row { flex-direction: column; align-items: stretch; }
  .pay-open-row .btn { width: 100%; justify-content: center; }
  .offer-bar { font-size: .82rem; }
  .offer-bar .btn { width: 100%; justify-content: center; }
}
@media (max-width: 520px) {
  .pay-cards { grid-template-columns: 1fr; }
  .pay-card { min-height: 0; }
  .pay-logo { max-width: 160px; height: 48px; }
  .pay-page .wrap { width: min(100% - 1.2rem, 94%); }
  .card.block { padding: 1.25rem .9rem 1rem; }
  .copy-row { flex-direction: column; align-items: stretch; }
  .copy-row .btn { width: 100%; justify-content: center; }
}
