/*
Theme Name: Quantaida Astra Child
Template: astra
Description: 全泰达企业官网定制子主题（产品展示 / 手册下载 / 视频 / 询价）
Version: 1.0.0
*/

:root {
  --qd-ink: #0a1a2b;
  --qd-ink-2: #132c44;
  --qd-accent: #0f8b8d;
  --qd-accent-2: #ffb020;
  --qd-bg: #f5f7fa;
  --qd-line: #e4e9f0;
  --qd-muted: #61718a;
  --qd-radius: 14px;
  --qd-wrap: 1180px;
}

body.page,
body.home {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--qd-ink);
  -webkit-font-smoothing: antialiased;
}

/* ===== 全宽容器 + 隐藏默认页面标题 ===== */
body.page .site-content > .ast-container,
body.home .site-content > .ast-container {
  max-width: 100%;
  padding: 0;
  display: block;
}
body.page #primary,
body.home #primary {
  width: 100%;
  margin: 0;
}
body.page .entry-content,
body.home .entry-content {
  margin: 0;
}
body.page .entry-header,
body.home .entry-header,
body.page .ast-breadcrumbs,
body.home .ast-breadcrumbs {
  display: none;
}
body.page article,
body.home article {
  margin: 0;
}

/* ===== 头部 ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 99;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--qd-line);
}
.site-header .ast-container {
  max-width: var(--qd-wrap);
}
.site-title a,
.site-title a:hover {
  color: var(--qd-ink) !important;
  font-weight: 800;
  letter-spacing: 0.02em;
  font-size: 20px;
  text-transform: none;
}
.ast-builder-menu-1 .main-header-menu > .menu-item > .menu-link {
  color: var(--qd-ink) !important;
  font-weight: 600;
  font-size: 15px;
}
.ast-builder-menu-1 .main-header-menu > .menu-item > .menu-link:hover {
  color: var(--qd-accent) !important;
}

/* ===== 通用排版 ===== */
.qd-wrap {
  max-width: var(--qd-wrap);
  margin: 0 auto;
  padding: 0 24px;
}
.qd-section {
  padding: 88px 0;
}
.qd-section--tight {
  padding: 64px 0;
}
.qd-section--tint {
  background: var(--qd-bg);
}
.qd-head {
  margin-bottom: 46px;
}
.qd-head--center {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 46px;
}
.qd-eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--qd-accent);
  margin-bottom: 14px;
}
.qd-h2 {
  font-size: clamp(26px, 3.1vw, 38px);
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--qd-ink);
  margin: 0 0 14px;
}
.qd-h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--qd-ink);
  margin: 0 0 10px;
}
.qd-lead {
  font-size: 16px;
  line-height: 1.85;
  color: var(--qd-muted);
  margin: 0;
}
.qd-note {
  font-size: 13px;
  color: #98a6b8;
  margin-top: 18px;
}

/* ===== 按钮 ===== */
.qd-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none !important;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  line-height: 1.2;
}
.qd-btn--primary {
  background: var(--qd-accent);
  color: #fff !important;
  box-shadow: 0 10px 24px -12px rgba(15, 139, 141, 0.75);
}
.qd-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -14px rgba(15, 139, 141, 0.85);
  color: #fff !important;
}
.qd-btn--ghost {
  background: transparent;
  color: var(--qd-ink) !important;
  border-color: #cbd5e1;
}
.qd-btn--ghost:hover {
  border-color: var(--qd-accent);
  color: var(--qd-accent) !important;
}
.qd-btn--light {
  background: rgba(255, 255, 255, 0.12);
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.3);
}
.qd-btn--light:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff !important;
}
.qd-btn--sm {
  padding: 9px 18px;
  font-size: 13.5px;
}
.qd-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

/* ===== 首屏 ===== */
.qd-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #08172a 0%, #0f2d47 52%, #114b52 100%);
  color: #fff;
  padding: 92px 0 64px;
}
.qd-hero::before {
  content: "";
  position: absolute;
  width: 720px;
  height: 720px;
  right: -220px;
  top: -280px;
  background: radial-gradient(circle, rgba(15, 139, 141, 0.55) 0%, rgba(15, 139, 141, 0) 68%);
  pointer-events: none;
}
.qd-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}
.qd-hero .qd-wrap {
  position: relative;
  z-index: 1;
}
.qd-hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 56px;
  align-items: center;
}
.qd-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 22px;
}
.qd-badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--qd-accent-2);
  display: inline-block;
}
.qd-hero h1 {
  font-size: clamp(32px, 4.3vw, 52px);
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 20px;
}
.qd-hero h1 em {
  font-style: normal;
  color: #6fe0da;
}
.qd-hero p {
  font-size: 16.5px;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.76);
  margin: 0 0 32px;
  max-width: 520px;
}

/* 截图/界面占位框 */
.qd-frame {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 34px 70px -26px rgba(2, 8, 18, 0.7);
}
.qd-frame-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 14px;
  background: #eef2f7;
  border-bottom: 1px solid var(--qd-line);
}
.qd-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cfd8e3;
}
.qd-frame-url {
  margin-left: 10px;
  flex: 1;
  height: 18px;
  border-radius: 5px;
  background: #fff;
  border: 1px solid var(--qd-line);
}
.qd-frame-body {
  padding: 16px;
  background: #fbfcfe;
}
.qd-skel {
  height: 10px;
  border-radius: 6px;
  background: linear-gradient(90deg, #e7ecf3, #f3f6fa);
  margin-bottom: 10px;
}
.qd-skel--w70 { width: 70%; }
.qd-skel--w45 { width: 45%; }
.qd-skel--w90 { width: 90%; }
.qd-mini-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}
.qd-mini {
  height: 64px;
  border-radius: 8px;
  background: linear-gradient(150deg, #e9f2f4, #f6fafb);
  border: 1px solid var(--qd-line);
}
.qd-mini--accent {
  background: linear-gradient(150deg, #0f8b8d, #0e6d8c);
  border-color: transparent;
}
.qd-chart {
  height: 96px;
  border-radius: 8px;
  background: linear-gradient(180deg, #eef5f7, #fbfdfe);
  border: 1px solid var(--qd-line);
  position: relative;
  overflow: hidden;
}
.qd-chart i {
  position: absolute;
  bottom: 0;
  width: 9%;
  border-radius: 3px 3px 0 0;
  background: rgba(15, 139, 141, 0.35);
}
.qd-chart i:nth-child(1) { left: 6%; height: 42%; }
.qd-chart i:nth-child(2) { left: 19%; height: 66%; }
.qd-chart i:nth-child(3) { left: 32%; height: 52%; }
.qd-chart i:nth-child(4) { left: 45%; height: 84%; background: var(--qd-accent); }
.qd-chart i:nth-child(5) { left: 58%; height: 60%; }
.qd-chart i:nth-child(6) { left: 71%; height: 74%; }
.qd-chart i:nth-child(7) { left: 84%; height: 46%; }

/* 首屏数据条 */
.qd-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 56px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  position: relative;
  z-index: 1;
}
.qd-stat b {
  display: block;
  font-size: 27px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
}
.qd-stat span {
  display: block;
  margin-top: 6px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.62);
}

/* ===== 卡片 ===== */
.qd-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.qd-card {
  background: #fff;
  border: 1px solid var(--qd-line);
  border-radius: var(--qd-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}
.qd-card:hover {
  transform: translateY(-5px);
  border-color: #cfdae6;
  box-shadow: 0 22px 44px -26px rgba(10, 26, 43, 0.45);
}
.qd-card-shot {
  position: relative;
  min-height: 164px;
  padding: 20px;
  background: linear-gradient(155deg, #0c2033, #11474f);
  display: flex;
  align-items: flex-end;
}
.qd-card-shot .qd-win {
  width: 100%;
  background: rgba(255, 255, 255, 0.97);
  border-radius: 9px;
  overflow: hidden;
  box-shadow: 0 12px 26px -14px rgba(0, 0, 0, 0.5);
}
.qd-card-shot .qd-win-bar {
  height: 20px;
  background: #eef2f7;
  border-bottom: 1px solid var(--qd-line);
}
.qd-card-shot .qd-win-body {
  padding: 10px 12px 14px;
}
.qd-card-shot .qd-win-body .qd-skel {
  margin-bottom: 7px;
  height: 8px;
}
.qd-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.qd-card-body h3 {
  font-size: 19px;
  font-weight: 700;
  margin: 0;
  color: var(--qd-ink);
}
.qd-card-body p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--qd-muted);
}
.qd-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.qd-tag {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #eef4f6;
  color: #0f6c6f;
  border: 1px solid #dbe9eb;
}
.qd-card-link {
  margin-top: auto;
  padding-top: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--qd-accent) !important;
  text-decoration: none;
}
.qd-card-link::after {
  content: " →";
}

/* ===== 优势 ===== */
.qd-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.qd-feature {
  display: flex;
  gap: 16px;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--qd-line);
  border-radius: 12px;
}
.qd-ico {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: linear-gradient(135deg, #0f8b8d, #0e6d8c);
  display: grid;
  place-items: center;
  color: #fff;
}
.qd-ico svg {
  width: 21px;
  height: 21px;
  stroke: #fff;
  stroke-width: 1.7;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.qd-feature h4 {
  margin: 0 0 6px;
  font-size: 16.5px;
  font-weight: 700;
  color: var(--qd-ink);
}
.qd-feature p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--qd-muted);
}

/* ===== 视频 ===== */
.qd-video {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(135deg, #0b1e31, #124a50);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
}
.qd-video::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 46%, rgba(15, 139, 141, 0.32), transparent 62%);
}
.qd-video-inner {
  position: relative;
  z-index: 2;
}
.qd-play {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  margin: 0 auto 16px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.35);
  display: grid;
  place-items: center;
  backdrop-filter: blur(4px);
}
.qd-play::before {
  content: "";
  width: 0;
  height: 0;
  border-left: 18px solid #fff;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  margin-left: 4px;
}
.qd-video-inner b {
  font-size: 16px;
}
.qd-video-inner span {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.62);
}

/* ===== 文档下载 ===== */
.qd-docs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.qd-doc {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--qd-line);
  border-radius: 12px;
}
.qd-doc-ico {
  flex: 0 0 40px;
  width: 40px;
  height: 48px;
  border-radius: 7px;
  background: #eef2f7;
  color: #7a8a9d;
  font-size: 10.5px;
  font-weight: 700;
  display: grid;
  place-items: center;
  letter-spacing: 0.04em;
}
.qd-doc b {
  display: block;
  font-size: 15px;
  color: var(--qd-ink);
}
.qd-doc span {
  display: block;
  margin-top: 4px;
  font-size: 12.5px;
  color: var(--qd-muted);
}

/* ===== CTA 条 ===== */
.qd-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  flex-wrap: wrap;
  padding: 52px;
  border-radius: 18px;
  background: linear-gradient(120deg, #0b2035 0%, #0f5a63 100%);
  color: #fff;
}
.qd-cta h2 {
  margin: 0 0 10px;
  font-size: clamp(23px, 2.6vw, 30px);
  font-weight: 800;
  color: #fff;
}
.qd-cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  line-height: 1.75;
}

/* ===== 内页头部 ===== */
.qd-pagehead {
  background: linear-gradient(130deg, #08172a, #0f2f49 60%, #11474f);
  color: #fff;
  padding: 72px 0 60px;
  position: relative;
  overflow: hidden;
}
.qd-pagehead::before {
  content: "";
  position: absolute;
  width: 560px;
  height: 560px;
  right: -180px;
  top: -240px;
  background: radial-gradient(circle, rgba(15, 139, 141, 0.45), transparent 68%);
}
.qd-pagehead .qd-wrap {
  position: relative;
  z-index: 1;
}
.qd-crumb {
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 14px;
}
.qd-pagehead h1 {
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.22;
  font-weight: 800;
  color: #fff;
  margin: 0 0 14px;
}
.qd-pagehead p {
  margin: 0;
  max-width: 620px;
  font-size: 15.5px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.72);
}

/* ===== 产品明细 ===== */
.qd-prod {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
  padding: 64px 0;
}
.qd-prod + .qd-prod {
  border-top: 1px solid var(--qd-line);
}
.qd-prod--rev .qd-prod-shot {
  order: 2;
}
.qd-prod--rev .qd-prod-txt {
  order: 1;
}
.qd-prod-txt h2 {
  font-size: clamp(23px, 2.7vw, 30px);
  font-weight: 800;
  color: var(--qd-ink);
  margin: 0 0 12px;
}
.qd-prod-txt p {
  color: var(--qd-muted);
  font-size: 15px;
  line-height: 1.85;
  margin: 0 0 20px;
}
.qd-list {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  display: grid;
  gap: 10px;
}
.qd-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14.5px;
  color: #33465c;
  line-height: 1.7;
}
.qd-list li::before {
  content: "";
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  border-radius: 50%;
  background: #e6f4f4 url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f8b8d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M20 6L9 17l-5-5'/></svg>") center/11px no-repeat;
}

/* ===== 联系页 ===== */
.qd-contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: start;
}
.qd-form {
  background: #fff;
  border: 1px solid var(--qd-line);
  border-radius: 14px;
  padding: 32px;
}
.qd-form h2 {
  font-size: 21px;
  font-weight: 800;
  margin: 0 0 6px;
  color: var(--qd-ink);
}
.qd-form p {
  margin: 0 0 24px;
  font-size: 13.5px;
  color: var(--qd-muted);
}
.qd-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.qd-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.qd-field--full {
  grid-column: 1 / -1;
}
.qd-field label {
  font-size: 13px;
  font-weight: 600;
  color: #33465c;
}
.qd-field input,
.qd-field select,
.qd-field textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid #d8e0ea;
  border-radius: 9px;
  font-size: 14px;
  color: var(--qd-ink);
  background: #fbfcfe;
  outline: none;
  font-family: inherit;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.qd-field input:focus,
.qd-field select:focus,
.qd-field textarea:focus {
  border-color: var(--qd-accent);
  box-shadow: 0 0 0 3px rgba(15, 139, 141, 0.12);
}
.qd-field textarea {
  min-height: 112px;
  resize: vertical;
}
.qd-info {
  display: grid;
  gap: 14px;
}
.qd-info-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--qd-line);
  border-radius: 12px;
}
.qd-info-row .qd-ico {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 10px;
}
.qd-info-row b {
  display: block;
  font-size: 13px;
  color: var(--qd-muted);
  font-weight: 600;
  margin-bottom: 4px;
}
.qd-info-row span {
  font-size: 15px;
  color: var(--qd-ink);
  font-weight: 600;
  word-break: break-all;
}

/* ===== 时间线 ===== */
.qd-timeline {
  display: grid;
  gap: 0;
  border-left: 2px solid var(--qd-line);
  padding-left: 26px;
  margin-top: 10px;
}
.qd-timeline-item {
  position: relative;
  padding: 0 0 26px;
}
.qd-timeline-item::before {
  content: "";
  position: absolute;
  left: -34px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--qd-accent);
  box-shadow: 0 0 0 4px rgba(15, 139, 141, 0.14);
}
.qd-timeline-item b {
  display: block;
  font-size: 13px;
  color: var(--qd-accent);
  font-weight: 700;
  margin-bottom: 4px;
}
.qd-timeline-item p {
  margin: 0;
  font-size: 14.5px;
  color: #33465c;
  line-height: 1.7;
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .qd-hero-grid,
  .qd-prod,
  .qd-contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .qd-prod--rev .qd-prod-shot,
  .qd-prod--rev .qd-prod-txt {
    order: 0;
  }
  .qd-cards,
  .qd-docs {
    grid-template-columns: repeat(2, 1fr);
  }
  .qd-stats {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 26px;
  }
}
@media (max-width: 640px) {
  .qd-section {
    padding: 56px 0;
  }
  .qd-hero {
    padding: 64px 0 48px;
  }
  .qd-cards,
  .qd-docs,
  .qd-features,
  .qd-fields {
    grid-template-columns: 1fr;
  }
  .qd-cta {
    padding: 32px;
  }
}

/* ===== 细节修正 ===== */
.qd-section .qd-wrap > .qd-prod:first-of-type {
  padding-top: 12px;
}
.site-footer {
  background: var(--qd-ink) !important;
}
.site-footer,
.site-footer a {
  color: rgba(255, 255, 255, 0.68) !important;
}
.site-footer a:hover {
  color: #fff !important;
}
.site-primary-footer-wrap {
  padding-top: 34px !important;
  padding-bottom: 34px !important;
}
.ast-footer-copyright,
.ast-footer-copyright p,
.ast-footer-copyright a,
.ast-small-footer,
.footer-sml-section-1 {
  color: rgba(255, 255, 255, 0.72) !important;
  background: transparent !important;
}
.site-below-footer-wrap,
.site-above-footer-wrap,
.site-primary-footer-wrap,
.site-below-footer-inner-wrap {
  background: transparent !important;
}