:root {
  --bg: #f7f9fb;
  --surface: #ffffff;
  --ink: #182029;
  --muted: #5d6975;
  --line: #d9e1e8;
  --teal: #078c85;
  --teal-dark: #056c67;
  --blue: #286fb7;
  --amber: #c98316;
  --soft: #eaf4f2;
  --shadow: 0 18px 45px rgba(24, 32, 41, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 16px clamp(20px, 5vw, 64px);
  background: rgba(247, 249, 251, 0.92);
  border-bottom: 1px solid rgba(217, 225, 232, 0.75);
  backdrop-filter: blur(14px);
}

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

.brand {
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--teal), var(--blue));
}

.nav {
  justify-content: center;
  gap: 28px;
  color: var(--muted);
  font-size: 15px;
}

.nav a:hover,
.footer a:hover {
  color: var(--teal-dark);
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 0 18px;
  font-weight: 700;
  cursor: pointer;
}

.header-cta,
.btn.primary {
  color: #fff;
  background: var(--teal);
}

.header-cta:hover,
.btn.primary:hover {
  background: var(--teal-dark);
}

.btn.secondary {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  min-height: calc(100vh - 70px);
  padding: clamp(42px, 7vw, 86px) clamp(20px, 5vw, 64px) 48px;
  overflow: hidden;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 1.03;
  letter-spacing: 0;
}

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

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

.hero-text,
.section-heading p,
.compact p,
.contact p {
  color: var(--muted);
  font-size: 18px;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 560px;
  margin: 0;
}

.hero-stats div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.hero-stats dt {
  font-size: 24px;
  font-weight: 800;
  color: var(--teal-dark);
}

.hero-stats dd {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.hero-media {
  position: relative;
  min-height: 0;
}

.hero-carousel {
  aspect-ratio: 16 / 9;
  width: 100%;
  overflow: visible;
  border-radius: 8px;
  background: transparent;
}

.poster-slide {
  position: absolute;
  inset: 0;
  display: block;
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transition: opacity 420ms ease;
}

.poster-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.poster-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
  background: #10262d;
  box-shadow: var(--shadow);
}

.poster-dots {
  position: absolute;
  left: 50%;
  bottom: -28px;
  z-index: 2;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.poster-dots button {
  width: 34px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: rgba(24, 32, 41, 0.24);
  cursor: pointer;
}

.poster-dots button.is-active {
  background: var(--teal);
}

.trust-band {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  margin: 0 clamp(20px, 5vw, 64px);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--line);
}

.trust-band span {
  min-height: 70px;
  display: grid;
  place-items: center;
  padding: 14px;
  text-align: center;
  font-weight: 700;
  background: #fff;
}

.section {
  padding: clamp(64px, 8vw, 104px) clamp(20px, 5vw, 64px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading.compact {
  max-width: 660px;
}

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

.service-card,
.case-grid article,
.price-note,
.faq details,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 8px 22px rgba(24, 32, 41, 0.04);
}

.service-card {
  padding: 24px;
}

.service-card p,
.case-grid p,
.price-note p,
.faq p {
  color: var(--muted);
}

.service-card ul {
  padding-left: 18px;
  margin: 20px 0 0;
  color: var(--ink);
}

.icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 8px;
  color: var(--teal-dark);
  background: var(--soft);
  font-weight: 800;
}

.split {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(30px, 6vw, 80px);
  align-items: start;
  background: #fff;
}

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

.timeline li {
  position: relative;
  min-height: 150px;
  padding: 22px 22px 20px 72px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
}

.timeline span {
  position: absolute;
  left: 22px;
  top: 24px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  color: #fff;
  background: var(--blue);
  font-weight: 800;
}

.timeline strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.timeline p {
  margin-bottom: 0;
  color: var(--muted);
}

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

.case-grid,
.pricing-grid,
.insight-grid,
.article-list-grid,
.case-list-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.case-grid article,
.price-note,
.insight-card,
.article-list-card,
.case-list-card {
  padding: 26px;
}

.case-list-card {
  min-height: 270px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 8px 22px rgba(24, 32, 41, 0.04);
}

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

.case-list-card .text-link {
  margin-top: auto;
}

.case-tag {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  margin: 0 0 12px;
  padding: 4px 9px;
  border-radius: 8px;
  color: var(--teal-dark);
  background: #fff;
  font-size: 13px;
  font-weight: 800;
}

.case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.case-meta span {
  padding: 6px 9px;
  border-radius: 8px;
  color: #174541;
  background: rgba(255, 255, 255, 0.74);
  font-size: 13px;
  font-weight: 800;
}

.insight-card,
.article-list-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 8px 22px rgba(24, 32, 41, 0.04);
}

.insight-card p,
.article-list-card p {
  color: var(--muted);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.article-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 9px;
  border-radius: 8px;
  color: var(--teal-dark);
  background: var(--soft);
  font-size: 13px;
  font-weight: 800;
}

.text-link {
  display: inline-flex;
  align-items: center;
  margin-top: 8px;
  color: var(--teal-dark);
  font-weight: 800;
}

.text-link:hover {
  color: var(--blue);
}

.section-actions {
  margin-top: 24px;
}

.article-list-hero {
  padding: 72px clamp(20px, 5vw, 64px) 42px;
  background: #fff;
}

.article-list-hero p {
  max-width: 780px;
  color: var(--muted);
  font-size: 18px;
}

.article-list-card {
  min-height: 250px;
  display: flex;
  flex-direction: column;
}

.article-list-card .text-link {
  margin-top: auto;
}

.tech-band {
  display: grid;
  grid-template-columns: 0.55fr 1.45fr;
  gap: 34px;
  align-items: center;
  color: #fff;
  background: #1c2b33;
}

.tech-band .eyebrow,
.tech-band h2 {
  color: #fff;
}

.tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tech-list span {
  padding: 10px 13px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.faq {
  background: #fff;
}

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

.faq details {
  padding: 20px 22px;
}

.faq summary {
  cursor: pointer;
  font-weight: 800;
  font-size: 18px;
}

.faq p {
  margin: 14px 0 0;
}

.contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 6vw, 70px);
  padding: clamp(64px, 8vw, 104px) clamp(20px, 5vw, 64px);
  color: #fff;
  background: linear-gradient(135deg, #15363a, #205a65);
}

.contact .eyebrow,
.contact h2,
.contact p {
  color: #fff;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  color: var(--ink);
}

.contact-form label {
  display: grid;
  gap: 7px;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--ink);
  font: inherit;
  background: #fff;
}

.contact-form textarea {
  resize: vertical;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--teal-dark);
  font-weight: 800;
}

.footer {
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(20px, 5vw, 64px);
  color: var(--muted);
  background: #fff;
  border-top: 1px solid var(--line);
}

.footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 16px;
  align-items: center;
}

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-media {
    min-height: 0;
  }

  .hero-carousel {
    min-height: 0;
  }

  .poster-slide {
    position: absolute;
    display: block;
  }

  .poster-slide.is-active {
    opacity: 1;
  }

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

  .insight-grid,
  .article-list-grid,
  .case-list-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .trust-band span:last-child {
    grid-column: 1 / -1;
  }

  .split,
  .tech-band,
  .contact {
    grid-template-columns: 1fr;
  }
}

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

  .nav,
  .header-cta {
    display: none;
  }

  .site-header.menu-open .nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 68px;
    display: grid;
    gap: 0;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .site-header.menu-open .nav a {
    padding: 12px;
  }

  .menu-toggle {
    display: block;
  }

  h1 {
    font-size: 42px;
  }

  .hero {
    padding-top: 34px;
  }

  .poster-dots {
    bottom: -24px;
  }

  .hero-stats,
  .service-grid,
  .timeline,
  .case-grid,
  .pricing-grid,
  .insight-grid,
  .article-list-grid,
  .case-list-grid,
  .trust-band {
    grid-template-columns: 1fr;
  }

  .trust-band span:last-child {
    grid-column: auto;
  }

  .timeline li {
    min-height: auto;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    flex-direction: column;
    align-items: flex-start;
  }
}
