:root {
  --ink: #071013;
  --panel: #0d1c20;
  --muted: #5d6b70;
  --line: #dce7e8;
  --soft: #f4f8f8;
  --white: #ffffff;
  --cyan: #00a7c8;
  --green: #13a875;
  --warm: #e0a13a;
  --shadow: 0 24px 70px rgba(7, 16, 19, 0.16);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--white);
  line-height: 1.65;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 88px;
  padding: 12px clamp(18px, 5vw, 72px);
  border-bottom: 1px solid rgba(220, 231, 232, 0.78);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 800;
}

.brand img { width: 151px; height: 50px; object-fit: contain; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 15px;
  color: #2d3b40;
}

.site-nav a { white-space: nowrap; }
.site-nav a:hover { color: var(--green); }

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-weight: 800;
}

.nav-cta,
.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--green), var(--cyan));
  box-shadow: 0 14px 34px rgba(0, 167, 200, 0.25);
}

.btn-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  font-size: 22px;
}

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: #071013;
}

.hero-media,
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media img {
  object-fit: cover;
  object-position: 65% 50%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 16, 19, 0.96), rgba(7, 16, 19, 0.72) 42%, rgba(7, 16, 19, 0.16)),
    linear-gradient(0deg, rgba(7, 16, 19, 0.76), rgba(7, 16, 19, 0.02) 45%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  padding: clamp(72px, 12vh, 130px) clamp(18px, 5vw, 72px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p { margin-top: 0; }

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1.06;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.15;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.25;
}

.hero-lead {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0 42px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: min(700px, 100%);
  margin: 0;
}

.hero-metrics div {
  min-height: 104px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

.hero-metrics dt {
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
}

.hero-metrics dd {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 18px clamp(18px, 5vw, 72px);
  background: var(--soft);
  border-block: 1px solid var(--line);
}

.trust-strip span,
.industry-grid span,
.platform-panel span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font-weight: 750;
}

.section {
  padding: clamp(64px, 9vw, 112px) clamp(18px, 5vw, 72px);
}

.section-head {
  max-width: 900px;
  margin-bottom: 34px;
}

.section-head p,
.section-copy p,
.case-grid p,
.service-grid p,
.keyword-grid p,
.faq-list p,
.contact-copy p {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}

.reverse { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); }

.signal-grid,
.service-grid,
.keyword-grid,
.case-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.signal-grid article,
.service-grid article,
.keyword-grid article,
.case-grid article {
  min-height: 190px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 34px rgba(7, 16, 19, 0.06);
}

.signal-grid article {
  min-height: 142px;
  background: linear-gradient(180deg, #ffffff, #f7fbfb);
}

.signal-grid strong,
.service-grid span,
.case-grid span {
  display: block;
  margin-bottom: 10px;
  color: var(--green);
  font-weight: 900;
}

.service-grid article:nth-child(2n) span { color: var(--cyan); }
.service-grid article:nth-child(3n) span { color: var(--warm); }

.keyword-section,
.process-section { background: var(--soft); }

.platform-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 30px;
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.platform-panel span {
  justify-content: center;
  min-height: 64px;
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.industry-grid span {
  justify-content: center;
  min-height: 68px;
  border-radius: 8px;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.process-list li {
  min-height: 180px;
  padding: 24px;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid var(--line);
}

.process-list strong {
  display: block;
  margin-bottom: 10px;
  font-size: 20px;
}

.process-list span { color: var(--muted); }

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

summary {
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 900;
}

details p { padding: 0 20px 20px; }

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 6vw, 72px);
  padding: clamp(64px, 9vw, 112px) clamp(18px, 5vw, 72px);
  color: var(--white);
  background: var(--ink);
}

.contact-copy p { color: rgba(255, 255, 255, 0.72); }

.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.contact-cards article {
  min-height: 132px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.contact-cards strong,
.contact-cards a {
  display: block;
  overflow-wrap: anywhere;
}

.contact-cards a {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.78);
}

.contact-cards img {
  width: 82px;
  height: 82px;
  margin-top: 12px;
  border-radius: 6px;
  background: var(--white);
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 24px;
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  box-shadow: var(--shadow);
}

.lead-form label {
  display: grid;
  gap: 7px;
  font-weight: 850;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 12px;
  font: inherit;
  background: #fbfdfd;
}

.lead-form textarea { resize: vertical; }
.full { grid-column: 1 / -1; }
.form-note { grid-column: 1 / -1; margin: 0; color: var(--green); font-weight: 850; }

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  flex-wrap: wrap;
}

.blog-index {
  padding: clamp(56px, 8vw, 104px) clamp(18px, 5vw, 72px);
}

.blog-post {
  width: min(1160px, calc(100% - clamp(36px, 10vw, 144px)));
  margin-inline: auto;
  padding: clamp(56px, 8vw, 104px) 0;
}

.blog-index {
  background: var(--soft);
}

.blog-index .section-head {
  max-width: 860px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 14px 34px rgba(7, 16, 19, 0.06);
}

.blog-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #dce7e8;
}

.blog-card span,
.blog-card h2,
.blog-card p,
.blog-card .read-link {
  margin-inline: 20px;
}

.blog-card span {
  margin-top: 18px;
  color: var(--green);
  font-weight: 900;
  font-size: 13px;
}

.blog-card h2 {
  margin-top: 8px;
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.28;
}

.blog-card p {
  color: var(--muted);
}

.read-link {
  margin-top: auto;
  margin-bottom: 20px;
  color: var(--cyan);
  font-weight: 900;
}

.post-hero {
  max-width: 960px;
  margin-inline: auto;
  text-align: center;
}

.post-hero h1 {
  margin-inline: auto;
  color: var(--ink);
  font-size: clamp(34px, 5vw, 60px);
}

.post-hero p {
  color: var(--muted);
  font-size: 18px;
}

.back-link {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--cyan);
  font-weight: 900;
}

.post-meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted);
  font-weight: 750;
}

.post-cover {
  width: 100%;
  margin: 34px auto;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.post-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 36px;
  align-items: start;
}

.post-content {
  min-width: 0;
  font-size: 18px;
}

.post-content h2 {
  margin-top: 44px;
  font-size: 30px;
}

.post-content p {
  color: #334247;
}

.post-summary,
.rich-panel,
.post-toc {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.post-summary ul,
.post-checklist {
  margin: 12px 0 0;
  padding-left: 20px;
  color: #334247;
}

.inline-links a,
.inline-link-grid a,
.post-toc a {
  color: var(--cyan);
  font-weight: 850;
}

.inline-link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.inline-link-grid a,
.post-toc a {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.post-sidebar {
  display: grid;
  gap: 18px;
  position: sticky;
  top: 96px;
}

.post-toc {
  display: grid;
  gap: 10px;
}

.post-lead-form {
  grid-template-columns: 1fr;
  box-shadow: 0 14px 34px rgba(7, 16, 19, 0.08);
}

.post-lead-form h2,
.post-lead-form p {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.post-lead-form h2 {
  font-size: 24px;
  line-height: 1.2;
}

.related-posts {
  max-width: 100%;
  margin: 56px auto 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 36px;
}

.pagination a,
.pagination span {
  min-width: 42px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 14px;
  background: var(--white);
  font-weight: 850;
}

.pagination span {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.related-posts h2 {
  font-size: 24px;
}

.related-posts div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.related-posts a {
  padding: 14px;
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  font-weight: 850;
}

@media (max-width: 980px) {
  .nav-toggle { display: inline-grid; place-items: center; }
  .site-nav {
    position: absolute;
    left: 18px;
    right: 18px;
    top: 72px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px; }
  .nav-cta { margin-top: 6px; }
  .split,
  .reverse,
  .contact-section { grid-template-columns: 1fr; }
  .service-grid,
  .process-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .related-posts div { grid-template-columns: 1fr; }
  .post-layout { grid-template-columns: 1fr; }
  .post-sidebar { position: static; }
}

@media (max-width: 680px) {
  .site-header { min-height: 76px; padding-inline: 14px; }
  .brand img { width: 132px; height: 44px; }
  .hero {
    min-height: auto;
    align-items: end;
  }
  .hero-media img { object-position: 72% 50%; }
  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(7, 16, 19, 0.5), rgba(7, 16, 19, 0.92) 34%, rgba(7, 16, 19, 0.98)),
      linear-gradient(90deg, rgba(7, 16, 19, 0.92), rgba(7, 16, 19, 0.28));
  }
  .hero-content { padding: 260px 18px 44px; }
  h1 { font-size: 40px; }
  h2 { font-size: 30px; }
  .hero-lead { font-size: 16px; }
  .hero-actions,
  .hero-actions .btn { width: 100%; }
  .hero-metrics,
  .signal-grid,
  .service-grid,
  .keyword-grid,
  .case-grid,
  .industry-grid,
  .process-list,
  .platform-panel,
  .contact-cards,
  .lead-form { grid-template-columns: 1fr; }
  .trust-strip { justify-content: flex-start; overflow: hidden; }
  .section,
  .contact-section { padding-block: 56px; }
  .lead-form { padding: 18px; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-card h2 { font-size: 20px; }
  .post-hero { text-align: left; }
  .post-meta { justify-content: flex-start; }
  .post-content { font-size: 16px; }
  .post-content h2 { font-size: 25px; }
  .inline-link-grid { grid-template-columns: 1fr; }
}
