@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700;800;900&display=swap");

:root {
  --bg-top: #020617;
  --bg-mid: #041225;
  --bg-bottom: #020817;
  --panel: rgba(10, 18, 35, 0.68);
  --panel-border: rgba(255, 255, 255, 0.08);
  --text: #f8fbff;
  --muted: #cbd5e1;
  --accent: #22c55e;
  --blue: #44d0ff;
  --deep-blue: #2b57ff;
  --shadow: 0 22px 64px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text);
  overflow-x: hidden;
  background:
    radial-gradient(circle at 15% 15%, rgba(34, 211, 238, 0.18), transparent 22%),
    radial-gradient(circle at 85% 10%, rgba(59, 130, 246, 0.16), transparent 24%),
    radial-gradient(circle at 50% 85%, rgba(99, 102, 241, 0.1), transparent 28%),
    linear-gradient(180deg, var(--bg-top) 0%, var(--bg-mid) 55%, var(--bg-bottom) 100%);
}

.space-stars,
.falling-stars,
.twinkle-stars {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.space-stars {
  background-image:
    radial-gradient(2px 2px at 20px 30px, rgba(255, 255, 255, 0.9), transparent),
    radial-gradient(1px 1px at 90px 80px, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(2px 2px at 160px 120px, rgba(255, 255, 255, 0.8), transparent),
    radial-gradient(1px 1px at 230px 40px, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(2px 2px at 320px 90px, rgba(255, 255, 255, 0.85), transparent),
    radial-gradient(1px 1px at 420px 150px, rgba(255, 255, 255, 0.7), transparent);
  background-size: 520px 220px;
  opacity: 0.45;
}

.falling-star {
  position: absolute;
  width: 140px;
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.95));
  border-radius: 999px;
  opacity: 0;
  transform: rotate(-20deg);
  animation: fall 10s linear infinite;
}

.falling-star:nth-child(1) { top: 8%; left: -10%; animation-delay: 0s; }
.falling-star:nth-child(2) { top: 16%; left: -15%; animation-delay: 2s; }
.falling-star:nth-child(3) { top: 24%; left: -12%; animation-delay: 4s; }
.falling-star:nth-child(4) { top: 36%; left: -18%; animation-delay: 6s; }
.falling-star:nth-child(5) { top: 48%; left: -10%; animation-delay: 8s; }
.falling-star:nth-child(6) { top: 58%; left: -14%; animation-delay: 1s; }
.falling-star:nth-child(7) { top: 72%; left: -12%; animation-delay: 3s; }
.falling-star:nth-child(8) { top: 84%; left: -9%; animation-delay: 5s; }

@keyframes fall {
  0% { transform: translateX(0) translateY(0) rotate(-20deg); opacity: 0; }
  8% { opacity: 1; }
  20% { opacity: 0; }
  100% { transform: translateX(120vw) translateY(35vh) rotate(-20deg); opacity: 0; }
}

.twinkle-star {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.9);
  animation: twinkle 2.6s ease-in-out infinite;
}

.twinkle-star:nth-child(1) { top: 12%; left: 18%; animation-delay: 0.2s; }
.twinkle-star:nth-child(2) { top: 22%; left: 74%; animation-delay: 0.8s; }
.twinkle-star:nth-child(3) { top: 38%; left: 28%; animation-delay: 1.4s; }
.twinkle-star:nth-child(4) { top: 54%; left: 80%; animation-delay: 0.4s; }
.twinkle-star:nth-child(5) { top: 70%; left: 16%; animation-delay: 1.1s; }
.twinkle-star:nth-child(6) { top: 84%; left: 66%; animation-delay: 1.8s; }

@keyframes twinkle {
  0%, 100% { opacity: 0.35; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.3); }
}

.page {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 22px 18px 40px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  padding: 16px 18px;
  background: rgba(10, 18, 35, 0.58);
  border: 1px solid var(--panel-border);
  border-radius: 22px;
  backdrop-filter: blur(14px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, #44d0ff 0%, #2196f3 42%, #2b57ff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.28);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.nav-brand {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.nav-link,
.nav-cta,
.btn-primary,
.btn-secondary {
  text-decoration: none;
  color: #fff;
  font-weight: 800;
  border-radius: 999px;
  transition: transform 0.12s ease, filter 0.12s ease;
}

.nav-link,
.nav-cta {
  padding: 11px 16px;
  font-size: 14px;
}

.nav-link {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-link.active {
  color: #020617;
  background: #fff;
}

.nav-cta,
.btn-primary {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  box-shadow: 0 12px 24px rgba(22, 163, 74, 0.28);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-screen,
.card,
.cta-section {
  position: relative;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.hero-screen {
  padding: 44px 34px;
  border-radius: 34px;
  margin-bottom: 36px;
  background:
    radial-gradient(circle at 18% 10%, rgba(255, 255, 255, 0.1), transparent 20%),
    linear-gradient(135deg, rgba(68, 208, 255, 0.18), rgba(43, 87, 255, 0.08)),
    rgba(10, 18, 35, 0.7);
}

.hero-glow,
.cta-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero-glow {
  inset: auto -80px -80px auto;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.28), transparent 68%);
}

.hero-content,
.cta-section > * {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin-bottom: 8px;
  color: #93c5fd;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-title,
.section-title,
.cta-title,
h3 {
  margin: 0;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.hero-title {
  max-width: 760px;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 0.95;
}

.hero-sub,
.section-sub,
.plan-copy p,
.cta-sub {
  color: var(--muted);
  line-height: 1.65;
}

.hero-sub {
  margin: 18px 0 0;
  max-width: 720px;
  font-size: 19px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 22px;
}

.hero-price {
  padding: 14px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 800;
  color: #e2e8f0;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
  max-width: 780px;
}

.stat {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.stat-num {
  display: block;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.04em;
  margin-bottom: 6px;
}

.stat-label {
  display: block;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
}

.section {
  margin-bottom: 34px;
}

.section-head {
  margin-bottom: 16px;
}

.page-title {
  text-align: center;
}

.page-title .section-title {
  margin-top: 18px;
}

.compact-title .section-title {
  margin-top: 0;
  font-size: clamp(32px, 4vw, 48px);
}

.compact-title .section-sub {
  font-size: 15px;
}

.center {
  margin-left: auto;
  margin-right: auto;
}

.switch-row {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.switch {
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 10px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
  font-weight: 800;
}

.switch.active {
  color: #020617;
  background: #fff;
}

.section-title {
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.02;
}

.section-sub {
  max-width: 760px;
  margin-top: 10px;
  font-size: 17px;
}

.card,
.cta-section {
  border-radius: 28px;
}

.showcase,
.plan-card,
.tariff-card {
  overflow: hidden;
}

.showcase-image,
.plan-visual {
  display: block;
  width: 100%;
  object-fit: cover;
}

.showcase-image {
  height: 340px;
}

.plan-visual {
  height: 190px;
  object-position: left center;
}

.plans-grid,
.tariffs-grid,
.features-grid,
.setup-grid,
.payment-grid,
.locations-grid,
.price-grid {
  display: grid;
  gap: 18px;
}

.plans-grid,
.tariffs-grid,
.features-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.setup-grid,
.payment-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.locations-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.locations-catalog-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 1024px;
  margin: 0 auto;
}

.price-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.featured {
  border-color: rgba(34, 211, 238, 0.3);
}

.featured-pro {
  border-color: rgba(34, 197, 94, 0.36);
  box-shadow: 0 24px 70px rgba(34, 197, 94, 0.12);
}

.plan-copy,
.tariff-top,
.tariff-list,
.feature-card,
.setup-card,
.payment-card,
.price-card {
  padding-left: 22px;
  padding-right: 22px;
}

.plan-copy {
  padding-top: 20px;
  padding-bottom: 24px;
}

.plan-copy p {
  margin: 10px 0 0;
  font-size: 16px;
}

.feature-card,
.setup-card,
.payment-card,
.price-card {
  padding-top: 22px;
  padding-bottom: 24px;
}

.feature-card p,
.setup-card p,
.payment-card p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: 16px;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  border-radius: 16px;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.26);
  font-size: 22px;
}

.location-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px;
  min-height: 132px;
}

.locations-catalog-grid .location-card {
  min-height: 100px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.07);
}

.location-card h3 {
  font-size: 18px;
  letter-spacing: -0.02em;
}

.location-card p {
  min-height: 48px;
  margin: 8px 0 14px;
  color: var(--muted);
  line-height: 1.55;
}

.location-flag {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 24px;
}

.locations-catalog-grid .location-flag {
  flex-basis: 38px;
  width: 38px;
  height: 38px;
  border-radius: 9px;
  font-size: 22px;
}

.location-code {
  display: block;
  margin-bottom: 6px;
  color: #93c5fd;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.12);
  color: #86efac;
  font-size: 12px;
  font-weight: 800;
}

.status-pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
}

.locations-summary {
  max-width: 1024px;
  margin-top: 18px;
  padding: 24px;
  text-align: center;
  border-radius: 6px;
}

.locations-summary-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.locations-summary strong {
  display: block;
  margin-bottom: 6px;
  font-size: 30px;
}

.locations-summary span {
  color: var(--muted);
  font-size: 14px;
}

.price-card {
  overflow: visible;
  display: flex;
  flex-direction: column;
}

.price-label {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  min-height: 24px;
  padding: 0 12px;
  border-radius: 999px;
  color: #020617;
  background: #fff;
  font-size: 12px;
  font-weight: 900;
  display: flex;
  align-items: center;
}

.price-period {
  color: var(--text);
  font-size: 18px;
  font-weight: 900;
}

.price-value {
  margin: 14px 0 4px;
  font-size: 36px;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.price-button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 18px;
  border-radius: 9px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  text-decoration: none;
  font-weight: 900;
}

.price-card .price-button {
  margin-top: auto;
}

.price-button.light {
  color: #020617;
  background: #fff;
}

.price-list {
  list-style: none;
  margin: 18px 0 14px;
  padding: 0;
}

.price-list li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--muted);
}

.price-list strong {
  color: var(--text);
  white-space: nowrap;
}

.guarantee {
  margin-top: 28px;
  padding: 28px;
  text-align: center;
}

.guarantee-button {
  width: min(100%, 260px);
  margin: 20px auto 0;
}

.guarantee p {
  margin: 10px auto 0;
  max-width: 760px;
  color: var(--muted);
  line-height: 1.65;
}

.search-input {
  width: min(100%, 560px);
  min-height: 48px;
  margin-top: 22px;
  padding: 0 16px;
  color: var(--text);
  background: rgba(3, 7, 18, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  font: inherit;
}

.legal-page {
  max-width: 920px;
  margin: 0 auto 34px;
  padding: 34px;
}

.legal-updated {
  margin: 12px 0 26px;
  color: var(--muted);
}

.legal-page section {
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.legal-page h2 {
  margin: 0 0 10px;
  font-size: 24px;
  letter-spacing: -0.03em;
}

.legal-page p,
.legal-page li {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.legal-page a {
  color: #93c5fd;
  font-weight: 800;
  text-decoration: none;
}

.legal-page ul {
  margin: 10px 0 0;
  padding-left: 22px;
}

.loc-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  max-width: 1024px;
  margin: 0 auto;
}

.loc-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-height: 100px;
  padding: 20px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.loc-card h3 {
  margin: 3px 0 16px;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.loc-flag {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 22px;
  line-height: 1;
}

.flag-nl {
  background: linear-gradient(to bottom, #ae1c28 0 33.33%, #fff 33.33% 66.66%, #21468b 66.66% 100%);
}

.flag-ru {
  background: linear-gradient(to bottom, #fff 0 33.33%, #1c57a7 33.33% 66.66%, #d52b1e 66.66% 100%);
}

.flag-fi {
  background:
    linear-gradient(to right, transparent 0 30%, #003580 30% 46%, transparent 46% 100%),
    linear-gradient(to bottom, transparent 0 38%, #003580 38% 62%, transparent 62% 100%),
    #fff;
}

.flag-cascade {
  gap: 3px;
  flex-direction: column;
  padding: 4px;
  background: rgba(255, 255, 255, 0.08);
}

.mini-flag {
  display: block;
  width: 28px;
  height: 14px;
  border-radius: 3px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15);
}

.loc-summary {
  max-width: 1024px;
  margin: 38px auto 0;
  padding: 26px;
  border-radius: 8px;
  text-align: center;
  background: rgba(255, 255, 255, 0.07);
}

.loc-summary-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.loc-summary strong,
.loc-summary span {
  display: block;
}

.loc-summary strong {
  margin-bottom: 7px;
  font-size: 28px;
  font-weight: 900;
}

.loc-summary-row strong {
  min-height: 36px;
}

.loc-summary span {
  color: var(--muted);
  font-size: 14px;
}

.plan-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: rgba(53, 208, 255, 0.1);
  color: #74f4ff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h3 {
  font-size: 22px;
  line-height: 1.15;
}

.tariff-top {
  padding-top: 22px;
  padding-bottom: 10px;
}

.tariff-list {
  list-style: none;
  margin: 0;
  padding-top: 0;
  padding-bottom: 22px;
}

.tariff-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid rgba(160, 199, 255, 0.1);
  color: var(--muted);
  font-size: 16px;
}

.tariff-list strong {
  color: var(--text);
  font-size: 18px;
}

.cta-section {
  padding: 34px 24px;
  text-align: center;
}

.own-server-card {
  padding: 30px;
  background:
    radial-gradient(circle at 100% 0%, rgba(34, 197, 94, 0.14), transparent 34%),
    var(--panel);
}

.own-server-copy {
  max-width: 780px;
}

.own-server-copy p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 17px;
}

.own-server-copy h4 {
  margin: 20px 0 0;
  font-size: 17px;
}

.simple-list {
  margin: 18px 0 22px;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.8;
}

.cta-glow {
  inset: auto auto -120px 50%;
  width: 340px;
  height: 340px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(34, 211, 238, 0.22), transparent 70%);
}

.cta-title {
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.05;
}

.cta-sub {
  max-width: 720px;
  margin: 12px auto 18px;
  font-size: 17px;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer {
  margin-top: 28px;
  text-align: center;
  color: #94a3b8;
  font-size: 14px;
}

.footer-row {
  margin-bottom: 10px;
}

.footer a {
  color: #93c5fd;
  text-decoration: none;
  font-weight: 700;
}

.dot {
  margin: 0 10px;
  color: #475569;
}

@media (max-width: 980px) {
  .plans-grid,
  .tariffs-grid,
  .features-grid,
  .setup-grid,
  .payment-grid,
  .locations-grid,
  .locations-page-grid,
  .locations-summary,
  .locations-summary-row,
  .price-grid,
  .pricing-grid,
  .loc-cards,
  .loc-summary-row,
  .stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .nav {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-right {
    justify-content: stretch;
  }

  .nav-link,
  .nav-cta {
    text-align: center;
    flex: 1 1 auto;
  }

  .hero-screen {
    padding: 28px 20px;
  }

  .hero-title {
    font-size: 40px;
  }

  .showcase-image {
    height: 240px;
  }
}

@media (max-width: 640px) {
  .page {
    padding: 16px 12px 30px;
  }

  .hero-title {
    font-size: 34px;
  }

  .hero-sub,
  .section-sub,
  .plan-copy p,
  .cta-sub {
    font-size: 16px;
  }

  h3 {
    font-size: 22px;
  }

  .btn-primary {
    width: 100%;
    justify-content: center;
  }

  .plan-visual {
    height: 156px;
  }
}
/* Web account cabinet */
.cabinet-shell {
  padding-bottom: 80px;
}

.cabinet-hero {
  padding: 86px 0 34px;
}

.cabinet-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(42px, 7vw, 80px);
  line-height: 0.95;
}

.cabinet-hero p:not(.eyebrow) {
  margin: 0 0 22px;
  color: rgba(226, 232, 240, 0.72);
  font-size: 18px;
}

.small-button {
  min-height: 38px;
  padding: 0 18px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.92);
  color: #f8fafc;
  font-weight: 800;
  cursor: pointer;
}

.cabinet-grid {
  display: grid;
  gap: 22px;
}

.cabinet-panel {
  padding: 26px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.78);
}

.cabinet-panel h2 {
  margin: 0 0 18px;
  font-size: 26px;
}

.table-wrap {
  overflow-x: auto;
}

.cabinet-panel table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

.cabinet-panel th,
.cabinet-panel td {
  padding: 14px 12px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
  color: rgba(226, 232, 240, 0.82);
  text-align: left;
}

.cabinet-panel th {
  color: #fff;
  font-size: 13px;
  text-transform: uppercase;
}

.instruction-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 26px;
}

.instruction-tab {
  min-height: 44px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(248, 251, 255, 0.82);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.instruction-tab.active {
  background: #fff;
  color: #020617;
}

.instruction-panel {
  display: none;
  padding: 30px;
  border-radius: 28px;
}

.instruction-panel.active {
  display: block;
}

.instruction-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: start;
  margin-bottom: 22px;
}

.instruction-head h2 {
  margin: 14px 0 10px;
  font-size: clamp(30px, 5vw, 54px);
  line-height: 0.98;
}

.instruction-head p {
  max-width: 720px;
  margin: 0;
  color: rgba(226, 232, 240, 0.78);
  font-size: 18px;
  line-height: 1.55;
}

.instruction-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.instruction-steps {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: setup-step;
}

.instruction-steps li {
  position: relative;
  min-height: 54px;
  padding: 15px 16px 15px 58px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 16px;
  background: rgba(2, 8, 23, 0.35);
  color: rgba(248, 251, 255, 0.9);
  line-height: 1.45;
}

.instruction-steps li::before {
  counter-increment: setup-step;
  content: counter(setup-step);
  position: absolute;
  left: 14px;
  top: 12px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(34, 197, 94, 0.16);
  color: #86efac;
  font-weight: 900;
}

.instruction-note {
  margin-top: 20px;
  padding: 16px 18px;
  border: 1px solid rgba(34, 197, 94, 0.22);
  border-radius: 18px;
  background: rgba(34, 197, 94, 0.08);
  color: rgba(220, 252, 231, 0.92);
  line-height: 1.5;
}

@media (max-width: 760px) {
  .instruction-head {
    grid-template-columns: 1fr;
  }

  .instruction-actions {
    justify-content: flex-start;
  }

  .instruction-panel {
    padding: 22px 16px;
  }
}
