/* ==========================================================================
   青海智行数合科技有限公司 · 官网样式
   主色取自设计稿：#50A890
   ========================================================================== */

:root {
  --green: #50a890;
  --green-dark: #3e8c79;
  --green-deep: #2f6e5d;
  --green-light: #eaf6f1;
  --green-soft: #f5f9f7;

  --ink: #17211f;
  --body: #55605e;
  --muted: #8a9795;
  --line: #e6edeb;
  --line-soft: #eef3f1;

  --footer-bg: #17322d;
  --footer-text: #c7dcd5;
  --footer-muted: #8fb4a9;

  --radius-card: 14px;
  --container: 1248px;
  --shadow-card: 0 10px 30px rgba(13, 43, 38, 0.08);
  --shadow-header: 0 6px 20px rgba(13, 43, 38, 0.08);

  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC",
          "Noto Sans CJK SC", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #fff;
  color: var(--body);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- 通用入场动画 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- 箭头（CSS 绘制，替代切图） ---------- */
.arrow {
  display: inline-block;
  width: 22px;
  height: 12px;
  margin-left: 10px;
  position: relative;
  transition: transform 0.25s ease;
}
.arrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 18px;
  height: 1.6px;
  background: currentColor;
  transform: translateY(-50%);
}
.arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: translateY(-50%) rotate(-45deg);
  transform-origin: center;
}

/* ==========================================================================
   页头：默认（首屏未滑动）绿底白字；下滑后白底深色字
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--green);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* —— 绿色状态（首屏） —— */
.site-header .brand__name { color: #fff; }
.site-header .nav__link { color: rgba(255, 255, 255, 0.86); }
.site-header .nav__link:hover { color: #fff; }
.site-header .nav__link.is-active { color: #fff; font-weight: 600; }
.site-header .btn-ghost {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.34);
}
.site-header .btn-ghost:hover { background: #fff; color: var(--green-deep); border-color: #fff; }
.site-header .nav-toggle { border-color: rgba(255, 255, 255, 0.5); background: transparent; }
.site-header .nav-toggle span { background: #fff; }

/* —— 白色状态（下滑后） —— */
.site-header.is-scrolled {
  background: #fff;
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-header);
}
.site-header.is-scrolled .brand__name { color: var(--ink); }
.site-header.is-scrolled .nav__link { color: #5f6c6a; }
.site-header.is-scrolled .nav__link:hover { color: var(--green-dark); }
.site-header.is-scrolled .nav__link.is-active { color: var(--green); }
.site-header.is-scrolled .btn-ghost {
  background: var(--green-light);
  color: var(--green-dark);
  border-color: transparent;
}
.site-header.is-scrolled .btn-ghost:hover { background: var(--green); color: #fff; }
.site-header.is-scrolled .nav-toggle { border-color: var(--line); background: #fff; }
.site-header.is-scrolled .nav-toggle span { background: var(--ink); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 78px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: none;
}
.brand__marks {
    position: relative;
    flex: none;
    width: 167px;
    height: 46px;
}
.brand__mark {
    position: absolute;
    inset: 0;
    width: 167px;
    height: 46px;
    border-radius: 9px;
    transition: opacity 0.3s ease;
}
/* 绿底时显示白色标识，白底时显示绿色标识 */
.brand__mark--light { opacity: 1; }
.brand__mark--dark { opacity: 0; }
.site-header.is-scrolled .brand__mark--light { opacity: 0; }
.site-header.is-scrolled .brand__mark--dark { opacity: 1; }

.brand__name {
  font-size: 28px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.2px;
  transition: color 0.3s ease;
}

.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav__link {
  font-size: 15px;
  color: #5f6c6a;
  transition: color 0.2s ease;
  white-space: nowrap;
}
.nav__link:hover { color: var(--green-dark); }
.nav__link.is-active {
  color: var(--green);
  font-weight: 600;
}

.btn-ghost {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 20px;
  border-radius: 16px;
  background: var(--green-light);
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn-ghost:hover {
  background: var(--green);
  color: #fff;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  margin-left: auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ==========================================================================
   第一屏：幻灯（宽自适应 × 高 865px，背景图 cover 自适应）
   ========================================================================== */
.hero {
  position: relative;
  width: 100%;
  height: 865px;
  overflow: hidden;
  background: #113c39;
}

.hero__track {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s ease, visibility 0.9s ease;
}
.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

/* 背景图自适应铺满 */
.hero-slide__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.06);
  transition: transform 8s ease-out;
  will-change: transform;
}
.hero-slide.is-active .hero-slide__img { transform: scale(1); }

/* 文字可读性遮罩 */
.hero-slide__mask {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 34, 32, 0.74) 0%, rgba(5, 34, 32, 0.44) 46%, rgba(5, 34, 32, 0.10) 100%),
    linear-gradient(180deg, rgba(5, 34, 32, 0.52) 0%, rgba(5, 34, 32, 0) 28%);
}

.hero-slide__inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 78px;
  max-width: var(--container);
  margin: 0 auto;
}

.hero-slide__eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, 0.86);
}
.hero-slide__title {
  margin-top: 18px;
  font-size: 52px;
  line-height: 1.24;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
  text-shadow: 0 2px 18px rgba(4, 30, 28, 0.35);
}
.hero-slide__sub {
  margin-top: 18px;
  max-width: 620px;
  font-size: 17px;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.9);
}
.hero-slide__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 30px;
  border-radius: 24px;
  font-size: 15px;
  font-weight: 600;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.btn--solid {
  background: #fff;
  color: var(--green-deep);
}
.btn--solid:hover { background: var(--green-light); transform: translateY(-2px); }
.btn--ghost {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.06);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.18); border-color: #fff; transform: translateY(-2px); }

/* 入场文字动效 */
.hero-slide .hero-slide__eyebrow,
.hero-slide .hero-slide__title,
.hero-slide .hero-slide__sub,
.hero-slide .hero-slide__actions {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.hero-slide.is-active .hero-slide__eyebrow { opacity: 1; transform: none; transition-delay: 0.15s; }
.hero-slide.is-active .hero-slide__title { opacity: 1; transform: none; transition-delay: 0.28s; }
.hero-slide.is-active .hero-slide__sub { opacity: 1; transform: none; transition-delay: 0.4s; }
.hero-slide.is-active .hero-slide__actions { opacity: 1; transform: none; transition-delay: 0.52s; }

/* 左右箭头 */
.hero__arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 52px;
  height: 52px;
  margin-top: -26px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(9, 43, 40, 0.22);
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
  backdrop-filter: blur(2px);
}
.hero__arrow:hover { background: rgba(255, 255, 255, 0.22); border-color: #fff; transform: scale(1.06); }
.hero__arrow--prev { left: 32px; }
.hero__arrow--next { right: 32px; }
.hero__arrow span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 11px;
  border-top: 1.8px solid #fff;
  border-right: 1.8px solid #fff;
}
.hero__arrow--prev span { transform: translate(-40%, -50%) rotate(-135deg); }
.hero__arrow--next span { transform: translate(-60%, -50%) rotate(45deg); }

/* 圆点 */
.hero__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 40px;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 12px;
}
.hero__dot {
  width: 34px;
  height: 4px;
  padding: 0;
  border: 0;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: background 0.25s ease, width 0.25s ease;
}
.hero__dot:hover { background: rgba(255, 255, 255, 0.7); }
.hero__dot.is-active { width: 54px; background: #fff; }

/* 观看视频按钮（幻灯左下角） */
.hero__video {
  position: absolute;
  left: max(24px, calc(50% - 624px + 24px));
  bottom: 44px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 56px;
  padding: 0 26px 0 8px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  background: rgba(6, 38, 36, 0.34);
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.hero__video:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #fff;
  transform: translateY(-2px);
}
.hero__video-icon {
  position: relative;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  animation: heroPlayPulse 2.4s ease-out infinite;
}
.hero__video-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  margin: -8px 0 0 -5px;
  border-left: 13px solid var(--green-deep);
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
}
@keyframes heroPlayPulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.5); }
  70% { box-shadow: 0 0 0 14px rgba(255, 255, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

/* 下滑提示 */
.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 76px;
  z-index: 3;
  width: 26px;
  height: 42px;
  margin-left: -13px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 13px;
}
.hero__scroll span {
  position: absolute;
  left: 50%;
  top: 9px;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.85);
  animation: heroScrollDot 1.8s ease-in-out infinite;
}
@keyframes heroScrollDot {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(12px); opacity: 0.2; }
  100% { transform: translateY(0); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide, .hero-slide__img { transition: none; }
  .hero-slide__img { transform: none; }
  .hero-slide .hero-slide__eyebrow,
  .hero-slide .hero-slide__title,
  .hero-slide .hero-slide__sub,
  .hero-slide .hero-slide__actions { transition: none; transform: none; opacity: 1; }
  .hero__scroll span { animation: none; }
  .hero__video-icon { animation: none; }
}

/* ==========================================================================
   视频播放层
   ========================================================================== */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.video-modal.is-open { display: flex; }

.video-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 22, 21, 0.82);
  backdrop-filter: blur(6px);
  animation: videoFadeIn 0.28s ease both;
  cursor: pointer;
}

.video-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(1000px, 100%);
  max-height: calc(100vh - 48px);
  display: flex;
  flex-direction: column;
  padding: 18px 18px 20px;
  border-radius: 16px;
  background: #0f2a27;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  animation: videoPopIn 0.32s cubic-bezier(0.2, 0.9, 0.3, 1) both;
}
@keyframes videoFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes videoPopIn {
  from { opacity: 0; transform: translateY(18px) scale(0.96); }
  to { opacity: 1; transform: none; }
}

.video-modal__head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 2px 4px 14px;
}
.video-modal__title {
  font-size: 17px;
  font-weight: 600;
  color: #fff;
}
.video-modal__close {
  position: relative;
  margin-left: auto;
  width: 38px;
  height: 38px;
  flex: none;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.video-modal__close:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #fff;
  transform: rotate(90deg);
}
.video-modal__close span,
.video-modal__close span::after {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 1.8px;
  margin: -0.9px 0 0 -8px;
  background: #fff;
  border-radius: 1px;
  content: "";
}
.video-modal__close span { transform: rotate(45deg); }
.video-modal__close span::after { margin: 0; left: 0; top: 0; transform: rotate(-90deg); }

.video-modal__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  background: #061a19;
}
.video-modal__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #061a19;
}

/* 视频缺失时的兜底 */
.video-modal__fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 28px;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(6, 30, 28, 0.72), rgba(6, 30, 28, 0.9)),
    url("../images/slide-1.jpg") center / cover no-repeat;
}
.video-modal__fallback[hidden] { display: none; }
.video-modal__fallback-title {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
}
.video-modal__fallback-text {
  max-width: 460px;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.82);
}
.video-modal__fallback-btn { margin-top: 8px; height: 42px; }

.video-modal__hint {
  margin-top: 14px;
  padding: 0 4px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.62);
}

/* 打开播放层时锁定页面滚动 */
body.is-locked { overflow: hidden; }

/* ==========================================================================
   一、三大核心服务
   ========================================================================== */
.services { padding: 74px 0 76px; }

.eyebrow {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--green);
}
.section-title {
  margin-top: 22px;
  text-align: center;
  font-size: 34px;
  line-height: 1.35;
  font-weight: 700;
  color: var(--ink);
}
.section-sub {
  margin-top: 14px;
  text-align: center;
  font-size: 15px;
  color: var(--muted);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 46px;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 30px 32px 26px;
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 38px rgba(13, 43, 38, 0.14);
}
.card__bar {
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: var(--green);
}

.card__head {
  display: flex;
  align-items: center;
  gap: 14px;
}
.card__icon {
  flex: none;
  width: 60px;
  height: 60px;
}
.card__title {
  font-size: 21px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.4;
}
.card__sub {
  margin-top: 4px;
  font-size: 13px;
  color: var(--muted);
}

.card__rule {
  height: 1px;
  margin: 22px 0 0;
  border: 0;
  background: var(--line-soft);
}
.card__label {
  margin-top: 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--green-dark);
}
.card__list {
  margin-top: 12px;
  flex: 1;
}
.card__list li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  color: var(--body);
  line-height: 38px;
}
.card__list li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 50%;
  width: 7px;
  height: 7px;
  margin-top: -3.5px;
  border-radius: 50%;
  background: var(--green);
}

.card__more {
  display: inline-flex;
  align-items: center;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 600;
}
.card__more:hover .arrow { transform: translateX(4px); }

.tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
}
.tags li {
  height: 36px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--green-soft);
  font-size: 14px;
  color: #5a6a67;
}

/* ==========================================================================
   二、选择我们
   ========================================================================== */
.why {
  background: var(--green);
  padding: 62px 0 64px;
  color: #fff;
}
.why-inner {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 56px;
  align-items: start;
}
.why__title {
  font-size: 32px;
  line-height: 1.3;
  font-weight: 700;
  color: #fff;
}
.why__en {
  margin-top: 10px;
  font-size: 12px;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, 0.72);
}
.why__line {
  display: block;
  width: 46px;
  height: 3px;
  margin: 22px 0 20px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.9);
}
.why__points li {
  font-size: 15px;
  line-height: 28px;
  color: rgba(255, 255, 255, 0.95);
}

.why__text {
  font-size: 15.5px;
  line-height: 30px;
  color: rgba(255, 255, 255, 0.96);
}

.subscribe {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}
.subscribe__input {
  width: 372px;
  max-width: 100%;
  height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  font-family: inherit;
  outline: none;
}
.subscribe__input::placeholder { color: #9aa7a4; }
.subscribe__input:focus { box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.45); }
.subscribe__btn {
  height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: 6px;
  background: var(--green-deep);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s ease;
}
.subscribe__btn:hover { background: #26594b; }
.subscribe__note {
  margin-left: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
}
.subscribe__tip {
  min-height: 22px;
  margin-top: 10px;
  font-size: 13px;
  color: #fff;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.subscribe__tip.is-show { opacity: 1; }
.subscribe__tip.is-error { color: #ffe2b8; }

/* ==========================================================================
   三、关于我们 + 客户语录
   ========================================================================== */
.about { padding: 72px 0 78px; }
.about-inner {
  display: grid;
  grid-template-columns: 620px 1fr;
  gap: 64px;
  align-items: start;
}
.about__title {
  font-size: 30px;
  font-weight: 700;
  color: var(--ink);
}
.about__en {
  margin-top: 8px;
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--green);
}
.about__line {
  display: block;
  width: 46px;
  height: 3px;
  margin: 20px 0 22px;
  border-radius: 2px;
  background: var(--green);
}
.about__text {
  font-size: 15px;
  line-height: 30px;
  color: var(--body);
  text-align: justify;
}

.badges {
  display: flex;
  gap: 12px;
  margin-top: 30px;
}
.badges li {
  height: 38px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  border-radius: 19px;
  background: var(--green-light);
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 600;
}

.quotes__head {
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.quotes__title {
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
}
.quotes__en {
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--muted);
}

.quotes {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}
.quote {
  position: relative;
  padding: 18px 24px 16px 30px;
  background: #f7faf9;
  border: 1px solid #e9f0ed;
  border-radius: 12px;
  overflow: hidden;
}
.quote::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--green);
}
.quote__mark {
  width: 26px;
  height: 26px;
  margin-bottom: 2px;
  opacity: 0.9;
}
.quote__text {
  font-size: 14px;
  line-height: 24px;
  color: #42504d;
}
.quote__who {
  margin-top: 12px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--green-dark);
}

/* ==========================================================================
   四、网络安全服务流程
   ========================================================================== */
.flow {
  background: var(--green);
  padding: 62px 0 66px;
  color: #fff;
}
.flow__eyebrow {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, 0.85);
}
.flow__title {
  margin-top: 20px;
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  color: #fff;
}
.flow__sub {
  margin-top: 14px;
  text-align: center;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.82);
}

.flow__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 46px;
}

.flow-card {
  position: relative;
  padding: 28px 28px 30px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.28);
  overflow: hidden;
}
.flow-card__bar {
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: rgba(255, 255, 255, 0.85);
}
.flow-card__head {
  display: flex;
  align-items: center;
  gap: 14px;
}
.flow-card__tag {
  height: 28px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.5px;
}
.flow-card__title {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}
.flow-card__rule {
  height: 1px;
  margin: 20px 0 0;
  border: 0;
  background: rgba(255, 255, 255, 0.28);
}

.steps {
  margin-top: 26px;
  display: grid;
  gap: 30px;
}
.step {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 60px;
  padding: 10px 18px 10px 22px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.step::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.55);
}
/* 步骤间连接箭头 */
.step + .step::after {
  content: "";
  position: absolute;
  left: 38px;
  top: -30px;
  width: 1.4px;
  height: 22px;
  background: rgba(255, 255, 255, 0.5);
}
.step + .step .step__no::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -13px;
  width: 6px;
  height: 6px;
  margin-left: -3px;
  border-right: 1.4px solid rgba(255, 255, 255, 0.55);
  border-bottom: 1.4px solid rgba(255, 255, 255, 0.55);
  transform: rotate(45deg);
}

.step__no {
  position: relative;
  flex: none;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--green-dark);
  font-size: 15px;
  font-weight: 700;
}
.step__body h4 {
  font-size: 15.5px;
  font-weight: 600;
  color: #fff;
  line-height: 1.5;
}
.step__body p {
  margin-top: 3px;
  font-size: 12px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
}

.flow-chain {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  margin-top: 44px;
}
.flow-chain li {
  position: relative;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 23px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 15px;
  font-weight: 600;
  color: #fff;
}
.flow-chain li:not(.is-end)::after {
  content: "";
  position: absolute;
  right: -20px;
  top: 50%;
  width: 13px;
  height: 13px;
  margin-top: -6.5px;
  border-right: 1.4px solid rgba(255, 255, 255, 0.7);
  border-bottom: 1.4px solid rgba(255, 255, 255, 0.7);
  transform: rotate(-45deg);
}
.flow-chain li.is-end {
  background: rgba(255, 255, 255, 0.9);
  color: var(--green-dark);
}

.flow__note {
  margin-top: 30px;
  text-align: center;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.78);
}

/* ==========================================================================
   页脚
   ========================================================================== */
.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 40px 0 26px;
}
.footer__mark {
  margin: 0 auto 34px;
  width: 30px;
  height: 30px;
  opacity: 0.45;
}
.footer__grid {
  display: grid;
  grid-template-columns: 224px repeat(3, 1fr);
  gap: 24px;
}
.footer__title {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
}
.footer__en {
  margin-top: 8px;
  font-size: 11.5px;
  letter-spacing: 3px;
  color: #92b8ac;
}
.footer__col-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
}
.footer__col-title img { width: 20px; height: 20px; opacity: 0.8; }
.footer__col-en {
  margin-top: 4px;
  padding-left: 28px;
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--footer-muted);
}
.footer__col-text {
  margin-top: 16px;
  font-size: 13px;
  line-height: 22px;
  color: var(--footer-text);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 12px;
  color: var(--footer-muted);
}

/* ==========================================================================
   响应式
   ========================================================================== */
/* 固定页头下的锚点定位留白 */
section[id], footer[id] { scroll-margin-top: 92px; }

@media (max-width: 1180px) {
  .why-inner { grid-template-columns: 300px 1fr; gap: 40px; }
  .about-inner { grid-template-columns: 1fr; gap: 48px; }
  .about__text { max-width: none; }
  .hero-slide__title { font-size: 46px; }
}

@media (max-width: 1024px) {
  .nav { gap: 22px; }
  .brand__name { font-size: 16px; }
  .section-title { font-size: 30px; }
  .cards { gap: 22px; }
  .card { padding: 26px 24px 22px; }
  .card__title { font-size: 19px; }
  .hero { height: 720px; }
  .hero-slide__title { font-size: 40px; }
  .hero-slide__sub { font-size: 16px; }
  .hero__arrow { width: 46px; height: 46px; margin-top: -23px; }
  .hero__arrow--prev { left: 18px; }
  .hero__arrow--next { right: 18px; }
}

@media (max-width: 900px) {
  .cards { grid-template-columns: 1fr; }
  .why-inner { grid-template-columns: 1fr; gap: 28px; }
  .why__line { margin: 18px 0 14px; }
  .why__points { display: flex; flex-wrap: wrap; gap: 8px 28px; }
  .flow__grid { grid-template-columns: 1fr; gap: 28px; }
  .flow-chain { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .flow-chain li:nth-child(2)::after { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer__brand { grid-column: 1 / -1; }
  .hero { height: 620px; }
  .hero-slide__title { font-size: 34px; }
  .hero-slide__sub { font-size: 15px; max-width: 100%; }
  .hero__scroll { display: none; }
  .hero__dots { bottom: 28px; }
  .hero-slide__inner { padding-bottom: 56px; }
  .hero__video { bottom: 70px; left: 24px; height: 50px; padding: 0 22px 0 7px; font-size: 14px; }
  .hero__video-icon { width: 36px; height: 36px; }
  .hero__video-icon::after { border-left-width: 12px; border-top-width: 7px; border-bottom-width: 7px; margin: -7px 0 0 -5px; }
}

@media (max-width: 768px) {
  .header-inner { height: 66px; gap: 12px; }
  .nav-toggle { display: block; }
  .btn-ghost { display: none; }
  .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 8px 16px 16px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-header);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav__link { padding: 12px 4px; border-bottom: 1px solid var(--line-soft); }
  .nav__link:last-child { border-bottom: 0; }
  /* 下拉面板为白底，链接统一深色（不受绿色页头影响） */
  .nav.is-open .nav__link { color: #5f6c6a; }
  .nav.is-open .nav__link:hover { color: var(--green-dark); }
  .nav.is-open .nav__link.is-active { color: var(--green); }

  .services { padding: 48px 0 54px; }
  .section-title { font-size: 25px; }
  .section-sub { font-size: 14px; }
  .cards { margin-top: 30px; }
  .card__head { gap: 12px; }
  .card__icon { width: 52px; height: 52px; }

  .why { padding: 46px 0 50px; }
  .why__title { font-size: 26px; }
  .why__text { font-size: 15px; line-height: 28px; }
  .subscribe__input { width: 100%; }
  .subscribe__btn { width: 100%; }
  .subscribe__note { margin: 2px 0 0; }

  .about { padding: 48px 0 54px; }
  .about__title { font-size: 26px; }
  .about__text { font-size: 14.5px; line-height: 28px; }

  .flow { padding: 46px 0 50px; }
  .flow__title { font-size: 25px; }
  .flow__sub { font-size: 13.5px; }
  .flow-card { padding: 22px 18px 24px; }
  .step { padding: 10px 14px 10px 18px; gap: 14px; }
  .step__body h4 { font-size: 14.5px; }
  .step + .step::after { left: 34px; }
  .flow-chain { margin-top: 30px; }
  .flow-chain li { font-size: 14px; }

  .hero { height: 560px; }
  .hero-slide__inner { padding-top: 66px; }
  .hero-slide__title { font-size: 28px; letter-spacing: 0.5px; }
  .hero-slide__sub { font-size: 14px; line-height: 1.75; margin-top: 14px; }
  .hero-slide__actions { margin-top: 24px; gap: 10px; }
  .btn { height: 42px; padding: 0 22px; font-size: 14px; border-radius: 21px; }
  .hero__arrow { display: none; }
  .hero__dots { bottom: 22px; gap: 8px; }
  .hero__dot { width: 24px; }
  .hero__dot.is-active { width: 40px; }

  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: 6px; }
}

@media (max-width: 480px) {
  .brand__name { font-size: 15px; }
  .badges { flex-wrap: wrap; }
  .tags li { font-size: 13px; height: 32px; padding: 0 14px; }
  .hero { height: 540px; }
  .hero-slide__title { font-size: 24px; }
  .hero-slide__sub { font-size: 13.5px; }
  .hero__video { bottom: 64px; height: 44px; padding: 0 18px 0 6px; font-size: 13px; gap: 9px; }
  .hero__video-icon { width: 32px; height: 32px; }
  .video-modal { padding: 12px; }
  .video-modal__dialog { padding: 12px 12px 16px; border-radius: 12px; }
  .video-modal__title { font-size: 15px; }
  .video-modal__close { width: 34px; height: 34px; }
  .video-modal__fallback-title { font-size: 18px; }
  .video-modal__fallback-text { font-size: 13px; }
}
