/* ═══════════════════════════════════════════════════════
   MFans 数智运营 — Design System V3
   Brand: Professional consulting + AI-powered operations
   Visual source: 交付文档 spec v1（蓝金主色 · 中文排版）
   Last updated: 2026-04-20
   ═══════════════════════════════════════════════════════ */

/* ── Design Tokens ── */
:root {
  /* Primary palette */
  --primary: #2B5FB8;
  --primary-dark: #1A3D7A;
  --primary-deeper: #0F2952;
  --primary-light: #E9F0FB;
  --primary-glow: rgba(43, 95, 184, 0.15);

  /* Accent */
  --accent: #F4B400;
  --accent-soft: #FFF3D0;

  /* Neutrals */
  --text: #1A1A2E;
  --text-secondary: #5A6178;
  --text-muted: #8E95A9;
  --bg: #FFFFFF;
  --bg-subtle: #F7F8FC;
  --bg-dark: #0B1628;
  --bg-dark-card: #132240;
  --border: #E5EAF3;
  --border-light: #F0F2F7;

  /* Functional */
  --success: #22C55E;
  --warning: #F59E0B;
  --danger: #EF4444;

  /* Typography */
  --font-cn: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-en: 'Inter', 'Arial', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Sizing */
  --content-width: 1140px;
  --content-narrow: 800px;
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
  --shadow-glow: 0 0 40px rgba(43, 95, 184, 0.15);

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --duration: 0.3s;
  --duration-slow: 0.6s;
}

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

html { scroll-behavior: smooth; font-size: 16px; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font-cn);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: var(--primary); text-decoration: none; transition: color var(--duration) var(--ease); }
a:hover { color: var(--primary-dark); }

img { max-width: 100%; height: auto; display: block; }

/* ── Layout ── */
.container { max-width: var(--content-width); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: var(--content-narrow); }

.section { padding: 100px 0; }
.section--dark { background: var(--bg-dark); color: #fff; }
.section--dark .text-secondary { color: rgba(255,255,255,0.65); }
.section--subtle { background: var(--bg-subtle); }
.section--primary { background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%); color: #fff; }

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; }

.h1 { font-size: clamp(2rem, 5vw, 3rem); }
.h2 { font-size: clamp(1.6rem, 4vw, 2.25rem); }
.h3 { font-size: clamp(1.2rem, 3vw, 1.5rem); }
.h4 { font-size: 1.125rem; }

.text-secondary { color: var(--text-secondary); }
.text-muted { color: var(--text-muted); }
.text-accent { color: var(--accent); }
.text-primary { color: var(--primary); }
.text-white { color: #fff; }
.text-center { text-align: center; }
.text-balance { text-wrap: balance; }

.lead { font-size: 1.125rem; line-height: 1.8; color: var(--text-secondary); }

.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.8rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--primary);
  margin-bottom: 16px;
}
.section-label::before {
  content: ''; width: 24px; height: 2px;
  background: var(--accent);
}

.section-header { margin-bottom: 56px; }
.section-header .lead { margin-top: 16px; max-width: 640px; }
.section-header.text-center .lead { margin-left: auto; margin-right: auto; }

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

/* ── Navigation ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  transition: all var(--duration) var(--ease);
}
.nav.scrolled {
  background: rgba(255,255,255,0.95);
  box-shadow: var(--shadow-sm);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--content-width); margin: 0 auto; padding: 0 24px;
  height: 64px;
}
.nav__logo img { height: 32px; }
.nav__links { display: flex; gap: 28px; list-style: none; }
.nav__links a {
  font-size: 0.9rem; font-weight: 500; color: var(--text-secondary);
  position: relative; padding: 4px 0;
  transition: color var(--duration) var(--ease);
}
.nav__links a:hover, .nav__links a.active { color: var(--primary); }
.nav__links a.active::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0;
  height: 2px; background: var(--primary); border-radius: 1px;
}
.nav__cta {
  padding: 8px 20px; border-radius: var(--radius); font-size: 0.85rem;
  font-weight: 600; background: var(--primary); color: #fff;
  transition: all var(--duration) var(--ease);
}
.nav__cta:hover { background: var(--primary-dark); color: #fff; transform: translateY(-1px); }

.nav__toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 28px; height: 20px; position: relative;
}
.nav__toggle span {
  display: block; width: 100%; height: 2px; background: var(--text);
  position: absolute; left: 0; transition: all var(--duration) var(--ease);
}
.nav__toggle span:nth-child(1) { top: 0; }
.nav__toggle span:nth-child(2) { top: 9px; }
.nav__toggle span:nth-child(3) { bottom: 0; }
.nav__toggle.active span:nth-child(1) { top: 9px; transform: rotate(45deg); }
.nav__toggle.active span:nth-child(2) { opacity: 0; }
.nav__toggle.active span:nth-child(3) { bottom: 9px; transform: rotate(-45deg); }

/* ── Hero ── */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  background: linear-gradient(160deg, var(--bg-dark) 0%, var(--primary-deeper) 50%, var(--primary-dark) 100%);
  overflow: hidden; padding-top: 64px;
}
.hero__bg {
  position: absolute; inset: 0; opacity: 0.08;
  background-image:
    radial-gradient(circle at 20% 80%, var(--primary) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, var(--accent) 0%, transparent 50%);
}
.hero__grid {
  position: absolute; inset: 0; opacity: 0.04;
  background-size: 60px 60px;
  background-image:
    linear-gradient(to right, #fff 1px, transparent 1px),
    linear-gradient(to bottom, #fff 1px, transparent 1px);
}
.hero__particles {
  position: absolute; inset: 0; overflow: hidden;
}
.hero__particle {
  position: absolute; width: 4px; height: 4px;
  background: var(--accent); border-radius: 50%;
  opacity: 0; animation: particleFade 4s infinite;
}
@keyframes particleFade {
  0%, 100% { opacity: 0; transform: translateY(0); }
  50% { opacity: 0.6; transform: translateY(-30px); }
}

.hero__content {
  position: relative; z-index: 2;
  max-width: 680px; color: #fff;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 100px;
  background: rgba(244, 180, 0, 0.15); border: 1px solid rgba(244, 180, 0, 0.3);
  font-size: 0.8rem; font-weight: 500; color: var(--accent);
  margin-bottom: 24px;
}
.hero__badge .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; } 50% { opacity: 0.4; }
}

.hero__title {
  font-size: clamp(2.2rem, 5.5vw, 3.2rem);
  font-weight: 800; line-height: 1.2;
  margin-bottom: 20px;
}
.hero__title .accent { color: var(--accent); }
.hero__subtitle {
  font-size: 1.15rem; line-height: 1.8;
  color: rgba(255,255,255,0.7); margin-bottom: 40px;
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero__stats {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; gap: 20px;
  padding-left: 60px;
}
.hero__stat {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius); padding: 20px 24px;
  backdrop-filter: blur(10px);
  transition: all var(--duration) var(--ease);
}
.hero__stat:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(244, 180, 0, 0.3);
  transform: translateX(4px);
}
.hero__stat-number {
  font-family: var(--font-en); font-size: 2rem; font-weight: 800;
  color: var(--accent); line-height: 1;
}
.hero__stat-label {
  font-size: 0.85rem; color: rgba(255,255,255,0.6); margin-top: 4px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: var(--radius);
  font-size: 0.95rem; font-weight: 600;
  transition: all var(--duration) var(--ease);
  cursor: pointer; border: none; text-decoration: none;
}
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-dark); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn--accent { background: var(--accent); color: var(--bg-dark); }
.btn--accent:hover { background: #E5A800; color: var(--bg-dark); transform: translateY(-2px); }
.btn--outline {
  background: transparent; color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
}
.btn--outline:hover { background: rgba(255,255,255,0.1); color: #fff; border-color: rgba(255,255,255,0.5); }
.btn--outline-dark {
  background: transparent; color: var(--primary);
  border: 1px solid var(--border);
}
.btn--outline-dark:hover { border-color: var(--primary); background: var(--primary-light); color: var(--primary); }
.btn--lg { padding: 16px 36px; font-size: 1.05rem; border-radius: var(--radius-lg); }
.btn--sm { padding: 8px 18px; font-size: 0.85rem; }
.btn__icon { font-size: 1.1em; }

/* ── Cards ── */
.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--duration) var(--ease);
}
.card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}
.card--dark {
  background: var(--bg-dark-card);
  border-color: rgba(255,255,255,0.08);
  color: #fff;
}
.card--dark:hover { border-color: rgba(244, 180, 0, 0.3); }
.card--featured {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  border: none; color: #fff; position: relative; overflow: hidden;
}
.card--featured::before {
  content: ''; position: absolute; top: -50%; right: -50%;
  width: 100%; height: 100%;
  background: radial-gradient(circle, rgba(244,180,0,0.1) 0%, transparent 70%);
}
.card--glass {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  color: #fff;
}

.card__icon {
  width: 48px; height: 48px; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 20px;
  background: var(--primary-light); color: var(--primary);
}
.card--dark .card__icon,
.card--featured .card__icon { background: rgba(244,180,0,0.15); color: var(--accent); }

.card__title { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; }
.card__desc { font-size: 0.9rem; line-height: 1.7; color: var(--text-secondary); }
.card--dark .card__desc,
.card--featured .card__desc { color: rgba(255,255,255,0.65); }

.card__tag {
  display: inline-block; padding: 3px 10px; border-radius: 100px;
  font-size: 0.75rem; font-weight: 600;
  background: var(--accent-soft); color: var(--accent);
}
.card--dark .card__tag { background: rgba(244,180,0,0.15); }

/* ── Stats Row ── */
.stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border-radius: var(--radius-xl); overflow: hidden;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}
.stats-row__item {
  text-align: center; padding: 36px 24px;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.stats-row__item:last-child { border-right: none; }
.stats-row__number {
  font-family: var(--font-en); font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800; color: var(--accent);
  line-height: 1; margin-bottom: 8px;
}
.stats-row__label {
  font-size: 0.85rem; color: rgba(255,255,255,0.6);
}

/* ── Module cards (services page) ── */
.module {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  align-items: center; padding: 80px 0;
  border-bottom: 1px solid var(--border);
}
.module:last-child { border-bottom: none; }
.module:nth-child(even) { direction: rtl; }
.module:nth-child(even) > * { direction: ltr; }
.module__visual {
  background: var(--bg-subtle); border-radius: var(--radius-xl);
  padding: 40px; display: flex; flex-direction: column; gap: 16px;
  min-height: 320px;
}
.module__tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.75rem; font-weight: 600;
  padding: 4px 12px; border-radius: 100px;
  background: var(--primary-light); color: var(--primary);
  width: fit-content;
}
.module__points { list-style: none; margin-top: 16px; }
.module__points li {
  padding: 8px 0; font-size: 0.95rem;
  display: flex; align-items: baseline; gap: 10px;
}
.module__points li::before {
  content: ''; width: 6px; height: 6px; flex-shrink: 0;
  background: var(--accent); border-radius: 50%; margin-top: 8px;
}

/* ── Timeline ── */
.timeline { position: relative; padding-left: 40px; }
.timeline::before {
  content: ''; position: absolute; left: 14px; top: 0; bottom: 0;
  width: 2px; background: var(--border);
}
.timeline__item {
  position: relative; padding-bottom: 40px;
}
.timeline__item::before {
  content: ''; position: absolute; left: -33px; top: 4px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--bg); border: 3px solid var(--primary);
}
.timeline__item.active::before {
  background: var(--primary); box-shadow: 0 0 0 4px var(--primary-glow);
}
.timeline__year {
  font-family: var(--font-en); font-size: 0.8rem; font-weight: 700;
  color: var(--primary); margin-bottom: 4px;
}
.timeline__title { font-weight: 700; margin-bottom: 4px; }
.timeline__desc { font-size: 0.9rem; color: var(--text-secondary); }

/* ── Showcase cards ── */
.showcase-card {
  border-radius: var(--radius-xl); overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--duration) var(--ease);
  background: var(--bg);
}
.showcase-card:hover {
  box-shadow: var(--shadow-lg); transform: translateY(-6px);
}
.showcase-card__visual {
  height: 200px; background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 3rem; position: relative; overflow: hidden;
}
.showcase-card__visual::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.3));
}
.showcase-card__body { padding: 24px; }
.showcase-card__title { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.showcase-card__meta {
  display: flex; gap: 16px; font-size: 0.8rem; color: var(--text-muted);
  margin-bottom: 12px;
}
.showcase-card__desc { font-size: 0.9rem; color: var(--text-secondary); }
.showcase-card__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.showcase-card__chip {
  padding: 3px 10px; border-radius: 100px; font-size: 0.75rem;
  background: var(--primary-light); color: var(--primary); font-weight: 500;
}

/* ── Service tiers ── */
.tier {
  border: 1px solid var(--border); border-radius: var(--radius-xl);
  padding: 36px; text-align: center;
  transition: all var(--duration) var(--ease);
  background: var(--bg);
}
.tier--featured {
  border-color: var(--primary); position: relative;
  box-shadow: var(--shadow-glow);
}
.tier--featured::before {
  content: '推荐'; position: absolute; top: -12px; left: 50%;
  transform: translateX(-50%); padding: 4px 16px;
  background: var(--primary); color: #fff; font-size: 0.75rem;
  font-weight: 700; border-radius: 100px;
}
.tier__name { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; }
.tier__price { font-family: var(--font-en); font-size: 0.9rem; color: var(--text-muted); margin-bottom: 20px; }
.tier__features { list-style: none; text-align: left; }
.tier__features li {
  padding: 8px 0; font-size: 0.9rem;
  border-bottom: 1px solid var(--border-light);
  display: flex; align-items: center; gap: 8px;
}
.tier__features li::before { content: '✓'; color: var(--success); font-weight: 700; }

/* ── Footer ── */
.footer {
  background: var(--bg-dark); color: rgba(255,255,255,0.7);
  padding: 60px 0 30px;
}
.footer__inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
  padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer__brand-desc { font-size: 0.9rem; margin-top: 16px; line-height: 1.7; }
.footer__title { font-weight: 700; color: #fff; margin-bottom: 16px; font-size: 0.95rem; }
.footer__links { list-style: none; }
.footer__links li { margin-bottom: 10px; }
.footer__links a { color: rgba(255,255,255,0.6); font-size: 0.9rem; }
.footer__links a:hover { color: var(--accent); }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; font-size: 0.8rem; color: rgba(255,255,255,0.4);
  gap: 16px; flex-wrap: wrap;
}
.footer__logo img { height: 28px; opacity: 0.8; }
.footer__icp { color: rgba(255,255,255,0.4); }
.footer__icp a { color: rgba(255,255,255,0.4); }
.footer__icp a:hover { color: var(--accent); }

/* ── CTA Section ── */
.cta-section {
  text-align: center; padding: 80px 0;
  background: linear-gradient(135deg, var(--primary-deeper) 0%, var(--primary-dark) 100%);
  color: #fff; position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at bottom, rgba(244,180,0,0.08) 0%, transparent 70%);
}
.cta-section .container { position: relative; z-index: 1; }
.cta-section .lead { color: rgba(255,255,255,0.7); }
.cta-actions { display: flex; gap: 16px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }

/* ── Back to top ── */
.back-to-top {
  position: fixed; bottom: 32px; right: 32px; z-index: 90;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; border: none; font-size: 1.1rem;
  opacity: 0; pointer-events: none;
  transition: all var(--duration) var(--ease);
  box-shadow: var(--shadow);
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { background: var(--primary-dark); transform: translateY(-2px); }

/* ── Scroll Animations ── */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity var(--duration-slow) var(--ease), transform var(--duration-slow) var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }
.reveal--delay-4 { transition-delay: 0.4s; }

.reveal--left { transform: translateX(-30px); }
.reveal--left.visible { transform: translateX(0); }
.reveal--right { transform: translateX(30px); }
.reveal--right.visible { transform: translateX(0); }
.reveal--scale { transform: scale(0.95); }
.reveal--scale.visible { transform: scale(1); }

/* ── Page hero (sub pages) ── */
.page-hero {
  padding: 140px 0 80px;
  background: linear-gradient(160deg, var(--bg-dark) 0%, var(--primary-deeper) 100%);
  color: #fff; position: relative; overflow: hidden;
}
.page-hero__bg {
  position: absolute; inset: 0; opacity: 0.05;
  background-image:
    radial-gradient(circle at 70% 30%, var(--accent) 0%, transparent 50%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .lead { color: rgba(255,255,255,0.65); }

/* ── Comparison table ── */
.compare-table { width: 100%; border-collapse: collapse; border-radius: var(--radius-lg); overflow: hidden; }
.compare-table th {
  background: var(--primary); color: #fff; padding: 14px 20px;
  font-size: 0.85rem; font-weight: 600; text-align: left;
}
.compare-table td {
  padding: 14px 20px; font-size: 0.9rem;
  border-bottom: 1px solid var(--border-light);
}
.compare-table tr:nth-child(even) td { background: var(--bg-subtle); }
.compare-table tr:hover td { background: var(--primary-light); }

/* ── Architecture diagram ── */
.arch-layer {
  padding: 24px; border-radius: var(--radius-lg);
  border: 1px solid var(--border); margin-bottom: 12px;
  display: flex; align-items: center; gap: 20px;
  transition: all var(--duration) var(--ease);
  background: var(--bg);
}
.arch-layer:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.arch-layer__label {
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
  color: #fff; background: var(--primary); padding: 4px 12px;
  border-radius: var(--radius-sm); white-space: nowrap;
}
.arch-layer--accent .arch-layer__label { background: var(--accent); color: var(--bg-dark); }
.arch-layer--dark .arch-layer__label { background: var(--bg-dark); }
.arch-layer__content { font-size: 0.9rem; color: var(--text-secondary); }
.arch-layer__arrow {
  text-align: center; font-size: 1.2rem; color: var(--text-muted);
  padding: 4px 0;
}

/* ── Misc ── */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 14px; border-radius: 100px;
  font-size: 0.75rem; font-weight: 600;
}
.badge--primary { background: var(--primary-light); color: var(--primary); }
.badge--accent { background: var(--accent-soft); color: #B8860B; }
.badge--dark { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.8); }

/* ── Contact section ── */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start;
}
.contact-qr { text-align: center; }
.contact-info { display: flex; flex-direction: column; gap: 16px; }
.contact-card {
  display: flex; align-items: center; gap: 16px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius); padding: 20px; color: #fff;
}
.contact-card__icon { font-size: 1.4rem; flex-shrink: 0; }
.contact-card__label { font-size: 0.8rem; color: rgba(255,255,255,0.5); }
.contact-card__value { font-weight: 600; }

/* ── Maturity levels ── */
.level-track { display: flex; flex-direction: column; gap: 0; }
.level-item {
  display: flex; align-items: stretch; gap: 20px;
  padding: 20px 24px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius); margin-bottom: 12px;
  transition: all var(--duration) var(--ease);
}
.level-item--active {
  border-color: var(--accent);
  background: rgba(244,180,0,0.08);
}
.level-item--future {
  opacity: 0.5; border-style: dashed;
}
.level-num {
  font-family: var(--font-en); font-weight: 800; font-size: 1.1rem;
  color: rgba(255,255,255,0.4); white-space: nowrap;
}
.level-item--active .level-num { color: var(--accent); }

.divider { height: 1px; background: var(--border); margin: 48px 0; }
.spacer { height: 48px; }
.spacer--lg { height: 80px; }

/* ═══════════════════════════════════════════════════════
   V3 新增：产品矩阵（tools.html）
   ═══════════════════════════════════════════════════════ */

/* ── Product matrix platform card ── */
.product-platform {
  background: linear-gradient(135deg, var(--primary-deeper) 0%, var(--primary-dark) 60%, var(--primary) 100%);
  color: #fff; border-radius: var(--radius-xl);
  padding: 48px; position: relative; overflow: hidden;
  margin-bottom: 32px;
}
.product-platform::after {
  content: ''; position: absolute; top: -80px; right: -80px;
  width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(244,180,0,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.product-platform__inner { position: relative; z-index: 1; }
.product-platform__tag {
  display: inline-block; padding: 4px 14px; border-radius: 100px;
  font-size: 0.75rem; font-weight: 700;
  background: rgba(244, 180, 0, 0.2); color: var(--accent);
  border: 1px solid rgba(244, 180, 0, 0.4);
  margin-bottom: 20px;
}
.product-platform__title {
  font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 800;
  margin-bottom: 12px; letter-spacing: -0.01em;
}
.product-platform__subtitle {
  font-size: 1rem; color: rgba(255,255,255,0.75);
  max-width: 640px; line-height: 1.75; margin-bottom: 28px;
}
.product-platform__meta {
  display: flex; gap: 24px; flex-wrap: wrap; font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}
.product-platform__meta-item {
  display: inline-flex; align-items: center; gap: 6px;
}
.product-platform__meta-item .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
}

/* ── Tool items (product list inside platform) ── */
.tool-list { display: flex; flex-direction: column; gap: 12px; }

.tool-item {
  display: grid; grid-template-columns: auto 1fr auto auto;
  gap: 20px; align-items: center;
  padding: 20px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg);
  transition: all var(--duration) var(--ease);
}
.tool-item:hover {
  border-color: var(--primary); box-shadow: var(--shadow);
  transform: translateX(4px);
}
.tool-item--active {
  border-color: var(--accent);
  background: linear-gradient(to right, rgba(244,180,0,0.04) 0%, transparent 80%);
}
.tool-item--planned {
  opacity: 0.62; border-style: dashed;
}
.tool-item--planned:hover {
  opacity: 0.85; transform: none;
}

.tool-item__status {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%;
  font-size: 0.85rem; font-weight: 700;
  flex-shrink: 0;
}
.tool-item__status--active {
  background: var(--accent); color: var(--bg-dark);
}
.tool-item__status--planned {
  background: transparent; color: var(--text-muted);
  border: 1.5px dashed var(--text-muted);
}

.tool-item__body { min-width: 0; }
.tool-item__name {
  font-size: 1.05rem; font-weight: 700; color: var(--text);
  margin-bottom: 3px;
}
.tool-item__desc {
  font-size: 0.85rem; color: var(--text-secondary);
  line-height: 1.6;
}

.tool-item__version {
  font-family: var(--font-en); font-size: 0.78rem;
  color: var(--text-muted); white-space: nowrap;
  padding: 4px 10px; background: var(--bg-subtle);
  border-radius: var(--radius-sm);
}
.tool-item--active .tool-item__version {
  color: var(--primary); background: var(--primary-light);
  font-weight: 600;
}

.tool-item__action {
  padding: 8px 18px; border-radius: var(--radius);
  font-size: 0.82rem; font-weight: 600; white-space: nowrap;
  background: var(--primary); color: #fff;
  transition: all var(--duration) var(--ease);
}
.tool-item__action:hover {
  background: var(--primary-dark); color: #fff;
  transform: translateY(-1px);
}
.tool-item--planned .tool-item__action {
  background: var(--bg-subtle); color: var(--text-muted);
  pointer-events: none;
}

/* ── Product feature highlight (used on tools.html) ── */
.product-feature {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
  align-items: center;
  padding: 40px; border-radius: var(--radius-xl);
  background: var(--bg-subtle);
  margin-top: 40px;
}
.product-feature__visual {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  border-radius: var(--radius-lg);
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 4rem;
}
.product-feature__visual::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(244,180,0,0.25) 0%, transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(43,95,184,0.3) 0%, transparent 50%);
}

/* ── Qr block (tools.html entry) ── */
.qr-entry {
  display: grid; grid-template-columns: 280px 1fr; gap: 32px;
  align-items: center;
  padding: 36px; border-radius: var(--radius-xl);
  background: #fff; border: 1px solid var(--border);
  margin-top: 32px;
}
.qr-entry__qr {
  text-align: center;
}
.qr-entry__qr img {
  width: 220px; height: 220px; border-radius: var(--radius);
  border: 1px solid var(--border-light);
  margin: 0 auto;
}
.qr-entry__qr-label {
  margin-top: 12px; font-size: 0.85rem; color: var(--text-secondary);
}
.qr-entry__body h3 { font-size: 1.3rem; margin-bottom: 12px; }
.qr-entry__steps { list-style: none; margin-top: 16px; }
.qr-entry__steps li {
  padding: 8px 0; font-size: 0.95rem;
  display: flex; align-items: baseline; gap: 12px;
}
.qr-entry__steps li::before {
  content: counter(step-counter, decimal-leading-zero);
  counter-increment: step-counter;
  font-family: var(--font-en); font-weight: 800;
  color: var(--primary); font-size: 0.9rem; flex-shrink: 0;
}
.qr-entry__steps { counter-reset: step-counter; }

/* ── Brand name helper (双命名口径) ── */
.brand-full {
  white-space: nowrap;
}
.brand-full strong {
  color: var(--primary); font-weight: 700;
}

/* ── Skill/Feature chip list ── */
.skill-list {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 16px;
}
.skill-chip {
  padding: 5px 12px; border-radius: 100px;
  font-size: 0.78rem; font-weight: 500;
  background: var(--primary-light); color: var(--primary);
  border: 1px solid rgba(43,95,184,0.12);
}
.skill-chip--accent {
  background: var(--accent-soft); color: #B8860B;
  border-color: rgba(244,180,0,0.3);
}

/* ── Responsive ── */
@media (max-width: 980px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .hero__content { max-width: 100%; }
  .hero { flex-direction: column; min-height: auto; padding: 120px 0 80px; }
  .hero .container[style*="grid-template-columns"] { grid-template-columns: 1fr !important; gap: 40px !important; }
  .grid--2-1 { grid-template-columns: 1fr; }
  .hero__stats { padding-left: 0; flex-direction: row; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
  .hero__stat { flex: 1; min-width: 140px; }
  .module { grid-template-columns: 1fr; gap: 32px; }
  .module:nth-child(even) { direction: ltr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .stats-row__item:nth-child(2) { border-right: none; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .tier { margin-bottom: 16px; }
  .nav__links { gap: 20px; }
  .product-feature { grid-template-columns: 1fr; }
  .qr-entry { grid-template-columns: 1fr; text-align: center; }
  .tool-item { grid-template-columns: auto 1fr; gap: 12px; }
  .tool-item__version, .tool-item__action { grid-column: 2; width: fit-content; }
}

@media (max-width: 640px) {
  .section { padding: 60px 0; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr; }
  .stats-row__item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .stats-row__item:last-child { border-bottom: none; }
  .hero__title { font-size: 1.8rem; }
  .hero__actions { flex-direction: column; }
  .btn--lg { width: 100%; justify-content: center; }
  .nav__links {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px); padding: 20px 24px; gap: 16px;
    border-bottom: 1px solid var(--border);
  }
  .nav__links.active { display: flex; }
  .nav__toggle { display: block; }
  .nav__cta { display: none; }
  .page-hero { padding: 100px 0 60px; }
  .cta-actions { flex-direction: column; align-items: center; }
  .footer__inner { grid-template-columns: 1fr; }
  .product-platform { padding: 32px 24px; }
}
