:root {
  --bg: #0b1220;
  --panel: #121a2b;
  --panel-2: #18233a;
  --text: #edf2f7;
  --muted: #a7b3c9;
  --line: #2a3856;
  --accent: #6ea8fe;
  --accent-2: #8ef0c1;
  --max: 1180px;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(0,0,0,.28);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top right, rgba(110,168,254,.16), transparent 28%),
    radial-gradient(circle at top left, rgba(142,240,193,.10), transparent 22%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(var(--max), calc(100% - 2rem)); margin: 0 auto; }
.section { padding: 72px 0; }
.section-sm { padding: 56px 0; }
.eyebrow {
  display: inline-block;
  padding: .35rem .75rem;
  border: 1px solid rgba(110,168,254,.35);
  border-radius: 999px;
  color: var(--accent);
  font-size: .88rem;
  letter-spacing: .02em;
  background: rgba(110,168,254,.08);
}
.section-title {
  margin: 16px 0 12px;
  font-size: clamp(1.8rem, 2vw + 1rem, 3rem);
  line-height: 1.1;
}
.section-lead {
  max-width: 820px;
  color: var(--muted);
  font-size: 1.05rem;
}
header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  background: rgba(11,18,32,.74);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 74px;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-weight: 700;
  letter-spacing: .01em;
}
.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 10px 24px rgba(110,168,254,.25);
}
.nav-links, .nav-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.nav-links a, .lang-switch a {
  color: var(--muted);
  font-size: .96rem;
}
.nav-links a:hover,
.nav-links a:focus-visible,
.lang-switch a:hover,
.lang-switch a:focus-visible,
.lang-switch a.active {
  color: var(--text);
}
.lang-switch {
  display: flex;
  gap: .6rem;
  padding-left: .8rem;
  border-left: 1px solid rgba(255,255,255,.12);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .92rem 1.2rem;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), #528ef1);
  color: white;
  box-shadow: 0 14px 28px rgba(110,168,254,.25);
}
.btn-secondary {
  background: rgba(255,255,255,.03);
  color: var(--text);
  border-color: rgba(255,255,255,.12);
}
.btn-ghost {
  background: transparent;
  border-color: rgba(255,255,255,.12);
  color: var(--muted);
}
.hero { padding: 82px 0 56px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 2rem;
  align-items: center;
}
.hero h1 {
  margin: 18px 0 16px;
  font-size: clamp(2.4rem, 4vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: -.03em;
}
.hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.12rem;
}
.hero-actions {
  display: flex;
  gap: .9rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}
.hero-card,
.card,
.panel {
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero-card { padding: 1.35rem; }
.hero-card h3 { margin-top: 0; }
.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.4rem;
}
.metric {
  padding: 1rem;
  border-radius: 14px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
}
.metric strong {
  display: block;
  font-size: 1.35rem;
  margin-bottom: .2rem;
}
.metric span { color: var(--muted); font-size: .95rem; }
.grid-2, .grid-3 { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card { padding: 1.3rem; }
.card h3, .card h4 { margin-top: 0; }
.card p, .card li { color: var(--muted); }
.card ul { padding-left: 1.1rem; margin-bottom: 0; }
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1rem;
}
.tag {
  padding: .42rem .68rem;
  border-radius: 999px;
  font-size: .88rem;
  background: rgba(110,168,254,.08);
  border: 1px solid rgba(110,168,254,.18);
  color: #cfe1ff;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
  align-items: start;
}
.timeline {
  position: relative;
  padding-left: 1rem;
  margin: 0;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: .4rem;
  bottom: .4rem;
  width: 2px;
  background: linear-gradient(var(--accent), transparent);
}
.timeline-item {
  position: relative;
  padding-left: 1rem;
  margin-bottom: 1.2rem;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -.34rem;
  top: .45rem;
  width: .7rem;
  height: .7rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(110,168,254,.12);
}
.diagram {
  padding: 1.35rem;
  overflow-x: auto;
  font-family: "JetBrains Mono", "Fira Code", monospace;
  font-size: .92rem;
  color: #d8e5ff;
  background: #0e1627;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.08);
  white-space: pre;
}
.steps {
  counter-reset: step;
  display: grid;
  gap: 1rem;
}
.step {
  padding: 1rem 1rem 1rem 4rem;
  position: relative;
  border-radius: 14px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 1rem;
  top: 1rem;
  width: 2.2rem;
  height: 2.2rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-weight: 700;
  color: white;
  background: linear-gradient(135deg, var(--accent), #4d7fe0);
}
.cta {
  padding: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.cta p { margin: 0; color: var(--muted); }
footer {
  padding: 28px 0 60px;
  color: var(--muted);
  border-top: 1px solid rgba(255,255,255,.08);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
}
.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
code.inline {
  padding: .2rem .42rem;
  border-radius: .45rem;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.06);
  font-family: "JetBrains Mono", monospace;
  font-size: .9em;
  color: #dbeafe;
}
@media (max-width: 980px) {
  .hero-grid,
  .split,
  .grid-2,
  .grid-3 { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav {
    flex-direction: column;
    align-items: stretch;
    padding: .8rem 0;
  }
  .nav-group {
    flex-direction: column;
    align-items: stretch;
  }
    .brand-logo-shell {
    min-height: 52px;
    padding: 0.25rem 0.4rem;
    border-radius: 12px;
  }

  .logo {
    height: 42px;
  }

  .brand-text {
    font-size: 0.98rem;
  }
  .nav-links { justify-content: space-between; }
  .lang-switch {
    padding-left: 0;
    border-left: 0;
    padding-top: .4rem;
  }
  .hero { padding-top: 42px; }
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.brand-logo-shell {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.5rem;
  min-height: 64px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
  flex-shrink: 0;
}

.logo {
  display: block;
  height: 52px;
  width: auto;
  max-width: none;
}

.brand-text {
  font-size: 1.08rem;
  color: var(--text);
  white-space: nowrap;
}
