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

:root {
  --primary: #185FA5;
  --primary-light: #378ADD;
  --primary-dark: #0C447C;
  --primary-50: #E6F1FB;
  --primary-100: #B5D4F4;
  --text: #2C2C2A;
  --text-secondary: #5F5E5A;
  --text-light: #888780;
  --bg: #FFFFFF;
  --bg-alt: #F8F9FB;
  --border: #E8EAED;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow: 0 2px 12px rgba(0,0,0,0.06);
  --max-width: 1200px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary-light); }

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

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

.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }

.section-title {
  text-align: center;
  margin-bottom: 56px;
}
.section-title h2 {
  font-size: 2rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
}
.section-title p {
  font-size: 1.05rem;
  color: var(--text-secondary);
}
.section-title .divider {
  width: 48px;
  height: 3px;
  background: var(--primary);
  margin: 16px auto 0;
  border-radius: 2px;
}

/* ===== Header / Nav ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: box-shadow 0.3s;
}
.header.scrolled { box-shadow: var(--shadow); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-dark);
}
.logo-img {
  height: 40px;
  width: auto;
  display: block;
  object-fit: contain;
}
.logo-icon {
  width: 32px;
  height: 32px;
  background: var(--primary);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s;
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-cta {
  background: var(--primary);
  color: #fff !important;
  padding: 8px 20px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--primary-light); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: 0.3s;
}

/* ===== Hero ===== */
.hero {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, var(--primary-50) 0%, #fff 100%);
}
.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-text h1 {
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
  margin-bottom: 20px;
}
.hero-text .hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover { background: var(--primary-light); color: #fff; }
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.btn-outline:hover { background: var(--primary-50); }

.hero-visual {
  display: flex;
  justify-content: center;
}
.hero-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  width: 100%;
  max-width: 420px;
}
.hero-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--primary-dark);
}
.hero-card-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.hero-card-item:last-child { border-bottom: none; }
.hero-card-item .check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary-50);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.hero-card-item p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ===== Hero Carousel ===== */
.hero-carousel-wrap {
  position: relative;
  padding: 120px 0 60px;
  overflow: hidden;
}
.hero-slider {
  position: relative;
  width: 100%;
}
.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s;
  pointer-events: none;
}
.hero-slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  position: relative;
  /* 统一三张 Slide 高度，切换时容器不跳动 */
  min-height: 400px;
  display: flex;
  align-items: center;
}
.hero-slide.active > .container {
  width: 100%;
}
.hero-slide:not(.active) {
  position: absolute;
}
.hero-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 32px;
}
.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #D3D1C7;
  cursor: pointer;
  transition: all 0.3s;
}
.hero-dot.active {
  background: var(--primary);
  width: 30px;
  border-radius: 5px;
}
.hero-dot:hover { background: var(--primary-light); }

/* Slide 2: 三层财务体系 - 左右分栏布局 (与Slide 1统一标准) */
.hero-slide2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-slide2-left {
  text-align: left;
}
.hero-slide2-left h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.hero-slide2-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
}
.hero-slide2-divider {
  width: 50px;
  height: 3px;
  background: #BA7517;
  border-radius: 2px;
  margin-bottom: 20px;
}
.hero-slide2-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
}
.hero-slide2-right {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.hero-pyramid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}
.pyramid-row {
  display: flex;
  align-items: center;
  gap: 14px;
}
.pyramid-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.pyramid-block {
  flex: 1;
  padding: 14px 20px;
  border-radius: 8px;
  text-align: left;
}
.pyramid-block-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-dark);
}
.pyramid-block-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 2px;
}
.hero-cross-box {
  margin-top: 16px;
  padding: 10px 24px;
  border: 1.5px dashed #BA7517;
  border-radius: 8px;
  font-size: 1rem;
  color: #854F0B;
  font-weight: 500;
  text-align: center;
}

/* Slide 3: 团队 + 数据 - 全宽照片 + 底部齐平细横幅卡片 */
.hero-slide3 {
  position: relative;
  width: 100%;
}
.hero-slide3-photo {
  width: 100%;
  height: 360px;
  border-radius: 0;
  overflow: hidden;
}
.hero-slide3-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-slide3-overlay {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 0;
  z-index: 2;
  background: rgba(255,255,255,0.97);
  border-radius: 10px 10px 0 0;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.10);
  height: 50px;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.hero-slide3-overlay h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-dark);
  white-space: nowrap;
  margin: 0;
}
.hero-slide3-metrics {
  display: flex;
  gap: 28px;
  justify-content: center;
  flex: 1;
}
/* Slide 3 横幅卡片内：数字+标签横排，紧凑适配 50px 高度 */
.hero-slide3 .hero-metric {
  flex: none;
  display: flex;
  align-items: baseline;
  gap: 6px;
  white-space: nowrap;
}
.hero-slide3 .hero-metric::after {
  display: none;
}
.hero-slide3 .hero-metric-num {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
}
.hero-slide3 .hero-metric-label {
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-top: 0;
}
.hero-slide3-overlay .hero-actions {
  margin-top: 0 !important;
  justify-content: flex-end !important;
  flex: none;
}
.hero-slide3-overlay .hero-actions .btn {
  padding: 8px 18px;
  font-size: 0.9rem;
}
.hero-metric {
  text-align: center;
  flex: 1;
  position: relative;
}
.hero-metric:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: #D3D1C7;
}
.hero-metric-num {
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--primary);
}
.hero-metric-label {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* ===== Service Cards ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}
/* 4-item grids: 4 columns in one row */
.grid-2cols {
  grid-template-columns: repeat(4, 1fr);
}
/* 6-item grids: 3×2 layout */
.grid-3cols {
  grid-template-columns: repeat(3, 1fr);
}
.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all 0.3s;
}
.service-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}
.service-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--primary-50);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.service-icon svg { width: 24px; height: 24px; }
.service-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text);
}
.service-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
}
.service-card ul {
  list-style: none;
}
.service-card ul li {
  font-size: 0.88rem;
  color: var(--text-secondary);
  padding: 4px 0;
  padding-left: 20px;
  position: relative;
}
.service-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary-light);
}

/* ===== Features ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.feature-item {
  text-align: center;
}
.feature-num {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
  transition: transform 0.3s ease;
}
.feature-item:hover .feature-num {
  transform: scale(1.08);
}
.feature-num.counting {
  color: var(--primary-light);
}
.feature-num.done {
  animation: numPulse 0.6s ease;
}
@keyframes numPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.15); color: var(--primary-dark); }
  100% { transform: scale(1); }
}
.feature-item h4 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.feature-item p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ===== Process ===== */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
.process-step {
  text-align: center;
  position: relative;
  padding: 24px;
}
.process-step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.process-step h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.process-step p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ===== About ===== */
.about-content {
  max-width: 100%;
}
.about-text h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 20px;
}
.about-text p {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
}
.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.about-stat {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}
.about-stat .num {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
}
.about-stat .label {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

.values-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.value-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.value-card h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--primary-dark);
}
.value-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
}

/* ===== About Hero Image ===== */
.about-image {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}
.about-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.team-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 16px;
  margin-top: 24px;
}
.team-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
@media (max-width: 768px) {
  .team-gallery {
    grid-template-columns: 1fr;
  }
}

/* ===== Footer Brand with Logo ===== */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-brand .footer-logo {
  height: 44px;
  width: auto;
  display: block;
  background: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  align-self: flex-start;
}

/* ===== Contact ===== */
.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.contact-info h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 24px;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}
.contact-item-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  background: var(--primary-50);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-item h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.contact-item p {
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.contact-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s;
  background: #fff;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-light);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-submit {
  width: 100%;
  padding: 12px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}
.form-submit:hover { background: var(--primary-light); }

/* ===== Cases Showcase (方案D: 白底+墨蓝装饰+金边) ===== */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.case-card {
  position: relative;
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  border: 1px solid #e8e6df;
}
.case-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(12, 42, 74, 0.15);
}
.case-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px 0;
}
.case-tag {
  font-size: 10px;
  font-weight: 500;
  color: #BA7517;
  letter-spacing: 1.5px;
}
.case-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 12px;
  background: #0C2A4A;
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  border-radius: 2px;
  letter-spacing: 1px;
}
.case-title {
  font-size: 17px;
  font-weight: 600;
  color: #0C2A4A;
  margin: 8px 18px 4px;
  position: relative;
  padding-bottom: 10px;
}
.case-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32px;
  height: 2px;
  background: #BA7517;
}
.case-sub {
  font-size: 12px;
  color: #5F5E5A;
  margin: 0 18px 12px;
  line-height: 1.5;
  min-height: 36px;
}
.case-image {
  position: relative;
  margin: 0 18px;
  padding: 6px;
  border: 1px solid rgba(186, 117, 23, 0.5);
  border-radius: 3px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.case-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.case-card:hover .case-image img {
  transform: scale(1.05);
}
.case-bottom {
  margin: 14px 18px 0;
  padding-top: 12px;
  border-top: 1px solid #e8e6df;
}
.case-brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.case-slogan {
  font-size: 11px;
  font-weight: 500;
  color: #0C2A4A;
  letter-spacing: 0.5px;
}
.case-url {
  font-size: 10px;
  color: #888780;
}
.case-info {
  display: flex;
  justify-content: flex-end;
  padding-bottom: 14px;
}
.case-info span {
  font-size: 11px;
  color: #BA7517;
  font-weight: 500;
}

/* ===== CTA Banner ===== */
.cta-banner {
  background: var(--primary);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  color: #fff;
}
.cta-banner h2 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 12px;
}
.cta-banner p {
  font-size: 1.05rem;
  opacity: 0.9;
  margin-bottom: 28px;
}
.cta-banner .btn {
  background: #fff;
  color: var(--primary);
}
.cta-banner .btn:hover { background: var(--primary-50); }

/* ===== Floating Consultation Tools ===== */
.float-tools {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 1px;
  box-shadow: -2px 0 12px rgba(0,0,0,0.08);
}
.float-tool { position: relative; }
.float-tool-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: #fff;
  color: var(--primary);
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  user-select: none;
}
.float-tool-btn:hover {
  background: var(--primary);
  color: #fff;
}
.float-tool-btn svg {
  width: 24px;
  height: 24px;
  margin-bottom: 2px;
}
.float-tool-btn span {
  font-size: 0.7rem;
  font-weight: 500;
}
.float-tip {
  position: absolute;
  right: 72px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--primary);
  color: #fff;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.85rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.float-tip::after {
  content: '';
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  border-left: 5px solid var(--primary);
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}
.float-tool:hover .float-tip { opacity: 1; }
.float-popup {
  position: absolute;
  right: 72px;
  top: 50%;
  transform: translateY(-50%) translateX(10px);
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.15);
  padding: 24px;
  width: 220px;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s;
}
.float-popup.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-50%) translateX(0);
}
.float-popup-close {
  position: absolute;
  top: 6px;
  right: 10px;
  font-size: 1.4rem;
  color: #999;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}
.float-popup-close:hover { color: #333; }
.float-popup h4 {
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 16px;
}
.qr-box {
  width: 170px;
  height: 170px;
  margin: 0 auto 12px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.qr-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.qr-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #bbb;
  background: var(--bg-alt);
}
.qr-placeholder p {
  font-size: 0.85rem;
  margin-top: 6px;
}
.qr-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.float-top-btn {
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s;
}
.float-top-btn.show {
  opacity: 1;
  pointer-events: auto;
}
@media (max-width: 768px) {
  .float-tools { width: 52px; }
  .float-tool-btn { width: 52px; height: 52px; }
  .float-tool-btn span { font-size: 0.62rem; }
  .float-tool-btn svg { width: 20px; height: 20px; }
  .float-popup { width: 180px; padding: 16px; right: 60px; }
  .qr-box { width: 140px; height: 140px; }
  .float-tip { right: 60px; font-size: 0.78rem; }
}

/* ===== Footer ===== */
.footer {
  background: #1a1a2e;
  color: #b8b8c8;
  padding: 60px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand h3 {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 12px;
}
.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.8;
}
.footer-col h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 16px;
}
.footer-col ul {
  list-style: none;
}
.footer-col ul li {
  margin-bottom: 10px;
}
.footer-col ul li a {
  color: #b8b8c8;
  font-size: 0.9rem;
}
.footer-col ul li a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
}
.footer-bottom a { color: #b8b8c8; }
/* 备案信息单行排列（桌面端） */
.footer-bottom p { white-space: nowrap; }
@media (max-width: 767px) {
  .footer-bottom p { white-space: normal; line-height: 1.9; }
}

/* ===== Page Banner ===== */
.page-banner {
  padding: 120px 0 60px;
  background: var(--primary-50);
  text-align: center;
}
.page-banner h1 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}
.page-banner p {
  font-size: 1.05rem;
  color: var(--text-secondary);
}

/* ===== Pain Points Section (FABE: B) ===== */
.pain-section {
  background: #f8f7f4;
}
.section-badge {
  display: inline-block;
  padding: 4px 14px;
  background: #BA7517;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 500;
  border-radius: 4px;
  letter-spacing: 1px;
}
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.pain-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e8e6df;
  border-radius: 8px;
  padding: 24px 22px;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.pain-card:hover {
  box-shadow: 0 8px 28px rgba(12, 42, 74, 0.12);
  transform: translateY(-3px);
}
.pain-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
}
.pain-red::before { background: #E24B4A; }
.pain-gold::before { background: #BA7517; }
.pain-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.pain-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pain-icon-red {
  background: #FCEBEB;
}
.pain-icon-gold {
  background: #FAEEDA;
}
.pain-icon svg {
  width: 20px;
  height: 20px;
}
.pain-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #0C2A4A;
  margin: 0;
}
.pain-desc {
  font-size: 0.88rem;
  color: #5F5E5A;
  line-height: 1.7;
  margin: 0;
  flex: 1;
}
.pain-footer {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-top: 12px;
  margin-top: 14px;
  border-top: 1px solid #f0efe9;
  flex-shrink: 0;
}
.pain-tag-label {
  font-size: 0.72rem;
  color: #BA7517;
  font-weight: 600;
  white-space: nowrap;
}
.pain-tag-value {
  font-size: 0.72rem;
  color: #5F5E5A;
}
.pain-bridge {
  text-align: center;
  margin-top: 36px;
  padding: 20px 32px;
  background: #0C2A4A;
  border-radius: 8px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.pain-bridge p {
  font-size: 0.95rem;
  color: #fff;
  margin: 0;
  line-height: 1.7;
}
.pain-bridge b {
  color: #FAC775;
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .features-grid, .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-2cols, .values-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3cols {
    grid-template-columns: repeat(2, 1fr);
  }
  .cases-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pain-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta {
    display: none;
  }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    gap: 16px;
  }
  .nav-toggle { display: flex; }

  .hero-content, .about-content, .contact-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-text h1 { font-size: 1.8rem; }
  .hero-carousel-wrap { padding: 100px 0 50px; }
  .hero-slide.active { min-height: 250px; }
  .hero-slide2 { grid-template-columns: 1fr; gap: 24px; }
  .hero-slide2-left h2 { font-size: 1.5rem; }
  .hero-slide3-photo { height: 220px; }
  .hero-slide3-overlay { left: 16px; right: 16px; height: 50px; padding: 0 16px; gap: 12px; border-radius: 8px 8px 0 0; }
  .hero-slide3-overlay h2 { display: none; }
  .hero-slide3-metrics { gap: 12px; }
  .hero-slide3 .hero-metric { flex-direction: row; gap: 4px; align-items: baseline; }
  .hero-slide3 .hero-metric-num { font-size: 1.05rem; }
  .hero-slide3 .hero-metric-label { font-size: 0.65rem; }
  .hero-slide3-overlay .hero-actions .btn { padding: 6px 12px; font-size: 0.8rem; white-space: nowrap; }
  .hero-metric-num { font-size: 1.4rem; }
  .hero-metric-label { font-size: 0.7rem; }
  .hero-pyramid { gap: 8px; }
  .pyramid-num { width: 32px; height: 32px; font-size: 0.95rem; }
  .pyramid-block { padding: 10px 14px; }
  .pyramid-block-title { font-size: 0.95rem; }
  .pyramid-block-desc { font-size: 0.78rem; }
  .section { padding: 56px 0; }
  .section-title h2 { font-size: 1.6rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .cta-banner { padding: 32px 24px; }
  .cta-banner h2 { font-size: 1.4rem; }
}
@media (max-width: 600px) {
  .grid-2cols, .grid-3cols, .features-grid, .process-steps, .values-list, .cases-grid {
    grid-template-columns: 1fr;
  }
  .pain-grid {
    grid-template-columns: 1fr;
  }
  .pain-bridge {
    padding: 16px 20px;
  }
  .pain-bridge p {
    font-size: 0.85rem;
  }
}

/* ===== Online Chat Window ===== */
.chat-window {
  position: fixed;
  right: 80px;
  bottom: 24px;
  width: 360px;
  max-height: 520px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.18);
  z-index: 1000;
  display: none;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px) scale(0.96);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.chat-window.show {
  display: flex;
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Header */
.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: linear-gradient(135deg, #185FA5, #0C447C);
  color: #fff;
}
.chat-header-info {
  display: flex;
  align-items: center;
  gap: 12px;
}
.chat-avatar {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.chat-avatar svg {
  width: 22px;
  height: 22px;
}
.chat-title {
  font-size: 0.95rem;
  font-weight: 600;
}
.chat-status {
  font-size: 0.72rem;
  opacity: 0.85;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
}
.chat-dot {
  width: 7px;
  height: 7px;
  background: #4ade80;
  border-radius: 50%;
  display: inline-block;
  animation: chatPulse 2s infinite;
}
@keyframes chatPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.chat-close {
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
  line-height: 1;
  padding: 0 4px;
}
.chat-close:hover {
  opacity: 1;
}

/* Messages area */
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  background: #f5f6f8;
  max-height: 340px;
  min-height: 200px;
}
.chat-messages::-webkit-scrollbar {
  width: 5px;
}
.chat-messages::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 3px;
}

.chat-msg {
  display: flex;
  margin-bottom: 10px;
  animation: chatMsgIn 0.3s ease;
}
@keyframes chatMsgIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.chat-msg.bot {
  justify-content: flex-start;
}
.chat-msg.user {
  justify-content: flex-end;
}
.chat-bubble {
  max-width: 78%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.85rem;
  line-height: 1.6;
  word-break: break-word;
}
.bot-bubble {
  background: #fff;
  color: #2C2C2A;
  border-bottom-left-radius: 4px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.user-bubble {
  background: #185FA5;
  color: #fff;
  border-bottom-right-radius: 4px;
}

/* Typing indicator */
.chat-typing {
  display: flex;
  gap: 4px;
  padding: 10px 14px;
}
.chat-typing span {
  width: 7px;
  height: 7px;
  background: #bbb;
  border-radius: 50%;
  animation: typingBounce 1.4s infinite;
}
.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-5px); opacity: 1; }
}

/* Quick replies */
.chat-quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
  margin-bottom: 6px;
}
.quick-reply {
  padding: 6px 14px;
  background: #fff;
  border: 1px solid #185FA5;
  color: #185FA5;
  border-radius: 16px;
  font-size: 0.78rem;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.quick-reply:hover {
  background: #185FA5;
  color: #fff;
}

/* Input area */
.chat-input-area {
  display: flex;
  align-items: center;
  padding: 10px 14px;
  background: #fff;
  border-top: 1px solid #e8eaed;
  gap: 8px;
}
.chat-input {
  flex: 1;
  border: 1px solid #e0e0e0;
  border-radius: 20px;
  padding: 8px 14px;
  font-size: 0.85rem;
  outline: none;
  transition: border-color 0.2s;
  font-family: inherit;
}
.chat-input:focus {
  border-color: #185FA5;
}
.chat-send {
  width: 36px;
  height: 36px;
  border: none;
  background: #185FA5;
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  flex-shrink: 0;
}
.chat-send:hover {
  background: #0C447C;
}
.chat-send svg {
  width: 18px;
  height: 18px;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .chat-window {
    right: 12px;
    left: 12px;
    bottom: 12px;
    width: auto;
    max-height: 70vh;
  }
  .chat-messages {
    max-height: 45vh;
  }
}
