:root {
  color-scheme: dark;
  --bg: #09090b;
  --panel: rgba(255, 255, 255, 0.055);
  --panel-strong: rgba(255, 255, 255, 0.095);
  --line: rgba(255, 255, 255, 0.13);
  --text: #f4f4f5;
  --muted: rgba(244, 244, 245, 0.68);
  --soft: rgba(244, 244, 245, 0.48);
  --accent: #a78bfa;
  --accent-strong: #c4b5fd;
  --shadow: 0 24px 90px rgba(0, 0, 0, 0.42);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 16px;
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 15% -10%, rgba(167, 139, 250, 0.26), transparent 34%),
    radial-gradient(circle at 88% 8%, rgba(96, 165, 250, 0.15), transparent 30%),
    linear-gradient(180deg, #111113 0%, var(--bg) 42%, #050506 100%);
  color: var(--text);
}

a { color: inherit; text-decoration: none; }
button, .button { font: inherit; }

.page {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 14px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 14px auto 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(24, 24, 27, 0.72);
  backdrop-filter: blur(24px) saturate(150%);
  box-shadow: var(--shadow);
}

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

.logo {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.36);
}

.brand-title {
  font-size: 18px;
  font-weight: 760;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

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

.nav-link, .lang-button, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.button {
  white-space: nowrap;
}

.nav-link:hover, .lang-button:hover, .button.secondary:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

.lang-switch {
  display: flex;
  align-items: center;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
}

.lang-button {
  min-height: 30px;
  padding: 0 10px;
  font-weight: 700;
}

.lang-button.active {
  color: #171717;
  background: #f4f4f5;
}

.button.primary {
  color: #16131f;
  border-color: rgba(255, 255, 255, 0.22);
  background: linear-gradient(180deg, var(--accent-strong), var(--accent));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.35), 0 16px 48px rgba(167, 139, 250, 0.22);
  font-weight: 780;
}

.button.primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
}

.button.secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.055);
  font-weight: 720;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.86fr);
  align-items: stretch;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 18% 10%, rgba(167, 139, 250, 0.16), transparent 34%),
    radial-gradient(circle at 90% 8%, rgba(96, 165, 250, 0.14), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.066), rgba(255, 255, 255, 0.03));
  box-shadow: var(--shadow);
  backdrop-filter: blur(28px) saturate(145%);
}

.section-card, .legal-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.035));
  box-shadow: var(--shadow);
  backdrop-filter: blur(28px) saturate(145%);
}

.hero-copy {
  min-height: 560px;
  padding: 56px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  color: var(--muted);
  font-weight: 720;
  letter-spacing: -0.02em;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 7px rgba(167, 139, 250, 0.12);
}

h1 {
  margin: 26px 0 18px;
  max-width: 780px;
  font-size: clamp(44px, 7.2vw, 86px);
  line-height: 0.94;
  letter-spacing: -0.018em;
}

.lead {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.45;
  letter-spacing: -0.025em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-visual {
  position: relative;
  overflow: hidden;
  padding: 42px;
  min-height: 560px;
  background:
    radial-gradient(circle at 62% 18%, rgba(167, 139, 250, 0.24), transparent 34%),
    radial-gradient(circle at 50% 62%, rgba(120, 119, 255, 0.18), transparent 42%),
    radial-gradient(circle at 78% 84%, rgba(96, 165, 250, 0.14), transparent 36%),
    linear-gradient(165deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: auto 8% 8% auto;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(167, 139, 250, 0.14);
  filter: blur(64px);
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 10%;
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.stage-card {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  height: 100%;
  min-height: 470px;
  padding: 28px 26px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 34px;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03)),
    radial-gradient(circle at 66% 24%, rgba(167, 139, 250, 0.2), transparent 58%);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.18),
    0 30px 80px rgba(7, 9, 24, 0.44);
  backdrop-filter: blur(16px);
}

.stage-card::before {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 24px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(90deg, rgba(167, 139, 250, 0.24), rgba(96, 165, 250, 0.22));
  filter: blur(38px);
  opacity: 0.8;
  pointer-events: none;
}

.stage-kicker {
  margin: 0;
  color: rgba(244, 244, 245, 0.72);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 780;
}

.vault-core {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 276px;
}

.vault-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  animation: ringBreath 8s ease-in-out infinite;
}

.vault-ring-one {
  width: 296px;
  height: 296px;
}

.vault-ring-two {
  width: 220px;
  height: 220px;
  border-color: rgba(196, 181, 253, 0.2);
  animation-delay: 1.2s;
}

.vault-particle {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(196, 181, 253, 0.95);
  box-shadow: 0 0 22px rgba(196, 181, 253, 0.52);
}

.particle-one {
  top: 12%;
  right: 24%;
  animation: particleFloatOne 6.4s ease-in-out infinite;
}

.particle-two {
  left: 23%;
  bottom: 16%;
  background: #60a5fa;
  box-shadow: 0 0 20px rgba(96, 165, 250, 0.44);
  animation: particleFloatTwo 7.6s ease-in-out infinite;
}

.vault-shell {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 188px;
  height: 188px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.04)),
    radial-gradient(circle at 28% 4%, rgba(196, 181, 253, 0.3), transparent 60%);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.22),
    0 28px 90px rgba(10, 11, 30, 0.45);
  animation: shellLift 7.2s ease-in-out infinite;
}

.secure-lock {
  position: relative;
  z-index: 1;
  display: block;
  width: 102px;
  height: 102px;
  filter: drop-shadow(0 20px 40px rgba(117, 78, 255, 0.34));
  animation: logoPulse 5.4s ease-in-out infinite;
}

.signal-row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.signal-pill {
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(140deg, rgba(167, 139, 250, 0.18), rgba(96, 165, 250, 0.07)),
    rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.16);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.signal-pill:hover {
  transform: translateY(-2px);
  border-color: rgba(196, 181, 253, 0.34);
  background:
    linear-gradient(140deg, rgba(167, 139, 250, 0.24), rgba(96, 165, 250, 0.11)),
    rgba(255, 255, 255, 0.06);
}

.signal-pill strong {
  display: block;
  font-size: 14px;
  font-weight: 780;
  letter-spacing: -0.01em;
}

.signal-pill small {
  display: block;
  margin-top: 3px;
  color: var(--soft);
  font-size: 11px;
  letter-spacing: -0.01em;
}

.stage-track {
  position: relative;
  z-index: 1;
  height: 9px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.stage-track-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 68%;
  background: linear-gradient(90deg, rgba(167, 139, 250, 0.95), rgba(96, 165, 250, 0.95));
  animation: trackMove 5s ease-in-out infinite;
}

.stage-track-dot {
  position: absolute;
  top: 50%;
  left: calc(68% - 7px);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #c4b5fd;
  box-shadow: 0 0 18px rgba(196, 181, 253, 0.55);
  transform: translateY(-50%);
  animation: dotMove 5s ease-in-out infinite;
}

@keyframes ringBreath {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.03); opacity: 1; }
}

@keyframes particleFloatOne {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(6px, -8px); }
}

@keyframes particleFloatTwo {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-6px, 7px); }
}

@keyframes shellLift {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

@keyframes logoPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}

@keyframes trackMove {
  0%, 100% { width: 68%; }
  50% { width: 78%; }
}

@keyframes dotMove {
  0%, 100% { left: calc(68% - 7px); }
  50% { left: calc(78% - 7px); }
}

.sections {
  display: grid;
  gap: 18px;
  padding: 28px 0;
}

.section-card {
  padding: 34px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin-bottom: 24px;
}

.section-kicker {
  margin: 0 0 8px;
  color: var(--accent-strong);
  font-weight: 800;
}

h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 48px);
  letter-spacing: -0.014em;
}

.section-note {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.feature {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.045);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  border-radius: 16px;
  color: var(--accent-strong);
  background: rgba(167, 139, 250, 0.12);
  font-size: 27px;
  font-weight: 820;
  line-height: 1;
}

.feature-icon.text-icon {
  font-size: 18px;
  letter-spacing: 0.03em;
}

.feature h3, .faq-item summary {
  margin: 0 0 8px;
  font-size: 20px;
  letter-spacing: -0.014em;
}

.feature p, .faq-item p, .legal-card p, .legal-card li {
  color: var(--muted);
  line-height: 1.55;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  counter-reset: step;
}

.step {
  counter-increment: step;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.045);
}

.step::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-bottom: 24px;
  border-radius: 50%;
  color: #171717;
  background: #f4f4f5;
  font-weight: 820;
}

.step h3 { margin: 0 0 8px; }
.step p { margin: 0; color: var(--muted); line-height: 1.45; }

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

.faq-item {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
  overflow: hidden;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 19px 20px;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--muted); font-size: 24px; }
.faq-item[open] summary::after { content: "-"; }
.faq-item p { margin: 0; padding: 0 20px 20px; }

.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.cta .button {
  flex: 0 0 auto;
  min-width: max-content;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 30px 0 46px;
  color: var(--soft);
}

.footer-links {
  display: flex;
  gap: 14px;
}

.legal-page {
  padding-bottom: 54px;
}

.legal-card {
  padding: clamp(26px, 5vw, 54px);
}

.legal-card h1 {
  font-size: clamp(42px, 6vw, 72px);
  letter-spacing: -0.01em;
}
.legal-card h2 { margin-top: 34px; font-size: 26px; }
.legal-card ul { padding-left: 22px; }

[data-lang] { display: none; }
html[lang="ru"] [data-lang="ru"], html[lang="en"] [data-lang="en"] { display: revert; }

@media (max-width: 920px) {
  .topbar { align-items: flex-start; border-radius: 24px; flex-wrap: wrap; }
  .nav { width: 100%; justify-content: space-between; flex-wrap: wrap; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { min-height: auto; padding: 34px; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
  .hero-visual, .stage-card { min-height: auto; }
  .feature-grid, .steps { grid-template-columns: 1fr; }
  .section-header, .cta, .footer { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 560px) {
  .page { width: min(100% - 22px, 1180px); }
  .brand-title { font-size: 16px; }
  .nav-link { display: none; }
  .hero-copy, .section-card, .legal-card { padding: 24px; border-radius: 24px; }
  .hero-visual { padding: 24px; }
  .stage-card { padding: 18px; border-radius: 24px; gap: 14px; }
  .vault-core { min-height: 214px; }
  .vault-ring-one { width: 230px; height: 230px; }
  .vault-ring-two { width: 168px; height: 168px; }
  .vault-shell { width: 140px; height: 140px; border-radius: 34px; }
  .secure-lock { width: 78px; height: 78px; }
  .signal-row { grid-template-columns: 1fr; gap: 8px; }
  .signal-pill { padding: 10px 11px; }
  h1 { font-size: 46px; }
  .lead { font-size: 17px; }
  .button { width: 100%; }
  .hero-actions { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .vault-ring,
  .vault-particle,
  .vault-shell,
  .secure-lock,
  .stage-track-fill,
  .stage-track-dot {
    animation: none !important;
  }
}
