:root {
  --bg: #061419;
  --bg-soft: #0d232b;
  --surface: #112e37;
  --text: #e9f9f5;
  --muted: #abd4c9;
  --line: #2f5f5f;
  --primary: #39d0ac;
  --accent: #f4b860;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Noto Sans SC", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 20% -10%, #1f5f5f66, transparent 45%),
    radial-gradient(circle at 80% 0%, #8f643033, transparent 35%),
    linear-gradient(180deg, var(--bg) 0%, #041015 100%);
  line-height: 1.65;
  overflow-x: hidden;
}

.container {
  width: min(1040px, calc(100% - 2.4rem));
  margin-inline: auto;
}

.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
  pointer-events: none;
  z-index: -1;
}

.orb-a {
  width: 340px;
  height: 340px;
  background: #2f907d;
  top: -60px;
  left: -80px;
}

.orb-b {
  width: 280px;
  height: 280px;
  background: #9f7b35;
  top: 200px;
  right: -80px;
}

.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(8px);
  background: #041015bb;
  border-bottom: 1px solid #214144;
  z-index: 30;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
}

.logo {
  text-decoration: none;
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 1.2rem;
}

.logo span {
  color: var(--primary);
}

nav {
  display: flex;
  gap: 1rem;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}

.hero {
  padding: 4.2rem 0 2.5rem;
}

.kicker {
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.8rem;
}

h1,
h2,
h3 {
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.18;
  margin-top: 0;
}

h1 {
  font-size: clamp(1.9rem, 4vw, 3.5rem);
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  margin-bottom: 1rem;
}

.lead {
  max-width: 760px;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  gap: 0.8rem;
  margin: 1.4rem 0 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.74rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease, opacity 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(120deg, var(--primary), #2dc7df);
  color: #062527;
}

.btn-ghost {
  border: 1px solid #3e7171;
  color: var(--text);
}

.disclaimer {
  font-size: 0.9rem;
  color: #c6a366;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.stats article {
  background: #102931cc;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem;
}

.stats h3 {
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.stats p {
  margin: 0;
  color: var(--muted);
}

.panel {
  margin: 1rem auto;
  padding: 1.2rem;
  background: #102830b8;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.flow {
  margin: 0;
  padding-left: 1.2rem;
}

pre {
  margin: 1rem 0 0;
  background: #06141a;
  border: 1px solid #24484a;
  border-radius: 10px;
  overflow: auto;
}

code {
  font-family: "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.9rem;
}

pre code {
  display: block;
  padding: 0.9rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1rem auto;
}

.card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.steps h3 {
  margin-bottom: 0.5rem;
}

.steps p {
  margin: 0;
  color: var(--muted);
}

details {
  border-top: 1px solid #2d5455;
  padding: 0.7rem 0;
}

details:first-of-type {
  border-top: none;
}

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

.site-footer {
  border-top: 1px solid #1f4042;
  margin-top: 2rem;
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0 2rem;
  color: var(--muted);
  font-size: 0.9rem;
}

a {
  color: #69e2c2;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 500ms ease, transform 500ms ease;
}

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

@media (max-width: 900px) {
  .stats,
  .grid,
  .steps {
    grid-template-columns: 1fr;
  }

  nav {
    display: none;
  }

  .hero {
    padding-top: 2.6rem;
  }

  .footer-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.lang-switch {
  display: inline-flex;
  border: 1px solid #3e7171;
  border-radius: 999px;
  overflow: hidden;
}

.lang-btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 0.36rem 0.64rem;
  font-size: 0.78rem;
  cursor: pointer;
}

.lang-btn.active {
  background: #1f5f5f;
  color: var(--text);
}

.lang-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  text-decoration: none;
  padding: 0.36rem 0.64rem;
  font-size: 0.78rem;
}

.lang-link.active {
  background: #1f5f5f;
  color: var(--text);
}

@media (max-width: 900px) {
  .nav-right {
    width: 100%;
    justify-content: flex-end;
  }

  .lang-switch {
    margin-left: auto;
  }
}
