/* =========================================================
   莫比乌斯智能 · 公司门户首页（暗色科技风）
   品牌色：深空 #0B0E17 / 蓝紫渐变 #3B6FD4 → #8B5CF6
   ========================================================= */

:root {
  --bg: #0B0E17;
  --bg-soft: #11152A;
  --bg-card: #151A30;
  --ink: #EAEAF2;
  --ink-soft: #A6AAC4;
  --ink-faint: #6E7290;
  --blue: #3B6FD4;
  --purple: #8B5CF6;
  --grad: linear-gradient(100deg, #3B6FD4, #8B5CF6);
  --line: #232843;
  --radius: 16px;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
          "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: #8FA8EF; text-decoration: none; }
a:hover { color: #B7C6FF; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---------- 导航 ---------- */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11, 14, 23, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-nav .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { width: 34px; height: 34px; }
.brand .brand-name { font-size: 19px; font-weight: 700; color: var(--ink); letter-spacing: 1px; }
.brand .brand-sub { font-size: 12px; color: var(--ink-faint); margin-left: 2px; }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a { color: var(--ink-soft); font-size: 15px; }
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-cta {
  background: var(--grad); color: #fff !important;
  padding: 8px 20px; border-radius: 999px; font-size: 14px !important;
}
.nav-cta:hover { filter: brightness(1.15); }
.nav-toggle { display: none; background: none; border: none; font-size: 24px; color: var(--ink); cursor: pointer; }

/* ---------- Hero ---------- */
.hero { padding: 110px 0 90px; text-align: center; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; left: 50%; top: -180px;
  width: 900px; height: 900px; transform: translateX(-50%);
  background: radial-gradient(circle, rgba(59,111,212,0.22), rgba(139,92,246,0.10) 45%, transparent 70%);
  pointer-events: none;
}
.hero .hero-logo { width: 120px; height: 120px; margin: 0 auto 32px; position: relative;
  filter: drop-shadow(0 10px 36px rgba(99, 102, 241, 0.45)); }
.hero .kicker {
  display: inline-block; font-size: 13px; letter-spacing: 5px; font-weight: 600;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 18px; position: relative;
}
.hero h1 {
  font-size: 54px; font-weight: 800; letter-spacing: 1px; line-height: 1.35; position: relative;
}
.hero h1 .accent {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .tagline {
  margin: 24px auto 0; max-width: 660px; font-size: 18px; color: var(--ink-soft); position: relative;
}
.hero .hero-actions { margin-top: 42px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; position: relative; }
.btn {
  display: inline-block; padding: 14px 34px; border-radius: 999px;
  font-size: 16px; font-weight: 600; transition: all .2s ease;
}
.btn-primary { background: var(--grad); color: #fff; }
.btn-primary:hover { color: #fff; transform: translateY(-2px); filter: brightness(1.15); }
.btn-ghost { border: 1px solid #3A4066; color: var(--ink-soft); }
.btn-ghost:hover { border-color: var(--purple); color: #fff; transform: translateY(-2px); }
.hero .note { margin-top: 20px; font-size: 13px; color: var(--ink-faint); position: relative; }

/* ---------- 通用区块 ---------- */
.section { padding: 88px 0; }
.section.alt { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head .kicker {
  display: inline-block; font-size: 13px; letter-spacing: 4px; margin-bottom: 12px; font-weight: 600;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section-head h2 { font-size: 36px; letter-spacing: 1px; font-weight: 800; }
.section-head p { margin-top: 14px; color: var(--ink-soft); font-size: 17px; }

/* ---------- 能力卡片 ---------- */
.caps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.cap {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; transition: all .25s ease; position: relative; overflow: hidden;
}
.cap::after {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 3px;
  background: var(--grad); opacity: 0; transition: opacity .25s ease;
}
.cap:hover { transform: translateY(-4px); border-color: #38406e; box-shadow: 0 18px 44px rgba(0,0,0,.4); }
.cap:hover::after { opacity: 1; }
.cap .glyph {
  width: 48px; height: 48px; border-radius: 12px; margin-bottom: 18px;
  background: rgba(99,102,241,.12); color: #9FB2FF;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 700;
}
.cap h3 { font-size: 20px; margin-bottom: 10px; font-weight: 700; }
.cap h3 .live {
  display: inline-block; margin-left: 10px; font-size: 11px; font-weight: 600;
  color: #4ADE80; border: 1px solid rgba(74,222,128,.4); border-radius: 999px;
  padding: 2px 10px; vertical-align: 3px; letter-spacing: 1px;
}
.cap p { font-size: 14.5px; color: var(--ink-soft); }

/* ---------- 架构三锚点 ---------- */
.anchors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.anchor { text-align: center; padding: 20px 18px; }
.anchor .num {
  font-size: 40px; font-weight: 800;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.anchor h3 { font-size: 20px; margin: 10px 0 10px; font-weight: 700; }
.anchor p { font-size: 14.5px; color: var(--ink-soft); }

/* ---------- 远景章节 ---------- */
.chapters { max-width: 780px; margin: 0 auto; }
.chapter {
  display: grid; grid-template-columns: 150px 1fr; gap: 24px;
  padding: 30px 0; border-bottom: 1px solid var(--line);
}
.chapter:last-child { border-bottom: none; }
.chapter .ch-no {
  font-size: 15px; font-weight: 700; color: var(--ink-faint); letter-spacing: 1px; padding-top: 3px;
}
.chapter h3 { font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.chapter h3 .st {
  display: inline-block; margin-left: 10px; font-size: 11px; font-weight: 600;
  border-radius: 999px; padding: 2px 10px; vertical-align: 3px; letter-spacing: 1px;
}
.st.done { color: #4ADE80; border: 1px solid rgba(74,222,128,.4); }
.st.doing { color: #FACC15; border: 1px solid rgba(250,204,21,.4); }
.st.future { color: var(--ink-faint); border: 1px solid var(--line); }
.chapter p { font-size: 14.5px; color: var(--ink-soft); }

/* ---------- 产品线 ---------- */
.prods { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; }
.prod {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 38px 32px; transition: all .25s ease;
}
.prod:hover { transform: translateY(-4px); border-color: #38406e; box-shadow: 0 18px 44px rgba(0,0,0,.4); }
.prod .p-tag {
  display: inline-block; font-size: 11.5px; font-weight: 600; letter-spacing: 1px;
  border-radius: 999px; padding: 3px 12px; margin-bottom: 16px;
}
.prod.main .p-tag { color: #9FB2FF; border: 1px solid rgba(99,102,241,.5); }
.prod.side .p-tag { color: var(--ink-faint); border: 1px solid var(--line); }
.prod h3 { font-size: 24px; font-weight: 800; margin-bottom: 4px; }
.prod .p-sub { font-size: 13px; color: var(--ink-faint); margin-bottom: 14px; letter-spacing: 1px; }
.prod p { font-size: 15px; color: var(--ink-soft); }
.prod .p-link { display: inline-block; margin-top: 18px; font-size: 15px; font-weight: 600; }

/* ---------- 公司区块 ---------- */
.company-band { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 88px 0; }
.company-band .wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: center; }
.company-band h2 { font-size: 32px; margin-bottom: 18px; letter-spacing: 1px; font-weight: 800; }
.company-band p { color: var(--ink-soft); font-size: 16px; }
.company-band .company-facts { list-style: none; }
.company-band .company-facts li {
  padding: 14px 0; border-bottom: 1px solid var(--line);
  display: flex; justify-content: space-between; font-size: 15px;
}
.company-band .company-facts li b { color: var(--ink); font-weight: 600; }
.company-band .company-facts li span { color: var(--ink-soft); text-align: right; }

/* ---------- 页脚 ---------- */
.site-footer { background: #080A12; color: #6E7290; padding: 56px 0 32px; font-size: 14px; }
.site-footer .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.site-footer h5 { color: var(--ink); font-size: 15px; margin-bottom: 14px; font-weight: 600; }
.site-footer a { color: #6E7290; display: block; padding: 4px 0; }
.site-footer a:hover { color: var(--ink); }
.site-footer .footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.site-footer .footer-brand img { width: 32px; height: 32px; }
.site-footer .footer-brand b { color: var(--ink); font-size: 18px; }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 24px; text-align: center; line-height: 2; }
.footer-bottom a { display: inline; }

/* ---------- 动效 ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .caps, .anchors { grid-template-columns: 1fr 1fr; }
  .prods { grid-template-columns: 1fr; }
  .company-band .wrap { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { font-size: 38px; }
  .section-head h2 { font-size: 28px; }
}
@media (max-width: 640px) {
  .nav-links {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    background: var(--bg); flex-direction: column; gap: 0;
    border-bottom: 1px solid var(--line); padding: 8px 0;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 24px; width: 100%; }
  .nav-cta { margin: 8px 24px; text-align: center; }
  .nav-toggle { display: block; }
  .caps, .anchors { grid-template-columns: 1fr; }
  .chapter { grid-template-columns: 1fr; gap: 6px; padding: 24px 0; }
  .site-footer .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 70px 0 60px; }
  .section { padding: 64px 0; }
  .hero h1 { font-size: 32px; }
}
