:root {
  --bg: #0b1220;
  --fg: #e8eef8;
  --muted: #9aa8bf;
  --accent: #3b82f6;
  --accent-2: #06b6d4;
  --card: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.12);
  --radius: 16px;
  --font: "Segoe UI", "PingFang SC", "Noto Sans SC", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  min-height: 100%;
  font-family: var(--font);
  color: var(--fg);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(59, 130, 246, 0.35), transparent 55%),
    radial-gradient(900px 500px at 90% 0%, rgba(6, 182, 212, 0.25), transparent 50%),
    var(--bg);
}

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

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 24px;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.brand span { color: var(--muted); font-weight: 500; font-size: 14px; }

.lang {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: var(--card);
}
.lang button {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 8px 14px;
  cursor: pointer;
  font: inherit;
}
.lang button.on {
  background: rgba(59, 130, 246, 0.25);
  color: #fff;
}

.hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 24px 32px;
  display: grid;
  gap: 28px;
}
.hero h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.1;
  max-width: 16ch;
  letter-spacing: -0.03em;
}
.hero p {
  margin: 0;
  max-width: 52ch;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.65;
}
.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  cursor: pointer;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
}
.btn-ghost {
  border-color: var(--line);
  background: transparent;
  color: var(--fg);
}

.grid {
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 24px 64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 860px) {
  .grid { grid-template-columns: 1fr; }
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}
.card h3 { margin: 0 0 8px; font-size: 1.05rem; }
.card p { margin: 0; color: var(--muted); line-height: 1.55; font-size: 0.95rem; }

.foot {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px 40px;
  color: var(--muted);
  font-size: 13px;
}
