/* ============================================================
   倍坦舒刻官网 · 液态玻璃设计系统
   v1.0 · 富贵 2026.08.31
   视觉红线：液态玻璃现代精致，禁东方禅意素净（宣纸淡月=low）
   ============================================================ */

/* ---------- 设计令牌 ---------- */
:root {
  /* 深夜蓝黑底 */
  --bg-0: #070b14;
  --bg-1: #0d1526;
  --bg-2: #14203a;

  /* 玻璃 */
  --glass: rgba(255, 255, 255, .055);
  --glass-strong: rgba(255, 255, 255, .09);
  --glass-edge: rgba(255, 255, 255, .13);
  --glass-edge-hot: rgba(126, 224, 255, .32);

  /* 光 */
  --accent: #7ee0ff;
  --accent-2: #9a8cff;
  --glow: rgba(126, 224, 255, .35);

  /* 文字 */
  --text-hi: #f4f7fb;
  --text-mid: rgba(244, 247, 251, .72);
  --text-lo: rgba(244, 247, 251, .48);

  /* 语义 */
  --live: #52e08e;      /* 已上市 */
  --soon: #ffc25e;      /* 即将上市 */
  --dev: #9aa7bd;       /* 开发中 */

  --radius: 24px;
  --radius-sm: 14px;
  --maxw: 1200px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

/* ---------- 重置 ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg-0);
  color: var(--text-hi);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* 深色底流动光晕（全局背景） */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(52% 42% at 18% 8%, rgba(126, 224, 255, .10), transparent 62%),
    radial-gradient(46% 38% at 88% 16%, rgba(154, 140, 255, .08), transparent 60%),
    radial-gradient(60% 50% at 50% 110%, rgba(126, 224, 255, .06), transparent 65%);
  animation: bgDrift 26s ease-in-out infinite alternate;
}
@keyframes bgDrift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(-2%, 1.5%, 0) scale(1.04); }
}
/* 玻璃颗粒噪点（增强玻璃质感） */
body::after {
  content: "";
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 4px 4px;
  opacity: .5;
}

/* ---------- 布局 ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
section { position: relative; }
.section { padding: 96px 0; }
@media (max-width: 768px) { .section { padding: 64px 0; } }

/* ---------- 玻璃组件 ---------- */
.glass {
  background: linear-gradient(135deg, rgba(255,255,255,.09), rgba(255,255,255,.02) 60%);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid var(--glass-edge);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px -20px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.12);
  position: relative; overflow: hidden;
}
/* 光折射高光（跟随鼠标） */
.glass::before {
  content: "";
  position: absolute; inset: -40%;
  background: radial-gradient(620px circle at var(--mx, 50%) var(--my, 50%), rgba(126,224,255,.13), transparent 45%);
  opacity: 0; transition: opacity .4s ease; pointer-events: none;
}
.glass:hover::before { opacity: 1; }
.glass-inner { position: relative; z-index: 1; padding: 40px; }

/* ---------- 排版 ---------- */
.h1 {
  font-size: clamp(38px, 5.4vw, 68px);
  font-weight: 700; line-height: 1.22; letter-spacing: -.02em;
}
.h2 { font-size: clamp(26px, 3.2vw, 40px); font-weight: 700; line-height: 1.3; letter-spacing: -.01em; }
.h3 { font-size: 20px; font-weight: 600; }
.lead { color: var(--text-mid); font-size: 17px; }
.muted { color: var(--text-lo); font-size: 14px; }
.em { color: var(--accent); }
.center { text-align: center; }
.grad-text {
  background: linear-gradient(120deg, #fff 0%, var(--accent) 55%, var(--accent-2) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 30px; border-radius: 999px;
  font-size: 15px; font-weight: 600; letter-spacing: .01em;
  border: 1px solid var(--glass-edge); cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn-primary {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #06121f; border: none;
  box-shadow: 0 12px 34px -10px var(--glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 44px -10px var(--glow); }
.btn-ghost { background: var(--glass); color: var(--text-hi); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--glass-edge-hot); }
.btn-row { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- 导航 ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(7, 11, 20, .55);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.nav-logo { font-weight: 700; font-size: 19px; letter-spacing: .02em; }
.nav-logo small { color: var(--accent); font-weight: 500; }
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a { color: var(--text-mid); font-size: 14.5px; transition: color .2s; position: relative; }
.nav-links a:hover { color: var(--text-hi); }
.nav-links a.active { color: var(--text-hi); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
}
.nav-burger { display: none; background: none; border: 0; color: var(--text-hi); font-size: 22px; cursor: pointer; }

/* ---------- 页脚 ---------- */
.footer {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 64px 0 40px; margin-top: 40px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.4));
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer h4 { font-size: 15px; margin-bottom: 16px; color: var(--text-hi); }
.footer a, .footer p { color: var(--text-lo); font-size: 13.5px; display: block; margin-bottom: 8px; }
.footer a:hover { color: var(--text-mid); }
.footer-cert { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.06); }
.footer-cert p { font-size: 12.5px; margin-bottom: 4px; }
.cert-id { color: var(--accent); }

/* ---------- 滚动进场 ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .12s; }
.reveal-d2 { transition-delay: .24s; }
.reveal-d3 { transition-delay: .36s; }

/* ---------- 首页屏 ---------- */
.hero { min-height: 100vh; display: flex; align-items: center; }
.hero-inner { padding: 120px 0 60px; }
.hero .tag {
  display: inline-block; padding: 7px 18px; border-radius: 999px;
  border: 1px solid var(--glass-edge); background: var(--glass);
  font-size: 13px; color: var(--text-mid); margin-bottom: 26px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.hero .h1 { margin-bottom: 22px; }
.hero .lead { font-size: 19px; margin-bottom: 42px; }

/* 数据锚点 */
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.stat { text-align: center; padding: 44px 20px; }
.stat b { display: block; font-size: clamp(40px, 5vw, 62px); font-weight: 800; line-height: 1; margin-bottom: 12px; }
.stat span { color: var(--text-mid); font-size: 14.5px; }
.stat small { display: block; color: var(--text-lo); font-size: 12px; margin-top: 10px; }

/* 痛点屏 */
.pain { position: relative; }
.pain .quote { font-size: clamp(22px, 2.6vw, 30px); line-height: 1.5; font-weight: 600; }
.pain .answer { font-size: clamp(24px, 3vw, 36px); margin-top: 24px; font-weight: 700; }

/* 四产品 */
.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.prod-card { padding: 34px 26px; display: flex; flex-direction: column; min-height: 240px; justify-content: space-between; }
.prod-card.featured { border-color: var(--glass-edge-hot); box-shadow: 0 24px 70px -22px var(--glow); }
.prod-tag {
  position: absolute; top: 18px; right: 18px; font-size: 11.5px; padding: 4px 12px; border-radius: 999px; font-weight: 600;
}
.prod-tag.live { background: rgba(82,224,142,.14); color: var(--live); border: 1px solid rgba(82,224,142,.3); }
.prod-tag.soon { background: rgba(255,194,94,.14); color: var(--soon); border: 1px solid rgba(255,194,94,.3); }
.prod-tag.dev { background: rgba(154,167,189,.14); color: var(--dev); border: 1px solid rgba(154,167,189,.3); }
.prod-name { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.prod-desc { color: var(--text-mid); font-size: 14px; }
.prod-status { margin-top: 18px; font-size: 12px; color: var(--text-lo); }

/* 愿景 */
.vision { text-align: center; }
.vision .h2 { max-width: 820px; margin: 0 auto 28px; }
.vision p { color: var(--text-mid); font-size: 16px; max-width: 640px; margin: 0 auto; }

/* ---------- 页面头部 ---------- */
.page-head { padding: 140px 0 60px; }
.page-head .h1 { margin-bottom: 14px; }
.page-head p { max-width: 720px; color: var(--text-mid); }

/* ---------- 内容区 ---------- */
.article .glass-inner p { color: var(--text-mid); margin-bottom: 14px; }
.article .glass-inner h2, .article .glass-inner h3 { margin: 30px 0 12px; }

/* 文献表 */
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; color: var(--accent); font-weight: 600; padding: 14px 16px; border-bottom: 1px solid var(--glass-edge); font-size: 13px; }
.tbl td { padding: 14px 16px; border-bottom: 1px solid rgba(255,255,255,.05); color: var(--text-mid); vertical-align: top; }
.tbl td b { color: var(--text-hi); }
.tbl tr:hover td { background: rgba(126,224,255,.03); }
.tbl .tag-sci { color: var(--accent); font-weight: 700; }

/* 资质网格 */
.qual-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.qual-card { padding: 28px 24px; }
.qual-card h3 { font-size: 16px; margin-bottom: 8px; }
.qual-card p { color: var(--text-lo); font-size: 13.5px; }
.qual-card .num { font-size: 26px; font-weight: 800; color: var(--accent); margin-bottom: 6px; display: block; }

/* 占位提示 */
.ph {
  border: 1px dashed rgba(255,255,255,.22); border-radius: var(--radius-sm);
  padding: 26px; color: var(--text-lo); font-size: 13.5px; text-align: center;
  background: rgba(255,255,255,.02);
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { gap: 16px; }
}
@media (max-width: 768px) {
  .nav-links {
    position: fixed; inset: 66px 0 auto 0; flex-direction: column; gap: 0;
    background: rgba(7,11,20,.97); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
    padding: 12px 24px 20px; border-bottom: 1px solid var(--glass-edge);
    transform: translateY(-120%); transition: transform .3s ease;
  }
  .nav-links.open { transform: none; }
  .nav-links a { padding: 13px 0; width: 100%; border-bottom: 1px solid rgba(255,255,255,.05); }
  .nav-burger { display: block; }
  .prod-grid, .stats-grid, .qual-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero { min-height: 92vh; }
  .btn-row { flex-direction: column; }
  .tbl { font-size: 12.5px; display: block; overflow-x: auto; white-space: nowrap; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* 无障碍：减少动效偏好 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- v1.1 流量思维版：导航下拉 / 科学支撑折叠 / 学术徽章 ---------- */
/* 更多下拉 */
.nav-more { position: relative; }
.nav-more-btn { cursor: pointer; color: var(--text-mid); font-size: 14.5px; }
.nav-more-btn:hover { color: var(--text-hi); }
.nav-drop {
  position: absolute; top: 100%; right: 0; min-width: 190px;
  background: rgba(13, 21, 38, .96); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-edge); border-radius: 14px; padding: 8px 0;
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: .25s ease;
  box-shadow: 0 20px 50px -12px rgba(0,0,0,.7);
}
.nav-more:hover .nav-drop, .nav-more.open .nav-drop { opacity: 1; visibility: visible; transform: none; }
.nav-drop a { display: block; padding: 11px 20px; color: var(--text-mid); font-size: 14px; white-space: nowrap; }
.nav-drop a:hover { color: var(--text-hi); background: rgba(255,255,255,.06); }
@media (max-width: 768px) {
  .nav-drop { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: 0; padding: 0 0 0 16px; min-width: 0; display: none; }
  .nav-more.open .nav-drop { display: block; }
}

/* 学术徽章（首页 4 字小徽章） */
.badge-sci {
  display: inline-block; padding: 9px 20px; border-radius: 999px;
  border: 1px solid var(--glass-edge-hot); color: var(--accent);
  font-size: 13px; font-weight: 600; background: rgba(126,224,255,.07);
  cursor: pointer; transition: transform .2s, box-shadow .2s;
}
.badge-sci:hover { transform: translateY(-1px); box-shadow: 0 8px 26px -8px var(--glow); }

/* 科学支撑折叠块（产品页底部） */
details.science-block {
  border: 1px solid var(--glass-edge); border-radius: var(--radius);
  background: var(--glass); margin-top: 20px;
}
details.science-block summary {
  padding: 20px 26px; cursor: pointer; font-weight: 600; color: var(--text-hi);
  list-style: none; display: flex; justify-content: space-between; align-items: center; font-size: 16px;
}
details.science-block summary::-webkit-details-marker { display: none; }
details.science-block summary::after { content: "+"; color: var(--accent); font-size: 20px; font-weight: 400; transition: transform .25s; }
details.science-block[open] summary::after { transform: rotate(45deg); }
details.science-block .sb-body { padding: 4px 26px 26px; }
.sb-item { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.06); font-size: 14px; color: var(--text-mid); }
.sb-item:last-child { border-bottom: 0; }
.sb-item b { color: var(--text-hi); font-weight: 600; }

/* 首页首屏钩子（更大冲击力） */
.hero-hook { font-size: clamp(44px, 7vw, 88px); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; }
.hero-hook .hq { color: var(--text-hi); }
.hook-sub { font-size: clamp(22px, 3vw, 34px); font-weight: 700; margin-top: 26px; color: var(--text-mid); }
