/* 询盘页专用皮肤：复用首页 homepage.css 的视觉语言
   紫色渐变 / 白色圆角卡片 / 胶囊按钮 / 固定导航
   本文件只在 quote.html 引入，不影响其他页面。 */

body.sc-quote-page {
  padding-top: 70px;
  background: #F8F9FB;
  color: #1F2937;
  font-family: 'Source Code Pro', 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.sc-quote-page.sc-standalone { margin: 0; }

/* ---------- 顶部 Banner：呼应首页 .contact 紫色渐变区 ---------- */
.q-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #6B46C1, #8B5CF6);
  color: #fff;
  padding: 64px 60px 72px;
}
.q-hero::before {
  content: '';
  position: absolute;
  top: -55%; right: -12%;
  width: 620px; height: 620px;
  background: rgba(255, 255, 255, .06);
  border-radius: 50%;
}
.q-hero::after {
  content: '';
  position: absolute;
  bottom: -70%; left: -8%;
  width: 420px; height: 420px;
  background: rgba(255, 255, 255, .05);
  border-radius: 50%;
}
.q-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 60px;
  align-items: center;
}
.q-eyebrow {
  display: inline-block;
  padding: 6px 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .22);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  margin-bottom: 18px;
}
.q-hero h1 {
  font-size: 42px;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -.5px;
  margin: 0 0 16px;
}
.q-hero-lead {
  font-size: 16px;
  line-height: 1.9;
  opacity: .92;
  max-width: 640px;
  margin: 0;
}
.q-hero-lead a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.q-hero-actions { margin-top: 28px; }
.q-hero-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 36px;
  border: 1px solid #fff; border-radius: 30px;
  background: #fff; color: #6B46C1;
  font-size: 15px; font-weight: 600; text-decoration: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .12);
  transition: all .3s;
}
.q-hero-btn:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 8px 26px rgba(0, 0, 0, .18);
  color: #5B21B6;
}
.q-hero-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.q-hero-meta span {
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .18);
}
.q-trust { display: grid; gap: 12px; }
.q-trust-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  backdrop-filter: blur(10px);
}
.q-trust-item .q-ico {
  flex: 0 0 44px;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .18);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}
.q-trust-item .q-t { font-size: 15px; font-weight: 700; margin-bottom: 3px; }
.q-trust-item .q-d { font-size: 12px; opacity: .8; line-height: 1.5; }

/* ---------- 主体布局 ---------- */
.q-main { max-width: 1280px; margin: 0 auto; padding: 44px 60px 100px; }
.q-crumb { font-size: 13px; color: #6B7280; margin-bottom: 24px; }
.q-crumb a { color: #6B46C1; text-decoration: none; }
.q-crumb a:hover { text-decoration: underline; }
.q-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; }
.q-col { min-width: 0; }

/* 卡片：与首页 .software-card / .feature-card 同款 */
body.sc-quote-page .sc-panel {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .06);
  padding: 32px 36px;
  margin: 0 0 24px;
  transition: border-color .3s, box-shadow .3s;
}
body.sc-quote-page .sc-panel:hover { border-color: #C7B4F0; box-shadow: 0 8px 30px rgba(107, 70, 193, .12); }
body.sc-quote-page .sc-panel:last-child { margin-bottom: 0; }
body.sc-quote-page .sc-panel h2 {
  font-size: 22px;
  font-weight: 800;
  color: #1F2937;
  margin: 0 0 6px;
  letter-spacing: -.2px;
}
.q-card-sub { font-size: 13px; color: #6B7280; line-height: 1.7; margin: 0 0 22px; }
.q-rule { height: 3px; width: 44px; border-radius: 3px; background: linear-gradient(90deg, #6B46C1, #8B5CF6); margin: 0 0 20px; }

/* 报价单表格 */
/* homepage.css 在 768px 以下给所有 table 设了 min-width:480px（供规格表滚动用），
   询盘清单不需要，覆盖掉并固定列宽，避免移动端横向溢出 */
body.sc-quote-page .sc-quote-list {
  width: 100%; min-width: 0;
  border-collapse: collapse; table-layout: fixed; font-size: 14px;
}
body.sc-quote-page .sc-quote-list th:first-child { width: 56%; }
body.sc-quote-page .sc-quote-list th:nth-child(2) { width: 18%; }
body.sc-quote-page .sc-quote-list th:last-child { width: 26%; }
body.sc-quote-page .sc-quote-list th {
  text-align: left;
  padding: 12px 14px;
  background: #F8F9FB;
  color: #6B7280;
  font-size: 12px;
  font-weight: 700;
  border-bottom: 1px solid #E5E7EB;
}
body.sc-quote-page .sc-quote-list th:first-child { border-radius: 10px 0 0 0; }
body.sc-quote-page .sc-quote-list th:last-child { border-radius: 0 10px 0 0; text-align: right; }
body.sc-quote-page .sc-quote-list td {
  padding: 14px;
  border-bottom: 1px solid #F1F2F6;
  color: #1F2937;
  vertical-align: middle;
}
body.sc-quote-page .sc-quote-list td:last-child { text-align: right; font-weight: 700; color: #6B46C1; }
body.sc-quote-page .sc-quote-list td small { color: #9CA3AF; font-size: 12px; font-weight: 400; }
body.sc-quote-page .sc-quote-list tr:last-child td { border-bottom: 0; }
.q-empty-hint { padding: 26px 0; text-align: center; color: #9CA3AF; }
body.sc-quote-page .sc-quote-list td[colspan] {
  text-align: center; color: #9CA3AF; font-weight: 400;
  padding: 26px 14px;
}
body.sc-quote-page #q-inquiry,
body.sc-quote-page #q-quote-list { scroll-margin-top: 90px; }

/* 提示条 */
body.sc-quote-page .sc-note { font-size: 12px; color: #6B7280; line-height: 1.7; margin: 16px 0 0; }
body.sc-quote-page .sc-note a { color: #6B46C1; }
.q-tip {
  display: flex; gap: 10px; align-items: flex-start;
  margin-top: 18px; padding: 12px 16px;
  border-radius: 12px;
  background: rgba(107, 70, 193, .06);
  border: 1px solid rgba(107, 70, 193, .12);
  font-size: 12px; line-height: 1.7; color: #5B21B6;
}
.q-tip b { font-weight: 700; }

/* 表单 */
body.sc-quote-page .sc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
body.sc-quote-page .sc-field { display: flex; flex-direction: column; gap: 8px; }
body.sc-quote-page .sc-field.sc-full { grid-column: 1 / -1; }
body.sc-quote-page .sc-field label { font-size: 13px; font-weight: 600; color: #374151; }
body.sc-quote-page .sc-field label .req { color: #E94560; }
body.sc-quote-page .sc-field input,
body.sc-quote-page .sc-field select,
body.sc-quote-page .sc-field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  font-size: 14px;
  font-family: inherit;
  color: #1F2937;
  background: #fff;
  box-sizing: border-box;
  transition: border-color .2s, box-shadow .2s;
}
body.sc-quote-page .sc-field textarea { min-height: 118px; resize: vertical; }
body.sc-quote-page .sc-field input::placeholder,
body.sc-quote-page .sc-field textarea::placeholder { color: #9CA3AF; }
body.sc-quote-page .sc-field input:focus,
body.sc-quote-page .sc-field select:focus,
body.sc-quote-page .sc-field textarea:focus {
  outline: none;
  border-color: #8B5CF6;
  box-shadow: 0 0 0 3px rgba(107, 70, 193, .12);
}
body.sc-quote-page .sc-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }

/* 按钮：完全对齐首页 .btn-primary / .btn-secondary */
body.sc-quote-page .sc-actions .sc-btn {
  width: auto; flex: 0 0 auto; min-width: 190px;
  padding: 14px 36px;
  background: linear-gradient(135deg, #6B46C1, #8B5CF6);
  color: #fff;
  border: none;
  border-radius: 30px;
  font-size: 15px; font-weight: 600;
  text-align: center; text-decoration: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(107, 70, 193, .3);
  transition: all .3s;
}
body.sc-quote-page .sc-actions .sc-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(107, 70, 193, .4); }
body.sc-quote-page .sc-actions .sc-btn-secondary,
body.sc-quote-page .sc-actions .sc-btn.sc-btn-secondary {
  background: #fff;
  color: #6B46C1;
  border: 1px solid #E5E7EB;
  box-shadow: none;
}
body.sc-quote-page .sc-actions .sc-btn-secondary:hover,
body.sc-quote-page .sc-actions .sc-btn.sc-btn-secondary:hover {
  border-color: #6B46C1;
  background: rgba(107, 70, 193, .04);
  color: #6B46C1;
  transform: none;
  box-shadow: none;
}
body.sc-quote-page .sc-status { font-size: 14px; line-height: 1.7; margin-top: 16px; color: #6B46C1; min-height: 22px; font-weight: 600; }
body.sc-quote-page .sc-preview {
  width: 100%; min-height: 160px; margin-top: 16px; padding: 16px;
  border: 1px solid #E5E7EB; border-radius: 12px;
  font-family: Consolas, Monaco, monospace; font-size: 12px; line-height: 1.7;
  color: #374151; background: #F8F9FB; box-sizing: border-box; resize: vertical;
}

/* 侧栏 */
body.sc-quote-page .q-aside .sc-panel { padding: 28px 26px; }
body.sc-quote-page .q-aside .sc-panel h2 { font-size: 18px; }
.q-contact-list { list-style: none; display: flex; flex-direction: column; gap: 16px; margin: 0; padding: 0; }
.q-contact-list li { display: flex; align-items: flex-start; gap: 14px; font-size: 13px; line-height: 1.65; color: #4B5563; }
.q-contact-list .q-ico {
  flex: 0 0 40px; width: 40px; height: 40px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(107, 70, 193, .1);
  color: #6B46C1;
  font-size: 18px;
}
.q-contact-list .q-lab { display: block; font-size: 11px; color: #9CA3AF; margin-bottom: 2px; }
.q-contact-list .q-val { font-weight: 600; color: #1F2937; }
.q-contact-list a { color: #6B46C1; text-decoration: none; }
.q-contact-list a:hover { text-decoration: underline; }
.q-steps { list-style: none; margin: 0; padding: 0; counter-reset: qstep; display: flex; flex-direction: column; gap: 18px; }
.q-steps li { position: relative; padding-left: 42px; counter-increment: qstep; font-size: 13px; line-height: 1.7; color: #4B5563; }
.q-steps li::before {
  content: counter(qstep);
  position: absolute; left: 0; top: 0;
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(107, 70, 193, .1); color: #6B46C1;
  font-size: 13px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.q-steps b { display: block; color: #1F2937; font-size: 14px; margin-bottom: 2px; }
.q-lang-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 20px; padding: 10px 20px;
  border-radius: 20px;
  border: 1px solid rgba(107, 70, 193, .25);
  background: rgba(107, 70, 193, .05);
  color: #6B46C1 !important;
  font-size: 13px; font-weight: 700; text-decoration: none;
}
.q-lang-link:hover { background: rgba(107, 70, 193, .12); }

/* 顶部导航里的语言项做成首页同款胶囊 */
body.sc-quote-page .header .nav a.q-nav-en { color: #6B46C1; background: rgba(107, 70, 193, .1); font-weight: 700; }
body.sc-quote-page .header .nav a.q-nav-en:hover { background: rgba(107, 70, 193, .18); color: #5B21B6; }
body.sc-quote-page .header .nav a.q-nav-active { color: #6B46C1; background: rgba(107, 70, 193, .1); }

/* 报价单浮标与首页「回到顶部」错开，避免重叠 */
body.sc-quote-page .sc-fab { right: 24px; bottom: 100px; }
body.sc-quote-page #backToTop { right: 24px; bottom: 32px; }
body.sc-quote-page .sc-drawer { border-radius: 20px 0 0 20px; }
body.sc-quote-page .sc-drawer-head h3 { font-weight: 800; }
body.sc-quote-page .sc-drawer-foot .sc-btn {
  background: linear-gradient(135deg, #6B46C1, #8B5CF6);
  border-radius: 30px;
  padding: 14px;
  color: #fff;
}
body.sc-quote-page .sc-drawer-foot .sc-btn:hover { background: #5B21B6; }

/* 页脚：沿用 homepage.css .footer，仅微调与内容区间距 */
body.sc-quote-page .footer { padding: 60px; }

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
  .q-hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .q-trust { grid-template-columns: repeat(3, 1fr); }
  .q-trust-item { flex-direction: column; align-items: flex-start; gap: 10px; }
  .q-layout { grid-template-columns: 1fr; }
  .q-aside { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; align-items: start; }
  body.sc-quote-page .q-aside .sc-panel { margin-bottom: 0; }
}
@media (max-width: 768px) {
  body.sc-quote-page { padding-top: 62px; }
  .q-hero { padding: 44px 20px 48px; }
  .q-hero h1 { font-size: 28px; }
  .q-hero-lead { font-size: 14px; }
  .q-trust { grid-template-columns: 1fr; }
  .q-trust-item { flex-direction: row; align-items: center; }
  .q-main { padding: 28px 16px 64px; }
  body.sc-quote-page .sc-panel { padding: 24px 20px; border-radius: 16px; }
  body.sc-quote-page .sc-panel h2 { font-size: 19px; }
  body.sc-quote-page .sc-grid { grid-template-columns: 1fr; gap: 14px; }
  body.sc-quote-page .sc-actions .sc-btn { flex: 1 1 100%; min-width: 0; }
  body.sc-quote-page .sc-actions .sc-btn-secondary,
  body.sc-quote-page .sc-actions .sc-btn.sc-btn-secondary { border-color: rgba(107, 70, 193, .35); }
  .q-aside { grid-template-columns: 1fr; }
  body.sc-quote-page .sc-fab { bottom: 88px; right: 14px; padding: 10px 14px; }
  body.sc-quote-page #backToTop { right: 14px; bottom: 24px; width: 42px; height: 42px; }
}
@media (max-width: 480px) {
  .q-hero-meta span { font-size: 12px; padding: 7px 12px; }
  body.sc-quote-page .sc-quote-list th,
  body.sc-quote-page .sc-quote-list td { padding: 10px 8px; font-size: 13px; }
}
