/* 南京麒信软件 — 蓝灰科技风设计系统（静态 CSS，不依赖 JS） */
@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@500;600;700;800&family=Noto+Sans+SC:wght@400;500;700&display=swap");

:root {
  --ink: #0b1220;
  --ink-2: #1a2438;
  --text: #2a3548;
  --mute: #5b6b82;
  --line: #d7e0ec;
  --line-soft: #e8eef6;
  --paper: #eef3f9;
  --panel: #ffffff;
  --accent: #1a66e8;
  --accent-dark: #124fba;
  --accent-soft: rgba(26, 102, 232, 0.1);
  --ok: #0f766e;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 18px 50px rgba(15, 30, 60, 0.08);
  --font: "Manrope", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --max: 72rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(26, 102, 232, 0.12), transparent 55%),
    radial-gradient(900px 420px at 95% 5%, rgba(15, 118, 110, 0.08), transparent 50%),
    linear-gradient(180deg, #f7f9fc 0%, var(--paper) 100%);
  background-attachment: fixed;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--accent-dark);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 249, 252, 0.86);
  border-bottom: 1px solid rgba(215, 224, 236, 0.9);
  backdrop-filter: blur(14px);
}

.header-inner {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.brand-mark:hover {
  color: var(--ink);
}

.brand-mark::before {
  content: "";
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 0.45rem;
  background:
    linear-gradient(135deg, var(--accent) 0%, #3b82f6 55%, #0f766e 120%);
  box-shadow: 0 6px 16px rgba(26, 102, 232, 0.28);
}

.nav-link {
  color: var(--mute);
  font-size: 0.92rem;
  font-weight: 600;
  position: relative;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--ink);
}

.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.45rem;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 1.35rem;
}

.nav-toggle-btn {
  cursor: pointer;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.mobile-nav {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--line);
  padding: 0.85rem 1rem 1.1rem;
  box-shadow: var(--shadow);
}

.mobile-nav .nav-link {
  display: block;
  padding: 0.55rem 0;
}

.mobile-nav .nav-link.is-active::after {
  display: none;
}

#nav-toggle:checked ~ .mobile-nav {
  display: block;
  animation: dropIn 0.22s ease;
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }

  .nav-toggle-btn,
  .mobile-nav,
  #nav-toggle:checked ~ .mobile-nav {
    display: none !important;
  }

  .header-inner {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  .brand-mark {
    font-size: 1.15rem;
  }
}

/* ---------- Buttons ---------- */
.btn-primary,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.35rem;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 999px;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: #fff;
  border: 0;
  box-shadow: 0 10px 24px rgba(26, 102, 232, 0.28);
}

.btn-primary:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(26, 102, 232, 0.34);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  color: var(--ink);
}

.btn-outline:hover {
  border-color: #9db6e0;
  color: var(--accent-dark);
  transform: translateY(-1px);
}

/* ---------- Hero ---------- */
.hero-panel {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 30, 60, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 30, 60, 0.035) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 85%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: 3.5rem 1rem 3.75rem;
  animation: riseIn 0.55s ease both;
}

@media (min-width: 768px) {
  .hero-inner {
    padding: 5rem 1rem 5.25rem;
  }
}

.hero-brand {
  margin: 0 0 0.85rem;
  font-size: clamp(2rem, 5vw, 3.35rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--ink);
}

.hero-title {
  margin: 0;
  max-width: 18em;
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  font-weight: 700;
  color: var(--ink-2);
  letter-spacing: -0.02em;
}

.hero-lead {
  margin: 1.15rem 0 0;
  max-width: 40rem;
  color: var(--mute);
  font-size: 1.02rem;
}

.hero-actions {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-meta {
  margin-top: 1.35rem;
  color: var(--mute);
  font-size: 0.9rem;
}

.hero-meta strong,
.hero-meta a {
  color: var(--ink);
  font-weight: 700;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  border-bottom: 1px solid var(--line-soft);
  background:
    linear-gradient(135deg, rgba(26, 102, 232, 0.07), transparent 45%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.7), transparent);
}

.page-hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem 1rem 2.25rem;
  animation: riseIn 0.45s ease both;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1.2;
}

.page-hero .lead {
  margin: 0.85rem 0 0;
  max-width: 42rem;
  color: var(--mute);
}

/* ---------- Sections ---------- */
.section-shell {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3.25rem 1rem;
}

.section-title {
  margin: 0;
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.025em;
}

.section-desc {
  margin: 0.7rem 0 0;
  color: var(--mute);
  line-height: 1.75;
  max-width: 40rem;
}

.section-kicker {
  display: inline-block;
  margin-bottom: 0.55rem;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.band {
  border-block: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.62);
}

/* Feature blocks — 减少厚重卡片感 */
.feature-grid {
  margin-top: 1.75rem;
  display: grid;
  gap: 0.9rem;
}

@media (min-width: 640px) {
  .feature-grid.cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .feature-grid.cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .feature-grid.cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.feature-item {
  position: relative;
  padding: 1.25rem 1.2rem 1.25rem 1.35rem;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.feature-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1rem;
  bottom: 1rem;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--accent), #0f766e);
}

.feature-item:hover {
  transform: translateY(-2px);
  border-color: #c5d4ea;
  box-shadow: var(--shadow);
}

.feature-item h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ink);
}

.feature-item p {
  margin: 0.5rem 0 0;
  color: var(--mute);
  font-size: 0.92rem;
}

/* Compatibility aliases used by existing pages */
.card-plain {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card-plain:hover {
  transform: translateY(-2px);
  border-color: #c5d4ea;
  box-shadow: var(--shadow);
}

.tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-dark);
  background: var(--accent-soft);
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

/* Case / content panels */
.case-panel,
.panel-surface {
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: calc(var(--radius) + 2px);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 36px rgba(15, 30, 60, 0.05);
}

.case-panel + .case-panel {
  margin-top: 1.75rem;
}

.shot-frame {
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: #fff;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.shot-frame:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.chip-row a {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.85);
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 600;
}

.chip-row a:hover {
  border-color: #9db6e0;
  color: var(--accent-dark);
}

/* ---------- Footer ---------- */
.site-footer {
  margin-top: 1rem;
  background:
    radial-gradient(700px 280px at 15% 0%, rgba(26, 102, 232, 0.22), transparent 60%),
    linear-gradient(180deg, #121a2b 0%, #0b1220 100%);
  color: #b7c3d6;
}

.site-footer a {
  color: #e5ecf7;
}

.site-footer a:hover {
  color: #fff;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem 1rem 2rem;
}

.footer-title {
  margin: 0;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 800;
}

.footer-nav {
  margin-top: 1.1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.1rem;
  font-size: 0.9rem;
}

.footer-copy {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.78rem;
  color: #8090a8;
}

/* ---------- Content helpers ---------- */
.prose-geo h2 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ink);
  margin-top: 1.75rem;
  margin-bottom: 0.65rem;
}

.prose-geo p,
.prose-geo li {
  color: var(--text);
  line-height: 1.85;
}

.faq-item {
  border-bottom: 1px solid var(--line-soft);
  padding: 1.2rem 0;
}

.faq-item h2 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ink);
}

.faq-item p {
  margin: 0;
  color: var(--mute);
}

.form-input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.9rem;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.form-input:focus {
  outline: 2px solid rgba(26, 102, 232, 0.22);
  border-color: var(--accent);
}

.contact-block {
  border: 1px solid var(--line-soft);
  border-radius: calc(var(--radius) + 2px);
  background: rgba(255, 255, 255, 0.92);
  padding: 1.5rem 1.35rem;
  box-shadow: 0 10px 36px rgba(15, 30, 60, 0.05);
}

@media (min-width: 768px) {
  .contact-block {
    padding: 1.85rem 1.75rem;
  }
}

.contact-block h2 {
  margin-top: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes dropIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.wrap {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.py-page {
  padding-top: 2.5rem;
  padding-bottom: 3.25rem;
}

.stack-md > * + * {
  margin-top: 0.85rem;
}

.text-mute {
  color: var(--mute);
}

.grid-shots {
  display: grid;
  gap: 0.85rem;
  padding: 1rem;
  background: #f4f7fb;
}

@media (min-width: 640px) {
  .grid-shots.cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-shots.cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .grid-shots {
    padding: 1.35rem;
  }
}

.shot-phone {
  width: 100%;
  max-width: 240px;
  margin-left: auto;
  margin-right: auto;
}

.shot-wide {
  width: 100%;
}

.figcap {
  margin-top: 0.5rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--mute);
}

.list-check {
  margin: 1rem 0 0;
  padding-left: 1.15rem;
  color: var(--mute);
  font-size: 0.92rem;
}

.list-check li + li {
  margin-top: 0.3rem;
}

.stack-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.stack-list > li + li {
  margin-top: 0.9rem;
}


@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-inner, .page-hero-inner, #nav-toggle:checked ~ .mobile-nav,
  .feature-item, .card-plain, .shot-frame, .btn-primary, .btn-outline {
    animation: none !important; transition: none !important; transform: none !important;
  }
}
/* ---- Tailwind removal compatibility shims ---- */
.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-6xl { max-width: 72rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-xl { max-width: 36rem; }
.max-w-xs { max-width: 20rem; }
.max-w-\[240px\] { max-width: 240px; }
.w-full { width: 100%; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-5 { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-14 { padding-top: 3.5rem; padding-bottom: 3.5rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.pt-4 { padding-top: 1rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.mt-14 { margin-top: 3.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-x-4 { column-gap: 1rem; }
.gap-y-2 { row-gap: 0.5rem; }
.grid { display: grid; }
.overflow-hidden { overflow: hidden; }
.rounded-lg { border-radius: 14px; }
.rounded-md { border-radius: 10px; }
.border { border: 1px solid var(--line-soft); }
.border-b { border-bottom: 1px solid var(--line-soft); }
.border-t { border-top: 1px solid rgba(255,255,255,0.1); }
.border-slate-100, .border-slate-200, .border-slate-300, .border-slate-700 { border-color: var(--line-soft); }
.bg-white { background: rgba(255,255,255,0.92); }
.bg-slate-50 { background: #f4f7fb; }
.bg-slate-900 { background: #0b1220; }
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.9rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.1rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.85rem; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); }
.text-4xl { font-size: 2.15rem; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); }
.font-bold, .font-semibold { font-weight: 700; }
.leading-relaxed { line-height: 1.75; }
.leading-tight { line-height: 1.25; }
.tracking-tight { letter-spacing: -0.02em; }
.text-center { text-align: center; }
.text-slate-500, .text-slate-600 { color: var(--mute); }
.text-slate-700, .text-slate-800 { color: var(--text); }
.text-brand-900, .text-slate-900 { color: var(--ink); }
.text-accent { color: var(--accent); }
.text-white { color: #fff; }
.list-disc { list-style: disc; }
.pl-5 { padding-left: 1.25rem; }
.space-y-1 > * + * { margin-top: 0.25rem; }
.shadow-sm { box-shadow: 0 8px 24px rgba(15,30,60,0.06); }
.sticky { position: sticky; }
.top-0 { top: 0; }
.z-50 { z-index: 50; }
.absolute { position: absolute; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.top-full { top: 100%; }
.hidden { display: none; }
.peer { }
.md\:hidden {}
.cursor-pointer { cursor: pointer; }

@media (min-width: 640px) {
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 768px) {
  .md\:flex { display: flex; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:py-4 { padding-top: 1rem; padding-bottom: 1rem; }
  .md\:py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
  .md\:py-8 { padding-top: 2rem; padding-bottom: 2rem; }
  .md\:py-16 { padding-top: 4rem; padding-bottom: 4rem; }
  .md\:p-6 { padding: 1.5rem; }
  .md\:p-8 { padding: 2rem; }
  .md\:px-8 { padding-left: 2rem; padding-right: 2rem; }
  .md\:text-2xl { font-size: 1.5rem; }
  .md\:text-4xl { font-size: 2.25rem; }
  .md\:max-w-2xl { max-width: 42rem; }
  .md\:hidden { display: none !important; }
}
@media (min-width: 1024px) {
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lg\:text-5xl { font-size: 3rem; }
}