/* ============================================================
   上海数岛软件科技官网 - 全站样式
   结构：设计令牌 → 基础重置 → 动画 → 站点骨架（导航/页脚）
         → 首页组件 → 产品页组件 → 表单/弹窗 → 工具类 → 响应式
   ============================================================ */

/* ---------- 1. 设计令牌 ---------- */
:root {
  --primary: #165DFF;
  --primary-dark: #0E42D2;
  --primary-light: #E8F3FF;
  --primary-ghost: #F2F7FF;
  --dark: #1D2129;
  --text: #303540;
  --gray: #86909C;
  --border: #E7ECF2;
  --soft: #F7F9FC;
  --success: #00B42A;
  --danger: #F53F3F;
  --warning: #FF7D00;
  --shadow: 0 4px 24px rgba(22, 93, 255, 0.08);
  --shadow-lg: 0 12px 32px rgba(22, 93, 255, 0.14);
  --shadow-deep: 0 24px 64px rgba(13, 33, 84, 0.25);
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --font: "Inter", "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- 2. 基础重置 ---------- */
* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font-family: var(--font);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4, p {
  margin: 0;
}

button {
  cursor: pointer;
  font-family: inherit;
}

button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

::selection {
  background: rgba(22, 93, 255, 0.16);
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-thumb {
  background: #C9CDD4;
  border-radius: 8px;
  border: 2px solid #fff;
}

::-webkit-scrollbar-thumb:hover {
  background: #A9AEB8;
}

::-webkit-scrollbar-track {
  background: transparent;
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ---------- 3. 动画 ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes shimmer {
  from { background-position: -400px 0; }
  to { background-position: 400px 0; }
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

/* 滚动渐入：html.js 由 site-chrome.js 添加，JS 不可用时内容保持可见 */
html.js .fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}

html.js .fade-in.active {
  opacity: 1;
  transform: translateY(0);
}

.d-1 { transition-delay: 0.08s; }
.d-2 { transition-delay: 0.16s; }
.d-3 { transition-delay: 0.24s; }

.hover-up {
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.hover-up:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.img-zoom {
  overflow: hidden;
}

.img-zoom img {
  transition: transform 0.5s var(--ease);
}

.img-zoom:hover img {
  transform: scale(1.045);
}

/* ---------- 4. 图标 ---------- */
[data-icon] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 1;
}

[data-icon] svg {
  width: 1.15em;
  height: 1.15em;
  display: block;
}

/* ---------- 5. 站点骨架：顶部导航 ---------- */
.site-topbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.site-topbar.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 2px 16px rgba(29, 33, 41, 0.06);
}

.site-navbar {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-logo-image {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 9px;
  background: #fff;
}

.site-logo {
  color: var(--dark);
  font-size: 19px;
  font-weight: 800;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.site-menu {
  display: flex;
  gap: 28px;
  align-items: center;
  font-size: 15px;
}

.site-menu > a {
  color: var(--text);
  font-weight: 500;
  position: relative;
  padding: 6px 0;
  transition: color 0.25s var(--ease);
}

.site-menu > a:hover {
  color: var(--primary);
}

.site-menu > a.active {
  color: var(--primary);
}

.site-menu > a:not(.site-menu-ghost):not(.site-menu-button)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s var(--ease);
}

.site-menu > a:not(.site-menu-ghost):not(.site-menu-button).active::after,
.site-menu > a:not(.site-menu-ghost):not(.site-menu-button):hover::after {
  transform: scaleX(1);
}

.site-menu-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ---------- 6. 按钮体系 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  line-height: 1.5;
  white-space: nowrap;
  transition: all 0.25s var(--ease);
  user-select: none;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #4080FF);
  color: #fff;
  box-shadow: 0 4px 14px rgba(22, 93, 255, 0.28);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark), #2A66FF);
  box-shadow: 0 6px 20px rgba(22, 93, 255, 0.36);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-outline {
  border-color: var(--primary);
  color: var(--primary);
  background: #fff;
}

.btn-outline:hover {
  background: var(--primary-light);
  border-color: var(--primary);
}

.btn-ghost {
  background: var(--soft);
  color: var(--text);
  border-color: var(--border);
}

.btn-ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-ghost);
}

.btn-danger {
  background: #FFF1F0;
  color: #CF1322;
  border-color: #FFA39E;
}

.btn-danger:hover {
  background: #CF1322;
  color: #fff;
  border-color: #CF1322;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 16px;
  border-radius: 10px;
}

.btn-sm {
  padding: 6px 14px;
  font-size: 13px;
}

.btn-block {
  width: 100%;
}

/* 导航 CTA 沿用旧类名（提高优先级，避免被 .site-menu > a 覆盖内边距） */
a.site-menu-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, var(--primary), #4080FF);
  color: #fff;
  border-radius: var(--radius-sm);
  padding: 10px 20px;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 4px 14px rgba(22, 93, 255, 0.28);
  transition: all 0.25s var(--ease);
}

a.site-menu-button:hover {
  background: linear-gradient(135deg, var(--primary-dark), #2A66FF);
  box-shadow: 0 6px 20px rgba(22, 93, 255, 0.36);
  transform: translateY(-1px);
}

a.site-menu-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  border: 1px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 9px 18px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.25s var(--ease);
}

a.site-menu-ghost:hover {
  background: var(--primary-light);
}

/* 移动端菜单 */
.site-mobile-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  color: var(--dark);
}

.site-mobile-toggle svg {
  width: 24px;
  height: 24px;
}

.site-mobile-menu {
  display: none;
  background: #fff;
  border-top: 1px solid var(--border);
  box-shadow: 0 16px 32px rgba(29, 33, 41, 0.08);
  padding: 12px 24px 18px;
}

.site-mobile-menu.open {
  display: block;
  animation: fadeUp 0.3s var(--ease);
}

.site-mobile-menu a {
  display: block;
  padding: 12px 4px;
  font-size: 15px;
  color: var(--text);
  border-bottom: 1px solid var(--soft);
}

.site-mobile-menu a:last-of-type {
  border-bottom: none;
}

.site-mobile-menu a.active {
  color: var(--primary);
  font-weight: 700;
}

.site-mobile-actions {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.site-mobile-actions .btn {
  flex: 1;
}

/* ---------- 7. 通用版块 ---------- */
.page-base {
  padding-top: 70px;
}

.section {
  padding: 88px 0;
}

.section-alt {
  background: var(--soft);
}

.section-head {
  max-width: 1280px;
  margin: 0 auto 52px;
  padding: 0 24px;
  text-align: center;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--primary-light);
  border-radius: 999px;
  padding: 6px 16px;
  margin-bottom: 16px;
}

.section-title {
  text-align: center;
  color: var(--dark);
  font-size: clamp(28px, 2.6vw, 36px);
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 12px;
}

.section-desc {
  color: var(--gray);
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  line-height: 1.8;
  font-size: 16px;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

/* ---------- 8. 首页 Hero ---------- */
.home-hero {
  position: relative;
  padding: 150px 0 96px;
  background:
    radial-gradient(52% 60% at 82% 18%, rgba(22, 93, 255, 0.12), transparent 68%),
    radial-gradient(38% 46% at 8% 88%, rgba(64, 128, 255, 0.10), transparent 70%),
    linear-gradient(180deg, #EAF3FF 0%, #F5F9FF 58%, #fff 100%);
  overflow: hidden;
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(22, 93, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 93, 255, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(70% 70% at 50% 30%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(70% 70% at 50% 30%, #000 30%, transparent 100%);
  pointer-events: none;
}

.hero-wrap {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  border-radius: 999px;
  padding: 7px 16px;
  box-shadow: var(--shadow);
  margin-bottom: 22px;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  animation: pulseDot 2s ease-in-out infinite;
}

.hero-title {
  color: var(--dark);
  font-size: clamp(34px, 4vw, 50px);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.01em;
}

.hero-title .grad {
  background: linear-gradient(120deg, var(--primary) 10%, #4080FF 55%, #7BA6FF 95%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-subtitle {
  margin-top: 20px;
  color: var(--gray);
  font-size: 17px;
  line-height: 1.85;
  max-width: 560px;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-quick {
  margin-top: 24px;
  display: flex;
  gap: 22px;
}

.hero-quick a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--gray);
  font-size: 14px;
  transition: color 0.2s var(--ease);
}

.hero-quick a:hover {
  color: var(--primary);
}

.hero-media {
  position: relative;
}

.hero-media img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 30px 60px rgba(13, 33, 84, 0.18);
  animation: floatY 7s ease-in-out infinite;
}

.hero-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
  backdrop-filter: blur(6px);
}

.hero-chip svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
}

.hero-chip.tl { top: 22px; left: -18px; animation: floatY 6s ease-in-out infinite 0.6s; }
.hero-chip.br { bottom: 26px; right: -14px; animation: floatY 8s ease-in-out infinite 1.2s; }

/* 首页套餐购买条 */
.order-band {
  margin-top: 56px;
  background: linear-gradient(120deg, #10254E 0%, #0E42D2 100%);
  border-radius: 20px;
  padding: 34px 36px;
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: 28px;
  align-items: center;
  color: #fff;
  box-shadow: 0 20px 48px rgba(14, 66, 210, 0.28);
  position: relative;
  overflow: hidden;
}

.order-band::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -80px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.order-band-title {
  font-size: 22px;
  font-weight: 800;
}

.order-band-kicker {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #9EC3FF;
  margin-bottom: 8px;
}

.order-band p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  margin-top: 8px;
  line-height: 1.75;
}

.order-form {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 12px;
  position: relative;
  z-index: 1;
}

.order-form .col-4 { grid-column: span 4; }
.order-form .col-3 { grid-column: span 3; }
.order-form .col-2 { grid-column: span 2; }

.order-form label {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 6px;
}

.order-form input,
.order-form select {
  width: 100%;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 11px 12px;
  font: inherit;
  font-size: 14px;
  color: var(--dark);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.order-form input:focus,
.order-form select:focus {
  outline: none;
  border-color: #9EC3FF;
  box-shadow: 0 0 0 3px rgba(158, 195, 255, 0.3);
}

.order-form .btn {
  width: 100%;
  background: #fff;
  color: var(--primary-dark);
  margin-top: 24px;
}

.order-form .btn:hover {
  background: #EAF3FF;
}

.order-result {
  grid-column: 1 / -1;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  min-height: 18px;
}

/* ---------- 9. 首页：解决方案 / 关于 / 联系 ---------- */
.solution-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.solution-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.solution-card .img-zoom img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.solution-card-body {
  padding: 28px;
}

.solution-card-body h3 {
  color: var(--dark);
  font-size: 21px;
  font-weight: 800;
  margin-bottom: 12px;
}

.solution-card-body > p {
  color: var(--gray);
  line-height: 1.8;
  font-size: 15px;
}

.feature-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text);
  font-size: 14.5px;
}

.feature-list [data-icon] {
  color: var(--primary);
  margin-top: 3px;
}

.about-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.about-copy h2 {
  color: var(--dark);
  font-size: clamp(26px, 2.4vw, 32px);
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 18px;
}

.about-copy p {
  color: var(--gray);
  line-height: 1.85;
  margin-bottom: 14px;
}

.about-stats {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.about-stat {
  background: var(--soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 12px;
  text-align: center;
  transition: all 0.3s var(--ease);
}

.about-stat:hover {
  border-color: rgba(22, 93, 255, 0.4);
  background: var(--primary-ghost);
}

.about-stat .num {
  font-size: 20px;
  font-weight: 800;
  background: linear-gradient(120deg, var(--primary), #4080FF);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.about-stat .label {
  color: var(--gray);
  font-size: 13px;
  margin-top: 4px;
}

.about-media img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.contact-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.contact-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.contact-card-body {
  padding: 30px;
}

.contact-card-body h3 {
  color: var(--dark);
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 22px;
}

.info-line {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 13px 0;
  color: var(--text);
  font-size: 15px;
}

.info-line + .info-line {
  border-top: 1px dashed var(--border);
}

.info-line .info-ico {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-line .info-ico svg {
  width: 18px;
  height: 18px;
}

.form-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 30px;
}

.form-card h3 {
  color: var(--dark);
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 22px;
}

/* ---------- 10. 产品卡片（首页/产品中心，app.js 渲染） ---------- */
.pkg-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.pkg-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.pkg-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(22, 93, 255, 0.35);
}

.pkg-card-media {
  position: relative;
  display: block;
  overflow: hidden;
}

.pkg-card-media img {
  width: 100%;
  height: 172px;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.pkg-card:hover .pkg-card-media img {
  transform: scale(1.05);
}

.pkg-card-body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.pkg-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.pkg-card-title {
  color: var(--dark);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.4;
}

.pkg-plan {
  flex-shrink: 0;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
  padding: 3px 12px;
  white-space: nowrap;
}

.pkg-spec {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 10px;
  color: var(--gray);
  font-size: 13px;
}

.pkg-spec span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.pkg-spec svg {
  width: 15px;
  height: 15px;
  color: var(--primary);
  flex: none;
}

.pkg-category {
  margin-top: 6px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
}

.pkg-desc {
  margin-top: 12px;
  color: var(--gray);
  font-size: 14px;
  line-height: 1.75;
  flex: 1;
}

a.pkg-title-link {
  color: inherit;
  transition: color 0.2s var(--ease);
}

a.pkg-title-link:hover {
  color: var(--primary);
}

.pkg-more {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 5px;
  margin-top: 12px;
  color: var(--primary);
  font-size: 13.5px;
  font-weight: 600;
}

.pkg-more [data-icon] svg {
  transition: transform 0.2s var(--ease);
}

.pkg-more:hover [data-icon] svg {
  transform: translateX(3px);
}

.pkg-tags {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pkg-tag {
  background: var(--soft);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 12px;
  border-radius: 999px;
  padding: 4px 12px;
  transition: all 0.2s var(--ease);
}

.pkg-card:hover .pkg-tag {
  border-color: rgba(22, 93, 255, 0.3);
  color: var(--primary);
}

.pkg-card-foot {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.pkg-price {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
}

.pkg-price .unit {
  font-size: 12px;
  font-weight: 500;
  color: var(--gray);
  margin-left: 2px;
}

.pkg-actions {
  display: flex;
  gap: 8px;
}

/* 骨架屏（套餐/下载加载中） */
.skeleton-card {
  border-radius: var(--radius-lg);
  min-height: 380px;
  background: linear-gradient(90deg, var(--soft) 25%, #EDF1F7 37%, var(--soft) 63%);
  background-size: 400px 100%;
  animation: shimmer 1.4s ease-in-out infinite;
  border: 1px solid var(--border);
}

.load-state {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--gray);
  padding: 40px 0;
  font-size: 14px;
}

.load-state [data-icon] {
  display: block;
  margin: 0 auto 10px;
  color: #C9CDD4;
}

.load-state [data-icon] svg {
  width: 40px;
  height: 40px;
}

/* ---------- 11. 产品详情页 ---------- */
/* 固定导航下的页面占位（site-chrome.js 为 body 添加 has-topbar） */
.has-topbar {
  padding-top: 70px;
}

.product-page {
  padding-top: 0;
}

.product-hero {
  position: relative;
  background:
    radial-gradient(46% 70% at 88% 12%, rgba(22, 93, 255, 0.10), transparent 70%),
    linear-gradient(180deg, #EAF3FF 0%, #F5F9FF 70%, #fff 100%);
  padding: 76px 0;
  overflow: hidden;
}

.product-hero-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 430px;
  gap: 56px;
  align-items: center;
  position: relative;
}

.product-hero-copy {
  max-width: 640px;
}

.product-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.1em;
  font-size: 13px;
  text-transform: uppercase;
  background: #fff;
  border: 1px solid rgba(22, 93, 255, 0.25);
  border-radius: 999px;
  padding: 6px 16px;
  box-shadow: var(--shadow);
}

.product-title {
  color: var(--dark);
  font-size: clamp(32px, 3vw, 42px);
  font-weight: 800;
  line-height: 1.3;
  margin: 18px 0;
}

.product-subtitle {
  color: var(--gray);
  font-size: 17px;
  line-height: 1.85;
}

.product-hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.product-hero-image {
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  padding: 14px;
  border: 1px solid var(--border);
  transition: transform 0.4s var(--ease);
}

.product-hero-image:hover {
  transform: translateY(-6px);
}

.product-hero-image img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 12px;
}

.product-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 64px 24px;
}

.product-section .section-title {
  margin-bottom: 12px;
}

.product-section .section-copy {
  margin-bottom: 40px;
}

.product-points {
  background: var(--soft);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.product-feature-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 30px 26px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.product-feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(22, 93, 255, 0.3);
}

.product-feature-card .icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary-light), #fff);
  border: 1px solid rgba(22, 93, 255, 0.16);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition: all 0.3s var(--ease);
}

.product-feature-card .icon svg {
  width: 26px;
  height: 26px;
}

.product-feature-card:hover .icon {
  background: linear-gradient(135deg, var(--primary), #4080FF);
  color: #fff;
  box-shadow: 0 8px 20px rgba(22, 93, 255, 0.32);
}

.product-feature-card h3 {
  color: var(--dark);
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 12px;
}

.product-feature-card p {
  color: var(--gray);
  font-size: 14.5px;
  line-height: 1.8;
}

.product-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.product-list span {
  background: #fff;
  color: var(--primary);
  border: 1px solid rgba(22, 93, 255, 0.28);
  border-radius: 999px;
  padding: 9px 20px;
  font-size: 13.5px;
  font-weight: 600;
  transition: all 0.25s var(--ease);
  cursor: default;
}

.product-list span:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 6px 16px rgba(22, 93, 255, 0.3);
  transform: translateY(-2px);
}

.product-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.product-detail-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.product-detail-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.product-detail-card .icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary-light), #fff);
  border: 1px solid rgba(22, 93, 255, 0.16);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-detail-card .icon svg {
  width: 26px;
  height: 26px;
}

.product-detail-card h3 {
  color: var(--dark);
  font-size: 19px;
  font-weight: 800;
  margin: 16px 0 10px;
}

.product-detail-card p {
  color: var(--gray);
  font-size: 14.5px;
  line-height: 1.8;
}

.product-detail-card ul {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.product-detail-card li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.7;
}

.product-detail-card li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  margin-top: 9px;
  flex-shrink: 0;
}

.product-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.product-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 26px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.stat:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.stat .num {
  display: block;
  font-size: 34px;
  font-weight: 800;
  background: linear-gradient(120deg, var(--primary), #4080FF);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.stat .label {
  color: var(--gray);
  font-size: 13px;
  margin-top: 6px;
}

/* ---------- 11.5 产品页深度内容组件 ---------- */

/* 痛点 → 方案对照 */
.compare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.compare-grid > *, .module-grid > *, .step-grid > *, .tech-grid > *, .faq-list > * {
  min-width: 0;
  overflow-wrap: anywhere;
}

.compare-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 22px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.compare-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.compare-block {
  border-radius: var(--radius);
  padding: 16px 18px;
}

.compare-block.pain {
  background: #FFF7F6;
  border: 1px solid #FFE1DE;
}

.compare-block.answer {
  background: var(--primary-ghost);
  border: 1px solid rgba(22, 93, 255, 0.16);
}

.compare-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 7px;
}

.compare-block.pain .compare-label { color: #C93A36; }
.compare-block.answer .compare-label { color: var(--primary); }

.compare-label::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}

.compare-block p {
  font-size: 14.5px;
  line-height: 1.75;
}

.compare-block.pain p { color: #6B5151; }
.compare-block.answer p { color: var(--text); }
.compare-block.answer p strong { color: var(--primary-dark); }

.compare-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--gray);
  font-size: 12.5px;
  font-weight: 600;
  padding: 9px 0;
}

/* 核心功能模块 */
.module-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.module-card {
  background: #fff;
  border: 1px solid var(--border);
  border-left: 3px solid rgba(22, 93, 255, 0.16);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 26px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.module-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-left-color: var(--primary);
}

.module-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.module-index {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 30px;
  padding: 0 8px;
  border-radius: 9px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.module-card h3 {
  color: var(--dark);
  font-size: 18px;
  font-weight: 800;
}

.module-card > p {
  color: var(--gray);
  font-size: 14px;
  line-height: 1.8;
  margin-top: 12px;
}

.module-card ul {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: grid;
  gap: 9px;
}

.module-card li {
  position: relative;
  padding-left: 18px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.7;
}

.module-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

.module-card li strong {
  color: var(--dark);
  font-weight: 700;
}

/* 标签胶囊（行业角色 / 子能力，可叠加在任意卡片内） */
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.chip-row span {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--primary-dark);
  background: var(--primary-ghost);
  border: 1px solid rgba(22, 93, 255, 0.14);
  border-radius: 999px;
  padding: 4px 12px;
}

.scene-card .chip-row {
  margin-top: 0;
  padding-top: 14px;
  border-top: 1px dashed var(--border);
}

.scene-card > p + .chip-row { margin-top: 14px; }

.scene-card .chip-row span { color: var(--gray); background: var(--soft); border-color: var(--border); }

/* 实施路径 */
.step-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.step-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 26px 22px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--primary), #4080FF);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(22, 93, 255, 0.28);
  margin-bottom: 15px;
}

.step-card h3 {
  color: var(--dark);
  font-size: 16.5px;
  font-weight: 800;
  margin-bottom: 8px;
}

.step-card p {
  color: var(--gray);
  font-size: 13.5px;
  line-height: 1.8;
}

.step-meta {
  margin-top: 13px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--primary);
}

/* 技术形态与安全底座（深色带） */
.tech-band {
  background:
    radial-gradient(52% 92% at 16% 0%, rgba(22, 93, 255, 0.34), transparent 66%),
    linear-gradient(135deg, #0C1730 0%, #152A55 100%);
}

.tech-band .section-title { color: #fff; }
.tech-band .section-copy { color: rgba(224, 234, 255, 0.72); }

.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.tech-card {
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.055);
  border-radius: var(--radius);
  padding: 22px;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}

.tech-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
}

.tech-card .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: rgba(156, 192, 255, 0.16);
  color: #9CC0FF;
  margin-bottom: 14px;
}

.tech-card .icon svg { width: 21px; height: 21px; }
.tech-card h3 { color: #fff; font-size: 16px; font-weight: 800; margin-bottom: 8px; }
.tech-card p { color: rgba(224, 234, 255, 0.7); font-size: 13.5px; line-height: 1.8; }

.tech-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 26px;
}

.tech-foot span {
  font-size: 12.5px;
  color: rgba(224, 234, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 5px 14px;
}

/* 常见问题 */
.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 20px;
  align-items: start;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 0 22px;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 17px 0;
  color: var(--dark);
  font-size: 15.5px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary i {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  transition: transform 0.3s var(--ease);
}

.faq-item[open] summary i { transform: rotate(45deg); }

.faq-item p {
  color: var(--gray);
  font-size: 14.5px;
  line-height: 1.85;
  padding-bottom: 18px;
}

/* 页尾行动条 */
.product-cta {
  background: linear-gradient(120deg, #F2F7FF 0%, #EAF3FF 100%);
  border-top: 1px solid var(--border);
}

.product-cta .product-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  flex-wrap: wrap;
  text-align: left;
  padding-top: 50px;
  padding-bottom: 50px;
}

.product-cta-copy { max-width: 640px; }

.product-cta h2 {
  color: var(--dark);
  font-size: clamp(22px, 2vw, 27px);
  font-weight: 800;
  margin-bottom: 10px;
}

.product-cta p {
  color: var(--gray);
  font-size: 15px;
  line-height: 1.8;
}

/* ---------- 12. 产品中心：双表单 ---------- */
.apply-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  align-items: start;
}

.apply-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  scroll-margin-top: 90px;
}

.apply-card-head {
  padding: 24px 28px 20px;
  border-bottom: 1px solid var(--soft);
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(120deg, var(--primary-ghost), #fff);
}

.apply-card-head .head-ico {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), #4080FF);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(22, 93, 255, 0.3);
  flex-shrink: 0;
}

.apply-card-head .head-ico svg {
  width: 22px;
  height: 22px;
}

.apply-card-head h3 {
  color: var(--dark);
  font-size: 18px;
  font-weight: 800;
}

.apply-card-head p {
  color: var(--gray);
  font-size: 13px;
  margin-top: 2px;
}

.apply-card-body {
  padding: 26px 28px 28px;
}

/* ---------- 13. 表单控件 ---------- */
input[type="text"],
input[type="password"],
input[type="tel"],
input[type="email"],
select,
textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  background: #fff;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="tel"]:focus,
input[type="email"]:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(22, 93, 255, 0.12);
}

input::placeholder,
textarea::placeholder {
  color: #A9AEB8;
}

.field-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
}

.form-grid .span-2 {
  grid-column: 1 / -1;
}

.hero-copy {
  max-width: 620px;
}

.field-hint {
  display: block;
  font-size: 12px;
  color: var(--gray);
  margin-top: 6px;
}

/* ---------- 14. 弹窗 ---------- */
.site-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(29, 33, 41, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: fadeInModal 0.25s var(--ease);
}

@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}

.site-modal.hidden {
  display: none;
}

.site-modal-box {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-deep);
  padding: 28px 30px;
  width: 640px;
  max-width: 94vw;
  max-height: 90vh;
  overflow-y: auto;
  animation: popIn 0.3s var(--ease);
}

@keyframes popIn {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.modal-title {
  color: var(--dark);
  font-size: 20px;
  font-weight: 800;
}

.modal-close {
  background: none;
  border: none;
  color: var(--gray);
  font-size: 24px;
  line-height: 1;
  padding: 4px 8px;
  border-radius: 8px;
  transition: all 0.2s var(--ease);
}

.modal-close:hover {
  color: var(--danger);
  background: #FFF1F0;
}

.modal-divider {
  margin-top: 14px;
  border-bottom: 1px solid var(--border);
}

/* 支付弹窗渠道页签（支付宝 / 微信） */
.pay-tabs {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.pay-tabs .pay-tab {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  background: var(--bg-gray, #F7F8FA);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s var(--ease);
}

.pay-tabs .pay-tab:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.pay-tabs .pay-tab.active {
  color: var(--primary);
  background: var(--primary-light);
  border-color: var(--primary);
}

.pay-tabs .pay-tab[data-pay="wechat"].active {
  color: #07C160;
  border-color: #07C160;
  background: rgba(7, 193, 96, 0.08);
}

/* 未开通的支付渠道：置灰 + 虚线边，仅展示不可选 */
.pay-tabs .pay-tab.disabled {
  opacity: 0.45;
  cursor: not-allowed;
  border-style: dashed;
}

.pay-tabs .pay-tab.disabled:hover {
  border-color: var(--border);
  color: var(--gray);
  background: var(--bg-gray, #F7F8FA);
}

.modal-sub {
  font-size: 13px;
  color: var(--gray);
  margin-top: 10px;
}

/* 试用系统多选 */
.trial-products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
}

.trial-product-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
  background: var(--soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  cursor: pointer;
  user-select: none;
  transition: all 0.2s var(--ease);
}

.trial-product-item:hover {
  border-color: var(--primary);
  background: var(--primary-ghost);
}

.trial-product-item:has(input:checked) {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary-dark);
  font-weight: 600;
}

.trial-product-item input {
  accent-color: var(--primary);
  width: 15px;
  height: 15px;
}

.captcha-hint {
  display: block;
  font-size: 12px;
  margin-top: 4px;
  min-height: 16px;
}

.form-alert {
  font-size: 13px;
  min-height: 18px;
}

.alert-green { color: var(--success); }
.alert-red { color: var(--danger); }

.text-red-600 { color: var(--danger); }
.text-green-700 { color: #15803D; }

/* ---------- 15. 页脚 ---------- */
.product-footer {
  background:
    radial-gradient(60% 120% at 50% -20%, rgba(22, 93, 255, 0.22), transparent 60%),
    #141A26;
  color: #fff;
  padding: 56px 0 0;
}

.footer-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 40px;
}

.footer-column h4 {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}

.footer-column p,
.footer-column li {
  color: #A6ADBD;
  line-height: 1.85;
  font-size: 13.5px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column li {
  margin-bottom: 9px;
  transition: color 0.2s var(--ease);
}

.footer-column li:hover {
  color: #fff;
}

.footer-column a:hover {
  color: #fff;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.footer-brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 9px;
  background: #fff;
}

.footer-brand span {
  font-size: 17px;
  font-weight: 800;
  color: #fff;
}

.footer-bottom {
  margin-top: 36px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #7C8598;
  text-align: center;
  font-size: 13px;
}

/* ---------- 公众号二维码 ---------- */
.qr-line {
  align-items: center;
}

.qr-line .qr-text {
  flex: 1;
  min-width: 0;
}

.qr-line .qr-text .qr-sub {
  font-size: 12.5px;
  color: var(--gray);
  margin-top: 2px;
}

.qr-thumb {
  width: 92px;
  height: 92px;
  padding: 4px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
  flex-shrink: 0;
  transition: transform 0.2s var(--ease);
}

.qr-thumb:hover {
  transform: scale(1.05);
}

.qr-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.footer-qr {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 12px;
  width: 118px;
  transition: transform 0.2s var(--ease);
}

.footer-qr:hover {
  transform: scale(1.04);
}

.footer-qr img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.footer-qr span {
  font-size: 12px;
  color: #303540;
  font-weight: 600;
  padding-bottom: 2px;
}

/* ---------- 16. 下载中心 ---------- */
.download-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.download-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 26px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 18px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.download-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(22, 93, 255, 0.3);
}

.download-ico {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
}

.download-ico.win {
  background: linear-gradient(135deg, #00A4EF, #0078D4);
}

.download-ico.mac {
  background: linear-gradient(135deg, #3C4A5A, #1D2129);
}

.download-ico svg {
  width: 26px;
  height: 26px;
}

.download-info {
  flex: 1;
  min-width: 0;
}

.download-info h3 {
  color: var(--dark);
  font-size: 16px;
  font-weight: 800;
}

.download-info .ver {
  display: inline-block;
  margin-left: 8px;
  font-size: 12px;
  color: var(--primary);
  background: var(--primary-light);
  border-radius: 999px;
  padding: 1px 10px;
  font-weight: 700;
  vertical-align: 1px;
}

.download-info p {
  color: var(--gray);
  font-size: 13px;
  margin-top: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- 17. 登录页 ---------- */
.login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 96px 16px 48px;
  background:
    radial-gradient(50% 60% at 85% 10%, rgba(22, 93, 255, 0.14), transparent 66%),
    radial-gradient(40% 50% at 10% 90%, rgba(64, 128, 255, 0.10), transparent 70%),
    linear-gradient(180deg, #EAF3FF 0%, #F6F9FF 60%, #fff 100%);
}

.login-card {
  width: 420px;
  max-width: 94vw;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  padding: 38px 36px 32px;
}

.login-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 26px;
}

.login-brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  border-radius: 14px;
  margin-bottom: 14px;
  box-shadow: var(--shadow);
}

.login-brand h1 {
  color: var(--dark);
  font-size: 20px;
  font-weight: 800;
}

.login-brand p {
  color: var(--gray);
  font-size: 13px;
  margin-top: 4px;
}

.login-tip {
  margin-top: 18px;
  font-size: 12px;
  color: var(--gray);
  background: var(--soft);
  border: 1px dashed var(--border);
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  text-align: center;
}

/* ---------- 18. 工具类（去重后的最小子集） ---------- */
.hidden {
  display: none !important;
}

.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-gray { color: var(--gray); }
.text-white { color: #fff; }
.font-bold { font-weight: 700; }
.mt-1 { margin-top: 4px; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
.mt-5 { margin-top: 20px; }
.mt-6 { margin-top: 24px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 16px; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1 1 0%; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.w-full { width: 100%; }
.relative { position: relative; }
.uppercase { text-transform: uppercase; }
.rounded { border-radius: 6px; }
.rounded-lg { border-radius: var(--radius-sm); }
.rounded-xl { border-radius: var(--radius); }
.whitespace-nowrap { white-space: nowrap; }
.space-y-2 > * + * { margin-top: 8px; }
.space-y-3 > * + * { margin-top: 12px; }
.space-y-4 > * + * { margin-top: 16px; }

/* ---------- 19. 响应式 ---------- */
@media (max-width: 1200px) {
  .pkg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-wrap { gap: 40px; }
}

@media (max-width: 1024px) {
  .site-menu { display: none; }
  .site-mobile-toggle { display: inline-flex; }
  .product-hero-wrap { grid-template-columns: 1fr; gap: 36px; }
  .product-hero-image img { height: 280px; }
  .hero-media { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .contact-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .apply-grid { grid-template-columns: 1fr; }
  .step-grid, .tech-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .section { padding: 60px 0; }
  .home-hero { padding: 120px 0 64px; }
  .hero-wrap { grid-template-columns: 1fr; }
  .hero-title { font-size: 32px; }
  .pkg-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .order-band { grid-template-columns: 1fr; padding: 26px 22px; }
  .order-form { grid-template-columns: 1fr; }
  .order-form .col-4, .order-form .col-3, .order-form .col-2 { grid-column: 1 / -1; }
  .order-form .btn { margin-top: 4px; }
  .product-detail-grid, .product-split, .download-grid { grid-template-columns: 1fr; }
  .compare-grid, .module-grid, .faq-list { grid-template-columns: minmax(0, 1fr); }
  .step-grid, .tech-grid { grid-template-columns: minmax(0, 1fr); }
  .product-cta .product-section { flex-direction: column; align-items: flex-start; }
  .product-stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .about-stats { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .trial-products { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .hero-chip { display: none; }
  .site-navbar { padding: 0 16px; }
  .container, .section-head, .about-grid, .contact-grid { padding-left: 16px; padding-right: 16px; }
  .product-hero-wrap { padding: 0 16px; }
  .product-section { padding: 48px 16px; }
}

/* ---------- 产品页：系统界面预览 ---------- */
.shot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.shot-card {
  position: relative;
  display: block;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
}

.shot-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-deep);
}

.shot-card img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.4s var(--ease);
}

.shot-card:hover img {
  transform: scale(1.045);
}

.shot-tag {
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(180deg, rgba(13, 33, 84, 0) 0%, rgba(13, 33, 84, 0.78) 60%);
}

.shot-tag::after {
  content: "查看手册对应章节 →";
  margin-left: auto;
  font-weight: 500;
  font-size: 12px;
  opacity: 0;
  transform: translateX(6px);
  transition: all 0.25s var(--ease);
}

.shot-card:hover .shot-tag::after {
  opacity: 0.92;
  transform: none;
}

/* ---------- 产品页：操作手册引导条 ---------- */
.manual-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  margin-top: 22px;
  padding: 26px 30px;
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: 12px;
  background: linear-gradient(135deg, #F4F8FF 0%, #FFFFFF 60%);
}

.manual-band h3 {
  font-size: 17px;
  color: var(--dark);
  margin-bottom: 6px;
}

.manual-band p {
  font-size: 13.5px;
  color: var(--gray);
  line-height: 1.7;
}

.manual-band-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.shot-cover {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.shot-cover b {
  font-size: 13px;
  color: var(--gray);
  align-self: center;
  margin-right: 4px;
}

/* 套餐卡：详情 + 手册双入口 */
.pkg-more-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
}

.pkg-more-row .pkg-more {
  margin-top: 0;
}

.pkg-manual {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray);
  white-space: nowrap;
  transition: color 0.2s var(--ease);
}

.pkg-manual:hover {
  color: var(--primary);
}

.pkg-manual [data-icon] svg {
  width: 15px;
  height: 15px;
}

.pkg-row-links {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.pkg-login {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  white-space: nowrap;
  background: var(--primary-light);
  border-radius: 999px;
  padding: 5px 14px;
  transition: all 0.2s var(--ease);
}

.pkg-login:hover {
  color: #fff;
  background: var(--primary);
  box-shadow: 0 4px 12px rgba(22, 93, 255, 0.3);
}

.pkg-login [data-icon] svg {
  width: 15px;
  height: 15px;
}

/* ---------- 首页：系统登录入口（深蓝品牌带 + 玻璃卡片） ---------- */
.login-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(64, 158, 255, 0.28), transparent 60%),
    radial-gradient(700px 420px at 8% 110%, rgba(22, 93, 255, 0.25), transparent 60%),
    linear-gradient(140deg, #0a1a3d 0%, #10285e 52%, #143a86 100%);
}

.login-band-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 78%);
  mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 78%);
  pointer-events: none;
}

.login-band .section-head,
.login-band .container { position: relative; z-index: 1; }

.login-band .section-kicker { color: #7bb4ff; }
.login-band .section-title { color: #fff; }
.login-band .section-desc { color: rgba(255, 255, 255, 0.68); }

.login-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.portal-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 22px 22px 16px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.portal-card:hover {
  transform: translateY(-4px);
  border-color: rgba(123, 180, 255, 0.6);
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 14px 36px rgba(2, 12, 40, 0.45);
}

.portal-card-top {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.portal-card-icon {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, #165dff, #4080ff);
  box-shadow: 0 6px 16px rgba(22, 93, 255, 0.35);
}

.portal-card-icon svg { width: 22px; height: 22px; }

.portal-card-icon.t-indigo  { background: linear-gradient(135deg, #5b5bd6, #7c7ff2); box-shadow: 0 6px 16px rgba(91, 91, 214, 0.38); }
.portal-card-icon.t-cyan    { background: linear-gradient(135deg, #0ea5b7, #38bdf8); box-shadow: 0 6px 16px rgba(14, 165, 183, 0.38); }
.portal-card-icon.t-amber   { background: linear-gradient(135deg, #d97706, #fbbf24); box-shadow: 0 6px 16px rgba(217, 119, 6, 0.38); }
.portal-card-icon.t-green   { background: linear-gradient(135deg, #0f9d58, #4ade80); box-shadow: 0 6px 16px rgba(15, 157, 88, 0.38); }
.portal-card-icon.t-violet  { background: linear-gradient(135deg, #7c3aed, #c084fc); box-shadow: 0 6px 16px rgba(124, 58, 237, 0.38); }

.portal-card-head { min-width: 0; }

.portal-card-body { flex: 1; min-width: 0; }

.portal-card-head h3 {
  font-size: 16.5px;
  color: #fff;
  margin-bottom: 3px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.portal-card-head p {
  margin: 0;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.6);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.portal-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.portal-pkg {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.45);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.portal-go {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 600;
  color: #7bb4ff;
  flex-shrink: 0;
}

.portal-go svg {
  width: 15px;
  height: 15px;
  transition: transform 0.2s var(--ease);
}

.portal-card:hover .portal-go { color: #a8ccff; }
.portal-card:hover .portal-go svg { transform: translateX(3px); }

.login-help {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 26px;
  padding: 16px 22px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 14px;
}

.login-help-text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.72);
}

.login-help-text svg { width: 16px; height: 16px; color: #7bb4ff; }

.login-help-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-glass {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 1023px) {
  .shot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .manual-band { flex-direction: column; align-items: flex-start; }
  .login-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .shot-grid { grid-template-columns: 1fr; }
  .manual-band { padding: 20px; }
  .manual-band-actions { width: 100%; }
  .manual-band-actions .btn { flex: 1; justify-content: center; }
  .login-grid { grid-template-columns: 1fr; }
  .pkg-row-links { gap: 10px; }
}

/* ---------- 营业执照照片上传 / OCR ---------- */
.license-ocr-box {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 6px 0 14px;
}
.license-ocr-box .license-photo-btn { font-size: 13px; padding: 8px 14px; }
.license-ocr-box .license-ocr-status {
  font-size: 12.5px;
  color: var(--gray);
}

.license-photo-preview {
  width: 120px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border);
  margin-top: 8px;
}
/* ---------- 订阅弹窗套餐选择列表（产品 -> 多套餐） ---------- */
.sub-pkg-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 260px;
  overflow-y: auto;
  padding: 2px;
}

.sub-pkg-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s var(--ease), background 0.15s var(--ease), box-shadow 0.15s var(--ease);
}

.sub-pkg-option:hover {
  border-color: var(--primary);
}

.sub-pkg-option.selected {
  border-color: var(--primary);
  background: var(--primary-ghost);
  box-shadow: 0 0 0 2px rgba(22, 93, 255, 0.12);
}

.sub-pkg-option input[type="radio"] {
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
  flex-shrink: 0;
  margin: 0;
}

.sub-pkg-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.sub-pkg-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
}

.sub-pkg-meta {
  font-size: 12px;
  color: var(--gray);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sub-pkg-price {
  flex-shrink: 0;
  text-align: right;
}

.sub-pkg-price b {
  font-size: 17px;
  color: var(--primary);
  font-weight: 800;
}

.sub-pkg-price i {
  font-style: normal;
  font-size: 12px;
  color: var(--gray);
}

/* 产品卡片：无价格时的套餐数提示 */
.pkg-plan-count {
  font-size: 13px;
  color: var(--gray);
  font-weight: 600;
}
/* 管理后台：套餐按产品分组（二维视图） */
.pkg-group-row td {
  background: var(--primary-ghost);
  padding: 8px 10px;
}

.pkg-group-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pkg-group-head b {
  font-size: 14px;
  color: var(--dark);
}


