/* ============================================================
   components.css — All reusable UI components
   Sections: Logo · Nav · Pages · Buttons · Cards · Status ·
             Progress · Stats · Referral · Keys · Badges ·
             Plans · Payment · Servers/Map · Help · Toast ·
             Modal · Login Gate
   ============================================================ */


/* ════════════════════════════════════════
   LOGO
   ════════════════════════════════════════ */
.logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-stack {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.logo-title {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: #fff;
}

.frog-eye {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  position: relative;
  background: radial-gradient(circle at 35% 35%, #b8ff57 0%, var(--accent) 58%, #5d9200 100%);
  box-shadow:
    0 0 18px rgba(var(--accent-rgb),0.28),
    inset 0 0 12px rgba(255,255,255,0.08);
  flex-shrink: 0;
}

.frog-eye::before {
  content: '';
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  border: 1px solid rgba(var(--accent-rgb),0.24);
}

.frog-eye-pupil {
  position: absolute;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #050505;
  top: 12px;
  left: 18px;
}

.frog-eye-glint {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  top: 10px;
  left: 27px;
}

.logo-sub {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--accent);
  text-transform: uppercase;
}

.mobile-logo {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.28em;
}

/* ════════════════════════════════════════
   NAVIGATION
   ════════════════════════════════════════ */
.nav-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 10px;
  border-radius: var(--r);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dim);
  cursor: pointer;
  transition: all 0.12s;
  border-left: 2px solid transparent;
}

.nav-item:hover {
  color: var(--text);
  background: var(--bg-card);
}

.nav-item.active {
  color: var(--accent);
  background: var(--accent-dim);
  border-left-color: var(--accent);
}

.nav-icon {
  width: 15px; height: 15px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}

.nav-icon svg {
  width: 15px; height: 15px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Hamburger button */
.hamburger {
  width: 34px; height: 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 18px; height: 1.5px;
  background: #fff;
  transition: all 0.2s;
}


/* ════════════════════════════════════════
   PAGES
   ════════════════════════════════════════ */
.page            { display: none; animation: fadeUp 0.18s ease; }
.page.active     { display: block; }

.page-header     { margin-bottom: 22px; }
.page-title      { font-size: clamp(18px, 3vw, 22px); font-weight: 600; color: #fff; letter-spacing: -0.01em; }
.page-subtitle   { font-size: 12px; color: var(--text-muted); margin-top: 3px; text-transform: uppercase; letter-spacing: 0.06em; }

.section-label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.section-label--spaced { margin-top: 16px; }

.divider { height: 1px; background: var(--border); margin: 12px 0; }


/* ════════════════════════════════════════
   BUTTONS
   ════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--r);
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  transition: all 0.12s;
  cursor: pointer;
  white-space: nowrap;
}

.btn:hover              { background: var(--bg-card-hover); border-color: var(--border-hover); }
.btn-accent             { background: var(--accent); color: #000; border-color: var(--accent); }
.btn-accent:hover       { background: #6fffa0; border-color: #6fffa0; }
.btn-sm                 { padding: 6px 12px; font-size: 11px; }
.btn-danger             { border-color: rgba(255,68,68,0.2); color: var(--danger); }
.btn-danger:hover       { background: rgba(255,68,68,0.06); border-color: rgba(255,68,68,0.35); }
.btn-full               { width: 100%; justify-content: center; padding: 11px; }


/* ════════════════════════════════════════
   CARDS
   ════════════════════════════════════════ */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 16px 18px;
  margin-bottom: 10px;
  transition: border-color 0.12s;
}

.card:hover          { border-color: var(--border-hover); }
.card-header         { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.card-title          { font-size: 10px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-dim); }


/* ════════════════════════════════════════
   STATUS BLOCK
   ════════════════════════════════════════ */
.status-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 18px 20px;
  margin-bottom: 10px;
}

.status-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.status-left         { display: flex; align-items: baseline; gap: 10px; }

.status-days {
  font-family: var(--font-mono);
  font-size: clamp(28px, 5vw, 36px);
  font-weight: 700;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.02em;
}

.status-days-label   { font-size: 11px; color: var(--text-dim); }

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 20px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pill-active  { background: rgba(77,255,110,0.08);  border: 1px solid rgba(77,255,110,0.18); color: var(--accent); }
.pill-expired { background: rgba(255,68,68,0.08);   border: 1px solid rgba(255,68,68,0.18);  color: var(--danger); }
.pill-dot     { width: 4px; height: 4px; border-radius: 50%; background: currentColor; animation: pulse-dot 2s infinite; }

.status-expire       { font-size: 10px; color: var(--text-dim); margin-bottom: 10px; }
.status-expire span  { color: var(--text); }
.status-actions      { display: flex; gap: 7px; margin-top: 14px; }


/* ════════════════════════════════════════
   PROGRESS BAR
   ════════════════════════════════════════ */
.progress-row {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  margin-bottom: 5px;
}

.progress-bar  { height: 2px; background: rgba(255,255,255,0.06); border-radius: 1px; }

.progress-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 1px;
  transition: width 0.9s cubic-bezier(0.4,0,0.2,1);
  width: 0%;
}


/* ════════════════════════════════════════
   STAT ROW
   ════════════════════════════════════════ */
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 10px;
}

.stat-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 13px 14px;
  transition: border-color 0.12s;
}

.stat-item:hover { border-color: var(--border-hover); }

.stat-val {
  font-family: var(--font-mono);
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 3px;
}

.stat-lbl { font-size: 10px; color: var(--text-dim); }


/* ════════════════════════════════════════
   REFERRAL
   ════════════════════════════════════════ */
.ref-nums        { display: flex; gap: 24px; margin-bottom: 12px; }
.ref-num-val     { font-family: var(--font-mono); font-size: 22px; font-weight: 700; color: #fff; }
.ref-num-lbl     { font-size: 10px; color: var(--text-dim); margin-top: 2px; }
.ref-note        { font-size: 10px; color: var(--text-dim); margin-bottom: 10px; }
.ref-note span   { color: var(--accent); }


/* ════════════════════════════════════════
   KEY BOX
   ════════════════════════════════════════ */
.key-box {
  background: rgba(0,0,0,0.25);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}

.key-val {
  flex: 1;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-dim);
  word-break: break-all;
  line-height: 1.5;
}

.key-copy {
  flex-shrink: 0;
  padding: 5px 10px;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  border: 1px solid var(--border);
  border-radius: 5px;
  background: var(--bg-card);
  color: var(--text);
  cursor: pointer;
  transition: all 0.12s;
  text-transform: uppercase;
}

.key-copy:hover          { border-color: var(--accent); color: var(--accent); background: var(--accent-dim); }
.key-copy.copied         { border-color: var(--success); color: var(--success); }

/* QR code container */
.qr-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 16px 10px;
}

.qr-container {
  width: 180px; height: 180px;
  padding: 8px;
  background: rgba(0,0,0,0.2);
  border: 1px solid var(--border);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.qr-label {
  text-align: center;
  font-size: 9px;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding-bottom: 4px;
}

/* Keys page subscription hint */
.sub-hint {
  font-size: 10px;
  color: var(--text-dim);
  line-height: 1.8;
  margin-bottom: 2px;
}

.sub-hint span { color: var(--text); }


/* ════════════════════════════════════════
   BADGES
   ════════════════════════════════════════ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 7px;
  border-radius: 20px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.badge-active  { background: rgba(77,255,110,0.08); border: 1px solid rgba(77,255,110,0.18); color: var(--success); }
.badge-expired { background: rgba(255,68,68,0.08);  border: 1px solid rgba(255,68,68,0.18);  color: var(--danger); }
.badge-dot     { width: 4px; height: 4px; border-radius: 50%; background: currentColor; animation: pulse-dot 2s infinite; }


/* ════════════════════════════════════════
   PLANS
   ════════════════════════════════════════ */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 160px), 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.plan-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 16px 14px;
  cursor: pointer;
  transition: all 0.15s;
  position: relative;
  overflow: hidden;
}

.plan-card:hover    { border-color: rgba(var(--accent-rgb),0.35); background: rgba(var(--accent-rgb),0.04); }
.plan-card.selected { border-color: var(--accent); background: rgba(var(--accent-rgb),0.05); }

.plan-card.popular::after {
  content: 'ХИТ';
  position: absolute; top: 10px; right: -22px;
  background: var(--accent); color: #000;
  font-size: 7px; font-weight: 800; letter-spacing: 0.12em;
  padding: 3px 26px;
  transform: rotate(45deg);
}

.plan-name  { font-size: 9px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 8px; }
.plan-price { font-family: var(--font-mono); font-size: clamp(20px, 3.5vw, 26px); font-weight: 700; color: #fff; }
.plan-price small { font-size: 11px; font-weight: 400; color: var(--text-dim); }
.plan-save  { display: inline-block; margin-top: 5px; padding: 2px 6px; background: var(--accent-dim); border: 1px solid rgba(var(--accent-rgb),0.1); border-radius: 4px; font-size: 8px; font-weight: 700; color: var(--accent); letter-spacing: 0.04em; }

.plan-features          { margin-top: 10px; }
.plan-feature           { font-size: 9px; color: var(--text-dim); margin-bottom: 3px; display: flex; align-items: center; gap: 5px; }
.plan-feature::before   { content: '·'; color: var(--accent); }


/* ════════════════════════════════════════
   PAYMENT METHODS
   ════════════════════════════════════════ */
.pay-methods { display: flex; gap: 7px; margin-bottom: 12px; }

.pay-method {
  flex: 1;
  padding: 10px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  cursor: pointer;
  transition: all 0.12s;
}

.pay-method:hover    { border-color: var(--border-hover); }
.pay-method.selected { border-color: rgba(var(--accent-rgb),0.35); background: rgba(var(--accent-rgb),0.04); }
.pay-method-name     { font-size: 12px; font-weight: 600; color: var(--text); }
.pay-method-sub      { font-size: 9px; color: var(--text-dim); margin-top: 2px; }


/* ════════════════════════════════════════
   PAYMENT HISTORY
   ════════════════════════════════════════ */
.payment-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
}

.payment-row:last-child  { border-bottom: none; }
.payment-plan            { color: var(--text); font-weight: 500; }
.payment-date            { font-size: 10px; color: var(--text-dim); margin-top: 2px; }
.payment-amount          { font-family: var(--font-mono); font-size: 12px; color: var(--accent); font-weight: 600; }


/* ════════════════════════════════════════
   SERVER MAP
   ════════════════════════════════════════ */
.map-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  position: sticky;
  top: 28px;
}

.map-card-header {
  padding: 11px 14px 10px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}

.map-card-title { font-size: 9px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-dim); }
.map-online     { display: flex; align-items: center; gap: 5px; font-size: 9px; color: var(--accent); font-family: var(--font-mono); }
.map-online-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); animation: pulse-dot 2s infinite; }

.map-svg-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  background: #060707;
}

.map-svg-wrap svg { width: 100%; height: 100%; display: block; }

.srv-pulse { transform-origin: center; transform-box: fill-box; }

/* Map tooltip */
.map-tooltip {
  position: absolute;
  pointer-events: none;
  background: rgba(6,7,7,0.98);
  border: 1px solid rgba(77,255,110,0.2);
  border-radius: 6px;
  padding: 7px 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.1s;
  transform: translate(-50%, calc(-100% - 8px));
  z-index: 10;
}

.map-tooltip.show     { opacity: 1; }
.map-tooltip-name     { font-size: 11px; font-weight: 600; color: #fff; margin-bottom: 3px; }
.map-tooltip-ping     { color: var(--accent); }
.map-tooltip-status   { color: var(--text-dim); }

/* Server list */
.server-list { padding: 8px 0; }

.server-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 7px 14px;
  border-bottom: 1px solid var(--border);
  transition: background 0.1s;
  cursor: default;
}

.server-row:last-child  { border-bottom: none; }
.server-row:hover       { background: rgba(255,255,255,0.02); }
.server-row-left        { display: flex; align-items: center; gap: 8px; }
.server-flag            { font-size: 13px; line-height: 1; }
.server-name            { font-size: 11px; font-weight: 500; color: var(--text); }
.server-city            { font-size: 9px; color: var(--text-dim); margin-top: 1px; }

.server-status {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 20px;
  border: 1px solid;
}

.status-online     { color: var(--accent); background: rgba(77,255,110,0.07); border-color: rgba(77,255,110,0.18); }
.status-offline    { color: var(--danger); background: rgba(255,68,68,0.07);  border-color: rgba(255,68,68,0.18);  }
.status-measuring  { color: var(--text-muted); background: transparent; border-color: rgba(255,255,255,0.06); min-width: 60px; }


/* ════════════════════════════════════════
   HELP / INSTRUCTIONS
   ════════════════════════════════════════ */
.help-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr));
  gap: 8px;
}

.help-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 16px;
  cursor: pointer;
  transition: all 0.15s;
}

.help-card:hover { border-color: var(--border-hover); transform: translateY(-1px); }

.help-icon {
  width: 36px; height: 36px;
  margin-bottom: 10px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px;
  background: var(--accent-dim);
  border: 1px solid rgba(var(--accent-rgb), 0.12);
}

.help-icon img   { width: 20px; height: 20px; display: block; }
.help-title      { font-size: 12px; font-weight: 600; color: var(--text); margin-bottom: 3px; }
.help-desc       { font-size: 9px; color: var(--text-dim); line-height: 1.5; }

.instruction-panel          { display: none; animation: fadeUp 0.18s ease; }
.instruction-panel.active   { display: block; }
.instruction-panel-inner    { margin-top: 16px; }

.step {
  display: flex; gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.step:last-child { border-bottom: none; }

.step-num {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--accent-dim);
  border: 1px solid rgba(var(--accent-rgb), 0.15);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-size: 9px; font-weight: 700;
  color: var(--accent);
}

.step-text { font-size: 11px; line-height: 1.7; color: var(--text); }
.step-text code { background: rgba(255,255,255,0.06); border: 1px solid var(--border); padding: 1px 5px; border-radius: 3px; font-family: var(--font-mono); font-size: 10px; color: var(--accent); }
.step-text a    { color: var(--accent); border-bottom: 1px solid rgba(var(--accent-rgb),0.25); }

.back-btn-wrap { margin-bottom: 12px; }


/* ════════════════════════════════════════
   TOAST
   ════════════════════════════════════════ */
.toast {
  position: fixed; bottom: 18px; right: 18px;
  padding: 10px 16px;
  background: rgba(10,10,10,0.97);
  border: 1px solid var(--border);
  border-radius: var(--r);
  font-size: 11px; font-weight: 500; letter-spacing: 0.03em;
  color: var(--text);
  z-index: 9999;
  transform: translateY(50px); opacity: 0;
  transition: all 0.22s ease;
  backdrop-filter: blur(12px);
}

.toast.show    { transform: translateY(0); opacity: 1; }
.toast.success { border-color: rgba(77,255,110,0.2); color: var(--success); }
.toast.error   { border-color: rgba(255,68,68,0.2);  color: var(--danger);  }


/* ════════════════════════════════════════
   MODAL
   ════════════════════════════════════════ */
.modal-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.75);
  z-index: 1000;
  align-items: center; justify-content: center;
  backdrop-filter: blur(4px);
}

.modal-overlay.show { display: flex; }

.modal {
  background: #0e0f0f;
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 24px;
  max-width: 380px; width: 90%;
  animation: fadeUp 0.18s ease;
}

.modal-title   { font-size: 14px; font-weight: 600; margin-bottom: 8px; color: #fff; }
.modal-text    { font-size: 11px; color: var(--text-dim); line-height: 1.7; margin-bottom: 20px; }
.modal-actions { display: flex; gap: 7px; justify-content: flex-end; }


/* ════════════════════════════════════════
   LOGIN GATE  (injected dynamically)
   ════════════════════════════════════════ */
#login-gate {
  position: fixed; inset: 0;
  background: var(--bg);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center; justify-content: center;
  padding: 24px; text-align: center;
}

.login-gate-logo {
  font-family: var(--font-mono);
  font-size: 22px; font-weight: 700;
  letter-spacing: 0.28em;
  margin-bottom: 6px;
}

.login-gate-sub {
  color: var(--text-muted);
  font-size: 10px; letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 36px;
}

.login-gate-desc {
  max-width: 340px;
  font-size: 13px; line-height: 1.7;
  color: var(--text-dim);
  margin-bottom: 24px;
}

.login-gate-btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 12px 24px;
  background: var(--accent); color: #000;
  font-weight: 700;
  border-radius: var(--r);
  font-size: 13px; letter-spacing: 0.02em;
}


/* ════════════════════════════════════════
   PAID POLLING LOADER  (injected dynamically)
   ════════════════════════════════════════ */
#paid-loader {
  position: fixed; inset: 0;
  background: rgba(8,9,9,0.93);
  z-index: 10000;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 24px; text-align: center;
  backdrop-filter: blur(8px);
}

.paid-loader-spinner {
  width: 40px; height: 40px;
  border: 2px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: croak-spin 0.8s linear infinite;
  margin-bottom: 18px;
}

.paid-loader-title { font-size: 15px; font-weight: 600; margin-bottom: 5px; color: #fff; }
.paid-loader-sub   { font-size: 11px; color: var(--text-dim); max-width: 280px; line-height: 1.6; }
/* SVG server dot groups */
.srv-dot { cursor: pointer; }
.payments-loading { font-size:11px; color:var(--text-dim); text-align:center; padding:12px 0; }

/* ============================================================
   V2 JUICE PASS — premium neon/cinematic refinements
   Keeps original markup and JS intact.
   ============================================================ */

/* Remove accidental shell artifact if present in source */
-e { display: none; }

.logo {
  font-size: 17px;
  letter-spacing: 0.23em;
  text-shadow: 0 0 20px rgba(255,255,255,0.08);
}
.logo::after {
  content: 'VPN';
  color: var(--accent);
  letter-spacing: 0.08em;
  text-shadow: 0 0 22px rgba(var(--accent-rgb),0.4);
}
.logo { gap: 8px; }
.logo-dot {
  width: 7px; height: 7px;
  box-shadow: 0 0 16px rgba(var(--accent-rgb),0.75), 0 0 34px rgba(var(--accent-rgb),0.28);
}
.logo-sub {
  margin-top: 12px;
  color: rgba(237,242,232,0.42);
  font-weight: 700;
  letter-spacing: 0.18em;
}
.mobile-logo { letter-spacing: 0.2em; }
.mobile-logo::after { content: ' VPN'; color: var(--accent); }

.nav-item {
  position: relative;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 16px;
  border-left: 0;
  color: rgba(237,242,232,0.48);
  font-weight: 700;
  letter-spacing: -0.01em;
  overflow: hidden;
  transition: transform .18s ease, color .18s ease, background .18s ease, border-color .18s ease;
}
.nav-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0% 50%, rgba(var(--accent-rgb),0.22), transparent 46%);
  opacity: 0;
  transition: opacity .2s ease;
}
.nav-item::after {
  content: '';
  position: absolute;
  left: 0; top: 14px; bottom: 14px;
  width: 3px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(var(--accent-rgb),0.7);
  opacity: 0;
}
.nav-item:hover {
  color: rgba(237,242,232,0.85);
  background: rgba(255,255,255,0.035);
  transform: translateX(2px);
}
.nav-item.active {
  color: #fff;
  background: linear-gradient(90deg, rgba(var(--accent-rgb),0.16), rgba(var(--accent-rgb),0.055));
  border: 1px solid rgba(var(--accent-rgb),0.32);
  box-shadow: inset 0 0 22px rgba(var(--accent-rgb),0.06), 0 0 26px rgba(var(--accent-rgb),0.08);
}
.nav-item.active::before,
.nav-item.active::after { opacity: 1; }
.nav-icon { position: relative; z-index: 1; width: 18px; height: 18px; }
.nav-icon svg { width: 18px; height: 18px; stroke-width: 1.95; }
.nav-item > * { position: relative; z-index: 1; }

.page { animation: fadeUp .26s ease; }
.page-header { margin-bottom: 26px; }
.page-title {
  font-size: clamp(30px, 4.3vw, 46px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.045em;
  line-height: 0.95;
  text-shadow: 0 8px 40px rgba(0,0,0,0.6);
}
.page-subtitle {
  font-size: 13px;
  color: rgba(237,242,232,0.48);
  text-transform: none;
  letter-spacing: 0;
  margin-top: 10px;
}
.section-label {
  font-size: 10px;
  color: rgba(237,242,232,0.42);
  letter-spacing: 0.22em;
  margin-bottom: 12px;
}
.section-label--spaced { margin-top: 26px; }

.btn {
  min-height: 42px;
  padding: 10px 18px;
  border-radius: 15px;
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.btn:hover {
  transform: translateY(-1px);
  background: rgba(255,255,255,0.065);
  border-color: rgba(var(--accent-rgb),0.26);
  box-shadow: 0 14px 34px rgba(0,0,0,0.28), 0 0 24px rgba(var(--accent-rgb),0.07);
}
.btn-accent {
  background: linear-gradient(135deg, #c9ff3a 0%, var(--accent) 46%, #48ef5d 100%);
  color: #071006;
  border-color: rgba(var(--accent-rgb),0.72);
  box-shadow: 0 0 30px rgba(var(--accent-rgb),0.28), inset 0 1px 0 rgba(255,255,255,0.45);
}
.btn-accent:hover {
  background: linear-gradient(135deg, #d9ff57 0%, #aaff26 52%, #56fb6b 100%);
  border-color: rgba(var(--accent-rgb),0.9);
  box-shadow: 0 0 42px rgba(var(--accent-rgb),0.34), 0 16px 40px rgba(0,0,0,0.32);
}
.btn-sm { min-height: 34px; padding: 7px 13px; border-radius: 12px; }

.card,
.status-block,
.stat-item,
.plan-card,
.pay-method,
.help-card,
.key-box,
.map-card,
.modal {
  background:
    linear-gradient(145deg, rgba(255,255,255,0.072), rgba(255,255,255,0.026)),
    radial-gradient(circle at 85% 0%, rgba(var(--accent-rgb),0.085), transparent 42%);
  border: 1px solid rgba(255,255,255,0.09);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.045), 0 20px 70px rgba(0,0,0,0.28);
  backdrop-filter: blur(18px);
}
.card,
.plan-card,
.help-card,
.stat-item,
.key-box { border-radius: 20px; }
.card { padding: 22px 24px; margin-bottom: 14px; }
.card:hover,
.stat-item:hover,
.help-card:hover,
.plan-card:hover {
  border-color: rgba(var(--accent-rgb),0.24);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.055), 0 24px 80px rgba(0,0,0,0.32), 0 0 34px rgba(var(--accent-rgb),0.07);
}
.card-title {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: rgba(237,242,232,0.52);
}

.status-block {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: 34px 36px;
  margin-bottom: 18px;
  background:
    radial-gradient(circle at 12% 18%, rgba(var(--accent-rgb),0.18), transparent 26%),
    radial-gradient(circle at 88% 20%, rgba(var(--accent-rgb),0.16), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,0.07), rgba(255,255,255,0.026));
  border-color: rgba(var(--accent-rgb),0.28);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 0 48px rgba(var(--accent-rgb),0.11), 0 28px 90px rgba(0,0,0,0.42);
}
.status-block::before {
  content: '';
  position: absolute;
  inset: -40% -10% auto -10%;
  height: 80%;
  background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb),0.08), transparent);
  transform: translateX(-80%);
  animation: scan-line 9s linear infinite;
  pointer-events: none;
}
.status-block::after {
  content: '';
  position: absolute;
  right: -70px; top: -90px;
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(var(--accent-rgb),0.23), transparent 66%);
  filter: blur(8px);
  opacity: .7;
  pointer-events: none;
}
.status-block > * { position: relative; z-index: 1; }
.status-top { margin-bottom: 26px; }
.status-left { align-items: flex-end; gap: 14px; }
.status-days {
  font-size: clamp(58px, 8vw, 88px);
  color: var(--accent);
  letter-spacing: -0.085em;
  text-shadow: 0 0 38px rgba(var(--accent-rgb),0.34);
}
.status-days-label {
  color: var(--accent);
  font-size: 18px;
  font-weight: 800;
  padding-bottom: 11px;
}
.status-pill,
.badge {
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 10px;
  background: rgba(var(--accent-rgb),0.12);
  border: 1px solid rgba(var(--accent-rgb),0.24);
  box-shadow: inset 0 0 18px rgba(var(--accent-rgb),0.04);
}
.status-expire { font-size: 13px; color: rgba(237,242,232,0.52); margin-bottom: 20px; }
.status-expire span { color: #fff; font-weight: 800; }
.status-actions { gap: 12px; margin-top: 22px; }

.progress-row { font-size: 12px; color: rgba(237,242,232,0.5); margin-bottom: 10px; }
.progress-bar {
  height: 7px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  overflow: hidden;
  box-shadow: inset 0 1px 4px rgba(0,0,0,0.38);
}
.progress-fill {
  border-radius: inherit;
  background: linear-gradient(90deg, #40ef65, var(--accent), #d9ff48);
  box-shadow: 0 0 26px rgba(var(--accent-rgb),0.36);
}

.stat-row { gap: 14px; margin-bottom: 18px; }
.stat-item {
  padding: 20px 22px;
  min-height: 86px;
  position: relative;
  overflow: hidden;
}
.stat-item::after {
  content: '';
  position: absolute;
  right: -30px; top: -35px;
  width: 92px; height: 92px;
  background: radial-gradient(circle, rgba(var(--accent-rgb),0.12), transparent 68%);
}
.stat-val {
  font-size: 27px;
  color: #fff;
  letter-spacing: -0.04em;
}
.stat-lbl { font-size: 12px; color: rgba(237,242,232,0.45); font-weight: 700; }

.ref-note { font-size: 14px; color: rgba(237,242,232,0.55); margin-bottom: 18px; }
.ref-note span { color: var(--accent); font-weight: 800; }
.ref-nums { gap: 38px; margin-bottom: 22px; }
.ref-num-val { font-size: 30px; }
.ref-num-lbl { font-size: 12px; color: rgba(237,242,232,0.45); }
.key-box {
  padding: 15px 16px;
  background: rgba(0,0,0,0.20);
  border-color: rgba(255,255,255,0.085);
}
.key-val { color: rgba(237,242,232,0.62); font-size: 12px; }
.key-copy {
  border-radius: 12px;
  border-color: rgba(255,255,255,0.14);
  padding: 8px 12px;
  background: rgba(255,255,255,0.045);
}
.key-copy:hover { box-shadow: 0 0 26px rgba(var(--accent-rgb),0.12); }

.map-card {
  border-radius: 24px;
  top: 54px;
  overflow: hidden;
  border-color: rgba(255,255,255,0.105);
}
.map-card-header {
  padding: 18px 20px;
  border-bottom-color: rgba(255,255,255,0.075);
  background: linear-gradient(90deg, rgba(var(--accent-rgb),0.06), rgba(var(--accent-rgb),0.13));
}
.map-card-title { font-size: 10px; letter-spacing: 0.18em; color: rgba(237,242,232,0.5); }
.map-online { font-weight: 800; }
.map-svg-wrap {
  background:
    radial-gradient(circle at 60% 28%, rgba(var(--accent-rgb),0.13), transparent 42%),
    linear-gradient(rgba(var(--accent-rgb),0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--accent-rgb),0.022) 1px, transparent 1px),
    #030605;
  background-size: auto, 34px 34px, 34px 34px, auto;
}
.map-svg-wrap svg path { opacity: .68; }
.map-svg-wrap svg line {
  stroke: rgba(var(--accent-rgb),0.18) !important;
  filter: drop-shadow(0 0 4px rgba(var(--accent-rgb),0.28));
}
.srv-dot circle:nth-last-child(2) { filter: drop-shadow(0 0 5px rgba(var(--accent-rgb),0.75)); }
.server-list { padding: 10px; }
.server-row {
  padding: 12px 12px;
  border-bottom: 0;
  border-radius: 16px;
  transition: background .18s ease, transform .18s ease;
}
.server-row:hover { background: rgba(var(--accent-rgb),0.06); transform: translateX(2px); }
.server-name { font-size: 13px; color: rgba(255,255,255,0.88); font-weight: 800; }
.server-city { font-size: 11px; color: rgba(237,242,232,0.42); }
.server-status { border-radius: 999px; padding: 6px 10px; }
.status-online { background: rgba(var(--accent-rgb),0.13); border-color: rgba(var(--accent-rgb),0.25); box-shadow: 0 0 16px rgba(var(--accent-rgb),0.08); }

.plan-card,
.help-card {
  padding: 22px;
  min-height: 164px;
}
.plan-card::before,
.help-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% -20%, rgba(var(--accent-rgb),0.16), transparent 52%);
  opacity: 0;
  transition: opacity .2s ease;
}
.plan-card:hover::before,
.help-card:hover::before,
.plan-card.selected::before { opacity: 1; }
.plan-price { font-size: clamp(30px, 4vw, 44px); color: #fff; letter-spacing: -0.06em; }
.plan-name { font-size: 11px; color: rgba(237,242,232,0.48); }
.plan-feature { font-size: 12px; color: rgba(237,242,232,0.58); }
.plan-save { border-radius: 999px; padding: 4px 8px; }
.plan-card.popular::after { background: linear-gradient(90deg, var(--accent), #dfff45); }

.help-grid { gap: 14px; }
.help-icon {
  width: 48px; height: 48px;
  border-radius: 16px;
  background: rgba(var(--accent-rgb),0.09);
  box-shadow: 0 0 24px rgba(var(--accent-rgb),0.09);
}
.help-title { font-size: 15px; }
.help-desc { font-size: 12px; color: rgba(237,242,232,0.46); }
.step { padding: 16px 0; border-bottom-color: rgba(255,255,255,0.075); }
.step-num {
  width: 30px; height: 30px;
  background: rgba(var(--accent-rgb),0.10);
  box-shadow: 0 0 18px rgba(var(--accent-rgb),0.08);
}
.step-text { font-size: 14px; color: rgba(237,242,232,0.78); }
.step-text code { border-radius: 8px; padding: 2px 7px; }

.qr-container {
  border-radius: 22px;
  background: radial-gradient(circle at 50% 50%, rgba(var(--accent-rgb),0.08), rgba(0,0,0,0.36));
  box-shadow: inset 0 0 28px rgba(var(--accent-rgb),0.06);
}
.sub-hint { font-size: 13px; color: rgba(237,242,232,0.52); }
.sub-hint span { color: #fff; }

.toast,
.modal {
  border-color: rgba(var(--accent-rgb),0.18);
  box-shadow: 0 24px 90px rgba(0,0,0,0.48), 0 0 40px rgba(var(--accent-rgb),0.10);
}
#login-gate {
  background:
    radial-gradient(circle at 50% 25%, rgba(var(--accent-rgb),0.18), transparent 36%),
    var(--bg);
}
.login-gate-logo { color: #fff; text-shadow: 0 0 28px rgba(var(--accent-rgb),0.14); }
.login-gate-btn { border-radius: 16px; box-shadow: 0 0 36px rgba(var(--accent-rgb),0.25); }

@media (max-width: 768px) {
  .page-title { font-size: 34px; }
  .status-block { padding: 26px 22px; }
  .status-days { font-size: 62px; }
  .status-days-label { font-size: 14px; }
  .dashboard-cols { gap: 18px; }
  .card { padding: 18px; }
}

@media (max-width: 520px) {
  .status-left { display: block; }
  .status-days-label { padding-bottom: 0; margin-top: 2px; }
  .stat-row { gap: 10px; }
  .stat-item { padding: 16px; }
  .ref-nums { gap: 22px; }
  .map-svg-wrap { aspect-ratio: 4/3; }
}


/* ============================================================
   V3 POLISH PASS — icon system + premium contrast cleanup
   Fixes: sidebar icon clarity, icon containers, inactive contrast,
          map glow balance, component depth, readable states
   ============================================================ */

/* --- Sidebar icon system --- */
.sidebar {
  box-shadow: inset -1px 0 0 rgba(var(--accent-rgb),0.07), 18px 0 70px rgba(0,0,0,0.28);
}

.nav-item {
  min-height: 48px;
  gap: 12px;
  padding: 11px 12px;
  color: rgba(237,242,232,0.52);
}

.nav-icon {
  width: 26px;
  height: 26px;
  border-radius: 9px;
  color: rgba(237,242,232,0.50);
  background: rgba(255,255,255,0.018);
  border: 1px solid rgba(255,255,255,0.045);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
  transition: color .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.nav-icon svg {
  width: 17px;
  height: 17px;
  stroke-width: 2.05;
  filter: none;
}

.nav-item:hover {
  color: rgba(255,255,255,0.86);
  background: rgba(var(--accent-rgb),0.045);
}

.nav-item:hover .nav-icon {
  color: rgba(255,255,255,0.88);
  border-color: rgba(var(--accent-rgb),0.16);
  background: rgba(var(--accent-rgb),0.055);
}

.nav-item.active {
  color: #fff;
  background:
    radial-gradient(circle at 18% 50%, rgba(var(--accent-rgb),0.20), rgba(var(--accent-rgb),0.06) 42%, rgba(var(--accent-rgb),0.035) 100%);
  border-color: rgba(var(--accent-rgb),0.32);
  box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb),0.06), 0 14px 36px rgba(var(--accent-rgb),0.06);
}

.nav-item.active .nav-icon {
  color: var(--accent);
  border-color: rgba(var(--accent-rgb),0.36);
  background: rgba(var(--accent-rgb),0.11);
  box-shadow:
    inset 0 0 18px rgba(var(--accent-rgb),0.05),
    0 0 18px rgba(var(--accent-rgb),0.18);
}

.nav-item.active .nav-icon svg {
  filter: drop-shadow(0 0 4px rgba(var(--accent-rgb),0.55));
}

/* Logo dot/icon reads cleaner */
.logo-dot {
  width: 8px;
  height: 8px;
  box-shadow: 0 0 8px rgba(var(--accent-rgb),0.75), 0 0 22px rgba(var(--accent-rgb),0.25);
}
.logo { gap: 12px; }

/* --- Global icon tiles: make them look intentional, not random grey SVGs --- */
.help-icon,
.step-num,
.badge,
.status-pill,
.server-status,
.map-online-dot,
.pill-dot,
.badge-dot {
  transform: translateZ(0);
}

.help-icon {
  color: var(--accent);
  border-color: rgba(var(--accent-rgb),0.22);
  background:
    radial-gradient(circle at 50% 25%, rgba(var(--accent-rgb),0.20), rgba(var(--accent-rgb),0.055) 70%),
    rgba(255,255,255,0.025);
  box-shadow:
    inset 0 0 20px rgba(var(--accent-rgb),0.045),
    0 0 28px rgba(var(--accent-rgb),0.12);
}

.help-icon img,
.help-icon svg {
  width: 22px !important;
  height: 22px !important;
  filter: drop-shadow(0 0 5px rgba(var(--accent-rgb),0.52));
}

/* --- Make icon-like data blocks more premium --- */
.stat-item,
.card,
.status-block,
.map-card,
.plan-card,
.help-card {
  background:
    linear-gradient(135deg, rgba(255,255,255,0.052), rgba(255,255,255,0.018) 46%, rgba(var(--accent-rgb),0.035));
  border-color: rgba(255,255,255,0.10);
}

.stat-item:hover,
.card:hover,
.plan-card:hover,
.help-card:hover {
  border-color: rgba(var(--accent-rgb),0.26);
  box-shadow:
    var(--shadow-deep),
    inset 0 0 0 1px rgba(var(--accent-rgb),0.035),
    0 0 34px rgba(var(--accent-rgb),0.075);
}

/* --- Main hero: reduce flat green slab feeling, keep glow cinematic --- */
.status-block {
  background:
    radial-gradient(circle at 86% 12%, rgba(var(--accent-rgb),0.18), transparent 42%),
    linear-gradient(135deg, rgba(255,255,255,0.055), rgba(255,255,255,0.018) 58%, rgba(var(--accent-rgb),0.055));
}
.status-block::after { opacity: .72; }
.status-days { text-shadow: 0 0 34px rgba(var(--accent-rgb),0.22); }

/* --- Buttons: icons/edges more finished --- */
.btn {
  min-height: 42px;
  border-radius: 14px;
  letter-spacing: .01em;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}
.btn-accent {
  background: linear-gradient(135deg, #5cff72, var(--accent) 52%, #d8ff42);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.28),
    inset 0 -10px 22px rgba(0,0,0,0.13),
    0 0 30px rgba(var(--accent-rgb),0.26);
}
.btn-accent:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.28),
    0 0 42px rgba(var(--accent-rgb),0.34);
}

/* --- Map: less dull vector, more network center --- */
.map-svg-wrap {
  background:
    radial-gradient(circle at 54% 28%, rgba(var(--accent-rgb),0.16), transparent 40%),
    radial-gradient(circle at 75% 70%, rgba(var(--accent-rgb),0.075), transparent 34%),
    linear-gradient(rgba(var(--accent-rgb),0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--accent-rgb),0.025) 1px, transparent 1px),
    #020504;
  background-size: auto, auto, 38px 38px, 38px 38px, auto;
}
.map-svg-wrap svg path {
  fill: rgba(255,255,255,0.04) !important;
  stroke: rgba(255,255,255,0.075) !important;
  opacity: .78;
}
.server-row {
  min-height: 56px;
}
.server-flag {
  font-size: 16px;
  filter: saturate(.9) contrast(1.05);
}

/* --- Pill/badge polish --- */
.status-pill,
.badge,
.server-status {
  font-family: var(--font-mono);
  border-width: 1px;
  box-shadow: inset 0 0 14px rgba(var(--accent-rgb),0.045);
}
.status-online,
.pill-active,
.badge-active {
  text-shadow: 0 0 8px rgba(var(--accent-rgb),0.22);
}

/* --- Top page spacing: screenshot looked a bit cramped against browser zoom --- */
.page-header { margin-bottom: 28px; }
.section-label { margin-bottom: 12px; }

/* --- Mobile: sidebar icons remain visible and not cramped --- */
@media (max-width: 768px) {
  .nav-item { min-height: 50px; }
  .nav-icon { width: 28px; height: 28px; }
  .nav-icon svg { width: 18px; height: 18px; }
  .mobile-header {
    background: rgba(3,5,5,0.88);
    box-shadow: 0 10px 42px rgba(0,0,0,0.32);
  }
  .hamburger {
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.07);
    background: rgba(255,255,255,0.025);
  }
  .hamburger span {
    background: rgba(255,255,255,0.86);
    margin-left: 8px;
  }
}


/* ============================================================
   V4 — Production art direction closer to Neon Cyber concept
   ============================================================ */
.logo {
  letter-spacing: 0.36em;
  text-shadow: 0 0 22px rgba(255,255,255,0.06);
}
.logo-dot {
  width: 7px;
  height: 7px;
  box-shadow: 0 0 14px rgba(var(--accent-rgb),0.72), 0 0 34px rgba(var(--accent-rgb),0.24);
}
.logo-sub {
  opacity: .72;
}

.nav-item {
  position: relative;
  min-height: 54px;
  gap: 14px;
  padding: 13px 14px;
  border-radius: 18px;
  color: rgba(243,246,239,0.52);
  border: 1px solid transparent;
  border-left: 0;
  transition: transform .18s ease, color .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.nav-item:hover {
  color: rgba(243,246,239,0.86);
  background: rgba(255,255,255,0.035);
  transform: translateX(2px);
}
.nav-item.active {
  color: #f7fff2;
  background:
    radial-gradient(circle at 15% 50%, rgba(var(--accent-rgb),0.22), transparent 34%),
    linear-gradient(90deg, rgba(var(--accent-rgb),0.17), rgba(var(--accent-rgb),0.045));
  border: 1px solid rgba(var(--accent-rgb),0.25);
  box-shadow:
    inset 0 0 26px rgba(var(--accent-rgb),0.055),
    0 0 34px rgba(var(--accent-rgb),0.055);
}
.nav-item.active::before {
  content: '';
  position: absolute;
  left: -1px;
  top: 14px;
  bottom: 14px;
  width: 4px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 16px rgba(var(--accent-rgb),0.65);
}
.nav-icon {
  width: 28px;
  height: 28px;
  border-radius: 11px;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.055);
}
.nav-item.active .nav-icon {
  color: var(--accent);
  background: rgba(var(--accent-rgb),0.08);
  border-color: rgba(var(--accent-rgb),0.20);
  box-shadow: inset 0 0 18px rgba(var(--accent-rgb),0.07);
}
.nav-icon svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.15;
}

.page-header { margin-bottom: 30px; }
.page-title {
  font-size: clamp(36px, 5.4vw, 58px);
  line-height: .95;
  font-weight: 700;
  letter-spacing: -0.055em;
  color: #fff;
  text-shadow: 0 18px 54px rgba(0,0,0,0.55);
}
.section-label {
  margin-bottom: 14px;
  font-size: 10px;
  letter-spacing: .22em;
  color: rgba(243,246,239,0.38);
}

.status-block {
  position: relative;
  overflow: hidden;
  min-height: 310px;
  padding: 42px 46px;
  margin-bottom: 22px;
  border-radius: 34px;
  background:
    linear-gradient(145deg, rgba(19,23,19,0.94), rgba(7,10,8,0.985) 58%),
    radial-gradient(circle at 88% 12%, rgba(var(--accent-rgb),0.22), transparent 45%);
  border: 1px solid rgba(var(--accent-rgb),0.16);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    inset 0 -40px 100px rgba(var(--accent-rgb),0.032),
    var(--shadow-deep);
  backdrop-filter: blur(22px);
}
.status-block::before {
  content: '';
  position: absolute;
  right: -120px;
  top: -180px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(var(--accent-rgb),0.24), transparent 70%);
  filter: blur(12px);
  pointer-events: none;
}
.status-block::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent, rgba(255,255,255,0.035), transparent);
  transform: translateX(-120%);
  animation: scan-line 8s ease-in-out infinite;
  pointer-events: none;
  opacity: .35;
}
.status-block > * { position: relative; z-index: 1; }
.status-top { margin-bottom: 28px; }
.status-left { gap: 18px; align-items: flex-end; }
.status-days {
  font-size: clamp(74px, 8vw, 112px);
  line-height: .78;
  font-weight: 800;
  letter-spacing: -0.075em;
  color: var(--accent);
  text-shadow: 0 0 22px rgba(var(--accent-rgb),0.20), 0 20px 60px rgba(0,0,0,0.48);
}
.status-days-label {
  padding-bottom: 9px;
  font-size: 18px;
  font-weight: 700;
  color: var(--accent-soft);
}
.status-expire {
  font-size: 13px;
  margin-bottom: 24px;
}
.status-pill {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 11px;
}
.pill-active {
  background: rgba(var(--accent-rgb),0.13);
  border-color: rgba(var(--accent-rgb),0.24);
  box-shadow: inset 0 0 18px rgba(var(--accent-rgb),0.055);
}
.progress-row {
  font-size: 12px;
  margin-bottom: 10px;
}
.progress-bar {
  height: 7px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  overflow: hidden;
  box-shadow: inset 0 0 12px rgba(0,0,0,0.35);
}
.progress-fill {
  border-radius: 999px;
  background: linear-gradient(90deg, #45ff75, #caff28);
  box-shadow: 0 0 18px rgba(var(--accent-rgb),0.36);
}
.status-actions { gap: 12px; margin-top: 24px; }

.btn {
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 16px;
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.085);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.035);
}
.btn:hover {
  transform: translateY(-1px);
  border-color: rgba(var(--accent-rgb),0.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.045), 0 10px 30px rgba(0,0,0,0.28);
}
.btn-accent {
  background: linear-gradient(180deg, #caff36, #72ff3f);
  color: #071007;
  border: 0;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.42),
    0 0 30px rgba(var(--accent-rgb),0.26),
    0 12px 36px rgba(0,0,0,0.34);
}
.btn-accent:hover {
  background: linear-gradient(180deg, #ddff61, #8cff4b);
}

.stat-row {
  gap: 18px;
  margin-bottom: 26px;
}
.stat-item,
.card,
.plan-card,
.help-card,
.pay-method {
  background: linear-gradient(145deg, rgba(17,20,17,0.88), rgba(8,10,8,0.95));
  border-color: rgba(var(--accent-rgb),0.095);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.025),
    inset 0 -22px 60px rgba(var(--accent-rgb),0.018),
    0 20px 70px rgba(0,0,0,0.26);
}
.stat-item {
  min-height: 100px;
  padding: 24px 26px;
  border-radius: 24px;
}
.stat-item:hover,
.card:hover,
.plan-card:hover,
.help-card:hover,
.pay-method:hover {
  border-color: rgba(var(--accent-rgb),0.18);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    0 18px 60px rgba(0,0,0,0.36),
    0 0 28px rgba(var(--accent-rgb),0.055);
}
.stat-val {
  font-size: 32px;
  letter-spacing: -0.035em;
}
.stat-lbl { font-size: 13px; }

.card {
  border-radius: 26px;
  padding: 26px 28px;
  margin-bottom: 18px;
}
.card-title {
  font-size: 11px;
  letter-spacing: .20em;
}
.ref-note { font-size: 14px; margin-bottom: 22px; }
.ref-num-val { font-size: 30px; }
.key-box {
  border-radius: 18px;
  padding: 14px 16px;
  background: rgba(0,0,0,0.22);
}
.key-copy {
  border-radius: 12px;
  min-height: 36px;
}

@media (max-width: 768px) {
  .page-title { font-size: 38px; }
  .status-block { min-height: auto; padding: 28px 24px; border-radius: 28px; }
  .status-left { display: block; }
  .status-days-label { padding-bottom: 0; margin-top: 8px; }
  .stat-row { gap: 12px; }
  .stat-item { padding: 18px; }
}


/* ============================================================
   V5 — spacing + payment UX polish
   ============================================================ */

/* use more of the screen after removing the server map */
.status-block,
.stat-row,
#payments-card,
#payment-section,
.page#page-dashboard .card {
  max-width: 100%;
}

.status-block {
  min-height: 310px;
}

.plans-grid {
  grid-template-columns: repeat(4, minmax(190px, 1fr));
  gap: 16px;
  max-width: 960px;
}

#payment-section {
  max-width: 960px;
  margin-top: 10px;
}

#payment-section .card-header {
  margin-bottom: 26px;
}

.pay-methods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0 18px;
}

.pay-method {
  min-height: 74px;
  padding: 18px 20px;
  border-radius: 22px;
}

.pay-method.selected {
  border-color: rgba(var(--accent-rgb), 0.52);
  background:
    radial-gradient(circle at 20% 0%, rgba(var(--accent-rgb), 0.13), transparent 42%),
    linear-gradient(145deg, rgba(22, 30, 16, 0.96), rgba(7, 10, 7, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 0 30px rgba(var(--accent-rgb), 0.10);
}

.pay-submit {
  width: 100%;
  justify-content: center;
  padding: 15px 22px;
  margin-top: 4px;
  font-size: 14px;
}

.sub-hint {
  font-size: 13px;
  color: rgba(237,242,232,0.58);
  margin-bottom: 12px;
}

@media (min-width: 1280px) {
  .status-block { min-height: 330px; }
  .stat-row { max-width: 960px; }
  .page#page-dashboard .card { max-width: 960px; }
}

@media (max-width: 900px) {
  .plans-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; }
  #payment-section { max-width: none; }
}

@media (max-width: 520px) {
  .plans-grid,
  .pay-methods { grid-template-columns: 1fr; }
}

/* ============================================================
   V6 — larger connection cards + support page
   ============================================================ */

.help-grid--large {
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 18px;
  max-width: 1120px;
}

.help-card--os {
  min-height: 230px;
  padding: 28px 24px;
  border-radius: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    radial-gradient(circle at 50% 8%, rgba(var(--accent-rgb),0.10), transparent 42%),
    linear-gradient(145deg, rgba(16,20,15,0.94), rgba(6,8,6,0.98));
  border: 1px solid rgba(var(--accent-rgb),0.13);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.035),
    inset 0 -18px 55px rgba(var(--accent-rgb),0.025),
    0 18px 48px rgba(0,0,0,0.34);
}

.help-card--os:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--accent-rgb),0.34);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.055),
    0 24px 70px rgba(0,0,0,0.42),
    0 0 34px rgba(var(--accent-rgb),0.10);
}

.os-icon {
  width: 74px;
  height: 74px;
  border-radius: 24px;
  margin-bottom: 24px;
  background:
    radial-gradient(circle at 50% 18%, rgba(var(--accent-rgb),0.18), transparent 58%),
    rgba(0,0,0,0.22);
  border: 1px solid rgba(var(--accent-rgb),0.22);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05),
    0 0 34px rgba(var(--accent-rgb),0.08);
}

.os-icon svg {
  width: 38px;
  height: 38px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 10px rgba(var(--accent-rgb),0.26));
}

.os-icon--apple svg,
.os-icon--windows svg { fill: var(--accent); stroke: none; }

.help-card--os .help-title {
  font-size: 20px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  color: #fff;
}

.help-card--os .help-desc {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(237,242,232,0.58);
}

.support-page-header {
  margin-bottom: 24px;
}

.support-hero {
  position: relative;
  min-height: 330px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 36px;
  align-items: center;
  overflow: hidden;
  border-radius: 34px;
  padding: 42px;
  max-width: 1120px;
  background:
    radial-gradient(circle at 82% 22%, rgba(var(--accent-rgb),0.20), transparent 35%),
    linear-gradient(145deg, rgba(18,22,16,0.96), rgba(6,8,6,0.98));
  border: 1px solid rgba(var(--accent-rgb),0.16);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    0 28px 80px rgba(0,0,0,0.45),
    0 0 70px rgba(var(--accent-rgb),0.06);
}

.support-kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .22em;
  color: var(--accent);
  margin-bottom: 14px;
  text-transform: uppercase;
}

.support-title {
  font-size: clamp(44px, 6vw, 72px);
  line-height: .95;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.055em;
  margin-bottom: 20px;
}

.support-text {
  max-width: 560px;
  font-size: 18px;
  line-height: 1.55;
  color: rgba(237,242,232,0.66);
  margin-bottom: 28px;
}

.support-main-btn {
  min-height: 56px;
  padding-inline: 28px;
  font-size: 15px;
  border-radius: 18px;
}

.support-orb {
  width: 250px;
  height: 250px;
  justify-self: center;
  border-radius: 54px;
  display: grid;
  place-items: center;
  transform: rotate(-8deg);
  background:
    radial-gradient(circle at 50% 30%, rgba(var(--accent-rgb),0.34), transparent 58%),
    linear-gradient(145deg, rgba(36,54,24,0.86), rgba(5,8,5,0.98));
  border: 1px solid rgba(var(--accent-rgb),0.40);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.10),
    0 0 80px rgba(var(--accent-rgb),0.18),
    0 32px 90px rgba(0,0,0,0.44);
}

.support-orb svg {
  width: 108px;
  height: 108px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.45;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 18px rgba(var(--accent-rgb),0.34));
}

.support-grid {
  max-width: 1120px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.support-card {
  min-height: 184px;
  padding: 24px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 70% 0%, rgba(var(--accent-rgb),0.085), transparent 40%),
    linear-gradient(145deg, rgba(16,20,15,0.94), rgba(6,8,6,0.98));
  border: 1px solid rgba(var(--accent-rgb),0.10);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.025);
}

.support-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  background: rgba(var(--accent-rgb),0.075);
  border: 1px solid rgba(var(--accent-rgb),0.16);
}

.support-card-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.support-card-title {
  font-size: 18px;
  font-weight: 750;
  color: #fff;
  margin-bottom: 8px;
}

.support-card-text {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(237,242,232,0.56);
}

.support-card-text span { color: var(--accent); }

.support-faq {
  max-width: 1120px;
  margin-top: 18px;
}

.support-faq-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  color: rgba(237,242,232,0.62);
  font-size: 14px;
  line-height: 1.55;
}

.support-faq-list strong { color: var(--accent); }

@media (max-width: 1100px) {
  .help-grid--large { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .support-hero { grid-template-columns: 1fr; }
  .support-orb { width: 210px; height: 210px; }
  .support-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .help-grid--large { grid-template-columns: 1fr; }
  .help-card--os { min-height: 190px; }
  .support-hero { padding: 28px 22px; min-height: auto; }
  .support-orb { display: none; }
}

/* ============================================================
   V7 — tariff tiles like OS cards + shared benefits
   ============================================================ */
.plans-grid--simple {
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 18px;
  max-width: 1120px;
  margin-bottom: 22px;
}

.plan-card--simple {
  min-height: 230px;
  padding: 28px 24px;
  border-radius: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    radial-gradient(circle at 50% 8%, rgba(var(--accent-rgb),0.10), transparent 42%),
    linear-gradient(145deg, rgba(16,20,15,0.94), rgba(6,8,6,0.98));
  border: 1px solid rgba(var(--accent-rgb),0.13);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.035),
    inset 0 -18px 55px rgba(var(--accent-rgb),0.025),
    0 18px 48px rgba(0,0,0,0.34);
}

.plan-card--simple:hover {
  transform: translateY(-3px);
  border-color: rgba(var(--accent-rgb),0.28);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.055),
    0 24px 72px rgba(0,0,0,0.44),
    0 0 34px rgba(var(--accent-rgb),0.08);
}

.plan-card--simple.selected {
  border-color: rgba(var(--accent-rgb),0.62);
  background:
    radial-gradient(circle at 50% 0%, rgba(var(--accent-rgb),0.20), transparent 46%),
    linear-gradient(145deg, rgba(22,30,16,0.96), rgba(7,10,7,0.98));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    inset 0 -22px 60px rgba(var(--accent-rgb),0.045),
    0 22px 72px rgba(0,0,0,0.45),
    0 0 34px rgba(var(--accent-rgb),0.12);
}

.plan-card--simple .plan-name {
  font-size: 14px;
  letter-spacing: .18em;
  color: rgba(237,242,232,0.48);
}

.plan-card--simple .plan-price {
  font-size: clamp(52px, 5vw, 68px);
  line-height: .95;
  letter-spacing: -0.06em;
}

.plan-card--simple .plan-price small {
  font-size: 18px;
  margin-left: 8px;
  letter-spacing: 0;
}

.plan-card--simple .plan-save {
  width: max-content;
  margin-top: 14px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 11px;
}

.plan-card--simple.popular::after {
  top: 15px;
  right: -26px;
  padding: 5px 34px;
  font-size: 9px;
}

.tariff-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 1120px;
  margin: 0 0 22px;
}

.tariff-benefit-card {
  min-height: 112px;
  padding: 22px 24px;
  border-radius: 26px;
  display: flex;
  align-items: center;
  gap: 18px;
  background:
    radial-gradient(circle at 18% 0%, rgba(var(--accent-rgb),0.10), transparent 42%),
    linear-gradient(145deg, rgba(16,20,15,0.90), rgba(6,8,6,0.96));
  border: 1px solid rgba(var(--accent-rgb),0.11);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.028),
    0 18px 46px rgba(0,0,0,0.28);
}

.tariff-benefit-icon {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: var(--accent);
  background:
    radial-gradient(circle at 50% 35%, rgba(var(--accent-rgb),0.18), transparent 56%),
    rgba(var(--accent-rgb),0.04);
  border: 1px solid rgba(var(--accent-rgb),0.20);
  box-shadow: 0 0 22px rgba(var(--accent-rgb),0.065);
}

.tariff-benefit-icon svg {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tariff-benefit-title {
  font-size: 17px;
  font-weight: 750;
  color: #fff;
  margin-bottom: 5px;
}

.tariff-benefit-desc {
  font-size: 13px;
  color: rgba(237,242,232,0.56);
  line-height: 1.45;
}

@media (max-width: 980px) {
  .plans-grid--simple { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tariff-benefits { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .plans-grid--simple { grid-template-columns: 1fr; }
  .plan-card--simple { min-height: 190px; }
  .tariff-benefit-card { align-items: flex-start; }
}

/* ============================================================
   V8 — tariff price alignment, plain benefits, keys gradient
   ============================================================ */

/* Keys page: restore the same premium gradient feel as other sections */
#page-keys .keys-panel {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 0%, rgba(var(--accent-rgb),0.18), transparent 38%),
    radial-gradient(circle at 18% 22%, rgba(var(--accent-rgb),0.06), transparent 34%),
    linear-gradient(145deg, rgba(16,20,15,0.96), rgba(6,8,6,0.985));
  border: 1px solid rgba(var(--accent-rgb),0.14);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.035),
    inset 0 -18px 62px rgba(var(--accent-rgb),0.035),
    0 22px 70px rgba(0,0,0,0.34);
}

#page-keys .keys-panel::before {
  content: "";
  position: absolute;
  right: -170px;
  top: -210px;
  width: 430px;
  height: 430px;
  pointer-events: none;
  background: radial-gradient(circle, rgba(var(--accent-rgb),0.20), transparent 68%);
  filter: blur(8px);
  opacity: .72;
}

#page-keys .keys-panel > * { position: relative; z-index: 1; }

#page-keys .keys-panel--qr {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Tariff tiles: price should sit on one baseline, ₽ closer and readable */
.plan-card--simple {
  justify-content: flex-start;
  gap: 28px;
}

.plan-card--simple .plan-price {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  line-height: .9;
  letter-spacing: -0.055em;
}

.plan-card--simple .plan-price .price-num {
  display: inline-block;
  min-width: 3ch;
}

.plan-card--simple .plan-price small {
  position: relative;
  top: -0.03em;
  margin-left: 0;
  font-size: .36em;
  line-height: 1;
  opacity: .72;
  color: rgba(237,242,232,0.82);
  letter-spacing: 0;
}

.plan-card--simple .plan-save {
  margin-top: -8px;
}

/* Benefits: not buttons/cards, more like quiet feature strip */
.tariff-benefits {
  position: relative;
  max-width: 1120px;
  margin-top: 10px;
  padding: 22px 4px 4px;
  gap: 0;
  border-top: 1px solid rgba(var(--accent-rgb),0.10);
}

.tariff-benefit-card {
  min-height: auto;
  padding: 6px 28px;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.tariff-benefit-card + .tariff-benefit-card {
  border-left: 1px solid rgba(237,242,232,0.10);
}

.tariff-benefit-icon {
  width: 42px;
  height: 42px;
  flex-basis: 42px;
  border-radius: 14px;
  background: rgba(var(--accent-rgb),0.035);
  border-color: rgba(var(--accent-rgb),0.10);
  box-shadow: none;
}

.tariff-benefit-icon svg {
  width: 23px;
  height: 23px;
  stroke-width: 2.1;
}

.tariff-benefit-title {
  font-size: 15px;
  margin-bottom: 3px;
}

.tariff-benefit-desc {
  font-size: 12px;
  color: rgba(237,242,232,0.50);
}

@media (max-width: 980px) {
  .tariff-benefits {
    border-top: 0;
    gap: 14px;
  }
  .tariff-benefit-card {
    padding: 14px 0;
    border-left: 0 !important;
    border-bottom: 1px solid rgba(237,242,232,0.08);
  }
}

/* ============================================================
   V9 — lift all page content higher + tariff payment visibility
   ============================================================ */

.main {
  padding-top: 30px !important;
  padding-bottom: 46px !important;
}

.page-header {
  margin-bottom: 20px !important;
}

.section-label {
  margin-bottom: 10px !important;
}

/* Tariffs: keep the same look, but make the screen breathe upward
   so the payment CTA is not cut off on 120% zoom / shorter screens. */
#page-plans .plans-grid--simple {
  margin-bottom: 16px;
}

#page-plans .plan-card--simple {
  min-height: 210px;
  padding: 24px 24px;
  gap: 22px;
}

#page-plans .plan-card--simple .plan-price {
  font-size: clamp(50px, 4.6vw, 64px);
}

#page-plans .tariff-benefits {
  margin-top: 0;
  padding-top: 18px;
  padding-bottom: 0;
}

#page-plans #payment-section {
  margin-top: 8px;
  padding: 22px 28px;
}

#page-plans #payment-section .card-header {
  margin-bottom: 18px;
}

#page-plans .pay-methods {
  margin: 14px 0 14px;
}

#page-plans .pay-method {
  min-height: 64px;
  padding: 15px 18px;
}

#page-plans .pay-submit,
#page-plans .btn-full {
  min-height: 48px;
  padding-block: 13px;
}

@media (max-width: 768px) {
  .main {
    padding-top: 66px !important;
  }

  .page-header {
    margin-bottom: 18px !important;
  }
}

/* ============================================================
   V10 — Support ticket visual + states
   ============================================================ */
.support-page-header { margin-bottom: 18px; }

.support-console {
  position: relative;
  max-width: 1120px;
  min-height: 460px;
  overflow: hidden;
  border-radius: 34px;
  padding: 34px;
  background:
    radial-gradient(circle at 83% 12%, rgba(var(--accent-rgb),0.16), transparent 34%),
    radial-gradient(circle at 16% 88%, rgba(var(--accent-rgb),0.055), transparent 36%),
    linear-gradient(145deg, rgba(18,22,16,0.96), rgba(6,8,6,0.985));
  border: 1px solid rgba(var(--accent-rgb),0.14);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    0 28px 90px rgba(0,0,0,0.42),
    0 0 70px rgba(var(--accent-rgb),0.045);
}

.support-console-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .55;
  background:
    linear-gradient(rgba(var(--accent-rgb),0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--accent-rgb),0.026) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at 72% 18%, black, transparent 62%);
}

.support-console::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -160px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--accent-rgb),0.18), transparent 70%);
  filter: blur(12px);
  pointer-events: none;
}

.support-console-head {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 30px;
}

.support-console .support-title {
  font-size: clamp(42px, 5vw, 64px);
  margin-bottom: 14px;
}

.support-console .support-text {
  max-width: 620px;
  margin-bottom: 0;
}

.support-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(var(--accent-rgb),0.075);
  border: 1px solid rgba(var(--accent-rgb),0.18);
}

.support-status-pill span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 16px rgba(var(--accent-rgb),0.45);
}

.support-form,
.support-ticket {
  position: relative;
  z-index: 1;
}

.support-label {
  display: block;
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(237,242,232,0.46);
}

.support-input-wrap {
  overflow: hidden;
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(4,6,4,0.94), rgba(10,13,10,0.96));
  border: 1px solid rgba(var(--accent-rgb),0.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.035);
}

.support-textarea {
  display: block;
  width: 100%;
  min-height: 170px;
  resize: vertical;
  padding: 24px 26px 12px;
  border: none;
  outline: none;
  background: transparent;
  color: #fff;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
}

.support-textarea::placeholder { color: rgba(237,242,232,0.28); }
.support-textarea:focus { box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb),0.20); }

.support-input-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 0 26px 18px;
  color: rgba(237,242,232,0.38);
  font-family: var(--font-mono);
  font-size: 11px;
}

.support-actions,
.support-ticket-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
}

.support-submit,
.support-telegram {
  min-height: 54px;
  border-radius: 18px;
  padding-inline: 24px;
}

.support-telegram {
  border-color: rgba(var(--accent-rgb),0.12);
  color: rgba(237,242,232,0.72);
}

.support-ticket-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
}

.support-message-card {
  min-height: 230px;
  border-radius: 28px;
  padding: 24px;
  background:
    radial-gradient(circle at 78% 0%, rgba(var(--accent-rgb),0.08), transparent 42%),
    linear-gradient(145deg, rgba(12,15,12,0.94), rgba(5,7,5,0.985));
  border: 1px solid rgba(var(--accent-rgb),0.10);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}

.support-answer-card {
  border-color: rgba(var(--accent-rgb),0.16);
}

.support-message-top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  margin-bottom: 16px;
}

.support-message-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(237,242,232,0.42);
}

.support-message-label--accent { color: var(--accent); }
.support-ticket-id,
.support-ticket-date {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(237,242,232,0.36);
}

.support-message-text {
  white-space: pre-wrap;
  color: rgba(255,255,255,0.84);
  font-size: 16px;
  line-height: 1.65;
}

.support-waiting {
  min-height: 182px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.support-spinner {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid rgba(var(--accent-rgb),0.12);
  border-top-color: var(--accent);
  box-shadow: 0 0 24px rgba(var(--accent-rgb),0.16);
  animation: croak-spin .85s linear infinite;
}

.support-waiting-title {
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 6px;
}
.support-waiting-text {
  max-width: 420px;
  color: rgba(237,242,232,0.52);
  font-size: 14px;
  line-height: 1.55;
}

.support-hints {
  max-width: 1120px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.support-hint-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px;
  border-radius: 24px;
  background: rgba(8,10,8,0.62);
  border: 1px solid rgba(var(--accent-rgb),0.075);
}

.support-hint-card strong {
  display: block;
  color: #fff;
  font-size: 15px;
  margin-bottom: 4px;
}
.support-hint-card span {
  display: block;
  color: rgba(237,242,232,0.50);
  font-size: 13px;
  line-height: 1.45;
}

@media (max-width: 900px) {
  .support-console { padding: 26px; }
  .support-console-head { flex-direction: column; }
  .support-ticket-grid { grid-template-columns: 1fr; }
  .support-hints { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .support-console { padding: 22px; border-radius: 28px; }
  .support-textarea { font-size: 15px; min-height: 150px; padding: 20px 18px 10px; }
  .support-input-footer { padding: 0 18px 16px; flex-direction: column; gap: 6px; }
  .support-actions .btn, .support-ticket-actions .btn { width: 100%; justify-content: center; }
}

[hidden] { display: none !important; }

* { user-select: none; }
input, textarea { user-select: text; }


/* ════════════════════════════════════════
   AUTH UI POLISH — visual only, no logic changes
   ════════════════════════════════════════ */

.auth-input,
#login-gate input[type="email"],
#login-gate input[type="text"],
#login-gate input[type="number"],
#login-gate input:not([type]) {
  width: 100%;
  height: 52px;
  padding: 0 18px;
  border-radius: 16px;
  border: 1px solid rgba(var(--accent-rgb), 0.20);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.018)),
    rgba(0,0,0,0.34);
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  outline: none;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.045),
    0 18px 46px rgba(0,0,0,0.26);
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.auth-input::placeholder,
#login-gate input::placeholder {
  color: rgba(237,242,232,0.42);
}

.auth-input:hover,
#login-gate input:hover {
  border-color: rgba(var(--accent-rgb), 0.30);
}

.auth-input:focus,
#login-gate input:focus {
  border-color: rgba(var(--accent-rgb), 0.58);
  box-shadow:
    0 0 0 1px rgba(var(--accent-rgb),0.18),
    0 0 32px rgba(var(--accent-rgb),0.16),
    inset 0 1px 0 rgba(255,255,255,0.07);
}

/* login screen visual polish */
#login-gate {
  background:
    radial-gradient(circle at 50% 36%, rgba(var(--accent-rgb),0.15), transparent 24%),
    radial-gradient(circle at 50% 56%, rgba(var(--accent-rgb),0.065), transparent 32%),
    linear-gradient(180deg, #020403 0%, #030505 100%) !important;
}

#login-gate button {
  min-height: 50px;
  border-radius: 16px !important;
  background:
    linear-gradient(180deg, #baff37 0%, #87ff1e 100%) !important;
  color: #061006 !important;
  font-weight: 800 !important;
  border: 0 !important;
  box-shadow:
    0 0 34px rgba(var(--accent-rgb),0.24),
    0 18px 46px rgba(var(--accent-rgb),0.12),
    inset 0 1px 0 rgba(255,255,255,0.45) !important;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

#login-gate button:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
}

/* dashboard onboarding banner */
.auth-banner {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 18px;
  min-height: 92px;
  padding: 20px 22px;
  margin-bottom: 22px;
  border-radius: 28px;
  border: 1px solid rgba(var(--accent-rgb), 0.22);
  background:
    radial-gradient(circle at 90% 12%, rgba(var(--accent-rgb),0.18), transparent 42%),
    linear-gradient(135deg, rgba(20,31,16,0.72), rgba(6,9,7,0.96));
  box-shadow:
    0 0 46px rgba(var(--accent-rgb),0.08),
    0 28px 90px rgba(0,0,0,0.35),
    inset 0 1px 0 rgba(255,255,255,0.045);
}

.auth-banner-text {
  margin: 0;
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.55;
  max-width: 640px;
}

.auth-banner-text::first-line {
  color: #fff;
  font-weight: 800;
  font-size: 18px;
}

.btn-telegram-link {
  min-height: 52px;
  padding-inline: 22px;
  border-radius: 16px;
  color: var(--accent);
  border: 1px solid rgba(var(--accent-rgb),0.42);
  background:
    linear-gradient(180deg, rgba(var(--accent-rgb),0.10), rgba(var(--accent-rgb),0.035));
  box-shadow:
    0 0 28px rgba(var(--accent-rgb),0.10),
    inset 0 1px 0 rgba(255,255,255,0.04);
}

.btn-telegram-link:hover {
  border-color: rgba(var(--accent-rgb),0.62);
  background:
    linear-gradient(180deg, rgba(var(--accent-rgb),0.16), rgba(var(--accent-rgb),0.055));
}

/* inline email-link card */
.auth-card,
.inline-auth-card {
  position: relative;
  overflow: hidden;
  padding: 20px 22px;
  margin-bottom: 18px;
  border-radius: 24px;
  border: 1px solid rgba(var(--accent-rgb),0.16);
  background:
    radial-gradient(circle at 86% 8%, rgba(var(--accent-rgb),0.13), transparent 44%),
    linear-gradient(145deg, rgba(17,24,16,0.86), rgba(7,10,8,0.98));
  box-shadow:
    0 20px 70px rgba(0,0,0,0.32),
    inset 0 1px 0 rgba(255,255,255,0.035);
}

.inline-auth-card > div:first-child {
  color: #fff;
  font-weight: 750;
  font-size: 15px;
  margin-bottom: 10px !important;
}

.inline-auth-card .btn {
  min-height: 44px;
  border-radius: 14px;
}

.inline-auth-card .btn + .btn {
  margin-left: 8px;
}

/* В status-actions расстояние задаётся через gap — margin-left не нужен */
.inline-auth-card .status-actions .btn + .btn {
  margin-left: 0;
}

@media (max-width: 760px) {
  .auth-banner {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .btn-telegram-link {
    justify-content: center;
    width: 100%;
  }
}


/* EMAIL USER EMPTY / TELEGRAM LINK CTA */
.auth-banner {
  grid-template-columns: 1fr auto;
}

.auth-banner-text {
  white-space: pre-line;
}

.auth-banner-text::first-line {
  font-size: 18px;
  color: #fff;
  font-weight: 800;
}

.auth-banner .btn-telegram-link {
  min-width: 210px;
}

/* Login gate exact generated form */
#login-email-step1,
#login-email-step2 {
  width: min(100%, 390px);
}

.login-gate-input {
  margin-bottom: 10px;
}

#login-email-target {
  color: var(--accent);
  font-weight: 700;
}

/* keep the login form cleaner after code was sent */
#login-email-step2 .login-gate-btn {
  margin-bottom: 0 !important;
}

@media (max-width: 760px) {
  .auth-banner .btn-telegram-link {
    min-width: 0;
    width: 100%;
  }
}


/* EMAIL-ONLY USER WITHOUT SUBSCRIPTION */
.auth-banner-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  white-space: normal;
}

.auth-banner-text strong {
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.auth-banner-text span {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.45;
}

body.is-email-empty #page-dashboard .status-block {
  opacity: .72;
}

body.is-email-empty #page-dashboard .status-actions .btn:first-child {
  background: linear-gradient(180deg, #baff37 0%, #87ff1e 100%);
  color: #061006;
  box-shadow:
    0 0 34px rgba(var(--accent-rgb),0.22),
    inset 0 1px 0 rgba(255,255,255,0.45);
}

body.is-email-empty #page-dashboard .status-actions .btn:first-child::after {
  content: " тариф";
}

body.is-email-empty #page-dashboard .status-days {
  color: var(--accent);
  text-shadow: 0 0 30px rgba(var(--accent-rgb),0.22);
}

body.is-email-empty #page-dashboard .referral-card,
body.is-email-empty #page-dashboard .ref-nums,
body.is-email-empty #page-dashboard #ref-link,
body.is-email-empty #page-dashboard #ref-total,
body.is-email-empty #page-dashboard #ref-rewarded,
body.is-email-empty #page-dashboard #ref-pending {
  opacity: .65;
}

@media (max-width: 760px) {
  .auth-banner-text strong {
    font-size: 16px;
  }
}

/* ============================================================
   V10 — tariff page: compact cards + explain section + selected state
   ============================================================ */

/* AUTH TOP BANNER */
.auth-banner {
  position: relative;
  overflow: hidden;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;

  min-height: 96px;

  padding: 22px 24px;
  margin-bottom: 22px;

  border-radius: 30px;

  border: 1px solid rgba(var(--accent-rgb), 0.18);

  background:
    radial-gradient(circle at 85% 50%, rgba(var(--accent-rgb),0.18), transparent 38%),
    linear-gradient(135deg,
      rgba(20,32,18,0.94) 0%,
      rgba(8,12,9,0.98) 52%,
      rgba(18,28,15,0.94) 100%
    );

  box-shadow:
    0 0 40px rgba(var(--accent-rgb),0.08),
    0 24px 80px rgba(0,0,0,0.34),
    inset 0 1px 0 rgba(255,255,255,0.04);
}

.auth-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(var(--accent-rgb),0.04) 45%, transparent 100%);
  pointer-events: none;
}

.auth-banner-text {
  display: flex;
  flex-direction: column;
  gap: 5px;
  position: relative;
  z-index: 1;
}

.auth-banner-text strong {
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.auth-banner-text span {
  color: rgba(255,255,255,0.58);
  font-size: 14px;
  line-height: 1.4;
}

.auth-banner .btn-telegram-link {
  position: relative;
  z-index: 1;
  min-width: 230px;
  min-height: 56px;
  padding: 0 26px;
  border-radius: 18px;
  border: 1px solid rgba(var(--accent-rgb),0.28);
  background: linear-gradient(180deg, rgba(var(--accent-rgb),0.10), rgba(var(--accent-rgb),0.04));
  color: var(--accent);
  font-weight: 700;
  box-shadow: 0 0 24px rgba(var(--accent-rgb),0.10), inset 0 1px 0 rgba(255,255,255,0.04);
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.auth-banner .btn-telegram-link:hover {
  transform: translateY(-1px);
  border-color: rgba(var(--accent-rgb),0.48);
  background: linear-gradient(180deg, rgba(var(--accent-rgb),0.16), rgba(var(--accent-rgb),0.07));
  box-shadow: 0 0 36px rgba(var(--accent-rgb),0.16), inset 0 1px 0 rgba(255,255,255,0.05);
}

/* Link-email form: do not let action buttons stick together */
#link-email-form .form-actions,
#link-email-form .auth-form-actions,
#link-email-form .button-row,
#link-email-form .actions,
#link-email-form [class*="actions"] {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

#link-email-form button + button,
#link-email-form .btn + .btn {
  margin-left: 14px;
}

#page-plans {
  max-width: 1280px;
}

#page-plans .page-header {
  margin-bottom: 22px !important;
}

#page-plans .plans-grid--simple {
  grid-template-columns: repeat(4, minmax(160px, 1fr));
  gap: 14px;
  max-width: 1080px;
  margin-bottom: 18px;
}

#page-plans .plan-card--simple {
  min-height: 188px;
  padding: 22px 22px 20px;
  gap: 18px;
  border-radius: 28px;
  transition:
    transform .18s ease,
    border-color .18s ease,
    box-shadow .18s ease,
    background .18s ease;
}

#page-plans .plan-card--simple:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--accent-rgb),0.34);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 28px 76px rgba(0,0,0,0.46),
    0 0 40px rgba(var(--accent-rgb),0.10);
}

#page-plans .plan-card--simple.selected {
  transform: translateY(-4px);
  border-color: rgba(var(--accent-rgb),0.70);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    inset 0 -22px 64px rgba(var(--accent-rgb),0.06),
    0 24px 80px rgba(0,0,0,0.46),
    0 0 46px rgba(var(--accent-rgb),0.16);
}

#page-plans .plan-card--simple .plan-name {
  font-size: 13px;
}

#page-plans .plan-card--simple .plan-price {
  font-size: clamp(46px, 4.15vw, 58px);
}

#page-plans .plan-card--simple .plan-save {
  margin-top: -4px;
}

#page-plans .tariff-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 1080px;
  margin-top: 18px;
  padding: 0;
  border-top: 0;
  opacity: 1;
  transform: translateY(0);
  transition: opacity .18s ease, transform .18s ease, max-height .22s ease, margin .22s ease;
}

#page-plans .tariff-benefit-card {
  min-height: 112px;
  padding: 20px 22px;
  border-radius: 26px;
  display: flex;
  align-items: center;
  gap: 16px;
  background:
    radial-gradient(circle at 16% 0%, rgba(var(--accent-rgb),0.13), transparent 45%),
    linear-gradient(145deg, rgba(16,20,15,0.88), rgba(6,8,6,0.96));
  border: 1px solid rgba(var(--accent-rgb),0.12);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.03),
    0 18px 46px rgba(0,0,0,0.28);
}

#page-plans .tariff-benefit-card + .tariff-benefit-card {
  border-left: 1px solid rgba(var(--accent-rgb),0.12);
}

#page-plans .tariff-benefit-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 16px;
  background:
    radial-gradient(circle at 50% 35%, rgba(var(--accent-rgb),0.20), transparent 58%),
    rgba(var(--accent-rgb),0.045);
  border: 1px solid rgba(var(--accent-rgb),0.16);
  box-shadow: 0 0 22px rgba(var(--accent-rgb),0.07);
}

#page-plans .tariff-benefit-icon svg {
  width: 25px;
  height: 25px;
}

#page-plans .tariff-benefit-title {
  font-size: 16px;
  line-height: 1.15;
}

#page-plans .tariff-benefit-desc {
  max-width: 260px;
  font-size: 12.5px;
  color: rgba(237,242,232,0.56);
}

#page-plans.has-selected-plan .tariff-benefits {
  max-height: 0;
  margin-top: 0;
  opacity: 0;
  transform: translateY(-8px);
  overflow: hidden;
  pointer-events: none;
}

#page-plans #payment-section {
  max-width: 1080px;
  margin-top: 16px;
  border-radius: 28px;
}

#page-plans.has-selected-plan #payment-section {
  margin-top: 10px;
}

#page-plans .pay-methods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

#page-plans .pay-method {
  min-height: 66px;
  border-radius: 20px;
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

#page-plans .pay-method:hover {
  transform: translateY(-1px);
  border-color: rgba(var(--accent-rgb),0.30);
  box-shadow: 0 0 24px rgba(var(--accent-rgb),0.08);
}

@media (max-width: 1120px) {
  #page-plans .plans-grid--simple {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #page-plans .tariff-benefits {
    grid-template-columns: 1fr;
  }

  #page-plans .tariff-benefit-card + .tariff-benefit-card {
    border-left: 1px solid rgba(var(--accent-rgb),0.12);
  }
}

@media (max-width: 760px) {
  .auth-banner {
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    gap: 14px;
  }

  .auth-banner .btn-telegram-link {
    width: 100%;
    min-width: 0;
  }

  .auth-banner-text strong { font-size: 16px; }
  .auth-banner-text span { font-size: 13px; }

  #page-plans .pay-methods {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  #page-plans .plans-grid--simple {
    grid-template-columns: 1fr;
  }

  #page-plans .plan-card--simple {
    min-height: 168px;
  }

  #page-plans .tariff-benefit-card {
    align-items: flex-start;
  }
}

/* ============================================================
   V11 — Tariffs full concept: compact cards + six benefits + CTA
   ============================================================ */

#page-plans .plans-grid--simple {
  max-width: 1180px;
  gap: 20px;
  margin-bottom: 28px;
}

#page-plans .plan-card--simple,
#page-plans .plans-grid--simple .plan-card {
  position: relative;
  overflow: hidden;
  min-height: 210px;
  padding: 24px 26px;
  cursor: pointer;
  transition:
    transform .18s ease,
    border-color .18s ease,
    box-shadow .18s ease,
    background .18s ease;
}

#page-plans .plans-grid--simple .plan-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(var(--accent-rgb),0.18), transparent 46%),
    linear-gradient(145deg, rgba(var(--accent-rgb),0.045), transparent 62%);
  transition: opacity .18s ease;
}

#page-plans .plans-grid--simple .plan-card:hover::before,
#page-plans .plans-grid--simple .plan-card.selected::before {
  opacity: 1;
}

#page-plans .plan-card--simple.selected,
#page-plans .plans-grid--simple .plan-card.selected {
  transform: translateY(-2px);
  border-color: rgba(var(--accent-rgb),0.72);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 24px 78px rgba(0,0,0,0.48),
    0 0 44px rgba(var(--accent-rgb),0.18);
}

#page-plans .plan-card-meta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: -8px;
  color: rgba(237,242,232,0.74);
  font-size: 14px;
  line-height: 1.2;
}

#page-plans .plan-card-hint {
  width: max-content;
  padding: 4px 10px;
  border-radius: 999px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  background: rgba(var(--accent-rgb),0.075);
  border: 1px solid rgba(var(--accent-rgb),0.13);
}

#page-plans .plan-card-action {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: auto;
  border-radius: 15px;
  color: rgba(255,255,255,0.88);
  font-size: 13px;
  font-weight: 800;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.11);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.035);
  transition:
    color .18s ease,
    background .18s ease,
    border-color .18s ease,
    box-shadow .18s ease;
}

#page-plans .plans-grid--simple .plan-card:hover .plan-card-action,
#page-plans .plans-grid--simple .plan-card.selected .plan-card-action {
  color: #071006;
  background: linear-gradient(135deg, var(--accent), #cfff3a);
  border-color: rgba(var(--accent-rgb),0.62);
  box-shadow: 0 0 28px rgba(var(--accent-rgb),0.22);
}

#page-plans .tariff-benefits {
  max-width: 1180px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0 0 0;
  padding: 0;
  border-top: 0;
  animation: tariffFadeIn .22s ease both;
}

#page-plans.has-selected-plan .tariff-benefits {
  display: none;
}

#page-plans .tariff-benefits-heading {
  grid-column: 1 / -1;
  margin: 0 0 2px;
  color: #fff;
  font-size: 18px;
  font-weight: 850;
  letter-spacing: -0.02em;
}

#page-plans .tariff-benefit-card {
  min-height: 128px;
  padding: 22px 24px;
  border-radius: 24px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background:
    radial-gradient(circle at 14% 0%, rgba(var(--accent-rgb),0.12), transparent 42%),
    linear-gradient(145deg, rgba(16,22,15,0.92), rgba(6,8,6,0.975));
  border: 1px solid rgba(var(--accent-rgb),0.12);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.032),
    0 18px 52px rgba(0,0,0,0.30);
  transition:
    transform .18s ease,
    border-color .18s ease,
    box-shadow .18s ease;
}

#page-plans .tariff-benefit-card + .tariff-benefit-card {
  border-left: 1px solid rgba(var(--accent-rgb),0.12);
}

#page-plans .tariff-benefit-card:hover {
  transform: translateY(-2px);
  border-color: rgba(var(--accent-rgb),0.22);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.045),
    0 22px 62px rgba(0,0,0,0.38),
    0 0 28px rgba(var(--accent-rgb),0.08);
}

#page-plans .tariff-benefit-icon {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  border-radius: 18px;
  color: var(--accent);
  background:
    radial-gradient(circle at 50% 32%, rgba(var(--accent-rgb),0.22), transparent 58%),
    rgba(var(--accent-rgb),0.055);
  border: 1px solid rgba(var(--accent-rgb),0.16);
  box-shadow: 0 0 24px rgba(var(--accent-rgb),0.08);
}

#page-plans .tariff-benefit-icon svg {
  width: 29px;
  height: 29px;
  stroke-width: 2.2;
}

#page-plans .tariff-benefit-title {
  font-size: 16px;
  font-weight: 850;
  margin-bottom: 6px;
  color: #fff;
}

#page-plans .tariff-benefit-desc {
  max-width: 320px;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(237,242,232,0.58);
}

#page-plans .tariff-choose-panel {
  grid-column: 1 / -1;
  position: relative;
  overflow: hidden;
  min-height: 116px;
  margin-top: 14px;
  padding: 24px 28px;
  border-radius: 26px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  background:
    radial-gradient(circle at 8% 50%, rgba(var(--accent-rgb),0.16), transparent 34%),
    radial-gradient(circle at 75% 50%, rgba(var(--accent-rgb),0.11), transparent 38%),
    linear-gradient(145deg, rgba(16,22,15,0.94), rgba(6,8,6,0.98));
  border: 1px solid rgba(var(--accent-rgb),0.18);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.035),
    0 22px 70px rgba(0,0,0,0.34);
}

#page-plans .tariff-choose-panel::after {
  content: "";
  position: absolute;
  left: 48%;
  right: 260px;
  top: 50%;
  height: 1px;
  opacity: .55;
  border-top: 2px dashed rgba(var(--accent-rgb),0.42);
  transform: translateY(-50%);
  pointer-events: none;
}

#page-plans .tariff-choose-icon {
  position: relative;
  z-index: 1;
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  color: var(--accent);
  filter: drop-shadow(0 0 18px rgba(var(--accent-rgb),0.20));
}

#page-plans .tariff-choose-icon svg {
  width: 58px;
  height: 58px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#page-plans .tariff-choose-copy {
  position: relative;
  z-index: 1;
}

#page-plans .tariff-choose-title {
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}

#page-plans .tariff-choose-desc {
  max-width: 520px;
  color: rgba(237,242,232,0.62);
  font-size: 14px;
  line-height: 1.45;
}

#page-plans .tariff-choose-btn {
  position: relative;
  z-index: 1;
  min-width: 220px;
  min-height: 58px;
  padding: 0 24px;
  border: 0;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: #071006;
  font-size: 14px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent), #cfff3a);
  box-shadow:
    0 0 28px rgba(var(--accent-rgb),0.18),
    inset 0 1px 0 rgba(255,255,255,0.36);
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease;
}

#page-plans .tariff-choose-btn:hover {
  transform: translateY(-1px);
  box-shadow:
    0 0 42px rgba(var(--accent-rgb),0.26),
    inset 0 1px 0 rgba(255,255,255,0.42);
}

#page-plans .tariff-choose-btn span {
  font-size: 24px;
  line-height: 1;
}

@keyframes tariffFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1180px) {
  #page-plans .plans-grid--simple {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #page-plans .tariff-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  #page-plans .plans-grid--simple,
  #page-plans .tariff-benefits {
    grid-template-columns: 1fr;
  }

  #page-plans .tariff-choose-panel {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  #page-plans .tariff-choose-panel::after {
    display: none;
  }

  #page-plans .tariff-choose-btn {
    width: 100%;
    min-width: 0;
  }
}

/* ============================================================
   V12 — Tariffs cleanup: no extra CTA panel, inline discount badge
   ============================================================ */

#page-plans .tariff-benefits-heading,
#page-plans .tariff-choose-panel,
#page-plans .plan-card-hint {
  display: none !important;
}

#page-plans .plans-grid--simple .plan-card .plan-price,
#page-plans .plan-card--simple .plan-price {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

#page-plans .plans-grid--simple .plan-card .plan-price small,
#page-plans .plan-card--simple .plan-price small {
  margin-left: 0;
}

#page-plans .plans-grid--simple .plan-card .plan-price .plan-save,
#page-plans .plan-card--simple .plan-price .plan-save {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  margin: 8px 0 0 2px;
  padding: 5px 11px;
  border-radius: 999px;
  font-family: var(--font-main);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--accent);
  background: rgba(var(--accent-rgb),0.10);
  border: 1px solid rgba(var(--accent-rgb),0.16);
  box-shadow: 0 0 16px rgba(var(--accent-rgb),0.07);
}

#page-plans .plan-card-meta {
  margin-top: 2px;
}

/* ============================================================
   FINAL PATCH — sidebar logo, keys layout, email banner cleanup
   ============================================================ */

/* Sidebar brand: compact frog-eye mark, not meme-eye */
.sidebar-header {
  padding-top: 28px;
  padding-bottom: 26px;
}

.logo {
  display: grid !important;
  grid-template-columns: 36px minmax(0, 1fr) !important;
  align-items: center !important;
  column-gap: 12px !important;
  row-gap: 0 !important;
  letter-spacing: 0 !important;
}

.logo::after {
  content: none !important;
}

.frog-eye {
  width: 34px !important;
  height: 34px !important;
  border-radius: 50% !important;
  background:
    radial-gradient(circle at 68% 28%, rgba(255,255,255,0.9) 0 3px, transparent 4px),
    radial-gradient(circle at 58% 38%, #071006 0 8px, transparent 9px),
    radial-gradient(circle at 38% 36%, #baff37 0%, #94ff1e 54%, #63b500 100%) !important;
  border: 1px solid rgba(var(--accent-rgb),0.38) !important;
  box-shadow:
    0 0 18px rgba(var(--accent-rgb),0.18),
    inset 0 1px 3px rgba(255,255,255,0.18) !important;
  flex-shrink: 0 !important;
}

.frog-eye::before {
  inset: -4px !important;
  border: 1px solid rgba(var(--accent-rgb),0.14) !important;
  box-shadow: none !important;
}

.frog-eye-pupil,
.frog-eye-glint {
  display: none !important;
}

.logo-stack {
  min-width: 0 !important;
  gap: 5px !important;
}

.logo-title {
  display: inline-flex !important;
  align-items: baseline !important;
  gap: 8px !important;
  font-size: 15px !important;
  letter-spacing: 0.34em !important;
  line-height: 1 !important;
  color: #fff !important;
  text-shadow: 0 0 18px rgba(255,255,255,0.06) !important;
}

.logo-title::after {
  content: 'VPN';
  color: var(--accent);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-shadow: 0 0 18px rgba(var(--accent-rgb),0.28);
}

.logo-sub {
  margin-top: 0 !important;
  font-size: 8px !important;
  letter-spacing: 0.18em !important;
  color: rgba(237,242,232,0.34) !important;
  opacity: 1 !important;
}

/* Dashboard: lower metric cards were intentionally removed */
#page-dashboard .stat-row {
  display: none !important;
}

/* Email linking lives inside reserve-login banner */
.auth-banner.auth-banner--expanded {
  display: grid !important;
  grid-template-columns: minmax(220px, .9fr) minmax(360px, 1.35fr) !important;
  align-items: start !important;
  gap: 22px !important;
}

.auth-banner .inline-auth-card {
  position: relative !important;
  z-index: 1 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}

.inline-auth-title {
  color: #fff;
  font-size: 14px;
  font-weight: 750;
  margin-bottom: 10px;
}

.auth-banner .auth-input {
  min-height: 54px;
  margin-bottom: 14px;
  border-radius: 16px;
  border-color: rgba(var(--accent-rgb),0.28);
  background: rgba(0,0,0,0.22);
}

.auth-banner .status-actions {
  display: flex;
  align-items: center;
  gap: 14px !important;
  flex-wrap: wrap;
}

.auth-banner .status-actions .btn + .btn,
#link-email-form button + button,
#link-email-form .btn + .btn {
  margin-left: 0 !important;
}

#link-email-target {
  color: var(--accent);
}

/* Keys page: one combined card for URL + QR */
#page-keys .page-subtitle {
  max-width: 560px;
}

#page-keys .keys-panel--subscription {
  min-height: auto;
}

.keys-help-text {
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 14px;
}

.keys-combo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: 18px;
  align-items: stretch;
}

.keys-url-box {
  align-self: center;
}

.keys-qr-box {
  min-height: 230px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.07);
  background:
    radial-gradient(circle at 50% 24%, rgba(var(--accent-rgb),0.12), transparent 56%),
    rgba(0,0,0,0.18);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.qr-container {
  width: 170px !important;
  height: 170px !important;
  padding: 8px !important;
  background: rgba(0,0,0,0.22) !important;
  border: 1px solid rgba(var(--accent-rgb),0.18) !important;
  border-radius: 18px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
}

.qr-label {
  margin-top: 12px;
  padding-bottom: 0 !important;
  text-align: center;
  font-size: 9px;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#page-keys .referral-card {
  max-width: none;
}

@media (max-width: 860px) {
  .auth-banner.auth-banner--expanded,
  .keys-combo {
    grid-template-columns: 1fr !important;
  }

  .keys-qr-box {
    min-height: 210px;
  }
}

/* Remove local decorative grids too */
.map-svg-wrap,
.support-console-bg {
  background-image: none !important;
}

.map-svg-wrap {
  background:
    radial-gradient(circle at 54% 28%, rgba(var(--accent-rgb),0.12), transparent 42%),
    #020504 !important;
}

.support-console-bg {
  display: none !important;
}


/* Final polish — subscription card, referral, labels */
.status-block {
  background:
    linear-gradient(145deg, rgba(13,18,14,0.96), rgba(4,7,5,0.99) 62%),
    radial-gradient(circle at 8% 18%, rgba(var(--accent-rgb),0.10), transparent 34%) !important;
  border-color: rgba(var(--accent-rgb),0.13) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.035),
    0 22px 70px rgba(0,0,0,0.36) !important;
}
.status-block::before,
.status-block::after {
  display: none !important;
  animation: none !important;
}
.status-days {
  text-shadow: none !important;
  filter: none !important;
}
.status-days-label {
  text-shadow: none !important;
}
.progress-fill {
  box-shadow: none !important;
}
.pill-active, .pill-expired, .badge {
  box-shadow: none !important;
}
#page-dashboard .stat-row,
#page-dashboard .stat-item {
  display: none !important;
}
.referral-card .card-header {
  margin-bottom: 10px;
}
body, .app, .main, .page, .card, .sidebar, .content, .main-content, .page-content {
  background-image: none !important;
}


/* CLEAN FIX — calm sidebar mark and premium subscription card */
.frog-eye {
  width: 34px !important;
  height: 34px !important;
  flex: 0 0 34px !important;
  border-radius: 50% !important;
  background: radial-gradient(circle at 42% 38%, #b8ff3f 0 28%, #78f80d 54%, #172710 100%) !important;
  border: 1px solid rgba(var(--accent-rgb),0.30) !important;
  box-shadow: 0 0 16px rgba(var(--accent-rgb),0.18) !important;
}
.frog-eye::before, .frog-eye::after {
  display: none !important;
  content: none !important;
}
.frog-eye-pupil {
  width: 12px !important;
  height: 12px !important;
  right: 8px !important;
  top: 8px !important;
  background: #071006 !important;
  box-shadow: none !important;
}
.frog-eye-glint {
  width: 5px !important;
  height: 5px !important;
  right: 6px !important;
  top: 7px !important;
  background: rgba(255,255,255,0.92) !important;
}
.logo {
  gap: 10px !important;
}
.logo-title {
  font-size: 14px !important;
  letter-spacing: 0.32em !important;
}
.logo-title::after {
  font-size: 12px !important;
  margin-left: 2px !important;
}
.logo-sub {
  font-size: 7px !important;
  letter-spacing: 0.20em !important;
  color: rgba(237,242,232,0.28) !important;
}

.status-block {
  background:
    linear-gradient(145deg, rgba(8,13,10,0.96), rgba(3,6,4,0.99) 68%),
    radial-gradient(circle at 12% 28%, rgba(var(--accent-rgb),0.075), transparent 38%) !important;
  border: 1px solid rgba(var(--accent-rgb),0.12) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.035),
    0 18px 54px rgba(0,0,0,0.34) !important;
}
.status-block::before, .status-block::after {
  display:none !important;
  content:none !important;
}
.status-days, .status-days-label, .progress-fill, .btn-accent {
  filter:none !important;
}
.status-days {
  text-shadow: 0 0 18px rgba(var(--accent-rgb),0.10) !important;
}
.btn-accent {
  box-shadow: 0 10px 28px rgba(var(--accent-rgb),0.10) !important;
}

/* Dashboard lower stats stay removed */
#page-dashboard .stat-row,
#page-dashboard .stat-item {
  display:none !important;
}

/* Referral has exactly one copy button */
.referral-card .card-header .btn,
#page-dashboard .referral-card .card-header .btn {
  display:none !important;
}

/* Ensure no decorative grid texture survives */
.card, .status-block, .auth-banner, .keys-panel, .referral-card, .sidebar {
  background-size: auto !important;
}

/* ============================================================
   FINAL CROAK TOPBAR PATCH — keep existing site, only brand/menu
   ============================================================ */
.topbar { position: sticky; top: 0; z-index: 120; height: 80px; display: grid; grid-template-columns: minmax(220px, 1fr) auto minmax(180px, 1fr); align-items: center; gap: 22px; padding: 0 clamp(18px, 2.4vw, 36px); background: radial-gradient(circle at 50% -80%, rgba(var(--accent-rgb), .22), transparent 48%), linear-gradient(180deg, rgba(10, 20, 9, .96), rgba(5, 9, 6, .92)); border-bottom: 1px solid rgba(var(--accent-rgb), .16); box-shadow: 0 20px 70px rgba(0,0,0,.34), inset 0 -1px 0 rgba(255,255,255,.035); backdrop-filter: blur(22px); }
.topbar-brand { justify-self: start; display: inline-flex; align-items: center; gap: 12px; min-width: 0; cursor: pointer; user-select: none; }
.topbar-logo { width: 46px; height: 46px; object-fit: contain; filter: drop-shadow(0 0 18px rgba(var(--accent-rgb), .22)); }
.topbar-wordmark { display: inline-flex; align-items: baseline; gap: 7px; font-family: 'Space Grotesk', 'IBM Plex Sans', system-ui, sans-serif; line-height: 1; white-space: nowrap; }
.topbar-wordmark-main { color: #fff; font-size: 24px; font-weight: 700; letter-spacing: .015em; }
.topbar-wordmark-sub { color: rgb(var(--accent-rgb)); font-size: 18px; font-weight: 500; letter-spacing: .025em; opacity: .9; }
.topbar-nav { justify-self: center; display: inline-flex; align-items: center; gap: 6px; padding: 8px; border-radius: 999px; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.055); box-shadow: inset 0 1px 0 rgba(255,255,255,.045), 0 18px 50px rgba(0,0,0,.22); }
.topbar .nav-item, .topbar-logout { appearance: none; border: 0; display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 44px; min-height: 44px; padding: 0 16px; border-radius: 999px; background: transparent; color: rgba(255,255,255,.58); font-family: 'IBM Plex Sans', system-ui, sans-serif; font-size: 13px; font-weight: 700; letter-spacing: .035em; text-transform: uppercase; cursor: pointer; transition: background .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease; }
.topbar .nav-item::before, .topbar .nav-item::after { content: none !important; display: none !important; }
.topbar .nav-item:hover, .topbar-logout:hover { color: #fff; background: rgba(255,255,255,.055); transform: translateY(-1px); }
.topbar .nav-item.active { color: #071105; background: linear-gradient(180deg, #b5ff5e, #74e237); box-shadow: 0 0 0 1px rgba(255,255,255,.16) inset, 0 0 28px rgba(var(--accent-rgb), .36); }
.topbar .nav-icon, .topbar-logout .nav-icon { width: 18px; height: 18px; display: inline-flex; align-items: center; justify-content: center; color: currentColor; }
.topbar .nav-icon svg, .topbar-logout .nav-icon svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.topbar-logout { justify-self: end; min-width: 136px; background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.045); color: rgba(255,255,255,.62); }
.app { display: block !important; }
.main { margin-left: auto !important; margin-right: auto !important; width: min(1220px, calc(100vw - 48px)) !important; max-width: 1220px !important; padding-top: 42px !important; }
.mobile-header, .overlay { display: none !important; }
@media (max-width: 1120px) { .topbar { height: auto; min-height: 78px; grid-template-columns: 1fr auto; grid-template-areas: "brand logout" "nav nav"; padding-top: 14px; padding-bottom: 14px; } .topbar-brand { grid-area: brand; } .topbar-logout { grid-area: logout; } .topbar-nav { grid-area: nav; width: 100%; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; } .topbar-nav::-webkit-scrollbar { display: none; } }
@media (max-width: 640px) { .topbar { grid-template-columns: 1fr; grid-template-areas: "brand" "nav" "logout"; align-items: stretch; } .topbar-logout { justify-self: stretch; width: 100%; } .topbar .nav-item { flex: 0 0 auto; } .main { width: 100% !important; padding: 28px 16px 34px !important; } }


/* ============================================================
   CROAK FIX 2 — only requested changes:
   1) no frog in logo
   2) larger brand/menu fonts
   3) active nav icons stay readable
   4) tariff wording changed in app.js
   ============================================================ */

.topbar-brand {
  gap: 0 !important;
}

.topbar-logo {
  display: none !important;
}

.topbar-wordmark {
  gap: 8px !important;
  font-family: 'Space Grotesk', 'IBM Plex Sans', system-ui, sans-serif !important;
}

.topbar-wordmark-main {
  font-size: clamp(28px, 2.15vw, 38px) !important;
  font-weight: 800 !important;
  letter-spacing: -0.035em !important;
  color: #ffffff !important;
}

.topbar-wordmark-sub {
  font-size: clamp(18px, 1.25vw, 23px) !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em !important;
  color: rgb(var(--accent-rgb)) !important;
  opacity: 1 !important;
}

.topbar .nav-item,
.topbar-logout {
  height: 48px !important;
  min-height: 48px !important;
  padding: 0 20px !important;
  gap: 10px !important;
  font-size: 14.5px !important;
  font-weight: 800 !important;
  letter-spacing: .025em !important;
}

.topbar .nav-icon,
.topbar-logout .nav-icon {
  width: 20px !important;
  height: 20px !important;
  flex: 0 0 20px !important;
  color: currentColor !important;
  opacity: .88 !important;
}

.topbar .nav-icon svg,
.topbar-logout .nav-icon svg {
  width: 20px !important;
  height: 20px !important;
  stroke: currentColor !important;
  stroke-width: 2.1 !important;
}

.topbar .nav-item.active {
  color: #071105 !important;
}

.topbar .nav-item.active .nav-icon,
.topbar .nav-item.active .nav-icon svg {
  color: #071105 !important;
  stroke: #071105 !important;
  opacity: 1 !important;
}

.topbar .nav-item.active .nav-icon svg [fill="currentColor"] {
  fill: #071105 !important;
}

@media (max-width: 760px) {
  .topbar-wordmark-main {
    font-size: 28px !important;
  }

  .topbar-wordmark-sub {
    font-size: 18px !important;
  }

  .topbar .nav-item,
  .topbar-logout {
    font-size: 13.5px !important;
    padding: 0 16px !important;
  }
}

/* ════════════════════════════════════════
   PROMO / ARCHIVE STATES on plan cards
   ════════════════════════════════════════ */

/* ─── PROMO (акция активна) ─── */
.plan-card--simple.is-promo {
  border-color: rgba(var(--accent-rgb), 0.55);
  background:
    radial-gradient(circle at 50% 0%, rgba(var(--accent-rgb), 0.22), transparent 50%),
    linear-gradient(145deg, rgba(22, 30, 16, 0.96), rgba(7, 10, 7, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    inset 0 -22px 60px rgba(var(--accent-rgb), 0.06),
    0 22px 60px rgba(0, 0, 0, 0.45),
    0 0 38px rgba(var(--accent-rgb), 0.18);
  animation: promoGlow 2.6s ease-in-out infinite;
}

@keyframes promoGlow {
  0%, 100% { box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), inset 0 -22px 60px rgba(var(--accent-rgb),0.06), 0 22px 60px rgba(0,0,0,0.45), 0 0 32px rgba(var(--accent-rgb),0.16); }
  50%      { box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), inset 0 -22px 60px rgba(var(--accent-rgb),0.10), 0 22px 60px rgba(0,0,0,0.45), 0 0 52px rgba(var(--accent-rgb),0.32); }
}

/* Бейдж АКЦИЯ справа сверху (чтобы не наезжать на название тарифа) */
.plan-promo-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--accent);
  color: #0a0f06;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  box-shadow: 0 4px 14px rgba(var(--accent-rgb), 0.45);
}

.plan-promo-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0a0f06;
  animation: promoDot 1.2s ease-in-out infinite;
}

@keyframes promoDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.45; transform: scale(0.7); }
}

/* Зачёркнутая старая цена — прижата к актуальной */
.plan-card--simple.is-promo .plan-price-old {
  display: block;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  color: var(--text-muted);
  text-decoration: line-through;
  text-decoration-color: rgba(var(--accent-rgb), 0.5);
  margin-bottom: -4px;
  letter-spacing: 0;
}

/* Таймер обратного отсчёта */
.plan-promo-timer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-top: 12px;
  padding: 7px 10px;
  border-radius: 10px;
  background: rgba(var(--accent-rgb), 0.10);
  border: 1px solid rgba(var(--accent-rgb), 0.22);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.04em;
}

.plan-promo-timer svg {
  width: 11px;
  height: 11px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
}

.plan-promo-timer .timer-value {
  font-variant-numeric: tabular-nums;
}

/* ─── Раскладка акционной карточки: таймер сверху, бейдж в углу ─── */

/* Сверху внутри карточки оставляем место под плашку таймера */
#page-plans .plan-card--simple.is-promo {
  padding-top: 52px;
}

/* Таймер — отдельная горизонтальная плашка ВВЕРХУ внутри карточки */
.plan-promo-timer--above {
  position: absolute;
  top: 12px;
  left: 14px;
  right: 14px;
  margin: 0;
  z-index: 4;
  padding: 7px 10px;
  background: rgba(var(--accent-rgb), 0.14);
  border: 1px solid rgba(var(--accent-rgb), 0.32);
  border-radius: 10px;
  font-size: 12px;
  cursor: default;
}

/* Бейдж «Акция · 24ч» — компактный, в правом верхнем углу карточки,
   НИЖЕ плашки таймера, на одной строке с названием тарифа */
.plan-card--simple.is-promo .plan-promo-badge {
  top: 56px;
  right: 14px;
  left: auto;
  padding: 4px 8px;
  font-size: 8px;
  letter-spacing: 0.10em;
  box-shadow: 0 3px 10px rgba(var(--accent-rgb), 0.35);
}

/* В акционной карточке название тарифа не должно упираться в бейдж */
.plan-card--simple.is-promo .plan-name {
  padding-right: 86px;
}

/* ─── ARCHIVED (после акции) ─── */
.plan-card--simple.is-archived {
  cursor: not-allowed !important;
  pointer-events: none; /* блокируем клик, но decorative дочерние ленты остаются видимыми */
  opacity: 0.62;
  filter: grayscale(0.55);
  border-color: rgba(255, 255, 255, 0.07);
  background:
    repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.012) 0px,
      rgba(255, 255, 255, 0.012) 14px,
      rgba(255, 255, 255, 0.028) 14px,
      rgba(255, 255, 255, 0.028) 28px
    ),
    linear-gradient(145deg, rgba(14, 16, 14, 0.94), rgba(6, 7, 6, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.02),
    0 12px 32px rgba(0, 0, 0, 0.3);
  animation: none;
  transform: none !important;
}

.plan-card--simple.is-archived:hover {
  transform: none !important;
  border-color: rgba(255, 255, 255, 0.07);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.02),
    0 12px 32px rgba(0, 0, 0, 0.3);
}

/* Строительная лента — две диагональные полосы */
.plan-archive-tape {
  position: absolute;
  left: -28%;
  width: 156%;
  height: 28px;
  z-index: 5;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    45deg,
    #f5d211 0,
    #f5d211 16px,
    #1a1a1a 16px,
    #1a1a1a 32px
  );
  box-shadow:
    0 6px 18px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -1px 0 rgba(0, 0, 0, 0.45);
  opacity: 0.92;
}

.plan-archive-tape--top {
  top: 22px;
  transform: rotate(-14deg);
}

.plan-archive-tape--bottom {
  bottom: 30px;
  transform: rotate(-14deg);
}

/* Плашка В АРХИВЕ — центральная */
.plan-archive-stamp {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-8deg);
  z-index: 6;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 8px;
  background: rgba(20, 20, 20, 0.92);
  border: 2px solid rgba(245, 210, 17, 0.9);
  color: #f5d211;
  font-family: var(--font-mono, monospace);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  white-space: nowrap;
}

.plan-archive-stamp svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* На архивной карточке гасим обычные акции/кнопки */
.plan-card--simple.is-archived .plan-card-action,
.plan-card--simple.is-archived .plan-save,
.plan-card--simple.is-archived .plan-card-meta {
  opacity: 0.35;
}

/* Мобильная адаптация — лента и штамп чуть мельче */
@media (max-width: 560px) {
  .plan-archive-stamp {
    font-size: 11px;
    padding: 7px 14px;
    letter-spacing: 0.18em;
  }
  .plan-archive-tape {
    height: 22px;
  }
  .plan-promo-badge {
    font-size: 8px;
    padding: 4px 8px;
  }
  .plan-promo-timer {
    font-size: 10px;
    padding: 6px 8px;
  }
}
