/* ============================================================
   辰远财税 — 高级设计系统 V3
   CHEN YUAN CAI SHUI — Premium Design System
   轻 · 透 · 留白 · 层次 · 专业
   ============================================================ */

/* ---- Reset ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

/* ---- Google Fonts (Inter for numbers / accent) ---- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800;900&display=swap');

/* ---- Design Tokens ---- */
:root {
  /* Brand Blues — used as ACCENTS, not backgrounds */
  --blue: #1E2F97;
  --blue-dark: #141F6B;
  --blue-deep: #0E1650;
  --blue-light: #EEF0FB;
  --blue-softer: #F5F6FC;
  --blue-muted: #6B7AC7;
  --blue-glow: rgba(30, 47, 151, 0.25);

  /* Orange — CTA only */
  --orange: #E8742A;
  --orange-hover: #D86520;
  --orange-light: #FFF5EE;
  --orange-glow: rgba(232, 116, 42, 0.35);

  /* Neutrals — dominant palette */
  --white: #FFFFFF;
  --gray-50: #FAFBFC;
  --gray-100: #F5F6F8;
  --gray-200: #ECEEF2;
  --gray-300: #DEE0E8;
  --text-dark: #1A1D2E;
  --text-body: #3A3E5A;
  --text-soft: #5C617A;
  --text-muted: #8287A0;
  --border: #E3E6F0;
  --border-light: #F0F1F6;

  /* Typography */
  --font-cn: 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', system-ui, sans-serif;
  --font-num: 'Inter', 'DIN Alternate', 'Roboto', sans-serif;

  /* Layout */
  --max-w: 1200px;
  --header-h: 72px;

  /* Shadows — High-end glowing layered shadows */
  --shadow-xs: 0 2px 4px rgba(30,47,151,0.04);
  --shadow-sm: 0 4px 12px rgba(30,47,151,0.06);
  --shadow-md: 0 8px 24px rgba(30,47,151,0.08);
  --shadow-lg: 0 16px 36px rgba(30,47,151,0.12);
  --shadow-xl: 0 24px 64px rgba(30,47,151,0.18);
  --shadow-glow: 0 0 40px rgba(30, 47, 151, 0.08);

  /* Radius */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-pill: 50px;

  /* Transitions */
  --ease: cubic-bezier(0.25, 1, 0.5, 1);
  --t: all 0.4s var(--ease);
  --t-fast: all 0.25s var(--ease);

  /* SVG Icon Rendering Variables */
  --ico-main: #253DA1; /* Solid brand blue fallback */
  --ico-accent: #E8742A;
  --ico-light: #6B7AC7;
  --ico-dot: #E8742A;
}

/* ---- Global ---- */
/* overflow-x: hidden on html (not body) — prevents horizontal scroll WITHOUT
   creating a new scroll context that would clip position:fixed children like
   the mobile nav drawer. Setting it on body breaks fixed positioning. */
html { scroll-behavior: smooth; font-size: 16px; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
body { font-family: var(--font-cn); color: var(--text-body); background: var(--white); line-height: 1.7; }
a { text-decoration: none; color: inherit; transition: var(--t-fast); }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
strong { color: var(--text-dark); }

/* ---- Typography ---- */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-cn); color: var(--text-dark); font-weight: 700; line-height: 1.35; }
h1 { font-size: 2.6rem; letter-spacing: -0.5px; }
h2 { font-size: 2rem; letter-spacing: -0.3px; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }
p { margin-bottom: 1rem; line-height: 1.8; }

/* Section labels */
.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--orange);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background: var(--orange);
  margin-right: 10px;
  vertical-align: middle;
}

.section-title {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.35;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-soft);
  max-width: 560px;
  line-height: 1.85;
}

.text-center .section-desc { margin: 0 auto; }

/* ---- Layout ---- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }

/* Section spacing system — generous whitespace */
.sec { padding: 64px 0; }
.sec-sm { padding: 48px 0; }
.sec-lg { padding: 88px 0; }

/* Alternating backgrounds for rhythm */
.bg-white { background: var(--white); }
.bg-gray { background: var(--gray-50); }
.bg-soft { background: var(--gray-100); }
.bg-blue-tint { background: var(--blue-softer); }

/* ============================================================
   ✦ BUTTONS — Clean, minimal, effective
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--r-sm);
  cursor: pointer;
  border: none;
  transition: var(--t);
  line-height: 1;
  white-space: nowrap;
}

.btn-primary {
  padding: 14px 32px;
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 2px 8px var(--orange-glow);
}

.btn-primary:hover {
  background: var(--orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--orange-glow);
}

.btn-secondary {
  padding: 14px 32px;
  background: var(--white);
  color: var(--text-dark);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-ghost {
  padding: 14px 32px;
  background: transparent;
  color: var(--blue);
  border: 1px solid var(--blue);
}

.btn-ghost:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-text {
  padding: 0;
  background: none;
  color: var(--blue);
  font-weight: 700;
  font-size: 0.88rem;
  border: none;
}

.btn-text:hover { color: var(--orange); gap: 12px; }

.btn-white {
  padding: 14px 32px;
  background: var(--white);
  color: var(--blue);
  box-shadow: var(--shadow-sm);
}

.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.btn-cta {
  padding: 10px 26px;
  background: var(--orange);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: var(--r-sm);
  border: none;
  cursor: pointer;
  transition: var(--t);
}

.btn-cta:hover { background: var(--orange-hover); transform: translateY(-1px); }

/* ============================================================
   HEADER — Light, minimal, professional
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  transition: var(--t);
}

.site-header.scrolled {
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo img { height: 36px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 0; }
.main-nav > li { position: relative; }

.main-nav > li > a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 18px;
  height: var(--header-h);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dark);
  transition: var(--t-fast);
  white-space: nowrap;
}

.main-nav > li > a:hover, .main-nav > li.active > a { color: var(--blue); }

.nav-arrow { width: 10px; height: 10px; display: inline-flex; align-items: center; }
.nav-arrow svg { width: 10px; height: 10px; transition: var(--t-fast); }
.main-nav > li:hover .nav-arrow svg { transform: rotate(180deg); }

.main-nav > li.active > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 18px;
  right: 18px;
  height: 2px;
  background: var(--blue);
  border-radius: 1px 1px 0 0;
}

.header-cta { flex-shrink: 0; }

/* ---- Mega Dropdown ---- */
.mega-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 520px;
  background: var(--white);
  border-radius: var(--r-md);
  box-shadow: 0 16px 48px rgba(0,0,0,0.1), 0 0 0 1px rgba(0,0,0,0.03);
  padding: 20px 24px 16px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 100;
}

.mega-dropdown::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 0;
  right: 0;
  height: 8px;
}

.main-nav > li:hover .mega-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dropdown-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }

.dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 14px;
  border-radius: var(--r-sm);
  transition: var(--t-fast);
  border-left: 2px solid transparent;
}

.dropdown-item:hover { 
  background: var(--gray-50); 
  border-left: 2px solid var(--blue);
}

.dropdown-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: linear-gradient(135deg, #F0F6FF 0%, #E0EFFF 100%);
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(9, 36, 128, 0.04);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.dropdown-item:hover .dropdown-icon {
  transform: scale(1.08);
}

.dd-ico {
  width: 26px;
  height: 26px;
  color: var(--blue);
  stroke-width: 2.2;
}

.dropdown-text h4 { font-size: 0.85rem; font-weight: 600; color: var(--text-dark); margin-bottom: 1px; }
.dropdown-text p { font-size: 0.74rem; color: var(--text-muted); margin-bottom: 0; line-height: 1.4; }

.dropdown-footer { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border-light); text-align: center; }
.dropdown-footer a { font-size: 0.82rem; font-weight: 600; color: var(--blue); }
.dropdown-footer a:hover { color: var(--orange); }

/* ---- Mobile ---- */
.mobile-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; background: none; border: none; cursor: pointer; z-index: 1100; position: relative; }
.mobile-toggle span { display: block; width: 22px; height: 2px; background: var(--text-dark); border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease; transform-origin: center; }
/* Hamburger → X animation */
.mobile-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.mobile-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   ✦ HERO BANNER — 1920×420, 轻·透·现代
   Left text + Right visual
   ============================================================ */
.hero {
  position: relative;
  height: 400px;
  --ico-main: #FFFFFF;
  --ico-accent: #FFA252;
  --ico-light: rgba(255,255,255,0.7);
  --ico-dot: #FFD180;
  display: flex;
  align-items: center;
  margin-top: var(--header-h);
  background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue-dark) 100%);
  overflow: hidden;
  text-align: center;
}

/* Subtle decorative shapes */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 65% 30%, rgba(107, 122, 199, 0.2) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 70%, rgba(232, 116, 42, 0.04) 0%, transparent 50%);
}

.hero::after {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.03);
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  position: relative;
  z-index: 2;
}

.hero-text { max-width: 800px; display: flex; flex-direction: column; align-items: center; margin-bottom: 24px; }

.hero-text h1 {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.25;
  letter-spacing: 1px;
}

.hero-text h1 .accent {
  color: var(--white);
}

.hero-text h1 .accent-orange {
  color: var(--orange);
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--white);
  line-height: 1.8;
  margin-bottom: 28px;
  max-width: 640px;
}

.hero-actions { display: flex; gap: 16px; align-items: center; justify-content: center; }

/* ============================================================
   ✦ DATA BAR — Stats below hero
   ============================================================ */
.data-bar-wrap {
  position: relative;
  margin-top: -60px;
  z-index: 10;
  padding: 0 24px;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
}

.data-bar-inner {
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
  display: flex;
  justify-content: space-around;
  padding: 36px 24px;
}

.data-bar-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-left: 20px;
  border-left: 3px solid transparent;
  transition: var(--t);
}

.data-bar-item .db-ico {
  width: 68px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: linear-gradient(135deg, #F0F6FF 0%, #E0EFFF 100%);
  border-radius: 18px;
  box-shadow: 0 6px 16px rgba(9, 36, 128, 0.04);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.data-bar-item .db-ico svg {
  width: 44px;
  height: 44px;
  color: var(--blue);
  stroke-width: 2.2;
  transition: var(--t);
}

.data-bar-item:hover {
  border-left-color: var(--blue);
}

.data-bar-item:hover .db-ico {
  transform: scale(1.06);
}

.data-bar-item:hover .db-ico svg {
  color: var(--blue-dark);
}



.data-bar-item .db-num {
  font-family: var(--font-num);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
}

.data-bar-item .db-label {
  font-size: 0.95rem;
  color: var(--text-body);
  font-weight: 600;
  margin-top: 6px;
}

/* ============================================================
   ✦ PAGE BANNER (inner pages) — lighter version
   ============================================================ */
.page-banner {
  position: relative;
  padding: 88px 0 56px;
  --ico-main: #FFFFFF;
  --ico-accent: #FFA252;
  --ico-light: rgba(255,255,255,0.7);
  --ico-dot: #FFD180;
  background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue-dark) 100%);
  margin-top: var(--header-h);
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 65% 30%, rgba(107, 122, 199, 0.2) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 70%, rgba(232, 116, 42, 0.04) 0%, transparent 50%);
}

.page-banner::after {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.03);
}

.page-banner .container { position: relative; z-index: 2; text-align: center; }
.page-banner h1 { 
  color: var(--white); 
  font-size: 3rem; 
  font-weight: 800;
  margin-bottom: 16px; 
  letter-spacing: 1px;
}
.page-banner-desc { 
  color: rgba(255, 255, 255, 0.85); 
  font-size: 1.15rem; 
  max-width: 680px; 
  line-height: 1.8; 
  margin: 0 auto; 
}

/* Breadcrumb */
.breadcrumb { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 24px; font-size: 0.85rem; font-weight: 500; }
.breadcrumb a { color: rgba(255, 255, 255, 0.6); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb .sep { color: rgba(255, 255, 255, 0.3); }
.breadcrumb .current { color: var(--white); font-weight: 600; }

/* ============================================================
   ✦ SUB-NAV
   ============================================================ */
.sub-nav { background: var(--white); border-bottom: 1px solid var(--border); position: relative; z-index: 10; }

.sub-nav-inner {
  display: flex;
  align-items: center;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  overflow-x: auto;
  scrollbar-width: none;
}

.sub-nav-inner::-webkit-scrollbar { display: none; }

.sub-nav-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 16px 20px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-body);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: var(--t-fast);
}

.sub-nav-item:hover { color: var(--blue); background: var(--gray-50); }
.sub-nav-item.active { color: var(--blue); font-weight: 700; border-bottom-color: var(--blue); }

/* ============================================================
   ✦ CORE VALUE — Left title + Right value points
   ============================================================ */
.value-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* ============================================================
   ✦ ABOUT / VALUE (Bento Grid Style)
   ============================================================ */
.bento-value-layout {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(200px, auto);
  gap: 24px;
}

.bento-main {
  grid-column: span 2;
  grid-row: span 2;
  background: var(--gray-50);
  border-radius: var(--r-xl);
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.bento-main::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--blue-glow) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
}

.bento-main > * { position: relative; z-index: 2; }
.bento-main h2 { font-size: 2.2rem; margin-bottom: 24px; letter-spacing: -0.5px; }
.bento-main p { font-size: 1.05rem; color: var(--text-body); line-height: 1.85; }

/* Base bento card styles */
.bento-card {
  border-radius: var(--r-xl);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: var(--t);
  box-shadow: var(--shadow-sm);
}

.bento-card:hover { transform: translateY(-8px) scale(1.02); box-shadow: var(--shadow-lg); z-index: 10; border-color: transparent !important; }

.bento-card h4 { font-size: 1.35rem; margin-bottom: 12px; color: var(--text-dark); }
.bento-card p { font-size: 1.05rem; color: var(--text-body); font-weight: 500; line-height: 1.8; margin: 0; }

.bento-card .vp-icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #F0F6FF 0%, #E0EFFF 100%);
  border-radius: 18px;
  margin-bottom: 28px;
  box-shadow: 0 6px 16px rgba(9, 36, 128, 0.04);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.bento-card .vp-icon svg {
  width: 48px;
  height: 48px;
  color: var(--blue);
  stroke-width: 2.2;
  transition: var(--t);
}

.bento-card:hover .vp-icon {
  transform: scale(1.06);
}

.bento-card:hover .vp-icon svg {
  color: var(--blue-dark);
}

/* Modifiers */
.bento-dark {
  background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue-dark) 100%);
  color: var(--white);
  box-shadow: 0 16px 40px rgba(14, 22, 80, 0.2);
  --ico-main: #FFFFFF;
  --ico-accent: #FFA252;
  --ico-light: rgba(255,255,255,0.7);
  --ico-dot: #FFD180;
}

.bento-dark h4 { color: var(--white); }
.bento-dark p { color: var(--white); opacity: 0.95; }
.bento-dark .vp-icon { background: rgba(255,255,255,0.08); border-radius: 12px; }
.bento-dark .vp-icon svg { color: var(--white); opacity: 0.9; }
.bento-dark:hover .vp-icon svg { color: var(--white); opacity: 1; }

.bento-card.bg-blue-tint {
  background: linear-gradient(135deg, var(--gray-50) 0%, var(--blue-light) 100%);
  border: 1px solid var(--border-light);
}

.bento-card.border-only {
  background: var(--white);
  border: 1px solid var(--border);
}

/* ============================================================
   ✦ PRODUCT DUO — Two large product entry cards
   ============================================================ */
.product-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }

.product-entry {
  border-radius: var(--r-xl);
  padding: 64px 52px;
  position: relative;
  overflow: hidden;
  transition: var(--t);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 420px;
  text-align: left;
  box-shadow: var(--shadow-sm);
}

.product-entry:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 30px 60px rgba(14,22,80,0.3), 0 0 60px rgba(232,116,42,0.15);
  z-index: 10;
}

.product-entry-a {
  background: linear-gradient(145deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: var(--white);
  --ico-main: #FFFFFF;
  --ico-accent: #FFA252;
  --ico-light: rgba(255,255,255,0.7);
  --ico-dot: #FFD180;
}

.product-entry-b {
  background: linear-gradient(145deg, #1B3566 0%, var(--blue-deep) 100%);
  color: var(--white);
  --ico-main: #FFFFFF;
  --ico-accent: #FFA252;
  --ico-light: rgba(255,255,255,0.7);
  --ico-dot: #FFD180;
}

/* Decorative accent */
.product-entry::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
}

.product-entry::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(232, 116, 42, 0.06);
}

.pe-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: rgba(232, 116, 42, 0.15); /* orange tinted */
  border: 1px solid rgba(232, 116, 42, 0.3);
  color: var(--orange-light);
  border-radius: var(--r-pill);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 28px;
  backdrop-filter: blur(4px);
  width: fit-content;
}

.pe-badge svg { color: var(--orange); }

.product-entry h3 { font-size: 2.2rem; color: var(--white); margin-bottom: 10px; position: relative; z-index: 2; letter-spacing: -0.5px; }
.product-entry > p { color: rgba(255, 255, 255, 0.95); font-size: 1.05rem; margin-bottom: 32px; line-height: 1.8; position: relative; z-index: 2; }

.pe-tags {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 36px;
  position: relative;
  z-index: 2;
}

.pe-tag {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.08); /* glass base */
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--r-sm);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.05);
}

/* Light sweep effect / 光影扫过特效 */
.pe-tag::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

a.pe-tag:hover::before {
  left: 200%;
}

a.pe-tag:hover {
  background: var(--white);
  color: var(--blue-deep);
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 24px rgba(0,0,0,0.2), 0 0 20px rgba(255,255,255,0.4) inset;
  border-color: var(--white);
}

.product-entry .btn-primary { position: relative; z-index: 2; width: fit-content; }

/* ============================================================
   ✦ SERVICE GRID — Light, premium left aligned cards
   ============================================================ */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }

.service-item {
  background: var(--white);
  border: none;
  border-radius: var(--r-xl);
  padding: 52px 40px;
  transition: var(--t);
  position: relative;
  text-align: left;
  box-shadow: var(--shadow-sm);
}

.service-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--orange));
  border-radius: 4px 4px 0 0;
  transform: scaleX(0);
  transition: transform 0.4s var(--ease);
  transform-origin: left;
}

.service-item:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-8px) scale(1.02);
  z-index: 5;
}

.service-item:hover::before { transform: scaleX(1); }

.si-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: linear-gradient(135deg, #F0F6FF 0%, #E0EFFF 100%);
  border-radius: 16px;
  margin-bottom: 24px;
  box-shadow: 0 6px 16px rgba(9, 36, 128, 0.04);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.si-icon svg {
  width: 42px;
  height: 42px;
  color: var(--blue);
  stroke-width: 2.2;
  transition: var(--t);
}

.service-item:hover .si-icon {
  transform: scale(1.06);
}

.service-item:hover .si-icon svg {
  color: var(--blue-dark);
}

.service-item h4 { font-size: 1.25rem; margin-bottom: 12px; }
.service-item p { font-size: 0.95rem; color: var(--text-soft); margin-bottom: 24px; line-height: 1.7; }
.si-link {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--blue);
}
.service-item:hover .si-link { color: var(--orange); }

.si-link { font-size: 0.8rem; font-weight: 700; color: var(--blue); display: inline-flex; align-items: center; gap: 4px; transition: var(--t-fast); }
.si-link:hover { color: var(--orange); gap: 8px; }

/* ============================================================
   ✦ PROCESS FLOW — Elevated Cards
   ============================================================ */
.process-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.process-step {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 48px 32px;
  position: relative;
  text-align: left;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--t);
  z-index: 2;
}

.process-step:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
  z-index: 10;
}

.ps-num {
  font-family: var(--font-num);
  font-size: 3rem;
  font-weight: 900;
  color: var(--blue-muted);
  line-height: 1;
  margin-bottom: 24px;
  opacity: 1;
  transition: var(--t);
}

.process-step:hover .ps-num {
  color: var(--orange);
  opacity: 1;
  transform: scale(1.05) translateX(5px);
}

.process-step h4 { font-size: 1.25rem; margin-bottom: 12px; }
.process-step p { font-size: 0.95rem; color: var(--text-soft); line-height: 1.7; margin: 0; }

/* ============================================================
   ✦ TRUST / CASE — Premium Typography & Cards
   ============================================================ */
.trust-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 64px;
  align-items: center;
}

.trust-numbers { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 32px; }

.trust-num-item {
  text-align: left;
  position: relative;
}

.trust-num-item .tn-number {
  font-family: var(--font-num);
  font-size: 3.4rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -1.5px;
}

.trust-num-item .tn-number .tn-unit {
  font-size: 1.2rem;
  color: var(--orange);
  font-weight: 700;
  margin-left: 2px;
}

.trust-num-item .tn-label { font-size: 0.95rem; color: var(--text-muted); font-weight: 500; }

.trust-cases { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }

.case-card {
  background: var(--gray-50);
  border: 1px solid var(--border-light);
  border-radius: var(--r-xl);
  padding: 44px 36px;
  transition: var(--t);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xs);
}

.case-card:hover {
  background: var(--white);
  border-color: transparent;
  box-shadow: var(--shadow-xl);
  transform: translateY(-8px) scale(1.01);
  z-index: 10;
}

.cc-tag {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(232, 116, 42, 0.08); /* orange alpha */
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 800;
  border-radius: var(--r-pill);
  margin-bottom: 24px;
}

.case-card h4 { font-size: 1.2rem; margin-bottom: 14px; line-height: 1.4; }
.case-card p { font-size: 0.92rem; color: var(--text-soft); margin-bottom: 28px; line-height: 1.8; }

.cc-results { display: flex; gap: 24px; flex-wrap: wrap; }

.cc-result { display: flex; align-items: center; gap: 10px; font-size: 0.85rem; color: var(--text-body); font-weight: 500; }

.cc-result::before {
  content: '✓';
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--orange);
  color: var(--white);
  border-radius: 50%;
  font-size: 0.65rem;
  font-weight: 900;
}

/* ============================================================
   ✦ ABOUT PREVIEW — Left visual + Right text
   ============================================================ */
.about-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.about-visual {
  background: linear-gradient(135deg, var(--blue-light) 0%, var(--gray-200) 100%);
  border-radius: var(--r-xl);
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.about-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--r-xl);
  border: 1px solid rgba(30, 47, 151, 0.05);
}

.about-text .section-label { margin-bottom: 4px; }
.about-text h2 { font-size: 1.8rem; margin-bottom: 12px; }
.about-text p { color: var(--text-body); line-height: 1.85; margin-bottom: 12px; }
.about-text .btn { margin-top: 12px; }

/* ============================================================
   ✦ CTA SECTION — Sophisticated clean strip
   ============================================================ */
.cta-section {
  padding: 56px 0;
  text-align: center;
  background: var(--white);
  border-top: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
}

.cta-section::before { display: none; }

.cta-section .container { position: relative; z-index: 2; }
.cta-section h2 { font-size: 2rem; color: var(--text-dark); margin-bottom: 12px; letter-spacing: -0.5px; }
.cta-section p { color: var(--text-soft); font-size: 1rem; margin-bottom: 32px; max-width: 520px; margin-left: auto; margin-right: auto; line-height: 1.8; }

.cta-buttons { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

.cta-section .btn-primary {
  padding: 14px 36px;
  font-size: 0.95rem;
}

.cta-section .btn-outline {
  padding: 14px 36px;
  background: transparent;
  color: var(--blue);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--t);
}

.cta-section .btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-light);
  transform: translateY(-2px);
}

/* ============================================================
   ✦ FOOTER — Professional, minimal
   ============================================================ */
.site-footer {
  background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue-dark) 100%);
  color: rgba(255, 255, 255, 0.85);
  padding: 32px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brand p { font-size: 0.82rem; line-height: 1.75; margin-bottom: 10px; color: rgba(255, 255, 255, 0.75); }
.footer-brand .logo img { height: 32px; margin-bottom: 10px; filter: brightness(0) invert(1); }
.footer-contact-item { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; font-size: 0.8rem; }

.footer-col h4 { font-size: 0.85rem; font-weight: 700; color: var(--white); margin-bottom: 12px; position: relative; padding-bottom: 6px; }
.footer-col h4::after { content: ''; position: absolute; bottom: 0; left: 0; width: 20px; height: 1.5px; background: var(--orange); border-radius: 1px; }
.footer-col a { display: block; font-size: 0.8rem; color: rgba(255, 255, 255, 0.75); padding: 4px 0; transition: var(--t-fast); }
.footer-col a:hover { color: var(--orange); padding-left: 4px; }

.footer-bottom { padding: 16px 0; text-align: center; font-size: 0.74rem; color: rgba(255, 255, 255, 0.2); }

/* ============================================================
   ✦ INNER PAGE COMPONENTS (reused across sections)
   ============================================================ */
.service-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.service-intro-content h2 { margin-bottom: 12px; }
.service-intro-content p { color: var(--text-body); line-height: 1.85; }

.service-intro-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--blue-light), var(--gray-200));
  border-radius: var(--r-xl);
  min-height: 320px;
  overflow: hidden;
  border: 1px solid rgba(30, 47, 151, 0.05);
}

/* Advantage Grid */
.advantage-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.advantage-item {
  text-align: center;
  padding: 40px 24px;
  background: var(--white);
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  transition: var(--t);
}

.advantage-item:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: var(--blue); }

.advantage-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-light);
  border-radius: 50%;
  font-size: 1.4rem;
  transition: var(--t);
}

.advantage-item:hover .advantage-icon { background: var(--blue); transform: scale(1.05); }

.advantage-item h4 { margin-bottom: 4px; font-size: 1rem; }
.advantage-item p { font-size: 0.82rem; color: var(--text-soft); margin-bottom: 0; }

/* Feature lists */
.feature-list { margin-bottom: 0; }
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 7px 0;
  font-size: 0.88rem;
  color: var(--text-body);
}

.feature-list li::before {
  content: '✓';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-light);
  color: var(--blue);
  border-radius: 50%;
  font-size: 0.6rem;
  font-weight: 900;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 40px 36px;
  transition: var(--t);
}

.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature-card .card-badge { display: inline-block; padding: 4px 14px; background: var(--orange-light); color: var(--orange); font-size: 0.75rem; font-weight: 700; border-radius: var(--r-pill); margin-bottom: 10px; }
.feature-card h3 { font-size: 1.3rem; margin-bottom: 12px; }
.feature-card p { font-size: 0.9rem; color: var(--text-body); margin-bottom: 20px; }

/* Mechanism Grid */
.mechanism-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.mechanism-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 28px 20px;
  text-align: center;
  transition: var(--t);
}

.mechanism-item:hover { border-color: var(--blue); box-shadow: var(--shadow-sm); transform: translateY(-3px); }

.mechanism-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-num);
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 50%;
  margin-bottom: 12px;
}

.mechanism-item h4 { font-size: 0.92rem; margin-bottom: 6px; }
.mechanism-item p { font-size: 0.78rem; color: var(--text-soft); margin-bottom: 0; }

/* Service Cycle */
.service-cycle { display: flex; justify-content: center; gap: 48px; }

.cycle-item { text-align: center; }

.cycle-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--orange-light);
  border-radius: 50%;
  font-size: 1.5rem;
  position: relative;
  transition: var(--t);
}

.cycle-icon:hover { transform: scale(1.08); }

.cycle-item:not(:last-child) .cycle-icon::after { content: '→'; position: absolute; right: -36px; font-size: 1rem; color: var(--text-muted); }

.cycle-item h4 { font-size: 0.88rem; margin-bottom: 3px; }
.cycle-item p { font-size: 0.76rem; color: var(--text-soft); margin-bottom: 0; }

/* Industry Grid */
.industry-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }

.industry-tag {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 24px 12px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  transition: var(--t);
  text-align: center;
}

.industry-tag:hover { border-color: var(--blue); background: var(--blue-light); transform: translateY(-3px); }
.industry-tag-icon { font-size: 1.5rem; }
.industry-tag span { font-size: 0.8rem; font-weight: 600; color: var(--text-dark); }

/* Testimonials */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 28px 24px;
  transition: var(--t);
  position: relative;
}

.testimonial-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

.testimonial-quote { font-size: 0.88rem; color: var(--text-body); line-height: 1.8; margin-bottom: 20px; font-style: italic; padding-left: 16px; border-left: 2px solid var(--blue-light); }

.testimonial-author { display: flex; align-items: center; gap: 10px; }
.testimonial-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--blue-light); display: flex; align-items: center; justify-content: center; font-size: 0.9rem; font-weight: 700; color: var(--blue); }
.testimonial-info h5 { font-size: 0.82rem; font-weight: 600; margin-bottom: 1px; }
.testimonial-info p { font-size: 0.72rem; color: var(--text-muted); margin-bottom: 0; }

/* Pain cards */
.pain-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-md); padding: 28px 20px; text-align: center; transition: var(--t); }
.pain-card:hover { transform: translateY(-4px); border-color: var(--orange); box-shadow: var(--shadow-md); }
.pain-icon { width: 48px; height: 48px; margin: 0 auto 14px; display: flex; align-items: center; justify-content: center; background: var(--orange-light); border-radius: 10px; font-size: 1.2rem; }
.pain-card h4 { font-size: 0.92rem; margin-bottom: 6px; }
.pain-card p { font-size: 0.78rem; color: var(--text-soft); margin-bottom: 0; }

/* Data bar */
.data-bar { background: var(--white); padding: 48px 0; border-bottom: 1px solid var(--border-light); }
.data-bar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.data-item { padding: 0 16px; position: relative; }
.data-item:not(:last-child)::after { content: ''; position: absolute; right: 0; top: 20%; height: 60%; width: 1px; background: var(--border); }
.data-number { font-family: var(--font-num); font-size: 2.6rem; font-weight: 800; color: var(--blue); line-height: 1; margin-bottom: 4px; }
.data-number .unit { font-size: 1rem; font-weight: 700; color: var(--orange); }
.data-label { font-size: 0.8rem; color: var(--text-muted); }

/* Card grid */
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid-2 { grid-template-columns: repeat(2, 1fr); }

/* Case tag */
.case-tag { display: inline-block; padding: 3px 10px; background: var(--blue-light); color: var(--blue); font-size: 0.7rem; font-weight: 700; border-radius: var(--r-pill); margin-bottom: 14px; }

/* ============================================================
   ✦ SCROLL ANIMATIONS
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-d1 { transition-delay: 0.08s; }
.fade-in-d2 { transition-delay: 0.16s; }
.fade-in-d3 { transition-delay: 0.24s; }
.fade-in-d4 { transition-delay: 0.32s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .value-section { grid-template-columns: 1fr; gap: 40px; }
  .product-duo { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .process-row { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .process-row::before { display: none; }
  .trust-layout { grid-template-columns: 1fr; gap: 40px; }
  .trust-numbers { grid-template-columns: repeat(4, 1fr); }
  .about-preview { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .industry-grid { grid-template-columns: repeat(3, 1fr); }
  .advantage-grid { grid-template-columns: repeat(2, 1fr); }
  .service-intro { grid-template-columns: 1fr; gap: 40px; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .data-bar-grid { grid-template-columns: repeat(2, 1fr); }
  .data-item:nth-child(2)::after { display: none; }
}

@media (max-width: 768px) {
  :root { --header-h: 60px; }

  /* ⚠️ CRITICAL FIX: backdrop-filter creates a new "containing block" in CSS,
     which causes position:fixed children (the .main-nav drawer) to be positioned
     relative to the header element (60px tall) instead of the viewport.
     This makes the nav drawer height = 0 on mobile.
     Fix: disable backdrop-filter on mobile and use a solid background instead. */
  .site-header {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(255, 255, 255, 0.98) !important;
  }
  .site-header.scrolled {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: #ffffff !important;
  }
  h1 { font-size: 1.7rem; }
  .section-title { font-size: 1.5rem; }
  .sec { padding: 64px 0; }

  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 20px 32px;
    gap: 0;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
    /* overflow-y: scroll forces the nav drawer to have its own scroll context,
       so expanded dropdowns push the list down and the user can scroll to see them */
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    z-index: 1050;
    box-shadow: -8px 0 32px rgba(0,0,0,0.12);
  }
  .main-nav.open { transform: translateX(0); }

  /* Each top-level nav item */
  /* flex-shrink: 0 is CRITICAL: prevents flex from squashing <li> height
     when a dropdown opens and total content exceeds the container height.
     Without this, the flex algorithm shrinks items instead of scrolling. */
  .main-nav > li {
    border-bottom: 1px solid var(--border-light);
    flex-shrink: 0;
  }
  .main-nav > li > a {
    height: auto;
    padding: 14px 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    font-weight: 600;
    border-bottom: none;
  }

  /* Arrow rotation when dropdown is open */
  .main-nav > li.dropdown-open > a .nav-arrow svg { transform: rotate(180deg); }

  /* Mega dropdown on mobile — full rewrite for clarity and usability */
  .mega-dropdown {
    position: static !important;
    transform: none !important;
    min-width: 0 !important;
    width: 100%;
    box-shadow: none !important;
    /* Remove left indent/border — use background highlight instead */
    padding: 4px 0 8px 0;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    display: none;
    border-radius: 0;
    border-left: none;
    border-top: 1px solid var(--border-light);
    background: var(--gray-50);
    margin: 0;
    /* Ensure no overflow clipping hides children */
    overflow: visible;
  }
  .main-nav > li.dropdown-open .mega-dropdown { display: block; }

  /* On mobile: single-column grid, no horizontal overflow */
  .dropdown-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  /* Dropdown items: simple list style, full width, clearly tappable */
  .dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    width: 100%;
    border-left: 3px solid transparent;
    border-bottom: 1px solid var(--border-light);
    pointer-events: auto !important;
    background: var(--white);
  }
  .dropdown-item:last-child { border-bottom: none; }
  .dropdown-item:active { background: var(--blue-light); border-left-color: var(--blue); }

  /* Hide the color-block icon on mobile — saves space, fixes overflow issues */
  .dropdown-item .dropdown-icon { display: none; }

  /* Make text take full width and wrap properly */
  .dropdown-text { flex: 1; min-width: 0; }
  .dropdown-text h4 { font-size: 0.9rem; font-weight: 600; color: var(--text-dark); white-space: normal; }
  .dropdown-text p { font-size: 0.78rem; color: var(--text-muted); white-space: normal; margin-bottom: 0; }

  .dropdown-footer {
    margin: 0;
    padding: 10px 16px;
    background: var(--white);
    border-top: 1px solid var(--border-light);
    text-align: left;
  }
  .dropdown-footer a { font-size: 0.85rem; }

  .mobile-toggle { display: flex; }
  .header-cta { display: none; }

  .hero { height: auto; min-height: 340px; padding: 36px 0; }
  .hero-inner { flex-direction: column; gap: 32px; text-align: center; }
  .hero-text { max-width: 100%; }
  /* clamp 让字号随屏宽缩放，white-space:nowrap 防止在 span 前空格处意外换行 */
  .hero-text h1 {
    font-size: clamp(1.25rem, 5vw, 1.7rem);
    white-space: nowrap;
    letter-spacing: 0;
  }
  .hero-desc { max-width: 100%; }
  .hero-actions { justify-content: center; }
  .hero-visual { display: none; }

  .value-right { grid-template-columns: 1fr; }
  .product-duo { grid-template-columns: 1fr; }
  .product-entry { min-height: auto; padding: 36px 28px; }
  .service-grid, .card-grid, .card-grid-3 { grid-template-columns: 1fr; }
  .process-row { grid-template-columns: 1fr; gap: 24px; }
  .trust-numbers { grid-template-columns: repeat(2, 1fr); }
  .trust-cases { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .mechanism-grid { grid-template-columns: 1fr; }
  .industry-grid { grid-template-columns: repeat(3, 1fr); }
  .service-cycle { flex-direction: column; gap: 24px; }
  .cycle-item:not(:last-child) .cycle-icon::after { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .data-bar-grid { grid-template-columns: 1fr 1fr; }
  .data-item::after { display: none !important; }
  .advantage-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .sub-nav-item { padding: 12px 14px; font-size: 0.8rem; }
}

/* ============================================================
   ✦ BACKWARD COMPATIBILITY — V2 class aliases for inner pages
   ============================================================ */

/* Section wrappers */
.section { padding: 64px 0; }
.section-alt { padding: 64px 0; background: var(--gray-50); }

/* Highlight text */
.highlight { color: var(--blue); }

/* Buttons (standalone, without .btn prefix) */
a.btn-primary:not(.btn),
button.btn-primary:not(.btn) {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--orange);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--r-sm);
  border: none;
  cursor: pointer;
  transition: var(--t);
  line-height: 1;
}

a.btn-primary:not(.btn):hover,
button.btn-primary:not(.btn):hover {
  background: var(--orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--orange-glow);
}

a.btn-outline:not(.cta-section .btn-outline) {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: transparent;
  color: var(--text-dark);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: var(--t);
  line-height: 1;
}

a.btn-outline:not(.cta-section .btn-outline):hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-2px);
}

/* Service cards (inner pages) */
.service-card {
  position: relative;
  background: var(--white);
  border-radius: var(--r-md);
  padding: 32px 26px;
  transition: var(--t);
  overflow: hidden;
  border: 1px solid var(--border);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--blue);
  border-radius: 2px 2px 0 0;
  transform: scaleX(0);
  transition: transform 0.3s var(--ease);
  transform-origin: left;
}

.service-card:hover {
  border-color: rgba(30, 47, 151, 0.12);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.service-card:hover::before { transform: scaleX(1); }

.card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-light);
  border-radius: 10px;
  font-size: 1.3rem;
  margin-bottom: 12px;
  transition: var(--t);
}

.service-card:hover .card-icon { background: var(--blue); transform: scale(1.05); }

.service-card h3 { font-size: 1.02rem; font-weight: 700; margin-bottom: 4px; }
.service-card p { font-size: 0.82rem; color: var(--text-soft); margin-bottom: 14px; line-height: 1.65; }

.card-link {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: var(--t-fast);
}

.card-link:hover { color: var(--orange); gap: 8px; }

.card-badge {
  display: inline-block;
  padding: 4px 14px;
  background: var(--orange-light);
  color: var(--orange);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--r-pill);
  margin-bottom: 10px;
}

/* Product cards (inner pages) */
.product-card {
  border-radius: var(--r-xl);
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
  transition: var(--t);
}

.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }

.product-card-a {
  background: linear-gradient(145deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: var(--white);
}

.product-card-b {
  background: linear-gradient(145deg, #1B3566 0%, var(--blue-deep) 100%);
  color: var(--white);
}

.product-card::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
}

.product-card .card-badge {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.product-card h3 { font-size: 1.6rem; color: var(--white); margin-bottom: 12px; position: relative; z-index: 2; }
.product-card p { color: rgba(255, 255, 255, 0.7); font-size: 0.9rem; margin-bottom: 24px; line-height: 1.75; position: relative; z-index: 2; }
.product-card .feature-list li { color: rgba(255, 255, 255, 0.85); }
.product-card .feature-list li::before { background: rgba(255, 255, 255, 0.12); color: var(--orange); }
.product-card .btn-primary { position: relative; z-index: 2; }

/* Process steps (V2 alias for inner pages) */
.process-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; }
.process-steps::before { content: ''; position: absolute; top: 36px; left: 10%; right: 10%; height: 1px; background: linear-gradient(90deg, var(--blue-light), var(--blue), var(--blue), var(--blue-light)); }

.step-item { text-align: center; position: relative; z-index: 2; padding: 0 12px; }

.step-num {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 2px solid var(--blue-light);
  border-radius: 50%;
  font-family: var(--font-num);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--blue);
  transition: var(--t);
}

.step-item:hover .step-num {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
  transform: scale(1.08);
  box-shadow: 0 6px 20px var(--blue-glow);
}

.step-item h4 { font-size: 0.92rem; margin-bottom: 6px; }
.step-item p { font-size: 0.78rem; color: var(--text-soft); line-height: 1.6; }

/* Region map placeholder */
.region-map {
  background: var(--blue-light);
  border-radius: var(--r-xl);
  padding: 80px 40px;
  text-align: center;
  color: var(--text-soft);
}

/* V2 fade-in delay aliases */
.fade-in-delay-1 { transition-delay: 0.08s; }
.fade-in-delay-2 { transition-delay: 0.16s; }
.fade-in-delay-3 { transition-delay: 0.24s; }
.fade-in-delay-4 { transition-delay: 0.32s; }

/* Section description in inner pages */
.section-desc { font-size: 1rem; color: var(--text-soft); max-width: 560px; line-height: 1.85; }
.text-center .section-desc { margin-left: auto; margin-right: auto; }

@media (max-width: 768px) {
  .process-steps { grid-template-columns: 1fr; gap: 24px; }
  .process-steps::before { display: none; }
  .product-card { padding: 32px 24px; }
}

/* ============================================================
   ✦ SVG ICON HOVER EFFECTS (动态化与交互响应)
   ============================================================ */
/* 统一为涉及图标交互的容器与 SVG 添加过渡 */
.bento-card svg, .service-item svg, .product-entry svg, .data-bar-item svg, .dropdown-item svg {
  transition: transform 0.4s var(--ease);
}

/* 所有 SVG 内部的笔触和填充都启用跟随过渡 */
svg path, svg circle, svg rect, svg line, svg polyline, svg ellipse, svg polygon {
  transition: fill 0.4s var(--ease), stroke 0.4s var(--ease);
}

/* 浅色卡片 / 区域鼠标悬浮时的颜色变化（让橙色和蓝色更激进亮眼） */
.service-item:hover, .data-bar-item:hover, .dropdown-item:hover, .bento-card:hover {
  --ico-accent: #FF5A00;
  --ico-dot: #FF2E00;
  --ico-light: #2A60E8;
}

/* 深色卡片 / 区域鼠标悬浮时的颜色变化（提亮高光） */
.bento-dark:hover, .product-entry-a:hover, .product-entry-b:hover {
  --ico-accent: #FFC07F;
  --ico-dot: #FFFFFF;
  --ico-light: #FFFFFF;
  --ico-main: #FFFFFF;
}

/* 统一轻微缩放响应，增加动效点击感 */
.bento-card:hover .vp-icon svg,
.service-item:hover .si-icon svg,
.product-entry:hover .pe-badge svg,
.data-bar-item:hover .db-ico svg {
  transform: scale(1.15) translateY(-2px);
}


/* SVGs inside various icon containers */
.dropdown-icon svg,
.card-icon svg,
.pain-icon svg,
.advantage-icon svg,
.sub-nav-icon svg,
.cycle-icon svg,
.industry-tag-icon svg {
  width: 1em;
  height: 1em;
  display: inline-block;
  vertical-align: middle;
  fill: currentColor;
}
.card-icon svg, .pain-icon svg, .advantage-icon svg, .cycle-icon svg {
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}
.dropdown-icon svg, .sub-nav-icon svg, .industry-tag-icon svg {
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

/* Fix SVG hover contrast according to user feedback */
.service-card:hover .card-icon,
.advantage-item:hover .advantage-icon,
.pain-card:hover .pain-icon,
.bento-card:hover .vp-icon,
.dropdown-item:hover .dropdown-icon {
  background: var(--orange) !important;
  color: var(--white) !important;
}

.service-card:hover .card-icon svg,
.advantage-item:hover .advantage-icon svg,
.pain-card:hover .pain-icon svg,
.bento-card:hover .vp-icon svg,
.dropdown-item:hover .dropdown-icon svg {
  color: var(--white) !important;
  stroke: var(--white) !important;
}

/* Make sure the text on hover is white */
.dropdown-item:hover {
  background: var(--bg-hover);
}
.dropdown-item:hover .dropdown-icon {
  background: var(--orange) !important;
}

.cycle-item:hover .cycle-icon,
.industry-tag:hover .industry-tag-icon {
  background: var(--orange) !important;
  color: var(--white) !important;
}

.cycle-item:hover .cycle-icon svg,
.industry-tag:hover .industry-tag-icon svg {
  color: var(--white) !important;
  stroke: var(--white) !important;
}

/* ============================================================
   ✦ BOTTOM CTA BANNER (Inner Pages)
   ============================================================ */
.cta-banner {
  background: linear-gradient(145deg, var(--blue-dark) 0%, #0d1544 100%);
  color: var(--white);
  padding: 48px 56px;
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  box-shadow: var(--shadow-sm);
}
.cta-banner-left {
  flex: 1;
  text-align: left;
}
.cta-banner-left h2 {
  font-size: 1.8rem;
  margin-bottom: 12px;
  color: var(--white);
}
.cta-banner-left p {
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
  max-width: 90%;
}
.cta-banner-right {
  flex-shrink: 0;
}
.btn-cta-banner {
  font-size: 1.05rem !important;
  padding: 14px 36px !important;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .cta-banner {
    flex-direction: column;
    text-align: center;
    padding: 36px 24px;
    gap: 28px;
  }
  .cta-banner-left {
    text-align: center;
  }
  .cta-banner-left p {
    max-width: 100%;
    font-size: 0.95rem;
  }
  .btn-cta-banner {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================================
   ✦ FULL RESPONSIVE OVERRIDES (Mobile & iPad)
   ============================================================ */

/* IPAD & TABLET (max-width: 1024px) */
@media (max-width: 1024px) {
  .bento-card {
    padding: 32px 24px;
  }
  .bento-card h4 {
    font-size: 1.25rem;
  }
  .service-cycle { 
    flex-wrap: wrap; 
  }
  /* For the new CTA banner */
  .cta-banner {
    padding: 36px 40px;
    gap: 32px;
  }
  .cta-banner h2 {
    font-size: 1.5rem;
  }
}

/* SMARTPHONES & SMALL DEVICES (max-width: 768px) */
@media (max-width: 768px) {
  /* Layout Paddings */
  .section, .sec, .section-alt {
    padding: 48px 0;
  }
  .bento-card {
    padding: 24px 20px;
    border-radius: var(--r-lg);
  }
  
  /* Typos */
  .section-title {
    font-size: 1.4rem;
  }
  .bento-card h4 {
    font-size: 1.15rem;
    margin-bottom: 8px;
  }
  .bento-card p {
    font-size: 0.95rem;
    line-height: 1.6;
  }
  
  /* Feature grids inside cards */
  .feature-list li {
    font-size: 0.9rem;
    margin-bottom: 10px;
  }
  
  /* Any inline inline grid that has 300px minmax might overflow on tiny screens (e.g. 320px). We should fix it. */
  div[style*="grid-template-columns: repeat(auto-fit"] {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  
  /* Sub page navigation (sub-nav) */
  .sub-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }
  .sub-nav-item {
    font-size: 0.85rem;
    padding: 10px 16px;
  }
  
  /* The new CTA banner */
  .cta-banner {
    flex-direction: column;
    text-align: center;
    padding: 32px 20px;
    gap: 24px;
  }
  .cta-banner-left {
    text-align: center;
  }
  .cta-banner-left p {
    max-width: 100%;
    font-size: 0.9rem;
  }
  .cta-banner-right .btn-primary {
    width: 100%;
    justify-content: center;
  }
}

/* TINY PHONES (max-width: 480px) */
@media (max-width: 480px) {
  .sub-nav-item {
    padding: 8px 12px;
    font-size: 0.8rem;
  }
  .bento-card {
    padding: 20px 16px;
  }
  .btn {
    padding: 12px 20px;
    font-size: 0.9rem;
  }
  .section-title {
    font-size: 1.3rem;
  }
  .cta-banner h2 {
    font-size: 1.3rem;
  }
}

/* ============================================================
   ✦ MOBILE FOOTER OPTIMIZATION
   ============================================================ */
@media (max-width: 768px) {
  /* Hide the verbose navigation columns in footer on mobile to save vertical space.
     Mobile users can use the hamburger menu for navigation. */
  .footer-col {
    display: none !important;
  }
  
  .site-footer {
    padding: 48px 0 24px;
    text-align: center;
  }
  
  .footer-brand {
    align-items: center;
  }
  
  .footer-brand p {
    text-align: center;
  }
  
  /* Center contact items on mobile */
  .footer-contact-item {
    justify-content: center;
    text-align: center;
    align-items: center !important;
  }
}

/* ============================================================
   ✦ ERROR PAGES
   ============================================================ */
.error-hero {
  min-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--bg-body);
  position: relative;
  overflow: hidden;
}
.error-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 600px;
  padding: 40px 20px;
}
.error-code {
  font-family: var(--font-num);
  font-size: 8rem;
  font-weight: 900;
  color: var(--blue-light);
  line-height: 1;
  margin-bottom: 20px;
  letter-spacing: -4px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.error-hero h1 {
  font-size: 2.2rem;
  color: var(--text-dark);
  margin-bottom: 16px;
}
.error-hero p {
  font-size: 1.05rem;
  color: var(--text-soft);
  margin-bottom: 32px;
  line-height: 1.8;
}
.error-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.error-actions .btn {
  min-width: 160px;
}
@media (max-width: 768px) {
  .error-code {
    font-size: 6rem;
  }
  .error-hero h1 {
    font-size: 1.8rem;
  }
}
