/* 秋水兰星 · 企业数字化开发服务 */
:root {
  --bg: #f6f8fb;
  --paper: #ffffff;
  --ink: #0b1526;
  --muted: #5a6b82;
  --line: #e3e9f2;
  --brand: #1463ff;
  --brand-2: #00b3a4;
  --amber: #f59e0b;
  --dark: #07101f;
  --dark-2: #0c1a2e;
  --radius: 18px;
  --shadow: 0 12px 34px rgba(11, 21, 38, 0.08);
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { line-height: 1.3; margin: 0 0 0.6em; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
code {
  background: #eef2f8;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.1em 0.4em;
  font-size: 0.92em;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.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;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(227,233,242,0.8);
}
.header-inner { display: flex; align-items: center; gap: 18px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; letter-spacing: -0.02em; font-size: 17px; }
.logo:hover { text-decoration: none; }
.logo-mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  display: grid; place-items: center; color: #fff; flex: none;
  box-shadow: 0 6px 16px rgba(20,99,255,0.25);
}
.logo-mark svg { width: 19px; height: 19px; }
.logo small { display: block; font-size: 10px; font-weight: 500; color: var(--muted); letter-spacing: 0.14em; margin-top: -2px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a {
  color: #334155; font-size: 14.5px; font-weight: 500;
  padding: 8px 12px; border-radius: 9px;
}
.nav a:hover { background: #eef3fb; color: var(--brand); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--brand); background: #e9f0ff; }
.header-cta { margin-left: 8px; }
.lang-switch {
  font-size: 13px; font-weight: 700; color: var(--brand); text-decoration: none;
  padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px;
  background: #fff; white-space: nowrap;
}
.lang-switch:hover { background: #eef3fb; text-decoration: none; }
html[lang="en"] .nav a { font-size: 13.5px; padding: 8px 8px; }
.menu-btn {
  display: none; margin-left: auto; width: 40px; height: 40px;
  border: 1px solid var(--line); background: #fff; border-radius: 10px;
  cursor: pointer; color: var(--ink);
}
.menu-btn svg { width: 20px; height: 20px; margin: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 11px; font-weight: 600; font-size: 15px;
  border: 1px solid transparent; cursor: pointer; transition: 0.18s ease;
  text-decoration: none; white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary {
  color: #fff; background: linear-gradient(135deg, var(--brand), #0a4fd6);
  box-shadow: 0 10px 24px rgba(20,99,255,0.24);
}
.btn-primary:hover { box-shadow: 0 14px 30px rgba(20,99,255,0.32); }
.btn-ghost { color: var(--ink); background: #fff; border-color: var(--line); }
.btn-ghost:hover { border-color: #c8d4e6; background: #f8fafd; }
.btn-light { color: var(--ink); background: #fff; }
.btn-outline-light { color: #fff; border-color: rgba(255,255,255,0.28); background: rgba(255,255,255,0.04); }
.btn-sm { padding: 9px 14px; font-size: 14px; border-radius: 9px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 480px at 78% -10%, rgba(0,179,164,0.20), transparent 62%),
    radial-gradient(760px 520px at 8% 10%, rgba(20,99,255,0.34), transparent 60%),
    linear-gradient(180deg, #07101f 0%, #081426 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.7), transparent 85%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.7), transparent 85%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; padding: 86px 0 74px; max-width: 860px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 600;
  color: #bfe9e3; background: rgba(0,179,164,0.12);
  border: 1px solid rgba(0,179,164,0.28); margin-bottom: 22px;
  letter-spacing: 0.04em;
}
.badge .dot { width: 6px; height: 6px; border-radius: 50%; background: #2ce0c8; box-shadow: 0 0 0 4px rgba(44,224,200,0.15); }
.hero h1 {
  font-size: clamp(2.15rem, 5.4vw, 3.9rem);
  line-height: 1.16; letter-spacing: -0.035em; margin-bottom: 20px;
}
.grad {
  background: linear-gradient(100deg, #57a0ff 0%, #2ce0c8 60%, #9af0e4 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lead { color: #b9c6d8; font-size: clamp(1rem, 1.6vw, 1.13rem); max-width: 720px; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  font-size: 13px; color: #cbd6e6; border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.04); padding: 6px 12px; border-radius: 999px;
}

/* ---------- Sections ---------- */
.section { padding: 78px 0; }
.section.tight { padding: 58px 0; }
.section.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: 38px; }
.eyebrow {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.16em;
  color: var(--brand); text-transform: uppercase; margin-bottom: 10px;
}
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); letter-spacing: -0.025em; }
.section-head p { color: var(--muted); font-size: 16.5px; margin-bottom: 0; }

.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
}
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; margin-bottom: 0; }
.card .icon {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, #e9f0ff, #e6fbf8); color: var(--brand);
  margin-bottom: 16px;
}
.card .icon svg { width: 22px; height: 22px; }

.service-card { display: flex; flex-direction: column; }
.service-card ul { margin: 14px 0 20px; padding-left: 0; list-style: none; }
.service-card li { position: relative; padding-left: 20px; color: #3d4b60; font-size: 14.5px; margin-bottom: 7px; }
.service-card li::before {
  content: ""; position: absolute; left: 2px; top: 0.62em; width: 6px; height: 6px;
  border-radius: 50%; background: var(--brand-2);
}
.service-card .more { margin-top: auto; font-weight: 600; font-size: 14.5px; }

.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; counter-reset: step; }
.step {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: 14px; padding: 20px 16px 18px;
}
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: block; font-size: 12px; font-weight: 800; color: var(--brand);
  letter-spacing: 0.08em; margin-bottom: 8px;
}
.step h3 { font-size: 15.5px; margin-bottom: 5px; }
.step p { font-size: 13.5px; color: var(--muted); margin: 0; line-height: 1.65; }

.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.fit-box { border-radius: var(--radius); padding: 26px; border: 1px solid var(--line); background: #fff; }
.fit-box.good { border-color: #c9ecdf; background: linear-gradient(180deg, #f2fcf8, #fff); }
.fit-box.bad { border-color: #f3d9d9; background: linear-gradient(180deg, #fff7f7, #fff); }
.fit-box h3 { font-size: 17px; display: flex; align-items: center; gap: 8px; }
.fit-box ul { list-style: none; padding: 0; margin: 12px 0 0; }
.fit-box li { position: relative; padding-left: 24px; margin-bottom: 9px; color: #3d4b60; font-size: 15px; }
.fit-box li::before { position: absolute; left: 0; top: 0; font-weight: 700; }
.fit-box.good li::before { content: "✓"; color: #0a9b78; }
.fit-box.bad li::before { content: "×"; color: #d14b4b; }

.principles { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.principle { padding: 20px; border-left: 3px solid var(--brand); background: #fff; border-radius: 0 12px 12px 0; box-shadow: 0 6px 18px rgba(11,21,38,0.05); }
.principle h3 { font-size: 15.5px; margin-bottom: 6px; }
.principle p { font-size: 13.5px; color: var(--muted); margin: 0; }

/* ---------- Inner page hero ---------- */
.page-hero {
  background:
    radial-gradient(700px 300px at 85% 0%, rgba(0,179,164,0.10), transparent 65%),
    linear-gradient(180deg, #eef4ff 0%, #f6f8fb 100%);
  border-bottom: 1px solid var(--line);
  padding: 46px 0 44px;
}
.crumbs { font-size: 13px; color: #77869c; margin-bottom: 18px; }
.crumbs a { color: #5b6b82; }
.crumbs span { margin: 0 7px; color: #a9b4c4; }
.page-hero h1 { font-size: clamp(1.85rem, 4vw, 2.9rem); letter-spacing: -0.03em; max-width: 860px; margin-bottom: 14px; }
.page-hero .lead { color: var(--muted); font-size: 17px; max-width: 780px; margin-bottom: 0; }
.page-hero .hero-actions { margin-top: 24px; margin-bottom: 0; }

/* ---------- Prose ---------- */
.prose { max-width: 820px; }
.prose h2 { font-size: 1.55rem; margin-top: 2.1em; scroll-margin-top: 90px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.15rem; margin-top: 1.6em; }
.prose p, .prose li { color: #334155; }
.prose ul, .prose ol { margin-bottom: 1.2em; }
.prose li { margin-bottom: 0.45em; }
.prose blockquote {
  margin: 1.4em 0; padding: 16px 20px; border-left: 4px solid var(--brand-2);
  background: #f0fbf9; color: #24504a; border-radius: 0 10px 10px 0;
}
.prose blockquote p:last-child { margin-bottom: 0; }
.note {
  font-size: 13.5px; color: #6b7a90; background: #f1f5fa; border: 1px solid var(--line);
  border-radius: 10px; padding: 12px 16px; margin-top: 26px;
}

/* ---------- Lists / feature rows ---------- */
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.feature-list li {
  position: relative; padding: 14px 16px 14px 44px; background: #fff;
  border: 1px solid var(--line); border-radius: 11px; color: #334155; font-size: 15px;
}
.feature-list li::before {
  content: ""; position: absolute; left: 17px; top: 22px; width: 8px; height: 8px;
  border-radius: 2px; background: linear-gradient(135deg, var(--brand), var(--brand-2));
}
.feature-list strong { color: var(--ink); }

/* ---------- Table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 14.5px; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: #f4f7fb; font-weight: 700; color: #27364a; white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
td strong { color: var(--ink); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; max-width: 860px; }
details {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 0 18px; transition: 0.18s ease;
}
details[open] { border-color: #c9d9f5; box-shadow: 0 8px 24px rgba(11,21,38,0.06); }
summary {
  cursor: pointer; list-style: none; padding: 16px 0; font-weight: 600;
  font-size: 15.5px; display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+"; color: var(--brand); font-size: 22px; font-weight: 400; line-height: 1;
  flex: none; transition: transform 0.18s ease;
}
details[open] summary::after { transform: rotate(45deg); }
details .answer { padding: 0 0 18px; color: #3d4b60; font-size: 15px; }
details .answer p:last-child { margin-bottom: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; color: #fff; border-radius: 22px;
  background:
    radial-gradient(600px 300px at 88% 20%, rgba(0,179,164,0.25), transparent 62%),
    linear-gradient(120deg, #0a1730, #0d2a4a);
  padding: 44px 40px;
}
.cta-band h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 10px; }
.cta-band p { color: #b9c6d8; max-width: 620px; margin-bottom: 22px; }
.cta-band .hero-actions { margin-bottom: 0; }

.wechat-box {
  display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16);
  border-radius: 12px; padding: 10px 14px;
}
.wechat-box .label { font-size: 12px; color: #9fb0c8; letter-spacing: 0.08em; }
.wechat-id { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 17px; font-weight: 700; color: #fff; }
.copy-btn {
  border: 1px solid rgba(255,255,255,0.22); background: rgba(255,255,255,0.08);
  color: #fff; border-radius: 8px; padding: 6px 11px; font-size: 12.5px; cursor: pointer;
}
.copy-btn:hover { background: rgba(255,255,255,0.16); }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: #97a6bb; padding: 56px 0 30px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h3 { color: #fff; font-size: 14px; letter-spacing: 0.06em; margin-bottom: 14px; }
.site-footer a { color: #aebbd0; font-size: 14px; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer .logo { color: #fff; margin-bottom: 12px; }
.site-footer .blurb { font-size: 13.5px; max-width: 320px; line-height: 1.8; }
.footer-bottom {
  margin-top: 38px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.09);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 12.5px; color: #7d8da4;
}
.footer-bottom .icp { font-size: 10.5px; opacity: 0.72; white-space: nowrap; }

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.muted { color: var(--muted); }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; }
.pill { font-size: 13px; color: #36506f; background: #eef4fc; border: 1px solid #dbe7f8; padding: 5px 11px; border-radius: 999px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.sticky-cta { position: sticky; top: 90px; }
.small { font-size: 13.5px; color: var(--muted); }

/* ---------- Articles ---------- */
.article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.article-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: 16px; padding: 24px; box-shadow: 0 8px 24px rgba(11,21,38,0.05);
  transition: 0.18s ease; color: inherit;
}
.article-card:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(11,21,38,0.10); text-decoration: none; border-color: #cfdcf0; }
.article-card h3 { font-size: 17.5px; line-height: 1.45; margin: 14px 0 8px; color: var(--ink); }
.article-card p { font-size: 14px; color: var(--muted); margin: 0 0 14px; flex: 1; }
.article-card .more { font-size: 14px; font-weight: 600; color: var(--brand); margin-top: auto; }
.article-meta { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: #77869c; flex-wrap: wrap; }
.tag {
  display: inline-block; background: #eef4fc; color: #2f5f9e; border: 1px solid #dbe7f8;
  padding: 3px 9px; border-radius: 999px; font-weight: 600; font-size: 12px;
}
.article-body { max-width: 800px; }
.article-body h2 { font-size: 1.45rem; margin-top: 2em; }
.article-body h3 { font-size: 1.12rem; }
.article-body table { font-size: 14px; }
.article-body .table-wrap { margin: 1.4em 0; }
.article-body ul, .article-body ol { margin-bottom: 1.2em; }
.article-body li { margin-bottom: 0.5em; }
.article-body hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid-3, .article-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .principles { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1020px) and (min-width: 761px) {
  .nav { gap: 0; }
  .nav a { padding: 8px 7px; font-size: 13.5px; }
  html[lang="en"] .nav a { padding: 7px 5px; font-size: 12.5px; }
  .lang-switch { padding: 7px 8px; }
  .header-cta { display: none; }
}

@media (max-width: 760px) {
  .nav {
    display: none; position: absolute; left: 20px; right: 20px; top: 68px;
    background: #fff; border: 1px solid var(--line); border-radius: 14px;
    padding: 10px; box-shadow: 0 18px 40px rgba(11,21,38,0.14); flex-direction: column;
    align-items: stretch; gap: 2px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 11px 12px; }
  .header-cta { display: none; }
  .menu-btn { display: block; }
  .hero-inner { padding: 62px 0 54px; }
  .section { padding: 56px 0; }
  .grid-3, .grid-2, .fit-grid, .two-col, .article-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .principles { grid-template-columns: 1fr; }
  .cta-band { padding: 32px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .page-hero { padding: 34px 0 36px; }
}
@media (max-width: 460px) {
  .steps { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
}
