:root {
  color-scheme: dark;
  --bg: #070812;
  --bg-2: #0d0b1d;
  --ink: #fbf7ff;
  --muted: #c6c4dc;
  --soft: #9da0c2;
  --panel: rgba(21, 18, 43, 0.82);
  --panel-2: rgba(30, 24, 58, 0.88);
  --line: rgba(166, 139, 255, 0.24);
  --gold-line: rgba(238, 198, 99, 0.35);
  --violet: #9d5cff;
  --pink: #d24bff;
  --blue: #5f86ff;
  --gold: #f0c86a;
  --aqua: #6ad4ff;
  --radius: 8px;
  --max: 1160px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 18%, rgba(157, 92, 255, 0.22), transparent 24rem),
    radial-gradient(circle at 86% 8%, rgba(95, 134, 255, 0.2), transparent 22rem),
    radial-gradient(circle at 60% 52%, rgba(210, 75, 255, 0.08), transparent 30rem),
    linear-gradient(180deg, #050611, var(--bg), #0b0a18);
  font-family: Inter, Segoe UI, Arial, sans-serif;
  line-height: 1.65;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.88) 0 1px, transparent 1.6px),
    radial-gradient(circle, rgba(189, 203, 255, 0.7) 0 1px, transparent 1.5px),
    radial-gradient(circle, rgba(240, 200, 106, 0.62) 0 1px, transparent 1.6px);
  background-position: 24px 38px, 108px 146px, 198px 78px;
  background-size: 230px 230px, 310px 310px, 390px 390px;
  opacity: 0.32;
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(180deg, rgba(5, 6, 17, 0.08), rgba(5, 6, 17, 0.82)),
    radial-gradient(circle at 50% 10%, transparent 0 10rem, rgba(5, 6, 17, 0.1) 10rem 10.1rem, transparent 10.2rem);
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(176, 156, 255, 0.16);
  background: rgba(6, 7, 18, 0.84);
  backdrop-filter: blur(16px);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: Georgia, Times New Roman, serif;
  font-size: 21px;
  font-weight: 700;
}

.brand-mark {
  position: relative;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(240, 200, 106, 0.48);
  border-radius: 50%;
  background: rgba(157, 92, 255, 0.16);
  box-shadow: 0 0 24px rgba(157, 92, 255, 0.55);
}

.brand-mark::before,
.brand-mark::after {
  position: absolute;
  content: "";
  border-radius: 50%;
}

.brand-mark::before {
  inset: 8px;
  border: 1px solid rgba(106, 212, 255, 0.5);
}

.brand-mark::after {
  top: 6px;
  left: 16px;
  width: 4px;
  height: 24px;
  background: linear-gradient(180deg, transparent, var(--gold), transparent);
  transform: rotate(38deg);
}

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

.nav a,
.lang-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 14px;
}

.nav a:hover,
.nav a[aria-current="page"],
.lang-link:hover {
  color: var(--ink);
  border-color: rgba(157, 92, 255, 0.34);
  background: rgba(157, 92, 255, 0.13);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(176, 156, 255, 0.24);
  border-radius: var(--radius);
  background: rgba(16, 14, 34, 0.9);
  color: var(--ink);
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  content: "";
  border-radius: 99px;
  background: currentColor;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Georgia, Times New Roman, serif;
  line-height: 1.08;
}

h1 {
  max-width: 820px;
  font-size: 72px;
}

h2 {
  font-size: 42px;
}

h3 {
  font-size: 22px;
}

.accent {
  color: var(--pink);
}

.hero {
  padding: 72px 0 36px;
}

.hero-grid,
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.84fr);
  align-items: center;
  gap: 42px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  padding: 6px 12px;
  border: 1px solid rgba(157, 92, 255, 0.36);
  border-radius: 999px;
  color: #e2d6ff;
  background: rgba(157, 92, 255, 0.12);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0;
}

.eyebrow::before {
  width: 8px;
  height: 8px;
  content: "";
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 18px rgba(240, 200, 106, 0.9);
}

.lead {
  max-width: 760px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid rgba(157, 92, 255, 0.62);
  border-radius: var(--radius);
  color: #fff;
  background: linear-gradient(135deg, #c034ef, #5f86ff);
  font-weight: 800;
  box-shadow: 0 18px 46px rgba(112, 78, 255, 0.3);
}

.button.secondary {
  border-color: rgba(240, 200, 106, 0.36);
  color: #ffe6a9;
  background: rgba(240, 200, 106, 0.08);
  box-shadow: none;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.chips li {
  padding: 6px 10px;
  border: 1px solid rgba(176, 156, 255, 0.2);
  border-radius: 999px;
  color: var(--soft);
  background: rgba(15, 13, 32, 0.82);
  font-size: 13px;
}

.hero-visual,
.image-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(176, 156, 255, 0.22);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.hero-visual img {
  width: 100%;
  height: 470px;
  object-fit: cover;
}

.image-panel img {
  width: 100%;
  height: 390px;
  object-fit: cover;
}

.hero-visual::after,
.image-panel::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 50% 50%, transparent 0 8rem, rgba(240, 200, 106, 0.18) 8.1rem 8.2rem, transparent 8.3rem),
    linear-gradient(180deg, rgba(7, 8, 18, 0.06), rgba(7, 8, 18, 0.68));
}

.visual-badge {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  max-width: calc(100% - 32px);
  padding: 10px 12px;
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  color: #ffe7ac;
  background: rgba(7, 8, 18, 0.82);
  font-size: 13px;
}

.stat-band {
  padding: 18px 0;
  border-top: 1px solid rgba(176, 156, 255, 0.14);
  border-bottom: 1px solid rgba(176, 156, 255, 0.14);
  background: rgba(9, 9, 24, 0.8);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(176, 156, 255, 0.14);
  border-radius: var(--radius);
}

.stat {
  min-height: 72px;
  padding: 14px 16px;
  background: rgba(25, 20, 50, 0.66);
}

.stat strong {
  display: block;
  font-size: 20px;
}

.stat span {
  color: var(--soft);
  font-size: 13px;
}

.section {
  padding: 72px 0;
}

.section.compact {
  padding-top: 44px;
}

.section-head {
  max-width: 780px;
  margin-bottom: 30px;
}

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

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

.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,
.topic-card,
.step-card,
.faq-item,
.related-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.card,
.topic-card,
.step-card,
.related-card {
  padding: 22px;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.2);
}

.card:hover,
.related-card:hover {
  border-color: var(--gold-line);
  transform: translateY(-2px);
}

.card,
.related-card {
  transition: border-color 160ms ease, transform 160ms ease;
}

.card h3,
.topic-card h3,
.step-card h3,
.related-card h3 {
  margin-bottom: 10px;
}

.card p,
.topic-card p,
.step-card p,
.related-card p {
  margin: 0;
  color: var(--muted);
}

.topic-card {
  min-height: 178px;
}

.topic-card strong {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--gold);
  font-family: Georgia, Times New Roman, serif;
  font-size: 22px;
}

.steps {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.step-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #100c20;
  background: var(--gold);
  font-weight: 900;
}

.content-list {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.content-list li {
  padding: 14px 16px;
  border-left: 3px solid var(--pink);
  border-radius: var(--radius);
  color: var(--muted);
  background: rgba(157, 92, 255, 0.09);
}

.page-hero {
  padding: 56px 0 28px;
}

.breadcrumb {
  margin-bottom: 20px;
  color: var(--soft);
  font-size: 14px;
}

.breadcrumb a {
  color: #dfd3ff;
}

.faq-grid {
  display: grid;
  gap: 12px;
}

.faq-item {
  padding: 0;
}

.faq-item summary {
  cursor: pointer;
  padding: 18px 20px;
  color: var(--ink);
  font-weight: 800;
}

.faq-item p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
}

.related-card {
  display: block;
  min-height: 164px;
}

.related-card span {
  display: inline-flex;
  margin-top: 16px;
  color: var(--gold);
  font-weight: 800;
}

.site-footer {
  padding: 34px 0 46px;
  border-top: 1px solid rgba(176, 156, 255, 0.14);
  color: var(--soft);
  background: rgba(5, 6, 17, 0.78);
}

.footer-grid {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

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

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

.media-credit {
  margin-top: 8px;
  color: #7f83a5;
  font-size: 12px;
}

@media (max-width: 920px) {
  .nav-toggle {
    display: inline-block;
  }

  .nav {
    position: absolute;
    top: 68px;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid rgba(176, 156, 255, 0.18);
    border-radius: var(--radius);
    background: rgba(7, 8, 18, 0.97);
    box-shadow: var(--shadow);
  }

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

  .nav a,
  .lang-link {
    justify-content: center;
  }

  .hero-grid,
  .split {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 50px;
  }

  h2 {
    font-size: 34px;
  }

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

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

@media (max-width: 620px) {
  .container {
    width: min(100% - 28px, var(--max));
  }

  .hero {
    padding-top: 44px;
  }

  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 29px;
  }

  .lead {
    font-size: 16px;
  }

  .actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .grid.two,
  .grid.three,
  .grid.four,
  .stats {
    grid-template-columns: 1fr;
  }

  .hero-visual img,
  .image-panel img {
    height: 300px;
  }

  .section {
    padding: 54px 0;
  }

  .footer-grid {
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}
