* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top right, #1e3a8a 0%, #0f172a 35%, #020617 100%);
  color: #e2e8f0;
  min-height: 100vh;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px clamp(14px, 2.4vw, 32px) 48px;
  display: grid;
  gap: 18px;
}

.hero {
  padding: 16px 8px;
}

.hero h1 {
  margin: 0;
  font-size: 40px;
  letter-spacing: -0.03em;
}

.hero p {
  margin: 8px 0 0;
  color: #94a3b8;
}

.hero-seo-lead {
  max-width: 620px;
  font-size: 14px;
  line-height: 1.5;
  color: #cbd5e1;
}

.premium-hero {
  background: linear-gradient(145deg, rgba(37, 99, 235, 0.25), rgba(15, 23, 42, 0.8));
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.hero-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.auth-links {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.hero-instruction-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px solid rgba(254, 240, 138, 0.7);
  background: linear-gradient(135deg, #f97316 0%, #ef4444 42%, #dc2626 100%);
  color: #fffaf0;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-decoration: none;
  box-shadow:
    0 12px 26px rgba(220, 38, 38, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.hero-instruction-link:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
  box-shadow:
    0 16px 30px rgba(220, 38, 38, 0.44),
    inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

.hero-instruction-link:active {
  transform: translateY(0);
}

.card {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.75));
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 18px 38px rgba(2, 6, 23, 0.4);
}

.premium-card {
  position: relative;
  overflow: hidden;
}

.premium-card::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.25), transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.premium-card > * {
  position: relative;
  z-index: 1;
}

h2 {
  margin: 0 0 12px;
  font-size: 20px;
}

form,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

input,
button {
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  padding: 10px 12px;
  font-size: 14px;
}

input {
  min-width: 200px;
  background: rgba(15, 23, 42, 0.8);
  color: #f8fafc;
}

button {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  cursor: pointer;
  font-weight: 600;
}

button:hover {
  filter: brightness(1.08);
}

button.secondary {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.35);
}

button.split-ru-btn {
  background: linear-gradient(135deg, #ef4444, #dc2626 45%, #b91c1c);
  border: 1px solid rgba(254, 202, 202, 0.75);
  color: #fff7f7;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow:
    0 10px 24px rgba(220, 38, 38, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

button.split-ru-btn:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow:
    0 14px 30px rgba(220, 38, 38, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

button.split-ru-btn:active {
  transform: translateY(0);
}

button.admin-user-delete {
  border-color: rgba(248, 113, 113, 0.5);
  color: #fecaca;
}

pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
  background: rgba(2, 6, 23, 0.65);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 10px;
  padding: 12px;
  min-height: 40px;
  color: #dbeafe;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.plan-card {
  border: 1px solid rgba(96, 165, 250, 0.35);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  background: linear-gradient(165deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.9));
  transition: transform 0.2s, box-shadow 0.2s;
}

.plan-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.25);
}

.plan-price {
  font-size: 24px;
  font-weight: bold;
  margin: 12px 0;
  color: #dbeafe;
}

.plan-name {
  font-size: 16px;
  color: #bfdbfe;
}

.plan-buy-btn {
  width: 100%;
  margin-top: 16px;
  padding: 11px;
  border-radius: 8px;
}

.subscription-dashboard {
  margin-top: 16px;
  display: grid;
  gap: 12px;
}

.dashboard-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}

.metric-card {
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 10px;
  padding: 12px;
}

.metric-title {
  color: #93c5fd;
  font-size: 13px;
}

.metric-value {
  margin-top: 6px;
  font-size: 18px;
  font-weight: 700;
}

.metric-value.small {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
}

.status-active {
  color: #34d399;
}

.status-inactive {
  color: #fda4af;
}

.status-estimated {
  color: #fbbf24;
}

.device-status-note {
  margin-top: 8px;
  font-size: 12px;
  color: #94a3b8;
}

.device-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.device-link-row td {
  background: rgba(2, 6, 23, 0.45);
}

.device-link-box {
  padding: 10px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 10px;
  background: rgba(2, 6, 23, 0.5);
  display: grid;
  gap: 10px;
}

.device-link-placeholder {
  font-size: 13px;
  color: #94a3b8;
}

.device-link-item {
  display: grid;
  gap: 6px;
}

.device-link-item-head {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.device-link-label {
  font-size: 13px;
  color: #bae6fd;
  font-weight: 600;
}

.device-link-value {
  margin: 0;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(15, 23, 42, 0.65);
  color: #dbeafe;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.device-link-hint {
  font-size: 12px;
  color: #cbd5e1;
  line-height: 1.45;
  white-space: normal;
}

.payments-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(2, 6, 23, 0.5);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 10px;
  overflow: hidden;
}

.payments-table th,
.payments-table td {
  padding: 10px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
  text-align: left;
  font-size: 14px;
  vertical-align: middle;
}

.payment-check-btn {
  padding: 6px 10px;
  font-size: 12px;
  line-height: 1.2;
  white-space: nowrap;
}

#adminDashboardResult .payments-table {
  display: block;
  overflow-x: auto;
  white-space: nowrap;
}

#subscriptionResult .payments-table {
  display: block;
  overflow-x: auto;
  white-space: nowrap;
}

.payments-table th {
  background: rgba(15, 23, 42, 0.95);
  color: #dbeafe;
}

.hidden {
  display: none;
}

.honeypot {
  position: absolute;
  left: -10000px;
  opacity: 0;
  pointer-events: none;
}

.admin-card {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #e2e8f0;
}

.admin-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.trial-inline {
  display: flex;
  gap: 8px;
}

.trial-inline input {
  min-width: 140px;
}

.range-filters {
  display: flex;
  gap: 8px;
}

.range-btn {
  background: rgba(30, 41, 59, 0.8);
}

.range-btn.active {
  background: linear-gradient(135deg, #0891b2, #0e7490);
}

.admin-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}

.server-panel {
  margin-top: 16px;
  margin-bottom: 14px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(56, 189, 248, 0.28);
  background: linear-gradient(150deg, rgba(2, 132, 199, 0.16), rgba(2, 6, 23, 0.45));
}

.server-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.server-title {
  font-size: 16px;
  font-weight: 700;
  color: #e0f2fe;
}

.server-meta {
  font-size: 12px;
  color: #bae6fd;
}

.server-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 8px;
  margin-bottom: 10px;
}

.server-item {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(125, 211, 252, 0.2);
  border-radius: 10px;
  padding: 10px;
}

.server-item-label {
  font-size: 12px;
  color: #bae6fd;
}

.server-item-value {
  margin-top: 5px;
  font-size: 14px;
  font-weight: 600;
  color: #f8fafc;
  word-break: break-word;
}

.server-health-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 8px;
}

.server-health-card {
  background: rgba(2, 6, 23, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 10px;
  padding: 10px;
}

.server-health-title {
  font-size: 12px;
  color: #93c5fd;
}

.server-health-value {
  margin-top: 6px;
  font-size: 16px;
  font-weight: 700;
  color: #f8fafc;
}

.server-health-sub {
  margin-top: 4px;
  font-size: 12px;
  color: #cbd5e1;
}

.usage-bar {
  margin-top: 8px;
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.2);
  overflow: hidden;
}

.usage-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #06b6d4, #3b82f6);
}

.usage-bar.ram .usage-fill {
  background: linear-gradient(90deg, #10b981, #22c55e);
}

.usage-bar.disk .usage-fill {
  background: linear-gradient(90deg, #f59e0b, #ef4444);
}

.usage-bar.cpu .usage-fill {
  background: linear-gradient(90deg, #38bdf8, #6366f1);
}

.admin-metric {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 12px;
}

.admin-metric .label {
  font-size: 12px;
  color: #cbd5e1;
}

.admin-metric .value {
  margin-top: 6px;
  font-size: 20px;
  font-weight: 700;
  color: #f8fafc;
}

.admin-subtitle {
  margin-top: 16px;
  margin-bottom: 8px;
  font-weight: 600;
}

.traffic-analytics {
  margin-top: 16px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(56, 189, 248, 0.25);
  background: linear-gradient(165deg, rgba(15, 23, 42, 0.82), rgba(2, 6, 23, 0.9));
  display: grid;
  gap: 12px;
}

.traffic-analytics-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.traffic-subtitle {
  margin: 0;
}

.traffic-period-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

button.traffic-period-btn {
  padding: 7px 12px;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(30, 41, 59, 0.75);
}

button.traffic-period-btn.active {
  border-color: rgba(56, 189, 248, 0.9);
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.85), rgba(37, 99, 235, 0.85));
}

.traffic-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
}

.traffic-kpi-card {
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: rgba(15, 23, 42, 0.72);
  padding: 10px 12px;
}

.traffic-kpi-label {
  font-size: 12px;
  color: #bae6fd;
}

.traffic-kpi-value {
  margin-top: 4px;
  font-size: 18px;
  font-weight: 700;
  color: #f8fafc;
}

.traffic-layout {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(500px, 1.8fr);
  gap: 12px;
  align-items: start;
}

.traffic-rank-card,
.traffic-table-card {
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: rgba(2, 6, 23, 0.56);
  padding: 12px;
}

.traffic-card-title {
  font-weight: 600;
  color: #e0f2fe;
  margin-bottom: 10px;
}

.traffic-rank-list {
  display: grid;
  gap: 10px;
}

.traffic-rank-row {
  display: grid;
  gap: 6px;
}

.traffic-rank-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 8px;
  align-items: center;
}

.traffic-rank-index {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.2);
  color: #e0f2fe;
  font-weight: 700;
  font-size: 12px;
}

.traffic-rank-email {
  color: #dbeafe;
  font-size: 13px;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.traffic-rank-value {
  color: #e2e8f0;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.traffic-rank-bar {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.2);
  overflow: hidden;
}

.traffic-rank-bar > span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #06b6d4, #3b82f6);
}

.traffic-empty {
  color: #94a3b8;
  font-size: 13px;
  padding: 8px 0;
}

.traffic-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.traffic-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

.traffic-table th,
.traffic-table td {
  padding: 10px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.22);
  text-align: left;
  font-size: 13px;
  vertical-align: middle;
}

.traffic-table th {
  color: #dbeafe;
  font-weight: 600;
  background: rgba(15, 23, 42, 0.84);
}

.traffic-user-email {
  color: #f8fafc;
  font-weight: 600;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.traffic-user-devices {
  margin-top: 3px;
  color: #94a3b8;
  font-size: 12px;
}

.traffic-share-cell {
  min-width: 120px;
  display: grid;
  gap: 5px;
  font-variant-numeric: tabular-nums;
}

.traffic-share-bar {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.2);
  overflow: hidden;
}

.traffic-share-bar > span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #38bdf8, #2563eb);
}

.cabinet-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.premium-badge {
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.35), rgba(12, 74, 110, 0.35));
}

.vpn-output {
  display: grid;
  gap: 8px;
}

.vpn-copy-section {
  display: grid;
  gap: 6px;
}

.vpn-copy-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.vpn-copy-btn {
  padding: 8px 10px;
  min-width: 110px;
}

.vpn-line {
  color: #93c5fd;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}

.vpn-line span {
  color: #e2e8f0;
  font-weight: 700;
}

.vpn-hint,
.profile-note {
  margin-top: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(56, 189, 248, 0.25);
  background: rgba(15, 23, 42, 0.7);
  color: #cbd5e1;
  line-height: 1.5;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}

.profile-note code {
  color: #dbeafe;
}

.vpn-value {
  margin: 0;
  width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.charts-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
}

.chart-card {
  background: rgba(2, 6, 23, 0.45);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 12px;
  padding: 12px;
}

.chart-title {
  font-weight: 600;
  margin-bottom: 10px;
  color: #bae6fd;
}

.chart-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(28px, 1fr));
  gap: 6px;
  align-items: end;
  min-height: 170px;
}

.chart-col {
  display: grid;
  gap: 4px;
  justify-items: center;
}

.chart-value {
  font-size: 11px;
  color: #cbd5e1;
}

.chart-bar-wrap {
  width: 100%;
  height: 120px;
  display: flex;
  align-items: end;
}

.chart-bar {
  width: 100%;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, #38bdf8, #2563eb);
}

.chart-label {
  font-size: 10px;
  color: #94a3b8;
}

.help-card {
  display: grid;
  gap: 12px;
}

.help-lead {
  margin: 0;
  color: #cbd5e1;
}

.help-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 10px;
}

.help-item {
  background: rgba(2, 6, 23, 0.45);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 12px;
  padding: 12px;
}

.help-item h3 {
  margin: 0 0 8px;
  font-size: 16px;
  color: #dbeafe;
}

.help-item p {
  margin: 0 0 8px;
  color: #cbd5e1;
}

.help-item ol {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
  color: #e2e8f0;
}

.help-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
  font-size: 14px;
}

.help-legal a {
  color: #93c5fd;
  text-decoration: none;
}

.help-legal a:hover {
  text-decoration: underline;
}

.help-sep {
  color: #64748b;
}

.guide-card {
  display: grid;
  gap: 18px;
  overflow: hidden;
}

.guide-card * {
  box-sizing: border-box;
}

.guide-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(240px, 0.7fr);
  gap: 18px;
  align-items: start;
  padding: 20px;
  border-radius: 20px;
  border: 1px solid rgba(96, 165, 250, 0.22);
  background:
    radial-gradient(circle at top right, rgba(56, 189, 248, 0.18), transparent 42%),
    linear-gradient(145deg, rgba(15, 23, 42, 0.98), rgba(17, 24, 39, 0.92));
}

.guide-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 12px;
  margin-bottom: 10px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(125, 211, 252, 0.28);
  color: #bae6fd;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.guide-hero h2 {
  margin: 0 0 10px;
  color: #f8fafc;
  font-size: clamp(24px, 3.2vw, 36px);
  line-height: 1.15;
}

.guide-hero-actions {
  display: grid;
  gap: 10px;
  align-self: stretch;
}

.guide-store-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(125, 211, 252, 0.35);
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.25), rgba(59, 130, 246, 0.34));
  color: #eff6ff;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.guide-store-link:hover {
  transform: translateY(-1px);
  border-color: rgba(147, 197, 253, 0.45);
}

.guide-store-link.secondary-link {
  background: rgba(15, 23, 42, 0.72);
  color: #cbd5e1;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
}

.guide-step {
  display: grid;
  gap: 12px;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background:
    radial-gradient(circle at top left, rgba(14, 165, 233, 0.12), transparent 38%),
    rgba(2, 6, 23, 0.58);
  box-shadow: 0 18px 36px rgba(2, 6, 23, 0.18);
}

.guide-step-head {
  display: grid;
  gap: 8px;
}

.guide-step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.14);
  border: 1px solid rgba(74, 222, 128, 0.24);
  color: #bbf7d0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.guide-step h3 {
  margin: 0;
  color: #f8fafc;
  font-size: 20px;
  line-height: 1.25;
}

.guide-step p {
  margin: 0;
  color: #cbd5e1;
  line-height: 1.65;
}

.guide-step strong {
  color: #f8fafc;
}

.guide-figure {
  position: relative;
  display: grid;
  gap: 12px;
  min-height: 230px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(125, 211, 252, 0.18);
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.62)),
    radial-gradient(circle at top right, rgba(34, 197, 94, 0.12), transparent 36%);
  overflow: hidden;
}

.guide-window,
.guide-phone-preview,
.guide-status-card,
.guide-profiles-card,
.guide-device-card,
.guide-store-card,
.guide-connect-card {
  background: rgba(15, 23, 42, 0.82);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 18px;
  box-shadow: 0 12px 26px rgba(2, 6, 23, 0.22);
}

.guide-window,
.guide-status-card,
.guide-profiles-card,
.guide-device-card,
.guide-store-card,
.guide-connect-card {
  padding: 14px;
}

.guide-figure-register {
  grid-template-columns: minmax(0, 1.1fr) 28px minmax(130px, 0.82fr);
  align-items: center;
}

.guide-figure-login,
.guide-figure-link,
.guide-figure-import {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.guide-figure-pay {
  align-content: start;
}

.guide-figure-install {
  grid-template-columns: minmax(0, 1.15fr) minmax(180px, 0.85fr);
  align-items: center;
}

.guide-window-title {
  color: #f8fafc;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.guide-input {
  display: flex;
  align-items: center;
  min-height: 38px;
  margin-top: 10px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(30, 41, 59, 0.72);
  color: #cbd5e1;
  font-size: 13px;
}

.guide-input.small {
  min-height: 28px;
  margin-top: 8px;
  font-size: 12px;
}

.guide-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 38px;
  margin-top: 12px;
  padding: 0 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, #22c55e, #0ea5e9);
  color: #f8fafc;
  font-size: 13px;
  font-weight: 700;
}

.guide-button.small {
  min-height: 32px;
  margin-top: 10px;
  padding: 0 12px;
  font-size: 12px;
}

.guide-arrow {
  position: relative;
  justify-self: center;
  width: 28px;
  height: 28px;
}

.guide-arrow::before,
.guide-arrow::after {
  content: "";
  position: absolute;
}

.guide-arrow::before {
  top: 13px;
  left: 0;
  right: 7px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(148, 163, 184, 0.18), rgba(125, 211, 252, 0.88));
}

.guide-arrow::after {
  top: 8px;
  right: 0;
  width: 10px;
  height: 10px;
  border-top: 2px solid #7dd3fc;
  border-right: 2px solid #7dd3fc;
  transform: rotate(45deg);
}

.guide-phone-preview {
  position: relative;
  display: grid;
  align-content: start;
  min-height: 168px;
  padding: 14px;
  border-radius: 24px;
}

.guide-phone-preview.tall {
  min-height: 216px;
}

.guide-phone-preview.install {
  align-content: center;
  justify-items: center;
}

.guide-phone-bar {
  width: 42%;
  height: 7px;
  margin: 0 auto 16px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.28);
}

.guide-status-card {
  display: grid;
  align-content: start;
  gap: 10px;
}

.guide-status-title {
  color: #f8fafc;
  font-size: 14px;
  font-weight: 700;
}

.guide-status-line {
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(59, 130, 246, 0.22), rgba(125, 211, 252, 0.72));
}

.guide-status-line.short {
  width: 62%;
}

.guide-status-ok {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.16);
  border: 1px solid rgba(74, 222, 128, 0.24);
  color: #bbf7d0;
  font-size: 12px;
  font-weight: 700;
}

.guide-top-button,
.guide-paid-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.guide-top-button {
  background: rgba(59, 130, 246, 0.18);
  border: 1px solid rgba(96, 165, 250, 0.28);
  color: #dbeafe;
}

.guide-plan-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.guide-plan-card {
  display: grid;
  gap: 6px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(15, 23, 42, 0.76);
}

.guide-plan-name {
  color: #e2e8f0;
  font-size: 13px;
  font-weight: 700;
}

.guide-plan-price {
  color: #f8fafc;
  font-size: 22px;
  font-weight: 700;
}

.guide-paid-card {
  justify-self: end;
  background: rgba(34, 197, 94, 0.16);
  border: 1px solid rgba(74, 222, 128, 0.24);
  color: #bbf7d0;
}

.guide-profiles-card,
.guide-device-card {
  display: grid;
  align-content: start;
  gap: 10px;
}

.guide-proto-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.guide-proto-row span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(30, 41, 59, 0.76);
  border: 1px solid rgba(148, 163, 184, 0.14);
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 600;
}

.guide-proto-row .guide-proto-active {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.34), rgba(34, 197, 94, 0.26));
  border-color: rgba(125, 211, 252, 0.24);
  color: #f8fafc;
}

.guide-device-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #e2e8f0;
  font-size: 13px;
}

.guide-mini-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.18);
  border: 1px solid rgba(96, 165, 250, 0.28);
  color: #dbeafe;
  font-size: 12px;
  font-weight: 700;
}

.guide-mini-btn.copy {
  background: rgba(34, 197, 94, 0.16);
  border-color: rgba(74, 222, 128, 0.22);
  color: #dcfce7;
}

.guide-link-box {
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px dashed rgba(125, 211, 252, 0.26);
  background: rgba(15, 23, 42, 0.76);
  color: #93c5fd;
  font-size: 12px;
  line-height: 1.55;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.guide-link-box.large {
  min-height: 94px;
}

.guide-store-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
}

.guide-app-icon {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(145deg, #22c55e, #0ea5e9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.guide-app-icon::after {
  content: "";
  position: absolute;
  inset: 11px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.18);
}

.guide-app-icon.large {
  width: 72px;
  height: 72px;
  border-radius: 20px;
}

.guide-app-icon.large::after {
  inset: 16px;
  border-radius: 14px;
}

.guide-store-subtitle,
.guide-phone-label {
  color: #94a3b8;
  font-size: 13px;
}

.guide-phone-label {
  margin-top: 10px;
  text-align: center;
}

.guide-connect-card {
  display: grid;
  align-content: center;
  justify-items: center;
  min-height: 216px;
  gap: 14px;
}

.guide-connect-ring {
  position: relative;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  border: 10px solid rgba(34, 197, 94, 0.12);
  border-top-color: #22c55e;
  box-shadow:
    0 0 0 10px rgba(34, 197, 94, 0.06),
    0 10px 24px rgba(34, 197, 94, 0.12);
}

.guide-connect-ring::after {
  content: "";
  position: absolute;
  inset: 24px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(34, 197, 94, 0.5), rgba(34, 197, 94, 0.1));
}

.guide-connect-text {
  color: #dcfce7;
  font-size: 18px;
  font-weight: 700;
}

.guide-note {
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(125, 211, 252, 0.16);
  background: rgba(15, 23, 42, 0.72);
  color: #dbeafe;
  line-height: 1.7;
}

.guide-note strong {
  color: #f8fafc;
}

@media (max-width: 992px) {
  .guide-hero {
    grid-template-columns: 1fr;
  }

  .guide-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .guide-card {
    gap: 14px;
  }

  .guide-hero,
  .guide-step,
  .guide-note {
    padding: 16px;
  }

  .guide-hero-actions {
    grid-template-columns: 1fr;
  }

  .guide-figure-register,
  .guide-figure-login,
  .guide-figure-link,
  .guide-figure-install,
  .guide-figure-import {
    grid-template-columns: 1fr;
  }

  .guide-arrow {
    display: none;
  }

  .guide-plan-row,
  .guide-store-card {
    grid-template-columns: 1fr;
  }

  .guide-paid-card {
    justify-self: start;
  }
}

@media (max-width: 480px) {
  .guide-hero h2 {
    font-size: 24px;
  }

  .guide-step h3 {
    font-size: 18px;
  }

  .guide-figure {
    min-height: 0;
    padding: 14px;
  }

  .guide-phone-preview,
  .guide-connect-card {
    min-height: 180px;
  }

  .guide-plan-price {
    font-size: 20px;
  }

  .guide-link-box {
    font-size: 11px;
  }
}

.seo-content {
  display: grid;
  gap: 12px;
}

.seo-content p {
  margin: 0;
  color: #cbd5e1;
  line-height: 1.6;
}

.seo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}

.seo-item {
  background: rgba(2, 6, 23, 0.45);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 12px;
  padding: 12px;
}

.seo-item h3 {
  margin: 0 0 8px;
  font-size: 16px;
  color: #dbeafe;
}

.seo-item p {
  margin: 0;
  color: #cbd5e1;
}

.seo-faq {
  display: grid;
  gap: 10px;
}

.seo-faq-item {
  background: rgba(2, 6, 23, 0.45);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 12px;
  padding: 12px;
}

.seo-faq-item h3 {
  margin: 0 0 8px;
  font-size: 16px;
  color: #dbeafe;
}

.seo-faq-item p {
  margin: 0;
  color: #cbd5e1;
  line-height: 1.6;
}

@media (max-width: 1180px) {
  .traffic-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1200px) {
  .container {
    padding-inline: clamp(12px, 2vw, 24px);
  }
}

@media (max-width: 992px) {
  .container {
    gap: 16px;
    padding-top: 24px;
    padding-bottom: 36px;
  }

  .card {
    padding: 16px;
  }

  .premium-hero {
    padding: 18px;
    gap: 10px;
  }
}

@media (max-width: 768px) {
  .container {
    padding-inline: 12px;
  }

  .traffic-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .traffic-table {
    min-width: 560px;
  }

  .traffic-table th,
  .traffic-table td {
    padding: 8px;
    font-size: 12px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero-seo-lead {
    font-size: 13px;
  }

  .hero-instruction-link {
    width: 100%;
  }

  input,
  button {
    font-size: 13px;
  }

  .vpn-copy-btn {
    min-width: 96px;
    padding: 7px 9px;
  }
}

@media (max-width: 480px) {
  .container {
    padding-inline: 10px;
    padding-top: 18px;
    padding-bottom: 28px;
  }

  .card {
    padding: 14px;
  }

  .hero h1 {
    font-size: 28px;
  }

  pre,
  .vpn-value {
    font-size: 12px;
    line-height: 1.45;
  }
}
