/* ==========================================================
   山东淼贤软件有限公司 官网全局样式
   深蓝科技主色调 + 浅灰背景 + 白色卡片
   ========================================================== */

:root {
  --primary: #1e3a8a;
  --primary-dark: #142552;
  --primary-light: #3b5fc7;
  --accent: #2563eb;
  --accent-light: #60a5fa;
  --text-main: #1f2937;
  --text-sub: #6b7280;
  --bg-gray: #f5f7fa;
  --border: #e5e7eb;
  --white: #ffffff;
  --radius: 10px;
  --shadow: 0 4px 20px rgba(30, 58, 138, 0.08);
  --shadow-hover: 0 10px 30px rgba(30, 58, 138, 0.15);
  --nav-height: 68px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Segoe UI", Arial, sans-serif;
  color: var(--text-main);
  background: var(--white);
  line-height: 1.7;
  font-size: 15px;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.25s;
}

a:hover {
  color: var(--primary);
}

img {
  max-width: 100%;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============ 顶部导航 ============ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}

.site-header.scrolled {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.nav-wrap {
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 700;
  color: var(--primary);
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
}

.logo small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: var(--text-sub);
  line-height: 1.2;
  letter-spacing: 0.5px;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 8px;
  align-items: center;
}

.nav-list a {
  display: block;
  padding: 8px 14px;
  border-radius: 6px;
  color: var(--text-main);
  font-size: 15px;
  position: relative;
  transition: color 0.25s ease;
}

/* 导航项渐变下划线（悬停/当前页滑动展开） */
.nav-list a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s ease;
}

.nav-list a:hover {
  color: var(--accent);
}

.nav-list a:hover::after,
.nav-list a.active::after {
  transform: scaleX(1);
}

.nav-list a.active {
  color: var(--accent);
  font-weight: 600;
}

.nav-cta {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  color: #fff !important;
  font-weight: 600;
}

.nav-cta:hover {
  opacity: 0.92;
}

/* 汉堡按钮 */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  padding: 0 10px;
}

.nav-toggle span {
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: all 0.3s;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============ Hero 区 ============ */
.hero {
  padding: calc(var(--nav-height) + 64px) 0 72px;
  background: linear-gradient(135deg, #0f1f4d 0%, var(--primary) 55%, var(--primary-light) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.28), transparent 65%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.hero-tag {
  display: inline-block;
  padding: 5px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 13px;
  letter-spacing: 1px;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: 40px;
  line-height: 1.35;
  font-weight: 700;
  margin-bottom: 18px;
}

.hero h1 .hl {
  color: var(--accent-light);
}

.hero p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 34px;
}

.hero-btns {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 28px;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.25s;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: #fff;
  color: var(--primary);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.65);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.btn-blue {
  background: linear-gradient(135deg, var(--accent), var(--primary));
  color: #fff;
}

.btn-blue:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.35);
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 56px;
  margin-top: 52px;
  flex-wrap: wrap;
}

.hero-stats .num {
  font-size: 30px;
  font-weight: 700;
  color: #fff;
}

.hero-stats .label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
}

/* ============ 通用区块 ============ */
.section {
  padding: 72px 0;
}

.section-gray {
  background: var(--bg-gray);
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.section-head .sub {
  color: var(--accent);
  font-size: 14px;
  letter-spacing: 2px;
  font-weight: 600;
}

.section-head h2 {
  font-size: 30px;
  color: var(--primary-dark);
  margin: 8px 0 12px;
}

.section-head p {
  color: var(--text-sub);
  font-size: 15px;
}

/* 页内小标题（产品页横幅下） */
.page-banner {
  padding: calc(var(--nav-height) + 56px) 0 56px;
  background: linear-gradient(135deg, #0f1f4d 0%, var(--primary) 60%, var(--primary-light) 100%);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-banner::after {
  content: "";
  position: absolute;
  left: -140px;
  bottom: -160px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.22), transparent 65%);
}

.page-banner h1 {
  font-size: 34px;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.page-banner p {
  max-width: 720px;
  margin: 0 auto;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
  position: relative;
  z-index: 1;
}

.breadcrumb {
  position: relative;
  z-index: 1;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 14px;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb::before {
  content: "";
  width: 3px;
  height: 13px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--accent), var(--primary-light));
  flex-shrink: 0;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.85);
}

.breadcrumb a:hover {
  color: #fff;
}

/* ============ 软件截图展示 ============ */
.shot-frame {
  background: linear-gradient(160deg, #0f1f4d 0%, var(--primary) 70%, var(--primary-light) 100%);
  border-radius: 12px;
  padding: 26px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 130px;
  margin-bottom: 16px;
}

.shot-frame img {
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.shot-frame img.shot-tall {
  max-height: 420px;
  width: auto;
}

/* ============ 软件下载 ============ */
.download-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.download-card .dl-version {
  font-size: 14px;
  color: var(--text-sub);
  margin-bottom: 22px;
}

.download-card .btn {
  font-size: 17px;
  padding: 13px 40px;
}

.download-card .dl-tip {
  margin-top: 20px;
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.9;
}

/* ============ 卡片 ============ */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, #e8f0fe, #dbe7fd);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.card h3 {
  font-size: 17px;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

.card p {
  color: var(--text-sub);
  font-size: 14px;
}

.card ul {
  list-style: none;
  margin-top: 10px;
}

.card ul li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  color: var(--text-sub);
  margin-bottom: 6px;
}

.card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-light);
}

/* 网格 */
.grid {
  display: grid;
  gap: 24px;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* ============ 产品总览卡片（首页） ============ */
.prod-card {
  position: relative;
  overflow: hidden;
}

.prod-card .tag {
  display: inline-block;
  font-size: 12px;
  padding: 3px 12px;
  border-radius: 14px;
  background: #eef3fd;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 12px;
}

.prod-card h3 {
  font-size: 19px;
}

.prod-card .desc {
  font-size: 14px;
  color: var(--text-sub);
  margin: 10px 0 14px;
}

.prod-card .feat {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.prod-card .feat span {
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 14px;
  background: var(--bg-gray);
  color: var(--text-main);
  border: 1px solid var(--border);
}

.prod-card .more {
  font-weight: 600;
  font-size: 14px;
}

/* ============ 优势/价值列表 ============ */
.benefit-list {
  list-style: none;
}

.benefit-list li {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
}

.benefit-list .b-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit-list h4 {
  font-size: 16px;
  color: var(--primary-dark);
  margin-bottom: 4px;
}

.benefit-list p {
  font-size: 14px;
  color: var(--text-sub);
}

/* 图文分栏 */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.split h2 {
  font-size: 26px;
  color: var(--primary-dark);
  margin-bottom: 14px;
}

.split p {
  color: var(--text-sub);
  margin-bottom: 12px;
}

/* 场景标签 */
.scene-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.scene-tags span {
  padding: 10px 20px;
  border-radius: 24px;
  background: var(--white);
  border: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-main);
  box-shadow: var(--shadow);
  transition: all 0.25s;
}

.scene-tags span:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

/* 品牌列表（打印机兼容） */
.brand-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.brand-item {
  text-align: center;
  padding: 18px 10px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.25s;
}

.brand-item:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.brand-item .b-name {
  font-weight: 700;
  color: var(--primary-dark);
  font-size: 16px;
}

.brand-item .b-desc {
  font-size: 12px;
  color: var(--text-sub);
  margin-top: 4px;
}

/* ============ 步骤流程 ============ */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}

.step-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  position: relative;
  transition: all 0.3s;
}

.step-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.step-item::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  color: #fff;
  font-weight: 700;
  margin-bottom: 12px;
}

.step-item h4 {
  color: var(--primary-dark);
  margin-bottom: 6px;
}

.step-item p {
  font-size: 13px;
  color: var(--text-sub);
}

/* ============ 报价/价值横幅 ============ */
.value-banner {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  border-radius: 16px;
  padding: 40px 48px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.value-banner h3 {
  font-size: 22px;
  margin-bottom: 6px;
}

.value-banner p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

/* ============ CTA 区块 ============ */
.cta-section {
  padding: 64px 0;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary) 60%, var(--primary-light));
  text-align: center;
  color: #fff;
}

.cta-section h2 {
  font-size: 28px;
  margin-bottom: 12px;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 28px;
}

.cta-links {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 28px;
  font-size: 15px;
}

.cta-links a {
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cta-links a:hover {
  color: var(--accent-light);
}

/* ============ 页脚 ============ */
.site-footer {
  background: #101b3a;
  color: rgba(255, 255, 255, 0.72);
  padding: 56px 0 0;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-grid h4 {
  color: #fff;
  font-size: 15px;
  margin-bottom: 16px;
}

.footer-grid a {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 10px;
}

.footer-grid a:hover {
  color: var(--accent-light);
}

.footer-brand .logo {
  color: #fff;
  margin-bottom: 12px;
}

.footer-brand .logo small {
  color: rgba(255, 255, 255, 0.6);
}

.footer-brand p {
  font-size: 13px;
  line-height: 1.9;
}

.footer-contact li {
  list-style: none;
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-contact li svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--accent-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 18px 0;
  text-align: center;
  font-size: 13px;
}

/* 底部 ICP 备案链接（工信部要求链接至 beian.miit.gov.cn） */
.footer-icp {
  display: block;
  margin-top: 6px;
}
.footer-icp a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-icp a:hover {
  color: var(--accent-light);
}

/* ============ 表单 ============ */
.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 36px;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 8px;
  color: var(--primary-dark);
}

.form-group label .req {
  color: #dc2626;
}

.form-control {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  color: var(--text-main);
  background: #fafbfd;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
  background: #fff;
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-tip {
  font-size: 13px;
  color: var(--text-sub);
  margin-top: 8px;
}

.form-success {
  display: none;
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: 8px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #047857;
  font-size: 14px;
}

.form-success.show {
  display: block;
}

.form-error {
  display: none;
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: 8px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  font-size: 14px;
}

.form-error.show {
  display: block;
}

/* ============ 联系信息卡片 ============ */
.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px;
}

.contact-card .c-icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, #e8f0fe, #dbe7fd);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-card h4 {
  color: var(--primary-dark);
  font-size: 16px;
  margin-bottom: 4px;
}

.contact-card p,
.contact-card a {
  font-size: 14px;
  color: var(--text-sub);
}

.contact-card a:hover {
  color: var(--accent);
}

/* ============ 关于我们 ============ */
.mission-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.mission-item {
  text-align: center;
  padding: 30px 20px;
}

.mission-item .m-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mission-item h4 {
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.mission-item p {
  font-size: 14px;
  color: var(--text-sub);
}

/* ============ 滚动渐入动画 ============ */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.in {
  opacity: 1;
  transform: none;
}

/* 系统开启“减少动画”时直接显示，保证内容可读 */
@media (prefers-reduced-motion: reduce) {
  .fade-up {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ============ 响应式 ============ */
@media (max-width: 992px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .split {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero h1 {
    font-size: 32px;
  }

  .brand-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-wrap nav {
    display: contents;
  }

  .nav-list {
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 12px 24px 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
    display: none;
  }

  .nav-list.open {
    display: flex;
  }

  .nav-list a {
    padding: 12px 10px;
  }

  .nav-list a:not(.nav-cta)::after {
    left: 10px;
    right: 10px;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero {
    padding-top: calc(var(--nav-height) + 40px);
  }

  .hero h1 {
    font-size: 26px;
  }

  .hero p {
    font-size: 15px;
  }

  .hero-stats {
    gap: 28px;
  }

  .section {
    padding: 52px 0;
  }

  .page-banner h1 {
    font-size: 26px;
  }

  .value-banner {
    padding: 28px 24px;
  }

  .brand-list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .brand-list {
    grid-template-columns: 1fr;
  }
}

/* ============ 导航：产品中心下拉 ============ */
.nav-item-drop {
  position: relative;
}

.nav-list a.drop-toggle {
  display: flex;
  align-items: center;
  gap: 9px;
}

.drop-toggle .arrow {
  display: inline-block;
  width: 6px;
  height: 6px;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
  margin-top: -3px;
  transition: transform 0.25s;
}

.nav-item-drop.open .drop-toggle .arrow {
  transform: rotate(-135deg);
  margin-top: 3px;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 190px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow-hover);
  padding: 8px;
  list-style: none;
  display: none;
  z-index: 130;
}

.dropdown a {
  padding: 9px 12px;
  border-radius: 6px;
  font-size: 14px;
  display: block;
}

.dropdown a:hover {
  background: #eef3fd;
  color: var(--accent);
}

.nav-item-drop.open .dropdown {
  display: block;
}

@media (min-width: 769px) {
  .nav-item-drop:hover .dropdown {
    display: block;
  }
}

/* ============ 首页：ERP 核心大卡片 ============ */
.prod-main {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 28px;
  align-items: center;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary) 55%, var(--primary-light));
  color: #fff;
  border: none;
  padding: 44px 48px;
}

.prod-main:hover {
  transform: none;
  box-shadow: var(--shadow-hover);
}

.prod-main .tag {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.prod-main h3 {
  color: #fff;
  font-size: 28px;
}

.prod-main .desc {
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
}

.prod-main .feat span {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}

.prod-main .more {
  color: #fff;
}

.prod-main .m-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.prod-main .btn {
  padding: 11px 26px;
  font-size: 15px;
}

.prod-main .btn-primary {
  background: #fff;
  color: var(--primary);
}

.prod-main .btn-outline {
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}

.prod-main .m-points {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
}

.prod-main .m-points li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.92);
}

.prod-main .m-points li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-light);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .prod-main {
    grid-template-columns: 1fr;
    padding: 28px 24px;
    gap: 20px;
  }

  .prod-main .m-points {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================
   右侧浮动：扫码加微信
   ========================================================== */
.wx-float {
  position: fixed;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 999;
}

.wx-float-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0cd068, #07a654);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(7, 166, 84, 0.38);
  transition: transform 0.25s, box-shadow 0.25s;
  user-select: none;
  position: relative;
}

.wx-float-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 24px rgba(7, 166, 84, 0.5);
}

.wx-float-btn .wx-icon {
  width: 26px;
  height: 26px;
}

/* 柔和引导脉冲 */
.wx-float-btn::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(7, 193, 96, 0.45);
  animation: wx-pulse 2.6s ease-out infinite;
  pointer-events: none;
}

@keyframes wx-pulse {
  0% {
    opacity: 0.7;
    transform: scale(0.92);
  }
  70% {
    opacity: 0;
    transform: scale(1.22);
  }
  100% {
    opacity: 0;
    transform: scale(1.22);
  }
}

.wx-float-panel {
  position: absolute;
  right: 64px;
  top: 50%;
  transform: translateY(-50%) scale(0.92);
  transform-origin: right center;
  opacity: 0;
  visibility: hidden;
  width: 184px;
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(15, 31, 77, 0.18);
  padding: 14px 12px 12px;
  text-align: center;
  transition: opacity 0.28s, transform 0.28s, visibility 0.28s;
}

.wx-float-panel::after {
  content: "";
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: var(--white);
  box-shadow: 3px -3px 6px rgba(0, 0, 0, 0.06);
}

.wx-float.open .wx-float-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) scale(1);
}

.wx-float-close {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 20px;
  height: 20px;
  border: none;
  background: #f1f2f4;
  color: #909399;
  font-size: 12px;
  line-height: 1;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.2s, color 0.2s;
}

.wx-float-close:hover {
  background: #e5e7eb;
  color: #4b5563;
}

.wx-float-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 10px;
}

.wx-float-qr {
  width: 152px;
  height: 152px;
  border-radius: 10px;
  border: 1px solid #f0f1f3;
  background: var(--white);
  display: block;
  margin: 0 auto 8px;
}

.wx-float-tip {
  font-size: 11px;
  color: #9ca3af;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .wx-float {
    right: 12px;
  }

  .wx-float-btn {
    width: 42px;
    height: 42px;
  }

  .wx-float-btn .wx-icon {
    width: 23px;
    height: 23px;
  }

  .wx-float-panel {
    right: 58px;
    width: 168px;
  }

  .wx-float-qr {
    width: 138px;
    height: 138px;
  }
}

/* ==========================================================
   FAQ 常见问题（GEO 内容区块）
   ========================================================== */
.faq-section {
  background: var(--white);
}

.faq-list {
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 14px;
  background: var(--white);
  transition: box-shadow 0.3s, border-color 0.3s;
}

.faq-item:hover {
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-light);
}

.faq-item h3 {
  font-size: 16px;
  color: var(--text-main);
  margin-bottom: 8px;
  line-height: 1.5;
}

.faq-item p {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.8;
}
