/* ========== 基础 ========== */
:root {
  --primary: #16a34a;
  --primary-dark: #15803d;
  --primary-light: #dcfce7;
  --dark: #0f172a;
  --text: #334155;
  --muted: #64748b;
  --border: #e2e8f0;
  --bg-soft: #f6faf7;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
  --shadow-hover: 0 16px 40px rgba(22, 163, 74, 0.16);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  width: min(1160px, 92%);
  margin: 0 auto;
}

.section { padding: 88px 0; }
.section:nth-of-type(even) { background: var(--bg-soft); }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }

.section-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 14px;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
  letter-spacing: 2px;
}

.section-head h2 {
  font-size: clamp(26px, 4vw, 36px);
  color: var(--dark);
  line-height: 1.3;
  margin-bottom: 12px;
}

.section-head p { color: var(--muted); font-size: 16px; }

h3 { color: var(--dark); }

/* ========== 按钮 ========== */
.btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.25s ease;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 6px 18px rgba(22, 163, 74, 0.32);
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); }

.btn-outline {
  border-color: var(--primary);
  color: var(--primary);
  background: transparent;
}
.btn-outline:hover { background: var(--primary); color: #fff; }

.btn-block { width: 100%; }

/* ========== 顶部导航 ========== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s ease;
}
.header.scrolled { box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08); }

.nav-wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 22px;
  font-weight: 800;
  color: var(--dark);
  white-space: nowrap;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), #4ade80);
  color: #fff;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.nav-link {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 15px;
  color: var(--text);
  transition: all 0.2s ease;
  white-space: nowrap;
}
.nav-link:hover { color: var(--primary); background: var(--primary-light); }
.nav-link.active { color: var(--primary); font-weight: 600; }
.nav-cta { background: var(--primary); color: #fff !important; font-weight: 600; }
.nav-cta:hover { background: var(--primary-dark) !important; }

.header-phone {
  text-align: right;
  line-height: 1.3;
  white-space: nowrap;
}
.phone-label { display: block; font-size: 12px; color: var(--muted); }
.phone-number { font-size: 18px; font-weight: 700; color: var(--primary); }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.menu-toggle span {
  width: 24px;
  height: 2.5px;
  background: var(--dark);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ========== 首屏 ========== */
.hero {
  padding: 90px 0 100px;
  background:
    radial-gradient(circle at 88% 12%, rgba(22, 163, 74, 0.10), transparent 42%),
    radial-gradient(circle at 8% 88%, rgba(74, 222, 128, 0.12), transparent 40%),
    linear-gradient(180deg, #f2fbf5 0%, #ffffff 100%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero-tagline {
  display: inline-block;
  color: var(--primary);
  font-weight: 600;
  letter-spacing: 3px;
  font-size: 14px;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 50px);
  line-height: 1.25;
  color: var(--dark);
  margin-bottom: 18px;
}

.hero-sub { color: var(--muted); font-size: 17px; margin-bottom: 30px; max-width: 480px; }

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 44px; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 36px;
  justify-content: start;
}

.stat strong {
  display: block;
  font-size: 30px;
  color: var(--dark);
  line-height: 1.2;
}
.stat strong .counter { color: var(--primary); }
.stat span { font-size: 14px; color: var(--muted); }

.hero-image { position: relative; }

/* 智能指挥中心数据面板 */
.dash-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow-hover);
  padding: 26px 28px;
}
.dash-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.dash-title { font-weight: 700; color: var(--dark); font-size: 16px; }
.dash-live {
  display: flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 600; color: var(--primary-dark);
  background: var(--primary-light); padding: 4px 12px; border-radius: 999px;
}
.dash-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: 0.25; } }
.dash-coverage-num { font-size: 44px; font-weight: 800; color: var(--dark); line-height: 1.1; }
.dash-coverage-label { color: var(--muted); font-size: 14px; margin: 4px 0 12px; }
.dash-bar { height: 10px; background: #eef4f0; border-radius: 999px; overflow: hidden; }
.dash-bar span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--primary), #4ade80); }
.dash-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 18px 0 6px; }
.dash-cell { background: #f6faf7; border-radius: 12px; padding: 12px 8px; text-align: center; }
.dash-cell strong { display: block; font-size: 22px; color: var(--dark); }
.dash-cell span { font-size: 12.5px; color: var(--muted); }
.dash-tasks { list-style: none; }
.dash-tasks li {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--text);
  padding: 11px 0; border-top: 1px dashed var(--border);
}
.dash-tasks .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); flex: none; }
.dash-tasks .tag {
  margin-left: auto; font-size: 12px; color: var(--primary-dark);
  background: var(--primary-light); padding: 2px 10px; border-radius: 999px; flex: none;
}
.float-chip {
  position: absolute; background: #fff; border-radius: 999px;
  box-shadow: var(--shadow-hover); padding: 10px 18px;
  font-size: 13.5px; font-weight: 600; color: var(--primary-dark);
}
.chip1 { top: -16px; left: -14px; }
.chip2 { bottom: -14px; right: -10px; }

/* ========== 服务项目 ========== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); border-color: transparent; }

.service-img { overflow: hidden; }
.service-banner {
  height: 132px; position: relative;
  display: flex; align-items: center; justify-content: center;
}
.service-banner::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 18% 25%, rgba(255,255,255,0.22), transparent 42%),
    radial-gradient(circle at 82% 78%, rgba(255,255,255,0.16), transparent 45%);
}
.service-banner .icon {
  position: relative; width: 64px; height: 64px; border-radius: 18px;
  background: rgba(255,255,255,0.2); color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.banner-a { background: linear-gradient(135deg, #16a34a, #4ade80); }
.banner-b { background: linear-gradient(135deg, #0f766e, #2dd4bf); }
.banner-c { background: linear-gradient(135deg, #166534, #22c55e); }

/* ========== 服务场景 ========== */
.scene-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 26px 18px;
}
.scene-card { margin: 0; }
.scene-media {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
}
.scene-media::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 25%, rgba(255,255,255,0.22), transparent 45%),
    radial-gradient(circle at 80% 75%, rgba(255,255,255,0.14), transparent 48%);
}
.scene-media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
}
.scene-icon { color: #fff; opacity: 0.95; }
.scene-card figcaption { text-align: center; margin-top: 12px; }
.scene-card b { display: block; font-size: 15.5px; color: var(--dark); }
.scene-card span { font-size: 12.5px; color: var(--muted); }
.g-a { background: linear-gradient(135deg, #16a34a, #4ade80); }
.g-b { background: linear-gradient(135deg, #0f766e, #2dd4bf); }
.g-c { background: linear-gradient(135deg, #166534, #22c55e); }
.g-d { background: linear-gradient(135deg, #15803d, #34d399); }
.g-e { background: linear-gradient(135deg, #047857, #10b981); }
.scene-tip { text-align: center; margin-top: 30px; color: var(--muted); font-size: 14.5px; }
.scene-tip a { color: var(--primary-dark); font-weight: 600; }

.service-body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.service-body h3 { font-size: 21px; margin-bottom: 10px; }
.service-body > p { color: var(--muted); font-size: 15px; margin-bottom: 16px; }

.service-body ul { margin-bottom: 20px; }
.service-body li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  margin-bottom: 8px;
}
.service-body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 12px;
  height: 12px;
  border-radius: 4px;
  background: var(--primary-light);
}
.service-body li::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 13px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

.service-link {
  margin-top: auto;
  color: var(--primary);
  font-weight: 600;
  font-size: 15px;
}
.service-link:hover { color: var(--primary-dark); }

/* ========== 服务优势 ========== */
.adv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.adv-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: all 0.3s ease;
}
.adv-item:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--primary-light); }

.adv-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.adv-item h3 { font-size: 18px; margin-bottom: 8px; }
.adv-item p { color: var(--muted); font-size: 15px; }

/* ========== 服务流程 ========== */
.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  counter-reset: step;
  list-style: none;
}

.step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 20px;
  text-align: center;
  transition: all 0.3s ease;
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #4ade80);
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 14px;
}

.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 14px; line-height: 1.6; }

/* ========== 服务案例 ========== */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.case-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: all 0.3s ease;
}
.case-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

.case-badge {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 600;
  padding: 3px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.case-card h3 { font-size: 18px; margin-bottom: 10px; line-height: 1.5; }
.case-card p { color: var(--muted); font-size: 15px; }

/* ========== 关于我们 ========== */
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.about-image { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.about-panel {
  height: 100%;
  background: linear-gradient(135deg, #0f766e, #16a34a);
  padding: 38px 34px;
  display: flex; flex-direction: column; justify-content: center;
}
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 18px; }
.about-stat strong { display: block; font-size: 32px; font-weight: 800; color: #fff; line-height: 1.15; }
.about-stat span { font-size: 14px; color: rgba(255,255,255,0.85); }
.about-note {
  margin-top: 24px; padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.25);
  font-size: 14.5px; line-height: 1.8; color: rgba(255,255,255,0.92);
}

.about-text h2 {
  font-size: clamp(24px, 3.4vw, 32px);
  color: var(--dark);
  line-height: 1.35;
  margin-bottom: 18px;
}
.about-text p { margin-bottom: 14px; font-size: 15.5px; }
.about-text b { color: var(--primary-dark); }

.about-list { margin: 18px 0 28px; }
.about-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  font-size: 15.5px;
}
.about-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ========== FAQ ========== */
.faq-inner { max-width: 800px; }

.faq-list { display: flex; flex-direction: column; gap: 14px; }

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 22px;
  transition: border-color 0.3s ease;
}
.faq-item[open] { border-color: var(--primary); }

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 16px;
  font-weight: 600;
  color: var(--dark);
}
.faq-item summary::-webkit-details-marker { display: none; }

.faq-arrow {
  color: var(--primary);
  font-size: 22px;
  font-weight: 400;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.faq-item[open] .faq-arrow { transform: rotate(45deg); }

.faq-answer { margin-top: 12px; color: var(--muted); font-size: 15px; border-top: 1px dashed var(--border); padding-top: 12px; }

/* ========== 联系我们 ========== */
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: start;
}

.contact-info h2 { font-size: clamp(24px, 3.4vw, 32px); color: var(--dark); margin-bottom: 14px; }
.contact-desc { color: var(--muted); margin-bottom: 28px; }

.contact-list li {
  display: flex;
  gap: 16px;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px dashed var(--border);
}
.contact-label {
  flex-shrink: 0;
  width: 72px;
  color: var(--muted);
  font-size: 14px;
}
.contact-list a { color: var(--primary-dark); font-weight: 700; font-size: 18px; }
.contact-list a:hover { color: var(--primary); }
.contact-list span:last-child { color: var(--dark); font-size: 15px; }

.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: var(--shadow);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-field { margin-bottom: 18px; }

.form-field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 7px;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  color: var(--dark);
  background: var(--white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.14);
}

.form-field textarea { resize: vertical; }

.form-tip { margin-top: 14px; text-align: center; font-size: 13px; color: var(--muted); }
.form-tip.success { color: var(--primary-dark); font-weight: 600; }
.form-tip.error { color: #dc2626; }

/* ========== 页脚 ========== */
.footer { background: var(--dark); color: #94a3b8; padding: 60px 0 0; }

.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 44px;
}

.footer-brand .logo { color: #fff; font-size: 22px; font-weight: 800; margin-bottom: 14px; display: inline-block; }
.footer-brand p { font-size: 14.5px; line-height: 1.8; }

.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 { color: #fff; font-size: 16px; margin-bottom: 6px; }
.footer-col a, .footer-col span { font-size: 14.5px; transition: color 0.2s ease; }
.footer-col a:hover { color: var(--primary); }

.footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  padding: 20px 0;
  text-align: center;
  font-size: 13.5px;
}

/* ========== 悬浮电话 ========== */
.float-call {
  position: fixed;
  right: 22px;
  bottom: 26px;
  z-index: 90;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(22, 163, 74, 0.4);
  animation: pulse 2.2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.45); }
  70% { box-shadow: 0 0 0 16px rgba(22, 163, 74, 0); }
  100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); }
}

/* ========== 滚动动画 ========== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ========== 响应式 ========== */
@media (max-width: 1024px) {
  .nav { gap: 0; }
  .nav-link { padding: 8px 10px; font-size: 14px; }
  .process-steps { grid-template-columns: repeat(3, 1fr); }
  .scene-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 880px) {
  .section { padding: 64px 0; }

  .menu-toggle { display: flex; }
  .header-phone { display: none; }

  .nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    padding: 14px 4%;
    display: none;
  }
  .nav.open { display: flex; }
  .nav-cta { text-align: center; margin-top: 8px; }

  .hero { padding: 60px 0 70px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-stats { gap: 26px; }
  .stat strong { font-size: 26px; }

  .service-grid, .adv-grid, .case-grid { grid-template-columns: 1fr 1fr; }
  .about-inner, .contact-inner { grid-template-columns: 1fr; gap: 36px; }
  .float-call { display: flex; }
  .chip1 { left: 8px; top: -14px; }
  .chip2 { right: 8px; bottom: -12px; }
}

@media (max-width: 620px) {
  .service-grid, .adv-grid, .case-grid, .process-steps { grid-template-columns: 1fr; }
  .scene-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { grid-template-columns: repeat(2, auto); }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .contact-form { padding: 26px 20px; }
}
