:root {
  --primary: #922b21;
  --primary-dark: #6e2118;
  --primary-light: #f9ecea;
  --accent: #b84a3a;
  --text: #0f172a;
  --text-muted: #64748b;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --border: #e2e8f0;
  --shadow: 0 10px 40px rgba(15, 23, 42, 0.08);
  --radius: 16px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(100% - 32px, var(--max-width));
  margin: 0 auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  transition: 0.2s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  box-shadow: 0 8px 24px rgba(146, 43, 33, 0.28);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(146, 43, 33, 0.34);
}

.btn-outline {
  background: #fff;
  color: var(--primary);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--primary);
  background: var(--primary-light);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
}

.logo-image {
  height: 22px;
  width: 22px;
  object-fit: contain;
  border-radius: 5px;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.logo-text small {
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  font-size: 20px;
}

.hero {
  padding: 88px 0 72px;
  background:
    radial-gradient(circle at top right, rgba(184, 74, 58, 0.1), transparent 28%),
    radial-gradient(circle at top left, rgba(146, 43, 33, 0.08), transparent 30%),
    linear-gradient(180deg, #fdf8f7 0%, #ffffff 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

.hero p {
  color: var(--text-muted);
  font-size: 18px;
  max-width: 560px;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.stat-item strong {
  display: block;
  font-size: 24px;
  color: var(--primary);
}

.stat-item span {
  color: var(--text-muted);
  font-size: 14px;
}

.hero-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.panel-top {
  display: flex;
  gap: 8px;
  padding: 16px 18px;
  background: #f1f5f9;
  border-bottom: 1px solid var(--border);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
}

.panel-body {
  padding: 24px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.metric-card,
.chart-card,
.list-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
}

.metric-card strong {
  display: block;
  font-size: 22px;
  margin-top: 6px;
}

.metric-card span,
.list-card li,
.chart-card span {
  color: var(--text-muted);
  font-size: 13px;
}

.chart-card {
  grid-column: span 2;
}

.chart-bars {
  display: flex;
  align-items: end;
  gap: 10px;
  height: 120px;
  margin-top: 14px;
}

.chart-bars i {
  flex: 1;
  border-radius: 8px 8px 4px 4px;
  background: linear-gradient(180deg, var(--accent), var(--primary));
  opacity: 0.85;
}

.list-card ul {
  list-style: none;
  margin-top: 10px;
}

.list-card li {
  padding: 8px 0;
  border-bottom: 1px dashed var(--border);
}

.list-card li:last-child {
  border-bottom: none;
}

.section {
  padding: 84px 0;
}

.section-soft {
  background: var(--bg-soft);
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.section-head h2 {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 12px;
}

.section-head p {
  color: var(--text-muted);
  font-size: 17px;
}

.feature-grid,
.scenario-grid,
.value-grid {
  display: grid;
  gap: 24px;
}

.feature-grid {
  grid-template-columns: repeat(3, 1fr);
}

.scenario-grid {
  grid-template-columns: repeat(2, 1fr);
}

.value-grid {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
  transition: 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 22px;
  margin-bottom: 18px;
}

.card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.card p {
  color: var(--text-muted);
  font-size: 15px;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.check-list {
  list-style: none;
  margin-top: 20px;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: var(--text-muted);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

.architecture {
  background: linear-gradient(135deg, #3d1510, #922b21);
  color: #fff;
  border-radius: 24px;
  padding: 32px;
}

.architecture h3 {
  margin-bottom: 18px;
}

.arch-layers {
  display: grid;
  gap: 12px;
}

.arch-layer {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 16px 18px;
}

.arch-layer strong {
  display: block;
  margin-bottom: 4px;
}

.arch-layer span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.contact-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.contact-box p {
  color: var(--text-muted);
  margin-bottom: 10px;
}

.site-footer {
  background: #0f172a;
  color: rgba(255, 255, 255, 0.82);
  padding: 48px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-grid h4 {
  color: #fff;
  margin-bottom: 14px;
}

.footer-brand {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
}

.footer-grid a,
.footer-grid p {
  display: block;
  color: rgba(255, 255, 255, 0.68);
  margin-bottom: 10px;
  font-size: 14px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.56);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.68);
}

.contact-box p strong {
  color: var(--text);
}

.legal-page {
  padding: 48px 0 80px;
}

.legal-page h1 {
  font-size: 36px;
  margin-bottom: 12px;
}

.legal-meta {
  color: var(--text-muted);
  margin-bottom: 32px;
}

.legal-page h2 {
  font-size: 22px;
  margin: 28px 0 12px;
}

.legal-page p,
.legal-page li {
  color: var(--text-muted);
  margin-bottom: 12px;
}

.legal-page ul {
  padding-left: 20px;
}

@media (max-width: 960px) {
  .hero-grid,
  .split,
  .footer-grid,
  .feature-grid,
  .scenario-grid,
  .value-grid {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: #fff;
    padding: 18px 16px 24px;
    border-bottom: 1px solid var(--border);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}
