:root {
  --primary: #0a74c9;
  --primary-dark: #084f8f;
  --accent: #f4c400;
  --bg: #f5f8fc;
  --text: #1f2a37;
  --muted: #5f6f82;
  --card: #ffffff;
  --line: #dce6f2;
}

* { box-sizing: border-box; }

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

.container { width: min(1120px, 92%); margin: 0 auto; }

.header {
  background: transparent;
  border-bottom: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}
.header.scrolled {
  background: rgba(15, 33, 54, 0.84);
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 22px rgba(6, 18, 34, 0.26);
}
.header .container {
  width: min(1280px, 96%);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
}

.brand { display: flex; align-items: center; gap: 10px; }
.brand img { width: auto; height: 40px; object-fit: contain; }

.nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  line-height: 1;
  text-decoration: none;
  color: var(--text);
  font-size: 16px;
  letter-spacing: 0;
  font-weight: 500;
  position: relative;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--primary-dark); }
.nav-links a.active { color: var(--primary-dark); }
.nav-links a.active::after { display: none; }
.header .nav-links a {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
}
.header .nav-links a:hover { color: var(--accent); }
.header .nav-links a.active { color: var(--accent); }
.header .nav-links a.active::after {
  background: rgba(255, 255, 255, 0.9);
}
.header .nav-links .nav-contact {
  min-width: 104px;
  height: 40px;
  padding: 0 18px;
  font-size: 16px;
  font-weight: 500;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.14);
}
.header .nav-links .nav-contact:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--primary-dark);
}
.header .nav-links .nav-contact.active::after { display: none; }
.menu-toggle {
  display: none;
  margin-left: auto;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 8px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.menu-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 99px;
  background: #fff;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu {
  display: none;
  background: rgba(15, 33, 54, 0.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 10px 4% 14px;
}
.mobile-menu a {
  display: block;
  color: #fff;
  text-decoration: none;
  padding: 10px 10px;
  font-weight: 600;
}
.mobile-menu .mobile-contact {
  margin-top: 6px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  text-align: center;
  background: rgba(255, 255, 255, 0.15);
}
.mobile-menu.open { display: block; }

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 92px 0 72px;
  background-image: linear-gradient(rgba(15, 24, 38, 0.58), rgba(15, 24, 38, 0.58)), url("main.jpg");
  background-size: cover;
  background-position: center;
}

.hero-grid { width: 100%; display: flex; justify-content: center; }
.hero-content { max-width: 860px; text-align: center; color: #fff; }

h2 {
  margin: 0 0 14px;
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 700;
  letter-spacing: 0.5px;
  text-shadow: 0 6px 22px rgba(4, 12, 24, 0.42);
  line-height: 1.2;
}

.hero-content > p {
  margin: 0 auto;
  max-width: 760px;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(16px, 2vw, 20px);
  text-shadow: 0 2px 10px rgba(4, 12, 24, 0.35);
}

.cta-row {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  gap: 14px;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 999px;
  border: 1px solid var(--primary);
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}
.btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(244, 196, 0, 0.35);
}

.btn.ghost { background: transparent; color: var(--primary-dark); }
.hero .btn.ghost {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.75);
}
.hero .btn.ghost:hover {
  background: rgba(244, 196, 0, 0.25);
  border-color: var(--accent);
  color: #fff;
}
.hero-more {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: 15px;
  letter-spacing: 0;
  animation: heroMoreBounce 1.6s infinite;
}
.hero-more::after {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  margin: 6px auto 0;
  border-right: 1px solid rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.8);
  transform: rotate(45deg);
}
@keyframes heroMoreBounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-8px); }
  60% { transform: translateX(-50%) translateY(-4px); }
}

.section { padding: 64px 0; }
.section.alt {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  margin-bottom: 24px;
  text-align: center;
}
.section-head h3 {
  margin: 0;
  font-size: clamp(28px, 3vw, 34px);
  display: inline-block;
  position: relative;
  padding-bottom: 10px;
}
.section-head h3::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 56px;
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}
.section-head p {
  margin: 12px auto 0;
  max-width: 760px;
  color: var(--muted);
}

.about-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 46px;
  align-items: start;
}
.about-text { padding-right: 4px; }
.about-text h4 {
  margin: 0 0 12px;
  font-size: 24px;
  color: var(--primary-dark);
}
.about-text p { margin: 0 0 12px; color: #3a4b61; }
.about-text p:last-child { margin-bottom: 0; }

.about-img {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  background: transparent;
}
.about-img img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  object-position: center;
  display: block;
}
.about-carousel-track {
  position: relative;
  width: 100%;
  min-height: 320px;
  aspect-ratio: 16 / 10;
  padding: 0;
  background: transparent;
}
.about-carousel {
  isolation: isolate;
}
.about-carousel-track::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: none;
}
.about-slide {
  position: absolute;
  inset: 0;
  border-radius: 0;
  opacity: 0;
  z-index: 1;
  filter: none;
  transition: opacity 0.55s ease;
}
.about-slide.is-active {
  opacity: 1;
}
.about-slide.slide-1 { object-position: center; }
.about-slide.slide-2 { object-position: center; }
.about-slide.slide-3 {
  object-fit: cover;
  object-position: center;
  background: none;
}
.about-carousel-btn,
.about-carousel-dots {
  z-index: 2;
}
.about-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: rgba(15, 33, 54, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.42);
  box-shadow: 0 6px 14px rgba(8, 20, 38, 0.2);
  color: #fff;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  transition: transform 0.25s ease, background 0.25s ease;
}
.about-carousel-btn:hover {
  transform: translateY(-50%) scale(1.08);
  background: rgba(15, 33, 54, 0.72);
}
.about-carousel-btn.prev { left: 10px; }
.about-carousel-btn.next { right: 10px; }
.about-carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.about-dot {
  width: 10px;
  height: 10px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.48);
  padding: 0;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease;
}
.about-dot.is-active {
  background: var(--accent);
  transform: scale(1.15);
}

.cards,
.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card,
.solution,
.stat-card,
.contact-card,
.partner-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.card,
.solution { padding: 20px 18px; }
.card h4,
.solution h4 { margin: 0 0 8px; color: var(--primary-dark); }
.card p,
.solution p { margin: 0; color: #3f5168; }

.card,
.solution,
.stat-card,
.contact-card,
.partner-item {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.card:hover,
.solution:hover,
.contact-card:hover,
.partner-item:hover {
  transform: translateY(-3px) scale(1.03);
  border-color: var(--line);
  box-shadow: 0 14px 28px rgba(8, 79, 143, 0.16);
}
.stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(244, 196, 0, 0.58);
  box-shadow: 0 12px 24px rgba(244, 196, 0, 0.18);
}

.achievement-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
.stat-card {
  border-top: 3px solid var(--accent);
  text-align: center;
  padding: 18px 12px;
}
.stat-num {
  margin: 0;
  font-size: 30px;
  font-weight: 700;
  color: var(--primary-dark);
}
.stat-label { margin: 6px 0 0; color: var(--muted); font-size: 14px; }

.partner-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}
.partner-item {
  text-align: center;
  padding: 14px 10px;
  color: var(--muted);
  font-weight: 600;
}

.contact { background: linear-gradient(180deg, #f6f9ff 0%, #f0f6ff 100%); }
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 34px;
  align-items: stretch;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: repeat(4, minmax(0, 1fr));
  gap: 16px;
  min-height: 340px;
  height: 100%;
}
.contact-card {
  padding: 18px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 4px 12px rgba(20, 45, 80, 0.06);
}
.contact-title { margin: 0 0 6px; color: var(--primary-dark); font-weight: 700; }
.contact-card p { margin: 0; }
.contact-card a { color: var(--primary-dark); text-decoration: none; font-weight: 700; }
.contact-card a:hover { color: var(--accent); }
.contact-visual {
  position: relative;
  min-height: 100%;
  margin-left: 6px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow:
    0 18px 36px rgba(20, 45, 80, 0.16),
    0 4px 12px rgba(20, 45, 80, 0.10);
  background: linear-gradient(160deg, #fdfefe 0%, #eef4ff 100%);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.contact-visual:hover {
  transform: translateY(-4px);
  box-shadow:
    0 24px 42px rgba(20, 45, 80, 0.2),
    0 8px 16px rgba(20, 45, 80, 0.12);
}
.contact-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.24) 0%, rgba(255, 255, 255, 0) 38%),
    radial-gradient(120% 60% at 50% -10%, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
  z-index: 2;
}
.contact-image {
  width: 100%;
  height: 100%;
  min-height: 340px;
  border: none;
  border-radius: 0;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.09);
  transform-origin: center;
}
.wechat-float-card {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 3;
  width: 172px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 22px rgba(13, 34, 60, 0.2);
  backdrop-filter: blur(8px);
  text-align: center;
}
.wechat-float-title {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-dark);
}
.wechat-qr {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--line);
  display: block;
  background: #fff;
}
.wechat-float-tip {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: #49607f;
}
.tip { text-align: center; color: var(--muted); }

.footer {
  background: #0f2136;
  color: #d8e5f5;
  padding: 34px 0 18px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 20px;
  margin-bottom: 18px;
}
.footer-col h4 {
  margin: 0 0 10px;
  font-size: 16px;
  color: #fff;
}
.footer-col p {
  margin: 0 0 8px;
  color: #c8d9ee;
}
.footer-col a {
  display: block;
  margin-bottom: 8px;
  text-decoration: none;
  color: #c8d9ee;
}
.footer-col a:hover { color: #fff; }
.copyright {
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid rgba(216, 229, 245, 0.2);
  color: #b8cde6;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

@media (max-width: 900px) {
  .header .container { width: min(1360px, 96%); }
  .nav { padding: 8px 0; }
  .nav-links { display: none; }
  .menu-toggle { display: inline-flex; }
  .hero { min-height: 100vh; padding: 84px 0 64px; }
  .section { padding: 54px 0; }
  .about-content,
  .contact-layout,
  .cards,
  .solution-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .about-content { gap: 20px; }
  .about-text { padding-right: 0; }
  .contact-grid {
    grid-template-rows: none;
    min-height: 0;
    height: auto;
    gap: 12px;
  }
  .contact-visual { margin-left: 0; }
  .wechat-float-card {
    width: 156px;
    right: 12px;
    bottom: 12px;
    padding: 10px;
  }
  .about-carousel-btn {
    width: 30px;
    height: 30px;
    font-size: 20px;
  }
  .achievement-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partner-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .hero { min-height: 100vh; }
  .hero-content > p { font-size: 15px; }
  .hero-content h2 { font-size: 38px; }
  .btn { font-size: 16px; }
  .cta-row { flex-direction: column; }
  .wechat-float-card {
    position: static;
    width: min(210px, calc(100% - 24px));
    margin: 14px auto 14px;
  }
  .achievement-grid { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
