:root {
  --bg: #0b1220;
  --bg-elevated: #121a2b;
  --bg-card: #151f33;
  --border: rgba(148, 163, 184, 0.14);
  --text: #e8eef7;
  --text-muted: #94a3b8;
  --brand: #1d4ed8;
  --brand-light: #3b82f6;
  --accent: #ea580c;
  --radius: 14px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  --max: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background:
    radial-gradient(900px 500px at 10% -10%, rgba(29, 78, 216, 0.28), transparent 60%),
    radial-gradient(700px 400px at 100% 0%, rgba(59, 130, 246, 0.12), transparent 55%),
    var(--bg);
  line-height: 1.6;
}

a {
  color: var(--brand-light);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
  background: rgba(11, 18, 32, 0.82);
  border-bottom: 1px solid var(--border);
}

.site-header-inner,
.site-main,
.site-footer-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(145deg, #2563eb, #1d4ed8);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(29, 78, 216, 0.35);
}

.brand-mark svg {
  width: 22px;
  height: 22px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
}

.site-nav a {
  color: var(--text-muted);
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--text);
  text-decoration: none;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 4px;
  padding-left: 14px;
  border-left: 1px solid var(--border);
}

.lang-btn {
  appearance: none;
  border: none;
  background: none;
  padding: 2px 4px;
  font: inherit;
  font-size: 13px;
  color: var(--text-muted);
  cursor: pointer;
}

.lang-btn:hover,
.lang-btn.active {
  color: var(--text);
}

.lang-sep {
  color: rgba(148, 163, 184, 0.35);
  font-size: 12px;
  user-select: none;
}

.hero {
  padding: 72px 0 48px;
}

.hero-badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(29, 78, 216, 0.16);
  border: 1px solid rgba(59, 130, 246, 0.25);
  color: #bfdbfe;
  font-size: 13px;
  margin-bottom: 18px;
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.hero p {
  margin: 0;
  max-width: 640px;
  color: var(--text-muted);
  font-size: 18px;
}

.section {
  padding: 24px 0 64px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.section-head h2 {
  margin: 0;
  font-size: 24px;
}

.section-head p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.product-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.product-card:hover {
  transform: translateY(-2px);
  border-color: rgba(59, 130, 246, 0.35);
}

.product-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: #1d4ed8;
  display: grid;
  place-items: center;
}

.product-icon img {
  width: 48px;
  height: 48px;
  border-radius: 10px;
}

.product-card h3 {
  margin: 0;
  font-size: 22px;
}

.product-card .tagline {
  margin: 0;
  color: var(--text-muted);
  font-size: 15px;
}

.feature-list {
  margin: 0;
  padding-left: 18px;
  color: var(--text-muted);
  font-size: 14px;
}

.feature-list li + li {
  margin-top: 6px;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(180deg, #3b82f6, #1d4ed8);
  color: #fff;
  box-shadow: 0 10px 24px rgba(29, 78, 216, 0.35);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border);
  color: var(--text);
}

.note-box {
  margin-top: 32px;
  padding: 16px 18px;
  border-radius: 12px;
  border: 1px dashed rgba(148, 163, 184, 0.25);
  color: var(--text-muted);
  font-size: 14px;
  background: rgba(255, 255, 255, 0.02);
}

.content-page {
  padding: 48px 0 72px;
}

.content-page h1 {
  margin: 0 0 12px;
  font-size: 34px;
}

.content-page .lead {
  margin: 0 0 32px;
  color: var(--text-muted);
}

.prose {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 32px;
}

.prose h2 {
  margin: 28px 0 12px;
  font-size: 20px;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p,
.prose li {
  color: #cbd5e1;
}

.prose ul {
  padding-left: 20px;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.prose th,
.prose td {
  border: 1px solid var(--border);
  padding: 10px 12px;
  text-align: left;
}

.prose th {
  background: rgba(255, 255, 255, 0.03);
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0 40px;
  color: var(--text-muted);
  font-size: 13px;
}

.site-footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: space-between;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links a {
  color: var(--text-muted);
}

@media (max-width: 720px) {
  .site-header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    padding-top: 48px;
  }

  .prose {
    padding: 20px;
  }
}
