/* ====== 医院检验项目查询系统 - 单页样式 ====== */

/* ---------- 通用变量 ---------- */
:root {
  --kf-blue: #2563eb;
  --kf-deep: #0a1f44;
  --kf-gradient: linear-gradient(135deg, #1e40af, #2563eb);
  --kf-section-gap: 90px;
}

/* ---------- Banner ---------- */
.kf-banner {
  position: relative;
  min-height: 560px;
  background: radial-gradient(ellipse at 30% 20%, #1e3a6e 0%, #0a1f44 60%, #051028 100%);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.kf-banner::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 80px 80px;
}
.kf-banner .banner-glow {
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,0.18) 0%, transparent 70%);
  top: -120px; right: -80px;
  pointer-events: none;
}
.kf-banner .banner-glow-2 {
  position: absolute;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(8,145,178,0.12) 0%, transparent 70%);
  bottom: -100px; left: -60px;
  pointer-events: none;
}

/* Banner 双端展示区 */
.kf-banner .container { position: relative; z-index: 2; display: flex; align-items: center; gap: 50px; flex-wrap: wrap; }
.kf-banner-text { flex: 1; min-width: 300px; }
.kf-banner-text .kf-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 18px; border-radius: 20px;
  font-size: 13px; font-weight: 600; color: #2dd4bf;
  background: rgba(45,212,191,0.1);
  border: 1px solid rgba(45,212,191,0.18);
  margin-bottom: 20px;
}
.kf-banner-text h1 { font-size: 42px; font-weight: 800; color: #fff; line-height: 1.25; margin-bottom: 16px; }
.kf-banner-text h1 span { background: linear-gradient(135deg, #38bdf8, #2dd4bf); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.kf-banner-text p { font-size: 17px; color: rgba(255,255,255,0.68); line-height: 1.75; margin-bottom: 32px; max-width: 480px; }
.kf-banner-text .kf-btn-group { display: flex; gap: 14px; flex-wrap: wrap; }
.kf-banner-text .kf-btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 34px; border-radius: 10px;
  font-size: 15px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, #2563eb, #0891b2);
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 4px 18px rgba(37,99,235,0.4);
}
.kf-banner-text .kf-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(37,99,235,0.55); color: #fff; text-decoration: none; }
.kf-banner-text .kf-btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 34px; border-radius: 10px;
  font-size: 15px; font-weight: 600; color: #fff;
  border: 1.5px solid rgba(255,255,255,0.3);
  background: transparent;
  text-decoration: none;
  transition: all 0.3s;
}
.kf-banner-text .kf-btn-outline:hover { background: rgba(255,255,255,0.08); border-color: #fff; color: #fff; text-decoration: none; }

/* Banner 设备展示 */
.kf-device-showcase {
  flex: 0 0 480px;
  position: relative;
  display: flex; align-items: flex-end; justify-content: center;
  gap: 20px;
}
.kf-device-showcase .kf-desktop {
  width: 380px; background: #fff; border-radius: 12px 12px 0 0;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
  overflow: hidden;
  border: 2px solid #e2e8f0;
  border-bottom: none;
}
.kf-device-showcase .kf-desktop-header {
  height: 36px; background: #f1f5f9;
  display: flex; align-items: center; padding: 0 14px; gap: 6px;
}
.kf-desktop-header span {
  width: 10px; height: 10px; border-radius: 50%;
  background: #cbd5e1;
}
.kf-desktop-header span:nth-child(1) { background: #ef4444; }
.kf-desktop-header span:nth-child(2) { background: #eab308; }
.kf-desktop-header span:nth-child(3) { background: #22c55e; }
.kf-device-showcase .kf-desktop-body {
  padding: 12px; display: flex; gap: 10px; min-height: 240px;
}
.kf-desktop-sidebar {
  width: 70px; background: #f8fafc; border-radius: 8px;
  padding: 8px 0; display: flex; flex-direction: column; gap: 6px; align-items: center;
}
.kf-desktop-sidebar .kf-sb-icon {
  width: 40px; height: 40px; background: rgba(37,99,235,0.08); border-radius: 8px;
}
.kf-desktop-sidebar .kf-sb-icon.active { background: linear-gradient(135deg, #2563eb, #0891b2); }
.kf-desktop-main { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.kf-desktop-main .kf-stat-row { display: flex; gap: 8px; }
.kf-desktop-main .kf-stat-row div {
  flex: 1; height: 56px; background: #f8fafc; border-radius: 8px;
}
.kf-desktop-main .kf-stat-row div:first-child { border-left: 3px solid #2563eb; }
.kf-desktop-main .kf-stat-row div:nth-child(2) { border-left: 3px solid #0891b2; }
.kf-desktop-main .kf-stat-row div:nth-child(3) { border-left: 3px solid #22c55e; }
.kf-desktop-main .kf-stat-row div:nth-child(4) { border-left: 3px solid #eab308; }
.kf-desktop-main .kf-search-bar { height: 32px; background: #f1f5f9; border-radius: 6px; }
.kf-desktop-main .kf-table-area {
  flex: 1; background: #f8fafc; border-radius: 8px;
  display: flex; flex-direction: column; padding: 12px; gap: 6px;
}
.kf-table-area .kf-table-row { display: flex; gap: 6px; }
.kf-table-area .kf-table-row span {
  height: 12px; border-radius: 4px; background: #e2e8f0;
}
.kf-table-area .kf-table-header span { background: #2563eb; opacity: 0.9; }
.kf-table-area .kf-table-row:nth-child(2) span { opacity: 0.7; }
.kf-table-area .kf-table-row:nth-child(3) span { opacity: 0.5; }
.kf-table-area .kf-table-row:nth-child(4) span { opacity: 0.35; }

.kf-device-showcase .kf-mobile {
  width: 100px; background: #fff; border-radius: 12px 12px 0 0;
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
  overflow: hidden;
  border: 2px solid #e2e8f0;
  border-bottom: none;
  position: relative; bottom: -20px;
}
.kf-mobile-header { height: 24px; background: #f1f5f9; }
.kf-mobile-body { padding: 8px; display: flex; flex-direction: column; gap: 6px; min-height: 180px; }
.kf-mobile-body .kf-mb-label {
  height: 10px; width: 50px; background: #2563eb; border-radius: 4px; align-self: center; margin-bottom: 4px;
}
.kf-mobile-body .kf-mb-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px;
}
.kf-mobile-body .kf-mb-grid div {
  height: 36px; background: #f1f5f9; border-radius: 6px;
}
/* 竖屏旋转动画 */
@media (min-width: 992px) {
  .kf-mobile { transform: rotate(3deg); transform-origin: bottom center; transition: transform 0.4s; }
  .kf-device-showcase:hover .kf-mobile { transform: rotate(0deg); }
}

/* ---------- 统计条 ---------- */
.kf-stats-strip {
  margin-top: -36px;
  position: relative; z-index: 3;
}
.kf-stats-strip .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.kf-stat-card {
    background: #fff; border-radius: 14px;
    padding: 28px 20px;
    box-shadow: 0 6px 28px rgba(0,0,0,0.08);
    border: 1px solid #eef2f6;
    text-align: center;
    transition: all 0.3s;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    min-height: 120px;
}
.kf-stat-card:hover { transform: translateY(-4px); box-shadow: 0 14px 40px rgba(0,0,0,0.12); }
.kf-stat-card .kf-stat-num {
    font-size: 36px; font-weight: 800; line-height: 1.2;
    background: linear-gradient(135deg, #1e40af, #2563eb);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 6px;
    min-height: 43px;
    display: flex; align-items: center; justify-content: center;
}
.kf-stat-card .kf-stat-label {
    font-size: 14px; color: #64748b; font-weight: 500;
    min-height: 21px;
    display: flex; align-items: center; justify-content: center;
}

/* ---------- 通用 section 标题 ---------- */
.kf-section-header { text-align: center; margin-bottom: 50px; }
.kf-section-label {
  display: inline-block; font-size: 13px; font-weight: 700; color: #2563eb;
  background: rgba(37,99,235,0.08); padding: 4px 16px; border-radius: 20px;
  margin-bottom: 12px; letter-spacing: 1px; text-transform: uppercase;
}
.kf-section-header h2 { font-size: 34px; font-weight: 800; color: #0f172a; margin-bottom: 10px; }
.kf-section-header .kf-section-desc { font-size: 16px; color: #64748b; max-width: 600px; margin: 0 auto; }

/* ---------- 业务概述 ---------- */
.kf-overview { padding: 90px 0 60px; background: #fff; }
.kf-overview .kf-overview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.kf-overview .kf-overview-pic {
  position: relative; border-radius: 16px; overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}
.kf-overview .kf-overview-pic img { width: 100%; display: block; }
.kf-overview .kf-overview-pic::after {
  content: ""; position: absolute; inset: 0;
  border: 3px solid rgba(37,99,235,0.15); border-radius: 16px; pointer-events: none;
}
.kf-overview-text h2 { font-size: 28px; font-weight: 800; color: #0f172a; margin-bottom: 18px; }
.kf-overview-text p { font-size: 15px; color: #475569; line-height: 1.8; margin-bottom: 14px; }
.kf-overview-text .kf-overview-tags { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.kf-overview-text .kf-overview-tags span {
  padding: 7px 16px; border-radius: 8px; font-size: 13px; font-weight: 600;
  background: #eff6ff; color: #2563eb; border: 1px solid #bfdbfe;
}

/* ---------- 功能模块 ---------- */
.kf-modules { padding: 80px 0; background: #f8fafc; }
.kf-modules .kf-module-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.kf-module-card {
  background: #fff; border-radius: 14px; padding: 32px 24px;
  border: 1px solid #eef2f6; transition: all 0.35s;
  position: relative; overflow: hidden;
}
.kf-module-card::before {
  content: ""; position: absolute; left: 0; top: 0; width: 4px; height: 0;
  background: linear-gradient(180deg, #2563eb, #0891b2);
  transition: height 0.35s; border-radius: 0 2px 2px 0;
}
.kf-module-card:hover::before { height: 100%; }
.kf-module-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.1);
  border-color: transparent;
}
.kf-module-card .kf-mod-icon {
  width: 52px; height: 52px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: #fff; margin-bottom: 18px;
}
.kf-module-card:nth-child(1) .kf-mod-icon { background: linear-gradient(135deg, #2563eb, #3b82f6); }
.kf-module-card:nth-child(2) .kf-mod-icon { background: linear-gradient(135deg, #0891b2, #22d3ee); }
.kf-module-card:nth-child(3) .kf-mod-icon { background: linear-gradient(135deg, #7c3aed, #a78bfa); }
.kf-module-card:nth-child(4) .kf-mod-icon { background: linear-gradient(135deg, #059669, #34d399); }
.kf-module-card:nth-child(5) .kf-mod-icon { background: linear-gradient(135deg, #ea580c, #f97316); }
.kf-module-card:nth-child(6) .kf-mod-icon { background: linear-gradient(135deg, #dc2626, #f87171); }
.kf-module-card h3 { font-size: 18px; font-weight: 700; color: #1e293b; margin-bottom: 10px; }
.kf-module-card p { font-size: 14px; color: #64748b; line-height: 1.7; margin: 0; }

/* ---------- 双端展示对比 ---------- */
.kf-dual-showcase { padding: 80px 0; background: #fff; }
.kf-screenshot-row { margin-bottom: 44px; }
.kf-dual-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.kf-dual-item {
  text-align: center; padding: 30px 24px;
  border-radius: 16px; background: #f8fafc;
  border: 1px solid #eef2f6;
  transition: all 0.35s;
}
.kf-dual-item:hover { box-shadow: 0 12px 40px rgba(0,0,0,0.08); border-color: #cbd5e1; }
.kf-dual-item .kf-dual-icon {
  width: 64px; height: 64px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; color: #fff; margin: 0 auto 18px;
}
.kf-dual-item:nth-child(1) .kf-dual-icon { background: linear-gradient(135deg, #1e40af, #2563eb); }
.kf-dual-item:nth-child(2) .kf-dual-icon { background: linear-gradient(135deg, #0891b2, #22d3ee); }
.kf-dual-item h3 { font-size: 20px; font-weight: 700; color: #1e293b; margin-bottom: 12px; }
.kf-dual-item ul { list-style: none; padding: 0; margin: 0; text-align: left; display: inline-block; }
.kf-dual-item ul li {
  padding: 8px 0; font-size: 14px; color: #475569;
  display: flex; align-items: center; gap: 8px;
}
.kf-dual-item ul li i { color: #22c55e; font-size: 13px; }

/* ---------- 核心卖点 ---------- */
.kf-advantages { padding: 80px 0; background: radial-gradient(ellipse at 50% 0%, #f0f4ff 0%, #f8fafc 60%); }
.kf-advantages .kf-adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.kf-adv-card {
  background: #fff; border-radius: 14px; padding: 28px 20px;
  border: 1px solid #eef2f6; text-align: center;
  transition: all 0.35s;
}
.kf-adv-card:hover { transform: translateY(-5px); box-shadow: 0 14px 44px rgba(0,0,0,0.08); }
.kf-adv-card .kf-adv-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(37,99,235,0.06); display: flex; align-items: center; justify-content: center;
  font-size: 24px; color: #2563eb; margin: 0 auto 16px;
  transition: all 0.3s;
}
.kf-adv-card:hover .kf-adv-icon { background: #2563eb; color: #fff; }
.kf-adv-card h3 { font-size: 16px; font-weight: 700; color: #1e293b; margin-bottom: 8px; }
.kf-adv-card p { font-size: 13px; color: #64748b; line-height: 1.65; margin: 0; }

/* ---------- 流程 ---------- */
.kf-process { padding: 80px 0; background: #fff; }
.kf-process-flow {
  display: flex; align-items: flex-start; justify-content: center; gap: 0;
  max-width: 900px; margin: 0 auto;
}
.kf-step {
  text-align: center; flex: 1; position: relative;
}
.kf-step .kf-step-circle {
  width: 64px; height: 64px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 800; color: #fff;
  margin: 0 auto 12px;
  position: relative; z-index: 1;
}
.kf-step:nth-child(1) .kf-step-circle { background: linear-gradient(135deg, #2563eb, #3b82f6); }
.kf-step:nth-child(2) .kf-step-circle { background: linear-gradient(135deg, #0891b2, #22d3ee); }
.kf-step:nth-child(3) .kf-step-circle { background: linear-gradient(135deg, #7c3aed, #a78bfa); }
.kf-step:nth-child(4) .kf-step-circle { background: linear-gradient(135deg, #059669, #34d399); }
.kf-step::after {
  content: "";
  position: absolute; top: 32px; left: calc(50% + 32px);
  width: calc(100% - 64px); height: 2px;
  background: linear-gradient(90deg, #2563eb, #0891b2);
  z-index: 0;
}
.kf-step:last-child::after { display: none; }
.kf-step h3 { font-size: 16px; font-weight: 700; color: #1e293b; margin-bottom: 6px; }
.kf-step p { font-size: 13px; color: #64748b; margin: 0; }

/* ---------- 价格表 ---------- */
.kf-pricing { padding: 80px 0; background: #f8fafc; }
.kf-price-table {
  max-width: 900px; margin: 0 auto;
  background: #fff; border-radius: 16px;
  box-shadow: 0 6px 30px rgba(0,0,0,0.06);
  border: 1px solid #eef2f6; overflow: hidden;
}
.kf-price-table table { width: 100%; border-collapse: collapse; }
.kf-price-table thead { background: linear-gradient(135deg, #0a1f44, #1e3a6e); }
.kf-price-table thead th {
  padding: 16px 20px; text-align: left; font-size: 14px; font-weight: 700; color: #fff;
}
.kf-price-table thead th:last-child { text-align: center; }
.kf-price-table tbody td {
  padding: 14px 20px; font-size: 14px; color: #475569; border-bottom: 1px solid #f1f5f9;
}
.kf-price-table tbody td:last-child { text-align: center; font-weight: 700; color: #2563eb; }
.kf-price-table tbody tr:hover { background: #f8fafc; }
.kf-price-table tbody tr:last-child td { border-bottom: none; }
.kf-price-note { text-align: center; margin-top: 20px; font-size: 13px; color: #94a3b8; }

/* ---------- CTA ---------- */
.kf-cta {
  padding: 90px 0; position: relative;
  background: radial-gradient(ellipse at 40% 30%, #1e3a6e 0%, #0a1f44 60%, #051028 100%);
  overflow: hidden;
}
.kf-cta::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 60px 60px;
}
.kf-cta .container { position: relative; z-index: 2; text-align: center; }
.kf-cta h2 { font-size: 36px; font-weight: 800; color: #fff; margin-bottom: 14px; }
.kf-cta p { font-size: 17px; color: rgba(255,255,255,0.65); margin-bottom: 36px; max-width: 540px; margin-left: auto; margin-right: auto; }
.kf-cta .kf-cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- FAQ ---------- */
.kf-faq { padding: 80px 0; background: #fff; }
.kf-faq .kf-faq-list { max-width: 760px; margin: 0 auto; }
.kf-faq .kf-faq-item {
  border: 1px solid #eef2f6; border-radius: 12px;
  margin-bottom: 16px; overflow: hidden;
  transition: all 0.3s;
}
.kf-faq .kf-faq-item:hover { border-color: #cbd5e1; }
.kf-faq .kf-faq-q {
  padding: 18px 22px; font-size: 16px; font-weight: 700; color: #1e293b;
  background: #f8fafc; cursor: default;
  display: flex; align-items: center; gap: 10px;
}
.kf-faq .kf-faq-q i { color: #2563eb; font-size: 14px; }
.kf-faq .kf-faq-a {
  padding: 18px 22px; font-size: 14px; color: #475569;
  line-height: 1.75; border-top: 1px solid #f1f5f9;
}

/* ---------- JSON-LD 行业详情 ---------- */
.kf-industry { display: none; }

/* ========== 响应式 ========== */
@media (max-width: 1024px) {
  .kf-device-showcase { flex: 0 0 380px; }
  .kf-device-showcase .kf-desktop { width: 280px; }
  .kf-device-showcase .kf-mobile { width: 80px; }
  .kf-desktop-sidebar { width: 50px; }
  .kf-module-grid { grid-template-columns: repeat(2, 1fr); }
  .kf-adv-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .kf-banner { min-height: auto; padding: 80px 0 40px; text-align: center; }
  .kf-banner-text h1 { font-size: 30px; }
  .kf-banner-text p { margin-left: auto; margin-right: auto; }
  .kf-banner-text .kf-btn-group { justify-content: center; }
  .kf-device-showcase { flex: 0 0 100%; justify-content: center; margin-top: 30px; }
  .kf-device-showcase .kf-desktop { width: 260px; }
  .kf-device-showcase .kf-mobile { width: 70px; }
  .kf-stats-strip .container { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .kf-overview .kf-overview-grid { grid-template-columns: 1fr; }
  .kf-module-grid { grid-template-columns: 1fr; }
  .kf-dual-grid { grid-template-columns: 1fr; }
  .kf-adv-grid { grid-template-columns: 1fr; }
  .kf-process-flow { flex-direction: column; align-items: center; gap: 16px; }
  .kf-step::after { display: none; }
}
@media (max-width: 480px) {
  .kf-banner-text h1 { font-size: 26px; }
  .kf-device-showcase .kf-desktop { width: 200px; }
  .kf-device-showcase .kf-mobile { display: none; }
  .kf-stats-strip .container { grid-template-columns: 1fr; }
  .kf-price-table { overflow-x: auto; }
}
