/* ===========================================
   认知睡眠脑健康中心 v18 - 暗蓝色脑科学科技风
   =========================================== */

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
  background: #050d1f;
  background-image:
    radial-gradient(at 10% 5%, rgba(14, 165, 233, 0.18) 0%, transparent 50%),
    radial-gradient(at 90% 90%, rgba(6, 182, 212, 0.15) 0%, transparent 50%),
    radial-gradient(at 50% 50%, rgba(59, 130, 246, 0.08) 0%, transparent 70%),
    linear-gradient(180deg, #050d1f 0%, #0a1530 50%, #050d1f 100%);
  color: #e0f2fe;
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
  background-attachment: fixed;
}
a { color: #38bdf8; text-decoration: none; transition: all 0.2s; }
a:hover { color: #7dd3fc; }
img { max-width: 100%; height: auto; display: block; }

/* ==== 玻璃悬浮卡片 (暗蓝色) ==== */
.glass {
  background: linear-gradient(135deg, rgba(10, 25, 60, 0.65) 0%, rgba(15, 40, 90, 0.45) 100%);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 20px;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(56, 189, 248, 0.05) inset,
    0 0 50px rgba(14, 165, 233, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.glass:hover {
  transform: translateY(-6px);
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.5),
    0 0 80px rgba(14, 165, 233, 0.2);
}

/* ==== 顶部信任条 (从集团门户复制) ==== */
.trust-bar {
  background: linear-gradient(90deg, rgba(99,102,241,0.1), rgba(236,72,153,0.1));
  border-bottom: 1px solid rgba(56, 189, 248, 0.15);
  padding: 10px 0;
  font-size: 12px;
  color: rgba(255,255,255,0.85);
  text-align: center;
  letter-spacing: 0.3px;
  white-space: nowrap;
  overflow: hidden;
}
.trust-bar span { margin: 0 14px; display: inline-block; }
.trust-bar b { color: #fbbf24; font-weight: 700; }

/* ==== 顶部导航 ==== */
.topbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(5, 13, 31, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(56, 189, 248, 0.15);
  padding: 14px 32px;
  display: flex; align-items: center; justify-content: space-between;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}
.back-home {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: 99px;
  background: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 100%);
  color: #fff !important; font-size: 13px; font-weight: 700;
  box-shadow: 0 4px 16px rgba(14, 165, 233, 0.4);
  transition: all 0.2s;
}
.back-home:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(14, 165, 233, 0.6); color: #fff !important; }
.topbar-title { font-size: 15px; font-weight: 700;
  background: linear-gradient(135deg, #38bdf8 0%, #06b6d4 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  display: none;
}
.menu-toggle {
  display: none; background: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 100%);
  color: #fff; border: none; padding: 8px 16px; border-radius: 10px;
  font-size: 14px; font-weight: 600; cursor: pointer;
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}
.topbar-cta {
  padding: 10px 22px; border-radius: 99px;
  background: linear-gradient(135deg, #38bdf8 0%, #06b6d4 100%);
  color: #fff !important; font-size: 13px; font-weight: 700;
  box-shadow: 0 4px 16px rgba(14, 165, 233, 0.4);
  transition: all 0.2s;
}
.topbar-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(14, 165, 233, 0.6); color: #fff !important; }

/* ==== Hero ==== */
.hero { position: relative; padding: 100px 32px 80px; overflow: hidden; }
.hero-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center;
  position: relative; z-index: 2;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 800;
  color: #38bdf8; letter-spacing: 3px;
  padding: 6px 16px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 99px;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: 56px; font-weight: 900;
  background: linear-gradient(135deg, #fff 0%, #38bdf8 50%, #06b6d4 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  margin-bottom: 24px; line-height: 1.15;
  text-shadow: 0 0 60px rgba(56, 189, 248, 0.3);
  white-space: nowrap;
}
.hero p {
  font-size: 17px; color: rgba(224, 242, 254, 0.78);
  line-height: 1.8; margin-bottom: 32px; max-width: 540px;
}
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 36px; border-radius: 99px;
  font-size: 15px; font-weight: 700;
  cursor: pointer; transition: all 0.3s; border: none;
}
.btn-primary {
  background: linear-gradient(135deg, #38bdf8 0%, #06b6d4 100%);
  color: #fff; box-shadow: 0 8px 24px rgba(14, 165, 233, 0.4);
}
.btn-primary:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 12px 32px rgba(14, 165, 233, 0.6); color: #fff; }

/* Hero 右侧: 真实手绘大图 */
.hero-img-wrap {
  position: relative; display: flex; align-items: center; justify-content: center;
}
.hero-img {
  width: 100%; max-width: 520px;
  aspect-ratio: 4 / 3;
  border-radius: 24px; overflow: hidden; position: relative;
  box-shadow:
    0 0 0 4px rgba(56, 189, 248, 0.15),
    0 0 0 8px rgba(14, 165, 233, 0.1),
    0 30px 80px rgba(14, 165, 233, 0.3),
    0 0 100px rgba(56, 189, 248, 0.2);
  background: linear-gradient(135deg, rgba(10, 25, 60, 0.5), rgba(15, 40, 90, 0.3));
  backdrop-filter: blur(10px);
  border: 1px solid rgba(56, 189, 248, 0.25);
}
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
.hero-img::before {
  content: ''; position: absolute; top: 10%; left: 8%;
  width: 30%; height: 25%;
  background: radial-gradient(ellipse, rgba(255,255,255,0.3) 0%, transparent 70%);
  z-index: 2; pointer-events: none;
}

/* ==== 章节 ==== */
.section {
  position: relative; padding: 96px 32px;
  max-width: 1280px; margin: 0 auto; z-index: 1;
}
.section-eyebrow {
  text-align: center;
  font-size: 13px; font-weight: 800;
  color: #38bdf8; letter-spacing: 3px;
  margin-bottom: 12px;
}
.section-title {
  text-align: center;
  font-size: 44px; font-weight: 900;
  background: linear-gradient(135deg, #fff 0%, #38bdf8 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  margin-bottom: 12px;
  text-shadow: 0 4px 24px rgba(14, 165, 233, 0.3);
  white-space: nowrap;
}
.section-en {
  text-align: center; font-size: 14px;
  color: rgba(56, 189, 248, 0.5); letter-spacing: 1.5px; margin-bottom: 12px;
}
.section-sub {
  text-align: center; font-size: 16px; color: rgba(224, 242, 254, 0.7); margin-bottom: 56px;
}

/* ==== 建设理念 ==== */
.concept-card {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px;
  padding: 48px; align-items: center; margin-top: 32px;
}
.concept-text h3 {
  font-size: 22px; font-weight: 800;
  background: linear-gradient(135deg, #38bdf8 0%, #06b6d4 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  margin-bottom: 12px;
}
.concept-text p {
  font-size: 15px; line-height: 1.85; color: rgba(224, 242, 254, 0.88); margin-bottom: 16px;
}
.concept-img {
  position: relative; border-radius: 16px; overflow: hidden;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15), 0 20px 50px rgba(0, 0, 0, 0.4);
  aspect-ratio: 4/3;
}
.concept-img img { width: 100%; height: 100%; object-fit: cover; }

/* ==== 中心概况 4 大 (蓝色玻璃) ==== */
.overview-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 32px;
}
.overview-card {
  padding: 32px 28px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.18) 0%, rgba(6, 182, 212, 0.1) 100%);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(56, 189, 248, 0.25);
  position: relative; overflow: hidden;
  min-height: 120px;
  display: flex; flex-direction: column; justify-content: center;
  box-shadow: 0 8px 24px rgba(14, 165, 233, 0.15);
  transition: all 0.3s;
}
.overview-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 20% 0%, rgba(56, 189, 248, 0.15) 0%, transparent 50%);
  pointer-events: none;
}
.overview-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(14, 165, 233, 0.3); border-color: rgba(56, 189, 248, 0.5);}
.overview-card h3 {
  font-size: 20px; font-weight: 800; color: #fff; margin-bottom: 6px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5); position: relative;
}
.overview-card p { font-size: 13px; color: rgba(224, 242, 254, 0.8); position: relative; }

/* ==== 9 步手绘流程图 (高级感调整) ==== */
.process-img-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  margin: 40px auto 0;
  max-width: 880px;
  padding: 24px;
  background: linear-gradient(135deg, rgba(5, 13, 31, 0.6), rgba(8, 47, 73, 0.5));
  box-shadow:
    0 0 0 1px rgba(56, 189, 248, 0.18),
    0 16px 48px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(56, 189, 248, 0.18);
}
.process-img-wrap::before {
  content: '';
  position: absolute;
  top: 24px; left: 24px; right: 24px; bottom: 24px;
  background: linear-gradient(135deg, rgba(5, 13, 31, 0.55), rgba(6, 95, 130, 0.45));
  mix-blend-mode: multiply;
  pointer-events: none;
  border-radius: 12px;
  z-index: 1;
}
.process-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  filter:
    grayscale(0.25)
    saturate(0.7)
    brightness(0.78)
    contrast(1.18);
  transition: all 0.4s ease;
  position: relative;
  z-index: 0;
}
.process-img-wrap:hover img {
  filter:
    grayscale(0.15)
    saturate(0.8)
    brightness(0.85)
    contrast(1.22);
}

/* ==== 9 步高级玻璃流程图 (HTML+CSS 重新设计) ==== */
.process-flow {
  max-width: 880px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 32px 24px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(5, 13, 31, 0.55), rgba(8, 47, 73, 0.4));
  box-shadow:
    0 0 0 1px rgba(56, 189, 248, 0.18),
    0 16px 48px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(56, 189, 248, 0.18);
}
.flow-row {
  display: grid;
  grid-template-columns: 1fr 56px 1fr 56px 1fr;
  gap: 0;
  align-items: center;
}
.flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 18px 12px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(8, 47, 73, 0.5), rgba(6, 95, 130, 0.3));
  border: 1px solid rgba(56, 189, 248, 0.32);
  box-shadow:
    0 0 0 1px rgba(56, 189, 248, 0.1) inset,
    0 0 24px rgba(56, 189, 248, 0.18),
    0 6px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  min-width: 0;
  position: relative;
}
.flow-step::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.25), rgba(6, 182, 212, 0.15), rgba(56, 189, 248, 0.25));
  z-index: -1;
  filter: blur(8px);
  opacity: 0.5;
  transition: opacity 0.3s ease;
}
.flow-step:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, rgba(6, 95, 130, 0.65), rgba(8, 145, 178, 0.45));
  border-color: rgba(56, 189, 248, 0.55);
  box-shadow:
    0 0 0 1px rgba(56, 189, 248, 0.2) inset,
    0 0 32px rgba(56, 189, 248, 0.4),
    0 12px 30px rgba(6, 182, 212, 0.4);
}
.flow-step:hover::before { opacity: 0.9; }
.flow-icon {
  font-size: 30px;
  margin-bottom: 8px;
  filter: drop-shadow(0 0 12px rgba(56, 189, 248, 0.5));
  display: flex;
  align-items: center;
  justify-content: center;
}
.flow-icon img {
  width: 48px; height: 48px;
  display: block;
  filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.4));
}
.flow-name {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}
.flow-en {
  font-size: 11px;
  color: rgba(186, 230, 253, 0.75);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
}
.flow-arrow-h { padding: 0 4px; }

/* 行间连接线 (4 段 L 形 Z 字折线) */
.flow-connector-r,
.flow-connector-l {
  position: relative;
  height: 56px;
  width: 100%;
  overflow: visible;
}
@media (max-width: 768px) {
  .flow-row { grid-template-columns: 1fr; gap: 8px; }
  .flow-arrow { transform: rotate(90deg); padding: 4px 0; }
  .flow-connector-r, .flow-connector-l { display: none; }
  .process-flow { padding: 20px 12px; }
}

/* ==== 4 大基础平台 ==== */
.foundation-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 32px;
}
.foundation-card {
  padding: 32px 28px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.15) 0%, rgba(6, 182, 212, 0.08) 100%);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(56, 189, 248, 0.2);
  position: relative; overflow: hidden;
  min-height: 120px;
  display: flex; flex-direction: column; justify-content: center;
  box-shadow: 0 8px 24px rgba(14, 165, 233, 0.12);
  transition: all 0.3s;
}
.foundation-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(14, 165, 233, 0.25);}
.foundation-card h3 {
  font-size: 20px; font-weight: 800; color: #fff; margin-bottom: 6px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}
.foundation-card p { font-size: 13px; color: rgba(224, 242, 254, 0.8); }

/* ==== 诊疗范围 4 大 (病种可点击) ==== */
.scope-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 32px;
}
.scope-card {
  padding: 28px 24px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.15) 0%, rgba(6, 182, 212, 0.08) 100%);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(56, 189, 248, 0.25);
  position: relative; overflow: hidden;
  box-shadow: 0 8px 24px rgba(14, 165, 233, 0.12);
}
.scope-card h3 {
  font-size: 20px; font-weight: 800; color: #fff; margin-bottom: 4px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}
.scope-card .en {
  font-size: 11px; color: #38bdf8; letter-spacing: 1px;
  margin-bottom: 16px; font-weight: 600;
}
.scope-list { display: flex; flex-direction: column; gap: 8px; }
.scope-item {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: rgba(56,189,248,0.06);
  border: 1px solid rgba(56,189,248,0.15);
  border-radius: 10px;
  margin-bottom: 8px;
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(56, 189, 248, 0.3);
  touch-action: manipulation;
  transition: all 0.2s;
  min-width: 0;
}
.scope-item:hover, .scope-item:active {
  background: rgba(14, 165, 233, 0.15);
  border-color: rgba(56, 189, 248, 0.4);
  transform: translateX(4px);
}

.scope-item .scope-name {
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
}
.scope-item .scope-en {
  font-size: 11px;
  color: rgba(56, 189, 248, 0.7);
  font-weight: 500;
  white-space: nowrap;
  opacity: 0.85;
}

.scope-item .ai-hint {
  font-size: 11px;
  color: #fbbf24;
  font-weight: 700;
  padding: 3px 10px;
  background: rgba(251, 191, 36, 0.15);
  border: 1px solid rgba(251, 191, 36, 0.4);
  border-radius: 6px;
  white-space: nowrap;
  justify-self: end;
}
.scope-item .ai-hint:hover { background: rgba(251, 191, 36, 0.3); }

.equipment-card .ai-hint {
  display: inline-block;
  margin-top: 8px;
  font-size: 11px;
  color: #fbbf24;
  font-weight: 700;
  padding: 2px 8px;
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.3);
  border-radius: 6px;
  align-self: flex-start;
}
.scope-item::after {
  content: '→'; color: #38bdf8; margin-left: auto;
  opacity: 0; transition: opacity 0.2s;
}
.scope-item:hover::after { opacity: 1; }
.scope-item .scope-name { font-weight: 700; color: #ffffff; }

/* ==== 诊疗设备 16 张 ==== */
.equipment-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 24px;
}
.equipment-card {
  border-radius: 18px; overflow: hidden;
  background: linear-gradient(135deg, rgba(10, 25, 60, 0.65) 0%, rgba(15, 40, 90, 0.45) 100%);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(56, 189, 248, 0.2);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.equipment-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), 0 0 60px rgba(14, 165, 233, 0.2);
}
.equipment-img {
  width: 100%; aspect-ratio: 4/3;
  background: linear-gradient(135deg, #0a1530, #050d1f);
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.equipment-img img { width: 100%; height: 100%; object-fit: cover; }
.equipment-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(5, 13, 31, 0.5) 100%);
  pointer-events: none;
}
.equipment-name {
  padding: 16px 20px 6px;
  font-size: 15px; font-weight: 800; color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}
.equipment-action {
  padding: 0 20px 16px;
  font-size: 11px; color: #38bdf8; font-weight: 600;
  display: flex; align-items: center; gap: 4px;
}
.equipment-action::after { content: '→'; font-weight: bold; }

/* ==== 中心风采 轮播 ==== */
.carousel {
  position: relative; max-width: 1000px;
  margin: 48px auto 0; padding: 0 60px;
}
.carousel-stage {
  position: relative; width: 100%;
  height: 0; padding-bottom: 56.25%; /* 16:9 fallback */
  border-radius: 20px; overflow: hidden;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15), 0 0 0 6px rgba(14, 165, 233, 0.1), 0 20px 60px rgba(14, 165, 233, 0.3);
  background: #050d1f;
}
@supports (aspect-ratio: 16 / 9) {
  .carousel-stage {
    height: auto; padding-bottom: 0;
    aspect-ratio: 16 / 9;
  }
}
.carousel-track { position: absolute; inset: 0; background: #050d1f; }
.carousel-slide {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.6s; overflow: hidden;
}
.carousel-slide.active { opacity: 1; }
.carousel-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.5; }
.carousel-slide-content { display: none; } /* 文字下移到外层, 旧的不用了 */
.carousel-caption {
  text-align: center; color: #fff;
  margin-top: 20px; padding: 0 12px;
}
.carousel-caption-num {
  display: inline-block; margin-right: 12px;
  background: rgba(56, 189, 248, 0.15); color: #38bdf8;
  padding: 3px 12px; border-radius: 99px;
  font-size: 12px; font-weight: 700;
  border: 1px solid rgba(56, 189, 248, 0.3);
}
.carousel-caption-text {
  font-size: 18px; font-weight: 700; color: #fff;
  display: inline-block;
}
.carousel-num {
  position: absolute; top: 16px; right: 16px;
  background: rgba(0, 0, 0, 0.6); color: #fff;
  padding: 4px 12px; border-radius: 99px;
  font-size: 12px; font-weight: 700; z-index: 3;
  backdrop-filter: blur(10px);
}
.carousel-text { font-size: 36px; font-weight: 800; }
.carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(5, 13, 31, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #38bdf8; font-size: 24px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4); transition: all 0.2s; z-index: 10;
}
.carousel-arrow:hover { background: rgba(56, 189, 248, 0.2); transform: translateY(-50%) scale(1.1); }
.carousel-prev { left: 0; }
.carousel-next { right: 0; }
.carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }
.carousel-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(56, 189, 248, 0.2);
  cursor: pointer; transition: all 0.2s;
}
.carousel-dot.active { background: #38bdf8; width: 28px; border-radius: 4px; }

/* ==== AI 解读模态框 ==== */
.modal-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  z-index: 1000; align-items: center; justify-content: center; padding: 20px;
}
.modal-overlay.show { display: flex; animation: fadeIn 0.2s; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal {
  background: linear-gradient(135deg, #0a1530 0%, #050d1f 100%);
  border-radius: 20px; width: 100%; max-width: 720px;
  max-height: 88vh; display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid rgba(56, 189, 248, 0.3);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 80px rgba(14, 165, 233, 0.2);
  animation: modalSlide 0.3s;
}
@keyframes modalSlide { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.modal-header {
  background: linear-gradient(135deg, #1e5f6b 0%, #0e7490 100%);
  color: #fff; padding: 20px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.modal-title { display: flex; align-items: center; gap: 14px; }
.modal-icon { font-size: 32px; }
.modal-title-cn { font-size: 18px; font-weight: 800; }
.modal-title-en { font-size: 11px; opacity: 0.85; letter-spacing: 1px; margin-top: 2px; }
.modal-close {
  background: rgba(255, 255, 255, 0.15); border: none; color: #fff;
  width: 36px; height: 36px; border-radius: 50%;
  font-size: 24px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: all 0.2s;
}
.modal-close:hover { background: rgba(255, 255, 255, 0.25); }
.modal-body { padding: 28px 32px; overflow-y: auto; flex: 1; color: #e0f2fe; }
.modal-loading { text-align: center; color: rgba(56, 189, 248, 0.6); padding: 40px; }
.modal-section { margin-bottom: 24px; }
.modal-section-title {
  font-size: 14px; font-weight: 800;
  color: #38bdf8; margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(56, 189, 248, 0.2);
  letter-spacing: 1px;
}
.modal-content {
  font-size: 15px; line-height: 1.85;
  color: rgba(224, 242, 254, 0.9);
  white-space: pre-line;
}
.modal-callout {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.1) 0%, rgba(14, 165, 233, 0.06) 100%);
  border-left: 3px solid #38bdf8;
  padding: 16px 20px;
  border-radius: 0 10px 10px 0;
  font-size: 14px; line-height: 1.85;
  color: rgba(224, 242, 254, 0.92);
  white-space: pre-line;
}
.modal-footer {
  padding: 14px 24px;
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid rgba(56, 189, 248, 0.15);
  display: flex; gap: 8px;
}
.modal-tab {
  flex: 1; padding: 10px 16px;
  background: rgba(10, 25, 60, 0.6);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 10px; font-size: 14px; font-weight: 600;
  color: rgba(224, 242, 254, 0.7); cursor: pointer; transition: all 0.2s;
}
.modal-tab.active {
  background: linear-gradient(135deg, #38bdf8 0%, #06b6d4 100%);
  color: #fff; border-color: transparent;
  box-shadow: 0 4px 16px rgba(14, 165, 233, 0.4);
}

/* ==== CTA ==== */
.cta {
  position: relative;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.3) 0%, rgba(6, 182, 212, 0.2) 50%, rgba(59, 130, 246, 0.2) 100%);
  padding: 96px 32px; text-align: center; overflow: hidden;
}
.contact-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 16px; max-width: 1100px; margin: 32px auto 0;
  position: relative; z-index: 1;
}
.contact-card {
  display: block; padding: 24px 18px;
  background: linear-gradient(135deg, rgba(15,12,41,0.85), rgba(48,43,99,0.5));
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 16px;
  text-decoration: none; color: inherit;
  transition: all 0.3s;
  position: relative; z-index: 1;
}
.contact-card:hover { transform: translateY(-4px); border-color: #38bdf8; box-shadow: 0 12px 32px rgba(56, 189, 248, 0.25); }
.contact-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 28px; margin-bottom: 12px;
  color: #fff;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}
.contact-label { font-size: 12px; color: rgba(255,255,255,0.5); margin-bottom: 4px; letter-spacing: 0.5px; }
.contact-value { font-size: 18px; font-weight: 800; color: #fff; margin-bottom: 6px; }
.contact-sub { font-size: 11px; color: rgba(255,255,255,0.6); line-height: 1.5; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .contact-grid { grid-template-columns: 1fr; } }
.cta::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(56, 189, 248, 0.2) 0%, transparent 50%);
  pointer-events: none;
}
.cta h2 {
  font-size: 44px; font-weight: 900;
  background: linear-gradient(135deg, #fff 0%, #38bdf8 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  margin-bottom: 16px; position: relative;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}
.cta p { font-size: 17px; color: rgba(224, 242, 254, 0.85); margin-bottom: 32px; position: relative; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; position: relative; }
.cta .btn-primary { box-shadow: 0 12px 32px rgba(14, 165, 233, 0.5); }

/* ==== Footer ==== */
.footer {
  background: rgba(0, 0, 0, 0.5);
  color: rgba(56, 189, 248, 0.5);
  padding: 32px 24px; text-align: center; font-size: 13px;
  border-top: 1px solid rgba(56, 189, 248, 0.1);
}
.footer a { color: #38bdf8; }

/* ==== 移动端 ==== */
.sidebar-overlay { display: none; position: fixed; inset: 0; background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(4px); z-index: 199; }
.sidebar-overlay.show { display: block; }
.sidebar-drawer {
  position: fixed; top: 0; left: -340px;
  width: 340px; max-width: 90vw; height: 100vh;
  background: linear-gradient(135deg, #0a1530 0%, #050d1f 100%);
  z-index: 200; overflow-y: auto;
  transition: left 0.3s;
  padding: 20px 16px;
  box-shadow: 2px 0 12px rgba(0, 0, 0, 0.5);
  border-right: 1px solid rgba(56, 189, 248, 0.15);
}
.sidebar-drawer.open { left: 0; }
.sidebar-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid rgba(56, 189, 248, 0.15);
}
.sidebar-header h3 { font-size: 16px; color: #38bdf8; }
.sidebar-close { background: none; border: none; font-size: 24px; color: rgba(224, 242, 254, 0.6); cursor: pointer; padding: 0; line-height: 1; }

@media (max-width: 900px) {
  .topbar-title { display: block; }
  .menu-toggle { display: inline-block; }
  .back-home { display: none; }
  .topbar-cta { font-size: 12px; padding: 8px 14px; }
  .topbar-trust { display: none; }
  .trust-bar { font-size: 10px; padding: 8px 4px; }
  .trust-bar span { display: block; margin: 2px 0; }
  .hero { padding: 48px 20px 40px; }
  .hero-inner { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .hero h1 { font-size: 32px; white-space: normal; }
  .hero p { margin-left: auto; margin-right: auto; }
  .hero-buttons { justify-content: center; }
  .hero-img { max-width: 360px; margin: 0 auto; }
  .section { padding: 56px 20px; }
  .section-title { font-size: 28px; white-space: normal; }
  .section-sub { font-size: 14px; }
  .concept-card { grid-template-columns: 1fr; gap: 24px; padding: 28px 20px; }
  .concept-img { aspect-ratio: 16/9; }
  .overview-grid, .foundation-grid, .scope-grid { grid-template-columns: 1fr; }
  .equipment-grid { grid-template-columns: 1fr; }
  .overview-card, .foundation-card { min-height: 100px; padding: 24px 20px; }
  .cta { padding: 56px 20px; }
  .cta h2 { font-size: 28px; }
  .carousel { padding: 0 20px; }
  .carousel-arrow { width: 40px; height: 40px; font-size: 18px; }
  .modal-body { padding: 20px 18px; }
  .modal-header { padding: 16px 20px; }
  .modal-title-cn { font-size: 16px; }

  /* scope-item 在手机上紧凑布局: 中文名+英文换行, chip 占满 */
  .scope-item {
    grid-template-columns: 1fr auto;
    gap: 6px;
    padding: 12px 14px;
  }
  .scope-item .scope-name { font-size: 14px; }
  .scope-item .scope-en {
    grid-column: 1 / -1;
    font-size: 11px;
    opacity: 0.7;
  }
  .scope-item .ai-hint {
    grid-column: 2;
    grid-row: 1;
    font-size: 10px;
    padding: 2px 8px;
  }

  /* 诊疗流程图手机: 1 列 */
  .flow-row { grid-template-columns: 1fr; gap: 8px; }
  .flow-arrow { transform: rotate(90deg); padding: 4px 0; }
  .flow-connector-r, .flow-connector-l { display: none; }
  .process-flow { padding: 20px 12px; }
  .flow-step { padding: 16px 12px; }
  .flow-name { font-size: 14px; }
  .flow-en { font-size: 10px; }

  /* modal 优化 */
  .modal { width: 96vw; max-width: none; max-height: 92vh; margin: 4vh 2vw; border-radius: 14px; }
  .modal-body { padding: 16px 14px; font-size: 14px; }
  .modal-section-title { font-size: 15px; }
  .modal-content { font-size: 13px; line-height: 1.7; }
}

@media (max-width: 480px) {
  .scope-item { padding: 10px 12px; }
  .scope-item .scope-name { font-size: 13px; }
}
