:root {
  --primary: #1d4ed8;
  --primary-deep: #0a2d85;
  --primary-dark: #081c4d;
  --secondary: #27c4f5;
  --teal: #16c5be;
  --surface: #ffffff;
  --surface-muted: #f3f7fd;
  --line: rgba(18, 53, 126, 0.1);
  --text-main: #12357e;
  --text-body: #4b628f;
  --text-soft: #7f90b5;
  --shadow-soft: 0 18px 42px rgba(7, 29, 79, 0.08);
  --shadow-hover: 0 22px 48px rgba(7, 29, 79, 0.14);
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--text-body);
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top right, rgba(39, 196, 245, 0.08), transparent 24%),
    linear-gradient(180deg, #fbfdff 0%, #f4f8ff 100%);
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: var(--bs-body-bg, #fff);
  transition: transform 0.3s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 8px 24px rgba(8, 28, 77, 0.08);
}

.site-header.is-hidden {
  transform: translateY(-100%);
}

.hero-section {
  background: #fff;
}

.hero-section .carousel {
  position: relative;
}

.hero-section .carousel-item img {
  width: 100%;
  height: clamp(300px, 42vw, 620px);
  object-fit: cover;
  object-position: center;
}

.hero-caption-wrap,
.hero-indicators-shell {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.hero-caption-wrap .container,
.hero-indicators-shell .container {
  height: 100%;
  position: relative;
}

.hero-caption {
  position: absolute;
  top: 50%;
  left: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
  max-width: min(620px, 54%);
  transform: translateY(-54%);
  color: #fff;
  pointer-events: auto;
}

.hero-caption h1,
.hero-caption h2 {
  margin-bottom: 20px;
  color: #fff;
  font-size: clamp(32px, 3.2vw, 62px);
  line-height: 1.18;
  font-weight: 800;
}

.hero-caption p {
  max-width: 560px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-btn {
  min-width: 138px;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  pointer-events: auto;
}

.hero-btn-primary {
  color: #fff;
  border: 1px solid transparent;
  background: linear-gradient(135deg, #10c0fb, #2051e2);
  box-shadow: 0 12px 24px rgba(16, 192, 251, 0.24);
}

.hero-btn-primary:hover {
  color: #fff;
}

.hero-btn-outline {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.58);
  background: rgba(9, 23, 66, 0.18);
  backdrop-filter: blur(8px);
}

.hero-btn-outline:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.hero-indicators {
  right: auto;
  bottom: 26px;
  left: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
  width: auto;
  margin: 0;
  justify-content: flex-start;
  transform: none;
  padding: 0;
  pointer-events: auto;
}

.hero-indicators [data-bs-target] {
  width: 42px;
  height: 4px;
  margin-right: 8px;
  border: 0;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.45);
  opacity: 1;
}

.hero-indicators .active {
  background-color: #fff;
}

.section-block {
  padding: 64px 0;
}

.section-light {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(242, 247, 255, 0.96));
}

.section-head,
.section-copy {
  margin-bottom: 26px;
}

.section-head .section-tag {
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
}

.section-head .section-tag::before {
  display: none;
}

.section-head .section-tag::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 1em;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--secondary), var(--primary));
}

.section-head-between {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.section-tag::before {
  content: "";
  width: 28px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--secondary), var(--primary));
}

.section-title {
  margin: 0;
  color: var(--text-main);
  font-size: clamp(28px, 2.4vw, 40px);
  line-height: 1.2;
  font-weight: 800;
}

.section-copy p,
.news-body p,
.idea-card p,
.eco-node p,
.footer-brand p,
.footer-contact p {
  margin-bottom: 0;
  color: var(--text-body);
  font-size: 15px;
  line-height: 1.9;
}

.about-copy {
  padding-right: 18px;
}

.about-copy .section-tag {
  position: relative;
  display: inline-block;
  margin-bottom: 18px;
  padding-bottom: 12px;
  font-size: 15px;
}

.about-copy .section-tag::before {
  display: none;
}

.about-copy .section-tag::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 1em;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--secondary), var(--primary));
}

.about-copy .section-title {
  font-size: clamp(24px, 2vw, 34px);
  line-height: 1.28;
}

.metric-card {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.metric-card:hover,
.sector-card:hover,
.idea-card:hover,
.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.metric-card-accent {
  background: linear-gradient(180deg, rgba(14, 43, 118, 0.96), rgba(9, 29, 82, 0.96));
}

.metric-card-accent h3,
.metric-card-accent .metric-number,
.metric-card-accent p,
.metric-card-accent .metric-icon {
  color: #fff;
}

.metric-icon {
  width: 56px;
  height: 56px;
  display: inline-flex;
  flex: 0 0 56px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--secondary);
  font-size: 26px;
  background: linear-gradient(180deg, rgba(37, 100, 235, 0.1), rgba(39, 196, 245, 0.12));
}

.metric-content {
  min-width: 0;
}

.metric-number {
  margin-bottom: 8px;
  color: var(--primary);
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
}

.metric-card h3,
.idea-card h3,
.eco-node h3,
.news-body h3,
.footer-nav h3,
.footer-contact h3 {
  margin-bottom: 10px;
  color: var(--text-main);
  font-size: 20px;
  font-weight: 800;
}

.metric-card p {
  font-size: 14px;
  line-height: 1.8;
}

.sector-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  min-height: 280px;
  background: #0f2d7a;
  box-shadow: var(--shadow-soft);
}

.sector-card img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.sector-card:hover img {
  transform: scale(1.04);
}

.sector-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  color: #fff;
  background: linear-gradient(120deg, rgba(10, 104, 96, 0.86), rgba(5, 35, 83, 0.22) 60%, rgba(4, 17, 43, 0.45) 100%);
}

.sector-card-blue .sector-overlay {
  background: linear-gradient(120deg, rgba(16, 86, 190, 0.78), rgba(4, 36, 109, 0.18) 60%, rgba(4, 17, 43, 0.45) 100%);
}

.sector-card-purple .sector-overlay {
  background: linear-gradient(120deg, rgba(76, 49, 150, 0.76), rgba(25, 39, 117, 0.18) 60%, rgba(7, 12, 37, 0.45) 100%);
}

.sector-overlay h3 {
  margin-bottom: 10px;
  font-size: 30px;
  font-weight: 800;
}

.sector-overlay p {
  max-width: 280px;
  margin-bottom: 20px;
  font-size: 14px;
  line-height: 1.9;
}

.sector-btn {
  align-self: flex-start;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  backdrop-filter: blur(10px);
}

.sector-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.idea-card {
  height: 100%;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 28px 24px;
  border: 1px solid rgba(29, 78, 216, 0.14);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.idea-icon,
.eco-icon {
  width: 64px;
  height: 64px;
  display: inline-flex;
  flex: 0 0 64px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--primary);
  font-size: 28px;
  background: linear-gradient(180deg, rgba(39, 196, 245, 0.12), rgba(37, 99, 235, 0.1));
}

.idea-content {
  min-width: 0;
}

.ecosystem-line {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
  margin-top: 16px;
}

.ecosystem-line::before {
  content: "";
  position: absolute;
  top: 31px;
  left: 8.5%;
  right: 8.5%;
  height: 2px;
  background:
    linear-gradient(90deg, rgba(32, 81, 226, 0.18), rgba(39, 196, 245, 0.85), rgba(32, 81, 226, 0.18));
  z-index: 0;
}

.eco-node {
  position: relative;
  z-index: 1;
  padding-top: 6px;
  text-align: center;
}

.eco-node .eco-icon {
  margin-inline: auto;
  background: #fff;
  box-shadow: 0 10px 26px rgba(12, 53, 131, 0.12);
}

.eco-node h3 {
  font-size: 18px;
}

.eco-node p {
  font-size: 14px;
  line-height: 1.8;
}

.news-more {
  color: var(--primary);
  font-size: 15px;
  font-weight: 700;
}

.news-card {
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.news-thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

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

.news-body {
  padding: 22px 22px 24px;
}

.news-body h3 {
  font-size: 20px;
  line-height: 1.4;
}

.news-body span,
.qr-card span,
.footer-bottom span {
  color: var(--text-soft);
  font-size: 13px;
}

.site-footer {
  padding: 56px 0 30px;
  color: rgba(255, 255, 255, 0.72);
  background:
    radial-gradient(circle at top right, rgba(39, 196, 245, 0.18), transparent 25%),
    linear-gradient(180deg, #071737 0%, #07112b 100%);
}

.footer-brand img {
  width: min(320px, 100%);
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
}

.footer-brand p,
.footer-contact p,
.footer-nav a,
.footer-bottom span {
  color: rgba(226, 233, 255, 0.74);
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  color: #fff;
  transition: background 0.2s ease, transform 0.2s ease;
}

.footer-social a:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.footer-nav h3,
.footer-contact h3 {
  color: #fff;
  font-size: 18px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav a {
  font-size: 14px;
}

.footer-contact p {
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.8;
}

.qr-card {
  text-align: center;
}

.qr-box {
  width: 146px;
  height: 146px;
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
  padding: 16px;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.06)),
    #fff;
}

.qr-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 1399.98px) {
  .ecosystem-line {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 28px;
  }

  .ecosystem-line::before {
    left: 16.5%;
    right: 16.5%;
  }
}

@media (max-width: 991.98px) {
  .section-block {
    padding: 52px 0;
  }

  .hero-section .carousel-item img {
    height: clamp(240px, 46vw, 420px);
  }

  .hero-caption {
    max-width: min(640px, 70%);
  }

  .hero-caption h1,
  .hero-caption h2 {
    margin-bottom: 16px;
    font-size: clamp(28px, 3.4vw, 46px);
  }

  .hero-caption p {
    margin-bottom: 22px;
    line-height: 1.75;
  }

  .hero-indicators {
    bottom: 18px;
  }

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

  .about-copy {
    padding-right: 0;
  }

  .metric-number {
    font-size: 42px;
  }

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

  .ecosystem-line::before {
    display: none;
  }

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

@media (max-width: 767.98px) {
  .section-title {
    font-size: 30px;
  }

  .hero-section .carousel-item img {
    height: 220px;
  }

  .hero-caption {
    top: 34px;
    left: 0;
    max-width: 88%;
    transform: none;
  }

  .hero-caption h1,
  .hero-caption h2 {
    margin-bottom: 10px;
    font-size: 24px;
  }

  .hero-caption p {
    max-width: 100%;
    margin-bottom: 14px;
    font-size: 13px;
    line-height: 1.6;
  }

  .hero-actions {
    gap: 10px;
  }

  .hero-btn {
    min-width: 112px;
    padding: 9px 16px;
    font-size: 13px;
  }

  .hero-indicators {
    bottom: 10px;
  }

  .hero-indicators [data-bs-target] {
    width: 28px;
  }

  .metric-card,
  .idea-card,
  .news-body {
    padding: 22px 18px;
  }

  .metric-card {
    gap: 14px;
  }

  .sector-overlay {
    padding: 22px;
  }

  .sector-overlay h3 {
    font-size: 26px;
  }
}

@media (max-width: 575.98px) {
  .container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .section-block {
    padding: 42px 0;
  }

  .section-tag {
    font-size: 13px;
  }

  .section-title {
    font-size: 26px;
  }

  .hero-section .carousel-item img {
    height: 190px;
  }

  .hero-caption {
    top: 24px;
    max-width: 100%;
  }

  .hero-caption h1,
  .hero-caption h2 {
    font-size: 20px;
  }

  .hero-caption p {
    display: none;
  }

  .hero-btn {
    min-width: auto;
    padding: 8px 14px;
  }

  .metric-number {
    font-size: 36px;
  }


  .qr-box {
    width: 128px;
    height: 128px;
  }
}
