/* 二级详情页公共样式：与官网 index 视觉语言保持一致 */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: #33415c; line-height: 1.6; overflow-x: hidden;
  background: #f5f8fc; -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
:root {
  --blue: #2f6bff; --blue-deep: #1d4ed8; --blue-dark: #123a7a;
  --blue-soft: #e8f1ff; --cyan: #22b8e6;
  --text: #24344d; --text-mid: #5b6b85; --white: #ffffff;
  --shadow-soft: 0 10px 40px rgba(31,86,187,0.08);
  --shadow-card: 0 6px 24px rgba(31,86,187,0.10);
  --shadow-float: 0 16px 48px rgba(31,86,187,0.16);
  --radius: 16px; --radius-lg: 24px;
}
.icon {
  width: 24px; height: 24px; fill: none; stroke: currentColor;
  stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0;
}
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.9); backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 24px rgba(31,86,187,0.08);
}
.navbar-inner {
  max-width: 1240px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 32px; height: 78px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-img {
  width: 46px; height: 46px; border-radius: 14px; object-fit: contain;
  background: #fff; box-shadow: 0 6px 16px rgba(47,107,255,0.18);
}
.logo-text b { font-size: 1.3rem; font-weight: 800; color: var(--blue-dark); letter-spacing: 2px; display: block; }
.logo-text span { color: var(--cyan); font-size: 0.7rem; letter-spacing: 0.5px; }
.nav-back {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--blue); font-weight: 600; font-size: 0.95rem;
  padding: 10px 18px; border-radius: 10px; background: var(--blue-soft);
  transition: background 0.25s, transform 0.2s;
}
.nav-back .icon { width: 16px; height: 16px; }
.nav-back:hover { background: #d9e8ff; transform: translateY(-1px); }

.detail-hero {
  padding: 140px 32px 72px;
  background: linear-gradient(160deg, #5b8dff 0%, #4a6ef5 42%, #6a5cf0 100%);
  color: #fff; position: relative; overflow: hidden;
}
.detail-hero::after {
  content: ''; position: absolute; right: -8%; bottom: -30%;
  width: 48%; height: 90%; border-radius: 40% 60% 50% 50%;
  background: linear-gradient(135deg, rgba(255,255,255,0.22), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.18); pointer-events: none;
}
.detail-hero-inner { max-width: 960px; margin: 0 auto; position: relative; z-index: 2; }
.breadcrumb {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-size: 0.86rem; color: rgba(255,255,255,0.78); margin-bottom: 28px;
}
.breadcrumb a { color: #fff; font-weight: 600; border-bottom: 1px solid rgba(255,255,255,0.35); }
.detail-hero .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.16); border: 1px solid rgba(255,255,255,0.35);
  padding: 7px 16px; border-radius: 20px; font-size: 0.8rem; font-weight: 700;
  letter-spacing: 2px; margin-bottom: 22px;
}
.detail-hero h1 {
  font-size: 2.6rem; font-weight: 800; letter-spacing: 1px;
  line-height: 1.3; margin-bottom: 18px; max-width: 820px;
}
.detail-hero .lead {
  font-size: 1.08rem; line-height: 1.9; color: rgba(255,255,255,0.9); max-width: 720px;
}

.detail-body { padding: 72px 32px 40px; }
.detail-wrap { max-width: 960px; margin: 0 auto; }
.detail-block {
  background: #fff; border-radius: var(--radius-lg);
  border: 1px solid #eef3fa; box-shadow: var(--shadow-soft);
  padding: 40px 42px; margin-bottom: 28px;
}
.detail-block h2 {
  font-size: 1.45rem; font-weight: 800; color: var(--text);
  letter-spacing: 1px; margin-bottom: 16px;
}
.detail-block p { color: var(--text-mid); font-size: 1rem; line-height: 1.9; margin-bottom: 14px; }
.detail-block p:last-child { margin-bottom: 0; }
.feature-list { display: grid; gap: 16px; margin-top: 8px; }
.feature-list li {
  display: flex; gap: 14px; align-items: flex-start;
  background: #f7fafd; border: 1px solid #eaf1fa;
  border-radius: 14px; padding: 18px 20px;
}
.feature-list .dot {
  width: 10px; height: 10px; border-radius: 50%; margin-top: 8px;
  background: linear-gradient(135deg, var(--blue), var(--cyan)); flex-shrink: 0;
}
.feature-list strong { display: block; color: var(--text); font-size: 1rem; margin-bottom: 4px; }
.feature-list span { color: var(--text-mid); font-size: 0.92rem; line-height: 1.7; }

.detail-cta {
  max-width: 960px; margin: 12px auto 100px; padding: 0 32px;
}
.detail-cta-card {
  background: linear-gradient(120deg, #2f6bff 0%, #2f7bf6 55%, #22a5e6 100%);
  border-radius: 24px; padding: 42px 48px; color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  box-shadow: 0 24px 60px rgba(47,107,255,0.28);
}
.detail-cta-card h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 8px; }
.detail-cta-card p { color: rgba(255,255,255,0.88); font-size: 0.95rem; }
.btn-solid {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  background: #fff; color: var(--blue); font-weight: 700;
  padding: 14px 28px; border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  transition: transform 0.2s;
}
.btn-solid .icon { width: 16px; height: 16px; }
.btn-solid:hover { transform: translateY(-2px); }

.footer {
  background: #0f1c33; color: rgba(255,255,255,0.72); padding: 36px 32px;
  text-align: center; font-size: 0.86rem;
}
.footer a { color: #9ec0ff; }
/* 与首页底部备案条一致：ICP 与公安备案并排，图标 20px */
.footer-beian {
  display: flex; justify-content: center; align-items: center;
  flex-wrap: wrap; gap: 8px 16px; margin-top: 14px;
}
.footer-beian a {
  color: rgba(255,255,255,0.72);
  display: inline-flex; align-items: center; gap: 4px;
}
.footer-beian a:hover { color: #fff; }
.footer-beian img { display: block; width: 20px; height: 20px; }

/* 两个方案互相切换，方便审核时区分入口 */
.plan-switch { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.plan-switch a {
  min-height: 44px; display: inline-flex; align-items: center;
  padding: 8px 14px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.45);
  color: #fff; font-size: 0.86rem; font-weight: 700;
  background: rgba(255,255,255,0.12);
}
.plan-switch a.is-current { background: #fff; color: var(--blue-dark); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-actions .btn-line {
  min-height: 44px; display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 18px; border-radius: 12px; font-weight: 700;
  border: 1px solid rgba(255,255,255,0.7); color: #fff;
}
.hero-meta { margin-top: 14px; color: rgba(255,255,255,0.9); font-size: 0.95rem; }
#pricing, #quote, #billing { scroll-margin-top: 96px; }
/* 校验失败滚动时，避免被顶部固定导航挡住 */
.quote-form > div { scroll-margin-top: 96px; }

.price-table-wrap { overflow-x: auto; }
.price-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.price-table th, .price-table td {
  text-align: left; vertical-align: top;
  padding: 14px 12px; border-bottom: 1px solid #e8eef8;
  font-size: 0.92rem; line-height: 1.6; color: var(--text-mid);
}
.price-table th { color: var(--text); font-weight: 800; background: #f7fafd; }
.price-table td strong { color: var(--text); }
.quote-btn, .btn-solid, button[type="submit"] { min-height: 44px; }
.quote-btn {
  border: 0; cursor: pointer; border-radius: 10px;
  background: var(--blue); color: #fff; font-weight: 700;
  padding: 8px 14px;
}
.quote-btn:hover { background: var(--blue-deep); }
.billing-note {
  margin-top: 16px; padding: 14px 16px; border-radius: 12px;
  background: #f3f7ff; color: var(--text); font-size: 0.95rem; line-height: 1.7;
}

.quote-form { display: grid; gap: 14px; }
.quote-form label { display: block; font-weight: 700; color: var(--text); margin-bottom: 6px; font-size: 0.92rem; }
.quote-form .req { color: #d14343; margin-left: 4px; }
.quote-form input, .quote-form select, .quote-form textarea {
  width: 100%; border: 1px solid #d5e2f5; border-radius: 10px;
  padding: 12px 12px; font-size: 1rem; color: var(--text); background: #fff;
  font-family: inherit;
}
.quote-form textarea { min-height: 110px; resize: vertical; }
.field-error { color: #c24141; font-size: 0.82rem; min-height: 1.2em; margin-top: 4px; }
.module-list { display: grid; gap: 8px; }
.module-list label {
  font-weight: 600; display: flex; gap: 8px; align-items: flex-start;
  background: #f7fafd; border: 1px solid #e6eef8; border-radius: 10px; padding: 10px 12px;
}
.module-list input { width: auto; margin-top: 4px; }
.form-actions { display: flex; justify-content: flex-start; }
.form-actions button {
  border: 0; cursor: pointer; border-radius: 12px;
  background: var(--blue); color: #fff; font-weight: 800;
  padding: 12px 22px; font-size: 1rem;
}
.quote-success {
  background: #f3fbf6; border: 1px solid #b7ebc9; border-radius: 16px; padding: 22px;
  color: var(--text);
}
.quote-success h3 { margin-bottom: 8px; }
.quote-success ul { margin-top: 10px; display: grid; gap: 6px; }
.quote-success li { color: var(--text-mid); }

@media (max-width: 768px) {
  .navbar-inner { padding: 0 20px; }
  .detail-hero { padding: 120px 20px 56px; }
  .detail-hero h1 { font-size: 1.8rem; }
  .detail-body { padding: 48px 20px 20px; }
  .detail-block { padding: 28px 22px; }
  .detail-cta { padding: 0 20px; margin-bottom: 72px; }
  .detail-cta-card { flex-direction: column; text-align: center; padding: 32px 24px; }
  .hero-actions { flex-direction: column; }
  .hero-actions a, .quote-btn, .form-actions button { width: 100%; }
  .price-table { min-width: 560px; }
}
