/* VPN Scale — custom design system */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Syne:wght@600;700;800&display=swap');

:root {
  --bg-deep: #030508;
  --bg-surface: #0a0f18;
  --bg-card: rgba(14, 20, 33, 0.72);
  --bg-card-hover: rgba(18, 26, 42, 0.88);
  --border: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(0, 229, 204, 0.25);
  --text: #e8edf5;
  --text-muted: #8b9cb3;
  --accent: #00e5cc;
  --accent-2: #8b5cf6;
  --accent-gradient: linear-gradient(135deg, #00e5cc 0%, #6366f1 50%, #a855f7 100%);
  --danger: #f87171;
  --success: #34d399;
  --warning: #fbbf24;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --font-display: 'Syne', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --nav-h: 72px;
  --sidebar-w: 260px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg-deep);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* Aurora background */
.bg-aurora {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: var(--bg-deep);
}
.bg-aurora::before,
.bg-aurora::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.35;
  animation: float 18s ease-in-out infinite;
}
.bg-aurora::before {
  width: 60vw; height: 60vw;
  top: -20%; left: -10%;
  background: radial-gradient(circle, #00e5cc44, transparent 70%);
}
.bg-aurora::after {
  width: 50vw; height: 50vw;
  bottom: -15%; right: -10%;
  background: radial-gradient(circle, #8b5cf644, transparent 70%);
  animation-delay: -9s;
}
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black, transparent);
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(3%, 5%) scale(1.05); }
}

a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: #5eead4; }

.container { width: min(1140px, 92vw); margin: 0 auto; }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border);
  background: rgba(3, 5, 8, 0.75);
  backdrop-filter: blur(20px);
}
.nav-inner {
  width: min(1140px, 92vw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text);
  letter-spacing: -0.02em;
}
.logo-mark {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--accent-gradient);
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  color: #030508;
  font-weight: 800;
}
.nav-links { display: flex; align-items: center; gap: 1.75rem; list-style: none; }
.nav-links a { color: var(--text-muted); font-size: 0.95rem; font-weight: 500; }
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; gap: 0.75rem; align-items: center; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--accent-gradient);
  color: #030508;
  box-shadow: 0 8px 32px rgba(0, 229, 204, 0.25);
}
.btn-primary:hover { color: #030508; box-shadow: 0 12px 40px rgba(0, 229, 204, 0.35); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover { background: rgba(255,255,255,0.04); color: var(--text); }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.875rem; }
.btn-block { width: 100%; }

/* Hero */
.hero {
  padding: 5rem 0 6rem;
  text-align: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border-glow);
  background: rgba(0, 229, 204, 0.06);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}
.hero h1 .gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 2.5rem;
}
.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  text-align: left;
  max-width: 1100px;
}
.hero-split .hero-copy { max-width: 540px; }
.hero-split .hero-lead { margin-left: 0; margin-right: 0; }
.hero-split .hero-cta { justify-content: flex-start; }
.hero-visual img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border-glow);
  box-shadow: var(--shadow);
}

@media (max-width: 900px) {
  .hero-split {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-split .hero-cta { justify-content: center; }
  .hero-split .hero-lead { margin-left: auto; margin-right: auto; }
  .hero-visual { order: -1; max-width: 520px; margin: 0 auto; }
}

/* Cards */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  backdrop-filter: blur(12px);
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.card:hover {
  border-color: var(--border-glow);
  background: var(--bg-card-hover);
}
.card-glow { position: relative; }
.card-glow::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: calc(var(--radius) + 1px);
  background: var(--accent-gradient);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s;
}
.card-glow:hover::before { opacity: 0.15; }

/* Sections */
.section { padding: 5rem 0; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}
.section-header p { color: var(--text-muted); max-width: 520px; margin: 0 auto; }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.5rem; }

.feature-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(0, 229, 204, 0.1);
  border: 1px solid var(--border-glow);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}
.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}
.feature-card p { color: var(--text-muted); font-size: 0.95rem; }

/* Pricing */
.pricing-card { text-align: center; position: relative; }
.pricing-card.featured {
  border-color: var(--border-glow);
  transform: scale(1.02);
}
.pricing-badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--accent-gradient);
  color: #030508;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.pricing-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.price {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 800;
  margin: 1rem 0;
}
.price span { font-size: 1rem; color: var(--text-muted); font-weight: 500; }
.pricing-features {
  list-style: none;
  text-align: left;
  margin: 1.5rem 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.pricing-features li {
  padding: 0.4rem 0;
  padding-left: 1.5rem;
  position: relative;
}
.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* FAQ */
.faq-item { margin-bottom: 0.75rem; }
.faq-item summary {
  cursor: pointer;
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; color: var(--accent); font-size: 1.25rem; }
.faq-item[open] summary::after { content: '−'; }
.faq-item .faq-body {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Forms */
.form-card {
  max-width: 420px;
  margin: 3rem auto;
  padding: 2.5rem;
}
.form-card h1 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}
.form-card .subtitle { color: var(--text-muted); margin-bottom: 2rem; font-size: 0.95rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text-muted);
}
.form-hint {
  margin-top: 0.35rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.35);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 229, 204, 0.15);
}
.alert {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}
.alert-error { background: rgba(248, 113, 113, 0.12); border: 1px solid rgba(248, 113, 113, 0.3); color: #fca5a5; }
.alert-success { background: rgba(52, 211, 153, 0.12); border: 1px solid rgba(52, 211, 153, 0.3); color: #6ee7b7; }
.alert-info { background: rgba(99, 102, 241, 0.12); border: 1px solid rgba(99, 102, 241, 0.3); color: #a5b4fc; }

/* Cabinet layout */
.cabinet-layout {
  display: grid;
  grid-template-columns: var(--sidebar-w) 1fr;
  min-height: calc(100vh - var(--nav-h));
}
.sidebar {
  border-right: 1px solid var(--border);
  padding: 1.5rem 1rem;
  background: rgba(0, 0, 0, 0.2);
}
.sidebar-user {
  padding: 1rem;
  margin-bottom: 1.5rem;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border);
}
.sidebar-user .email { font-size: 0.8rem; color: var(--text-muted); word-break: break-all; }
.sidebar-user .name { font-weight: 600; margin-bottom: 0.25rem; }
.sidebar-nav { list-style: none; }
.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
  transition: background 0.15s, color 0.15s;
}
.sidebar-nav a:hover, .sidebar-nav a.active {
  background: rgba(0, 229, 204, 0.08);
  color: var(--accent);
}
.sidebar-nav a:hover .nav-icon,
.sidebar-nav a.active .nav-icon {
  background: var(--accent);
}

.nav-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  background: var(--text-muted);
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
  transition: background 0.15s;
}
.nav-icon-dashboard {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='3' y='3' width='7' height='7' rx='1'/%3E%3Crect x='14' y='3' width='7' height='7' rx='1'/%3E%3Crect x='3' y='14' width='7' height='7' rx='1'/%3E%3Crect x='14' y='14' width='7' height='7' rx='1'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='3' y='3' width='7' height='7' rx='1'/%3E%3Crect x='14' y='3' width='7' height='7' rx='1'/%3E%3Crect x='3' y='14' width='7' height='7' rx='1'/%3E%3Crect x='14' y='14' width='7' height='7' rx='1'/%3E%3C/svg%3E");
}
.nav-icon-keys {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='8' cy='15' r='4'/%3E%3Cpath d='M11 12l8-8m0 0h-5m5 0v5'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='8' cy='15' r='4'/%3E%3Cpath d='M11 12l8-8m0 0h-5m5 0v5'/%3E%3C/svg%3E");
}
.nav-icon-subscription {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='2' y='5' width='20' height='14' rx='2'/%3E%3Cpath d='M2 10h20'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='2' y='5' width='20' height='14' rx='2'/%3E%3Cpath d='M2 10h20'/%3E%3C/svg%3E");
}
.nav-icon-settings {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M12 1v2M12 21v2M4.22 4.22l1.42 1.42M18.36 18.36l1.42 1.42M1 12h2M21 12h2M4.22 19.78l1.42-1.42M18.36 5.64l1.42-1.42'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M12 1v2M12 21v2M4.22 4.22l1.42 1.42M18.36 18.36l1.42 1.42M1 12h2M21 12h2M4.22 19.78l1.42-1.42M18.36 5.64l1.42-1.42'/%3E%3C/svg%3E");
}
.nav-icon-support {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M21 15a4 4 0 0 1-4 4H8l-5 3V7a4 4 0 0 1 4-4h10a4 4 0 0 1 4 4z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M21 15a4 4 0 0 1-4 4H8l-5 3V7a4 4 0 0 1 4-4h10a4 4 0 0 1 4 4z'/%3E%3C/svg%3E");
}
.nav-icon-help {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M4 19.5A2.5 2.5 0 0 1 6.5 17H20'/%3E%3Cpath d='M4 4.5A2.5 2.5 0 0 1 6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M4 19.5A2.5 2.5 0 0 1 6.5 17H20'/%3E%3Cpath d='M4 4.5A2.5 2.5 0 0 1 6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5z'/%3E%3C/svg%3E");
}

.cabinet-main { padding: 2rem 2.5rem; }
.page-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}
.page-subtitle { color: var(--text-muted); margin-bottom: 2rem; }

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}
.stat-card .label { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.stat-card .value { font-family: var(--font-display); font-size: 1.75rem; font-weight: 800; margin-top: 0.25rem; }
.stat-card .value.stat-number {
  font-family: var(--font-body);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  letter-spacing: 0.04em;
}
.stat-card .value.ok { color: var(--success); }
.stat-card .value.warn { color: var(--warning); }
.stat-card .value.muted { color: var(--text-muted); }

.table-wrap { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.data-table th, .data-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.data-table th { color: var(--text-muted); font-weight: 600; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em; }
.badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
}
.badge-active { background: rgba(52, 211, 153, 0.15); color: var(--success); }
.badge-pending { background: rgba(251, 191, 36, 0.15); color: var(--warning); }
.badge-blocked { background: rgba(248, 113, 113, 0.15); color: var(--danger); }
.badge-expired { background: rgba(248, 113, 113, 0.12); color: #fca5a5; }

.admin-layout .sidebar-nav a { gap: 0.5rem; }
.admin-search .form-input { max-width: 320px; }

select.form-input { appearance: none; }

.empty-state {
  text-align: center;
  padding: 3rem 2rem;
  color: var(--text-muted);
}
.empty-state-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  border-radius: 14px;
  border: 2px dashed var(--border-glow);
  background: rgba(0, 229, 204, 0.06);
  position: relative;
}
.empty-state-icon::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 22px; height: 14px;
  transform: translate(-50%, -45%);
  border: 2px solid var(--accent);
  border-radius: 4px 4px 2px 2px;
}
.empty-state-icon::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 8px; height: 8px;
  transform: translate(-50%, -115%);
  border: 2px solid var(--accent);
  border-bottom: none;
  border-radius: 8px 8px 0 0;
}

.card-heading {
  font-family: var(--font-display);
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.support-list {
  list-style: none;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.support-list li {
  padding: 0.85rem 0 0.85rem 1rem;
  border-left: 3px solid var(--accent);
  margin-bottom: 0.75rem;
}
.support-list li strong {
  display: block;
  color: var(--text);
  margin-bottom: 0.25rem;
}
.support-list li span {
  display: block;
  line-height: 1.5;
}

.platform-list {
  list-style: none;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.platform-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}
.platform-list li:last-child { border-bottom: none; }
.platform-list strong { color: var(--text); }

.empty-state .icon { font-size: 2.5rem; margin-bottom: 1rem; opacity: 0.5; }

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem;
  margin-top: 4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer h4 { font-family: var(--font-display); margin-bottom: 1rem; font-size: 0.95rem; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 0.5rem; }
.footer a { color: var(--text-muted); font-size: 0.9rem; }
.footer a:hover { color: var(--text); }
.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Legal pages */
.legal { padding: 3rem 0 5rem; max-width: 720px; }
.legal h1 { font-family: var(--font-display); font-size: 2rem; margin-bottom: 1.5rem; }
.legal h2 { font-size: 1.15rem; margin: 1.5rem 0 0.75rem; }
.legal p, .legal li { color: var(--text-muted); margin-bottom: 0.75rem; }
.legal ul { padding-left: 1.25rem; }

/* Help steps */
.steps { counter-reset: step; }
.step {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  padding: 1.5rem;
}
.step-num {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--accent-gradient);
  color: #030508;
  font-family: var(--font-display);
  font-weight: 800;
  display: grid;
  place-items: center;
}
.step h3 { font-size: 1.05rem; margin-bottom: 0.35rem; }
.step p { color: var(--text-muted); font-size: 0.95rem; }

/* Responsive */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .cabinet-layout { grid-template-columns: 1fr; }
  .sidebar {
    border-right: none;
    border-bottom: 1px solid var(--border);
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 1rem;
  }
  .sidebar-user { width: 100%; margin-bottom: 0.5rem; }
  .sidebar-nav { display: flex; flex-wrap: wrap; gap: 0.25rem; width: 100%; }
  .sidebar-nav a { padding: 0.5rem 0.75rem; font-size: 0.85rem; }
  .cabinet-main { padding: 1.5rem 1rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .pricing-card.featured { transform: none; }
}

/* VPN key uri */
.vpn-uri-panel {
  margin: 1rem 0;
}
.vpn-uri-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text);
}
.vpn-uri-text {
  font-family: ui-monospace, 'Cascadia Code', monospace;
  font-size: 0.72rem;
  line-height: 1.45;
  word-break: break-all;
  resize: vertical;
  min-height: 5rem;
  max-height: 12rem;
}
.vpn-uri-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.65rem;
}
.vpn-uri-hint {
  color: var(--text-muted);
  font-size: 0.82rem;
}
.keys-uri-row td {
  padding-top: 0;
  border-top: none;
}
