/* =====================================================
   门拓AI 官网 — 全站样式
   设计值取自设计稿 Main.dc.html 的内联样式与 helmet 样式块
   ===================================================== */

/* ---------- 基础 ---------- */
* { box-sizing: border-box; }

/* scroll-padding-top：锚点滚动时预留吸顶导航的高度 */
html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
  margin: 0;
  font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
  color: #1D1D1F;
  background: #FFFFFF;
}

img { max-width: 100%; }

a { color: #0071E3; }
a:hover { color: #0058B0; }

input, select, button { font-family: inherit; }

h1, h2, h3, p { margin: 0; }

/* hidden 属性优先级高于任何 display 值（如 .field 的 flex） */
[hidden] { display: none !important; }

.hx-mono {
  font-family: 'JetBrains Mono', 'SFMono-Regular', Menlo, Consolas, monospace;
}

.accent { color: #0071E3; }

.h2 {
  font-size: clamp(32px, 3.6vw, 46px);
  font-weight: 900;
}

.section-sub {
  margin: 16px 0 0;
  font-size: 18px;
  color: #6E6E73;
}

.section-sub-wide {
  margin: 16px auto 0;
  line-height: 1.75;
  color: #424245;
  max-width: 760px;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary {
  background: #0071E3;
  color: #FFFFFF;
  font-weight: 700;
}
.btn-primary:hover { color: #FFFFFF; }

.btn-outline {
  border: 1px solid #D2D2D7;
  color: #1D1D1F;
  font-weight: 500;
}
.btn-outline:hover { color: #1D1D1F; }

.btn-header-cta {
  min-height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 15px;
}

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid #E5E5EA;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 24px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  flex-wrap: wrap;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
}
.brand img { display: block; }

.main-nav {
  display: flex;
  gap: 8px 28px;
  flex-wrap: wrap;
  font-size: 15px;
}

.nav {
  display: inline-flex;
  align-items: center;
  min-height: 44px; /* 点击区域 ≥ 44px */
  color: #424245;
  text-decoration: none;
}
.nav:hover { color: #1D1D1F; }

/* 汉堡菜单按钮：桌面端隐藏，≤768px 显示 */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #E5E5EA;
  border-radius: 12px;
  background: #FFFFFF;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.nav-toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 1px;
  background: #1D1D1F;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle-bar + .nav-toggle-bar { margin-top: 4px; }

.nav-toggle.is-open .nav-toggle-bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle.is-open .nav-toggle-bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: #0B0B0D;
  color: #FFFFFF;
}

.hero-grid { position: absolute; inset: 0; }

.hx-grid {
  background-image:
    linear-gradient(rgba(120, 170, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 170, 255, 0.07) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 45%, #000 30%, transparent 80%);
  mask-image: radial-gradient(ellipse 80% 70% at 60% 45%, #000 30%, transparent 80%);
}

.hero-glow {
  position: absolute;
  right: -10%;
  top: 8%;
  width: 760px;
  height: 760px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(41, 151, 255, 0.22) 0%, rgba(41, 151, 255, 0.06) 40%, transparent 70%);
}

.hero-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 88px 24px 72px;
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  align-items: center;
}

.hero-copy {
  flex: 1 1 460px;
  min-width: 0;
}

.hero-flag {
  margin: 0 0 28px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(41, 151, 255, 0.35);
  background: rgba(41, 151, 255, 0.08);
  font-size: 14px;
  font-weight: 500;
  color: #9CCBFF;
}

.hero-flag-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2997FF;
  box-shadow: 0 0 10px #2997FF;
  animation: hxBlink 1.6s ease-in-out infinite;
}

.hero-title {
  font-size: clamp(48px, 6vw, 84px);
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -1px;
}

.hero-tagline {
  margin: 22px 0 0;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.35;
  font-weight: 900;
  color: #2997FF;
  text-shadow: 0 0 36px rgba(41, 151, 255, 0.45);
}

.hero-desc {
  margin: 22px 0 0;
  font-size: 17px;
  line-height: 1.85;
  color: #A1A1A6;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}

.btn-hero {
  gap: 8px;
  min-height: 54px;
  padding: 0 32px;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 700;
  box-shadow: 0 0 0 1px rgba(41, 151, 255, 0.5), 0 10px 40px rgba(41, 151, 255, 0.35);
}

.btn-ghost {
  min-height: 54px;
  padding: 0 30px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
  font-size: 17px;
  font-weight: 500;
}
.btn-ghost:hover { color: #FFFFFF; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr));
  gap: 12px;
  margin-top: 44px;
  max-width: 560px;
}

.hero-stat {
  border-top: 2px solid #2997FF;
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hero-stat.stat-amber { border-top-color: #FFB547; }

.stat-label {
  font-size: 11px;
  letter-spacing: 1px;
  color: #8E8E93;
}
.stat-title { font-size: 17px; font-weight: 700; color: #FFFFFF; }
.stat-desc { font-size: 13px; line-height: 1.6; color: #A1A1A6; }

/* --- Hero 右侧舞台 --- */
.hero-stage {
  flex: 1 1 540px;
  min-width: 0;
  position: relative;
  height: 640px;
}

.hero-links {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.pulse-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  border: 1px solid rgba(41, 151, 255, 0.5);
  animation: hxPulse 3.6s ease-out infinite;
}
.pulse-ring-2 { animation-delay: 1.2s; }
.pulse-ring-3 { animation-delay: 2.4s; }

.dashed-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 300px;
  height: 300px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.12);
}

/* --- 智能工牌 --- */
.hx-badge {
  position: absolute;
  left: 50%;
  top: 58%;
  transform: translate(-50%, -50%);
  z-index: 2;
  perspective: 1000px;
}

.badge-float { animation: hxFloat 6s ease-in-out infinite; }
.badge-tilt { transform: rotateX(12deg) rotateY(-18deg) rotateZ(1.5deg); }

.badge-pins {
  position: relative;
  height: 6px;
}
.pin {
  position: absolute;
  bottom: -1px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pin-lg {
  left: 56%;
  width: 36px;
  height: 7px;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(90deg, #8A9099, #F4F5F7 40%, #A9AEB6 70%, #6C717A);
  box-shadow: inset 0 1px 0 #FFFFFF;
}
.pin-sm {
  left: 79%;
  width: 20px;
  height: 6px;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(90deg, #8A9099, #EDEFF2 45%, #6C717A);
}
.pin-light {
  width: 6px;
  height: 3px;
  border-radius: 2px;
  background: #2997FF;
  box-shadow: 0 0 6px #2997FF, 0 0 12px #2997FF;
  animation: hxBreath 2s ease-in-out infinite;
}

.badge-body {
  position: relative;
  width: 330px;
  height: 124px;
  padding: 4px;
  border-radius: 24px;
  background: linear-gradient(180deg, #F7F8FA 0%, #C3C8CF 9%, #7A8088 40%, #454950 56%, #8E949C 84%, #EEF0F3 100%);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.55),
    0 44px 70px rgba(0, 0, 0, 0.7),
    0 0 120px rgba(41, 151, 255, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 0 rgba(255, 255, 255, 0.5);
}

.badge-brush {
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: repeating-linear-gradient(90deg,
    rgba(255, 255, 255, 0.07) 0px, rgba(255, 255, 255, 0.07) 1px,
    rgba(0, 0, 0, 0.05) 1px, rgba(0, 0, 0, 0.05) 2px,
    transparent 2px, transparent 4px);
}

.badge-screw,
.badge-screws span {
  position: absolute;
  top: 1px;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: #1A1B1E;
}
.badge-screw-l { left: 26px; }
.badge-screws { position: absolute; top: 1px; left: 40%; display: flex; gap: 7px; }

.badge-screen {
  position: relative;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  background: radial-gradient(130% 160% at 18% 0%, #2A2B31 0%, #0D0D10 52%, #040405 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07), inset 0 3px 8px rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 22px 0 24px;
}
.badge-screen img { display: block; flex: 0 0 auto; }

.badge-sheen {
  position: absolute;
  inset: 0;
  background: linear-gradient(112deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.04) 30%, rgba(255, 255, 255, 0) 31%);
}

.badge-sweep {
  position: absolute;
  top: -20px;
  bottom: -20px;
  left: 0;
  width: 46px;
  background: linear-gradient(90deg, rgba(41, 151, 255, 0), rgba(120, 190, 255, 0.22), rgba(41, 151, 255, 0));
  animation: hxSweep 4.5s ease-in-out infinite;
}

.badge-divider {
  position: relative;
  width: 1px;
  height: 50px;
  flex: 0 0 auto;
  background: linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0));
}

.badge-info {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}
.badge-role {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 4px;
  color: #F2F2F7;
  white-space: nowrap;
}
.badge-role-en {
  font-size: 9px;
  letter-spacing: 1px;
  color: #8E8E93;
  white-space: nowrap;
}
.badge-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 3px;
}
.badge-live-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #2997FF;
  box-shadow: 0 0 6px #2997FF;
  animation: hxBreath 1.6s ease-in-out infinite;
}
.badge-live .hx-mono {
  font-size: 9px;
  letter-spacing: 1px;
  color: #9CCBFF;
  white-space: nowrap;
}

.badge-underline {
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 7px;
  height: 2px;
  border-radius: 1px;
  background: linear-gradient(90deg, rgba(41, 151, 255, 0), #2997FF, rgba(41, 151, 255, 0));
  box-shadow: 0 0 10px #2997FF;
  animation: hxBreath 2.4s ease-in-out infinite;
}

.badge-shadow {
  position: absolute;
  left: 50%;
  top: 100%;
  margin-top: 30px;
  width: 280px;
  height: 26px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(41, 151, 255, 0.38), rgba(41, 151, 255, 0) 70%);
}

/* --- Hero 演示卡片 --- */
.hero-card-a {
  position: absolute;
  left: 0;
  top: 0;
  width: 290px;
  z-index: 3;
  animation: hxFloat 7s ease-in-out infinite;
}

.hero-card-b {
  position: absolute;
  right: 0;
  top: 13%;
  width: 214px;
  z-index: 3;
  animation: hxFloat 8s ease-in-out 1s infinite;
}

.hero-card-c {
  position: absolute;
  left: 3%;
  bottom: 4%;
  width: 238px;
  z-index: 3;
  animation: hxFloat 7.5s ease-in-out 0.6s infinite;
}

.hero-card-d {
  position: absolute;
  right: 0;
  bottom: 14%;
  width: 232px;
  z-index: 3;
  animation: hxFloat 6.5s ease-in-out 1.8s infinite;
}

.hero-card-a {
  background: rgba(28, 28, 32, 0.82);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 12px 16px 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card-industries {
  display: flex;
  gap: 4px;
  padding: 3px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
}

.hero-tab {
  flex: 1 1 0;
  min-height: 44px;
  border: 0;
  border-radius: 9px;
  font-size: 13px;
  cursor: pointer;
  background: transparent;
  color: #C7C7CC;
  font-weight: 500;
}
.hero-tab.is-active {
  background: #0071E3;
  color: #FFFFFF;
  font-weight: 700;
}

.card-transcribe-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.card-live-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
}

.rec-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #FF5D5D;
  animation: hxBlink 1.2s ease-in-out infinite;
}

.card-place { font-size: 11px; color: #8E8E93; }

.card-transcribe-window { height: 174px; overflow: hidden; }

.card-transcribe-roll {
  display: flex;
  flex-direction: column;
  animation: hxRoll 14.4s ease-in-out infinite;
}

.transcript-line {
  height: 58px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.transcript-row {
  display: flex;
  gap: 8px;
  font-size: 13px;
  line-height: 1.55;
}

.transcript-who {
  flex: 0 0 30px;
  font-weight: 700;
  color: #8E8E93;
}
.transcript-who.is-staff { color: #2997FF; }

.transcript-text { color: #F2F2F7; }

.transcript-tag {
  align-self: flex-start;
  margin-left: 38px;
  font-size: 11px;
  font-weight: 700;
  padding: 1px 8px;
  border-radius: 6px;
}
.transcript-tag.is-good {
  background: rgba(41, 151, 255, 0.12);
  color: #8EC5FF;
  border: 1px solid rgba(41, 151, 255, 0.3);
}
.transcript-tag.is-warn {
  background: rgba(255, 181, 71, 0.14);
  color: #FFC46B;
  border: 1px solid rgba(255, 181, 71, 0.35);
}

.hero-card-b {
  background: rgba(28, 28, 32, 0.82);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 16px 18px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card-sop-title { font-size: 13px; font-weight: 700; }

.card-sop-list { display: flex; flex-direction: column; gap: 10px; }

.sop-item {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
  color: #D1D1D6;
}

.sop-status { font-weight: 700; color: #2997FF; }
.sop-status.is-warn { color: #FFB547; }
.sop-status.is-wait {
  color: #8E8E93;
  font-family: Menlo, Consolas, monospace;
  animation: hxBlink 1.4s ease-in-out infinite;
}

.hero-card-c {
  background: rgba(32, 22, 8, 0.85);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 181, 71, 0.4);
  border-radius: 18px;
  padding: 16px 18px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), 0 0 30px rgba(255, 181, 71, 0.12);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card-alert-head {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #FFC46B;
}
.card-alert-title { font-size: 14px; font-weight: 700; color: #FFFFFF; }
.card-alert-desc { font-size: 12px; color: #D9C3A0; }

.hero-card-d {
  background: rgba(28, 28, 32, 0.82);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(41, 151, 255, 0.35);
  border-radius: 18px;
  padding: 16px 18px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card-learn-head {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #9CCBFF;
}
.card-learn-title { font-size: 14px; font-weight: 700; color: #FFFFFF; }
.card-learn-desc { font-size: 12px; color: #A1A1A6; }

.hero-note {
  position: absolute;
  right: 0;
  bottom: -4px;
  font-size: 11px;
  color: #7C7C82;
}

/* ---------- 关于门拓 ---------- */
.about { background: #F5F5F7; }

.about-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 96px 24px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 20px;
  font-size: 15px;
  font-weight: 500;
  color: #0071E3;
}

.about-statement {
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.7;
  font-weight: 700;
}

.about-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 56px;
  text-align: left;
}

.about-card {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 28px;
}
.about-card-title { font-size: 22px; font-weight: 700; }
.about-card-desc { margin: 8px 0 0; font-size: 15px; line-height: 1.7; color: #6E6E73; }

/* ---------- 四大督导场景 ---------- */
.scenes {
  max-width: 1200px;
  margin: 0 auto;
  padding: 112px 24px;
}

.scenes-head {
  text-align: center;
  margin-bottom: 56px;
}

.scenes-body {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
}

.scenes-tabs {
  flex: 1 1 280px;
  min-width: 0;
  background: #F5F5F7;
  border-radius: 28px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.scenes-tabs-label {
  margin: 4px 8px 12px;
  font-size: 14px;
  color: #6E6E73;
}

.scene-tab {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 56px;
  padding: 0 20px;
  border: 0;
  border-radius: 14px;
  font-size: 17px;
  cursor: pointer;
  text-align: left;
  background: transparent;
  color: #515154;
  font-weight: 500;
}
.scene-tab.is-active {
  background: #FFFFFF;
  color: #1D1D1F;
  font-weight: 700;
  box-shadow: 0 1px 3px rgba(29, 29, 31, 0.08);
}

.scenes-panel {
  flex: 999 1 560px;
  min-width: 0;
  border: 1px solid #E5E5EA;
  border-radius: 28px;
  padding: clamp(28px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  gap: 22px;
  justify-content: center;
}

.panel-no { font-size: 16px; font-weight: 700; color: #0071E3; }
.panel-title {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.3;
  font-weight: 900;
}
.panel-desc {
  font-size: 18px;
  line-height: 1.8;
  color: #424245;
  max-width: 640px;
}

.panel-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.check-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 12px;
  background: #F5F5F7;
  font-size: 15px;
  color: #2C2C2E;
}

.panel-pill {
  align-self: flex-start;
  padding: 12px 20px;
  border-radius: 999px;
  background: #EAF3FF;
  color: #0062C4;
  font-size: 16px;
  font-weight: 700;
}

.panel-link {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
}

/* ---------- 行业方案 ---------- */
.agents { background: #F5F5F7; }

.agents-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 112px 24px;
}

.agents-head {
  text-align: center;
  margin-bottom: 48px;
}

.agents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 20px;
}

.agent-card {
  background: #FFFFFF;
  border: 1px solid #E5E5EA;
  border-radius: 24px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.agent-cover {
  position: relative;
  overflow: hidden;
  height: 216px;
  margin: -32px -32px 4px;
  border-radius: 23px 23px 0 0;
  background: #EEF4FF;
}

.cover-circle {
  position: absolute;
  right: -70px;
  top: -60px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: #FFFFFF;
  opacity: 0.75;
}

.cover-ring {
  position: absolute;
  right: -20px;
  top: -10px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 1px dashed rgba(0, 113, 227, 0.25);
}

.cover-tag {
  position: absolute;
  left: 28px;
  top: 24px;
  font-size: 13px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  background: #FFFFFF;
  color: #0062C4;
}

.cover-title {
  position: absolute;
  left: 28px;
  top: 70px;
  font-size: 26px;
  line-height: 1.3;
  font-weight: 900;
  color: #1D1D1F;
}

.cover-brand {
  position: absolute;
  left: 28px;
  bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cover-brand img { display: block; }
.cover-brand span { font-size: 11px; color: #6E6E73; }

.cover-figure {
  position: absolute;
  right: 18px;
  bottom: -6px;
  width: 150px;
  height: 213px;
  display: block;
}

.cover-bubble {
  position: absolute;
  right: 142px;
  bottom: 34px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 6px 18px rgba(0, 113, 227, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
}

.agent-title { font-size: 22px; line-height: 1.4; font-weight: 900; }
.agent-desc { font-size: 15px; line-height: 1.75; color: #424245; }

.agent-divider { height: 1px; background: #EDEDF0; }

.agent-focus-label { font-size: 13px; font-weight: 700; color: #1D1D1F; }

.agent-focus {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: #2C2C2E;
}
.check-item svg { flex: 0 0 auto; }

.agent-actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
  padding-top: 8px;
  flex-wrap: wrap;
}
.agent-actions .btn {
  flex: 1 1 120px;
  min-height: 46px;
  border-radius: 999px;
  font-size: 15px;
}

/* ---------- 工作方式 ---------- */
.loop {
  max-width: 1200px;
  margin: 0 auto;
  padding: 112px 24px;
}

.loop-head {
  text-align: center;
  margin-bottom: 56px;
}

.loop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.loop-step {
  border: 1px solid #E5E5EA;
  border-radius: 24px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.step-no { font-size: 44px; font-weight: 900; color: #0071E3; line-height: 1; }
.step-title { font-size: 24px; font-weight: 700; }
.step-desc { font-size: 16px; line-height: 1.8; color: #6E6E73; }

/* ---------- 为什么选择 ---------- */
.why { background: #F5F5F7; }

.why-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 112px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  align-items: center;
}

.why-copy {
  flex: 1 1 300px;
  min-width: 0;
}

.why-bar {
  width: 56px;
  height: 4px;
  border-radius: 2px;
  background: #0071E3;
  margin-bottom: 28px;
}

.why-title {
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.25;
  font-weight: 900;
}

.why-desc {
  margin: 20px 0 0;
  font-size: 18px;
  line-height: 1.8;
  color: #6E6E73;
}

.why-grid {
  flex: 999 1 640px;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.why-card {
  position: relative;
  overflow: hidden;
  background: #FFFFFF;
  border-radius: 22px;
  padding: 30px 28px 72px;
}

.why-card-title { font-size: 20px; font-weight: 700; }
.why-card-desc { margin: 12px 0 0; font-size: 15px; line-height: 1.75; color: #6E6E73; }

.why-card-no {
  position: absolute;
  right: 20px;
  bottom: 4px;
  font-size: 64px;
  font-weight: 900;
  color: #EDEDF0;
  line-height: 1;
}

/* ---------- 对比表 ---------- */
.compare {
  max-width: 1200px;
  margin: 0 auto;
  padding: 112px 24px;
}

.compare-head {
  text-align: center;
  margin-bottom: 48px;
}

/* 圆角边框放在滚动容器上：table 对 overflow:hidden 裁剪不可靠，且窄屏滚动时边框需随容器固定 */
.compare-scroll {
  overflow-x: auto;
  border: 1px solid #E5E5EA;
  border-radius: 24px;
  background: #FFFFFF;
}

.compare-table {
  width: 100%;
  min-width: 680px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 16px;
  background: #FFFFFF;
}

.compare-table th,
.compare-table td {
  padding: 20px 24px;
  text-align: left;
  vertical-align: middle;
  border-top: 1px solid #EDEDF0;
  font-weight: 400;
}

.compare-table thead th {
  padding: 22px 24px;
  border-top: 0;
  background: #F5F5F7;
  font-weight: 700;
}

.compare-label-cell { color: #6E6E73; }
.compare-label-cell:not(thead th) { font-weight: 400; }

/* 写成 .compare-table .compare-us，特异性高于 .compare-table thead th，保证表头蓝底不被灰色背景覆盖 */
.compare-table .compare-us {
  background: #0071E3;
  color: #FFFFFF;
  font-weight: 700;
}

.compare-table tbody .compare-us {
  background: #F2F7FF;
  color: #0062C4;
  border-top-color: #D6E8FF;
}

/* ---------- 数据安全 ---------- */
.security {
  background: #1D1D1F;
  color: #FFFFFF;
}

.security-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 112px 24px;
}

.security-sub {
  margin: 16px 0 56px;
  font-size: 18px;
  line-height: 1.7;
  color: #A1A1A6;
  max-width: 640px;
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.security-card {
  border: 1px solid #3A3A3C;
  border-radius: 22px;
  padding: 30px;
}

.security-card-title { font-size: 20px; font-weight: 700; }
.security-card-desc { margin: 12px 0 0; font-size: 15px; line-height: 1.75; color: #A1A1A6; }

/* ---------- 预约演示 ---------- */
.contact {
  max-width: 1200px;
  margin: 0 auto;
  padding: 112px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
}

.contact-info {
  flex: 1 1 380px;
  min-width: 0;
}

.contact-title {
  font-size: clamp(32px, 3.6vw, 46px);
  line-height: 1.3;
  font-weight: 900;
}

.contact-desc {
  margin: 20px 0 0;
  font-size: 18px;
  line-height: 1.8;
  color: #6E6E73;
}

.contact-ways {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-top: 40px;
  flex-wrap: wrap;
}

.qr-img {
  width: 120px;
  height: 120px;
  border-radius: 18px;
  border: 1px solid #E5E5EA;
  display: block;
}

.contact-phone {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.contact-phone-label { font-size: 14px; color: #6E6E73; }
.contact-phone-number {
  display: inline-block;
  padding: 8px 0; /* 保证点击区域 ≥ 44px */
  font-size: 22px;
  font-weight: 700;
  color: #1D1D1F;
  text-decoration: none;
}
.contact-phone-number:hover { color: #0071E3; }

.contact-form {
  flex: 1 1 460px;
  min-width: 0;
  background: #F5F5F7;
  border-radius: 28px;
  padding: clamp(24px, 3vw, 40px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
  align-content: start;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  color: #424245;
}

.field input,
.field select,
.field textarea {
  min-height: 48px;
  padding: 12px 16px;
  border: 1px solid #D2D2D7;
  border-radius: 12px;
  font-size: 16px;
  background: #FFFFFF;
  color: #1D1D1F;
}

.field select { padding: 0 12px; }

.field textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.6;
}

.field-wide { grid-column: 1 / -1; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: #0071E3;
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.15);
}

.field input.is-invalid { border-color: #E30000; }

.btn-submit {
  grid-column: 1 / -1;
  min-height: 54px;
  border: 0;
  border-radius: 999px;
  font-size: 17px;
}

.form-status {
  grid-column: 1 / -1;
  margin: -6px 0 0;
  font-size: 14px;
  color: #0062C4;
  min-height: 1em;
}
.form-status.is-error { color: #E30000; }

/* ---------- 页脚 ---------- */
.site-footer { border-top: 1px solid #E5E5EA; }

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  font-size: 14px;
  color: #6E6E73;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-brand img { display: block; }

/* ---------- 悬浮按钮 ---------- */
.fab {
  position: fixed;
  right: 20px;
  bottom: calc(28px + env(safe-area-inset-bottom));
  z-index: 30;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

/* 联系表单或页脚进入视口时隐藏，避免遮挡提交按钮和底部内容 */
.fab.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.fab-contact {
  width: 64px;
  min-height: 64px;
  border-radius: 18px;
  background: #0071E3;
  color: #FFFFFF;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 12px;
  box-shadow: 0 8px 24px rgba(0, 113, 227, 0.28);
}

.fab-top {
  width: 64px;
  min-height: 56px;
  border-radius: 18px;
  background: #FFFFFF;
  border: 1px solid #E5E5EA;
  color: #424245;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 12px;
}

/* ---------- 动画 ---------- */
@keyframes hxPulse {
  0% { transform: translate(-50%, -50%) scale(0.55); opacity: 0.7; }
  100% { transform: translate(-50%, -50%) scale(1.5); opacity: 0; }
}
@keyframes hxBar {
  0%, 100% { transform: scaleY(0.25); }
  50% { transform: scaleY(1); }
}
@keyframes hxFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes hxDash { to { stroke-dashoffset: -24; } }
@keyframes hxBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}
@keyframes hxSweep {
  0% { transform: translateX(-90px) skewX(-18deg); }
  55%, 100% { transform: translateX(380px) skewX(-18deg); }
}
@keyframes hxBreath {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 1; }
}
/* 转写逐行上滚：每行 58px，滚动 6 行（6 × 58 = 348px）后回到起点 */
@keyframes hxRoll {
  0%, 13% { transform: translateY(0); }
  16.6%, 29.6% { transform: translateY(-58px); }
  33.3%, 46.3% { transform: translateY(-116px); }
  50%, 63% { transform: translateY(-174px); }
  66.6%, 79.6% { transform: translateY(-232px); }
  83.3%, 96.3% { transform: translateY(-290px); }
  100% { transform: translateY(-348px); }
}

/* ---------- 响应式 ---------- */

/* ≤768px：手机 + 小平板。导航收进汉堡菜单、Hero 上下排列、对比表改卡片 */
@media (max-width: 768px) {
  /* 顶部导航：只留 Logo + 预约演示 + 汉堡按钮，菜单收进抽屉 */
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 4px 16px 12px;
    background: #FFFFFF;
    border-bottom: 1px solid #E5E5EA;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
  }
  .main-nav.is-open { display: flex; }
  .main-nav .nav {
    display: flex;
    align-items: center;
    min-height: 48px;
    font-size: 16px;
    border-bottom: 1px solid #F0F0F2;
  }
  .main-nav .nav:last-child { border-bottom: 0; }
  .nav-toggle { display: inline-flex; }

  /* 微信内置浏览器等移动 WebView 上 backdrop-filter 代价高，改为纯色半透明 */
  .site-header {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: none;
  }
  .hero-card-a,
  .hero-card-c { backdrop-filter: none; }
  .hero-card-a { background: rgba(24, 24, 28, 0.95); }
  .hero-card-c { background: rgba(36, 25, 10, 0.96); }

  /* 首屏：文案在上、工牌动效在下；只保留实时转写与预警两张卡 */
  .hx-hide-sm { display: none; }
  .hero-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 40px;
    padding: 56px 16px 56px;
  }
  .hero-copy,
  .hero-stage { flex: none; }
  .hero-title { font-size: clamp(40px, 12vw, 56px); }
  .hero-stage { height: 640px; }
  .hx-card-a {
    left: 0;
    right: 0;
    top: 0;
    width: auto;
  }
  .hx-card-c {
    left: 0;
    right: 0;
    bottom: 0;
    width: auto;
  }
  .hx-badge {
    top: 58%;
    transform: translate(-50%, -50%) scale(0.8);
  }
  .hero-note { bottom: -26px; }

  /* 行业方案：三张卡片竖向排列 */
  .agents-grid { grid-template-columns: 1fr; }

  /* 对比表：768px 以下改为卡片式，每个对比项一张卡 */
  .compare-scroll {
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
  }
  .compare-table {
    display: block;
    min-width: 0;
  }
  .compare-table thead { display: none; }
  .compare-table tbody {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
  .compare-table tr {
    display: block;
    border: 1px solid #E5E5EA;
    border-radius: 18px;
    background: #FFFFFF;
    overflow: hidden;
  }
  .compare-table th,
  .compare-table td { display: block; border-top: 0; }
  .compare-table tbody th.compare-label-cell {
    padding: 14px 18px;
    background: #F5F5F7;
    border-bottom: 1px solid #EDEDF0;
    color: #1D1D1F;
    font-weight: 700;
  }
  .compare-table td {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    padding: 13px 18px;
    text-align: right;
  }
  .compare-table td + td { border-top: 1px solid #EDEDF0; }
  .compare-table td::before {
    content: attr(data-label);
    flex: 0 0 auto;
    font-size: 14px;
    color: #6E6E73;
    text-align: left;
  }
  .compare-table td.compare-us {
    background: #F2F7FF;
    color: #0062C4;
    font-weight: 700;
  }
  .compare-table td.compare-us::before { color: #0062C4; }

  /* 联系区二维码放大，方便长按识别 */
  .qr-img {
    width: 180px;
    height: 180px;
  }
}

/* ≤480px：手机。收紧留白、缩小形象图、加大正文字号 */
@media (max-width: 480px) {
  .header-inner { padding: 10px 16px; }
  .scenes, .loop, .compare, .contact { padding-left: 16px; padding-right: 16px; }
  .why-inner, .agents-inner, .security-inner { padding-left: 16px; padding-right: 16px; }
  .footer-inner { padding-left: 16px; padding-right: 16px; }
  .fab {
    right: 12px;
    bottom: calc(16px + env(safe-area-inset-bottom));
  }

  /* 正文可读性：不小于 14px */
  .stat-desc { font-size: 14px; }
  .transcript-row { font-size: 14px; }
  .card-live-label { font-size: 14px; }
  .card-alert-desc { font-size: 14px; }

  /* 卡片留白收紧 */
  .about-card { padding: 24px; }
  .loop-step { padding: 24px; }
  .why-card { padding: 24px 20px 64px; }
  .security-card { padding: 24px; }
  .agent-card { padding: 24px; }
  .agent-cover { margin: -24px -24px 4px; }

  /* 小拓形象图等比缩小，避免遮挡左侧标题 */
  .cover-title { font-size: 22px; left: 20px; top: 64px; }
  .cover-tag { left: 20px; top: 20px; }
  .cover-brand { left: 20px; }
  .cover-figure { width: 112px; height: 159px; right: 14px; }
  .cover-bubble { width: 40px; height: 40px; right: 106px; bottom: 24px; }
}

/* ---------- 减少动画 ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; }
  html { scroll-behavior: auto; }
  .badge-float,
  .hero-card-a, .hero-card-b, .hero-card-c, .hero-card-d { animation: none !important; }
}
