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

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

:root {
  --bg: #0b0f14;
  --bg-strong: #0e131a;
  --ink: #e6eaf0;
  --muted: #b7c0cc;
  --accent: #00b3a4;
  --accent-2: #ff6a00;
  --accent-3: #12d5c3;
  --surface: rgba(17, 24, 33, 0.7);
  --surface-2: rgba(21, 30, 41, 0.6);
  --outline: rgba(255, 255, 255, 0.08);
  --radius: 20px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --container: 1140px;
  color-scheme: dark;
}

[data-theme="light"] {
  --bg: #f5f7fb;
  --bg-strong: #eef2fa;
  --ink: #0b1426;
  --muted: #5a667b;
  --accent: #00b3a4;
  --accent-2: #ff6a00;
  --accent-3: #2fd1c3;
  --surface: rgba(255, 255, 255, 0.9);
  --surface-2: rgba(245, 247, 251, 0.9);
  --outline: rgba(11, 20, 38, 0.1);
  --shadow: 0 18px 45px rgba(11, 20, 38, 0.12);
  color-scheme: light;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1100px 520px at 15% -10%, rgba(0, 179, 164, 0.18), transparent 60%),
    radial-gradient(900px 500px at 85% 0%, rgba(255, 106, 0, 0.12), transparent 62%),
    var(--bg);
  line-height: 1.65;
  min-height: 100vh;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.25;
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: "";
  position: fixed;
  inset: auto -10% -15% auto;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(0, 179, 164, 0.22), transparent 70%);
  opacity: 0.8;
  pointer-events: none;
  z-index: 0;
}

[data-theme="light"] body {
  background:
    radial-gradient(1100px 520px at 15% -10%, rgba(0, 179, 164, 0.12), transparent 60%),
    radial-gradient(900px 500px at 85% 0%, rgba(255, 106, 0, 0.08), transparent 62%),
    #f5f7fb;
}

[data-theme="light"] body::before {
  background-image:
    linear-gradient(rgba(11, 20, 38, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 20, 38, 0.06) 1px, transparent 1px);
  opacity: 0.22;
}

[data-theme="light"] body::after {
  background: radial-gradient(circle, rgba(0, 179, 164, 0.18), transparent 70%);
  opacity: 0.6;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(11, 15, 20, 0.78);
  border-bottom: 1px solid var(--outline);
}

[data-theme="light"] .site-header {
  background: rgba(245, 247, 251, 0.92);
  border-bottom: 1px solid rgba(11, 20, 38, 0.08);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  position: relative;
  z-index: 2;
}

html[lang="ru"] .nav-wrap {
  flex-wrap: wrap;
  row-gap: 12px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-3));
  color: #0b0f14;
  display: grid;
  place-items: center;
  font-size: 0.9rem;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.95rem;
  color: var(--muted);
}

html[lang="ru"] .nav-links {
  flex: 1 1 520px;
  flex-wrap: wrap;
  column-gap: 16px;
  row-gap: 8px;
  margin-left: 18px;
}

.nav-links a {
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--ink);
}

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

html[lang="ru"] .nav-actions {
  flex: 0 1 auto;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

html[lang="ru"] .nav-actions .btn {
  padding: 10px 14px;
  font-size: 0.88rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn.primary {
  background: linear-gradient(135deg, rgba(0, 179, 164, 0.95), rgba(18, 213, 195, 0.95));
  color: #06120f;
  box-shadow: 0 18px 40px rgba(0, 179, 164, 0.35);
}

.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 45px rgba(0, 179, 164, 0.45);
}

.btn.ghost {
  border-color: var(--outline);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.02);
}

.btn.ghost:hover {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
}

[data-theme="light"] .btn.ghost {
  background: rgba(11, 20, 38, 0.03);
  border-color: rgba(11, 20, 38, 0.12);
}

[data-theme="light"] .btn.ghost:hover {
  background: rgba(11, 20, 38, 0.06);
  border-color: rgba(11, 20, 38, 0.2);
}

.btn:focus-visible {
  outline: 2px solid rgba(0, 179, 164, 0.8);
  outline-offset: 2px;
}

.nav-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--outline);
  border-radius: 12px;
  padding: 8px 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}

[data-theme="light"] .nav-toggle {
  background: rgba(11, 20, 38, 0.04);
}

.page {
  position: relative;
  z-index: 1;
}

.section {
  padding: 90px 0;
  position: relative;
  z-index: 1;
}

.section#proxy-types {
  position: relative;
  overflow: hidden;
}

.section#proxy-types::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("assets/network-topology.svg");
  background-repeat: no-repeat;
  background-size: 1200px auto;
  background-position: center 30px;
  opacity: 0.6;
  pointer-events: none;
  z-index: 0;
}

[data-theme="light"] .section#proxy-types::before {
  background-image: url("assets/network-topology-light.svg");
  opacity: 0.55;
}

.section#proxy-types .container {
  position: relative;
  z-index: 1;
}

.section#use-cases {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #0b0f14 0%, #0e1a20 50%, #0b0f14 100%);
  border-top: 1px solid var(--outline);
  border-bottom: 1px solid var(--outline);
}

.section#use-cases::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMDAiIGhlaWdodD0iMzAwIj4KICA8ZmlsdGVyIGlkPSJuIj4KICAgIDxmZVR1cmJ1bGVuY2UgdHlwZT0iZnJhY3RhbE5vaXNlIiBiYXNlRnJlcXVlbmN5PSIwLjgiIG51bU9jdGF2ZXM9IjQiIHN0aXRjaFRpbGVzPSJzdGl0Y2giIC8+CiAgPC9maWx0ZXI+CiAgPHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsdGVyPSJ1cmwoI24pIiBvcGFjaXR5PSIwLjYiIC8+Cjwvc3ZnPg==");
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
}

[data-theme="light"] .section#use-cases {
  background: linear-gradient(180deg, #f5f7fb 0%, #e9f1f7 50%, #f5f7fb 100%);
}

[data-theme="light"] .section#use-cases::before {
  opacity: 0.03;
}

.section#use-cases .container {
  position: relative;
  z-index: 1;
}

.section.soft {
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--outline);
  border-bottom: 1px solid var(--outline);
}

[data-theme="light"] .section.soft {
  background: var(--bg-strong);
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 44px;
}

.section-head h2 {
  font-size: clamp(2rem, 2.6vw, 2.6rem);
  margin: 0;
}

.section-head p {
  max-width: 520px;
  color: var(--muted);
  margin: 0;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.mono {
  font-family: "IBM Plex Mono", "SFMono-Regular", ui-monospace, monospace;
}

.hero {
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("image/world.svg");
  background-repeat: no-repeat;
  background-size: 1400px auto;
  background-position: center 80px;
  opacity: 0.4;
  filter: blur(0.6px);
  pointer-events: none;
  z-index: 0;
}

[data-theme="light"] .hero::before {
  opacity: 0.18;
  filter: blur(0.4px);
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 50px;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2.6rem, 3.5vw, 3.6rem);
  line-height: 1.05;
  margin: 16px 0 18px;
}

.hero-copy p {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 28px;
}

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

.hero-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--outline);
  font-size: 0.86rem;
  color: var(--muted);
}

[data-theme="light"] .chip {
  background: rgba(11, 20, 38, 0.04);
}

.hero-panel {
  background: var(--surface);
  border-radius: 26px;
  padding: 26px;
  border: 1px solid var(--outline);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(18px);
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: auto -10% -60% -10%;
  height: 60%;
  background: radial-gradient(circle, rgba(255, 106, 0, 0.18), transparent 70%);
}

.terminal {
  background: #0b1118;
  color: #dfe6f2;
  border-radius: 16px;
  padding: 18px;
  font-size: 0.82rem;
  font-family: "IBM Plex Mono", monospace;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  margin-bottom: 22px;
}

.terminal .prompt {
  color: var(--accent);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.metric {
  background: var(--surface-2);
  border-radius: 14px;
  padding: 14px 16px;
  border: 1px solid var(--outline);
  backdrop-filter: blur(14px);
}

.metric h4 {
  margin: 0;
  font-size: 1.2rem;
}

.metric p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

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

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

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

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

.card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--outline);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(16px);
}

.card h3 {
  margin-top: 0;
  font-size: 1.2rem;
}

.card p {
  color: var(--muted);
}

.card .tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 12px;
}

.card.highlight {
  border-color: rgba(0, 179, 164, 0.4);
  box-shadow: 0 20px 50px rgba(0, 179, 164, 0.22);
}

.list {
  display: grid;
  gap: 12px;
  color: var(--muted);
}

.list span {
  display: flex;
  align-items: center;
  gap: 10px;
}

.list span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.strip {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--muted);
  margin-top: 14px;
}

.strip span {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--outline);
  font-size: 0.82rem;
}

[data-theme="light"] .strip span {
  background: rgba(11, 20, 38, 0.04);
}

.map-panel {
  padding: 30px;
  border-radius: 26px;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--outline);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(16px);
}

.map-panel svg {
  width: 100%;
  height: auto;
}

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

.stat {
  padding: 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--outline);
}

[data-theme="light"] .stat {
  background: rgba(11, 20, 38, 0.04);
}

.stat h4 {
  margin: 0;
  font-size: 1.35rem;
}

.stat p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--ink);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0, 179, 164, 0.12);
  color: #8ff3e8;
  font-size: 0.8rem;
  border: 1px solid rgba(0, 179, 164, 0.3);
}

.faq {
  display: grid;
  gap: 14px;
}

details {
  background: var(--surface);
  border-radius: 14px;
  border: 1px solid var(--outline);
  padding: 16px 18px;
  backdrop-filter: blur(12px);
}

summary {
  cursor: pointer;
  font-weight: 600;
}

.cta {
  border-radius: 28px;
  padding: 50px;
  background: linear-gradient(140deg, #0b1118 0%, #0e131a 60%, #101926 100%);
  color: var(--ink);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
  display: grid;
  gap: 18px;
  border: 1px solid var(--outline);
}

.cta p {
  color: rgba(230, 234, 240, 0.7);
  max-width: 520px;
}

.cta .btn.primary {
  background: linear-gradient(135deg, #ff6a00, #ff8a1f);
  color: #130a04;
  box-shadow: 0 18px 40px rgba(255, 106, 0, 0.35);
}

.footer {
  padding: 40px 0 60px;
  border-top: 1px solid var(--outline);
  color: var(--muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 24px;
}

.footer h4 {
  margin: 0 0 12px;
  color: var(--ink);
}

.footer a {
  color: var(--muted);
}

.footer a:hover {
  color: var(--ink);
}

.page-hero {
  padding: 70px 0 30px;
}

.page-hero h1 {
  font-size: clamp(2.4rem, 3vw, 3rem);
  margin: 16px 0;
}

.page-hero p {
  color: var(--muted);
  max-width: 620px;
}

.article {
  background: var(--surface);
  border-radius: 24px;
  padding: 36px;
  border: 1px solid var(--outline);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.article h2 {
  margin-top: 28px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero-grid,
  .grid.three,
  .grid.four,
  .stats,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    position: absolute;
    top: 70px;
    right: 0;
    background: rgba(15, 20, 28, 0.95);
    padding: 16px;
    border-radius: 16px;
    border: 1px solid var(--outline);
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    min-width: 200px;
    display: none;
  }

  [data-theme="light"] .nav-links {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(11, 20, 38, 0.12);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
  }
}

@media (max-width: 720px) {
  .hero {
    padding-top: 60px;
  }

  .section {
    padding: 70px 0;
  }

  .cta {
    padding: 36px;
  }

  .hero-panel {
    min-height: auto !important;
  }

  .hero-panel > div {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }

  .hero-panel > div > div:first-child {
    min-height: 300px !important;
    height: 300px !important;
  }
}

.hero-accent { color: var(--accent-2); }


