:root {
  --blue: #1c64f2;
  --blue-hover: #1556d4;
  --navy: #14337f;
  --ink: #1a1a1a;
  --muted: #666666;
  --line: #e7e7e7;
  --bg: #f3f4f7;
  --panel: #ffffff;
  --soft: #eef4ff;
  --radius: 4px;
  --header-h: 64px;
  --subnav-h: 48px;
  --max: 1200px;
  --shadow: 0 2px 8px rgba(20, 51, 127, 0.06);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--subnav-h) + 12px);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--panel);
  font-family: "PingFang SC", "Microsoft YaHei", Inter, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.7;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.wrap {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  color: inherit;
}

.brand img {
  height: 44px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  min-width: 0;
}

.nav-links a {
  color: var(--ink);
  padding: 8px 12px;
  border-radius: var(--radius);
  font-weight: 500;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--blue);
  text-decoration: none;
  background: var(--soft);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  cursor: pointer;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  margin: 3px auto;
  background: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 16px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
}

.btn-primary:hover {
  background: var(--blue-hover);
  color: #fff;
}

.btn-ghost {
  background: #fff;
  color: var(--blue);
  border-color: var(--blue);
}

.btn-ghost:hover {
  background: var(--soft);
  color: var(--blue);
}

.btn-lg {
  min-height: 40px;
  padding: 0 20px;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #f7f9ff;
  border-bottom: 1px solid var(--line);
  padding: 48px 0 40px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("branding/bg/intro-bg-hero.jpg") right center / cover no-repeat;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #f7f9ff 0%, rgba(247, 249, 255, 0.92) 42%, rgba(247, 249, 255, 0.42) 68%, rgba(247, 249, 255, 0.18) 100%);
  z-index: 0;
}

.hero > .wrap {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 48px;
  align-items: start;
}

.kicker {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
}

.hero h1 {
  margin: 0 0 14px;
  font-size: 36px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: 0;
}

.hero-lead {
  margin: 0 0 24px;
  max-width: 560px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.hero-contact {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.hero-contact a {
  font-weight: 600;
}

.capability-stack {
  display: grid;
  gap: 10px;
}

.cap-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  box-shadow: var(--shadow);
}

.cap-card:hover {
  border-color: #c5d8ff;
}

.cap-card b {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
}

.cap-card span {
  color: var(--muted);
  font-size: 13px;
}

.cap-card em {
  display: block;
  margin-top: 6px;
  color: var(--blue);
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
}

.subnav {
  position: sticky;
  top: var(--header-h);
  z-index: 30;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.subnav .wrap {
  display: flex;
  gap: 8px;
  overflow-x: auto;
}

.subnav a {
  flex-shrink: 0;
  color: var(--muted);
  padding: 14px 12px 12px;
  border-bottom: 2px solid transparent;
  font-weight: 500;
}

.subnav a:hover,
.subnav a.is-active {
  color: var(--blue);
  text-decoration: none;
  border-bottom-color: var(--blue);
}

.section {
  padding: 56px 0;
}

.section-alt {
  background: var(--bg);
}

.section-photo {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--bg);
}

.section-photo > .wrap {
  position: relative;
  z-index: 1;
}

.section-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: 0;
}

.section-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
}

.section-photo-features::before {
  background-image: url("branding/bg/intro-bg-features.jpg");
}

.section-photo-features::after {
  background: rgba(243, 244, 247, 0.88);
}

.section-photo-scenes::before {
  background-image: url("branding/bg/intro-bg-scenes.jpg");
}

.section-photo-scenes::after {
  background: linear-gradient(180deg, rgba(243, 244, 247, 0.9) 0%, rgba(243, 244, 247, 0.82) 100%);
}

.section h2 {
  margin: 0 0 8px;
  font-size: 24px;
  line-height: 1.3;
  font-weight: 700;
}

.section-desc {
  margin: 0 0 28px;
  max-width: 760px;
  color: var(--muted);
  font-size: 14px;
}

.point-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.point {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}

.point:hover {
  border-color: #c5d8ff;
}

.point strong {
  display: block;
  margin-bottom: 8px;
  font-size: 15px;
}

.point p {
  margin: 0;
  color: var(--muted);
}

.feature-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.feature-tabs {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
}

.feature-tabs button {
  appearance: none;
  border: 0;
  border-left: 3px solid transparent;
  border-bottom: 1px solid var(--line);
  background: #fff;
  text-align: left;
  padding: 16px 18px;
  cursor: pointer;
  font: inherit;
  color: var(--ink);
}

.feature-tabs button:last-child {
  border-bottom: 0;
}

.feature-tabs button:hover {
  background: var(--soft);
}

.feature-tabs button[aria-selected="true"] {
  background: var(--soft);
  border-left-color: var(--blue);
  color: var(--blue);
  font-weight: 600;
}

.feature-tabs small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-weight: 400;
  font-size: 12px;
}

.feature-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  min-height: 320px;
}

.feature-panel[hidden] {
  display: none;
}

.feature-panel h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.feature-panel p {
  margin: 0 0 16px;
  color: var(--muted);
}

.feature-panel ul {
  margin: 0;
  padding-left: 18px;
}

.feature-panel li {
  margin: 0 0 8px;
}

.order-note {
  margin: 20px 0 0;
  padding: 12px 14px;
  background: var(--soft);
  border-radius: var(--radius);
  color: var(--navy);
  font-weight: 600;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

th,
td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  background: #f7f8fa;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

tr:last-child td {
  border-bottom: 0;
}

tbody tr:hover td {
  background: #fafbff;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.scene-card,
.pack-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}

.scene-card h3,
.pack-card h3 {
  margin: 0 0 14px;
  font-size: 16px;
}

.scene-card dl,
.pack-card dl {
  margin: 0;
}

.scene-card dt,
.pack-card dt {
  font-weight: 600;
  margin-top: 12px;
}

.scene-card dt:first-child,
.pack-card dt:first-child {
  margin-top: 0;
}

.scene-card dd,
.pack-card dd {
  margin: 4px 0 0;
  color: var(--muted);
}

.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  counter-reset: step;
}

.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 16px 16px;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-bottom: 10px;
  border-radius: 2px;
  background: var(--blue);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.step strong {
  display: block;
  margin-bottom: 6px;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.billing {
  margin-top: 16px;
  color: var(--muted);
}

.limit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}

.limit-grid div {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.limit-grid div:nth-child(2n) {
  border-right: 0;
}

.limit-grid div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.limit-grid b {
  display: block;
  margin-bottom: 6px;
}

.limit-grid span {
  color: var(--muted);
}

.cta-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
  padding: 48px 0;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("branding/bg/intro-bg-cta.jpg") center / cover no-repeat;
  z-index: 0;
}

.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 51, 127, 0.88) 0%, rgba(20, 51, 127, 0.72) 55%, rgba(20, 51, 127, 0.55) 100%);
  z-index: 0;
}

.cta-band > .wrap {
  position: relative;
  z-index: 1;
}

.cta-band h2 {
  margin: 0 0 8px;
  color: #fff;
}

.cta-band p {
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.82);
}

.cta-band .btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}

.cta-band .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.contact-list {
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 24px;
}

.contact-list a {
  color: #9ec1ff;
  font-weight: 600;
}

.site-footer {
  background: #1f1f1f;
  color: #b0b0b0;
  padding: 36px 0 24px;
  font-size: 13px;
}

.site-footer a {
  color: #d0d0d0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 28px;
}

.site-footer h3 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 14px;
}

.site-footer p,
.site-footer li {
  margin: 0 0 8px;
  line-height: 1.7;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.copyright {
  border-top: 1px solid #333;
  padding-top: 16px;
  margin: 0;
}

.beian {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  margin: 10px 0 0;
  color: #8a8a8a;
  font-size: 12px;
}

.beian a {
  color: #8a8a8a;
  text-decoration: none;
}

.beian a:hover {
  color: #d0d0d0;
  text-decoration: underline;
}

.beian-gongan {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.beian-icon {
  display: block;
  width: 16px;
  height: 18px;
  object-fit: contain;
  flex-shrink: 0;
}

.arch-map {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 18px 18px 8px;
}

.arch-layer {
  border: 1px dashed #c5d8ff;
  border-radius: var(--radius);
  background: #f7f9ff;
  padding: 12px 14px 14px;
}

.arch-layer-product {
  background: #eef4ff;
}

.arch-layer-out {
  background: #14337f;
  border-color: #14337f;
  color: #fff;
}

.arch-layer-out span {
  color: #9ec1ff;
}

.arch-layer-out article {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.arch-layer-out article b {
  color: #fff;
}

.arch-layer > span {
  display: block;
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 600;
}

.arch-portal {
  margin-bottom: 10px;
  padding: 12px 14px;
  border: 1px solid #c5d8ff;
  border-radius: var(--radius);
  background: #fff;
}

.arch-portal b,
.arch-nodes article b {
  display: block;
  margin-bottom: 2px;
  color: var(--navy);
  font-size: 14px;
}

.arch-portal p,
.arch-nodes article p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.arch-nodes {
  display: grid;
  gap: 10px;
}

.arch-nodes-2 {
  grid-template-columns: 1fr 1fr;
}

.arch-nodes-3 {
  grid-template-columns: 1fr 1fr 1fr;
}

.arch-nodes-4 {
  grid-template-columns: repeat(4, 1fr);
}

.arch-nodes article {
  padding: 12px 14px;
  border: 1px solid #d6e4ff;
  border-radius: var(--radius);
  background: #fff;
}

.arch-arrow {
  margin: 6px 0;
  color: var(--blue);
  font-size: 12px;
  font-weight: 600;
  text-align: center;
}

.arch-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 980px) {
  .hero::after {
    background: linear-gradient(180deg, rgba(247, 249, 255, 0.94) 0%, rgba(247, 249, 255, 0.88) 58%, rgba(247, 249, 255, 0.55) 100%);
  }

  .hero-grid,
  .feature-layout,
  .point-grid,
  .two-col,
  .steps,
  .contact-list,
  .footer-grid,
  .arch-nodes-2,
  .arch-nodes-3,
  .arch-nodes-4 {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 28px;
  }

  .feature-tabs {
    flex-direction: row;
    overflow-x: auto;
  }

  .feature-tabs button {
    min-width: 180px;
    border-left: 0;
    border-bottom: 3px solid transparent;
    border-right: 1px solid var(--line);
  }

  .feature-tabs button[aria-selected="true"] {
    border-bottom-color: var(--blue);
  }

  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .limit-grid div:nth-child(2n) {
    border-right: 1px solid var(--line);
  }

  .limit-grid div {
    border-right: 0;
  }

  .limit-grid div:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 760px) {
  .wrap {
    width: min(var(--max), calc(100% - 32px));
  }

  .nav-links,
  .header-actions .btn-ghost {
    display: none;
  }

  .menu-toggle {
    display: inline-block;
    margin-left: auto;
  }

  .site-header.is-open .nav-links {
    display: flex;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    z-index: 50;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 18px rgba(20, 51, 127, 0.08);
    padding: 8px 16px 12px;
    gap: 0;
  }

  .hero {
    padding: 28px 0 24px;
  }

  .section {
    padding: 40px 0;
  }

  .steps {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
