/* =========================================================
   BGDE 大脑基因解码工程 · 官方展示站
   主题：明亮温暖科技风（暖米白 + 琥珀橙 × 湖水蓝渐变 + 玻璃拟态）
   ========================================================= */

:root {
  --bg: #fdf9f4;
  --bg-2: #fbf4ea;
  --bg-3: #f7ecdd;
  --panel: rgba(255, 255, 255, 0.72);
  --panel-strong: rgba(255, 255, 255, 0.9);
  --border: rgba(190, 120, 80, 0.24);
  --border-glow: rgba(242, 106, 27, 0.55);

  --amber: #ff8a3d;
  --orange: #f26a1b;   /* LOGO 主橙 */
  --maroon: #8c2f24;   /* LOGO 指纹深红 */
  --ink: #1c1512;      /* LOGO 黑底 */
  --coral: #c2410c;
  --green: #9a3412;

  --text: #3a2a20;
  --muted: #7d6a5c;
  --faint: #a4917f;

  --grad: linear-gradient(120deg, var(--amber), var(--orange) 55%, var(--maroon));
  --grad-soft: linear-gradient(120deg, rgba(242,106,27,.14), rgba(140,47,36,.10));

  --radius: 18px;
  --radius-sm: 12px;
  --maxw: 1180px;
  --shadow: 0 16px 40px -22px rgba(140, 60, 20, 0.4);
  --font: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
::selection { background: rgba(249, 115, 22, .25); }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--amber), var(--orange) 60%, var(--maroon)); border-radius: 6px; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: radial-gradient(1100px 760px at 85% -10%, rgba(242,106,27,.12), transparent 60%),
              radial-gradient(900px 700px at -5% 12%, rgba(140,47,36,.09), transparent 55%),
              radial-gradient(800px 600px at 50% 110%, rgba(255,138,61,.08), transparent 60%),
              var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg, canvas { max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3 { line-height: 1.25; font-weight: 800; letter-spacing: .2px; }
strong { color: #9a2b1f; }

/* 背景 */
#bg-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  opacity: .8;
}
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(200, 110, 60, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 110, 60, .07) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 75%);
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* 大脑 / 指纹装饰元素 */
.deco {
  position: absolute; pointer-events: none; user-select: none;
  width: 160px; z-index: 0;
}
.hero .deco { z-index: 0; }
.hero .container, .section .container { position: relative; z-index: 1; }

/* 跳转链接 (a11y) */
.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 100;
  background: var(--orange); color: #fff; padding: 8px 14px; border-radius: 8px; font-weight: 700;
}
.skip-link:focus { left: 12px; }

/* 焦点可见性 */
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

/* ============ 顶部导航 ============ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(253, 249, 244, 0.6);
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s;
}
.site-header.scrolled {
  background: rgba(253, 249, 244, 0.9);
  border-bottom-color: var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-logo {
  height: 46px; width: auto; display: block;
  border-radius: 8px;
  box-shadow: 0 4px 14px -6px rgba(26, 15, 5, .35);
}
.brand-text { font-weight: 800; font-size: 18px; letter-spacing: 1px; display: flex; flex-direction: column; line-height: 1.05; color: var(--text); }
.brand-text small { font-size: 10.5px; letter-spacing: 2px; color: var(--muted); font-weight: 600; }

.nav-menu { display: flex; align-items: center; gap: 6px; }
.nav-menu a {
  padding: 9px 14px; border-radius: 10px; color: var(--muted); font-size: 15px; font-weight: 600;
  position: relative;
  transition: color .2s, background .2s;
}
.nav-menu a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 2px; border-radius: 2px;
  background: var(--grad); transform: scaleX(0); transform-origin: center; transition: transform .25s;
}
.nav-menu a:hover { color: var(--text); background: rgba(245, 158, 11, .1); }
.nav-menu a:hover::after { transform: scaleX(1); }
.nav-menu a.nav-cta::after { display: none; }
.nav-menu a.nav-cta {
  color: #fff; background: var(--grad); font-weight: 800; margin-left: 6px;
  box-shadow: 0 8px 24px -10px rgba(249, 115, 22, .65);
}
.nav-menu a.nav-cta:hover { filter: brightness(1.05); color: #fff; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: .25s; }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 92dvh;
  display: flex; align-items: center;
  padding: 90px 0 110px;
  text-align: center;
  overflow: hidden;
}
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none; filter: blur(6px);
}
.hero::before {
  width: 460px; height: 460px; left: -140px; top: 8%;
  background: radial-gradient(circle, rgba(249, 115, 22, .16), transparent 65%);
  animation: floatOrb 11s ease-in-out infinite;
}
.hero::after {
  width: 520px; height: 520px; right: -160px; bottom: 4%;
  background: radial-gradient(circle, rgba(140, 47, 36, .15), transparent 65%);
  animation: floatOrb 13s ease-in-out infinite reverse;
}
@keyframes floatOrb { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-26px); } }
.hero .container { position: relative; z-index: 1; }
.hero-inner { display: flex; flex-direction: column; align-items: center; }
.eyebrow {
  display: inline-block; font-size: 13px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--orange); padding: 6px 16px; border: 1px solid var(--border-glow);
  border-radius: 999px; background: rgba(245, 158, 11, .07); margin: 0 0 22px; font-weight: 700;
}
.hero h1 {
  font-size: clamp(34px, 6vw, 66px); margin: 0;
  background: linear-gradient(120deg, #8c2f24, #f26a1b 55%, #ff9a5c);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { font-size: clamp(14px, 2.4vw, 20px); letter-spacing: 4px; color: var(--muted); margin: 10px 0 0; text-transform: uppercase; }
.hero-tagline { font-size: clamp(20px, 3.4vw, 30px); font-weight: 800; margin: 22px 0 0; }
.hl {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-desc { max-width: 720px; color: var(--muted); font-size: 17px; margin: 18px auto 0; }

/* ============ 区块通用 ============ */
.section { padding: 96px 0; position: relative; }
.section-alt {
  background: linear-gradient(180deg, rgba(255, 251, 245, .9), rgba(251, 244, 234, .6));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: 4px; color: var(--orange); font-weight: 800; margin-bottom: 14px;
  padding: 7px 18px; border-radius: 999px;
  background: rgba(245, 158, 11, .08); border: 1px solid var(--border-glow);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, .05);
}
.kicker::before, .kicker::after {
  content: ""; width: 22px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--orange));
}
.kicker::after { background: linear-gradient(90deg, var(--orange), transparent); }
.section-head h2 { font-size: clamp(26px, 4vw, 40px); margin: 0 0 16px; position: relative; display: inline-block; }
.section-head h2::after {
  content: ""; position: absolute; left: 50%; transform: translateX(-50%); bottom: -12px;
  width: 56px; height: 3px; border-radius: 3px;
  background: var(--grad); box-shadow: 0 2px 10px -2px rgba(249, 115, 22, .6);
}
.section-head p { color: var(--muted); font-size: 17px; margin: 22px 0 0; }

.glass-card {
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; backdrop-filter: blur(8px); box-shadow: var(--shadow);
  transition: transform .25s, border-color .25s, box-shadow .25s;
  position: relative; overflow: hidden;
}
.glass-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--amber), var(--orange) 45%, var(--maroon));
  opacity: .55; transition: opacity .3s;
}
.glass-card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(420px 200px at 85% -10%, rgba(140, 47, 36, .10), transparent 60%);
  opacity: .7; transition: opacity .3s;
}
.glass-card:hover { transform: translateY(-5px); border-color: var(--border-glow); box-shadow: 0 26px 54px -20px rgba(200, 120, 30, .4); }
.glass-card:hover::before { opacity: 1; }
.glass-card:hover::after { opacity: 1; }

/* ============ 关于 ============ */
.about-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.about-grid h3 { margin: 0 0 12px; font-size: 20px; }
.about-grid p { color: var(--muted); margin: 0; }
.mission { color: var(--text) !important; font-weight: 600; }
.pill-list { display: flex; flex-wrap: wrap; gap: 10px; }
.pill-list li { padding: 8px 14px; border-radius: 999px; background: var(--grad-soft); border: 1px solid var(--border); font-size: 14px; font-weight: 700; }

/* ============ 发展历程时间轴 ============ */
.timeline { list-style: none; margin: 0; padding: 0 0 0 30px; position: relative; max-width: 880px; margin-inline: auto; }
.timeline::before {
  content: ""; position: absolute; left: 8px; top: 8px; bottom: 8px; width: 3px; border-radius: 3px;
  background: linear-gradient(180deg, var(--amber), var(--orange) 55%, var(--maroon));
  opacity: .55;
}
.timeline-item { position: relative; display: flex; gap: 22px; align-items: flex-start; padding: 0 0 38px 18px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: ""; position: absolute; left: -30px; top: 10px; width: 15px; height: 15px; border-radius: 50%;
  background: #fff; border: 3px solid var(--orange);
  box-shadow: 0 0 0 5px rgba(249, 115, 22, .14);
}
.tl-year {
  flex: none; min-width: 96px; text-align: center;
  font-size: 18px; font-weight: 900; padding: 6px 12px; border-radius: 10px;
  background: var(--grad); color: #fff; border: 1px solid transparent;
  box-shadow: 0 6px 16px -8px rgba(249, 115, 22, .6);
}
.tl-body h3 { margin: 2px 0 6px; font-size: 19px; }
.tl-body p { margin: 0; color: var(--muted); font-size: 15px; }

/* ============ 应用领域 / AI 产品 ============ */
.app-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.app-card { padding: 30px 26px; }
.app-ico {
  width: 56px; height: 56px; display: grid; place-items: center;
  font-size: 27px; margin-bottom: 16px; border-radius: 15px;
  background: var(--grad-soft); border: 1px solid var(--border-glow);
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .6), 0 8px 20px -10px rgba(249, 115, 22, .45);
  transition: transform .25s;
}
.app-card:hover .app-ico { transform: scale(1.08) rotate(-4deg); }
.app-card h3 { margin: 0 0 10px; font-size: 20px; }
.app-card p { color: var(--muted); margin: 0; font-size: 15px; }

/* ============ 特质原型 ============ */
.arch-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.arch-card { padding: 22px 18px; }
.arch-card h3 { margin: 0 0 4px; font-size: 19px; display: flex; align-items: baseline; gap: 8px; }
.arch-card h3 small { font-size: 12px; color: var(--faint); font-weight: 600; letter-spacing: 1px; }
.arch-tag { color: var(--orange); font-size: 13px; font-weight: 800; margin: 0 0 10px; letter-spacing: .5px; }
.arch-card p:last-child { color: var(--muted); font-size: 14px; margin: 0; }
.arch-card[data-tone="eagle"] { border-top: 3px solid var(--orange); }
.arch-card[data-tone="goose"] { border-top: 3px solid var(--coral); }
.arch-card[data-tone="ostrich"] { border-top: 3px solid #b45309; }
.arch-card[data-tone="parrot"] { border-top: 3px solid var(--green); }
.arch-card[data-tone="peacock"] { border-top: 3px solid var(--maroon); }

/* ============ 合规 ============ */
.comp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.comp-grid h3 { margin: 0 0 10px; font-size: 19px; }
.comp-grid p { color: var(--muted); margin: 0; font-size: 15px; }

/* ============ 页脚 ============ */
.site-footer { border-top: 1px solid var(--border); background: rgba(251, 244, 234, .85); padding: 46px 0 36px; }
.footer-inner { display: grid; gap: 22px; }
.footer-brand p { color: var(--muted); margin: 10px 0 0; max-width: 360px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-nav a { color: var(--muted); font-weight: 600; }
.footer-nav a:hover { color: var(--orange); }
.footer-contact { margin: 0; font-size: 13px; color: var(--faint); }
.footer-contact a { color: var(--muted); font-weight: 600; text-decoration: none; }
.footer-contact a:hover { color: var(--orange); }
.footer-copy { color: var(--faint); font-size: 13px; margin: 6px 0 0; border-top: 1px solid var(--border); padding-top: 18px; }

/* ============ 滚动揭示 ============ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .hero::before, .hero::after { animation: none; }
}

/* ============ 响应式 ============ */
@media (max-width: 1024px) {
  .arch-grid { grid-template-columns: repeat(3, 1fr); }
  .about-grid, .comp-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed; inset: 70px 12px auto 12px; flex-direction: column; align-items: stretch; gap: 4px;
    background: rgba(253, 249, 244, .98); border: 1px solid var(--border); border-radius: 14px; padding: 12px;
    box-shadow: var(--shadow);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: .25s;
  }
  .nav-menu.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-menu a { padding: 12px 14px; }
  .nav-menu a.nav-cta { margin: 6px 0 0; text-align: center; }

  .about-grid, .app-grid, .arch-grid, .comp-grid { grid-template-columns: 1fr; }
  .section { padding: 70px 0; }
  .timeline { padding-left: 22px; }
  .timeline-item { flex-direction: column; gap: 8px; }
}
