:root {
  --bg-900: #090d1f;
  --bg-850: #0c1230;
  --bg-800: #101a3f;
  --bg-surface: rgba(16, 26, 60, 0.72);
  --bg-surface-strong: rgba(14, 22, 50, 0.9);
  --line-soft: rgba(143, 170, 255, 0.2);
  --line-strong: rgba(143, 170, 255, 0.34);
  --text-primary: #f4f7ff;
  --text-secondary: #b8c4e8;
  --text-tertiary: #8f9fcb;
  --brand-cyan: #2bb8de;
  --brand-blue: #3a6be7;
  --brand-violet: #8628d9;
  --ok: #2be6aa;

  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;

  --shadow-1: 0 16px 36px rgba(7, 10, 26, 0.34);
  --shadow-2: 0 24px 64px rgba(7, 10, 26, 0.5);

  --container: 1140px;
  --space-1: 8px;
  --space-2: 12px;
  --space-3: 16px;
  --space-4: 20px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 40px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: #090d1f;
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text-primary);
  background-color: #090d1f;
  background:
    radial-gradient(circle at 12% 18%, rgba(43, 184, 222, 0.17), transparent 30%),
    radial-gradient(circle at 84% 14%, rgba(134, 40, 217, 0.16), transparent 30%),
    linear-gradient(160deg, var(--bg-900) 0%, #0d1534 46%, var(--bg-850) 100%);
  overflow-x: hidden;
  position: relative;
  line-height: 1.45;
}

a {
  color: inherit;
}

a,
button,
.btn,
.ghost-link,
.back-link,
.acc-btn {
  -webkit-tap-highlight-color: transparent;
}

::selection {
  background: rgba(58, 107, 231, 0.35);
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(122, 151, 235, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(122, 151, 235, 0.06) 1px, transparent 1px);
  background-size: 34px 34px;
  z-index: 0;
  pointer-events: none;
}

header,
main,
footer {
  position: relative;
  z-index: 2;
}

.bg-glow {
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(64px);
  opacity: 0.2;
  z-index: -2;
  pointer-events: none;
}

.bg-glow-cyan {
  background: var(--brand-cyan);
  top: -130px;
  left: -140px;
}

.bg-glow-violet {
  background: var(--brand-violet);
  right: -160px;
  bottom: -200px;
}

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

.page-main {
  padding-bottom: var(--space-6);
}

.section {
  padding-block: clamp(30px, 5vw, 68px);
}

.section-compact {
  padding-block: clamp(14px, 2.5vw, 24px);
}

.section-title {
  margin: 0;
  font-family: "Unbounded", "Segoe UI", sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.14;
  font-size: clamp(28px, 3.2vw, 40px);
}

.section-subtitle {
  margin: 12px 0 0;
  max-width: 62ch;
  color: var(--text-secondary);
  font-size: clamp(15px, 1.9vw, 18px);
  line-height: 1.6;
}

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: linear-gradient(
    180deg,
    rgba(9, 13, 31, 0.82) 0%,
    rgba(9, 13, 31, 0.58) 100%
  );
  border-bottom: 1px solid rgba(125, 157, 255, 0.14);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo {
  width: 38px;
  height: 38px;
  display: block;
}

.brand-title {
  font-family: "Unbounded", "Segoe UI", sans-serif;
  font-size: 17px;
  letter-spacing: 0.02em;
  font-weight: 700;
}

.ghost-link,
.back-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: #deebff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  border-radius: 999px;
  border: 1px solid var(--line-soft);
  background: rgba(13, 20, 45, 0.5);
  padding: 10px 14px;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.ghost-link:hover,
.back-link:hover {
  color: #fff;
  border-color: rgba(43, 184, 222, 0.52);
  background: rgba(18, 28, 64, 0.86);
  transform: translateY(-1px);
}

.back-link {
  margin: 2px 0 16px;
}

.hero {
  padding-top: clamp(44px, 8vw, 86px);
  padding-bottom: clamp(30px, 5vw, 60px);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: clamp(18px, 3vw, 34px);
  align-items: start;
}

.eyebrow {
  margin: 0 0 16px;
  color: #9cdaf2;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
}

h1 {
  margin: 0;
  font-family: "Unbounded", "Segoe UI", sans-serif;
  font-weight: 700;
  line-height: 1.14;
  font-size: clamp(34px, 5vw, 58px);
  letter-spacing: 0.01em;
  max-width: 16.5ch;
}

.gradient-text {
  background: linear-gradient(
    110deg,
    var(--brand-cyan) 0%,
    var(--brand-blue) 50%,
    var(--brand-violet) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-text {
  margin: 20px 0 0;
  max-width: 54ch;
  color: var(--text-secondary);
  font-size: clamp(16px, 2.1vw, 20px);
  line-height: 1.64;
}

.hero-note {
  margin: 14px 0 0;
  color: var(--text-tertiary);
  font-size: 14px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: 30px;
}

.btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 14px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
  padding: 0 18px;
  transition:
    transform 170ms ease,
    box-shadow 170ms ease,
    border-color 170ms ease,
    background 170ms ease,
    color 170ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:focus-visible,
.ghost-link:focus-visible,
.back-link:focus-visible,
.acc-btn:focus-visible {
  outline: 2px solid rgba(43, 184, 222, 0.82);
  outline-offset: 2px;
}

.btn-icon {
  width: 18px;
  height: 18px;
  display: inline-block;
  flex: 0 0 auto;
}

.btn-icon polygon {
  fill: currentColor;
}

.btn-icon path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn-icon-end {
  opacity: 0.72;
  transition: opacity 180ms ease;
}

.btn:hover .btn-icon-end {
  opacity: 1;
}

.btn-primary {
  color: #fff;
  border: 0;
  background: linear-gradient(
    106deg,
    var(--brand-cyan) 0%,
    var(--brand-blue) 48%,
    var(--brand-violet) 100%
  );
  box-shadow: 0 14px 32px rgba(58, 107, 231, 0.34);
}

.btn-primary:hover {
  box-shadow: 0 18px 36px rgba(74, 69, 233, 0.44);
}

.btn-hero-main {
  border: 0;
  overflow: hidden;
  position: relative;
  backface-visibility: hidden;
  transform: translateZ(0);
  background-image: linear-gradient(
    106deg,
    var(--brand-cyan) 0%,
    var(--brand-blue) 48%,
    var(--brand-violet) 100%
  );
  background-repeat: no-repeat;
}

.btn-secondary {
  color: #deebff;
  border: 1px solid var(--line-strong);
  background: rgba(13, 20, 45, 0.5);
}

.btn-secondary:hover {
  border-color: rgba(43, 184, 222, 0.54);
  background: rgba(17, 27, 58, 0.78);
}

.hero-badges {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  max-width: 620px;
  grid-template-columns: 1fr;
}

.hero-badges li {
  color: #d2dcff;
  font-size: 15px;
  line-height: 1.45;
  padding: 0;
}

.hero-card,
.proxy-banner,
.proxy-status-card,
.step-card,
.proxy-important-card,
.proxy-platform-card,
.faq-item {
  border: 1px solid var(--line-soft);
  background: var(--bg-surface);
  box-shadow: var(--shadow-1);
}

.hero-card {
  border-radius: var(--radius-xl);
  padding: 24px;
  background:
    linear-gradient(170deg, rgba(16, 23, 52, 0.95) 0%, rgba(11, 17, 39, 0.84) 100%);
  box-shadow: var(--shadow-2);
}

.card-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.card-logo {
  width: 27px;
  height: 27px;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 8px rgba(43, 230, 170, 0.18);
}

.status-text {
  color: #b9f6de;
  font-size: 14px;
  font-weight: 700;
}

.hero-card h2,
.proxy-status-card h2 {
  margin: 0;
  font-family: "Unbounded", "Segoe UI", sans-serif;
  font-size: clamp(22px, 2.2vw, 28px);
}

.hero-card p {
  margin: 10px 0 0;
  color: var(--text-secondary);
  line-height: 1.58;
}

.card-metrics {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.metric {
  border-radius: var(--radius-sm);
  border: 1px solid rgba(126, 157, 255, 0.24);
  background: rgba(11, 18, 40, 0.72);
  text-align: center;
  padding: 12px;
}

.metric-value {
  display: block;
  color: #fff;
  font-size: 19px;
  font-weight: 800;
}

.metric-name {
  display: block;
  margin-top: 4px;
  color: #a8b8ec;
  font-size: 12px;
}

.proxy {
  padding-top: 8px;
}

.proxy-banner {
  border-radius: var(--radius-lg);
  padding: 24px;
  background:
    linear-gradient(145deg, rgba(13, 22, 52, 0.9) 0%, rgba(17, 19, 46, 0.85) 54%, rgba(31, 18, 64, 0.75) 100%);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 22px;
  align-items: center;
}

.proxy-kicker {
  margin: 0;
  color: #98dbf4;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 700;
}

.proxy-title {
  margin-top: 10px;
  font-size: clamp(24px, 3vw, 36px);
}

.proxy-text {
  margin: 12px 0 0;
  max-width: 58ch;
  color: var(--text-secondary);
  line-height: 1.6;
}

.proxy-actions {
  display: grid;
  justify-items: start;
  gap: 12px;
}

.proxy-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.proxy-note {
  margin: 0;
  color: #b9c6f0;
  font-size: 14px;
  line-height: 1.45;
}

.steps-grid,
.proxy-important-grid,
.proxy-platform-grid,
.faq-list {
  margin-top: 24px;
  display: grid;
  gap: 14px;
}

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

.step-card,
.proxy-important-card,
.proxy-platform-card {
  border-radius: var(--radius-md);
  padding: 20px;
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Unbounded", "Segoe UI", sans-serif;
  font-size: 13px;
  color: #f2f5ff;
  background: linear-gradient(120deg, var(--brand-blue), var(--brand-violet));
}

.step-card h3,
.proxy-important-card h3,
.proxy-platform-card h3 {
  margin: 14px 0 8px;
  font-size: clamp(20px, 2.3vw, 23px);
  line-height: 1.28;
}

.step-card p,
.proxy-important-card p,
.proxy-platform-card p,
.proxy-platform-card ol,
.proxy-list,
.proxy-card-note {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.58;
}

.proxy-platform-card ol,
.proxy-list {
  padding-left: 18px;
  display: grid;
  gap: 6px;
}

.faq-item {
  border-radius: var(--radius-md);
  overflow: hidden;
}

.acc-btn {
  width: 100%;
  border: 0;
  margin: 0;
  background: transparent;
  color: var(--text-primary);
  text-align: left;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.3;
}

.acc-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  font-size: 24px;
  line-height: 1;
  color: #c8d6ff;
  transition: transform 0.22s ease;
}

.acc-btn[aria-expanded="true"] .acc-icon {
  transform: rotate(90deg);
}

.acc-panel {
  height: 0;
  overflow: hidden;
  transition: height 0.25s ease;
}

.acc-content {
  padding: 0 16px 14px;
}

.acc-content p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.58;
}

.acc-content a {
  color: #8fd7ff;
}

.footer {
  border-top: 1px solid rgba(126, 157, 255, 0.16);
  margin-top: clamp(20px, 4vw, 44px);
}

.footer-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-inner p {
  margin: 0;
  color: #aebbe3;
  font-size: 14px;
}

.footer-inner a {
  color: #deebff;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
}

.reveal-on-load {
  opacity: 0;
  transform: translateY(14px);
  animation: reveal 620ms ease forwards;
}

.reveal-on-load:nth-child(2) {
  animation-delay: 70ms;
}

.reveal-on-load:nth-child(3) {
  animation-delay: 140ms;
}

@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.proxy-hero {
  padding-top: clamp(44px, 6vw, 74px);
}

.proxy-hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 22px;
  align-items: start;
}

.proxy-status-card {
  border-radius: var(--radius-lg);
  padding: 22px;
  background:
    linear-gradient(170deg, rgba(16, 23, 52, 0.95) 0%, rgba(11, 17, 39, 0.84) 100%);
  box-shadow: var(--shadow-2);
}

.proxy-status-card h2 {
  margin: 0;
}

.proxy-list {
  margin-top: 12px;
  color: #d2dcff;
}

.proxy-card-note {
  margin-top: 14px;
  color: var(--text-tertiary);
  font-size: 14px;
}

.proxy-important-grid,
.proxy-platform-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

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

@media (max-width: 980px) {
  .header-inner {
    min-height: 68px;
  }

  .hero-inner,
  .proxy-hero-inner,
  .proxy-banner {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 52px;
  }

  .hero-card {
    order: -1;
  }

  .steps-grid,
  .proxy-important-grid,
  .proxy-platform-grid {
    grid-template-columns: 1fr;
  }

}

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

  .section {
    padding-block: clamp(24px, 8vw, 36px);
  }

  .brand-title {
    font-size: 15px;
  }

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

  .ghost-link,
  .back-link {
    font-size: 13px;
    padding: 9px 12px;
  }

  .btn {
    width: 100%;
  }

  .proxy-buttons {
    width: 100%;
  }

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

  .proxy-steps-grid {
    grid-template-columns: 1fr;
  }
}

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