/* ========== RESET ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, sans-serif;
  color: #1c2b3a;
  background: #f5f7fa;
  line-height: 1.72;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ========== LAYOUT ========== */
.layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
}

/* ========== SIDEBAR ========== */
.sidebar {
  background: #0c1a2c;
  color: #cfe0f8;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}
.sidebar-inner {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 28px 22px;
}
.sidebar-brand {
  font-size: 1.2rem;
  font-weight: 900;
  line-height: 1.3;
  color: #fff;
  letter-spacing: 0.2px;
}
.sidebar-nav { display: flex; flex-direction: column; gap: 4px; }
.nav-group-title {
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #5a82ab;
  margin: 14px 0 4px;
}
.sidebar-nav a {
  font-size: 0.9rem;
  color: #a8c4e2;
  padding: 6px 10px;
  border-radius: 7px;
  transition: background 0.15s, color 0.15s;
}
.sidebar-nav a:hover,
.sidebar-nav a.active {
  background: rgba(255,255,255,0.08);
  color: #fff;
}

.sidebar-cta {
  border-top: 1px solid rgba(255,255,255,0.09);
  padding-top: 20px;
}
.sidebar-cta p { font-size: 0.85rem; color: #7a9abf; margin-bottom: 3px; }
.sidebar-cta strong { display: block; color: #fff; font-size: 0.95rem; margin-bottom: 12px; }
.sidebar-cta img {
  width: 140px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.12);
}

/* ========== CONTENT ========== */
.content {
  background: #f5f7fa;
  overflow-y: auto;
}

/* ========== PAGE SECTIONS ========== */
.page-section {
  padding: 54px 52px;
  border-bottom: 1px solid #e2e8f2;
  background: #fff;
}
.page-section:nth-child(even) { background: #f9fafc; }

/* ========== PAGE HEADER ========== */
.page-header { max-width: 760px; }
.page-label {
  display: inline-block;
  background: #e8f0ff;
  color: #1a56db;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  padding: 4px 10px;
  border-radius: 5px;
  margin-bottom: 18px;
}
h1 {
  font-size: clamp(2rem, 3.5vw, 2.9rem);
  line-height: 1.22;
  margin-bottom: 16px;
}
.page-desc {
  color: #4e657f;
  font-size: 1.03rem;
  margin-bottom: 24px;
  max-width: 680px;
}
.page-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  padding: 11px 22px;
  border-radius: 9px;
  font-weight: 700;
  font-size: 0.95rem;
}
.btn-primary { background: #1a56db; color: #fff; }
.btn-plain { border: 1px solid #bfccde; color: #2e4a68; }

.highlight-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 36px;
}
.highlight-card {
  background: #f0f5ff;
  border: 1px solid #d0ddf5;
  border-radius: 10px;
  padding: 16px;
}
.highlight-card b { display: block; font-size: 0.97rem; margin-bottom: 5px; color: #1a56db; }
.highlight-card p { font-size: 0.88rem; color: #4e657f; margin: 0; }

/* ========== SECTION TITLE ========== */
.section-title {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  margin-bottom: 22px;
  color: #1c2b3a;
}

/* ========== CAPABILITY TABLE ========== */
.cap-table { display: flex; flex-direction: column; gap: 0; }
.cap-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid #edf1f8;
  align-items: start;
}
.cap-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: #1a56db;
  padding-top: 2px;
}
.cap-desc { color: #4e657f; font-size: 0.95rem; }

/* ========== ARCH LAYERS ========== */
.arch-layers { display: flex; flex-direction: column; gap: 12px; }
.arch-layer {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 16px;
  align-items: start;
  background: #f5f8ff;
  border: 1px solid #d8e4f8;
  border-radius: 10px;
  padding: 14px 18px;
}
.layer-tag {
  display: inline-block;
  background: #1a56db;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 5px;
  white-space: nowrap;
  margin-top: 3px;
}
.layer-body h4 { font-size: 0.97rem; margin-bottom: 4px; }
.layer-body p { font-size: 0.9rem; color: #4e657f; margin: 0; }

/* ========== PRICING ========== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 8px;
}
.pricing-grid article {
  background: #f5f8ff;
  border: 1px solid #d0ddf5;
  border-radius: 12px;
  padding: 20px;
  position: relative;
}
.pricing-grid h3 { font-size: 1.05rem; margin-bottom: 8px; }
.pricing-grid p { color: #4e657f; font-size: 0.92rem; margin: 0; }
.pricing-hot { border: 2px solid #1a56db; background: #eef4ff; }
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 18px;
  background: #1a56db;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 999px;
}

/* ========== FAQ ========== */
.faq { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
details {
  background: #f5f7fa;
  border: 1px solid #dce6f5;
  border-radius: 10px;
  padding: 14px 18px;
}
details[open] { background: #fff; }
summary { cursor: pointer; font-weight: 600; font-size: 0.95rem; list-style: none; }
summary::after { content: " +"; float: right; color: #8aaccd; }
details[open] summary::after { content: " −"; }
details p { margin-top: 10px; color: #4e657f; font-size: 0.93rem; }

/* ========== CONTACT ========== */
.contact-section p { color: #4e657f; margin-bottom: 6px; }
.contact-section strong { color: #1c2b3a; }

/* ========== FOOTER ========== */
.content-footer {
  padding: 22px 52px;
  background: #e9edf5;
  color: #7a93b0;
  font-size: 0.88rem;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1000px) {
  .highlight-row { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
  .layout { grid-template-columns: 1fr; }
  .sidebar { position: static; height: auto; }
  .sidebar-inner { flex-direction: row; flex-wrap: wrap; gap: 16px; }
  .sidebar-cta img { width: 100px; }
  .page-section { padding: 36px 24px; }
  .content-footer { padding: 20px 24px; }
  .cap-row { grid-template-columns: 1fr; }
  .arch-layer { grid-template-columns: 1fr; }
  .highlight-row { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
}
