/* ===== 上海弥曼信息科技 官网样式 ===== */
/* 专业、克制的信息科技企业风格(深蓝 + 科技蓝 + 中性灰) */

:root {
  --navy: #0f2c5e;
  --navy-deep: #0a1f45;
  --blue: #2563eb;
  --blue-soft: #3b82f6;
  --ink: #1f2937;
  --muted: #64748b;
  --line: #e6eaf2;
  --bg: #ffffff;
  --bg-soft: #f5f8fc;
  --radius: 12px;
  --shadow: 0 1px 3px rgba(15, 44, 94, .06), 0 8px 24px rgba(15, 44, 94, .06);
  --shadow-hover: 0 6px 16px rgba(15, 44, 94, .1), 0 16px 40px rgba(15, 44, 94, .1);
  --container: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
          "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

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

/* ===== 顶部导航 ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 1px 12px rgba(15, 44, 94, .05);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0;
}
.brand-name { font-size: 17px; color: var(--navy); letter-spacing: .5px; }

.nav { display: flex; gap: 28px; }
.nav a {
  font-size: 15px;
  color: var(--muted);
  font-weight: 500;
  transition: color .2s;
}
.nav a:hover { color: var(--blue); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  margin: 0 auto;
  background: var(--navy);
  border-radius: 2px;
  transition: transform .25s, opacity .2s;
}
.nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 480px at 78% -10%, rgba(59, 130, 246, .35), transparent 60%),
    linear-gradient(135deg, var(--navy-deep), var(--navy) 55%, #163a7a);
  color: #fff;
  padding: 96px 0 104px;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
  mask-image: radial-gradient(700px 360px at 80% 0%, #000, transparent 70%);
}
.hero-inner { position: relative; z-index: 1; max-width: 820px; }
.hero-kicker {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 2px;
  color: #bcd0ff;
  padding: 5px 14px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero-title {
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 1px;
  margin-bottom: 18px;
}
.hero-sub {
  font-size: clamp(15px, 2vw, 19px);
  color: #dbe5ff;
  max-width: 640px;
  margin-bottom: 34px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  transition: transform .15s, box-shadow .2s, background .2s, color .2s;
}
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(37, 99, 235, .4); }
.btn-primary:hover { transform: translateY(-2px); background: var(--blue-soft); }
.btn-ghost { border: 1px solid rgba(255, 255, 255, .4); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); }

/* ===== 通用 section ===== */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-soft); }
.section-head { margin-bottom: 44px; }
.section-tag {
  display: block;
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--blue);
  font-weight: 700;
  margin-bottom: 10px;
}
.section-head h2 {
  font-size: clamp(24px, 3.5vw, 32px);
  color: var(--navy);
  font-weight: 800;
  letter-spacing: .5px;
}
.section-desc { margin-top: 14px; color: var(--muted); max-width: 640px; font-size: 16px; }

/* ===== 关于我们 ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 48px;
  align-items: start;
}
.about-lead { font-size: 17px; color: var(--ink); }
.about-points { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.about-points li {
  padding: 16px 18px;
  background: var(--bg-soft);
  border-left: 3px solid var(--blue);
  border-radius: 0 10px 10px 0;
}
.about-points strong { display: block; color: var(--navy); font-size: 15px; margin-bottom: 2px; }
.about-points span { color: var(--muted); font-size: 14px; }

/* ===== 业务范围卡片 ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: #c9d6ee; }
.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #eaf1ff, #dbe7ff);
  color: var(--blue);
  margin-bottom: 16px;
}
.card-icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 18px; color: var(--navy); margin-bottom: 8px; }
.card p { font-size: 14.5px; color: var(--muted); }
.biz-note {
  margin-top: 28px;
  padding: 14px 18px;
  background: #fff;
  border: 1px dashed var(--line);
  border-radius: 10px;
  font-size: 14px;
  color: var(--muted);
}
.biz-note span { color: var(--navy); font-weight: 600; }

/* ===== 联系我们 ===== */
.contact-card {
  max-width: 640px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.contact-row {
  display: flex;
  align-items: baseline;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
}
.contact-row:last-child { border-bottom: none; }
.contact-label { width: 72px; flex: none; color: var(--muted); font-size: 14px; }
.contact-value { color: var(--ink); font-size: 16px; }
.contact-value.is-todo {
  color: #b0b8c6;
  background: #f1f4f9;
  padding: 2px 10px;
  border-radius: 6px;
  font-size: 14px;
}

/* ===== 页脚 ===== */
.site-footer {
  background: var(--navy-deep);
  color: #c4d0e6;
  padding: 40px 0;
  text-align: center;
}
.footer-inner { display: flex; flex-direction: column; gap: 8px; align-items: center; }
.footer-copy { font-size: 14px; color: #fff; font-weight: 600; }
.footer-beian { font-size: 13px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; }
.footer-beian a { color: #9fb2d4; transition: color .2s; }
.footer-beian a:hover { color: #fff; }
.footer-beian .dot { color: #5a6c8a; }
.footer-beian-note { font-size: 12px; color: #5a6c8a; }

/* ===== 响应式 ===== */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 28px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .nav {
    position: absolute;
    top: 64px; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(15, 44, 94, .08);
    max-height: 0;
    overflow: hidden;
    transition: max-height .25s ease;
  }
  .nav.is-open { max-height: 240px; }
  .nav a { padding: 14px 24px; border-top: 1px solid var(--line); width: 100%; }
  .nav-toggle { display: flex; }
  .hero { padding: 72px 0 80px; }
  .section { padding: 60px 0; }
  .cards { grid-template-columns: 1fr; }
  .contact-row { flex-direction: column; gap: 4px; }
  .contact-label { width: auto; }
}
