:root {
  --bg: #f5f8fb;
  --panel: #ffffff;
  --ink: #0d1726;
  --muted: #617186;
  --line: #dbe5ef;
  --primary: #0957d0;
  --primary-strong: #063f9b;
  --cyan: #00a7c7;
  --teal: #0aa18f;
  --green: #26845f;
  --violet: #5966d8;
  --warning: #c87012;
  --shadow: 0 18px 45px rgba(21, 48, 88, 0.11);
  --radius: 8px;
  --max: 1180px;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #f7fbff 0, var(--bg) 360px),
    var(--bg);
  line-height: 1.65;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(220, 227, 238, 0.9);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(100% - 32px, var(--max));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--cyan));
  box-shadow: 0 10px 22px rgba(18, 103, 216, 0.22);
}

.brand-text {
  display: grid;
  line-height: 1.15;
}

.brand-text small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--ink);
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  border-radius: 2px;
}

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

.nav-links a,
.nav-item > a {
  padding: 10px 14px;
  border-radius: 8px;
  color: #243246;
  font-size: 15px;
  font-weight: 650;
}

.nav-links a:hover,
.nav-links a.active,
.nav-item:hover > a {
  color: var(--primary-strong);
  background: #edf5ff;
}

.nav-item {
  position: relative;
}

.submenu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 210px;
  display: none;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.nav-item:hover .submenu,
.nav-item:focus-within .submenu {
  display: grid;
  gap: 4px;
}

.submenu a {
  display: block;
  white-space: nowrap;
}

.section {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 72px 0;
}

.hero {
  width: min(100% - 32px, var(--max));
  min-height: calc(100vh - 72px);
  margin: 0 auto;
  padding: 72px 0 52px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: 48px;
  align-items: center;
}

.hero-copy {
  max-width: 680px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--primary-strong);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.16;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(40px, 6vw, 76px);
}

h2 {
  font-size: clamp(28px, 4vw, 44px);
}

h3 {
  font-size: 21px;
}

.lead {
  margin: 22px 0 0;
  color: #334155;
  font-size: clamp(17px, 2.2vw, 21px);
}

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

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 750;
}

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

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

.hero-visual {
  position: relative;
  min-height: 470px;
  border: 1px solid rgba(18, 103, 216, 0.12);
  border-radius: var(--radius);
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 18%, rgba(0, 167, 199, 0.24), transparent 30%),
    radial-gradient(circle at 78% 24%, rgba(9, 87, 208, 0.23), transparent 32%),
    linear-gradient(145deg, #0d1d33, #123f7c 44%, #eff7ff 44.4%, #ffffff 100%);
  box-shadow: var(--shadow);
}

.system-map {
  position: absolute;
  inset: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.map-node {
  min-height: 112px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
}

.map-node.light {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.9);
}

.map-node strong {
  display: block;
  margin-bottom: 8px;
  font-size: 17px;
}

.map-node span {
  color: inherit;
  opacity: 0.78;
  font-size: 14px;
}

.section-head {
  max-width: 780px;
  margin-bottom: 32px;
}

.section-head p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
}

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

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

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

.card {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 8px 24px rgba(23, 42, 70, 0.05);
}

.card p {
  margin: 12px 0 0;
  color: var(--muted);
}

.tag-row {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 3px 9px;
  border-radius: 999px;
  color: #21405c;
  background: #eef4f8;
  font-size: 13px;
  font-weight: 700;
}

.feature-list {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  padding-left: 22px;
  position: relative;
  color: #3b4756;
}

.feature-list li::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
}

.metric-band {
  background: linear-gradient(135deg, #0d1d33, #123f7c 58%, #0b6b73);
  color: #fff;
}

.metric-band .section {
  padding: 48px 0;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.metric {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  text-align: center;
  box-shadow: 0 4px 12px rgba(23, 42, 70, 0.04);
}

.metric strong {
  display: block;
  font-size: clamp(24px, 3.5vw, 36px);
  color: var(--primary);
  margin-bottom: 8px;
}

.metric span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.page-hero {
  background:
    linear-gradient(135deg, rgba(9, 87, 208, 0.11), rgba(0, 167, 199, 0.08) 48%, rgba(255, 255, 255, 0.8)),
    #f7fbff;
  border-bottom: 1px solid var(--line);
}

.page-hero .section {
  padding: 70px 0 56px;
}

.breadcrumb {
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 14px;
}

.two-column {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 42px;
  align-items: start;
}

.quote-panel {
  padding: 28px;
  border-left: 4px solid var(--primary);
  background: #fff;
  box-shadow: var(--shadow);
}

.quote-panel p {
  margin: 0;
  color: #243246;
  font-size: 19px;
}

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

.news-card {
  display: flex;
  gap: 20px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 8px 24px rgba(23, 42, 70, 0.05);
  transition: box-shadow 0.3s ease;
}

.news-card:hover {
  box-shadow: 0 12px 32px rgba(23, 42, 70, 0.08);
}

.news-image {
  flex-shrink: 0;
  width: 180px;
  height: 120px;
  overflow: hidden;
  border-radius: 6px;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.news-date {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.news-content h3 {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.4;
  color: var(--ink);
}

.news-content p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-content .tag-row {
  margin-top: auto;
}

.icon-box {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(9, 87, 208, 0.1), rgba(0, 167, 199, 0.1));
  color: var(--primary);
  font-size: 20px;
  margin-bottom: 12px;
}

.card h3 i {
  margin-right: 8px;
  color: var(--primary);
}

.feature-list li i {
  margin-right: 8px;
  color: var(--teal);
}

.metric i {
  font-size: 22px;
  color: var(--primary);
  margin-bottom: 8px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-inner {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 36px 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a {
  color: #2f4054;
  font-weight: 650;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 72px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
  }

  .nav-item {
    width: 100%;
  }

  .nav-item > a {
    display: block;
  }

  .submenu {
    position: static;
    display: grid;
    min-width: 0;
    margin: 0 0 4px 12px;
    padding: 4px;
    border: 0;
    box-shadow: none;
    background: #f7fbff;
  }

  .nav-links.open {
    display: flex;
  }

  .hero,
  .two-column {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 48px;
  }

  .hero-visual {
    min-height: 420px;
  }

  .grid.cols-3,
  .grid.cols-2 {
    grid-template-columns: 1fr;
  }

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

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

  .news-card {
    flex-direction: column;
  }

  .news-image {
    width: 100%;
    height: 180px;
  }

  .footer-inner {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .nav,
  .section,
  .hero,
  .footer-inner {
    width: min(100% - 24px, var(--max));
  }

  .brand-text small {
    display: none;
  }

  .hero-visual {
    min-height: 360px;
  }

  .system-map {
    inset: 16px;
    grid-template-columns: 1fr;
  }

  .map-node {
    min-height: 80px;
    padding: 14px;
  }

  .section {
    padding: 52px 0;
  }

  .actions,
  .button {
    width: 100%;
  }
}

.carousel-container {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
}

.carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.carousel-slide {
  display: none;
}

.carousel-slide.active {
  display: block;
}

.carousel-content {
  display: flex;
  gap: 32px;
  padding: 24px;
}

.carousel-image {
  flex-shrink: 0;
  width: 50%;
  max-width: 500px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg);
}

.carousel-image img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}

.carousel-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.carousel-info h2 {
  margin: 0 0 16px;
  font-size: 28px;
  color: var(--primary);
}

.carousel-desc {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
}

.carousel-info .feature-list {
  margin: 0 0 20px;
}

.carousel-info .actions {
  display: flex;
  gap: 12px;
}

.carousel-prev,
.carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: var(--panel);
  color: var(--primary);
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.carousel-prev:hover,
.carousel-next:hover {
  background: var(--primary);
  color: white;
}

.carousel-prev {
  left: 16px;
}

.carousel-next {
  right: 16px;
}

.carousel-prev .arrow,
.carousel-next .arrow {
  font-weight: bold;
}

.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.carousel-indicators .indicator {
  padding: 10px 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--panel);
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-indicators .indicator:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.carousel-indicators .indicator.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

@media (max-width: 900px) {
  .carousel-content {
    flex-direction: column;
    padding: 16px;
  }

  .carousel-image {
    width: 100%;
    max-width: 100%;
  }

  .carousel-image img {
    height: 200px;
  }

  .carousel-info h2 {
    font-size: 22px;
  }

  .carousel-info .actions {
    flex-direction: column;
  }

  .carousel-prev,
  .carousel-next {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .carousel-indicators .indicator {
    padding: 8px 16px;
    font-size: 13px;
  }
}
