/* =========================================================
   江西真形生物科技有限公司 · 官网样式
   品牌主色 #5B2D8E | 辅色 #9B7FC7 | 点缀 #2B3A8F
   移动端优先（Mobile-First）
   ========================================================= */

/* ---------- 设计令牌 ---------- */
:root {
  --primary: #5B2D8E;
  --primary-dark: #4A2474;
  --primary-light: #9B7FC7;
  --primary-tint: #F5F1FB;

  --accent: #2B3A8F;

  --bg: #FFFFFF;
  --bg-soft: #F8F6FC;
  --bg-subtle: #F1ECF8;

  --text-dark: #2B2B2B;
  --text-mid: #666666;
  --text-light: #9A93A8;

  --border: #E9E4F1;
  --border-strong: #D9D1E6;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;

  --shadow-xs: 0 1px 2px rgba(91, 45, 142, 0.05);
  --shadow-sm: 0 4px 14px rgba(91, 45, 142, 0.07);
  --shadow-md: 0 10px 30px rgba(91, 45, 142, 0.10);
  --shadow-lg: 0 20px 48px rgba(91, 45, 142, 0.16);

  --font-sans: "Inter", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC",
    -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 1120px;
  --header-h: 72px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset & 基础 ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px; line-height: 1.7;
  color: var(--text-dark);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
button { font-family: inherit; cursor: pointer; background: none; border: none; }
input, textarea { font-family: inherit; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--primary); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- 布局工具 ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: 64px 0; }
.section-head { max-width: 640px; margin: 0 auto 40px; text-align: center; }

.section-kicker {
  display: inline-block; font-size: 13px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--primary); background: var(--primary-tint);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 16px;
}
.section-title { font-size: 26px; line-height: 1.3; font-weight: 700; letter-spacing: -0.01em; }
.section-lead { margin-top: 12px; font-size: 15px; color: var(--text-mid); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: 16px; line-height: 1;
  border-radius: var(--radius-sm);
  padding: 0 24px; height: 48px;
  border: 1.5px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
}
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 8px 20px rgba(91, 45, 142, 0.26); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(91, 45, 142, 0.32); }
.btn-primary:active { transform: translateY(0); }
.btn-outline { background: #fff; color: var(--primary); border-color: var(--border-strong); }
.btn-outline:hover { border-color: var(--primary); background: var(--primary-tint); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-lg { height: 52px; padding: 0 30px; }
.btn-sm { height: 40px; padding: 0 20px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--header-h);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--border); box-shadow: var(--shadow-xs); }

.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; }
.brand-logo { height: 34px; width: auto; }

.main-nav { display: none; }
.header-actions { display: flex; align-items: center; gap: 10px; }

.header-phone {
  display: none; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 600; color: var(--text-dark);
  transition: color 0.2s var(--ease);
}
.header-phone:hover { color: var(--primary); }
.header-cta { display: none; }

.nav-phone {
  display: none; align-items: center; justify-content: center; gap: 8px;
  margin-top: 12px; height: 46px;
  font-weight: 600; color: #fff; background: var(--primary);
  border-radius: var(--radius-sm);
}

/* 汉堡按钮 */
.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 10px; border-radius: 10px;
}
.nav-toggle-bar {
  display: block; width: 22px; height: 2px; background: var(--text-dark);
  border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 移动端下拉导航（全屏抽屉式） */
.main-nav.is-open {
  display: flex; flex-direction: column;
  position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
  background: #fff; padding: 12px 20px 28px;
  overflow-y: auto;
  animation: navDrop 0.28s var(--ease);
}
@keyframes navDrop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
.main-nav.is-open .nav-link {
  padding: 16px 4px; font-size: 18px; font-weight: 600;
  border-bottom: 1px solid var(--border);
}
.main-nav.is-open .nav-link:last-of-type { border-bottom: none; }
.main-nav.is-open .nav-phone { display: inline-flex; }

/* ---------- Hero（首页首屏） ---------- */
.hero {
  position: relative; padding: calc(var(--header-h) + 56px) 0 64px;
  min-height: 92vh; display: flex; align-items: center; overflow: hidden;
  background: linear-gradient(180deg, #F6F3FC 0%, #FFFFFF 100%);
}
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-orb { position: absolute; border-radius: 50%; }
.hero-orb-1 {
  width: 340px; height: 340px; top: -120px; right: -140px;
  background: radial-gradient(circle at center, rgba(155, 127, 199, 0.35), rgba(155, 127, 199, 0));
  animation: float 9s ease-in-out infinite;
}
.hero-orb-2 {
  width: 300px; height: 300px; bottom: -120px; left: -120px;
  background: radial-gradient(circle at center, rgba(43, 58, 143, 0.22), rgba(43, 58, 143, 0));
  animation: float 11s ease-in-out infinite reverse;
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-22px); } }
.hero-mol { position: absolute; top: 50%; left: 50%; width: 460px; height: 460px; transform: translate(-50%, -50%); opacity: 0.7; }

.hero-cover { position: absolute; inset: 0; z-index: 1; }
.hero-cover img { width: 100%; height: 100%; object-fit: cover; }
.hero-cover-mask {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(248, 246, 252, 0.5), rgba(255, 255, 255, 0.92));
}

.hero-inner { position: relative; z-index: 2; text-align: center; max-width: 760px; margin: 0 auto; }
.hero-eyebrow {
  display: inline-block; font-size: 15px; font-weight: 600; letter-spacing: 0.14em;
  color: var(--primary); background: rgba(255, 255, 255, 0.7); border: 1px solid var(--border);
  padding: 6px 16px; border-radius: 999px; margin-bottom: 22px;
}
.hero-title { font-size: clamp(36px, 8.5vw, 60px); line-height: 1.12; font-weight: 800; letter-spacing: -0.02em; }
.accent-dot { color: var(--primary); }
.accent-segment { color: var(--primary); }
.hero-subtitle { margin: 22px auto 0; max-width: 560px; font-size: 16px; line-height: 1.85; color: var(--text-mid); }
.hero-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 32px; }
.hero-actions .btn { width: 100%; }
.hero-note { margin: 18px auto 0; max-width: 560px; font-size: 13px; color: var(--text-light); text-align: left; }
.hero-note-source { margin: 6px auto 0; max-width: 560px; font-size: 12px; color: var(--text-light); text-align: right; }

/* ---------- 首页：关于简版 ---------- */
.home-about-grid { display: grid; gap: 20px; }
.home-about-head .section-title { font-size: 26px; }
.home-about-body p { font-size: 16px; color: var(--text-mid); margin-bottom: 16px; }

/* ---------- 首页：平台入口 ---------- */
.platform-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.platform-card {
  display: flex; flex-direction: column; gap: 8px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px 18px; text-align: left;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.platform-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.platform-badge {
  width: 44px; height: 44px; border-radius: 12px; margin-bottom: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 700; color: #fff; background: var(--primary);
}
.platform-name { font-size: 17px; font-weight: 700; }
.platform-desc { font-size: 13px; color: var(--text-mid); }

/* ---------- 首页：企业实力简版 ---------- */
.home-strength { background: var(--bg-soft); }
.home-strength-text { max-width: 640px; margin: 0 auto; text-align: center; font-size: 16px; color: var(--text-mid); }
.home-more { display: flex; justify-content: center; margin-top: 20px; }

/* ---------- 标签（关键词 pill） ---------- */
.tag-list { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 20px; }
.tag-pill {
  display: inline-block; padding: 8px 16px;
  font-size: 14px; font-weight: 500; color: var(--primary);
  background: var(--primary-tint); border: 1px solid var(--border);
  border-radius: 999px;
}

/* ---------- 首页：联系我们入口 ---------- */
.home-contact-card {
  display: grid; gap: 20px; align-items: center;
  background: linear-gradient(135deg, var(--primary) 0%, #6C3FA5 100%);
  color: #fff; border-radius: var(--radius-lg);
  padding: 32px 24px;
}
.home-contact-card .section-title { color: #fff; }
.home-contact-card p { margin-top: 8px; color: rgba(255, 255, 255, 0.82); }
.home-contact-actions { display: flex; flex-direction: column; gap: 12px; }
.home-contact-actions .btn-outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.5); }
.home-contact-actions .btn-outline:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; color: #fff; }

/* ---------- 文字链 ---------- */
.text-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--primary); font-weight: 600; font-size: 15px;
  transition: gap 0.25s var(--ease);
}
.text-link:hover { gap: 10px; }

/* ---------- 页头（子页面 Banner） ---------- */
.page-hero {
  position: relative; padding: calc(var(--header-h) + 44px) 0 24px;
  background: linear-gradient(180deg, #F6F3FC 0%, #FFFFFF 100%);
  overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; top: -80px; right: -80px; width: 260px; height: 260px;
  border-radius: 50%; background: radial-gradient(circle at center, rgba(155, 127, 199, 0.3), rgba(155, 127, 199, 0));
}
.breadcrumb { font-size: 13px; color: var(--text-light); margin-bottom: 12px; }
.breadcrumb a:hover { color: var(--primary); }
.crumb-sep { margin: 0 8px; color: var(--border-strong); }
.page-title { font-size: clamp(28px, 6vw, 40px); font-weight: 800; letter-spacing: -0.01em; }
.page-lead { margin-top: 10px; font-size: 16px; font-weight: 600; color: var(--text-mid); max-width: 560px; }
.page-hero + .section { padding-top: 24px; }

/* ---------- 关于我们 / 企业实力（图文页） ---------- */
.about-grid, .strength-grid { display: grid; gap: 32px; align-items: center; }
.about-text p, .strength-text p { font-size: 16px; color: var(--text-mid); margin-bottom: 16px; }
.about-subhead { font-size: 18px; font-weight: 700; color: var(--primary); margin: 26px 0 10px; }
.strength-text .tag-list { justify-content: flex-start; }

/* ---------- 产品中心 ---------- */
.platform-tabs {
  display: flex; gap: 10px; overflow-x: auto;
  padding-bottom: 6px; margin-bottom: 28px;
  scrollbar-width: none;
}
.platform-tabs::-webkit-scrollbar { display: none; }
.platform-tab {
  flex: none; padding: 10px 22px; font-size: 15px; font-weight: 600;
  color: var(--text-mid); background: #fff; border: 1.5px solid var(--border);
  border-radius: 999px; transition: all 0.25s var(--ease);
}
.platform-tab:hover { color: var(--primary); border-color: var(--border-strong); }
.platform-tab.is-active { color: #fff; background: var(--primary); border-color: var(--primary); box-shadow: 0 6px 16px rgba(91, 45, 142, 0.24); }

.platform-desc-line { font-size: 14px; color: var(--text-light); margin: -12px 0 20px; text-align: center; }

.product-panel { display: none; }
.product-panel.is-active { display: block; animation: fadeUp 0.5s var(--ease); }

.product-grid { display: grid; gap: 22px; grid-template-columns: 1fr; }
.product-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  border-top: 4px solid var(--primary); overflow: hidden; box-shadow: var(--shadow-xs);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.product-media { aspect-ratio: 16 / 10; overflow: hidden; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.product-card:hover .product-media img { transform: scale(1.05); }
.product-body { padding: 20px; }
.product-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.product-tag {
  display: inline-block; font-size: 12px; font-weight: 600; color: var(--primary);
  background: var(--primary-tint); padding: 4px 12px; border-radius: 999px;
}
.product-name { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.product-desc { font-size: 14px; color: var(--text-mid); }
.product-more {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 16px;
  font-size: 14px; font-weight: 600; color: var(--primary); padding: 0;
  transition: gap 0.25s var(--ease);
}
.product-more:hover { gap: 10px; }

/* ---------- 产品中心：平台 Tab + 上下结构 ---------- */
.pc-tabs { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 10px; margin: 0 auto 28px; max-width: 760px; }
.pc-tab {
  padding: 10px 20px; font-size: 15px; font-weight: 500; cursor: pointer;
  color: var(--text-mid); background: #fff; border: 1.5px solid var(--border); border-radius: 999px;
  transition: color 0.25s var(--ease), background-color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.pc-tab:hover { color: var(--primary); border-color: var(--border-strong); }
.pc-tab.is-active { color: #fff; background: var(--primary); border-color: var(--primary); font-weight: 700; }

.pc-panel { display: none; text-align: left; }
.pc-panel.is-active { display: block; animation: fadeUp 0.5s var(--ease); }
.pc-panels { max-width: 760px; margin: 0 auto; }
.pc-value { font-size: 15px; font-weight: 600; color: var(--primary); margin-bottom: 20px; }
.pc-img-wrap { position: relative; margin: 0 0 20px; }
.pc-img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.pc-img-tag {
  position: absolute; right: 16px; bottom: 12px;
  font-size: 20px; font-weight: 800; letter-spacing: 2px;
  color: #fff; text-shadow: 0 2px 10px rgba(36, 27, 58, 0.65);
}
.pc-intro-title { font-size: 16px; font-weight: 700; color: var(--text-dark); margin-bottom: 10px; }
.pc-intro { font-size: 15px; color: var(--text-mid); line-height: 1.8; max-width: 760px; margin: 0 0 20px; }
.pc-prods-title { font-size: 16px; font-weight: 700; color: var(--text-dark); margin-bottom: 10px; }
.pc-prods { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 8px; }
.pc-prod {
  font-size: 13px; font-weight: 600; color: var(--primary);
  background: var(--primary-tint); padding: 6px 12px; border-radius: 999px; text-decoration: none;
}
.pc-prod:hover { background: var(--primary); color: #fff; }
.pc-more { display: block; margin-top: 14px; font-size: 22px; font-weight: 700; color: var(--primary); text-decoration: none; letter-spacing: 2px; }

/* ---------- 产品中心：平台详情（列表 + 展示） ---------- */
.platform-layout { display: grid; gap: 28px; }
.platform-list-title { font-size: 20px; font-weight: 700; margin-bottom: 16px; }
.pl-tab {
  display: block; width: 100%; text-align: left; cursor: pointer;
  padding: 14px 16px; margin-bottom: 10px;
  font-size: 15px; font-weight: 600; color: var(--text-dark);
  background: #fff; border: 1.5px solid var(--border); border-radius: var(--radius);
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease), background-color 0.25s var(--ease);
}
.pl-tab:hover { border-color: var(--border-strong); }
.pl-tab.is-active { border-color: var(--primary); color: var(--primary); background: var(--primary-tint); }
.pl-empty { color: var(--text-light); font-size: 14px; padding: 20px 0; }

.pl-display { display: grid; gap: 22px; align-content: start; }
.pl-display-media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.pl-display-media img { width: 100%; height: auto; display: block; }
.pl-display-body { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; }
.pl-display-name { font-size: 24px; font-weight: 700; color: var(--text-dark); margin-bottom: 8px; }
.pl-display-spec { font-size: 14px; color: var(--text-mid); margin-bottom: 10px; }
.pl-display-desc { font-size: 15px; color: var(--text-mid); line-height: 1.75; margin-bottom: 18px; }
.pl-display-detail { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--border); }
.pl-display-detail-title { font-size: 16px; font-weight: 700; color: var(--text-dark); margin-bottom: 10px; }
.pl-display-detail p { font-size: 14px; color: var(--text-mid); line-height: 1.75; margin-bottom: 10px; }

@media (min-width: 768px) {
  .platform-layout { grid-template-columns: 300px 1fr; align-items: start; }
}

/* ---------- 联系我们 ---------- */
.contact { background: var(--bg-soft); }
.contact-grid { display: grid; gap: 28px; }
.contact-stack { max-width: 760px; margin: 0 auto; display: grid; gap: 32px; }
.msg-actions { display: flex; gap: 12px; margin-top: 4px; }
.msg-actions .btn { flex: 1; }
.contact-info, .contact-form-wrap {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-xs);
}
.contact-info-title, .contact-form-title { font-size: 18px; font-weight: 700; margin-bottom: 20px; }
.contact-list { display: grid; gap: 22px; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-ico {
  flex: none; width: 44px; height: 44px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--primary); background: var(--primary-tint);
}
.contact-item-body { display: flex; flex-direction: column; }
.contact-label { font-size: 13px; color: var(--text-light); margin-bottom: 2px; }
.contact-value { font-size: 15px; color: var(--text-dark); font-weight: 500; }
a.contact-value:hover { color: var(--primary); }

.contact-form { display: grid; gap: 16px; }
.form-row { display: grid; gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field label { font-size: 14px; font-weight: 600; }
.req { color: #E5484D; }
.form-field input, .form-field textarea {
  width: 100%; font-size: 15px; color: var(--text-dark);
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  padding: 13px 14px; background: #fff; resize: vertical;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--text-light); }
.form-field input:focus, .form-field textarea:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(91, 45, 142, 0.12);
}
.form-field.has-error input, .form-field.has-error textarea { border-color: #E5484D; }
.form-error { font-size: 12px; color: #E5484D; display: none; }
.form-field.has-error .form-error { display: block; }
.form-hint { font-size: 12px; color: var(--text-light); text-align: center; }

/* ---------- 产品详情弹窗 ---------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 300;
  display: flex; align-items: center; justify-content: center; padding: 20px;
  background: rgba(43, 27, 58, 0.55);
  backdrop-filter: blur(4px);
}
.modal-overlay[hidden] { display: none; }
.modal {
  position: relative; width: 100%; max-width: 460px; max-height: 90vh; overflow-y: auto;
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  animation: fadeUp 0.35s var(--ease);
}
.modal-close {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%;
  font-size: 26px; line-height: 1; color: #fff;
  background: rgba(0, 0, 0, 0.35); transition: background-color 0.2s var(--ease);
}
.modal-close:hover { background: rgba(0, 0, 0, 0.55); }
.modal-image { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.modal-body { padding: 22px; }
.modal-title { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.modal-desc { font-size: 15px; color: var(--text-mid); margin-bottom: 14px; }
.modal-body .product-tags { margin-bottom: 18px; }
.modal-body .btn { width: 100%; }

/* ---------- 页脚 ---------- */
.site-footer { background: #241B3A; color: rgba(255, 255, 255, 0.72); }
.footer-inner { display: grid; gap: 36px; padding-top: 100px; padding-bottom: 44px; }
.footer-logo { filter: brightness(0) invert(1) opacity(0.95); height: 40px; width: auto; flex: none; }
.footer-brand { display: flex; flex-direction: column; gap: 20px; }
.footer-brand-top { display: flex; align-items: center; gap: 16px; }
.footer-brand-text { display: flex; flex-direction: column; min-width: 0; }
.footer-name { font-size: 16px; font-weight: 600; color: #fff; line-height: 1.4; }
.footer-enname { margin-top: 2px; font-size: 12px; letter-spacing: 0.4px; color: rgba(255, 255, 255, 0.5); line-height: 1.4; }
.footer-slogan { font-size: 15px; font-weight: 700; letter-spacing: 2px; }
.slogan-accent { color: var(--primary-light); }
.footer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col-title { font-size: 15px; font-weight: 600; color: #fff; margin-bottom: 4px; }
.footer-link { font-size: 14px; color: rgba(255, 255, 255, 0.68); transition: color 0.2s var(--ease); }
.footer-link:hover { color: #fff; }
.footer-addr { line-height: 1.6; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); }
.footer-bottom-inner {
  display: flex; flex-direction: column; gap: 8px; padding: 20px; font-size: 13px; text-align: center;
}
.footer-icp a { color: rgba(255, 255, 255, 0.6); }
.footer-icp a:hover { color: #fff; }

/* ---------- 动画 ---------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }

.hero-inner, .page-hero .container { animation: fadeUp 0.7s var(--ease) both; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- 断点 ---------- */
@media (min-width: 640px) {
  .section { padding: 80px 0; }
  .platform-tabs { justify-content: center; }
  .section-title { font-size: 32px; }
  .hero-actions { flex-direction: row; justify-content: center; }
  .hero-actions .btn { width: auto; min-width: 168px; }
  .form-row { grid-template-columns: 1fr 1fr; }
  .footer-nav { grid-template-columns: repeat(3, 1fr); }
  .home-contact-actions { flex-direction: row; }
  .home-contact-card { grid-template-columns: 1fr auto; }
}

@media (min-width: 768px) {
  .section { padding: 96px 0; }
  .section-title { font-size: 36px; }
  .hero { min-height: 82vh; padding: calc(var(--header-h) + 64px) 0 88px; }
  .hero-subtitle { font-size: 18px; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .platform-grid { grid-template-columns: repeat(4, 1fr); }
  .contact-grid { grid-template-columns: 5fr 7fr; align-items: start; }
  .home-about-grid { grid-template-columns: 2fr 3fr; align-items: start; }
  .about-grid, .strength-grid { max-width: 760px; margin: 0 auto; }
  .footer-inner { grid-template-columns: 1.1fr 1.9fr; }
  .footer-bottom-inner { flex-direction: row; justify-content: space-between; text-align: left; }
}

@media (min-width: 1024px) {
  .container { padding: 0 32px; }
  .brand-logo { height: 40px; }

  .main-nav { display: flex; align-items: center; gap: 4px; }
  .nav-link {
    position: relative; display: inline-block; padding: 8px 16px;
    font-size: 15px; font-weight: 500; color: var(--text-dark); border-radius: 8px;
    transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
  }
  .nav-link:hover { color: var(--primary); background: var(--primary-tint); }
  .nav-link.active { color: var(--primary); font-weight: 600; }
  .nav-link.active::after {
    content: ""; position: absolute; left: 16px; right: 16px; bottom: 2px;
    height: 2px; background: var(--primary); border-radius: 2px;
  }
  .nav-phone { display: none; }

  .header-phone { display: inline-flex; }
  .header-cta { display: inline-flex; }
  .nav-toggle { display: none; }

  /* 桌面端首页只留首屏 */
  .home-about, .home-strength, .home-contact, .home-platforms { display: none; }
}

/* ---------- 无障碍 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero-inner, .page-hero .container { animation: none; }
}

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--primary); outline-offset: 2px;
}

/* =========================================================
   轮播（首页 Hero + 产品详情弹窗）
   ========================================================= */

/* ---------- 首页 Hero 轮播 ---------- */
.hero-slider { position: absolute; inset: 0; z-index: 1; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.8s var(--ease); }
.hero-slide.is-active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-dots {
  position: absolute; bottom: 22px; left: 0; right: 0; z-index: 2;
  display: flex; justify-content: center; gap: 8px;
}
.hero-dot {
  width: 8px; height: 8px; border-radius: 999px; padding: 0;
  background: rgba(255, 255, 255, 0.65); cursor: pointer;
  transition: width 0.25s var(--ease), background-color 0.25s var(--ease);
}
.hero-dot.is-active { width: 22px; background: var(--primary); }

/* ---------- 产品详情弹窗轮播 ---------- */
.modal-slider { position: relative; background: #F3EFF9; }
.modal-slides { position: relative; aspect-ratio: 16 / 11; overflow: hidden; }
.modal-slide {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0; transition: opacity 0.35s var(--ease);
}
.modal-slide.is-active { opacity: 1; }
.modal-slide-empty {
  display: flex; align-items: center; justify-content: center;
  color: var(--text-light); font-size: 14px; opacity: 1;
}
.modal-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(0, 0, 0, 0.32); color: #fff; font-size: 24px; line-height: 1;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: background-color 0.2s var(--ease);
}
.modal-arrow:hover { background: rgba(0, 0, 0, 0.52); }
.modal-prev { left: 10px; }
.modal-next { right: 10px; }
.modal-dots { position: absolute; bottom: 10px; left: 0; right: 0; z-index: 2; display: flex; justify-content: center; gap: 6px; }
.modal-dot { width: 7px; height: 7px; border-radius: 999px; padding: 0; background: rgba(255, 255, 255, 0.75); cursor: pointer; }
.modal-dot.is-active { background: var(--primary); }
.modal-spec { font-size: 13px; color: var(--text-mid); margin-bottom: 6px; }
.modal-spec:empty { display: none; }

/* ============ 产品详情页（独立宣传页） ============ */
.pd-crumb { padding-top: 18px; margin-bottom: 0; }
.pd-layout { display: grid; grid-template-columns: 1.05fr 1fr; gap: 36px; align-items: start; }
.pd-media { position: relative; }
.pd-poster { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); display: block; }
.pd-gallery { position: relative; margin-top: 14px; border-radius: var(--radius); overflow: hidden; }
.pd-slide { display: none; }
.pd-slide.is-active { display: block; animation: fadeUp 0.35s var(--ease); }
.pd-slide img { width: 100%; height: 320px; object-fit: cover; display: block; }
.pd-dots { display: flex; gap: 8px; justify-content: center; margin-top: 10px; }
.pd-dot { width: 26px; height: 4px; border-radius: 999px; padding: 0; background: var(--border); cursor: pointer; transition: background-color 0.2s var(--ease); }
.pd-dot.is-active { background: var(--primary); }
.pd-info { padding-top: 4px; }
.pd-name { font-size: 26px; font-weight: 700; color: var(--text-dark); margin: 12px 0 10px; }
.pd-spec { font-size: 14px; color: var(--text-mid); margin-bottom: 10px; }
.pd-desc { font-size: 15px; color: var(--text-mid); margin-bottom: 20px; }
.pd-body { margin-top: 40px; max-width: 860px; }
.pd-body .section-title { text-align: left; }
.pd-body p { font-size: 15px; line-height: 1.9; color: var(--text-mid); margin-bottom: 14px; }
@media (max-width: 720px) {
  .pd-layout { grid-template-columns: 1fr; gap: 22px; }
  .pd-name { font-size: 21px; }
}
