:root {
  color-scheme: dark;
  --bg: #020817;
  --bg-soft: #06162d;
  --card: rgba(7, 26, 53, 0.78);
  --card-strong: rgba(8, 33, 68, 0.92);
  --line: rgba(87, 188, 255, 0.22);
  --line-strong: rgba(87, 188, 255, 0.46);
  --text: #f3f8ff;
  --muted: #a9bfd8;
  --muted-2: #7f98b4;
  --accent: #18a5ff;
  --accent-2: #23e5ff;
  --ok: #37d0ff;
  --danger: #ff7f9a;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  --radius: 24px;
  --radius-small: 16px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 70% 4%, rgba(20, 146, 255, 0.24), transparent 34rem),
    radial-gradient(circle at 8% 20%, rgba(22, 214, 255, 0.12), transparent 24rem),
    linear-gradient(180deg, #020817 0%, #041125 44%, #020817 100%);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.26;
  background-image:
    linear-gradient(rgba(77, 183, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(77, 183, 255, 0.06) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom, transparent, black 12%, black 70%, transparent);
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(105, 198, 255, 0.14);
  background: rgba(2, 8, 23, 0.74);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-logo {
  width: 42px;
  height: 42px;
  filter: drop-shadow(0 0 18px rgba(30, 193, 255, 0.32));
}

.brand-title {
  display: block;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.05;
}

.brand-subtitle {
  display: none;
  color: var(--muted);
  font-size: 13px;
  margin-top: 4px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: 15px;
  background: rgba(7, 26, 53, 0.72);
  color: #d9f7ff;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin-inline: auto;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-menu {
  border-top: 1px solid rgba(105, 198, 255, 0.12);
  background: rgba(2, 8, 23, 0.96);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.38);
}

.site-menu-inner {
  display: grid;
  gap: 8px;
  padding-block: 12px 16px;
}

.site-menu-inner a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid rgba(105, 198, 255, 0.14);
  border-radius: 14px;
  background: rgba(8, 31, 63, 0.52);
  color: #d9ecff;
  font-weight: 750;
}

.site-menu-inner a:hover {
  border-color: var(--line-strong);
  background: rgba(24, 165, 255, 0.12);
  color: #fff;
}

.promo-pill,
.mini-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 9px 14px;
  background: rgba(7, 26, 53, 0.62);
  color: #d8f3ff;
  font-size: 13px;
  white-space: nowrap;
}

.promo-pill strong,
.mini-pill strong {
  color: var(--text);
}

.header-link {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 10px 14px;
  color: #d9ecff;
  font-size: 13px;
  transition: 0.2s ease;
}

.header-link:hover {
  border-color: var(--line-strong);
  color: #fff;
  background: rgba(24, 165, 255, 0.1);
}

.hero {
  position: relative;
  padding: 34px 0 28px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  gap: 28px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: #aeefff;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 24px rgba(35, 229, 255, 0.9);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(34px, 9.2vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.gradient-text {
  color: #35b8ff;
  background: linear-gradient(90deg, #35b8ff 0%, #1ae6ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lead {
  color: #dceeff;
  font-size: clamp(18px, 4.4vw, 22px);
  line-height: 1.55;
  font-weight: 700;
  margin-bottom: 12px;
}

.hero-text {
  color: var(--muted);
  line-height: 1.7;
  font-size: 16px;
  margin-bottom: 22px;
  max-width: 640px;
}

.hero-actions,
.contact-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 22px 0 16px;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  border-radius: 16px;
  border: 1px solid var(--line);
  padding: 13px 18px;
  background: rgba(8, 31, 63, 0.72);
  color: var(--text);
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
  border-color: var(--line-strong);
  background: rgba(13, 46, 88, 0.88);
}

.btn-primary {
  border: 0;
  background: linear-gradient(135deg, #159cff 0%, #18caff 100%);
  color: #fff;
  box-shadow: 0 18px 40px rgba(21, 156, 255, 0.26);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #2baaff 0%, #32dfff 100%);
  box-shadow: 0 24px 52px rgba(21, 156, 255, 0.34);
}

.btn-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.hero-note,
.small-note {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.hero-note strong,
.small-note strong {
  color: #e9f7ff;
}

.hero-media {
  position: relative;
  border: 1px solid rgba(105, 198, 255, 0.22);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  background: rgba(5, 20, 43, 0.72);
}

.hero-media img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.section {
  padding: 30px 0;
}

.section-header {
  margin-bottom: 18px;
}

.section-kicker {
  color: var(--accent-2);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

h2 {
  font-size: clamp(28px, 6vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.035em;
  margin-bottom: 10px;
}

.section-intro {
  color: var(--muted);
  line-height: 1.65;
  max-width: 780px;
  font-size: 16px;
}

.card-grid {
  display: grid;
  gap: 14px;
}

.card-grid.cols-2,
.card-grid.cols-3,
.card-grid.cols-4,
.card-grid.cols-5 {
  grid-template-columns: 1fr;
}

.card,
.feature-card,
.step-card,
.quote-card,
.risk-card,
.contact-panel,
.legal-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(8, 31, 63, 0.8), rgba(5, 19, 43, 0.72));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.card,
.feature-card,
.quote-card,
.risk-card,
.contact-panel,
.legal-card {
  padding: 20px;
}

.feature-card {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: start;
}

.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(35, 229, 255, 0.38);
  background: rgba(24, 165, 255, 0.12);
  color: #8cefff;
}

.icon-box svg {
  width: 23px;
  height: 23px;
}

.card h3,
.feature-card h3,
.step-card h3,
.quote-card h3,
.risk-card h3 {
  margin-bottom: 8px;
  font-size: 19px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.card p,
.feature-card p,
.step-card p,
.quote-card p,
.risk-card p,
.legal-card p {
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 0;
}

.check-list,
.cross-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}

.check-list li,
.cross-list li {
  position: relative;
  padding-left: 34px;
  color: var(--muted);
  line-height: 1.55;
}

.check-list li::before,
.cross-list li::before {
  position: absolute;
  left: 0;
  top: 1px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 900;
}

.check-list li::before {
  content: "✓";
  color: #07162d;
  background: #3ce6ff;
}

.cross-list li::before {
  content: "×";
  color: #ffdbe3;
  border: 1px solid rgba(255, 127, 154, 0.5);
  background: rgba(255, 127, 154, 0.08);
}

.steps {
  display: grid;
  gap: 14px;
  counter-reset: steps;
}

.step-card {
  counter-increment: steps;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  padding: 18px;
}

.step-card::before {
  content: counter(steps);
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  color: #d9f7ff;
  background: rgba(24, 165, 255, 0.1);
  font-weight: 900;
}

.inline-note {
  margin-top: 16px;
  padding: 16px 18px;
  border-left: 3px solid var(--accent-2);
  border-radius: 16px;
  background: rgba(35, 229, 255, 0.06);
  color: var(--muted);
  line-height: 1.65;
}

.hero-availability {
  max-width: 640px;
  font-size: 14px;
}

.price-box {
  display: grid;
  gap: 14px;
}

.price-line {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(105, 198, 255, 0.16);
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.12);
}

.price-line span {
  color: var(--muted);
}

.price-line strong {
  color: #fff;
  white-space: nowrap;
}

.risk-card {
  border-color: rgba(255, 210, 92, 0.34);
  background:
    linear-gradient(180deg, rgba(46, 34, 7, 0.38), rgba(8, 31, 63, 0.72)),
    rgba(8, 31, 63, 0.7);
}

.risk-card h2 {
  margin-bottom: 12px;
}

.quote-card small {
  display: block;
  color: #7ddcff;
  margin-bottom: 10px;
  font-weight: 800;
}

.quote-card blockquote {
  margin: 0;
  color: #dceeff;
  line-height: 1.6;
  font-size: 16px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(7, 26, 53, 0.72);
  overflow: hidden;
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 17px 18px;
  font-weight: 850;
  color: #eef8ff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  color: #8cefff;
  font-size: 20px;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list p {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--muted);
  line-height: 1.65;
}

.contacts-section {
  padding-bottom: 44px;
}

.contact-panel {
  overflow: hidden;
}

.contact-panel::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: radial-gradient(circle at 12% 0%, rgba(24, 165, 255, 0.18), transparent 24rem);
  pointer-events: none;
}

.contact-panel > * {
  position: relative;
}

.contact-actions {
  margin-bottom: 18px;
}

.contact-card-text {
  display: block;
  font-size: 13px;
  color: #c4d8ee;
  font-weight: 600;
  line-height: 1.4;
}

.promo-box {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: center;
  margin-top: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(35, 229, 255, 0.28);
  border-radius: 16px;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.14);
}

.promo-box strong {
  color: #fff;
}

.info-stack {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.info-stack .inline-note,
.info-stack .promo-box {
  margin-top: 0;
}

.site-footer {
  border-top: 1px solid rgba(105, 198, 255, 0.14);
  padding: 24px 0 34px;
  color: var(--muted-2);
  background: rgba(0, 0, 0, 0.18);
}

.footer-grid {
  display: grid;
  gap: 18px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}

.footer-links a {
  color: #c2d8f0;
  border-bottom: 1px solid rgba(194, 216, 240, 0.28);
}

.footer-links a:hover {
  color: #fff;
  border-color: #fff;
}

.legal-small {
  font-size: 12px;
  line-height: 1.65;
  color: #7e94ad;
}

.legal-small a {
  color: #bfe7ff;
  border-bottom: 1px solid rgba(191, 231, 255, 0.34);
}

.legal-small a:hover {
  color: #fff;
  border-color: #fff;
}

.cookie-notice {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 100;
  max-width: 780px;
  margin: 0 auto;
  display: none;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid rgba(70, 180, 255, 0.28);
  border-radius: 18px;
  background: rgba(3, 17, 38, 0.94);
  backdrop-filter: blur(14px);
  color: #d9ecff;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.4);
}

.cookie-notice.is-visible {
  display: flex;
}

.cookie-notice p {
  margin: 0;
  flex: 1;
  font-size: 12px;
  line-height: 1.45;
}

.cookie-notice button {
  border: 0;
  border-radius: 999px;
  padding: 9px 14px;
  background: #169cff;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.policy-page main {
  padding: 30px 0 50px;
}

.policy-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(7, 26, 53, 0.78);
}

.policy-card h1 {
  font-size: clamp(30px, 7vw, 48px);
}

.policy-card h2 {
  font-size: 26px;
  margin-top: 30px;
}

.policy-card p,
.policy-card li {
  color: var(--muted);
  line-height: 1.65;
}

.policy-card ul {
  padding-left: 22px;
}


.instruction-visual {
  margin: 24px 0 30px;
  padding: 10px;
  border: 1px solid rgba(70, 180, 255, 0.22);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(9, 35, 70, 0.62), rgba(3, 16, 36, 0.44));
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.28);
}

.instruction-visual picture,
.instruction-visual img {
  display: block;
}

.instruction-visual img {
  width: 100%;
  height: auto;
  border-radius: 18px;
}

.instruction-visual figcaption {
  margin: 10px 6px 2px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

@media (max-width: 520px) {
  .container {
    width: min(100% - 24px, var(--container));
  }

  .header-inner {
    min-height: 64px;
  }

  .brand-logo {
    width: 36px;
    height: 36px;
  }

  .promo-pill {
    display: none;
  }

  .hero {
    padding-top: 22px;
  }

  .hero-media {
    border-radius: 22px;
  }

  .btn {
    min-height: 56px;
  }

  .price-line {
    display: grid;
  }

  .price-line strong {
    white-space: normal;
  }

  .cookie-notice {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (min-width: 620px) {
  .brand-subtitle {
    display: block;
  }

  .hero-actions,
  .contact-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .card-grid.cols-2,
  .card-grid.cols-3,
  .card-grid.cols-4,
  .card-grid.cols-5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .header-link {
    display: inline-flex;
  }

  .site-menu-inner {
    grid-template-columns: repeat(10, max-content);
    justify-content: end;
    align-items: center;
  }

  .site-menu-inner a {
    min-height: 38px;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 13px;
  }

  .hero {
    padding: 54px 0 42px;
  }

  .hero-grid {
    grid-template-columns: 0.92fr 1.08fr;
    gap: 42px;
  }

  .hero-media {
    border: 0;
    box-shadow: none;
    background: transparent;
    overflow: visible;
  }

  .hero-media img {
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 28px 70px rgba(0, 0, 0, 0.38));
  }

  .section {
    padding: 42px 0;
  }

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

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

  .card-grid.cols-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

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

  .step-card {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr auto;
    align-items: start;
  }
}

@media (min-width: 1100px) {
  .card,
  .feature-card,
  .quote-card,
  .risk-card,
  .contact-panel,
  .legal-card {
    padding: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

/* Hidden VPS calculator page */
.calculator-page .brand-subtitle {
  display: block;
}

.calc-hero {
  padding: 34px 0 18px;
}

.calc-hero-grid {
  display: grid;
  gap: 24px;
  align-items: stretch;
}

.calc-hero-copy,
.calc-summary-card,
.calculator-card,
.result-panel,
.result-card,
.result-empty {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(9, 35, 72, 0.88), rgba(3, 17, 38, 0.78));
  box-shadow: var(--shadow);
}

.calc-hero-copy {
  padding: clamp(22px, 5vw, 42px);
}

.calc-hero-copy h1 {
  margin: 0 0 16px;
  font-size: clamp(34px, 8vw, 66px);
  line-height: 1.03;
  letter-spacing: -0.04em;
}

.calc-summary-card {
  padding: 24px;
}

.calc-summary-card h2 {
  margin: 0 0 14px;
  font-size: 26px;
}

.compact-list {
  gap: 10px;
}

.calc-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 10px;
  align-items: center;
  margin-top: 28px;
}

.calc-flow-item {
  min-height: 124px;
  padding: 16px;
  border: 1px solid rgba(87, 188, 255, 0.3);
  border-radius: 20px;
  background: rgba(3, 17, 38, 0.58);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.calc-flow-item.is-main {
  border-color: rgba(35, 229, 255, 0.62);
  box-shadow: 0 0 36px rgba(24, 165, 255, 0.16);
}

.calc-flow-item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(24, 165, 255, 0.14);
  color: #96eaff;
  border: 1px solid rgba(35, 229, 255, 0.4);
  font-weight: 900;
}

.calc-flow-item strong {
  font-size: 16px;
  color: #fff;
}

.calc-flow-item small {
  color: var(--muted);
  line-height: 1.35;
}

.calc-flow-arrow {
  color: var(--accent-2);
  font-size: 28px;
  font-weight: 900;
  text-shadow: 0 0 18px rgba(35, 229, 255, 0.45);
}

.calc-layout {
  display: grid;
  gap: 22px;
  align-items: start;
}

.calculator-card {
  padding: clamp(18px, 4vw, 30px);
}

.left-header {
  text-align: left;
  margin-inline: 0;
}

.calc-step {
  margin: 0 0 22px;
  padding: 0;
  border: 0;
}

.calc-step legend {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: #fff;
  font-size: 22px;
  font-weight: 900;
}

.calc-step legend span {
  display: inline-flex;
  min-width: 76px;
  justify-content: center;
  padding: 7px 10px;
  border-radius: 999px;
  color: #7de8ff;
  font-size: 13px;
  background: rgba(24, 165, 255, 0.12);
  border: 1px solid rgba(35, 229, 255, 0.28);
}

.question-block {
  margin: 0 0 18px;
  padding: 16px;
  border: 1px solid rgba(87, 188, 255, 0.16);
  border-radius: 20px;
  background: rgba(2, 11, 27, 0.32);
}

.question-block h3 {
  margin: 0 0 12px;
  font-size: clamp(18px, 3vw, 22px);
  line-height: 1.25;
}

.question-hint {
  margin: -4px 0 12px;
  color: var(--muted);
  font-size: 14px;
}

.option-grid {
  display: grid;
  gap: 10px;
}

.option-card {
  position: relative;
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border: 1px solid rgba(105, 198, 255, 0.18);
  border-radius: 16px;
  background: rgba(7, 26, 53, 0.58);
  color: #dceeff;
  font-weight: 780;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.option-card:hover {
  border-color: rgba(35, 229, 255, 0.52);
  background: rgba(24, 165, 255, 0.12);
  transform: translateY(-1px);
}

.option-card input {
  width: 20px;
  height: 20px;
  accent-color: var(--accent-2);
  flex: 0 0 auto;
}

.option-card:has(input:checked) {
  border-color: rgba(35, 229, 255, 0.72);
  background: linear-gradient(180deg, rgba(24, 165, 255, 0.18), rgba(35, 229, 255, 0.08));
  box-shadow: inset 0 0 0 1px rgba(35, 229, 255, 0.08), 0 0 28px rgba(24, 165, 255, 0.12);
  color: #fff;
}

.calc-actions,
.calc-result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.calc-submit {
  min-width: 180px;
}

.result-panel {
  padding: 16px;
  position: sticky;
  top: 94px;
}

.result-empty,
.result-card {
  padding: 22px;
  background: rgba(3, 17, 38, 0.56);
}

.result-card h2,
.result-empty h2 {
  margin: 0 0 12px;
  font-size: clamp(24px, 5vw, 36px);
  line-height: 1.1;
}

.result-badge {
  display: inline-flex;
  margin: 0 0 18px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(35, 229, 255, 0.34);
  background: rgba(24, 165, 255, 0.13);
  color: #9decff;
  font-weight: 800;
}

.result-specs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 20px;
}

.result-specs span {
  display: flex;
  justify-content: center;
  min-height: 58px;
  align-items: center;
  border: 1px solid rgba(35, 229, 255, 0.28);
  border-radius: 16px;
  color: #fff;
  background: rgba(24, 165, 255, 0.12);
  font-weight: 900;
  text-align: center;
}

.result-section {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(105, 198, 255, 0.14);
}

.result-section h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 18px;
}

.result-section p,
.result-section li {
  color: var(--muted);
  line-height: 1.55;
}

.warning-box {
  padding: 16px;
  border: 1px solid rgba(255, 199, 87, 0.25);
  border-radius: 18px;
  background: rgba(255, 199, 87, 0.06);
}

.warning-box ul {
  margin: 0;
  padding-left: 18px;
}

@media (min-width: 700px) {
  .four-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .five-options,
  .geo-options,
  .server-options,
  .devices-options,
  .usage-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .calc-hero-grid {
    grid-template-columns: minmax(0, 1.45fr) minmax(300px, .55fr);
  }

  .calc-layout {
    grid-template-columns: minmax(0, 1.34fr) minmax(340px, 0.66fr);
  }

  .five-options,
  .geo-options,
  .server-options,
  .devices-options,
  .usage-options {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1160px) {
  .server-options,
  .geo-options {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .calc-flow {
    grid-template-columns: 1fr;
  }

  .calc-flow-arrow {
    transform: rotate(90deg);
    text-align: center;
  }

  .result-panel {
    position: static;
  }

  .result-specs {
    grid-template-columns: 1fr;
  }

  .calc-actions .btn,
  .calc-result-actions .btn {
    width: 100%;
  }
}

/* Calculator v4: touch-friendly hidden page */
.calculator-page .calc-hero {
  padding: 30px 0 14px;
}

.calculator-page .calc-hero-grid {
  grid-template-columns: 1fr;
}

.calculator-page .calc-hero-copy {
  max-width: 980px;
}

.calculator-page .calc-hero-copy h1 {
  max-width: 820px;
}

.calculator-page .calc-hero-copy .lead,
.calculator-page .calc-hero-copy .hero-text {
  max-width: 760px;
}

.calculator-page .calc-summary-card {
  display: none;
}

.calculator-page .calc-flow {
  display: none !important;
}

.calculator-page .calculator-card {
  padding: clamp(16px, 4vw, 28px);
  border-radius: 28px;
}

.calculator-page .calc-step-card {
  margin: 0 0 18px;
  padding: clamp(16px, 3vw, 22px);
  border: 1px solid rgba(87, 188, 255, 0.18);
  border-radius: 24px;
  background:
    radial-gradient(circle at 0 0, rgba(24, 165, 255, 0.12), transparent 22rem),
    rgba(2, 11, 27, 0.34);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}

.calculator-page .calc-step-card legend {
  float: left;
  width: 100%;
  margin: 0 0 16px;
  padding: 0;
  display: grid;
  gap: 6px;
  color: #fff;
}

.calculator-page .calc-step-card legend + * {
  clear: both;
}

.calculator-page .calc-step-card legend .step-count {
  width: fit-content;
  min-width: 0;
  padding: 6px 10px;
  border-radius: 999px;
  color: #7de8ff;
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: .02em;
  background: rgba(24, 165, 255, 0.12);
  border: 1px solid rgba(35, 229, 255, 0.28);
}

.calculator-page .calc-step-card legend strong {
  display: block;
  font-size: clamp(22px, 4vw, 30px);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.calculator-page .question-block {
  margin: 0 0 18px;
  padding: 0;
  border: 0;
  background: transparent;
}

.calculator-page .question-block:last-child {
  margin-bottom: 0;
}

.calculator-page .question-block h3 {
  margin: 0 0 12px;
  font-size: clamp(18px, 3.8vw, 22px);
  line-height: 1.28;
}

.calculator-page .question-hint {
  margin: -4px 0 12px;
  font-size: 14px;
  line-height: 1.45;
}

.calculator-page .option-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.calculator-page .option-card {
  min-height: 54px;
  padding: 13px 14px 13px 46px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  position: relative;
  color: #dceeff;
  font-weight: 850;
  line-height: 1.25;
  background: rgba(7, 26, 53, 0.64);
  border: 1px solid rgba(105, 198, 255, 0.2);
  box-shadow: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.calculator-page .option-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
}

.calculator-page .option-card::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  width: 20px;
  height: 20px;
  transform: translateY(-50%);
  border-radius: 999px;
  border: 1.5px solid rgba(125, 232, 255, .58);
  background: rgba(2, 11, 27, .4);
}

.calculator-page .checkbox-card::before {
  border-radius: 7px;
}

.calculator-page .option-card:has(input:checked)::before {
  background: linear-gradient(135deg, #169cff, #23e5ff);
  border-color: rgba(35, 229, 255, .95);
  box-shadow: 0 0 16px rgba(35, 229, 255, .36);
}

.calculator-page .option-card:has(input:checked)::after {
  content: "✓";
  position: absolute;
  left: 19px;
  top: 50%;
  transform: translateY(-54%);
  color: #001d35;
  font-size: 14px;
  font-weight: 1000;
}

.calculator-page .option-card:has(input:checked) {
  border-color: rgba(35, 229, 255, 0.72);
  background: linear-gradient(180deg, rgba(24, 165, 255, 0.2), rgba(35, 229, 255, 0.08));
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(35, 229, 255, 0.08), 0 0 26px rgba(24, 165, 255, 0.1);
}

.calculator-page .option-card:focus-within {
  outline: 2px solid rgba(35, 229, 255, .62);
  outline-offset: 2px;
}

.calculator-page .option-card span {
  display: block;
}

.calculator-page .result-specs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 0 0 20px;
}

.calculator-page .spec-card {
  min-height: 74px;
  padding: 14px;
  border: 1px solid rgba(35, 229, 255, 0.28);
  border-radius: 16px;
  background: rgba(24, 165, 255, 0.12);
  display: grid;
  gap: 5px;
}

.calculator-page .spec-card small {
  color: #9ec5e7;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.calculator-page .spec-card strong {
  color: #fff;
  font-size: 20px;
  line-height: 1.1;
}

.calculator-page .contact-panel {
  padding: clamp(18px, 4vw, 28px);
}

.calculator-page .calculator-contact-actions {
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

.calculator-page .compact-contact-button,
.calculator-page .contact-button.compact-contact-button {
  min-height: 64px;
  padding: 12px 14px;
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  align-items: center;
  border-radius: 18px;
}

.calculator-page .compact-contact-button .contact-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
}

.calculator-page .compact-contact-button .contact-icon svg {
  width: 22px;
  height: 22px;
}

.calculator-page .compact-contact-button span:last-child {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.calculator-page .compact-contact-button strong {
  font-size: 15px;
  line-height: 1.18;
}

.calculator-page .compact-contact-button small {
  font-size: 13px;
  line-height: 1.25;
  color: #c4d8ee;
  overflow-wrap: anywhere;
}

@media (min-width: 560px) {
  .calculator-page .option-grid,
  .calculator-page .four-options,
  .calculator-page .five-options,
  .calculator-page .geo-options,
  .calculator-page .server-options,
  .calculator-page .devices-options,
  .calculator-page .usage-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .calculator-page .result-specs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .calculator-page .calc-layout {
    grid-template-columns: minmax(0, 1.22fr) minmax(360px, 0.78fr);
  }

  .calculator-page .five-options,
  .calculator-page .geo-options,
  .calculator-page .server-options,
  .calculator-page .devices-options,
  .calculator-page .usage-options {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .calculator-page .calculator-contact-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1160px) {
  .calculator-page .server-options,
  .calculator-page .geo-options {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .calculator-page .calc-hero-copy,
  .calculator-page .calculator-card,
  .calculator-page .result-panel,
  .calculator-page .contact-panel {
    border-radius: 22px;
  }

  .calculator-page .calc-step-card {
    border-radius: 20px;
  }

  .calculator-page .option-card {
    min-height: 56px;
    padding-top: 12px;
    padding-bottom: 12px;
  }
}
