/* ===== 微原科技官网 v2 · 浅蓝简约 · IT 科技感 ===== */
:root {
  --brand: #1b6fee;
  --brand-deep: #0a3d8c;
  --brand-soft: #e6f0ff;
  --brand-tint: #f4f8ff;
  --ink: #0c1e38;
  --ink-2: #324a68;
  --muted: #5e7290;
  --line: #dfe9f7;
  --white: #ffffff;
  --radius: 16px;
  --shadow-sm: 0 2px 10px rgba(12, 40, 90, .06);
  --shadow-md: 0 12px 32px rgba(12, 40, 90, .10);
  --shadow-lg: 0 26px 60px rgba(12, 40, 90, .16);
  --maxw: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
               "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  color: var(--ink-2);
  background: var(--white);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-deep); }

h1, h2, h3, h4 {
  color: var(--ink);
  margin: 0 0 .6em;
  line-height: 1.32;
  letter-spacing: -.01em;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid var(--brand);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  box-shadow: 0 8px 20px rgba(27, 111, 238, .26);
}
.btn:hover {
  color: #fff;
  background: var(--brand-deep);
  border-color: var(--brand-deep);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(27, 111, 238, .34);
}
.btn-ghost {
  background: transparent;
  color: var(--brand);
  border-color: var(--line);
  box-shadow: none;
}
.btn-ghost:hover {
  background: var(--brand-soft);
  border-color: var(--brand-soft);
  color: var(--brand-deep);
  box-shadow: none;
}
.btn-sm { padding: 9px 18px; font-size: 14px; }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: .2em;
  color: var(--brand);
  font-weight: 700;
  margin-bottom: 10px;
}

/* ---------- 导航 ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.nav.scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 14px;
  border-radius: 10px;
  background: linear-gradient(135deg, #3b86f7, #0a3d8c);
  color: #fff;
  font-weight: 800;
  letter-spacing: .12em;
  font-size: 16px;
  box-shadow: 0 6px 16px rgba(27, 111, 238, .3);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong { color: var(--ink); font-size: 16px; }
.brand-text em { font-style: normal; font-size: 12px; letter-spacing: .12em; color: var(--muted); }

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links > a:not(.btn) {
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
}
.nav-links > a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform .25s ease;
}
.nav-links > a:not(.btn):hover { color: var(--brand); }
.nav-links > a:not(.btn):hover::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; }

/* ---------- 首屏 ---------- */
.hero { position: relative; overflow: hidden; padding: 92px 0 100px; }
.grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(27, 111, 238, .08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(27, 111, 238, .08) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 62% at 50% 34%, #000 35%, transparent 100%);
  mask-image: radial-gradient(70% 62% at 50% 34%, #000 35%, transparent 100%);
  pointer-events: none;
}
.glow { position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; }
.glow-a {
  width: 420px; height: 420px; top: -140px; right: -80px;
  background: radial-gradient(circle, rgba(59, 130, 246, .32), transparent 70%);
}
.glow-b {
  width: 380px; height: 380px; bottom: -150px; left: -90px;
  background: radial-gradient(circle, rgba(56, 189, 248, .26), transparent 70%);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  gap: 56px;
  align-items: center;
}
.tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  margin-bottom: 22px;
}
.hero h1 { font-size: clamp(38px, 5.2vw, 60px); font-weight: 800; margin: 0 0 22px; }
.hero h1 .hl {
  background: linear-gradient(120deg, #3b86f7, #0a3d8c);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead { font-size: 17px; color: var(--muted); max-width: 34em; margin: 0 0 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero-facts {
  display: flex; flex-wrap: wrap; gap: 34px;
  list-style: none; margin: 0; padding: 24px 0 0;
  border-top: 1px solid var(--line);
}
.hero-facts li { display: flex; flex-direction: column; }
.hero-facts strong { color: var(--ink); font-size: 19px; }
.hero-facts span { font-size: 13px; color: var(--muted); }

.hero-card {
  position: relative;
  background: linear-gradient(155deg, #0a3d8c 0%, #1b6fee 100%);
  color: #fff;
  border-radius: 22px;
  padding: 34px 30px;
  box-shadow: var(--shadow-lg);
}
.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 22px;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .09) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .09) 1px, transparent 1px);
  background-size: 34px 34px;
  pointer-events: none;
}
.card-mark {
  position: relative;
  width: 72px; height: 72px;
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .28);
  color: #fff;
  font-weight: 800;
  letter-spacing: .1em;
  font-size: 19px;
  margin-bottom: 18px;
}
.card-title { position: relative; font-size: 20px; font-weight: 700; color: #fff; }
.card-sub { position: relative; font-size: 12px; letter-spacing: .06em; color: rgba(255, 255, 255, .7); margin-bottom: 20px; }
.card-list { position: relative; list-style: none; margin: 0 0 20px; padding: 20px 0 0; border-top: 1px solid rgba(255, 255, 255, .22); }
.card-list li { position: relative; padding: 8px 0 8px 18px; font-size: 14px; color: rgba(255, 255, 255, .92); }
.card-list li::before {
  content: "";
  position: absolute; left: 0; top: 17px;
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255, 255, 255, .8);
}
.card-meta {
  position: relative;
  display: flex; flex-direction: column; gap: 6px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .22);
  font-size: 14px;
}
.card-meta span { color: rgba(255, 255, 255, .78); }
.card-meta a { color: #fff; font-weight: 600; }
.card-meta a:hover { color: #cfe3ff; }

/* ---------- 通用区块 ---------- */
.section { padding: 96px 0; }
.section-soft {
  background: var(--brand-tint);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-head { max-width: 640px; margin-bottom: 50px; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; }
.section-head p { color: var(--muted); font-size: 16px; margin: 0; }

.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(27, 111, 238, .35);
  box-shadow: var(--shadow-md);
}
.card-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand-deep);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 15px;
  margin-bottom: 18px;
}
.card h3 { font-size: 18px; margin-bottom: 10px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tags span {
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--brand-tint);
  border: 1px solid var(--line);
  color: var(--brand-deep);
}

.plain-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.plain-card:hover {
  transform: translateY(-6px);
  border-color: rgba(27, 111, 238, .35);
  box-shadow: var(--shadow-md);
}
.plain-card .num {
  font-size: 26px;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: .04em;
  margin-bottom: 12px;
}
.plain-card h3 { font-size: 17px; margin-bottom: 8px; }
.plain-card p { margin: 0; font-size: 15px; color: var(--muted); }

/* ---------- 关于我们 ---------- */
.about { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: start; }
.about-copy h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; }
.about-copy p { color: var(--muted); font-size: 16px; }
.about-list { list-style: none; margin: 26px 0 0; padding: 0; }
.about-list li { display: flex; align-items: center; gap: 12px; padding: 9px 0; color: var(--ink); font-weight: 500; }
.about-list .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-soft);
  flex: none;
}

.about-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px 30px;
  box-shadow: var(--shadow-md);
}
.about-panel h3 { font-size: 19px; margin-bottom: 18px; }
.panel-list { margin: 0; }
.panel-list div {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px dashed var(--line);
}
.panel-list div:last-child { border-bottom: 0; }
.panel-list dt { color: var(--muted); font-size: 14px; }
.panel-list dd { margin: 0; color: var(--ink); font-size: 15px; font-weight: 600; }

/* ---------- 联系卡片 ---------- */
.contact-card {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  color: inherit;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.contact-card:hover {
  transform: translateY(-5px);
  border-color: rgba(27, 111, 238, .35);
  box-shadow: var(--shadow-md);
  color: inherit;
}
.c-label { font-size: 13px; letter-spacing: .1em; color: var(--brand); font-weight: 700; }
.c-value { font-size: 22px; font-weight: 700; color: var(--ink); margin: 8px 0; word-break: break-all; }
.c-value-sm { font-size: 18px; line-height: 1.6; }
.c-hint { font-size: 13px; color: var(--muted); }

/* ---------- 页脚 ---------- */
.footer { background: #0a1b33; color: rgba(255, 255, 255, .72); padding: 64px 0 26px; font-size: 14px; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.footer .brand-mark { margin-bottom: 16px; }
.footer-brand p { margin: 0 0 4px; }
.footer-slogan { color: rgba(255, 255, 255, .55); }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.footer-col a, .footer-col p { display: block; margin: 0 0 10px; color: rgba(255, 255, 255, .72); }
.footer-col a:hover { color: #a3caff; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  justify-content: space-between;
  padding-top: 22px;
}
.footer-bottom p { margin: 0; }
.footer-bottom .icp a { color: rgba(255, 255, 255, .72); }
.footer-bottom .icp a:hover { color: #a3caff; }
.icp-note { color: rgba(255, 255, 255, .45); }

/* ---------- 入场动画 ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .about { grid-template-columns: 1fr; gap: 36px; }
  .grid-3 { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 74px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 8px 24px 18px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links > a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-links .btn { margin-top: 14px; }
  .hero { padding: 56px 0 64px; }
  .section { padding: 64px 0; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero-facts { gap: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
