/* =========================================================
   TOKENS
   ========================================================= */
:root {
  /* --- Brand: 取色自 logo（橙红 #FF4403 / 亮黄点缀） --- */
  --brand-50:  #FFF3EC;
  --brand-100: #FFE3D4;
  --brand-200: #FFC4A8;
  --brand-300: #FF9A6E;
  --brand-400: #FF6B2C;
  --brand-500: #FF4403;   /* logo 实测主色，用于面/线/图形 */
  --brand-600: #E04400;
  --brand-700: #C23A00;   /* 正文级品牌色（白底 5.39:1，AA） */
  --brand-800: #9E2E00;
  --brand-900: #6E2000;
  --brand-ink: var(--brand-700);

  /* --- Neutrals: 暖调中性色（带品牌色相偏移） --- */
  --paper:   #FFFFFF;
  --paper-2: #FCF9F7; --paper-2: oklch(98.4% .004 62);
  --paper-3: #F7F1ED; --paper-3: oklch(96.2% .008 62);
  --line:    #E6E2DF; --line:    oklch(91.5% .006 62);
  --line-2:  #D4CEC9; --line-2:  oklch(85.5% .009 62);
  --ink-1: #201D1B; --ink-1: oklch(23.5% .006 60);
  --ink-2: #524D4A; --ink-2: oklch(42.5% .008 60);
  --ink-3: #696460; --ink-3: oklch(50.5% .009 60);
  --ink-4: #857F7A; --ink-4: oklch(60%   .010 60);

  /* --- Semantic --- */
  --text-1: var(--ink-1);
  --text-2: var(--ink-2);
  --text-3: var(--ink-3);
  --text-4: var(--ink-4);
  --bg:      var(--paper);
  --bg-2:    var(--paper-2);
  --bg-3:    var(--paper-3);
  --surface: #FFFFFF;
  --border:  var(--line);
  --border-strong: var(--line-2);

  --ok:   #0F7B4F;
  --warn: #B45309;
  --risk: #C2381F;
  --navy: #1F4E79;
  --teal: #2F5D62;

  /* --- Type: 6 档，1.25 Major Third --- */
  --fs-xs: .75rem;
  --fs-sm: .875rem;
  --fs-base: 1rem;
  --fs-lg: 1.25rem;
  --fs-xl: clamp(1.375rem, 2.4vw, 1.75rem);
  --fs-display: clamp(2.25rem, 5.2vw, 3.75rem);

  /* --- Space: 4pt --- */
  --sp-1: .25rem; --sp-2: .5rem;  --sp-3: .75rem; --sp-4: 1rem;
  --sp-5: 1.5rem; --sp-6: 2rem;   --sp-7: 3rem;   --sp-8: 4rem;  --sp-9: 6rem;

  /* --- Radius: 3 档 --- */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 20px;

  /* --- Elevation: 真实阴影，无霓虹发光 --- */
  --shadow-sm: 0 1px 2px rgba(32,29,27,.05), 0 1px 3px rgba(32,29,27,.04);
  --shadow-md: 0 4px 14px rgba(32,29,27,.07), 0 1px 3px rgba(32,29,27,.04);
  --shadow-lg: 0 18px 46px rgba(32,29,27,.11), 0 4px 12px rgba(32,29,27,.06);
  --shadow-brand: 0 10px 28px rgba(255,68,3,.26);

  /* --- Motion --- */
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --dur-1: 140ms;
  --dur-2: 240ms;
  --dur-3: 420ms;


  /* --- AI Glow System (对齐截图发光描边风格) --- */

  --maxw: 1240px;
  --font-main: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'HarmonyOS Sans SC', 'Microsoft YaHei', sans-serif;
}

/* =========================================================
   RESET & BASE
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-main);
  background: var(--bg);
  color: var(--text-1);
  font-size: var(--fs-base);
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5 { line-height: 1.25; letter-spacing: -.011em; font-weight: 800; }
a { color: var(--brand-ink); text-decoration: none; transition: color var(--dur-1) var(--ease-out); }
a:hover { color: var(--brand-500); }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--brand-500); outline-offset: 3px; border-radius: 3px; }
::selection { background: var(--brand-100); color: var(--brand-900); }

/* =========================================================
   NAVIGATION
   ========================================================= */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  /* 首屏透明，配合深色 Hero */
  background: transparent; backdrop-filter: none;
  border-bottom: 1px solid transparent;
  padding: 0 var(--sp-6);
  transition: background var(--dur-3) var(--ease-out), box-shadow var(--dur-3) var(--ease-out),
              border-color var(--dur-3) var(--ease-out), backdrop-filter var(--dur-3) var(--ease-out);
}
.navbar.scrolled {
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}
.nav-inner {
  max-width: 1400px; margin: auto; height: 72px;
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-5);
}
.nav-logo { display: flex; align-items: center; gap: 10px; font-size: var(--fs-base); font-weight: 800; color: #FFFFFF; letter-spacing: -.01em; transition: color var(--dur-3) var(--ease-out); }
.navbar.scrolled .nav-logo { color: var(--text-1); }
.nav-logo img { height: 38px; width: auto; }
.nav-links { display: flex; gap: 2px; list-style: none; }
.nav-links a {
  display: block; color: rgba(255,255,255,.82); font-size: var(--fs-sm); font-weight: 600;
  padding: 8px 12px; border-radius: var(--radius-sm);
  transition: color var(--dur-2) var(--ease-out), background var(--dur-2) var(--ease-out);
}
.nav-links a:hover { color: #FFFFFF; background: rgba(255,255,255,.12); }
.navbar.scrolled .nav-links a { color: var(--text-2); }
.navbar.scrolled .nav-links a:hover { color: var(--text-1); background: var(--paper-3); }
.nav-links a.active { color: #FF8A4C; }
.navbar.scrolled .nav-links a.active { color: var(--brand-ink); }
.nav-cta {
  display: inline-flex; align-items: center; padding: 9px 18px;
  background: var(--brand-700); color: #fff; font-size: var(--fs-sm); font-weight: 700;
  border-radius: var(--radius-sm); border: 0; cursor: pointer; white-space: nowrap;
  transition: background var(--dur-1) var(--ease-out), transform var(--dur-1) var(--ease-out), box-shadow var(--dur-2) var(--ease-out);
}
.nav-cta:hover { background: var(--brand-800); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-brand); }
.mobile-toggle { display: none; background: none; border: 0; color: #FFFFFF; font-size: 1.4rem; cursor: pointer; padding: 4px 8px; transition: color var(--dur-3) var(--ease-out); }
.navbar.scrolled .mobile-toggle { color: var(--text-1); }

/* =========================================================
   HERO
   ========================================================= */
/* Hero: 深色主视觉 + 写实背景图 */
.hero {
  position: relative; min-height: 88vh; display: flex; align-items: center;
  background-color: #0A1524;
  background-image: url('assets/scene-hero-tech.webp');
  background-position: center 32%;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
}
/* 左侧压深渐变遮罩，保证文字可读 + 右侧透出实景 */
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(100deg,
    rgba(6,14,28,.72) 0%, rgba(6,14,28,.55) 35%,
    rgba(6,14,28,.30) 65%, rgba(6,14,28,.10) 100%);
}
/* 底部渐隐到白色，衔接下方浅色区块 */
.hero::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 150px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), #FFFFFF);
  z-index: 1; pointer-events: none;
}

/* --- AI 主视觉：发光神经网络球体 --- */

.hero-content { position: relative; z-index: 2; max-width: 1400px; margin: auto; padding: 8rem var(--sp-6) var(--sp-8); width: 100%; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(8px);
  padding: 6px 16px; border-radius: 999px; font-size: var(--fs-xs);
  font-weight: 700; letter-spacing: .04em; color: rgba(255,255,255,.92);
  margin-bottom: var(--sp-5);
  box-shadow: 0 0 22px rgba(255,68,3,.18);
}
.hero-badge::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--brand-500); animation: pulse-dot 2.4s var(--ease-out) infinite; }
@keyframes pulse-dot { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.35;transform:scale(.8)} }
.hero h1 { font-size: var(--fs-display); margin-bottom: var(--sp-4); max-width: 20ch; }
.hero h1 { color: #FFFFFF; }
.hero h1 .highlight { color: #FF8A4C; text-shadow: 0 0 26px rgba(255,68,3,.45); }
.hero-sub { font-size: var(--fs-lg); color: rgba(255,255,255,.80); max-width: 56ch; line-height: 1.75; }
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-4); margin-top: var(--sp-7); }
.stat-card {
  background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.13);
  border-top: 2.5px solid var(--brand-500);
  border-radius: var(--radius-md); padding: var(--sp-6) var(--sp-4);
  box-shadow: 0 6px 24px rgba(0,0,0,.28);
  backdrop-filter: blur(12px) saturate(130%);
  transition: transform var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out), border-color var(--dur-2) var(--ease-out);
}
.stat-card:hover { transform: translateY(-4px); box-shadow: 0 12px 34px rgba(0,0,0,.38), 0 0 26px rgba(255,68,3,.22); border-color: rgba(255,120,60,.45); }
.stat-num { font-size: clamp(1.6rem, 2.8vw, 2.2rem); line-height: 1.1; font-weight: 800; color: #FFFFFF; letter-spacing: -.03em; font-variant-numeric: tabular-nums; text-shadow: 0 0 18px rgba(255,120,60,.42), 0 0 38px rgba(255,68,3,.20); }
.stat-label { font-size: var(--fs-sm); color: rgba(255,255,255,.88); font-weight: 600; margin-top: 2px; }
.stat-source { font-size: var(--fs-xs); color: rgba(255,255,255,.55); margin-top: 2px; }

/* =========================================================
   SECTION SHELL
   ========================================================= */
.section { padding: calc(var(--sp-9) + 1.5rem) var(--sp-6); max-width: var(--maxw); margin: auto; }
/* 通栏色带：章节分隔靠整幅底色，内容仍居中在 --maxw 内 */
.section-band, .dashboard-section, .diag-section, .geo-section { max-width: none; }
.section-band > *, .dashboard-section > *, .diag-section > *, .geo-section > * { max-width: var(--maxw); margin-inline: auto; }
.section-header { max-width: 68ch; margin: 0 auto var(--sp-9); text-align: center; }
.section-tag {
  display: inline-block; font-size: var(--fs-xs); font-weight: 800;
  letter-spacing: .16em; text-transform: uppercase; color: var(--brand-700);
  margin-bottom: var(--sp-3);
}
.section-tag::before { content: ''; display: block; width: 28px; height: 3px; background: var(--brand-500); border-radius: 2px; margin: 0 auto var(--sp-3); }
.section-title { font-size: clamp(1.625rem, 3.4vw, 2.25rem); letter-spacing: -.015em; }
.section-desc { color: var(--text-2); font-size: var(--fs-base); margin-top: var(--sp-3); }

/* =========================================================
   SIX CORE SLICES — Visual Redesign (v3: image-driven)
   ========================================================= */
.slices-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); gap: var(--sp-7); }
.slice-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out), border-color var(--dur-2) var(--ease-out);
}
.slice-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--brand-200); }

/* Header: icon + title */
.slice-header {
  display: flex; align-items: center; gap: var(--sp-4);
  padding: var(--sp-6) var(--sp-6) var(--sp-4);
}
.slice-icon {
  width: 56px; height: 56px; border-radius: 12px; overflow: hidden;
  flex-shrink: 0;
  border: 1px solid var(--border); background: var(--paper-3);
  box-shadow: var(--shadow-sm);
}
.slice-icon img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slice-card h3 {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  letter-spacing: -.01em; line-height: 1.3;
}

/* Main visual image area */
.slice-visual {
  position: relative;
  margin: 0 var(--sp-5);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--paper-3);
}
.slice-visual img {
  width: 100%; height: auto; display: block;
  aspect-ratio: 2 / 1; object-fit: cover;
  transition: transform var(--dur-3) var(--ease-out);
}
.slice-card:hover .slice-visual img { transform: scale(1.03); }

/* Overlay label badges */
.slice-labels {
  position: absolute; bottom: 0; left: 0; right: 0;
  display: flex;
  background: linear-gradient(transparent, rgba(0,0,0,.72));
  padding: var(--sp-3) var(--sp-3) var(--sp-2);
}
.slice-label {
  flex: 1; text-align: center;
  font-size: var(--fs-xs); font-weight: 700;
  color: rgba(255,255,255,.9);
  padding: 3px 0;
  border-right: 1px solid rgba(255,255,255,.2);
}
.slice-label:last-child { border-right: none; }

/* Content below image */
.slice-content {
  padding: 0 var(--sp-6) var(--sp-6);
}

/* Definition one-liner */
.slice-def-line {
  font-size: var(--fs-sm); color: var(--text-2);
  line-height: 1.65; margin-bottom: var(--sp-4);
  padding-left: var(--sp-3);
  border-left: 3px solid var(--brand-300);
}

/* Data strip: horizontal number callouts */
.slice-data-strip {
  display: flex; gap: var(--sp-3);
  margin-bottom: var(--sp-4);
}
.data-point {
  flex: 1; text-align: center;
  background: var(--paper-2);
  border-radius: var(--radius-sm);
  padding: var(--sp-3) var(--sp-2);
  border: 1px solid var(--border);
}
.data-point strong {
  display: block; font-size: 1.35rem;
  color: var(--brand-600); font-weight: 800;
  line-height: 1.2;
}
.data-point span {
  display: block; font-size: var(--fs-xs);
  color: var(--text-3); margin-top: 2px;
}

/* Business impact takeaway */
.slice-impact-line {
  font-size: var(--fs-sm); color: var(--text-1);
  background: linear-gradient(135deg, var(--brand-50), var(--paper-2));
  border-radius: var(--radius-sm);
  padding: var(--sp-3) var(--sp-4);
  border-left: 3px solid var(--brand-500);
  font-weight: 500; line-height: 1.6;
}

/* =========================================================
   DATA DASHBOARD — Light Warm + 3D Data Scene (v8)
   ========================================================= */
.dashboard-section {
  background-color: #FAF7F4;
  background-image: url('assets/bg-dashboard-3d.webp');
  background-position: center 40%;
  background-size: cover;
  background-repeat: no-repeat;
  border: 0;
  position: relative; overflow: hidden;
}
/* Subtle warm overlay to blend image with content — lighter so 3D scene shows through */
.dashboard-section::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(250,247,244,.40) 0%,
    rgba(250,247,244,.55) 50%,
    rgba(250,247,244,.70) 100%);
  pointer-events: none; z-index: 0;
}
/* Bottom gentle fade */
.dashboard-section::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 75%, rgba(250,247,244,.92) 100%);
  pointer-events: none; z-index: 0;
}
/* Header must sit above overlay layers */
.dashboard-section .section-header { position: relative; z-index: 2; }

/* Header — dark text on light, high contrast */
.dashboard-section .section-tag {
  color: var(--brand-600);
  font-weight: 700;
}
.dashboard-section .section-title {
  color: #0A0808;
}
.dashboard-section .section-desc { color: #3D3532; }

/* Grid: clean equal-width */
.charts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: var(--sp-5);
  position: relative; z-index: 1;
}

/* Card: clean white card on light 3D background */
.chart-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-5);
  box-shadow:
    0 4px 24px rgba(0,0,0,.06),
    0 1px 3px rgba(0,0,0,.04);
  position: relative;
  overflow: hidden;
  transition: background .4s ease, border-color .4s ease, box-shadow .4s ease, transform .25s ease;
}
.chart-card::before {
  content: ''; position: absolute; top: 0; left: 20%; right: 20%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--brand-500), transparent);
  opacity: .9;
}
.chart-card:hover {
  border-color: var(--brand-200);
  box-shadow:
    0 8px 32px rgba(255,68,3,.10),
    0 2px 6px rgba(0,0,0,.05);
  transform: translateY(-2px);
}

/* Corner decorations */
.chart-card .corner-tl, .chart-card .corner-tr,
.chart-card .corner-bl, .chart-card .corner-br {
  position: absolute; width: 11px; height: 11px;
  border-color: var(--brand-200); border-style: solid;
  border-width: 0; pointer-events: none; z-index: 2;
}
.corner-tl { top: -1px; left: -1px; border-top-width: 2px; border-left-width: 2px; }
.corner-tr { top: -1px; right: -1px; border-top-width: 2px; border-right-width: 2px; }
.corner-bl { bottom: -1px; left: -1px; border-bottom-width: 2px; border-left-width: 2px; }
.corner-br { bottom: -1px; right: -1px; border-bottom-width: 2px; border-right-width: 2px; }

/* Title row — dark text */
.chart-card h3 {
  font-size: var(--fs-sm); font-weight: 700;
  color: var(--text-1);
  margin-bottom: var(--sp-4);
  display: flex; align-items: center; gap: 8px;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.chart-card h3 .dash-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--brand-500);
  box-shadow: 0 0 10px rgba(255,68,3,.35);
  animation: pulse-dot 2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes pulse-dot {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: .35; transform: scale(.65); }
}

/* KPI strip */
.dash-kpi-strip {
  display: flex; gap: var(--sp-4);
  margin-bottom: var(--sp-4);
}
.dash-kpi {
  flex: 1; text-align: center;
  background: var(--paper-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: var(--sp-2) var(--sp-3);
}
.dash-kpi strong {
  display: block; font-size: 1.45rem; font-weight: 800;
  color: var(--brand-700);
  font-family: 'SF Mono', 'Consolas', 'Menlo', monospace;
  line-height: 1.2;
}
.dash-kpi span {
  display: block; font-size: 10px;
  color: var(--text-3); text-transform: uppercase;
  letter-spacing: .08em; margin-top: 2px;
}

/* Chart wrapper */
.chart-wrapper { height: 220px; position: relative; }

/* Source line */
.chart-source {
  margin-top: var(--sp-3); font-size: 10px;
  color: var(--text-3); letter-spacing: .02em;
  border-top: 1px solid var(--border);
  padding-top: var(--sp-2);
  line-height: 1.5;
}

/* =========================================================
   PLATFORM COMPARISON — AI Platform Ecosystem (5 platforms, light theme)
   ========================================================= */
#compare {
  position: relative; overflow: hidden;
  background-color: #FAF7F4;
  background-image: url('assets/bg-compare-5platforms.webp');
  background-position: center 45%;
  background-size: cover;
  background-repeat: no-repeat;
}
#compare::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(250,247,244,.50) 0%,
    rgba(250,247,244,.65) 50%,
    rgba(250,247,244,.82) 100%);
  pointer-events: none; z-index: 0;
}

/* Header — dark text on light */
#compare .section-header { position: relative; z-index: 2; }
#compare .section-tag { color: var(--brand-600); font-weight: 700; }
#compare .section-title { color: #0A0808; }
#compare .section-desc { color: var(--text-2); }

/* Horizontal grid — 5 in a row on desktop, wraps on smaller screens */
.tri-polar {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--sp-4);
  position: relative; z-index: 2;
}

/* Card: clean light surface, dark text (matches #data) */
.polar-card {
  background: #FFFFFF;
  border: 1px solid rgba(10,8,8,.08);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  box-shadow: 0 4px 20px rgba(10,8,8,.06), inset 0 1px 0 rgba(255,255,255,.7);
  transition: transform .3s ease, box-shadow .3s ease;
  position: relative; overflow: hidden;
}
.polar-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(10,8,8,.12);
}
/* Top accent line per card */
.polar-card > *:first-child {
  position: relative; z-index: 1;
}
.polar-card::before {
  content: ''; position: absolute; top: 0; left: 20%; right: 20%; height: 2px;
  pointer-events: none;
}
.polar-card:nth-child(1)::before { background: linear-gradient(90deg, transparent, #FF6B45, transparent); }
.polar-card:nth-child(2)::before { background: linear-gradient(90deg, transparent, #E84318, transparent); }
.polar-card:nth-child(3)::before { background: linear-gradient(90deg, transparent, #2F6BFF, transparent); }
.polar-card:nth-child(4)::before { background: linear-gradient(90deg, transparent, #00875A, transparent); }
.polar-card:nth-child(5)::before { background: linear-gradient(90deg, transparent, #2D8CFF, transparent); }

/* 3D Logo badge — replaces text flag */
.polar-logo {
  display: block;
  width: 72px; height: 72px;
  object-fit: contain;
  margin-bottom: var(--sp-3);
  border-radius: 16px;
  filter: drop-shadow(0 2px 8px rgba(10,8,8,.12));
}

/* Title & subtitle */
.polar-card h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); color: #0A0808; margin-bottom: 2px; }
.polar-sub { font-size: var(--fs-sm); color: var(--text-2); margin-bottom: var(--sp-5); }

/* Dimension bars — dark text on light card */
.polar-dims { text-align: left; }
.dim-row {
  display: grid; grid-template-columns: 1fr auto;
  grid-template-areas: "name score" "bar bar";
  gap: 7px 10px; align-items: center;
  padding: 10px 0; border-bottom: 1px solid rgba(10,8,8,.07);
}
.dim-row:last-child { border-bottom: 0; }
.dim-name { grid-area: name; font-size: var(--fs-sm); color: var(--text-1); font-weight: 600; }
.dim-score { grid-area: score; font-size: var(--fs-xs); color: var(--text-2); font-variant-numeric: tabular-nums; min-width: 28px; text-align: right; font-weight: 700; }
.dim-bar-wrap { grid-area: bar; height: 6px; background: rgba(10,8,8,.06); border-radius: 999px; overflow: hidden; }
.dim-bar { height: 100%; border-radius: 999px; transition: width 1.2s cubic-bezier(.22,1,.36,1); }
.dim-bar.us { background: linear-gradient(90deg, #FF6B45, #FF9A6E); }
.dim-bar.cn { background: linear-gradient(90deg, #E84318, #FF7A4D); }
.dim-bar.eu { background: linear-gradient(90deg, #00875A, #34D99A); }
.dim-bar.ds { background: linear-gradient(90deg, #2F6BFF, #6E96FF); }
.dim-bar.tx { background: linear-gradient(90deg, #2D8CFF, #6FB6FF); }

/* Bottom note */
.polar-note {
  margin-top: var(--sp-4); padding-top: var(--sp-4);
  border-top: 1px solid rgba(10,8,8,.07);
  font-size: var(--fs-xs); color: var(--text-2);
  line-height: 1.7;
}

/* =========================================================
   ABOUT / 企业介绍 (light theme, 与官网一致)
   ========================================================= */
.about-section { background: var(--bg-2); }

/* 1. 简介：图文左右 */
.about-intro {
  display: grid; grid-template-columns: 1.15fr .85fr;
  gap: var(--sp-8); align-items: center;
  max-width: 1180px; margin: 0 auto;
}
.about-lead {
  font-size: var(--fs-lg); line-height: 1.7; color: var(--text-1);
  font-weight: 600; margin-bottom: var(--sp-4);
}
.about-intro-text > p { font-size: var(--fs-base); line-height: 1.85; color: var(--text-2); margin-bottom: var(--sp-4); }
.about-tags { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-bottom: var(--sp-5); }
.about-tags span {
  font-size: var(--fs-xs); font-weight: 700; color: var(--brand-700);
  background: var(--brand-50); border: 1px solid var(--brand-100);
  padding: 5px 12px; border-radius: 999px;
}
.about-loc { display: grid; gap: var(--sp-3); }
.about-loc-item {
  display: flex; align-items: baseline; gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4); background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius-md);
}
.about-loc-item strong { font-size: var(--fs-sm); color: var(--text-1); white-space: nowrap; }
.about-loc-item span { font-size: var(--fs-sm); color: var(--text-3); }

.about-intro-media { position: relative; }
.about-intro-media img {
  width: 100%; height: 360px; object-fit: cover; display: block;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.about-media-badge {
  position: absolute; left: var(--sp-4); bottom: var(--sp-4);
  font-size: var(--fs-xs); font-weight: 700; color: #fff;
  background: rgba(255,68,3,.92); padding: 6px 14px; border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

/* 2. 硬核实力：数据条 */
.about-stats {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--sp-4);
  max-width: 1180px; margin: var(--sp-9) auto 0;
}
.about-stat {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: var(--sp-5) var(--sp-4);
  text-align: center; box-shadow: var(--shadow-sm);
  transition: transform var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out);
}
.about-stat:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.about-stat-num {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 800; line-height: 1.1;
  color: var(--brand-700); letter-spacing: -.03em; font-variant-numeric: tabular-nums;
}
.about-stat-num span { font-size: .6em; color: var(--brand-500); margin-left: 1px; }
.about-stat-lbl { font-size: var(--fs-xs); color: var(--text-3); margin-top: var(--sp-2); }

/* 3. 办公实景：主图 + 侧栏 */
.about-gallery {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--sp-4);
  max-width: 1180px; margin: var(--sp-9) auto 0;
}
.about-gallery figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--border); box-shadow: var(--shadow-md); }
.about-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform var(--dur-3) var(--ease-out); }
.about-gallery figure:hover img { transform: scale(1.04); }
.about-gallery-main { min-height: 380px; }
.about-gallery-main img { height: 380px; }
.about-gallery-side { display: grid; grid-template-rows: 1fr 1fr; gap: var(--sp-4); }
.about-gallery-side figure { min-height: 183px; }
.about-gallery-side img { height: 183px; }
.about-gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  font-size: var(--fs-xs); font-weight: 600; color: #fff;
  padding: var(--sp-4) var(--sp-4) var(--sp-3);
  background: linear-gradient(180deg, transparent, rgba(10,8,8,.62));
}

/* 4 & 5. 通用子块标题 */
.about-block { max-width: 1180px; margin: var(--sp-9) auto 0; }
.about-sub {
  font-size: var(--fs-xl); font-weight: 800; color: var(--text-1);
  margin-bottom: var(--sp-5); text-align: center;
}

/* 服务承诺 */
.about-promise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); }
.about-promise-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: var(--sp-6);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out), border-color var(--dur-2) var(--ease-out);
}
.about-promise-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--brand-200); }
.about-promise-ico {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  font-size: 1.5rem; background: var(--brand-50); border: 1px solid var(--brand-100);
  margin-bottom: var(--sp-4);
}
.about-promise-card h4 { font-size: var(--fs-base); color: var(--text-1); margin-bottom: var(--sp-3); }
.about-promise-card p { font-size: var(--fs-sm); line-height: 1.8; color: var(--text-2); }

/* 企业文化 */
.about-culture-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-4); }
.about-culture-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: var(--sp-5);
  display: flex; flex-direction: column; gap: var(--sp-2);
  border-left: 3px solid var(--brand-400);
}
.about-culture-k { font-size: var(--fs-xs); font-weight: 800; color: var(--brand-700); letter-spacing: .04em; }
.about-culture-v { font-size: var(--fs-sm); color: var(--text-2); line-height: 1.7; }

/* =========================================================
   PREDICTIONS — Image-driven cards (v2)
   ========================================================= */
.pred-list { display: grid; grid-template-columns: 1fr; max-width: 800px; margin: 0 auto; gap: var(--sp-6); }

.pred-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out), border-color var(--dur-2) var(--ease-out);
}
.pred-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--brand-200); }

/* Header: number badge + title */
.pred-header {
  display: flex; align-items: center; gap: var(--sp-4);
  padding: var(--sp-6) var(--sp-6) var(--sp-3);
}
.pred-num {
  width: 56px; height: 56px; border-radius: 14px;
  overflow: hidden; flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(255,68,3,.20);
}
.pred-num img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pred-header h4 {
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  letter-spacing: -.01em; line-height: 1.35; color: var(--text-1);
}

/* Main visual image */
.pred-visual {
  position: relative; margin: 0 var(--sp-5);
  border-radius: var(--radius-md); overflow: hidden;
  background: var(--paper-3);
}
.pred-visual img { width: 100%; height: auto; display: block; aspect-ratio: 2 / 1; object-fit: cover; transition: transform var(--dur-3) var(--ease-out); }
.pred-card:hover .pred-visual img { transform: scale(1.03); }

/* Confidence label overlay */
.pred-visual-labels {
  position: absolute; bottom: 0; left: 0; right: 0;
  display: flex; justify-content: flex-end;
  background: linear-gradient(transparent, rgba(0,0,0,.65));
  padding: var(--sp-3) var(--sp-3) var(--sp-2);
}
.pred-conf-badge {
  font-size: 10px; font-weight: 800; letter-spacing: .06em;
  padding: 4px 12px; border-radius: 999px; text-transform: uppercase;
}
.pred-conf-high { background: rgba(15,123,79,.85); color: #FFFFFF; }
.pred-conf-mid  { background: rgba(180,83,9,.85);   color: #FFFFFF; }

/* Content below image */
.pred-content {
  padding: 0 var(--sp-6) var(--sp-6);
}

/* One-liner summary */
.pred-summary {
  font-size: var(--fs-sm); color: var(--text-2);
  line-height: 1.65; margin-bottom: var(--sp-4);
  padding-left: var(--sp-3);
  border-left: 3px solid var(--brand-300);
}

/* Key data callouts */
.pred-data-strip {
  display: flex; gap: var(--sp-3); margin-bottom: var(--sp-4);
}
.pred-data-point {
  flex: 1; text-align: center;
  background: var(--paper-2); border-radius: var(--radius-sm);
  padding: var(--sp-3) var(--sp-2); border: 1px solid var(--border);
}
.pred-data-point strong {
  display: block; font-size: 1.2rem; font-weight: 800;
  color: var(--brand-600); line-height: 1.2;
}
.pred-data-point span {
  display: block; font-size: var(--fs-xs);
  color: var(--text-3); margin-top: 2px;
}

/* Basis note */
.pred-basis {
  font-size: var(--fs-xs); color: var(--text-3);
  background: var(--paper-2); border-radius: var(--radius-sm);
  padding: var(--sp-3) var(--sp-4); line-height: 1.6;
  border-left: 3px solid var(--border);
}

/* =========================================================
   GEO
   ========================================================= */
.geo-section {
  background: var(--bg-2);
}
.geo-intro { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-8); align-items: center; margin-bottom: var(--sp-9); }
.geo-intro-text h2 { font-size: clamp(1.5rem, 3vw, 2.125rem); margin-bottom: var(--sp-4); }
.geo-intro-text p { color: var(--text-2); font-size: var(--fs-base); margin-bottom: var(--sp-4); }
.geo-highlight-box {
  background: var(--brand-50); border: 1px solid var(--brand-200);
  border-radius: var(--radius-md); padding: var(--sp-5); margin-top: var(--sp-5);
}
.geo-highlight-box h4 { color: var(--brand-800); font-size: var(--fs-sm); margin-bottom: var(--sp-3); letter-spacing: .02em; }
.geo-highlight-box ul { list-style: none; }
.geo-highlight-box li { padding: 3px 0; font-size: var(--fs-sm); color: var(--text-2); }
.geo-highlight-box li::before { content: ''; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--brand-500); margin-right: 10px; vertical-align: 2px; }
.geo-visual {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: var(--sp-7) var(--sp-5); text-align: center;
  box-shadow: var(--shadow-md);
}
.geo-visual-diagram { margin: var(--sp-5) 0; }
.geo-flow-step { display: inline-flex; flex-direction: column; align-items: center; gap: 6px; margin: 0 4px 12px; vertical-align: top; width: 92px; }
.geo-flow-icon {
  width: 64px; height: 64px; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--border); background: var(--paper-3);
  box-shadow: var(--shadow-sm);
}
.geo-flow-icon img { width: 100%; height: 100%; object-fit: cover; display: block; }
.geo-svc-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--brand-500), var(--teal));
  opacity: 0; transition: opacity var(--dur-2) var(--ease-out);
}
.geo-svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--brand-200); }
.geo-svc-card:hover::before { opacity: 1; }
.geo-svc-card h4 { font-size: var(--fs-base); margin-bottom: var(--sp-3); display: flex; align-items: center; gap: 12px; }
.svc-ico { width: 40px; height: 40px; border-radius: 9px; object-fit: cover; flex: none; border: 1px solid var(--border); background: var(--paper-3); }

/* Cases section */
.geo-cases { display: grid; grid-template-columns: 1fr; max-width: 820px; margin-left: auto; margin-right: auto; margin-top: 4rem; gap: var(--sp-7); }

/* Services section — 用 auto-fill + minmax 让窄屏自动折叠，不再依赖固定断点 */
.geo-services { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--sp-5); max-width: 1200px; margin-inline: auto; }
.geo-svc-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: var(--sp-6);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out), border-color var(--dur-2) var(--ease-out);
  position: relative;
}
.case-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm);
  padding: var(--sp-6);
  transition: transform var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out);
}
.case-img {
  height: 180px; margin: calc(var(--sp-6) * -1) calc(var(--sp-6) * -1) var(--sp-5);
  overflow: hidden; background: var(--paper-3);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.case-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform var(--dur-3) var(--ease-out);
}
.case-card:hover .case-img img { transform: scale(1.045); }
.case-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.case-industry { font-size: var(--fs-xs); color: var(--brand-ink); font-weight: 800; letter-spacing: .06em; margin-bottom: var(--sp-2); }
.case-card h4 { font-size: var(--fs-base); margin-bottom: var(--sp-2); }
.case-card > p { font-size: var(--fs-sm); color: var(--text-2); }
.case-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3); margin-top: var(--sp-5); padding-top: var(--sp-5); border-top: 1px solid var(--border); }
.case-metric { background: var(--paper-2); border-radius: var(--radius-md); padding: var(--sp-4) var(--sp-3); text-align: center; border: 1px solid var(--border); }
.case-metric-val { font-size: clamp(1.375rem, 2.2vw, 1.6rem); line-height: 1.15; font-weight: 800; color: var(--brand-700); font-variant-numeric: tabular-nums; letter-spacing: -.03em; }
.case-metric-lbl { font-size: var(--fs-xs); color: var(--text-3); }

.geo-team { display: flex; gap: var(--sp-7); justify-content: center; flex-wrap: wrap; margin-bottom: var(--sp-8); }
.team-item { text-align: center; max-width: 190px; }
.team-avatar {
  width: 88px; height: 88px; border-radius: 50%; overflow: hidden;
  margin: 0 auto var(--sp-3);
  border: 2px solid var(--border-strong); background: var(--paper-3);
  box-shadow: var(--shadow-md);
  transition: box-shadow var(--dur-2) var(--ease-out);
}
.team-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.team-item:hover .team-avatar { box-shadow: var(--shadow-lg); }
.geo-cta {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  border-radius: var(--radius-lg);
  padding: var(--sp-10) var(--sp-7);
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-top: var(--sp-9);
}
.geo-cta::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(70% 120% at 18% 8%, rgba(255,68,3,.12), transparent 62%);
}
.geo-cta h3 { font-size: var(--fs-xl); margin-bottom: var(--sp-2); position: relative; }
.geo-cta p { font-size: var(--fs-base); color: rgba(255,255,255,.88); margin-bottom: var(--sp-5); position: relative; }
.cta-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: var(--brand-800); padding: 14px 30px;
  border-radius: var(--radius-sm); font-weight: 800; font-size: var(--fs-sm);
  border: 0; cursor: pointer; position: relative;
  transition: transform var(--dur-1) var(--ease-out), box-shadow var(--dur-2) var(--ease-out);
}
.cta-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0,0,0,.24), 0 0 20px rgba(255,68,3,.25); }

/* =========================================================
   DIAGNOSTIC
   ========================================================= */
.diag-section { background: var(--bg-2); border: 0; }
.diag-container { max-width: 880px; margin: auto; }
.diag-form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--sp-7); box-shadow: var(--shadow-sm); }
.diag-form h3, .diag-result h3, .geo-section h3.title-center { font-size: var(--fs-lg); font-weight: 800; margin-bottom: var(--sp-5); text-align: center; }
.form-group { margin-bottom: var(--sp-5); }
.form-group label { display: block; font-size: var(--fs-sm); font-weight: 700; margin-bottom: var(--sp-2); color: var(--text-2); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 11px 14px; background: #fff; border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm); color: var(--text-1); font-size: var(--fs-sm);
  font-family: var(--font-main); outline: none;
  transition: border-color var(--dur-1) var(--ease-out), box-shadow var(--dur-1) var(--ease-out);
}
.form-group input::placeholder { color: var(--ink-4); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--brand-500); box-shadow: 0 0 0 3px rgba(255,68,3,.14);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
.diag-submit {
  width: 100%; padding: 14px; background: var(--brand-700); color: #fff;
  border: 0; border-radius: var(--radius-sm); font-size: var(--fs-base); font-weight: 800;
  cursor: pointer; transition: background var(--dur-1) var(--ease-out), transform var(--dur-1) var(--ease-out), box-shadow var(--dur-2) var(--ease-out);
}
.diag-submit:hover { background: var(--brand-800); transform: translateY(-1px); box-shadow: var(--shadow-brand); }
.diag-result { display: none; }
.diag-result.show { display: block; animation: fadeInUp var(--dur-3) var(--ease-out); }
/* 官网入口提交后：生成中状态（接通 CloudBase 云函数） */
.diag-status { text-align: center; padding: var(--sp-6) 0; }
.diag-status h3 { font-size: var(--fs-lg); font-weight: 800; margin-bottom: var(--sp-4); color: var(--text-1); }
.diag-status p { color: var(--text-3); line-height: 1.7; margin-bottom: var(--sp-5); font-size: var(--fs-sm); }
.diag-prog { height: 10px; background: #f0f0f0; border-radius: 999px; overflow: hidden; margin: 10px 0; }
.diag-prog-bar { height: 100%; width: 0; background: linear-gradient(90deg, #FF6A2B, #FF4403); border-radius: 999px; transition: width .4s ease; }
.diag-prog-text { font-size: var(--fs-sm); color: var(--brand-500); font-weight: 700; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.result-score-circle {
  width: 168px; height: 168px; border-radius: 50%; margin: auto;
  background: conic-gradient(var(--brand-500) var(--score-deg, 0deg), var(--paper-3) 0deg);
  display: flex; align-items: center; justify-content: center;
}
.result-score-inner {
  width: 136px; height: 136px; border-radius: 50%; background: #fff;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.result-score-num { font-size: 2.5rem; font-weight: 800; color: var(--brand-700); line-height: 1; font-variant-numeric: tabular-nums; }
.result-score-lbl { font-size: var(--fs-xs); color: var(--text-3); margin-top: 6px; }
.result-breakdown { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); margin-top: var(--sp-6); }
.breakdown-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: var(--sp-4); }
.breakdown-item h5 { font-size: var(--fs-sm); margin-bottom: var(--sp-2); color: var(--text-2); }
.breakdown-bar { height: 8px; background: var(--paper-3); border-radius: 999px; overflow: hidden; }
.breakdown-bar-fill { height: 100%; border-radius: 999px; transition: width 1s var(--ease-out); }
.competitor-compare { margin-top: var(--sp-6); padding: var(--sp-5); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); }
.compare-chart-wrap { height: 260px; margin-top: var(--sp-4); }

/* =========================================================
   NEWS
   ========================================================= */
.news-tabs { display: flex; gap: var(--sp-2); margin-bottom: var(--sp-6); justify-content: center; flex-wrap: wrap; }
.news-tab {
  padding: 9px 20px; border-radius: 999px; font-size: var(--fs-sm); font-weight: 700;
  background: var(--surface); border: 1px solid var(--border-strong); color: var(--text-2);
  cursor: pointer; transition: all var(--dur-1) var(--ease-out);
}
.news-tab:hover { border-color: var(--brand-300); color: var(--brand-ink); }
.news-tab.active { background: var(--brand-700); color: #fff; border-color: var(--brand-700); }
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: var(--sp-5); }
.news-more-wrap { text-align: center; margin-top: var(--sp-7); }
.news-more-btn { display: inline-flex; align-items: center; gap: .4rem; padding: .7rem 1.6rem; border-radius: 999px; background: var(--brand-700); color: #fff; font-weight: 700; font-size: var(--fs-sm); text-decoration: none; transition: all var(--dur-2) var(--ease-out); box-shadow: 0 4px 16px rgba(255,68,3,.25); }
.news-more-btn:hover { background: var(--brand-600); transform: translateY(-2px); box-shadow: 0 6px 22px rgba(255,68,3,.32); }
.news-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden; cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out), border-color var(--dur-2) var(--ease-out);
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--brand-200); }
.news-card-img { position: relative; height: 176px; overflow: hidden; background: var(--paper-3); }
.news-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform var(--dur-3) var(--ease-out); }
.news-card:hover .news-card-img img { transform: scale(1.045); }

/* ── Card body: text area typography ── */
.news-card-body { padding: var(--sp-5) var(--sp-5) var(--sp-6); display: flex; flex-direction: column; gap: var(--sp-3); }
.news-card-tag {
  display: inline-flex; align-self: flex-start;
  font-size: .7rem; font-weight: 600; letter-spacing: .04em;
  color: var(--brand-700); background: var(--brand-50);
  border: 1px solid var(--brand-100);
  padding: .2rem .65rem; border-radius: 999px;
  text-transform: uppercase;
}
.news-card-body h4 {
  font-size: var(--fs-base); font-weight: 700; line-height: 1.45;
  color: var(--text-1); margin: 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card-body p {
  font-size: var(--fs-sm); line-height: 1.7; color: var(--text-2);
  margin: 0;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card-meta {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: auto; padding-top: var(--sp-3);
  border-top: 1px solid var(--border);
  font-size: .75rem; color: var(--text-3);
}
.news-card-meta span:last-child {
  color: var(--brand-700); font-weight: 600; cursor: pointer;
  transition: color var(--dur-1);
}
.news-card:hover .news-card-meta span:last-child { color: var(--brand-500); }
.modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 999;
  align-items: center; justify-content: center;
  background: rgba(6,12,28,.62); backdrop-filter: blur(4px);
  padding: var(--sp-5);
}
.modal-overlay.show { display: flex; }
.modal-content {
  background: var(--surface); border-radius: var(--radius-lg); max-width: 780px; width: 100%;
  max-height: 85vh; overflow-y: auto; padding: var(--sp-7); position: relative;
  box-shadow: var(--shadow-lg); animation: modalIn var(--dur-2) var(--ease-out);
}
@keyframes modalIn { from { opacity: 0; transform: scale(.98) translateY(12px); } to { opacity: 1; transform: none; } }
.modal-close {
  position: absolute; top: var(--sp-4); right: var(--sp-4); width: 36px; height: 36px;
  border-radius: 50%; background: var(--paper-2); border: 1px solid var(--border);
  color: var(--text-2); font-size: 1.1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--dur-1) var(--ease-out);
}
.modal-close:hover { background: var(--risk); color: #fff; border-color: var(--risk); }
.modal-content h2 { font-size: var(--fs-xl); margin-bottom: var(--sp-3); padding-right: var(--sp-7); }
.modal-meta { font-size: var(--fs-xs); color: var(--text-3); margin-bottom: var(--sp-5); }
.modal-body { color: var(--text-2); font-size: var(--fs-base); }
.modal-body p { margin-bottom: var(--sp-4); }
.modal-body h3 { font-size: var(--fs-lg); color: var(--text-1); margin: var(--sp-6) 0 var(--sp-3); }
.modal-body strong { color: var(--text-1); }
.modal-body ul, .modal-body ol { margin: 0 0 var(--sp-4) var(--sp-5); }
.modal-body li { margin-bottom: var(--sp-2); }

/* article tags (from doc metadata, tags-only) */
.article-tags { display: inline-flex; flex-wrap: wrap; gap: .4rem; margin-bottom: var(--sp-5); font-size: .8rem; color: var(--brand-700); font-weight: 500; letter-spacing: .02em; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  --text-1: #F7F4F0; --text-2: #D8D2CB; --text-3: #B4ACA2;
  background: var(--ink-1); color: var(--text-2); padding: var(--sp-8) var(--sp-6) var(--sp-6);
}
.footer-inner { max-width: var(--maxw); margin: auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--sp-7); margin-bottom: var(--sp-7); }
.footer-brand img { height: 48px; width: auto; display: block; margin-bottom: var(--sp-4); }
.footer-brand p { color: var(--text-3); font-size: var(--fs-sm); max-width: 34ch; }
.footer-col h4 { font-size: var(--fs-sm); font-weight: 800; margin-bottom: var(--sp-4); color: var(--text-1); letter-spacing: .02em; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: var(--sp-2); }
.footer-col a { color: var(--text-3); font-size: var(--fs-sm); }
.footer-col a:hover { color: var(--brand-300); }
.refs-section { border-top: 1px solid rgba(255,255,255,.12); padding-top: var(--sp-6); }
.refs-section h4 { font-size: var(--fs-sm); margin-bottom: var(--sp-4); color: var(--text-2); }
.ref-list { columns: 2; column-gap: var(--sp-7); list-style: none; }
.ref-list li { font-size: var(--fs-xs); color: var(--text-3); margin-bottom: var(--sp-2); break-inside: avoid; }
.ref-list a { color: var(--text-3); border-bottom: 1px solid rgba(255,255,255,.18); }
.ref-list a:hover { color: var(--brand-300); border-color: var(--brand-300); }
.copyright { text-align: center; font-size: var(--fs-xs); color: var(--text-3); margin-top: var(--sp-6); padding-top: var(--sp-5); border-top: 1px solid rgba(255,255,255,.12); }
.copyright .beian-no { margin-top: var(--sp-3); font-feature-settings: "tnum"; letter-spacing: .5px; color: rgba(255,255,255,.82); }
.copyright .company-line { margin-top: var(--sp-2); color: var(--text-3); }

/* =========================================================
   REVEAL ON SCROLL
   ========================================================= */
.js .reveal { opacity: 0; transform: translateY(18px); }
.js .reveal.is-in { opacity: 1; transform: none; transition: opacity var(--dur-3) var(--ease-out), transform var(--dur-3) var(--ease-out); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1080px) {
  .geo-intro { grid-template-columns: 1fr; gap: var(--sp-6); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-6); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .tri-polar { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .about-intro { grid-template-columns: 1fr; gap: var(--sp-6); }
  .about-intro-media img { height: 300px; }
  .about-stats { grid-template-columns: repeat(3, 1fr); }
  .about-gallery { grid-template-columns: 1fr; }
  .about-gallery-main, .about-gallery-main img { min-height: 320px; height: 320px; }
  .about-gallery-side { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
  .about-gallery-side figure, .about-gallery-side img { min-height: 200px; height: 200px; }
  .about-promise-grid { grid-template-columns: 1fr; }
  .about-culture-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .tri-polar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  /* 平板/大手机：导航栏提前折叠，避免链接横排溢出 */
  .nav-links {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; flex-direction: column; gap: 2px;
    padding: var(--sp-3); border-bottom: 1px solid var(--border); box-shadow: var(--shadow-md);
  }
  .nav-links.show { display: flex; }
  .mobile-toggle { display: block; }
  .nav-cta { display: none; }
  /* 服务方案：4列→2列（平板/大手机/微信内置浏览器） */
  .geo-services { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 860px) {
  /* 手机端：导航栏始终有实底（不再透明），确保 logo + 汉堡按钮可见 */
  .navbar { background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid var(--border); }
  .navbar.scrolled { background: rgba(255,255,255,.96); }
  .nav-logo { color: var(--text-1); }
  .nav-logo img { height: 32px; }
  .mobile-toggle { color: var(--text-1); }
  .slices-grid { grid-template-columns: 1fr; }
  .charts-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .result-breakdown { grid-template-columns: 1fr; }
  .pred-list { grid-template-columns: 1fr; }
  .pred-conf { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: var(--sp-3); }
  .ref-list { columns: 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: var(--sp-8) var(--sp-5); }
  .hero-content { padding: 6.5rem var(--sp-5) var(--sp-7); }
  .diag-form { padding: var(--sp-5); }
  .modal-content { padding: var(--sp-6) var(--sp-5); }
}
@media (max-width: 520px) {
  .hero-stats { grid-template-columns: 1fr; }
  .geo-team { gap: var(--sp-5); }
  .team-item { max-width: 44%; }
  .case-metrics { grid-template-columns: 1fr; }
  .tri-polar { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: repeat(2, 1fr); }
  .about-culture-grid { grid-template-columns: 1fr; }
  .about-gallery-side { grid-template-columns: 1fr; }
  .about-gallery-side figure, .about-gallery-side img { min-height: 180px; height: 180px; }
  /* 服务方案：2列→1列（小手机） */
  .geo-services { grid-template-columns: 1fr; gap: var(--sp-4); }
  .geo-svc-card { padding: var(--sp-5); }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   AI 科技感背景图层
   ========================================================= */

/* Hero — 深色底改用 screen 提亮，暖调纹理化作光雾（multiply 在深色上会失效） */
/* 左侧文字区用暗罩压深，保证标题绝对可读（深色底不可再用白罩） */

/* 数据看板 — 数据流（原图最浅最灰，透明度给最高） */

/* GEO 区 — 全球网络（原图浅暖，居中取值） */

/* 承载背景图的区块需建立定位上下文 */
/* 内容层浮到背景之上 */

/* 移动端：纹理更密集，整体压淡一档，保证小屏可读性 */
@media (max-width: 767px) {
  .hero { background-position: 68% center; }
  .hero::before {
    background: linear-gradient(180deg,
      rgba(6,14,28,.82) 0%, rgba(6,14,28,.72) 45%, rgba(6,14,28,.50) 100%);
  }
}

/* 尊重减少动效偏好 & 省电模式：静态呈现即可（背景本身无动画，仅确保不叠加滤镜开销） */

@media print {
  .navbar, .modal-overlay { display: none !important; }
  .hero { background-image: none !important; }
  .hero::before { display: none !important; }
  body { color: #000; background: #fff; }
  .contact-float { display: none !important; }
}

/* =========================================================
   右侧悬浮联系入口
   ========================================================= */

.contact-float {
  position: fixed;
  right: 20px;
  bottom: 80px;
  z-index: 9999;
  font-family: var(--font-sans);
}

/* 触发按钮 */
.contact-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #FF4403, #FF6B35);
  color: #fff;
  padding: 12px 18px;
  border-radius: 50px;
  cursor: pointer;
  box-shadow:
    0 4px 16px rgba(255,68,3,.35),
    0 2px 6px rgba(0,0,0,.10);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  white-space: nowrap;
}
.contact-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,68,3,.45), 0 4px 10px rgba(0,0,0,.14);
  background: linear-gradient(135deg, #E63C02, #FF551F);
}
.contact-toggle svg {
  flex-shrink: 0;
}

/* 展开面板 */
.contact-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 12px);
  width: 240px;
  background: #fff;
  border-radius: 16px;
  box-shadow:
    0 12px 40px rgba(0,0,0,.15),
    0 4px 12px rgba(0,0,0,.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(.96);
  transition: all .3s cubic-bezier(.22,1,.36,1);
  overflow: hidden;
}
.contact-float.open .contact-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.contact-float.open .contact-toggle {
  background: linear-gradient(135deg, #E63C02, #CC3300);
}

/* 电话项 */
.contact-item {
  padding: 16px 18px;
}
.phone-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.contact-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255,68,3,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.contact-label {
  font-size: 11px;
  color: var(--text-3, #888);
  letter-spacing: .06em;
  text-transform: uppercase;
  font-weight: 600;
}
.contact-value {
  font-size: 17px;
  font-weight: 800;
  color: #FF4403;
  text-decoration: none;
  letter-spacing: .03em;
  font-variant-numeric: tabular-nums;
}
.contact-value:hover { color: #E63C02; }

/* 分割线 */
.contact-divider { height: 1px; background: rgba(0,0,0,.06); margin: 0; }

/* 微信扫码项 */
.wechat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding-bottom: 18px;
}
.wechat-qr-img {
  width: 150px;
  height: 150px;
  object-fit: contain;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,.07);
}
.wechat-hint {
  font-size: 12px;
  color: var(--text-3, #888);
  margin: 0;
  font-weight: 600;
  letter-spacing: .05em;
}

/* 移动端适配 */
@media (max-width: 520px) {
  .contact-float { right: 12px; bottom: 60px; }
  .contact-toggle { padding: 10px 14px; font-size: 13px; }
  .contact-toggle span { display: none; }
  .contact-panel { width: 220px; }
  .wechat-qr-img { width: 130px; height: 130px; }
}
