/* ============================================================
   汇特讯 · 全站共享设计系统
   主色：蓝色渐变（浅蓝 → 天蓝），整体清爽明亮
   ============================================================ */

:root {
  --c-primary:       #1565C0;
  --c-primary-lt:    #1E88E5;
  --c-primary-pale:  #42A5F5;
  --c-accent:        #29B6F6;
  --c-accent2:       #00E5FF;

  /* 渐变 */
  --grad-hero:   linear-gradient(135deg, #E3F2FD 0%, #F0F8FF 45%, #E1F5FE 100%);
  --grad-nav:    linear-gradient(90deg, #1565C0, #1E88E5);
  --grad-btn:    linear-gradient(135deg, #1565C0, #1E88E5);
  --grad-card:   linear-gradient(135deg, #E3F2FD, #F0F8FF);
  --grad-dark:   linear-gradient(160deg, #0D47A1 0%, #1565C0 50%, #1976D2 100%);

  --c-bg:        #F5F9FF;
  --c-surface:   #FFFFFF;
  --c-border:    #DDEEFF;
  --c-text:      #1A2A4A;
  --c-text-sub:  #5A7090;
  --c-text-pale: #8BA8C8;

  --c-success:   #26A69A;
  --c-warn:      #FFA726;
  --c-danger:    #EF5350;

  --radius-xs:  6px;
  --radius-sm:  10px;
  --radius-md:  16px;
  --radius-lg:  22px;
  --radius-xl:  32px;

  --shadow-xs: 0 1px 4px rgba(21,101,192,.08);
  --shadow-sm: 0 2px 10px rgba(21,101,192,.10);
  --shadow-md: 0 6px 24px rgba(21,101,192,.14);
  --shadow-lg: 0 16px 48px rgba(21,101,192,.18);

  --transition: 0.26s cubic-bezier(.4,0,.2,1);
  --font: 'PingFang SC','Microsoft YaHei',system-ui,sans-serif;

  --nav-h: 66px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  background: var(--c-bg);
  color: var(--c-text);
  line-height: 1.7;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ── Container ── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ════════════════════════════════
   NAVIGATION
   ════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--c-border);
  transition: box-shadow var(--transition);
}
.nav.scrolled { box-shadow: var(--shadow-md); }

.nav__inner {
  display: flex;
  align-items: center;
  height: var(--nav-h);
  gap: 0;
}

/* Logo */
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  margin-right: 40px;
}
.nav__logo-mark {
  width: 40px; height: 40px;
  background: var(--grad-btn);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 18px; font-weight: 900;
  box-shadow: 0 4px 12px rgba(21,101,192,.3);
}
.nav__logo-name {
  font-size: 19px; font-weight: 800;
  background: var(--grad-btn);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav__logo-tag {
  font-size: 10.5px; color: var(--c-text-pale);
  margin-top: -2px; letter-spacing: .5px;
}

/* Real brand logo image (overrides the '汇' text mark) */
.nav__logo-img {
  height: 40px;
  width: auto;
  display: block;
  flex-shrink: 0;
  /* logo.png has a white opaque background; blends with the light nav */
  border-radius: 4px;
}

/* Links */
.nav__links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 4px;
  flex: 1;
}
.nav__links > li {
  position: relative;
}
.nav__links > li > a,
.nav__links > li > span {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--c-text-sub);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  cursor: pointer;
  white-space: nowrap;
}
.nav__links > li > a:hover,
.nav__links > li > span:hover,
.nav__links > li > a.active {
  color: var(--c-primary);
  background: rgba(21,101,192,.07);
}
.nav__links > li > a.active { font-weight: 700; }

/* Dropdown arrow */
.nav__arrow {
  width: 14px; height: 14px;
  transition: transform var(--transition);
  opacity: .6;
}
.nav__links > li.dropdown-open .nav__arrow { transform: rotate(180deg); }

/* Dropdown */
.nav__dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  min-width: 160px;
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition);
  z-index: 100;
}
.nav__links > li.dropdown-open .nav__dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav__dropdown a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--c-text-sub);
  transition: all var(--transition);
}
.nav__dropdown a:hover {
  background: rgba(21,101,192,.08);
  color: var(--c-primary);
}
.nav__dropdown a .dd-icon {
  width: 28px; height: 28px;
  border-radius: 7px;
  background: var(--grad-card);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

/* Nav CTA */
.nav__cta {
  margin-left: auto;
  background: var(--grad-btn);
  color: #fff;
  padding: 9px 22px;
  border-radius: 99px;
  font-size: 13.5px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 3px 12px rgba(21,101,192,.28);
  transition: all var(--transition);
  flex-shrink: 0;
}
.nav__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(21,101,192,.38);
}

/* ════════════════════════════════
   PAGE HEADER (inner pages)
   ════════════════════════════════ */
.page-header {
  padding: calc(var(--nav-h) + 60px) 0 60px;
  background: var(--grad-hero);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.page-header::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 500px 400px at 80% 50%, rgba(41,182,246,.14) 0%, transparent 60%),
    radial-gradient(ellipse 400px 300px at 20% 60%, rgba(21,101,192,.09) 0%, transparent 60%);
  pointer-events: none;
}
.page-header__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(21,101,192,.1);
  color: var(--c-primary);
  font-size: 12px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 99px;
  border: 1px solid rgba(21,101,192,.18);
  margin-bottom: 16px;
}
.page-header__title {
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 800;
  color: var(--c-text);
  line-height: 1.25;
  margin-bottom: 14px;
}
.page-header__title em {
  font-style: normal;
  background: var(--grad-btn);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.page-header__desc {
  font-size: 15.5px;
  color: var(--c-text-sub);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ════════════════════════════════
   SECTION COMMON
   ════════════════════════════════ */
section { padding: 72px 0; }
.section__eyebrow {
  font-size: 11.5px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--c-primary-lt);
  margin-bottom: 10px;
}
.section__title {
  font-size: clamp(20px, 2.8vw, 32px);
  font-weight: 800;
  color: var(--c-text);
  line-height: 1.3;
  margin-bottom: 12px;
}
.section__desc {
  font-size: 15px;
  color: var(--c-text-sub);
  max-width: 580px;
  line-height: 1.8;
}
.section__head { margin-bottom: 44px; }
.section__head--center { text-align: center; }
.section__head--center .section__desc { margin: 0 auto; }

/* ════════════════════════════════
   BUTTONS
   ════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font);
  font-size: 14.5px;
  font-weight: 600;
  border: none; cursor: pointer;
  border-radius: 99px;
  padding: 11px 26px;
  transition: all var(--transition);
  white-space: nowrap;
  line-height: 1;
}
.btn--primary {
  background: var(--grad-btn);
  color: #fff;
  box-shadow: 0 4px 14px rgba(21,101,192,.28);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(21,101,192,.38); }
.btn--outline {
  background: var(--c-surface);
  color: var(--c-primary);
  border: 1.5px solid rgba(21,101,192,.3);
  box-shadow: var(--shadow-xs);
}
.btn--outline:hover { background: rgba(21,101,192,.06); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn--ghost {
  background: rgba(21,101,192,.08);
  color: var(--c-primary);
}
.btn--ghost:hover { background: rgba(21,101,192,.14); transform: translateY(-1px); }
.btn--sm { font-size: 13px; padding: 8px 18px; }
.btn--lg { font-size: 16px; padding: 14px 32px; }

/* ════════════════════════════════
   CARD BASE
   ════════════════════════════════ */
.card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(21,101,192,.22);
}

/* ════════════════════════════════
   TAG / BADGE
   ════════════════════════════════ */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 99px;
}
.tag--blue  { background: rgba(21,101,192,.1); color: var(--c-primary); }
.tag--green { background: rgba(38,166,154,.12); color: #00897B; }
.tag--cyan  { background: rgba(41,182,246,.12); color: #0288D1; }
.tag--warn  { background: rgba(255,167,38,.12); color: #E65100; }

/* ════════════════════════════════
   FOOTER
   ════════════════════════════════ */
.footer {
  background: linear-gradient(160deg, #0D3B7A 0%, #1565C0 100%);
  color: rgba(255,255,255,.65);
  padding: 40px 0 28px;
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer__logo {
  display: flex; align-items: center; gap: 10px;
}
.footer__logo-mark {
  width: 34px; height: 34px;
  background: rgba(255,255,255,.15);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 900; color: #fff;
}
.footer__logo-name { font-size: 16px; font-weight: 700; color: rgba(255,255,255,.9); }
.footer__logo-tag { font-size: 11px; margin-top: 1px; }
.footer__links {
  display: flex; gap: 24px; flex-wrap: wrap;
}
.footer__links a {
  font-size: 13px;
  color: rgba(255,255,255,.55);
  transition: color var(--transition);
}
.footer__links a:hover { color: #fff; }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 20px;
  font-size: 12px;
}
.footer__bottom a { color: rgba(255,255,255,.45); transition: color var(--transition); }
.footer__bottom a:hover { color: rgba(255,255,255,.8); }

/* ════════════════════════════════
   RESPONSIVE
   ════════════════════════════════ */
@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__cta { font-size: 12px; padding: 8px 16px; }
  section { padding: 52px 0; }
}
