:root {
  --bg: #f6f7f9;
  --surface: #ffffff;
  --surface-soft: #f1f3f6;
  --text: #1d1d1f;
  --muted: #606873;
  --line: #e5e7eb;
  --blue: #0066cc;
  --blue-dark: #004f9e;
  --shadow: 0 18px 44px rgba(29, 29, 31, .08);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: Arial, "Microsoft YaHei", "PingFang SC", sans-serif;
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(229, 231, 235, .74);
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(16px);
}

.header-inner {
  width: min(1180px, calc(100% - 32px));
  min-height: 70px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand-logo {
  width: 276px;
  height: auto;
  max-height: 52px;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #4b5563;
  font-size: 14px;
}

.nav a:hover,
.nav a.active {
  color: var(--blue);
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 24%, rgba(0, 102, 204, .12), transparent 28rem),
    linear-gradient(180deg, #fff 0%, #f7f8fa 100%);
}

.hero-inner {
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .82fr);
  gap: 46px;
  align-items: center;
  padding: 70px 0 62px;
}

.hero:not(.home-hero) {
  background:
    linear-gradient(90deg, rgba(7, 20, 38, .035) 1px, transparent 1px),
    linear-gradient(180deg, #fff 0%, #f7f9fc 100%);
  background-size: 64px 64px, auto;
}

.hero:not(.home-hero) .hero-inner {
  min-height: 500px;
  grid-template-columns: minmax(0, .9fr) minmax(420px, 1fr);
  gap: 54px;
  padding: 64px 0;
}

.hero:not(.home-hero) .lead {
  max-width: 620px;
}

.hero:not(.home-hero) .hero-visual {
  position: relative;
  border: 1px solid rgba(15, 23, 42, .1);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(15, 23, 42, .12);
}

.hero:not(.home-hero) .hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35);
}

.hero-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.hero-kpis span {
  min-height: 54px;
  display: flex;
  align-items: center;
  border: 1px solid rgba(148, 163, 184, .28);
  border-radius: 8px;
  padding: 10px 12px;
  color: #334155;
  background: rgba(255, 255, 255, .72);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.compact-hero .hero-inner {
  min-height: auto;
  grid-template-columns: 1fr;
  padding: 58px 0 42px;
}

.compact-hero .lead {
  max-width: 780px;
}

.training-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 34px;
}

.flow-step {
  position: relative;
  min-height: 116px;
  border: 1px solid rgba(15, 23, 42, .1);
  border-radius: 8px;
  padding: 18px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, .05);
}

.flow-step::after {
  content: "";
  position: absolute;
  top: 30px;
  right: -10px;
  width: 10px;
  height: 1px;
  background: rgba(0, 102, 204, .3);
}

.flow-step:last-child::after {
  display: none;
}

.flow-step span {
  display: block;
  color: var(--blue);
  font-family: "Arial Narrow", "Segoe UI", Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
}

.flow-step strong {
  display: block;
  margin-top: 10px;
  color: var(--text);
  font-size: 18px;
}

.flow-step p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.home-hero {
  position: relative;
  background:
    radial-gradient(circle at 76% 16%, rgba(0, 102, 204, .08), transparent 24rem),
    linear-gradient(180deg, #fff 0%, #f8fbff 64%, #f5f7fa 100%);
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(15, 23, 42, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, .025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .32), transparent 52%);
}

.home-hero-inner {
  position: relative;
  min-height: auto;
  display: grid;
  grid-template-columns: minmax(560px, .95fr) minmax(390px, 1fr);
  align-items: center;
  gap: 34px;
  padding: 56px 0 42px;
}

.home-hero-copy {
  width: 100%;
  max-width: 620px;
  margin: 0;
  text-align: left;
}

.home-hero-copy .eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--blue);
  background: transparent;
  font-size: 16px;
  box-shadow: none;
}

.home-hero-copy h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(34px, 3.05vw, 44px);
  line-height: 1.08;
  text-wrap: balance;
}

.home-hero-copy .lead {
  max-width: 560px;
  margin-left: 0;
  margin-right: 0;
  text-align: left;
  font-size: 17px;
  line-height: 1.72;
}

.home-hero-copy .actions {
  justify-content: flex-start;
}

.home-hero .button.primary {
  min-height: 48px;
  padding: 12px 24px;
  background: linear-gradient(135deg, #0066cc 0%, #0052b3 100%);
  box-shadow: 0 12px 26px rgba(0, 102, 204, .2);
}

.home-hero .button:not(.primary) {
  border-color: rgba(148, 163, 184, .38);
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 10px 24px rgba(15, 23, 42, .04);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px;
  margin-top: 16px;
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(148, 163, 184, .28);
  border-radius: 6px;
  color: #334155;
  background: rgba(255, 255, 255, .56);
  font-size: 13px;
  font-weight: 700;
  box-shadow: none;
}

.home-hero-visual {
  position: relative;
  width: 100%;
  margin-top: 2px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, .1);
  border-radius: 14px;
  background: #071221;
  box-shadow: 0 28px 72px rgba(15, 23, 42, .2);
}

.home-hero-visual img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.home-hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
}

.hero-capabilities {
  grid-column: 1 / -1;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 4px;
}

.hero-capabilities div {
  position: relative;
  min-height: 104px;
  padding: 16px 16px 16px 18px;
  border: 1px solid rgba(15, 23, 42, .11);
  border-radius: 8px;
  background: rgba(255, 255, 255, .84);
  box-shadow: 0 12px 28px rgba(15, 23, 42, .06);
}

.hero-capabilities div::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 0;
  width: 3px;
  height: 38px;
  border-radius: 999px;
  background: var(--blue);
}

.hero-capabilities strong,
.hero-capabilities span {
  display: block;
}

.hero-capabilities .cap-index {
  margin-top: 0;
  margin-bottom: 10px;
  color: var(--blue);
  font-family: "Arial Narrow", "Segoe UI", Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.hero-capabilities strong {
  color: var(--text);
  font-size: 17px;
}

.hero-capabilities span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  max-width: 680px;
  font-size: clamp(34px, 4.2vw, 54px);
  line-height: 1.14;
  letter-spacing: 0;
  font-weight: 700;
}

h2 {
  max-width: 620px;
  font-size: clamp(24px, 2.8vw, 34px);
  line-height: 1.22;
  font-weight: 700;
}

h3 {
  font-size: 19px;
  line-height: 1.32;
  font-weight: 700;
}

.lead {
  max-width: 700px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 17px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 10px 20px;
  border: 1px solid var(--line);
  color: var(--text);
  background: var(--surface);
  font-size: 14px;
  font-weight: 700;
}

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

.button:hover {
  border-color: var(--blue);
  color: var(--blue);
}

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

.hero-visual {
  overflow: hidden;
  border-radius: 12px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.hero-visual img,
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-contain img {
  object-fit: contain;
  background: #f6f8fb;
}

.section {
  padding: 78px 0;
}

.section.white {
  background: var(--surface);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.section-head p {
  max-width: 620px;
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 22px;
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.modules {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.modules.featured-modules {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(29, 29, 31, .04);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: #d6dce5;
  box-shadow: 0 18px 40px rgba(29, 29, 31, .08);
}

.grid.three > .card:not(.module-tile):not(.course-card) .card-body,
.grid.four > .card:not(.module-tile):not(.course-card) .card-body {
  position: relative;
  min-height: 176px;
  padding-top: 28px;
}

.grid.three > .card:not(.module-tile):not(.course-card) .card-body::before,
.grid.four > .card:not(.module-tile):not(.course-card) .card-body::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 0;
  width: 3px;
  height: 36px;
  border-radius: 999px;
  background: var(--blue);
}

.grid.three > .card:not(.module-tile):not(.course-card) h3,
.grid.four > .card:not(.module-tile):not(.course-card) h3 {
  padding-left: 8px;
}

.card-body {
  padding: 24px;
}

.card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
}

.card-media {
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
}

.module-tile .card-media {
  aspect-ratio: 21 / 10;
}

.module-featured {
  grid-column: span 2;
}

.module-featured .card-media {
  aspect-ratio: 16 / 7;
}

.module-featured .card-body {
  min-height: 178px;
  padding: 26px 28px 28px;
}

.module-featured h3 {
  font-size: 24px;
}

.module-tile h3 {
  font-size: 20px;
}

.module-tile:not(.module-featured) .card-body {
  min-height: 178px;
}

.module-tile .link::after,
.link::after {
  content: "›";
  margin-left: 6px;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.pill {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  border: 0;
  border-radius: 999px;
  padding: 6px 12px;
  color: #0058ba;
  background: #eef6ff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}

.link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--blue);
  font-weight: 700;
}

.split {
  display: grid;
  grid-template-columns: minmax(260px, .36fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.docs-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
  margin-top: 26px;
}

.docs-sidebar {
  position: sticky;
  top: 82px;
  max-height: calc(100vh - 104px);
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 14px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, .05);
}

.docs-sidebar h2 {
  margin: 8px 8px 12px;
  font-size: 15px;
  line-height: 1.4;
}

.docs-nav-group {
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.docs-nav-group:first-of-type {
  border-top: 0;
}

.docs-nav-title {
  margin: 0 8px 8px;
  color: #0f172a;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
}

.docs-nav-link {
  display: block;
  border-radius: 8px;
  padding: 9px 10px;
  color: #374151;
  font-size: 14px;
}

.docs-nav-link:hover,
.docs-nav-link.active {
  color: var(--blue);
  background: #eef6ff;
}

.docs-content {
  display: grid;
  gap: 22px;
}

.doc-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 30px;
  scroll-margin-top: 90px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .04);
}

.doc-panel p {
  margin-top: 12px;
  color: var(--muted);
}

.doc-list {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.doc-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: #fbfcfe;
}

.doc-row p {
  margin-top: 5px;
  font-size: 14px;
}

.doc-row a {
  color: var(--blue);
  font-weight: 700;
  white-space: nowrap;
}

.docs-intro {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px 28px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(15, 23, 42, .05);
}

.docs-intro h1 {
  max-width: 860px;
  font-size: clamp(30px, 3vw, 42px);
}

.docs-intro .lead {
  max-width: 860px;
}

.docs-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.docs-quick-links a {
  border: 1px solid rgba(148, 163, 184, .3);
  border-radius: 6px;
  padding: 8px 12px;
  color: #334155;
  background: #f8fafc;
  font-size: 13px;
  font-weight: 700;
}

.side-nav {
  position: sticky;
  top: 88px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  padding: 12px;
}

.side-nav button {
  width: 100%;
  border: 0;
  border-radius: 8px;
  padding: 12px 14px;
  background: transparent;
  color: #374151;
  text-align: left;
  cursor: pointer;
  font: inherit;
}

.side-nav button:hover,
.side-nav button.active {
  color: var(--blue);
  background: #eef6ff;
}

.actions .filter-button.active {
  border-color: var(--blue);
  color: var(--blue);
  background: #eef6ff;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.course-card {
  display: flex;
  flex-direction: column;
}

.course-card .card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 330px;
}

.course-card h3 {
  margin-top: 12px;
}

.course-card .actions {
  margin-top: auto;
  padding-top: 18px;
}

.course-card .link {
  margin-top: auto;
  padding-top: 18px;
}

.facts {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.fact {
  border-left: 0;
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--muted);
  background: #f8fafc;
  font-size: 14px;
}

.product-note {
  margin-top: 24px;
  border: 1px solid rgba(0, 102, 204, .16);
  border-radius: 10px;
  padding: 18px 20px;
  color: #334155;
  background: #f2f8ff;
}

.product-note strong {
  display: block;
  color: var(--text);
}

.product-note span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
}

.equipment-grid {
  margin-top: 24px;
}

.faq-list {
  display: grid;
  gap: 14px;
  max-width: 900px;
}

.faq-item {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 24px 26px 24px 30px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, .04);
}

.faq-item::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 0;
  width: 3px;
  height: 34px;
  border-radius: 999px;
  background: var(--blue);
}

.faq-item p {
  margin-top: 10px;
  color: var(--muted);
}

.faq-item h3::before {
  content: "Q";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin-right: 10px;
  border-radius: 50%;
  color: #fff;
  background: var(--blue);
  font-family: "Arial Narrow", "Segoe UI", Arial, sans-serif;
  font-size: 13px;
}

.floating-contact {
  position: fixed;
  right: 22px;
  bottom: 26px;
  z-index: 70;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.contact-panel {
  width: min(320px, calc(100vw - 48px));
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: .18s ease;
}

.contact-panel.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.contact-option {
  padding: 18px 20px;
}

.contact-option + .contact-option {
  border-top: 1px solid var(--line);
}

.contact-option p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 14px;
}

.contact-option a {
  display: inline-flex;
  margin-top: 10px;
  color: var(--blue);
  font-weight: 700;
}

.float-button {
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: var(--blue);
  box-shadow: var(--shadow);
  cursor: pointer;
  font-size: 20px;
  transition: transform .18s ease, background .18s ease;
}

.float-button:hover {
  transform: translateY(-2px);
  background: var(--blue-dark);
}

.footer {
  padding: 46px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: var(--surface);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

@media (max-width: 980px) {
  .hero-inner,
  .home-hero-inner,
  .split,
  .docs-layout {
    grid-template-columns: 1fr;
  }

  .grid.three,
  .grid.four,
  .grid.modules,
  .grid.modules.featured-modules,
  .course-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-hero-copy {
    max-width: 760px;
  }

  .module-featured {
    grid-column: span 1;
  }

  .hero:not(.home-hero) .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .training-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flow-step::after {
    display: none;
  }

  .side-nav {
    position: static;
  }

  .docs-sidebar {
    position: static;
    max-height: none;
  }
}

@media (max-width: 720px) {
  .header-inner {
    min-height: auto;
    padding: 14px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    gap: 16px;
    padding-bottom: 4px;
  }

  .brand-logo {
    width: 220px;
    max-height: 46px;
  }

  .hero-inner {
    min-height: auto;
    padding: 50px 0;
  }

  .home-hero-inner {
    min-height: auto;
    gap: 22px;
    padding: 48px 0 46px;
  }

  .home-hero-copy {
    text-align: left;
  }

  .home-hero-copy h1 {
    font-size: clamp(32px, 9vw, 44px);
  }

  .home-hero-copy .lead {
    margin-left: 0;
    margin-right: 0;
    text-align: left;
  }

  .home-hero-copy .actions {
    justify-content: flex-start;
  }

  .hero-proof {
    justify-content: flex-start;
  }

  .home-hero-visual {
    border-radius: 12px;
  }

  .hero-capabilities {
    grid-template-columns: 1fr;
  }

  .hero-kpis {
    grid-template-columns: 1fr;
  }

  .training-flow {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 54px 0;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .doc-panel {
    padding: 22px;
  }

  .doc-row {
    grid-template-columns: 1fr;
  }

  .grid.three,
  .grid.four,
  .grid.two,
  .grid.modules,
  .grid.modules.featured-modules,
  .course-grid {
    grid-template-columns: 1fr;
  }
}
