/* =========================================================================
   Drogoz Network — Monochrome Design System
   Strict palette: #000 #0D0D0D #1A1A1A #262626 #404040 #808080 #FFF
   ========================================================================= */
:root {
  --black: #000000;
  --bg: #000000;
  --surface-1: #0d0d0d;
  --surface-2: #1a1a1a;
  --surface-3: #262626;
  --border: #1f1f1f;
  --border-strong: #404040;
  --muted: #808080;
  --text: #ffffff;
  --grey-700: #262626;
  --grey-500: #404040;
  --grey-300: #808080;
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --maxw: 1200px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  --font: 'Inter', 'Segoe UI', system-ui, -apple-system, 'Noto Sans Georgian', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.1px;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; font-weight: 600; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
p { color: #cfcfcf; }
.muted { color: var(--muted); }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.center { text-align: center; }
.mono { font-family: ui-monospace, 'SF Mono', Menlo, monospace; }

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--surface-1); }
::-webkit-scrollbar-thumb { background: var(--surface-3); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: var(--border-strong); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  padding: 11px 20px; border-radius: var(--radius-sm); font-weight: 600;
  font-size: .92rem; cursor: pointer; border: 1px solid transparent;
  transition: all .18s ease; white-space: nowrap; line-height: 1;
}
.btn svg { width: 17px; height: 17px; }
.btn-primary { background: #fff; color: #000; }
.btn-primary:hover { background: #d4d4d4; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: #fff; border-color: var(--border-strong); }
.btn-ghost:hover { background: var(--surface-2); border-color: var(--muted); }
.btn-dark { background: var(--surface-2); color: #fff; border-color: var(--border); }
.btn-dark:hover { background: var(--surface-3); }
.btn-demo { background: linear-gradient(135deg, #2a2a2a, #151515); color: #fff; border-color: var(--border-strong);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06); }
.btn-demo:hover { background: linear-gradient(135deg, #333, #1c1c1c); border-color: var(--muted);
  transform: translateY(-1px); }
.btn-tg { background: var(--surface-2); color: #fff; border-color: var(--border); }
.btn-tg:hover { background: var(--surface-3); border-color: var(--border-strong); transform: translateY(-1px); }
.btn-sm { padding: 7px 13px; font-size: .82rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .4; cursor: not-allowed; }

/* ---- Cards ---- */
.card {
  background: var(--surface-1); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
}
.card-hover { transition: border-color .2s, transform .2s, background .2s; }
.card-hover:hover { border-color: var(--border-strong); transform: translateY(-3px); }

/* ---- Badges / chips ---- */
.badge {
  display: inline-flex; align-items: center; gap: 6px; font-size: .72rem;
  font-weight: 600; padding: 4px 10px; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--border-strong); color: #d4d4d4;
  text-transform: uppercase; letter-spacing: .08em;
}
.badge svg { width: 11px; height: 11px; }
.badge-new { background: #fff; color: #000; border-color: #fff; }
.badge-free { background: var(--surface-2); color: #fff; border-color: var(--border-strong); }
.badge-dot::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

.status { font-size: .74rem; font-weight: 600; padding: 4px 11px; border-radius: 999px;
  border: 1px solid var(--border-strong); display: inline-flex; align-items: center; gap: 5px; }
.status svg { width: 12px; height: 12px; }
.status-active { color: #fff; background: var(--surface-3); }
.status-pending, .status-awaiting { color: #cfcfcf; background: var(--surface-2); }
.status-expired, .status-rejected, .status-cancelled { color: var(--muted); background: transparent; }
.status-confirmed { color: #000; background: #fff; border-color: #fff; }
/* Functional alert color (overdue) — deliberate accent over the monochrome base */
.status-overdue { color: #ff6b6b; background: rgba(255,70,70,.1); border-color: rgba(255,90,90,.5); }
.alert-danger { border-color: rgba(255,90,90,.55); background: rgba(255,60,60,.08); color: #ffb3b3; }
.alert-danger strong { color: #ff8585; }

/* ---- Forms ---- */
label { display: block; font-size: .8rem; color: var(--muted); margin-bottom: 6px; font-weight: 500; }
input, select, textarea {
  width: 100%; background: var(--surface-1); border: 1px solid var(--border-strong);
  color: #fff; padding: 11px 14px; border-radius: var(--radius-sm); font-family: inherit;
  font-size: .92rem; transition: border-color .15s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: #fff; }
.field { margin-bottom: 16px; }
.form-row { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }

/* ---- Grid helpers ---- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.flex { display: flex; }
.between { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.gap-sm { gap: 8px; } .gap { gap: 16px; } .wrap { flex-wrap: wrap; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 40px; }
@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
}

/* ---- Tables ---- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); }
table.data { width: 100%; border-collapse: collapse; font-size: .9rem; }
table.data th, table.data td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--border); }
table.data th { color: var(--muted); font-weight: 500; font-size: .76rem; text-transform: uppercase;
  letter-spacing: .06em; background: var(--surface-1); }
table.data tr:last-child td { border-bottom: none; }
table.data tbody tr { transition: background .15s; }
table.data tbody tr:hover { background: var(--surface-1); }

/* =========================================================================
   PUBLIC SITE
   ========================================================================= */
.topbar {
  position: sticky; top: 0; z-index: 50; backdrop-filter: blur(16px);
  background: rgba(0,0,0,.72); border-bottom: 1px solid var(--border);
}
.topbar .inner { display: flex; align-items: center; justify-content: space-between;
  height: 68px; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 700; font-size: 1.05rem; letter-spacing: -.02em; }
.brand img { width: 34px; height: 34px; }
.brand-name { display: inline-flex; align-items: baseline; }
.rotator { display: inline-block; color: #fff; transform-origin: 50% 100%;
  width: 108px; text-align: left; font-weight: 700; white-space: nowrap;
  text-shadow: 0 0 0 rgba(255,255,255,0); transition: text-shadow .3s; }
.brand-name { white-space: nowrap; }
.rotator.rot-out { animation: rotOut .3s cubic-bezier(.6,0,.4,1) forwards; }
.rotator.rot-in { animation: rotIn .42s cubic-bezier(.2,.8,.2,1); text-shadow: 0 0 14px rgba(255,255,255,.55); }
@keyframes rotOut { to { opacity: 0; transform: translateY(-9px) rotateX(90deg); filter: blur(3px); } }
@keyframes rotIn { 0% { opacity: 0; transform: translateY(9px) rotateX(-90deg); filter: blur(3px); }
  60% { opacity: 1; filter: blur(0); }
  100% { opacity: 1; transform: none; filter: none; } }
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a { display: inline-flex; align-items: center; gap: 7px; color: var(--muted);
  font-size: .9rem; font-weight: 500; transition: color .15s; }
.nav-links a svg { width: 15px; height: 15px; }
.nav-links a:hover { color: #fff; }
@media (max-width: 820px) { .nav-links { display: none; } }

.hero { position: relative; padding: 120px 0 90px; overflow: hidden; }
.hero-glow { position: absolute; inset: 0; background:
  radial-gradient(700px 380px at 50% -8%, rgba(255,255,255,.08), transparent 70%); pointer-events: none; }
.hero h1 { max-width: 14ch; margin-inline: auto; }
.hero .lead { font-size: 1.15rem; color: #b5b5b5; max-width: 60ch; margin: 18px auto 32px; }

/* Apple-style hero logo + title */
.hero-logo { position: relative; width: 96px; height: 96px; margin: 0 auto 26px;
  display: grid; place-items: center; }
.hero-logo img { width: 80px; height: 80px; position: relative; z-index: 2;
  filter: drop-shadow(0 8px 30px rgba(255,255,255,.18)); animation: floaty 5s ease-in-out infinite; }
.hero-logo-ring { position: absolute; inset: -14px; border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, rgba(255,255,255,.14), transparent 62%);
  border: 1px solid rgba(255,255,255,.07); }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

.hero-title { font-size: clamp(2.4rem, 6vw, 4.6rem); font-weight: 700; letter-spacing: -.035em;
  line-height: 1.02; max-width: 16ch; margin: 0 auto;
  background: linear-gradient(180deg, #ffffff 0%, #ffffff 45%, #8a8a8a 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  color: transparent; }
.eyebrow { display: inline-flex; gap: 8px; align-items: center; font-size: .78rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted); border: 1px solid var(--border-strong);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 26px; }

.stats-bar { display: flex; gap: 40px; justify-content: center; flex-wrap: wrap; margin-top: 56px; }
.stat { text-align: center; }
.stat .num { font-size: 2.4rem; font-weight: 700; letter-spacing: -.03em; }
.stat .lbl { color: var(--muted); font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; }

.feature-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--surface-2);
  border: 1px solid var(--border-strong); display: grid; place-items: center; margin-bottom: 16px; }
.feature-icon svg { width: 22px; height: 22px; color: #fff; }

/* service cards */
.svc-card { display: flex; flex-direction: column; height: 100%; position: relative; }
.svc-card .price { font-size: 1.9rem; font-weight: 700; letter-spacing: -.02em; }
.svc-card .price small { font-size: .8rem; color: var(--muted); font-weight: 500; }
.svc-top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.svc-logo { width: 46px; height: 46px; border-radius: 11px; background: var(--surface-2);
  border: 1px solid var(--border); display: grid; place-items: center; overflow: hidden; flex: none; }
.svc-logo img { width: 100%; height: 100%; object-fit: cover; }
.feature-li { display: flex; gap: 9px; align-items: flex-start; color: #cfcfcf; font-size: .88rem; padding: 4px 0; }
.feature-li svg { width: 15px; height: 15px; color: #fff; margin-top: 3px; flex: none; }

.footer { border-top: 1px solid var(--border); padding: 56px 0 40px; color: var(--muted); }
.footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
@media (max-width: 820px){ .footer .cols { grid-template-columns: 1fr; } }

/* =========================================================================
   FLOATING SERVICE BUTTON (embeddable widget look)
   ========================================================================= */
.fab-wrap { position: fixed; right: 26px; bottom: 26px; z-index: 80; }
.fab {
  position: relative; width: 60px; height: 60px; border-radius: 50%;
  background: radial-gradient(120% 120% at 30% 25%, #1d1d1d, #050505); color: #fff;
  display: grid; place-items: center; cursor: pointer;
  box-shadow: 0 14px 36px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.08);
  border: 1px solid var(--border-strong); transition: transform .35s cubic-bezier(.2,.8,.2,1);
  z-index: 2;
}
.fab:hover { transform: scale(1.06); border-color: var(--muted); }
.fab .fab-logo, .fab .fab-x { grid-area: 1 / 1; transition: opacity .25s, transform .35s cubic-bezier(.2,.8,.2,1); }
.fab .fab-logo { width: 34px; height: 34px; }
.fab .fab-x { width: 24px; height: 24px; opacity: 0; transform: rotate(-90deg) scale(.6); }
/* open state: rotate the whole button ~180deg and swap to X */
.fab-wrap.open .fab { transform: rotate(135deg); }
.fab-wrap.open .fab .fab-logo { opacity: 0; transform: rotate(-135deg) scale(.6); }
.fab-wrap.open .fab .fab-x { opacity: 1; transform: rotate(-135deg) scale(1); }

/* Radial dial */
.fab-dial { position: absolute; right: 8px; bottom: 8px; width: 44px; height: 44px; }
.fab-dot {
  position: absolute; right: 0; bottom: 0; width: 46px; height: 46px;
  display: grid; place-items: center;
  transform: translate(0,0) scale(.2); opacity: 0; pointer-events: none;
  transition: transform .4s cubic-bezier(.2,.8,.2,1), opacity .3s;
  transition-delay: calc(var(--i) * 0ms);
}
.fab-wrap.open .fab-dot {
  opacity: 1; pointer-events: auto;
  transform: translate(var(--x, 0), var(--y, 0)) scale(1);
  transition-delay: calc(var(--i) * 45ms);
}
.fab-dot-ic {
  width: 46px; height: 46px; border-radius: 50%; overflow: hidden; display: grid; place-items: center;
  background: radial-gradient(120% 120% at 30% 25%, #232323, #0c0c0c);
  border: 1px solid var(--border-strong); color: #fff;
  box-shadow: 0 8px 22px rgba(0,0,0,.5); transition: transform .15s, border-color .15s;
}
.fab-dot-ic img { width: 100%; height: 100%; object-fit: cover; }
.fab-dot:hover .fab-dot-ic { transform: scale(1.12); border-color: #fff; }
.fab-tip {
  position: absolute; right: 56px; top: 50%; transform: translateY(-50%) translateX(6px);
  background: #fff; color: #000; font-size: .76rem; font-weight: 600; white-space: nowrap;
  padding: 5px 10px; border-radius: 8px; opacity: 0; pointer-events: none; transition: all .15s;
  box-shadow: 0 6px 18px rgba(0,0,0,.4);
}
.fab-dot:hover .fab-tip { opacity: 1; transform: translateY(-50%) translateX(0); }

/* =========================================================================
   COUNTDOWN
   ========================================================================= */
.countdown { display: inline-flex; gap: 8px; }
.cd-box { background: var(--surface-2); border: 1px solid var(--border-strong); border-radius: 10px;
  padding: 8px 12px; min-width: 56px; text-align: center; }
.cd-box .n { font-size: 1.4rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.cd-box .u { font-size: .62rem; text-transform: uppercase; color: var(--muted); letter-spacing: .1em; }
.cd-mini { display: inline-flex; align-items: center; gap: 5px; font-size: .78rem; font-weight: 600;
  color: #fff; background: var(--surface-2); border: 1px solid var(--border-strong);
  border-radius: 999px; padding: 4px 11px; font-variant-numeric: tabular-nums; }
.cd-mini svg { width: 13px; height: 13px; color: var(--muted); }
.cd-mini b { font-weight: 700; }
.card.soon, .svc-card.soon { opacity: .62; transition: opacity .2s, transform .2s, border-color .2s; }
.card.soon:hover, .svc-card.soon:hover { opacity: .92; }
.svc-card.soon { background: linear-gradient(180deg, #131313, #0a0a0a); }
.svc-card.soon::after { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(300px 120px at 80% -10%, rgba(255,255,255,.06), transparent 70%); }
.promo-banner { background: var(--surface-1); border: 1px solid var(--border-strong);
  border-radius: var(--radius); padding: 18px 24px; display: flex; align-items: center;
  justify-content: space-between; gap: 20px; flex-wrap: wrap; }

/* =========================================================================
   PORTAL (dashboard) LAYOUT
   ========================================================================= */
.app-shell { display: grid; grid-template-columns: 264px 1fr; min-height: 100vh; }
.scrim { display: none; }
.sidebar { background: var(--surface-1); border-right: 1px solid var(--border);
  padding: 22px 16px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.sidebar .brand { padding: 0 8px 22px; margin-bottom: 8px; border-bottom: 1px solid var(--border); }
.side-section { color: var(--muted); font-size: .68rem; text-transform: uppercase; letter-spacing: .12em;
  padding: 18px 12px 8px; }
.side-link { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px;
  color: var(--muted); font-size: .9rem; font-weight: 500; transition: all .15s; margin-bottom: 2px; }
.side-link svg { width: 18px; height: 18px; }
.side-link:hover { background: var(--surface-2); color: #fff; }
.side-link.active { background: var(--surface-2); color: #fff; }
.side-link .pill { margin-left: auto; background: #fff; color: #000; font-size: .68rem; font-weight: 700;
  padding: 1px 7px; border-radius: 999px; }

.main { display: flex; flex-direction: column; min-width: 0; }
.appbar { height: 64px; border-bottom: 1px solid var(--border); display: flex; align-items: center;
  justify-content: space-between; padding: 0 28px; position: sticky; top: 0; z-index: 20;
  background: rgba(0,0,0,.72); backdrop-filter: blur(14px); }
.page { padding: 30px 28px 60px; max-width: min(3400px, 96vw); width: 100%; margin: 0 auto; }
.page-title { font-size: 1.6rem; font-weight: 600; }

.avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--surface-3);
  display: grid; place-items: center; font-size: .8rem; font-weight: 700; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }

/* KPI / stat cards */
.kpi { background: var(--surface-1); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px 22px; }
.kpi .lbl { color: var(--muted); font-size: .8rem; display: flex; align-items: center; gap: 8px; }
.kpi .val { font-size: 2rem; font-weight: 700; letter-spacing: -.03em; margin-top: 8px; }
.kpi .sub { color: var(--muted); font-size: .78rem; margin-top: 4px; }
.kpi svg { width: 16px; height: 16px; }

.chart-card { background: var(--surface-1); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px; }

/* mobile sidebar */
.menu-toggle { display: none; }
@media (max-width: 940px) {
  .app-shell { grid-template-columns: 1fr; }
  .sidebar { position: fixed; left: 0; top: 0; z-index: 60; width: 264px; transform: translateX(-100%);
    transition: transform .25s; }
  .sidebar.open { transform: none; }
  .menu-toggle { display: inline-grid; }
  .scrim { position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 55; display: none; }
  .scrim.show { display: block; }
}

/* messages / alerts */
.alert { padding: 13px 18px; border-radius: var(--radius-sm); border: 1px solid var(--border-strong);
  background: var(--surface-1); margin-bottom: 14px; font-size: .9rem; }
.alert-success { border-color: #fff; }
.list-reset { list-style: none; padding: 0; margin: 0; }

.divider { height: 1px; background: var(--border); margin: 28px 0; border: none; }
.progress { height: 7px; background: var(--surface-2); border-radius: 999px; overflow: hidden; }
.progress > span { display: block; height: 100%; background: #fff; }

.empty { text-align: center; padding: 60px 20px; color: var(--muted); border: 1px dashed var(--border-strong);
  border-radius: var(--radius); }
.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--border); margin-bottom: 24px; flex-wrap: wrap; }
.tab { padding: 10px 16px; color: var(--muted); font-weight: 500; font-size: .9rem; cursor: pointer;
  border-bottom: 2px solid transparent; }
.tab.active { color: #fff; border-bottom-color: #fff; }

/* Two-column split that collapses on mobile */
.split { display: grid; gap: 22px; grid-template-columns: 1.6fr 1fr; }
.split-even { display: grid; gap: 22px; grid-template-columns: 1fr 1fr; }
@media (max-width: 900px) { .split, .split-even { grid-template-columns: 1fr; } }

/* =========================================================================
   MODERN / APPLE-CURSOR REFINEMENTS  (same monochrome palette)
   ========================================================================= */
.card {
  background: linear-gradient(180deg, #101010, #0a0a0a);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
}
.kpi {
  background: linear-gradient(180deg, #101010, #0a0a0a);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.card-hover { transition: border-color .2s, transform .2s, box-shadow .2s; }
.card-hover:hover {
  border-color: var(--border-strong); transform: translateY(-3px);
  box-shadow: 0 18px 50px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.06);
}

/* Icon tile */
.icon-tile { width: 42px; height: 42px; border-radius: 12px; flex: none;
  background: radial-gradient(120% 120% at 30% 20%, #222, #131313);
  border: 1px solid var(--border-strong); display: grid; place-items: center; overflow: hidden; }
.icon-tile svg { width: 20px; height: 20px; color: #fff; }
.icon-tile img { width: 100%; height: 100%; object-fit: cover; }
.icon-tile.lg { width: 54px; height: 54px; border-radius: 14px; }
.icon-tile.lg svg { width: 24px; height: 24px; }
.icon-tile.sq { border-radius: 10px; }

/* Section title */
.sec-title { display: flex; align-items: center; gap: 9px; font-size: 1.6rem; font-weight: 600;
  letter-spacing: -.02em; }
.sec-title svg { width: 22px; height: 22px; }
.page-sub { color: var(--muted); margin-top: 2px; }

/* Segmented control */
.seg { display: inline-flex; background: var(--surface-1); border: 1px solid var(--border);
  border-radius: 12px; padding: 4px; gap: 4px; }
.seg button, .seg a { border: none; background: transparent; color: var(--muted); cursor: pointer;
  padding: 7px 14px; border-radius: 9px; font-size: .85rem; font-weight: 600; font-family: inherit;
  transition: all .15s; white-space: nowrap; }
.seg button:hover, .seg a:hover { color: #fff; }
.seg button.active, .seg a.active { background: var(--surface-3); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06); }

/* Meter / progress */
.meter { height: 6px; background: var(--surface-2); border-radius: 999px; overflow: hidden; }
.meter > span { display: block; height: 100%; border-radius: 999px;
  background: linear-gradient(90deg, #555, #fff); }

/* Conic ring (progress) */
.ring { --p: 50; --val: calc(var(--p) * 1%); width: 56px; height: 56px; border-radius: 50%; flex: none;
  background: conic-gradient(#fff var(--val), #262626 0); display: grid; place-items: center; }
.ring::before { content: ''; position: absolute; width: 42px; height: 42px; border-radius: 50%;
  background: var(--surface-1); }
.ring span { position: relative; font-size: .72rem; font-weight: 700; }
.ring-wrap { position: relative; display: grid; place-items: center; }

/* Copy button */
.copy { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; border: 1px solid var(--border-strong);
  background: var(--surface-2); color: #cfcfcf; border-radius: 8px; padding: 5px 9px; font-size: .76rem;
  font-family: inherit; transition: all .15s; }
.copy:hover { color: #fff; border-color: var(--muted); }

/* Crypto address radio-cards (native radio hidden, whole card selectable) */
.crypto-list { display: grid; gap: 9px; }
.crypto-opt { display: block; cursor: pointer; }
.crypto-opt > input { display: none; }
.crypto-badge b { font-size: 1.05rem; font-weight: 800; color: #fff; line-height: 1; }
.crypto-badge b.t { font-size: .58rem; letter-spacing: .02em; }
.crypto-opt-in { display: flex; align-items: center; gap: 12px; padding: 11px 13px;
  border: 1px solid var(--border); border-radius: 12px; background: var(--surface-1);
  transition: border-color .15s, background .15s; }
.crypto-opt:hover .crypto-opt-in { border-color: var(--border-strong); }
.crypto-opt > input:checked + .crypto-opt-in { border-color: #fff; background: var(--surface-2);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06); }
.crypto-opt-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.crypto-opt-name { font-weight: 600; font-size: .86rem; }
.crypto-opt-addr { font-size: .74rem; color: var(--muted); word-break: break-all; line-height: 1.3; }
.crypto-check { flex: none; color: #fff; opacity: 0; transition: opacity .15s; }
.crypto-check svg { width: 16px; height: 16px; }
.crypto-opt > input:checked + .crypto-opt-in .crypto-check { opacity: 1; }
.copy svg { width: 13px; height: 13px; }

/* List row (modern) */
.lrow { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--border);
  border-radius: var(--radius); background: linear-gradient(180deg, #101010, #0b0b0b);
  transition: border-color .18s, transform .18s; }
.lrow:hover { border-color: var(--border-strong); }

/* Ribbon for offers */
.ribbon { position: absolute; top: 14px; right: -34px; transform: rotate(45deg); background: #fff; color: #000;
  font-size: .68rem; font-weight: 800; letter-spacing: .04em; padding: 4px 40px; }

/* Stepper */
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--border-strong); border-radius: 10px;
  overflow: hidden; }
.stepper button { width: 30px; height: 32px; background: var(--surface-2); border: none; color: #fff;
  cursor: pointer; font-size: 1rem; transition: background .15s; }
.stepper button:hover { background: var(--surface-3); }
.stepper input { width: 46px; text-align: center; border: none; border-left: 1px solid var(--border);
  border-right: 1px solid var(--border); border-radius: 0; padding: 7px 0; background: var(--surface-1); }

/* Glow header band */
.glow-band { position: relative; overflow: hidden; border-radius: var(--radius-lg);
  border: 1px solid var(--border); padding: 26px 28px;
  background: radial-gradient(700px 200px at 15% -40%, rgba(255,255,255,.07), transparent 70%), linear-gradient(180deg,#101010,#0a0a0a); }

/* =========================================================================
   FULL MOBILE RESPONSIVENESS
   ========================================================================= */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .section { padding: 56px 0; }
  .container { padding: 0 18px; }
  .glow-band { padding: 20px; }
  .grid-3 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 14px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid { gap: 16px; }
  .hero { padding: 84px 0 60px; }
  .page { padding: 22px 16px 50px; }
  .appbar { padding: 0 16px; height: 58px; }
  .appbar .appbar-user { display: none; }
  .sec-title { font-size: 1.35rem; }
  .page-title { font-size: 1.35rem; }
  .kpi .val { font-size: 1.6rem; }
  .card { padding: 18px; }
  .btn { padding: 10px 16px; }
  .fab-wrap { right: 18px; bottom: 18px; }
  .topbar .inner { padding: 0 16px; height: 60px; }
  .brand span { font-size: .98rem; }
  .seg { width: 100%; overflow-x: auto; }
  table.data th, table.data td { padding: 11px 12px; }
}
@media (max-width: 420px) {
  .grid-4 { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr; }
}

/* ---- Extra mobile polish ---- */
.table-wrap { -webkit-overflow-scrolling: touch; }
@media (max-width: 760px) {
  /* Any two-column inline split collapses */
  [style*="grid-template-columns:1.6fr"],
  [style*="grid-template-columns: 1.6fr"],
  [style*="grid-template-columns:1.4fr"],
  [style*="grid-template-columns:1.35fr"],
  [style*="grid-template-columns:1.3fr"],
  [style*="grid-template-columns:1.2fr"],
  [style*="grid-template-columns:1.1fr"],
  [style*="grid-template-columns:1fr 1.3fr"],
  [style*="grid-template-columns:1fr 340px"] { grid-template-columns: 1fr !important; }
  .split, .split-even { grid-template-columns: 1fr !important; }
  .form-row { grid-template-columns: 1fr !important; }
  .between { flex-wrap: wrap; }
  .shots { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .hero-title { font-size: clamp(1.9rem, 9vw, 2.6rem); }
  .rotator { width: auto; min-width: 0; }      /* no overflow on phones */
  .brand img { width: 28px; height: 28px; }
  .kpi .val, .hstat .num, .stat .num { font-size: 1.5rem; }
  .glow-band { padding: 15px; }
  .lrow { flex-wrap: wrap; }
  .lrow > div[style*="text-align:right"], .lrow > div[style*="text-align:center"] { text-align: left !important; }
  .hide-sm { display: none; }
  .pres-card, .card { padding: 16px; }
  h1.page-title, .sec-title { font-size: 1.25rem; }
  .price { font-size: 1.5rem !important; }
  .fab { width: 54px; height: 54px; }
  .fab .fab-logo { width: 30px; height: 30px; }
  table.data { font-size: .8rem; }
  table.data th, table.data td { padding: 9px 10px; }
  .ribbon { font-size: .6rem; padding: 3px 34px; }
  .step-num { width: 22px; height: 22px; }
}
@media (max-width: 380px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .shots { grid-template-columns: 1fr; }
  .btn { padding: 9px 13px; font-size: .82rem; }
}
