:root {
  --bg: #111111;
  --panel: #1c1c1c;
  --panel-border: rgba(255, 255, 255, 0.08);
  --text-primary: #ffffff;
  --text-secondary: #c7c7c7;
  --text-muted: #909093;
  --accent: #7b5cff;
  --accent-soft: rgba(143, 93, 230, 0.22);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.75;
  color: var(--text-secondary);
  background: var(--bg);
  min-height: 100vh;
  padding: 28px 16px 48px;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  background: var(--panel);
  border-radius: 24px;
  border: 1px solid var(--panel-border);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
  padding: 36px 28px;
}

.lang-switch {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.9rem;
}

.lang-switch a {
  color: var(--text-muted);
  text-decoration: none;
}

.lang-switch a[aria-current="page"] {
  color: #fff;
  font-weight: 600;
}

h1 {
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--accent-soft);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.2px;
}

.lead {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 28px;
  font-size: 1.05rem;
}

h2 {
  color: var(--text-primary);
  margin: 28px 0 14px;
  font-size: 1.22rem;
  font-weight: 600;
  padding-left: 12px;
  border-left: 3px solid #8848ff;
}

p {
  margin-bottom: 14px;
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.85;
}

ul {
  margin: 12px 0 20px 24px;
}

li {
  margin-bottom: 8px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin: 28px 0 8px;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
}

.cta--primary {
  color: #fff;
  background: linear-gradient(135deg, #4f6ef7 0%, #6a5af8 55%, #7b5cff 100%);
}

.cta--secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.nav-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin: 20px 0 8px;
}

.nav-card {
  display: block;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid var(--panel-border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
}

.nav-card span {
  display: block;
  margin-top: 6px;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 400;
}

.footer-links {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid var(--panel-border);
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-links a {
  color: #c4b5fd;
  text-decoration: none;
  margin: 0 8px;
}

@media (max-width: 640px) {
  .container {
    padding: 28px 18px;
    border-radius: 18px;
  }

  h1 {
    font-size: 1.55rem;
  }
}
