/* =========================================================
 * 妥适 Toast · 医生工厂端样式
 * 视觉体系：暖白 #F9F9F9 + 品牌深蓝 #014DB2
 * 字体：Noto Sans SC
 * ========================================================= */

:root {
  --brand: #014DB2;
  --brand-deep: #001530;
  --brand-2: #1565DB;
  --ink: #0A1628;
  --ink-2: #6B7280;
  --ink-3: #B9CCEA;
  --subtle: #F5F8FD;
  --bg: #F9F9F9;
  --line: #E5E7EB;
  --line-dark: #1C2B45;
  --radius-lg: 20px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --pad-x: 80px;
  --shadow-sm: 0 1px 2px rgba(10,22,40,.04);
  --shadow-md: 0 6px 16px rgba(1,77,178,.18);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

/* ============== 按钮 ============== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 4px 12px rgba(1,77,178,.25);
}
.btn-light {
  background: #fff;
  color: var(--brand);
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,.5);
  color: #fff;
}

/* ============== 导航 ============== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px var(--pad-x);
  max-width: 1440px;
  margin: 0 auto;
}
.nav-logo {
  display: inline-flex;
  align-items: center;
  height: 36px;
}
.nav-logo img { height: 36px; width: auto; }
.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
}
.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  transition: color .2s ease;
}
.nav-links a:hover { color: var(--brand); }
.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav-right .login {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}

/* ============== Hero ============== */
.hero {
  background: linear-gradient(135deg, #0559C9 0%, #001530 100%);
  color: #fff;
  padding: 80px 0 70px;
}
.hero-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.hero-row {
  display: flex;
  gap: 48px;
  align-items: center;
}
.hero-text { flex: 3; }
.hero-badge {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 100px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  font-size: 14px;
  font-weight: 500;
  color: #CFE0F7;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: 56px;
  font-weight: 700;
  line-height: 1.18;
  margin: 0 0 18px;
}
.hero .lead {
  font-size: 18px;
  line-height: 1.7;
  color: #CFE0F7;
  margin: 0 0 26px;
}
.hero-register {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  margin-bottom: 28px;
}
.hero-register .ico {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,.14);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hero-register .ico svg { width: 26px; height: 26px; }
.hero-register .meta { flex: 1; }
.hero-register .meta h3 { margin: 0 0 4px; font-size: 20px; font-weight: 700; color: #fff; }
.hero-register .meta p { margin: 0 0 4px; font-size: 14px; color: #CFE0F7; }
.hero-register .meta span { font-size: 12px; color: #8FB4E8; font-weight: 500; }

.hero-art { flex: 2; }
.hero-art-card {
  position: relative;
  height: 440px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,.18);
  overflow: hidden;
}
.hero-art-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero-art-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4,28,66,0) 42%, rgba(4,28,66,.78) 100%);
  pointer-events: none;
}
.hero-art-chip {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 26px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 100px;
  background: rgba(6,34,78,.62);
  border: 1px solid rgba(255,255,255,.3);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
}
.hero-art-chip svg { width: 18px; height: 18px; }

.hero-trust {
  text-align: center;
  margin: 38px 0 0;
  font-size: 14px;
  color: #8FA9D6;
  letter-spacing: .08em;
}

/* ============== 通用板块 ============== */
.section {
  padding: 96px 0;
  background: #fff;
}
.section.alt { background: var(--bg); }
.section-head {
  text-align: center;
  margin-bottom: 56px;
}
.section-head .eyebrow {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand);
  letter-spacing: .25em;
  margin-bottom: 14px;
}
.section-head h2 {
  font-size: 38px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 14px;
  line-height: 1.25;
}
.section-head .lead {
  font-size: 16px;
  color: var(--ink-2);
  margin: 0;
  line-height: 1.6;
}

/* ============== 核心能力 3 卡 ============== */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.cap-card {
  background: var(--subtle);
  border-radius: var(--radius-md);
  padding: 32px;
}
.cap-card .ico {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  background: var(--brand);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.cap-card .ico svg { width: 22px; height: 22px; }
.cap-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 10px;
}
.cap-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-2);
  margin: 0;
}

/* ============== 代工品类 6 卡 ============== */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.cat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px 26px;
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.cat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: #C9D6EE;
}
.cat-card h4 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}
.cat-card p {
  margin: 0;
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.6;
}
.cat-card .ribbon {
  position: absolute;
  top: 16px; right: 16px;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  background: var(--brand);
  padding: 3px 10px;
  border-radius: 100px;
}

/* ============== 流程 5 步 ============== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.step-card {
  background: var(--subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  opacity: 0;
  transform: translateY(14px);
  animation: stepIn .55s ease forwards;
}
.step-card:nth-child(1) { animation-delay: .05s; }
.step-card:nth-child(2) { animation-delay: .18s; }
.step-card:nth-child(3) { animation-delay: .31s; }
.step-card:nth-child(4) { animation-delay: .44s; }
.step-card:nth-child(5) { animation-delay: .57s; }
@keyframes stepIn {
  to { opacity: 1; transform: translateY(0); }
}
.step-card .no {
  font-size: 28px;
  font-weight: 800;
  color: var(--brand);
  margin: 0 0 12px;
  line-height: 1;
}
.step-card h4 {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}
.step-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink-2);
}

.flow-cta {
  text-align: center;
  margin-top: 56px;
}

/* ============== 资质 6 卡 ============== */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.cert-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px 26px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.cert-card .ico {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: var(--subtle);
  color: var(--brand);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.cert-card .ico svg { width: 22px; height: 22px; }
.cert-card h4 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}
.cert-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-2);
}

/* ============== FAQ ============== */
.faq-list {
  max-width: 880px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  padding: 4px 0;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .chevron {
  flex-shrink: 0;
  width: 22px; height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  transition: transform .2s ease;
}
.faq-item[open] summary .chevron { transform: rotate(180deg); }
.faq-item .answer {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-2);
}

/* ============== 页脚 ============== */
.site-footer {
  background: var(--ink);
  color: #B9CCEA;
  padding: 72px 0 32px;
}
.footer-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.footer-cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: linear-gradient(135deg, #0559C9 0%, #022659 100%);
  border-radius: var(--radius-md);
  padding: 40px 48px;
  margin-bottom: 56px;
}
.footer-cta-card .cta-text h2 {
  margin: 0 0 8px;
  font-size: 26px;
  font-weight: 700;
  color: #fff;
}
.footer-cta-card .cta-text p {
  margin: 0;
  font-size: 15px;
  color: #B9CCEA;
}
.footer-cta-card .cta-btns {
  display: flex;
  gap: 16px;
  flex-shrink: 0;
}

.footer-cols {
  display: grid;
  grid-template-columns: 320px repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 32px;
}
.footer-brand .logo-wrap {
  background: #fff;
  border-radius: 8px;
  padding: 7px 12px;
  display: inline-flex;
  align-items: center;
}
.footer-brand .logo-wrap img { height: 26px; width: auto; display: block; }
.footer-brand .tagline {
  margin: 14px 0 0;
  font-size: 14px;
  font-weight: 500;
  color: #B9CCEA;
}
.footer-brand .company {
  margin: 6px 0 0;
  font-size: 13px;
  color: #7A8DB0;
}
.footer-col h4 {
  margin: 0 0 16px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
}
.footer-col a, .footer-col p {
  display: block;
  margin: 0 0 12px;
  font-size: 14px;
  color: #7A8DB0;
  transition: color .2s ease;
}
.footer-col a:hover { color: #B9CCEA; }

.footer-divider {
  height: 1px;
  background: var(--line-dark);
  margin: 8px 0 24px;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-bottom p {
  margin: 0;
  font-size: 13px;
  color: #7A8DB0;
}

/* ============== 响应式 ============== */
@media (max-width: 1100px) {
  :root { --pad-x: 32px; }
  .hero-row { flex-direction: column; }
  .hero-art { width: 100%; }
  .hero-art-card { width: 100%; height: 320px; }
  .cap-grid, .cat-grid, .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-cta-card { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 720px) {
  .hero h1 { font-size: 36px; }
  .nav-links { display: none; }
  .cap-grid, .cat-grid, .cert-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; }
}