/* ============================================================
   BCIWEB — 脑机接口企业官网 全站UI设计规范（方案1 定稿）
   全局CSS样式表
   ============================================================ */

/* ---------- CSS Custom Properties (Design Tokens) ---------- */
:root {
  /* 品牌主色 */
  --brand-blue: #0F4C96;
  --brand-blue-light: #1A5FB5;
  --brand-blue-dark: #0A3568;

  /* 辅助浅蓝 */
  --accent-cyan: #0D53C4;
  --accent-cyan-light: rgba(54, 195, 232, 0.12);

  /* 文本色 */
  --text-dark: #222831;
  --text-body: #55595F;
  --text-muted: #8A9099;

  /* 背景色 */
  --bg-white: #FFFFFF;
  --bg-card: #F8FAFC;
  --bg-hero: #060E1A;

  /* 边框/分割 */
  --border-light: #EEEEEE;

  /* 阴影 */
  --shadow-card: 0px 2px 12px rgba(0, 0, 0, 0.06);
  --shadow-card-hover: 0px 6px 24px rgba(0, 0, 0, 0.10);

  /* 圆角 */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-pill: 20px;

  /* 间距 */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 40px;
  --space-xl: 60px;
  --space-2xl: 80px;
  --space-3xl: 120px;

  /* 字体 */
  --font-zh: "Alibaba PuHuiTi", "Noto Sans SC", "Source Han Sans CN", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-en: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* 过渡 */
  --ease: 300ms ease;

  /* 容器最大宽度 */
  --max-width: 1200px;
  --nav-height: 72px;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-zh);
  color: var(--text-body);
  background: var(--bg-white);
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
}

/* 英文文本使用 Inter */
[lang="en"] body,
.lang-en {
  font-family: var(--font-en);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--ease);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

button {
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  transition: all var(--ease);
}

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
  outline: none;
  transition: border-color var(--ease);
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-dark);
  font-weight: 600;
  line-height: 1.3;
}

h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; }
h5 { font-size: 1rem; }

.page-title {
  text-align: center;
  color: var(--text-dark);
  margin-bottom: var(--space-xs);
}

.page-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 400;
  margin-bottom: var(--space-xl);
}

.section-label {
  display: inline-block;
  font-size: 1.875rem;
  color: var(--accent-cyan);
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: var(--space-xs);
}

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* ---------- Navigation ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: background var(--ease), box-shadow var(--ease), backdrop-filter var(--ease);
}

.navbar--transparent {
  background: transparent;
}

.navbar--solid {
  background: var(--bg-white);
  box-shadow: 0px 1px 8px rgba(0, 0, 0, 0.06);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.navbar__logo {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  white-space: nowrap;
}

.navbar--transparent .navbar__logo {
  color: #FFFFFF;
}

.navbar__logo-img {
  height: 36px;
  width: auto;
  display: block;
}

/* Logo 图片：默认显示浅色，深色隐藏 */
.navbar__logo-img--dark {
  display: none;
}

/* 实色导航栏（其他页面/首页滚动后）显示深色 logo，隐藏浅色 */
.navbar--solid .navbar__logo-img--dark {
  display: block;
}
.navbar--solid .navbar__logo-img--light {
  display: none;
}

.navbar__menu {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.navbar__menu-item {
  position: relative;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-body);
  padding: var(--space-xs) 0;
  cursor: pointer;
  transition: color var(--ease);
  white-space: nowrap;
}

.navbar--transparent .navbar__menu-item {
  color: rgba(255, 255, 255, 0.85);
}

.navbar__menu-item::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 100%;
  height: 2px;
  background: var(--brand-blue);
  transition: transform var(--ease);
}

.navbar__menu-item:hover {
  color: var(--brand-blue);
}

.navbar--transparent .navbar__menu-item:hover {
  color: #FFFFFF;
}

.navbar__menu-item:hover::after {
  transform: translateX(-50%) scaleX(1);
}

.navbar__menu-item--active {
  color: var(--brand-blue) !important;
}

.navbar__menu-item--active::after {
  transform: translateX(-50%) scaleX(1) !important;
}

/* 下拉子菜单 */
.navbar__submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--bg-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card-hover);
  padding: var(--space-sm);
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--ease);
}

.navbar__menu-item:hover .navbar__submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.navbar__submenu-item {
  display: block;
  padding: var(--space-xs) var(--space-sm);
  font-size: 0.9rem;
  color: var(--text-body);
  border-radius: var(--radius-sm);
  transition: all var(--ease);
  white-space: nowrap;
}

.navbar__submenu-item:hover {
  background: var(--bg-card);
  color: var(--brand-blue);
}

/* 语言切换 */
.navbar__lang {
  display: flex;
  gap: 4px;
  align-items: center;
}

.navbar__lang-btn {
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid var(--border-light);
  transition: all var(--ease);
}

.navbar--transparent .navbar__lang-btn {
  color: rgba(255, 255, 255, 0.75);
  border-color: rgba(255, 255, 255, 0.3);
  background: transparent;
}

.navbar__lang-btn:hover,
.navbar__lang-btn--active {
  color: var(--brand-blue);
  border-color: var(--brand-blue);
}

.navbar--transparent .navbar__lang-btn:hover,
.navbar--transparent .navbar__lang-btn--active {
  color: #FFFFFF;
  border-color: #FFFFFF;
}

/* 汉堡菜单 */
.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.navbar__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  transition: all var(--ease);
  border-radius: 1px;
}

.navbar--transparent .navbar__hamburger span {
  background: #FFFFFF;
}

.navbar__hamburger--open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.navbar__hamburger--open span:nth-child(2) {
  opacity: 0;
}

.navbar__hamburger--open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* 移动端菜单 */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-white);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  opacity: 0;
  visibility: hidden;
  transition: all var(--ease);
}

.mobile-menu--open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu__item {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text-dark);
  cursor: pointer;
  padding: var(--space-xs) var(--space-sm);
}

.mobile-menu__item:hover {
  color: var(--brand-blue);
}

.mobile-menu__sub {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  margin-top: var(--space-xs);
}

.mobile-menu__sub-item {
  font-size: 1rem;
  color: var(--text-body);
  cursor: pointer;
}

/* ---------- Hero / Banner ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:url('../assets/hero-bg.webp');
  background-size: 100% 100%;
    /* radial-gradient(ellipse at 50% 0%, rgba(26, 65, 120, 0.35) 0%, transparent 55%),
    linear-gradient(180deg, #081933 0%, #061021 45%, #030712 100%); */
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

/* 中央大脑线框 */
.hero__brain {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  pointer-events: none;
}

.hero__brain-svg {
  width: min(80vw, 760px);
  height: auto;
  max-height: 70vh;
  opacity: 0.85;
  filter: drop-shadow(0 0 40px rgba(54, 195, 232, 0.18)) drop-shadow(0 0 80px rgba(15, 76, 150, 0.15));
  animation: brainFloat 10s ease-in-out infinite;
}

@keyframes brainFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-8px) scale(1.01); }
}


.hero__content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  padding: 0 var(--space-md);
  margin-top: 4vh;
}

.hero__title {
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  font-weight: 600;
  color: #FFFFFF;
  line-height: 1.2;
  margin-bottom: var(--space-md);
  letter-spacing: 0.02em;
  white-space: pre-line;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.hero__subtitle {
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.78);
  font-weight: 400;
  margin-bottom: var(--space-lg);
  line-height: 1.7;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.3);
}

.hero__actions {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
}

/* 首页按钮样式：参考图白色主按钮 + 透明边框次按钮 */
.hero__actions .btn--primary {
  background: #FFFFFF;
  color: #0F4C96;
  border: 1px solid #FFFFFF;
}

.hero__actions .btn--primary:hover {
  background: rgba(255, 255, 255, 0.92);
  color: #0A3568;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.hero__actions .btn--outline {
  background: transparent;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.65);
}

.hero__actions .btn--outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #FFFFFF;
  color: #FFFFFF;
  transform: translateY(-2px);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 32px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all var(--ease);
  white-space: nowrap;
}

.btn--primary {
  background: var(--brand-blue);
  color: #FFFFFF;
}

.btn--primary:hover {
  background: var(--brand-blue-light);
  transform: translateY(-1px);
  box-shadow: 0px 4px 16px rgba(15, 76, 150, 0.3);
}

.btn--outline {
  background: transparent;
  color: #FFFFFF;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.btn--outline:hover {
  border-color: #FFFFFF;
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.btn--outline-dark {
  background: transparent;
  color: var(--brand-blue);
  border: 1.5px solid var(--brand-blue);
}

.btn--outline-dark:hover {
  background: var(--brand-blue);
  color: #FFFFFF;
}

.btn--sm {
  padding: 8px 20px;
  font-size: 0.85rem;
}

.btn--lg {
  padding: 16px 40px;
  font-size: 1rem;
}

/* ---------- Sections ---------- */
.section {
  padding: var(--space-3xl) 0;
}
.about .split-layout{
      align-items: flex-start;
}
.about .split-layout__text{
  padding-top:1.25rem;
  padding-left:1.5rem;
}
.about .section-label {
  margin-bottom:1.375rem;
}
.about .split-layout__text h2{
  margin-bottom:3.375rem;
}
.about .split-layout__text p{
  padding-right:1.38rem;
}
.section--gray {
  background: var(--bg-card);
}

.section--bp40 {
  padding: var(--space-2xl) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.section-header__title {
  color: var(--text-dark);
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.section-header__subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ---------- Split Layout ---------- */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.split-layout--left-text {
  /* default left text, right visual */
}

.split-layout__text h2 {
  margin-bottom: var(--space-sm);
}

.split-layout__text p {
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: var(--space-sm);
}

.split-layout__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.split-layout__visual img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  display: block;
}

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.card-grid--2col {
  grid-template-columns: repeat(2, 1fr);
}

.card-grid--4col {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: var(--space-lg) var(--space-md);
  box-shadow: var(--shadow-card);
  transition: all var(--ease);
  border: 1px solid var(--border-light);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.card--center {
  text-align: center;
}

.card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  font-size: 1.5rem;
}

.card__icon--blue {
  background: rgba(15, 76, 150, 0.08);
  color: var(--brand-blue);
}

.card__icon--cyan {
  background: rgba(54, 195, 232, 0.1);
  color: var(--accent-cyan);
}

.card__title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: var(--space-xs);
}

.card__desc {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.7;
}

.card__image {
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  overflow: hidden;
}

.card__image--placeholder {
  background: linear-gradient(135deg, #e8edf3 0%, #f0f4f8 100%);
}

/* 产品卡片SVG配图容器 */
.card__image--product {
  background: var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.card__image--product svg,
.card__image--product img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card__image--product img {
  object-position: center;
}

/* 产品详情截图占位 */
.product-screenshot {
  aspect-ratio: 16/10;
  border-radius: var(--radius-md);
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-screenshot svg {
  width: 90%;
  height: 90%;
}

.product-screenshot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- Service List ---------- */
.service-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.service-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  transition: all var(--ease);
}

.service-item:hover {
  box-shadow: var(--shadow-card);
  border-color: transparent;
}

.service-item__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(15, 76, 150, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-blue);
  font-size: 1.2rem;
}

.service-item__content h4 {
  margin-bottom: 4px;
  color: var(--text-dark);
}

.service-item__content p {
  font-size: 0.9rem;
  color: var(--text-body);
}

/* ---------- Logo Wall ---------- */
.logo-wall {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  /* gap: var(--space-lg) var(--space-xl); */
}

.logo-wall__item {
  height: 5.3rem;
  width: auto;
  /* opacity: 0.5; */
  /* filter: grayscale(100%); */
  transition: all var(--ease);
  /* background: var(--border-light); */
  /* border-radius: var(--radius-sm); */
  display: flex;
  align-items: center;
  justify-content: center;
  /* padding: 0 var(--space-md); */
  /* min-width: 120px; */
  /* color: var(--text-muted); */
  /* font-size: 0.85rem; */
  /* font-weight: 500; */
}

.logo-wall__item:hover {
  opacity: 0.8;
  filter: grayscale(0%);
}

/* ---------- CTA Section ---------- */
.cta-section {
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-dark) 100%);
  padding: var(--space-xl) 0;
  text-align: center;
}

.cta-section--elderly {
  background: linear-gradient(135deg, #0A3568 0%, #0F4C96 100%);
  padding: var(--space-2xl) 0;
}

.cta-section--children {
  background: linear-gradient(135deg, #0F4C96 0%, #1A5FB5 100%);
  padding: var(--space-2xl) 0;
}

.cta-section__title {
  color: #FFFFFF;
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: var(--space-sm);
}

.cta-section__text {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-lg);
  font-size: 1.05rem;
}

.cta-section .btn--outline {
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.5);
}

.cta-section .btn--outline:hover {
  border-color: #FFFFFF;
  background: rgba(255, 255, 255, 0.12);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-white);
  border-top: 1px solid var(--border-light);
  padding: var(--space-xl) 0 var(--space-md);
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-lg);
}

.footer__brand h3 {
  margin-bottom: var(--space-xs);
}

.footer__logo-img {
  height: 36px;
  width: auto;
  display: block;
}

.footer__brand p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer__col h4 {
  font-size: 0.9rem;
  color: var(--text-dark);
  margin-bottom: var(--space-sm);
}

.footer__col a {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: var(--space-xs);
  transition: color var(--ease);
}

.footer__col a:hover {
  color: var(--brand-blue);
}

.footer__bottom {
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border-light);
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer__beian {
  color: var(--text-muted);
  text-decoration: none;
  margin-left: 4px;
}

.footer__beian:hover {
  color: var(--brand-blue);
  text-decoration: underline;
}

/* ---------- Tech Architecture ---------- */
.tech-arch {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  padding: var(--space-lg);
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

.tech-arch__row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.tech-arch__node {
  padding: var(--space-sm) var(--space-md);
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-dark);
  text-align: center;
  min-width: 120px;
}

.tech-arch__node--primary {
  border-color: var(--brand-blue);
  background: rgba(15, 76, 150, 0.04);
  color: var(--brand-blue);
}

.tech-arch__arrow {
  color: var(--accent-cyan);
  font-size: 1.2rem;
}

.tech-arch__connector {
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-blue), var(--accent-cyan));
  border-radius: 1px;
  margin: var(--space-xs) 0;
}

/* ---------- Tech Detail Blocks ---------- */
.tech-detail {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.tech-detail__header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--border-light);
}

.tech-detail__header .card__icon {
  margin-bottom: 0;
}

.tech-detail__title {
  font-size: 1.3rem;
  color: var(--text-dark);
  font-weight: 600;
}

/* 技术流程可视化图 */
.tech-process-visual {
  max-width: 100%;
  overflow-x: auto;
  margin-bottom: var(--space-sm);
  padding-bottom: var(--space-sm);
  border-bottom: 1px dashed var(--border-light);
}

.tech-detail__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.tech-detail__block h5 {
  color: var(--brand-blue);
  font-size: 0.9rem;
  margin-bottom: var(--space-xs);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tech-detail__block p,
.tech-detail__block ul {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.7;
}

.tech-detail__block li {
  padding: 4px 0;
  padding-left: 16px;
  position: relative;
}

.tech-detail__block li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan);
}

/* ---------- Process Timeline ---------- */
.process-timeline {
  display: flex;
  justify-content: space-between;
  position: relative;
  padding: var(--space-lg) 0;
  gap: var(--space-md);
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 72px;
  left: 60px;
  right: 60px;
  height: 2px;
  background: var(--border-light);
}

.process-step {
  text-align: center;
  flex: 1;
  position: relative;
  z-index: 1;
}

.process-step__num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-white);
  border: 2px solid var(--brand-blue);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 auto var(--space-sm);
  transition: all var(--ease);
}

.process-step:hover .process-step__num {
  background: var(--brand-blue);
  color: #FFFFFF;
}

.process-step__title {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 4px;
  font-size: 0.95rem;
}

.process-step__desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ---------- Product Detail ---------- */
.product-banner {
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(54, 195, 232, 0.08) 100%);
  padding: var(--space-3xl) 0 var(--space-xl);
  text-align: center;
}

.product-banner__icon {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-md);
  background: var(--bg-white);
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--brand-blue);
  margin: 0 auto var(--space-md);
}

.product-banner__title {
  font-size: 2rem;
  margin-bottom: var(--space-xs);
}

.product-banner__subtitle {
  color: var(--text-muted);
  font-size: 1rem;
}

.product-section {
  padding: var(--space-xl) 0;
  border-bottom: 1px solid var(--border-light);
}

.product-section:last-child {
  border-bottom: none;
}

.product-section h3 {
  color: var(--text-dark);
  margin-bottom: var(--space-md);
  font-weight: 600;
}

.product-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.product-feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}

.product-feature__check {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(15, 76, 150, 0.08);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  margin-top: 2px;
}

.product-feature__text h5 {
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.product-feature__text p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ---------- Contact Page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
}

.contact-info h2 {
  margin-bottom: var(--space-xs);
}

.contact-info__intro {
  color: var(--text-body);
  margin-bottom: var(--space-lg);
  line-height: 1.7;
}

.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.contact-info__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: rgba(15, 76, 150, 0.06);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-info__label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.contact-info__value {
  font-size: 0.95rem;
  color: var(--text-dark);
  font-weight: 500;
}

.contact-map {
  width: 100%;
  height: 300px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  margin-top: var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ---------- Forms ---------- */
.form {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
}

.form__title {
  font-size: 1.2rem;
  color: var(--text-dark);
  margin-bottom: var(--space-md);
}

.form__group {
  margin-bottom: var(--space-md);
}

.form__label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.form__input,
.form__select,
.form__textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  color: var(--text-dark);
  font-size: 0.95rem;
  transition: all var(--ease);
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  border-color: var(--brand-blue);
  background: var(--bg-white);
  box-shadow: 0px 0px 0px 3px rgba(15, 76, 150, 0.08);
}

.form__textarea {
  min-height: 120px;
  resize: vertical;
}

.form__submit {
  width: 100%;
}

/* ---------- Product Banner (Interior Pages) ---------- */
.page-banner {
  padding-top: calc(var(--nav-height) + var(--space-xl));
  padding-bottom: var(--space-lg);
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-light);
  text-align: center;
}


.page-banner__title {
  margin-bottom: var(--space-xs);
}

.page-banner__breadcrumb {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.page-banner__breadcrumb span {
  color: #fff
}

.contact-page{
   background: #0D4689;
}
.contact-page .page-banner__title,.page-subtitle{
  color:#fff;
}
/* ---------- Product Landing Banners ---------- */
.product-banner--elderly {
  padding-top: calc(var(--nav-height) + var(--space-2xl));
  padding-bottom: var(--space-2xl);
  background: linear-gradient(160deg, #EFF6FC 0%, #DFEEF9 30%, rgba(54,195,232,0.1) 70%, rgba(15,76,150,0.06) 100%);
  border-bottom: 1px solid var(--border-light);
  text-align: center;
}

.product-banner--elderly .product-banner__title {
  color: var(--brand-blue-dark);
}

.product-banner--elderly .back-link {
  color: var(--brand-blue);
}

.product-banner--children {
  padding-top: calc(var(--nav-height) + var(--space-2xl));
  padding-bottom: var(--space-2xl);
  background: linear-gradient(160deg, #EEF6FD 0%, #DCEBF7 30%, rgba(54,195,232,0.12) 70%, rgba(54,195,232,0.04) 100%);
  border-bottom: 1px solid var(--border-light);
  text-align: center;
}

.product-banner--children .product-banner__title {
  color: var(--brand-blue-dark);
}

.product-banner--children .back-link {
  color: var(--brand-blue);
}

.product-banner__actions {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Animations ---------- */
/* 滚动入场动画 */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.fade-up--visible {
  opacity: 1;
  transform: translateY(0);
}

/* 粒子背景 */
.particles-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.particle-dot {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(54, 195, 232, 0.4);
}

.particle-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(54, 195, 232, 0.2), transparent);
  transform-origin: left center;
}

/* 脑电波流线动画 */
.wave-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(54, 195, 232, 0.5), transparent);
  animation: waveFlow 8s ease-in-out infinite;
}

@keyframes waveFlow {
  0%, 100% { opacity: 0.3; transform: scaleX(0.8); }
  50% { opacity: 0.8; transform: scaleX(1); }
}

/* ---------- Page Visibility ---------- */
.page {
  display: none;
}

.page--active {
  display: block;
}

/* ---------- Back Button ---------- */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  color: var(--brand-blue);
  cursor: pointer;
  margin-bottom: var(--space-md);
  transition: opacity var(--ease);
}

.back-link:hover {
  opacity: 0.7;
}

/* ---------- Product Grid (列表页) ---------- */
.product-card {
  cursor: pointer;
}

.product-card .card__image {
  aspect-ratio: 4/2.5;
  margin-bottom: var(--space-lg);
}

/* ---------- Landing Page Intro ---------- */
.landing-intro {
  max-width: 860px;
  margin: 0 auto;
}

.landing-intro p {
  color: var(--text-body);
  line-height: 1.9;
  margin-bottom: var(--space-md);
  font-size: 1rem;
}

/* ---------- Cooperation Modes ---------- */
.coop-modes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.coop-mode {
  text-align: center;
  padding: var(--space-lg);
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  transition: all var(--ease);
}

.coop-mode:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}

.coop-mode__icon {
  width: 4rem;
  height: 4rem;
  margin:0 auto;
  color: var(--brand-blue);
  margin-bottom: var(--space-sm);
}

.coop-mode__title {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: var(--space-xs);
}

.coop-mode__desc {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.6;
}

/* ---------- Scroll-to-top ---------- */
.scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand-blue);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0px 4px 16px rgba(15, 76, 150, 0.3);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--ease);
  z-index: 99;
}

.scroll-top--visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--brand-blue-light);
  transform: translateY(-2px);
}

/* ============================================================
   RESPONSIVE — 768px 断点
   ============================================================ */
@media (max-width: 768px) {
  :root {
    --space-3xl: 80px;
    --space-2xl: 60px;
    --space-xl: 40px;
    --space-lg: 32px;
  }

  /* 导航 */
  .navbar__menu {
    display: none;
  }

  .navbar__hamburger {
    display: flex;
  }

  .navbar__lang {
    display: none;
  }

  /* 移动端语言切换 */
  .mobile-lang {
    display: flex;
    gap: 8px;
    margin-top: var(--space-md);
  }

  .mobile-lang .navbar__lang-btn {
    color: var(--text-muted);
    border-color: var(--border-light);
  }

  .mobile-lang .navbar__lang-btn--active {
    color: var(--brand-blue);
    border-color: var(--brand-blue);
  }

  /* 分栏布局 → 单列 */
  .split-layout {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .split-layout__visual {
    order: -1;
  }

  /* 卡片网格 → 单列 */
  .card-grid,
  .card-grid--2col,
  .card-grid--4col {
    grid-template-columns: 1fr;
  }

  /* 产品特性网格 → 单列 */
  .product-features {
    grid-template-columns: 1fr;
  }

  /* 技术详情网格 → 单列 */
  .tech-detail__grid {
    grid-template-columns: 1fr;
  }

  /* 合作模式 → 单列 */
  .coop-modes {
    grid-template-columns: 1fr;
  }

  /* 联系页面 → 单列 */
  .contact-grid {
    grid-template-columns: 1fr;
  }

  /* 流程时间轴 → 纵向 */
  .process-timeline {
    flex-direction: column;
    gap: var(--space-lg);
    padding-left: var(--space-md);
  }

  .process-timeline::before {
    top: 0;
    bottom: 0;
    left: 24px;
    right: auto;
    width: 2px;
    height: auto;
  }

  .process-step {
    display: flex;
    align-items: flex-start;
    text-align: left;
    gap: var(--space-md);
  }

  .process-step__num {
    margin: 0;
    flex-shrink: 0;
  }

  /* 页脚 → 单列 */
  .footer__inner {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  /* Hero 优化 */
  .hero__title {
    font-size: 1.8rem;
  }

  .hero__brain-svg {
    width: 95vw;
    max-height: 55vh;
  }

  .hero__wave {
    width: 22vw;
    height: 50px;
    opacity: 0.45;
  }

  .hero__wave--left {
    left: 0;
    top: 58%;
  }

  .hero__wave--right {
    right: 0;
    top: 58%;
  }

  .hero__content {
    margin-top: 2vh;
  }

  .hero__actions {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-sm);
  }

  .btn {
    padding: 10px 24px;
    font-size: 0.9rem;
  }

  .btn--lg {
    padding: 14px 28px;
  }
}


.section2 .card {
  padding:1.25rem 1.56rem 3.63rem;
}
.section2 .card__icon{
  width:12.5rem;
  height:12.5rem;
}