:root {
  --ink: #151821;
  --ink-2: #2c3445;
  --muted: #667085;
  --line: #d9deea;
  --paper: #fbf7ee;
  --white: #ffffff;
  --smoke: #f2f4f8;
  --navy: #101827;
  --blue: #215de8;
  --blue-deep: #133c92;
  --teal: #0f8a7b;
  --gold: #b78a3a;
  --red: #b33a2f;
  --shadow: 0 28px 80px rgba(15, 23, 42, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "PingFang SC", "Source Han Sans SC", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(21, 24, 33, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 24, 33, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.65), transparent 72%);
}

img {
  display: block;
  max-width: 100%;
}

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

p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.78;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: 0;
}

h1,
h2 {
  font-family: "Songti SC", "STSong", "Noto Serif SC", "PingFang SC", serif;
  font-weight: 900;
}

h1 {
  font-size: clamp(58px, 9vw, 132px);
}

h2 {
  font-size: clamp(34px, 5vw, 72px);
}

h3 {
  font-size: 24px;
}

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  top: -80px;
  left: 16px;
  z-index: 30;
  padding: 10px 14px;
  background: var(--white);
  border: 1px solid var(--line);
}

.skip-link:focus {
  top: 16px;
}

.container {
  width: min(1200px, calc(100% - 44px));
  margin: 0 auto;
}

.section-band {
  width: 100%;
  padding: 104px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 36px;
  background: rgba(251, 247, 238, 0.86);
  border-bottom: 1px solid rgba(217, 222, 234, 0.72);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--paper);
  background: var(--ink);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 17px;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 800;
}

.site-nav a {
  line-height: 1;
}

.nav-cta {
  padding: 13px 16px;
  color: var(--paper);
  background: var(--ink);
  border-radius: 6px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  border-radius: 6px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.eyebrow {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero {
  position: relative;
  min-height: calc(86vh - 72px);
  padding: 0;
  overflow: hidden;
  color: var(--paper);
  background:
    linear-gradient(112deg, rgba(18, 23, 34, 0.98) 0%, rgba(18, 23, 34, 0.94) 50%, rgba(19, 60, 146, 0.9) 100%),
    linear-gradient(180deg, #121722, #133c92);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 124px),
    linear-gradient(180deg, transparent 0%, rgba(18, 23, 34, 0.78) 100%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: calc(86vh - 72px);
  grid-template-columns: minmax(0, 0.96fr) minmax(360px, 0.74fr);
  gap: 60px;
  align-items: center;
  padding: 54px 0 48px;
}

.hero-copy-block {
  max-width: 840px;
  animation: rise-in 700ms ease both;
}

.hero .eyebrow {
  color: #e8c27a;
}

.hero-lede {
  max-width: 780px;
  margin-top: 16px;
  color: var(--white);
  font-family: "Songti SC", "STSong", "Noto Serif SC", serif;
  font-size: clamp(30px, 3.4vw, 52px);
  line-height: 1.16;
}

.hero-copy {
  max-width: 720px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.78);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 900;
}

.button.primary {
  color: var(--paper);
  background: var(--blue);
  box-shadow: 0 18px 40px rgba(33, 93, 232, 0.28);
}

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

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 36px;
}

.hero-proof span {
  padding: 8px 10px;
  color: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.hero-visual {
  position: relative;
  min-height: 560px;
  isolation: isolate;
  animation: rise-in 800ms 120ms ease both;
}

.hero-visual img {
  position: absolute;
  inset: 16px auto auto 2%;
  width: 96%;
  height: 78%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.16);
  filter: saturate(0.88) contrast(1.08);
  opacity: 0.82;
}

.system-panel {
  position: absolute;
  right: 0;
  bottom: 38px;
  width: min(86%, 360px);
  padding: 24px;
  color: var(--paper);
  background: rgba(18, 23, 34, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(18px);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.28);
}

.system-panel span {
  color: #e8c27a;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.system-panel strong {
  display: block;
  margin-top: 10px;
  font-size: 26px;
  line-height: 1.18;
}

.system-panel ol {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding-left: 20px;
  color: rgba(255, 255, 255, 0.72);
}

.identity {
  background: var(--paper);
}

.identity-grid,
.geo-grid,
.editorial-grid,
.faq-grid,
.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 76px;
  align-items: start;
}

.identity-copy {
  display: grid;
  gap: 26px;
}

.stat-line {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat-line div {
  min-height: 122px;
  padding: 20px 18px;
  border-right: 1px solid var(--line);
}

.stat-line div:last-child {
  border-right: 0;
}

.stat-line strong,
.stat-line span {
  display: block;
}

.stat-line strong {
  color: var(--ink);
  font-size: 34px;
  line-height: 1;
}

.stat-line span {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.5;
}

.services {
  background: var(--smoke);
}

.section-heading {
  max-width: 920px;
  margin-bottom: 46px;
}

.section-heading p:last-child {
  margin-top: 18px;
}

.service-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.service-list article {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 42px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.service-list article > span {
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
}

.service-list p {
  max-width: 820px;
  margin-top: 12px;
}

.geo-story {
  color: var(--paper);
  background:
    linear-gradient(135deg, rgba(16, 24, 39, 0.97), rgba(19, 60, 146, 0.88)),
    url("/assets/images/ai-brain-network.png") right center / 680px no-repeat;
}

.geo-story p {
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.72);
}

.geo-flow {
  display: grid;
  gap: 1px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.geo-flow div {
  display: grid;
  grid-template-columns: 64px 1fr;
  align-items: center;
  gap: 20px;
  min-height: 88px;
  padding: 18px 22px;
  background: rgba(18, 23, 34, 0.58);
}

.geo-flow span {
  color: #e8c27a;
  font-weight: 900;
}

.geo-flow strong {
  color: var(--paper);
  font-size: 20px;
}

.cases {
  background: #fffaf0;
}

.cases-grid {
  display: block;
}

.cases-grid > div:first-child {
  max-width: 780px;
  margin-bottom: 42px;
}

.cases p {
  margin-top: 18px;
}

.logo-wall {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  border-top: 1px solid rgba(21, 24, 33, 0.16);
  border-left: 1px solid rgba(21, 24, 33, 0.16);
}

.client-logo {
  display: grid;
  min-height: 112px;
  place-items: center;
  margin: 0;
  padding: 20px 18px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.58);
  border-right: 1px solid rgba(21, 24, 33, 0.16);
  border-bottom: 1px solid rgba(21, 24, 33, 0.16);
}

.client-logo img {
  display: block;
  width: min(132px, 88%);
  max-height: 48px;
  object-fit: contain;
}

.client-logo.logo-wide img {
  width: min(164px, 94%);
  max-height: 52px;
}

.client-logo.compact img {
  max-height: 42px;
}

.client-logo.chagee img {
  width: min(146px, 92%);
  max-height: 58px;
}

.client-logo.name-mark span {
  display: inline-block;
  font-family: "Songti SC", "STSong", "Noto Serif SC", serif;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: 0;
  text-align: center;
}

.client-logo.name-mark small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-family: "Inter", "PingFang SC", sans-serif;
  font-size: 12px;
  font-weight: 800;
}

.method {
  background: var(--paper);
}

.method-timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.method-timeline article {
  min-height: 268px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.36);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.method-timeline span,
.article-list span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.method-timeline h3 {
  margin-top: 54px;
}

.method-timeline p {
  margin-top: 14px;
  font-size: 15px;
}

.blog-preview {
  background: var(--navy);
  color: var(--paper);
}

.blog-preview p {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.7);
}

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

.article-list a {
  display: block;
  padding: 24px 0;
  color: var(--paper);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.article-list h3 {
  margin-top: 10px;
  font-size: 24px;
}

.faq {
  background: var(--smoke);
}

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

.faq-list details {
  padding: 24px 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.faq-list summary {
  cursor: pointer;
  color: var(--ink);
  font-size: 19px;
  font-weight: 900;
}

.faq-list p {
  margin-top: 14px;
  font-size: 15px;
}

.contact {
  background:
    linear-gradient(180deg, rgba(251, 247, 238, 0.98), rgba(242, 244, 248, 0.98));
}

.contact-info {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.contact-info p {
  color: var(--ink-2);
  font-size: 16px;
}

.contact-info a {
  color: var(--blue-deep);
  font-weight: 900;
}

.lead-form {
  padding: 30px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(217, 222, 234, 0.9);
  border-radius: 8px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

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

.lead-form label {
  display: grid;
  gap: 8px;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 900;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  padding: 12px 13px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #c9d1df;
  border-radius: 6px;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  outline: 2px solid rgba(33, 93, 232, 0.24);
  border-color: var(--blue);
}

.lead-form .wide {
  grid-column: 1 / -1;
}

.hp-field {
  position: absolute;
  left: -10000px;
}

.lead-form .button {
  width: 100%;
  margin-top: 20px;
}

.form-status {
  min-height: 28px;
  margin-top: 14px;
  font-size: 14px;
}

.site-footer {
  padding: 44px 0;
  color: rgba(255, 255, 255, 0.72);
  background: var(--navy);
}

.site-footer p {
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr 1fr;
  gap: 30px;
  align-items: start;
}

.footer-grid strong {
  color: var(--paper);
  font-size: 20px;
}

.footer-grid a {
  display: block;
  margin-bottom: 10px;
}

.icp {
  margin-top: 8px;
}

.icp a {
  display: inline;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
}

.blog-page {
  background: var(--paper);
}

.blog-hero {
  padding: 92px 0 70px;
  color: var(--paper);
  background: linear-gradient(135deg, var(--navy), var(--blue-deep));
}

.blog-hero p {
  max-width: 760px;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.76);
}

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

.blog-grid article {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.blog-grid article h2 {
  font-size: 31px;
  line-height: 1.16;
}

.blog-grid p {
  margin-top: 14px;
  font-size: 15px;
}

.article-page {
  background: var(--paper);
}

.article-hero {
  padding: 88px 0 46px;
  border-bottom: 1px solid var(--line);
}

.article-hero .container {
  max-width: 900px;
}

.article-hero p {
  margin-top: 18px;
}

.article-body {
  max-width: 860px;
  padding: 54px 0 96px;
}

.article-body h2 {
  margin-top: 44px;
  font-size: clamp(28px, 3vw, 40px);
}

.article-body h3 {
  margin-top: 30px;
}

.article-body p,
.article-body li {
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1.8;
}

.article-body p {
  margin-top: 16px;
}

.article-body ul,
.article-body ol {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.article-body table {
  width: 100%;
  margin-top: 24px;
  border-collapse: collapse;
  font-size: 15px;
}

.article-body th,
.article-body td {
  padding: 14px;
  text-align: left;
  border: 1px solid var(--line);
  vertical-align: top;
}

.article-body th {
  background: var(--smoke);
}

.not-found-page {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--navy), var(--blue-deep));
}

.not-found {
  display: grid;
  min-height: 100vh;
  align-items: center;
  color: var(--paper);
}

.not-found p {
  max-width: 620px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.76);
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1080px) {
  .site-header {
    padding: 0 20px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 72px 20px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 14px;
  }

  .nav-cta {
    text-align: center;
  }

  .hero-grid,
  .identity-grid,
  .geo-grid,
  .cases-grid,
  .editorial-grid,
  .faq-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 430px;
  }

  .method-timeline,
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 700px) {
  .container {
    width: min(100% - 28px, 1200px);
  }

  .section-band {
    padding: 72px 0;
  }

  .hero,
  .hero-grid {
    min-height: auto;
  }

  .hero-grid {
    gap: 34px;
    padding: 58px 0 48px;
  }

  h1 {
    font-size: clamp(52px, 18vw, 86px);
  }

  .hero-visual {
    min-height: 360px;
  }

  .hero-visual img {
    width: 100%;
    height: 68%;
    inset: 0 auto auto 0;
  }

  .system-panel {
    width: 92%;
    right: 0;
    bottom: 0;
  }

  .hero-actions,
  .form-grid {
    grid-template-columns: 1fr;
    display: grid;
  }

  .stat-line,
  .method-timeline,
  .blog-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .logo-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stat-line div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stat-line div:last-child {
    border-bottom: 0;
  }

  .service-list article {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .geo-flow div {
    grid-template-columns: 48px 1fr;
  }

  .lead-form {
    padding: 22px;
  }
}

@media (max-width: 360px) {
  .logo-wall {
    grid-template-columns: 1fr;
  }
}
