:root {
  color-scheme: light;
  --primary: #534ab7;
  --primary-deep: oklch(0.31 0.15 291);
  --primary-soft: oklch(0.93 0.04 291);
  --ink: oklch(0.21 0.02 275);
  --muted: oklch(0.48 0.03 275);
  --faint: oklch(0.67 0.025 275);
  --page: oklch(0.975 0.009 282);
  --surface: oklch(0.995 0.006 282);
  --line: oklch(0.875 0.018 282);
  --green: oklch(0.61 0.14 166);
  --amber: oklch(0.72 0.14 72);
  --coral: oklch(0.66 0.17 31);
  --blue: oklch(0.58 0.15 238);
  --radius: 8px;
  --shadow: 0 28px 70px oklch(0.22 0.04 282 / 0.16);
  font-family: "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(115deg, oklch(0.97 0.018 291), transparent 34rem),
    linear-gradient(180deg, var(--page), oklch(0.985 0.009 245));
  color: var(--ink);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(oklch(0.78 0.02 282 / 0.18) 1px, transparent 1px),
    linear-gradient(90deg, oklch(0.78 0.02 282 / 0.18) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, black, transparent 72%);
}

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  min-height: 72px;
  padding: 0 40px;
  border-bottom: 1px solid transparent;
  background: oklch(0.985 0.008 282 / 0.86);
  backdrop-filter: blur(18px);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 12px 36px oklch(0.25 0.035 282 / 0.08);
}

.brand,
.nav-links,
.hero-actions,
.platforms {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
}

.brand strong {
  color: var(--primary);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--primary);
  color: oklch(0.99 0.006 282);
  box-shadow: 0 12px 24px oklch(0.35 0.16 291 / 0.28);
}

.nav-links {
  justify-content: center;
  gap: 26px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.nav-links a {
  transition: color 160ms ease;
}

.nav-links a:hover {
  color: var(--primary);
}

.header-cta,
.primary-button,
.secondary-button,
.lead-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  min-height: 44px;
  padding: 0 22px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.header-cta,
.primary-button,
.lead-form button {
  border: 0;
  background: var(--primary);
  color: oklch(0.99 0.006 282);
  box-shadow: 0 12px 28px oklch(0.35 0.16 291 / 0.28);
}

.secondary-button {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
}

.header-cta:hover,
.primary-button:hover,
.secondary-button:hover,
.lead-form button:hover {
  transform: translateY(-2px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.88fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: clamp(64px, 8vw, 110px) clamp(24px, 6vw, 88px) 48px;
}

.hero > * {
  min-width: 0;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 24px;
  max-width: 860px;
  font-size: clamp(3.2rem, 7vw, 6.6rem);
  line-height: 0.98;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

h1 span {
  display: block;
}

.hero-text {
  max-width: 680px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
}

.hero-actions {
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.platforms {
  flex-wrap: wrap;
  gap: 10px;
}

.platforms span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  background: oklch(0.995 0.006 282 / 0.7);
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 600;
}

.hero-visual {
  position: relative;
  min-height: 560px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  isolation: isolate;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  display: block;
  filter: saturate(0.92) contrast(1.02);
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, oklch(0.2 0.07 291 / 0.08), oklch(0.2 0.07 291 / 0.72));
  z-index: 1;
}

.signal-panel {
  position: absolute;
  z-index: 2;
  left: 28px;
  right: 28px;
  bottom: 28px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 22px;
  align-items: end;
  padding: 24px;
  border: 1px solid oklch(1 0 0 / 0.24);
  border-radius: 18px;
  background: oklch(0.18 0.07 291 / 0.76);
  color: oklch(0.99 0.006 282);
  backdrop-filter: blur(14px);
}

.panel-label {
  display: block;
  margin-bottom: 4px;
  color: oklch(0.86 0.04 291);
  font-size: 0.86rem;
  font-weight: 700;
}

.signal-panel strong {
  display: block;
  font-size: clamp(3rem, 6vw, 5.6rem);
  line-height: 0.9;
}

.signal-panel strong::after {
  content: "%";
  margin-left: 4px;
  color: oklch(0.87 0.12 72);
  font-size: 0.34em;
}

.signal-bars {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  align-items: end;
  min-width: 0;
  min-height: 126px;
}

.signal-bars span {
  display: block;
  height: var(--h);
  min-height: 34px;
  border-radius: 999px 999px 5px 5px;
  background: linear-gradient(180deg, oklch(0.84 0.12 72), var(--primary));
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--line);
  background: oklch(0.995 0.006 282 / 0.72);
}

.proof-strip div {
  padding: 28px clamp(22px, 5vw, 54px);
  border-right: 1px solid var(--line);
}

.proof-strip div:last-child {
  border-right: 0;
}

.proof-strip strong,
.proof-strip span {
  display: block;
}

.proof-strip strong {
  margin-bottom: 4px;
  font-size: 1.35rem;
}

.proof-strip span {
  color: var(--muted);
}

.machine-summary {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(360px, 1fr);
  gap: clamp(28px, 6vw, 72px);
  padding: clamp(64px, 8vw, 96px) clamp(24px, 6vw, 88px);
  border-bottom: 1px solid var(--line);
  background: oklch(0.995 0.006 282 / 0.76);
}

.machine-summary h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 3.4vw, 3.6rem);
}

.machine-summary p,
.machine-summary dd {
  color: var(--muted);
}

.machine-summary dl {
  display: grid;
  gap: 1px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.machine-summary dl div {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 18px;
  padding: 20px;
  background: var(--surface);
}

.machine-summary dt {
  color: var(--primary);
  font-weight: 800;
}

.machine-summary dd {
  margin: 0;
}

.machine-summary a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.section {
  padding: clamp(76px, 10vw, 126px) clamp(24px, 6vw, 88px);
}

.section-head {
  max-width: 820px;
  margin-bottom: 42px;
}

.section-head.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.56fr);
  gap: 36px;
  max-width: none;
  align-items: end;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.section-head p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.02rem;
}

.diagnosis-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.85fr 0.85fr;
  gap: 18px;
}

.diagnosis-grid article,
.service-list article,
.scenario-grid article,
.case-grid article,
.resource-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: oklch(0.995 0.006 282 / 0.82);
}

.diagnosis-grid article {
  min-height: 270px;
  padding: 30px;
}

.wide-card {
  background:
    linear-gradient(135deg, var(--primary-soft), oklch(0.995 0.006 282)) !important;
}

.wide-card h3,
.diagnosis-grid h3 {
  margin-bottom: 12px;
  font-size: 1.45rem;
}

.wide-card p,
.diagnosis-grid p,
.service-list p,
.scenario-grid p,
.case-grid p,
.resource-card p,
.faq-list p {
  color: var(--muted);
}

.matrix {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 30px;
}

.matrix span {
  border-radius: 7px;
  padding: 12px;
  background: oklch(1 0 0 / 0.58);
  color: var(--primary-deep);
  font-weight: 700;
}

.card-number {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 72px;
  border-radius: 50%;
  background: var(--primary);
  color: oklch(0.99 0.006 282);
  font-weight: 800;
}

.services {
  background: oklch(0.25 0.05 285);
  color: oklch(0.985 0.008 282);
}

.services .eyebrow {
  color: oklch(0.82 0.12 72);
}

.services .section-head p:not(.eyebrow) {
  color: oklch(0.82 0.025 282);
}

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

.service-list article {
  padding: 30px;
  background: oklch(0.31 0.055 285);
  border-color: oklch(0.48 0.055 285);
}

.service-kicker {
  color: oklch(0.82 0.12 72);
  font-size: 0.78rem;
  font-weight: 800;
}

.service-list h3 {
  margin: 12px 0;
  font-size: 1.42rem;
}

.service-list p,
.service-list li {
  color: oklch(0.84 0.025 282);
}

.service-list ul {
  display: grid;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.service-list li::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--green);
}

.scenario-grid,
.case-grid,
.resource-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.scenario-grid article {
  padding: 26px;
  min-height: 230px;
}

.scenario-grid h3,
.case-grid h3 {
  margin-bottom: 12px;
  font-size: 1.24rem;
}

.resource-card h3 {
  margin-bottom: 12px;
  font-size: 1.18rem;
  line-height: 1.3;
  letter-spacing: -0.018em;
}

.process {
  background: linear-gradient(180deg, oklch(0.985 0.009 282), oklch(0.94 0.028 291));
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.timeline article {
  min-height: 260px;
  padding: 26px;
  background: var(--surface);
}

.timeline span {
  display: block;
  margin-bottom: 62px;
  color: var(--primary);
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
}

.cases {
  padding-top: 104px;
}

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

.case-grid article {
  padding: 28px;
  min-height: 300px;
}

.case-grid span {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 800;
}

.resource-card span {
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 10px;
  border-radius: 999px;
  background: oklch(1 0 0 / 0.52);
  border: 1px solid oklch(1 0 0 / 0.72);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.resources {
  background: oklch(0.965 0.014 245);
}

.resource-grid {
  grid-template-columns: repeat(4, 1fr);
}

.resource-card {
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: 30px;
  text-decoration: none;
  color: var(--ink);
  position: relative;
  overflow: hidden;
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 220ms cubic-bezier(0.22, 1, 0.36, 1),
              border-color 220ms ease;
  box-shadow: 0 4px 18px oklch(0.25 0.06 282 / 0.08);
}

.resource-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 220ms ease;
  pointer-events: none;
  z-index: 0;
}

.resource-card > * {
  position: relative;
  z-index: 1;
}

.resource-card:hover {
  transform: translateY(-6px) scale(1.012);
  box-shadow: 0 28px 56px oklch(0.25 0.06 282 / 0.18);
}

.resource-card:hover::before {
  opacity: 1;
}

/* 各卡片独立配色 */
.resource-card--doubao-geo {
  background: linear-gradient(145deg, oklch(0.96 0.038 291), oklch(0.985 0.012 282));
  border-color: oklch(0.78 0.1 291);
}
.resource-card--doubao-geo::before {
  background: linear-gradient(145deg, oklch(0.92 0.07 291), oklch(0.975 0.02 282));
}
.resource-card--doubao-geo .resource-card-cta { color: oklch(0.35 0.18 291); }

.resource-card--doubao-growth {
  background: linear-gradient(145deg, oklch(0.96 0.04 52), oklch(0.985 0.012 82));
  border-color: oklch(0.8 0.1 52);
}
.resource-card--doubao-growth::before {
  background: linear-gradient(145deg, oklch(0.92 0.08 52), oklch(0.975 0.02 82));
}
.resource-card--doubao-growth .resource-card-cta { color: oklch(0.38 0.16 48); }

.resource-card--domestic {
  background: linear-gradient(145deg, oklch(0.96 0.04 155), oklch(0.985 0.012 160));
  border-color: oklch(0.78 0.09 155);
}
.resource-card--domestic::before {
  background: linear-gradient(145deg, oklch(0.92 0.07 155), oklch(0.975 0.02 160));
}
.resource-card--domestic .resource-card-cta { color: oklch(0.32 0.16 155); }

.resource-card--export {
  background: linear-gradient(145deg, oklch(0.96 0.04 220), oklch(0.985 0.012 240));
  border-color: oklch(0.78 0.09 220);
}
.resource-card--export::before {
  background: linear-gradient(145deg, oklch(0.92 0.07 220), oklch(0.975 0.02 240));
}
.resource-card--export .resource-card-cta { color: oklch(0.32 0.16 220); }

/* 图标 */
.resource-card-icon {
  font-size: 2.4rem;
  line-height: 1;
  margin-bottom: 16px;
  filter: drop-shadow(0 2px 6px oklch(0.4 0.06 282 / 0.18));
}

/* CTA 箭头行 */
.resource-card-cta {
  margin-top: auto;
  padding-top: 18px;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  opacity: 0.82;
  transition: opacity 180ms ease, letter-spacing 180ms ease;
}

.resource-card:hover .resource-card-cta {
  opacity: 1;
  letter-spacing: 0.04em;
}

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

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

summary {
  cursor: pointer;
  padding: 20px 24px;
  font-weight: 800;
}

details p {
  margin: 0;
  padding: 0 24px 22px;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.72fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: start;
  padding: clamp(76px, 10vw, 120px) clamp(24px, 6vw, 88px);
  background: oklch(0.21 0.055 285);
  color: oklch(0.985 0.008 282);
}

.contact-copy {
  max-width: 650px;
}

.contact-copy .eyebrow {
  color: oklch(0.82 0.12 72);
}

.contact-copy p:not(.eyebrow) {
  color: oklch(0.82 0.025 282);
}

.contact-qr-card {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  max-width: 520px;
  margin-top: 34px;
  padding: 18px;
  border: 1px solid oklch(0.42 0.06 285);
  border-radius: 16px;
  background: oklch(0.285 0.055 285);
}

.contact-qr-card img {
  display: block;
  width: 168px;
  height: 168px;
  border-radius: 8px;
  background: oklch(0.985 0.006 282);
}

.contact-qr-card strong,
.contact-qr-card span {
  display: block;
}

.contact-qr-card strong {
  margin-bottom: 8px;
  font-size: 1.18rem;
}

.contact-qr-card span {
  color: oklch(0.82 0.025 282);
}

.lead-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid oklch(0.42 0.06 285);
  border-radius: 16px;
  background: oklch(0.285 0.055 285);
}

.lead-form label {
  display: grid;
  gap: 7px;
  color: oklch(0.91 0.012 282);
  font-weight: 700;
}

.lead-form input,
.lead-form select {
  min-height: 48px;
  width: 100%;
  border: 1px solid oklch(0.46 0.06 285);
  border-radius: 8px;
  padding: 0 14px;
  background: oklch(0.22 0.04 285);
  color: oklch(0.98 0.006 282);
}

.lead-form input::placeholder {
  color: oklch(0.72 0.02 282);
}

.lead-form button {
  margin-top: 6px;
  cursor: pointer;
}

.lead-form button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.form-note {
  margin: 0;
  color: oklch(0.76 0.02 282);
  font-size: 0.86rem;
}

.form-note.is-sent {
  color: oklch(0.82 0.12 166);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(24px, 6vw, 88px);
  background: oklch(0.16 0.035 285);
  color: oklch(0.8 0.025 282);
}

.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer strong {
  color: oklch(0.98 0.006 282);
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .nav-links {
    display: none;
  }

  .hero,
  .section-head.split,
  .machine-summary,
  .contact-section {
    grid-template-columns: 1fr;
  }

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

  .hero-visual img {
    min-height: 460px;
  }

  .diagnosis-grid,
  .service-list,
  .scenario-grid,
  .case-grid,
  .resource-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .wide-card {
    grid-column: 1 / -1;
  }

  .timeline {
    grid-template-columns: 1fr;
  }

  .timeline article {
    min-height: auto;
  }

  .timeline span {
    margin-bottom: 18px;
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: 64px;
    padding: 0 18px;
  }

  .header-cta {
    display: none;
  }

  .hero,
  .section,
  .contact-section {
    padding-left: 18px;
    padding-right: 18px;
  }

  h1 {
    font-size: clamp(1.92rem, 8.8vw, 2.18rem);
    line-height: 1.04;
    word-break: break-all;
    line-break: anywhere;
  }

  .hero {
    display: block;
    gap: 34px;
    min-height: auto;
    padding-top: 64px;
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
  }

  .hero-copy {
    width: 100%;
    max-width: calc(100vw - 36px);
  }

  .hero-text {
    max-width: 100%;
    font-size: 0.98rem;
    overflow-wrap: anywhere;
  }

  .proof-strip,
  .diagnosis-grid,
  .service-list,
  .scenario-grid,
  .case-grid,
  .resource-grid {
    grid-template-columns: 1fr;
  }

  .machine-summary {
    padding-left: 18px;
    padding-right: 18px;
  }

  .machine-summary dl div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

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

  .matrix {
    grid-template-columns: 1fr 1fr;
  }

  .signal-panel {
    left: 16px;
    right: 16px;
    bottom: 16px;
    grid-template-columns: 1fr;
    overflow: hidden;
  }

  .platforms {
    display: grid;
    grid-template-columns: repeat(3, max-content);
    align-items: center;
  }

  .hero-visual,
  .hero-visual img {
    width: 100%;
    max-width: calc(100vw - 36px);
  }

  .hero-visual {
    margin-top: 34px;
  }

  .signal-bars {
    min-height: 86px;
    gap: 7px;
  }

  .site-footer {
    flex-direction: column;
  }

  .contact-qr-card {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 14px;
    padding: 14px;
  }

  .contact-qr-card img {
    width: 112px;
    height: 112px;
  }
}
