/* EASH / AgenticOps 产品官网 · 共享样式 */
:root {
  --klein: #002FA7;
  --klein-mid: #003dcc;
  --klein-dark: #001438;
  --teal: #0e8f86;
  --teal-soft: #e6f7f5;
  --ink: #0f172a;
  --muted: #5b6577;
  --line: #d9e0ef;
  --bg: #f3f6fb;
  --surface: #ffffff;
  --glow: rgba(0, 47, 167, 0.12);
  --radius: 14px;
  --shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
  --max: 1120px;
  --nav-h: 68px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--klein); text-decoration: none; }
a:hover { text-decoration: underline; }

.brand-en {
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* ── Nav ── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(217, 224, 239, 0.9);
}

.site-nav .inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  font-weight: 750;
  font-size: 1.12rem;
  line-height: 1;
  text-decoration: none;
  letter-spacing: 0;
}
.logo:hover { text-decoration: none; }
.logo-mark {
  width: 2.15rem;
  height: 2.15rem;
  flex-shrink: 0;
  display: block;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(220, 38, 38, 0.22), 0 2px 10px rgba(37, 99, 235, 0.2);
}
.logo-text {
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-weight: 750;
  font-size: 1.12rem;
  letter-spacing: 0.01em;
  color: #0f172a;
}
/* Active wordmark: matches logo.svg vivid (blue → teal → red) */
.logo-text em {
  font-style: normal;
  background: linear-gradient(105deg, #2563eb 0%, #0f766e 48%, #dc2626 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
/* Classic wordmark (blue → teal). Restore: replace .logo-text em rule above with .logo-text--classic em, or add class logo-text--classic on the span.
   Classic stylesheet also kept in assets/brand-classic.css */
.logo-text--classic em {
  font-style: normal;
  background: linear-gradient(105deg, #2563eb 0%, #0d9488 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.logo span.sub {
  display: none;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--muted);
  border-left: 1px solid var(--line);
  padding-left: 0.65rem;
  margin-left: 0.15rem;
  line-height: 1.2;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 0.1rem 0.95rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--muted);
}
.nav-links a {
  color: inherit;
  text-decoration: none;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--klein);
  border-bottom-color: var(--klein);
  text-decoration: none;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--klein);
  cursor: pointer;
}

.mobile-panel {
  display: none;
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 0.75rem 1rem 1rem;
}
.mobile-panel.open { display: block; }
.mobile-panel a {
  display: block;
  padding: 0.7rem 0.4rem;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid #eef2f8;
  font-weight: 500;
}
.mobile-panel a:last-child { border-bottom: none; }

@media (min-width: 980px) {
  .nav-links { display: flex; }
  .nav-toggle { display: none; }
  .logo span.sub { display: inline; }
  .mobile-panel { display: none !important; }
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.7rem 1.2rem;
  border-radius: 10px;
  font-weight: 650;
  font-size: 0.92rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--klein-mid), var(--klein));
  color: #fff;
  box-shadow: 0 8px 22px rgba(0, 47, 167, 0.28);
}
.btn-primary:hover { color: #fff; }
.btn-ghost {
  background: #fff;
  color: var(--klein);
  border: 1px solid var(--line);
}
.btn-ghost:hover { color: var(--klein); border-color: #b8c6e8; }
.btn-light {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.btn-light:hover { color: #fff; background: rgba(255, 255, 255, 0.22); }
.btn-sm { padding: 0.45rem 0.85rem; font-size: 0.85rem; }

/* ── Hero ── */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(ellipse 80% 60% at 85% 15%, rgba(14, 143, 134, 0.28), transparent 55%),
    radial-gradient(ellipse 70% 50% at 10% 90%, rgba(0, 194, 255, 0.18), transparent 50%),
    linear-gradient(145deg, #0036c4 0%, var(--klein) 42%, var(--klein-dark) 100%);
  padding: 3.5rem 0 3.25rem;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  margin-bottom: 1.1rem;
}
.hero h1 {
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: clamp(2rem, 5vw, 3.05rem);
  line-height: 1.2;
  font-weight: 800;
  max-width: 18ch;
  margin-bottom: 1rem;
  letter-spacing: 0;
}
.hero .lead {
  font-size: clamp(1rem, 2vw, 1.15rem);
  opacity: 0.92;
  max-width: 40rem;
  margin-bottom: 1.75rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero-meta {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.75rem;
  font-size: 0.88rem;
  opacity: 0.88;
}
.hero-meta i { margin-right: 0.35rem; opacity: 0.9; }

/* page hero compact */
.page-hero {
  padding: 2.5rem 0 2rem;
  background: linear-gradient(145deg, #0036c4, var(--klein-dark));
  color: #fff;
}
.page-hero h1 {
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  margin-bottom: 0.55rem;
  letter-spacing: 0;
  font-weight: 800;
}
.page-hero p { opacity: 0.9; max-width: 40rem; }

/* ── Sections ── */
.section { padding: 3.25rem 0; }
.section-alt { background: #fff; }
.section-head {
  margin-bottom: 1.75rem;
  max-width: 38rem;
}
.section-head .tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--klein);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.section-head h2 {
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  line-height: 1.25;
  margin-bottom: 0.45rem;
}
.section-head p { color: var(--muted); }

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 760px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 800px) {
  .grid-2 { grid-template-columns: 1.1fr 0.9fr; gap: 1.5rem; }
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.3rem;
  box-shadow: var(--shadow);
}
.card-link {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s, transform 0.15s;
}
.card-link:hover {
  text-decoration: none;
  border-color: #a8b8e0;
  transform: translateY(-2px);
}
.icon-orb {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--klein);
  color: #fff;
  margin-bottom: 0.35rem;
  font-size: 1rem;
}
.icon-orb.teal { background: var(--teal); }
.icon-orb.soft {
  background: var(--teal-soft);
  color: var(--teal);
}
.card h3 { font-size: 1.08rem; }
.card p { color: var(--muted); font-size: 0.93rem; }
.card .more {
  margin-top: auto;
  padding-top: 0.6rem;
  font-size: 0.88rem;
  font-weight: 650;
  color: var(--klein);
}
.card .more i { margin-left: 0.25rem; font-size: 0.75rem; }

.pill-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.pill {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: #eef2fb;
  color: var(--klein);
}

.quote-bar {
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
  background: linear-gradient(120deg, #e8eefb, #e6f7f5);
  border: 1px solid var(--line);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.quote-bar i {
  color: var(--klein);
  font-size: 1.35rem;
  margin-top: 0.15rem;
}
.quote-bar strong { display: block; margin-bottom: 0.25rem; }

.kb-list { list-style: none; }
.kb-list li {
  display: flex;
  gap: 0.75rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}
.kb-list li:last-child { border-bottom: none; }
.kb-list i {
  color: var(--teal);
  margin-top: 0.2rem;
}
.kb-list h4 { font-size: 0.98rem; margin-bottom: 0.15rem; }
.kb-list p { color: var(--muted); font-size: 0.9rem; }

.doc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}
@media (min-width: 700px) {
  .doc-grid { grid-template-columns: repeat(2, 1fr); }
}

.doc-item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1.05rem 1.1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.doc-item:hover {
  text-decoration: none;
  border-color: #a8b8e0;
  box-shadow: var(--shadow);
}
.doc-item i {
  color: var(--klein);
  font-size: 1.1rem;
  margin-top: 0.15rem;
}
.doc-item h4 { font-size: 0.98rem; margin-bottom: 0.2rem; }
.doc-item p { color: var(--muted); font-size: 0.85rem; }

.cat-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 750;
  color: var(--klein);
  margin: 1.75rem 0 0.85rem;
  font-size: 1.05rem;
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 0.85rem;
}
.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.1rem 1.15rem;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--klein);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.9rem;
}
.step h4 { margin-bottom: 0.2rem; }
.step p { color: var(--muted); font-size: 0.92rem; }

.cta-band {
  margin: 0 0 3rem;
  border-radius: calc(var(--radius) + 4px);
  padding: 2rem 1.5rem;
  background: linear-gradient(135deg, var(--klein), var(--klein-dark));
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}
.cta-band h2 { font-size: 1.35rem; margin-bottom: 0.3rem; }
.cta-band p { opacity: 0.88; font-size: 0.95rem; max-width: 28rem; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }

.site-footer {
  background: var(--klein-dark);
  color: rgba(255, 255, 255, 0.78);
  padding: 2.5rem 0 1.75rem;
  font-size: 0.9rem;
}
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  margin-bottom: 1.75rem;
}
@media (min-width: 720px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
.site-footer h4 {
  color: #fff;
  margin-bottom: 0.7rem;
  font-size: 0.95rem;
}
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 0.4rem; }
.footer-brand {
  font-family: "Noto Sans SC", "PingFang SC", sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 0.5rem;
  letter-spacing: 0;
}
.footer-copy {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1rem;
  font-size: 0.8rem;
  opacity: 0.7;
}

.fade-up {
  animation: fadeUp 0.7s ease both;
}
.fade-up.d1 { animation-delay: 0.08s; }
.fade-up.d2 { animation-delay: 0.16s; }
.fade-up.d3 { animation-delay: 0.24s; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.prose {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem;
  box-shadow: var(--shadow);
}
.prose h3 {
  font-size: 1.15rem;
  margin: 1.35rem 0 0.55rem;
  color: var(--klein-dark);
}
.prose h3:first-child { margin-top: 0; }
.prose p { color: var(--muted); margin-bottom: 0.75rem; }
.prose ul {
  margin: 0.4rem 0 0.9rem 1.15rem;
  color: var(--muted);
}
.prose li { margin-bottom: 0.35rem; }
.prose .callout {
  margin: 1rem 0;
  padding: 0.9rem 1rem;
  border-left: 3px solid var(--klein);
  background: #eef2fb;
  border-radius: 0 10px 10px 0;
  color: var(--ink);
  font-weight: 500;
}

/* ── 五步概念链 ── */
.concept-feature {
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}
.concept-feature .banner {
  background: linear-gradient(120deg, #001a5c, #0038c7 55%, #0d9488);
  color: #fff;
  padding: 1.5rem 1.4rem;
}
.concept-feature .banner h2 {
  font-size: clamp(1.25rem, 2.8vw, 1.65rem);
  margin-bottom: 0.45rem;
}
.concept-feature .banner p { opacity: 0.92; max-width: 40rem; font-size: 0.95rem; }
.concept-feature .body { padding: 1.35rem 1.3rem 1.5rem; }
.chain {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
  margin: 1rem 0 1.25rem;
}
@media (min-width: 720px) {
  .chain {
    grid-template-columns: repeat(5, 1fr);
    gap: 0.45rem;
  }
}
.chain-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem 0.75rem;
  background: #f8fafc;
  text-align: center;
}
.chain-item .n {
  display: inline-flex;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.4rem;
}
.chain-item:nth-child(1) .n { background: #2563eb; }
.chain-item:nth-child(2) .n { background: #0d9488; }
.chain-item:nth-child(3) .n { background: #7c3aed; }
.chain-item:nth-child(4) .n { background: #ea580c; }
.chain-item:nth-child(5) .n { background: #dc2626; }
.chain-item h4 { font-size: 0.88rem; margin-bottom: 0.2rem; }
.chain-item p { font-size: 0.78rem; color: var(--muted); margin: 0; line-height: 1.45; }

.audience-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.audience-tabs a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
}
.audience-tabs a:hover { color: var(--klein); text-decoration: none; border-color: #a8b8e0; }
.audience-tabs a.active {
  background: var(--klein);
  border-color: var(--klein);
  color: #fff;
}
.audience-block {
  scroll-margin-top: calc(var(--nav-h) + 1rem);
  margin-bottom: 2.25rem;
}
.audience-block .who {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--klein);
  margin-bottom: 0.45rem;
}
