:root {
  --bg: #050914;
  --bg-soft: #0a1224;
  --ink: #0f172a;
  --muted: #94a3b8;
  --muted-dark: #64748b;
  --line: #e2e8f0;
  --blue: #3b82f6;
  --violet: #a855f7;
  --cyan: #22d3ee;
  --gradient: linear-gradient(90deg, #3b82f6 0%, #8b5cf6 55%, #a855f7 100%);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --font: "Manrope", "Segoe UI", sans-serif;
  /* Фиксированная ширина контента — как на proxy-seller: на широких экранах растут только поля */
  --max: 1120px;
  --page-pad: 24px;
  --form-width: 400px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: #e2e8f0;
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

button,
input,
textarea {
  font: inherit;
}

.page {
  position: relative;
  overflow: clip;
  min-height: 100vh;
}

.bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 55% at 18% 35%, rgba(37, 99, 235, 0.16), transparent 60%),
    radial-gradient(ellipse 50% 45% at 78% 70%, rgba(124, 58, 237, 0.12), transparent 55%),
    linear-gradient(180deg, #060b18 0%, #050914 55%, #04070f 100%);
}

.bg-orbits {
  position: absolute;
  inset: 0;
}

.orbit {
  position: absolute;
  border: 1px solid rgba(96, 165, 250, 0.12);
  border-radius: 50%;
}

.orbit-1 {
  width: 720px;
  height: 720px;
  left: -220px;
  top: -120px;
}

.orbit-2 {
  width: 980px;
  height: 980px;
  left: -300px;
  top: -220px;
  border-color: rgba(96, 165, 250, 0.08);
}

.orbit-3 {
  width: 520px;
  height: 520px;
  right: -120px;
  bottom: -80px;
  border-color: rgba(167, 139, 250, 0.1);
}

.orbit-4 {
  width: 360px;
  height: 360px;
  left: 18%;
  top: 42%;
  border-color: rgba(34, 211, 238, 0.08);
}

.bg-dots span {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #60a5fa;
  box-shadow: 0 0 12px rgba(96, 165, 250, 0.9);
  animation: pulse 3.6s ease-in-out infinite;
}

.bg-dots span:nth-child(1) { top: 18%; left: 12%; }
.bg-dots span:nth-child(2) { top: 28%; left: 38%; animation-delay: 0.4s; }
.bg-dots span:nth-child(3) { top: 14%; left: 58%; animation-delay: 0.8s; background: #a78bfa; box-shadow: 0 0 12px rgba(167, 139, 250, 0.9); }
.bg-dots span:nth-child(4) { top: 46%; left: 22%; animation-delay: 1.1s; }
.bg-dots span:nth-child(5) { top: 62%; left: 8%; animation-delay: 0.2s; background: #22d3ee; box-shadow: 0 0 12px rgba(34, 211, 238, 0.85); }
.bg-dots span:nth-child(6) { top: 72%; left: 42%; animation-delay: 1.5s; }
.bg-dots span:nth-child(7) { top: 36%; left: 70%; animation-delay: 0.6s; }
.bg-dots span:nth-child(8) { top: 80%; left: 66%; animation-delay: 1.8s; background: #a78bfa; box-shadow: 0 0 12px rgba(167, 139, 250, 0.9); }
.bg-dots span:nth-child(9) { top: 22%; left: 84%; animation-delay: 1.2s; }
.bg-dots span:nth-child(10) { top: 54%; left: 88%; animation-delay: 0.9s; }

.bg-glow {
  position: absolute;
  width: 420px;
  height: 420px;
  right: 8%;
  top: 18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.18), transparent 70%);
  filter: blur(20px);
}

@keyframes pulse {
  0%, 100% { opacity: 0.35; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.15); }
}

.hero {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: 100vh;
  width: 100%;
  padding: 64px 0;
}

.lang-switch {
  position: absolute;
  top: 20px;
  right: max(20px, calc((100% - var(--max)) / 2 + var(--page-pad)));
  z-index: 5;
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(148, 163, 184, 0.25);
  backdrop-filter: blur(10px);
}

.lang-switch button {
  appearance: none;
  border: 0;
  cursor: pointer;
  min-width: 42px;
  padding: 7px 12px;
  border-radius: 999px;
  background: transparent;
  color: #94a3b8;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: background 0.2s ease, color 0.2s ease;
}

.lang-switch button:hover {
  color: #e2e8f0;
}

.lang-switch button.is-active {
  background: linear-gradient(90deg, rgba(59, 130, 246, 0.95), rgba(168, 85, 247, 0.95));
  color: #fff;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--page-pad);
  box-sizing: border-box;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--form-width);
  gap: 48px;
  align-items: center;
  width: 100%;
}

.hero-copy {
  min-width: 0;
  max-width: 560px;
}

.hero-copy h1 {
  margin: 0;
  font-size: 3.25rem;
  line-height: 1.12;
  letter-spacing: -0.04em;
  font-weight: 800;
  color: #f8fafc;
}

.accent {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.title-rule {
  display: block;
  width: 56px;
  height: 3px;
  margin: 18px 0 20px;
  border-radius: 999px;
  background: linear-gradient(90deg, #3b82f6, #60a5fa);
}

.hero-lead {
  margin: 0 0 40px;
  max-width: 38ch;
  color: #94a3b8;
  font-size: 1.08rem;
  line-height: 1.65;
}

.features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}

.features li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(15, 23, 42, 0.65);
}

.feature-icon--blue {
  color: #60a5fa;
  box-shadow: 0 0 22px rgba(59, 130, 246, 0.28);
}

.feature-icon--violet {
  color: #c084fc;
  box-shadow: 0 0 22px rgba(168, 85, 247, 0.28);
}

.feature-icon--cyan {
  color: #22d3ee;
  box-shadow: 0 0 22px rgba(34, 211, 238, 0.24);
}

.features strong {
  display: block;
  margin-bottom: 4px;
  color: #f1f5f9;
  font-size: 0.98rem;
  font-weight: 700;
}

.features span:last-child {
  color: #94a3b8;
  font-size: 0.84rem;
  line-height: 1.4;
}

.lead-form {
  background: #fff;
  color: var(--ink);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 32px 30px 24px;
  width: var(--form-width);
  max-width: 100%;
  justify-self: end;
}

.lead-form h2 {
  margin: 0 0 8px;
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0f172a;
}

.form-lead {
  margin: 0 0 22px;
  color: var(--muted-dark);
  font-size: 0.95rem;
  line-height: 1.5;
}

.field {
  position: relative;
  display: block;
  margin-bottom: 12px;
}

.field-icon {
  position: absolute;
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
  color: #94a3b8;
  display: inline-flex;
  pointer-events: none;
}

.field-textarea .field-icon {
  top: 14px;
  transform: none;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 13px 14px 13px 42px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  resize: vertical;
}

.field textarea {
  min-height: 108px;
  line-height: 1.5;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #94a3b8;
}

.field input:focus,
.field textarea:focus {
  border-color: #93c5fd;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.field.invalid input,
.field.invalid textarea {
  border-color: #ef4444;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  cursor: pointer;
  border-radius: 12px;
  font-weight: 700;
  transition: opacity 0.15s ease, transform 0.15s ease, filter 0.15s ease;
}

.btn:active:not(:disabled) {
  transform: translateY(1px);
}

.btn-primary {
  width: 100%;
  padding: 15px 18px;
  background: var(--gradient);
  color: #fff;
  font-size: 1rem;
  box-shadow: 0 12px 28px rgba(99, 102, 241, 0.35);
}

.btn-primary:hover:not(:disabled) {
  filter: brightness(1.06);
}

.btn-primary:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
  filter: grayscale(0.2);
}

.form-note {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 14px 0 0;
  color: #94a3b8;
  font-size: 0.78rem;
  text-align: center;
  line-height: 1.45;
}

.form-note a {
  color: #a5b4fc;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-note a:hover {
  color: #c7d2fe;
}

.form-success {
  margin: 12px 0 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: #ecfdf5;
  color: #047857;
  font-size: 0.9rem;
  text-align: center;
}

.form-error {
  margin: 12px 0 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fef2f2;
  color: #b91c1c;
  font-size: 0.9rem;
  text-align: center;
}

.btn-primary.is-loading {
  opacity: 0.7;
  pointer-events: none;
}

@media (max-width: 980px) {
  .hero {
    padding: 48px 0 56px;
    min-height: auto;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero-copy {
    max-width: none;
  }

  .hero-copy h1 {
    font-size: 2.5rem;
  }

  .hero-lead {
    max-width: none;
  }

  .lead-form {
    width: 100%;
    justify-self: stretch;
  }

  .features {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .features li {
    flex-direction: row;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  :root {
    --page-pad: 16px;
  }

  .lead-form {
    padding: 24px 18px 18px;
  }

  .hero-copy h1 {
    font-size: 2.1rem;
  }
}

.grecaptcha-badge {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

#__ymDebuggerOpener,
iframe[name="__ymDebuggerOpener"],
div[id^="__ymDebugger"] {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
