:root {
  --bg: #0d1111;
  --bg-soft: #121818;
  --surface: #182020;
  --surface-2: #1c2425;
  --line: rgba(255, 255, 255, 0.1);
  --text: #eef4f2;
  --muted: #a8b4b0;
  --accent: #36d6c6;
  --accent-2: #f2b84b;
  --accent-3: #ff7a59;
  --shadow: rgba(0, 0, 0, 0.36);
  --radius: 8px;
  --header-h: 72px;
  --max: 1120px;
  --font: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: #84f2e8;
}

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

.container {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--header-h);
  border-bottom: 1px solid var(--line);
  background: rgba(13, 17, 17, 0.88);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 20px;
}

.logo,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 700;
}

.logo-mark {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  background: linear-gradient(145deg, var(--accent), #1b867c 58%, var(--accent-2));
  color: #071211;
  font-weight: 800;
  box-shadow: 0 0 28px rgba(54, 214, 198, 0.22);
}

.logo-text {
  font-size: 17px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.site-nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.site-nav a:hover {
  color: var(--text);
}

.nav-cta {
  padding: 8px 16px;
  border: 1px solid rgba(54, 214, 198, 0.42);
  border-radius: 999px;
  background: rgba(54, 214, 198, 0.12);
  color: var(--accent) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  cursor: pointer;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  margin-inline: auto;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-8px) rotate(-45deg);
}

.hero {
  position: relative;
  padding: clamp(48px, 7vw, 84px) 0 clamp(44px, 6vw, 72px);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 45% at 18% 16%, rgba(54, 214, 198, 0.18), transparent 62%),
    radial-gradient(ellipse 48% 40% at 86% 12%, rgba(242, 184, 75, 0.14), transparent 60%),
    linear-gradient(180deg, rgba(13, 17, 17, 0), rgba(13, 17, 17, 0.86));
}

.hero-inner {
  position: relative;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 500px);
  align-items: center;
  gap: clamp(36px, 6vw, 70px);
}

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

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

.hero h1 {
  margin: 0 0 22px;
  max-width: 760px;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.12;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.hero h1 span {
  display: block;
}

.hero-title-sub {
  margin-top: 6px;
  font-size: clamp(28px, 4vw, 48px);
}

.hero-lead {
  width: 100%;
  max-width: 620px;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 18px;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #071211;
  background: linear-gradient(135deg, var(--accent), #8ef4e8);
  box-shadow: 0 12px 38px rgba(54, 214, 198, 0.2);
}

.btn-primary:hover {
  color: #071211;
}

.btn-ghost {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.hero-visual {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #101717;
  box-shadow: 0 28px 80px var(--shadow);
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

.hero-visual figcaption,
.about-figure figcaption {
  margin: 0;
  padding: 12px 16px;
  color: var(--muted);
  font-size: 13px;
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.18);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: clamp(34px, 5vw, 52px) 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.hero-stats dt {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.hero-stats dd {
  margin: 0;
  color: var(--text);
  font-weight: 700;
}

.section {
  padding: clamp(56px, 8vw, 88px) 0;
}

.section-alt {
  background: var(--bg-soft);
  border-block: 1px solid var(--line);
}

.section-head {
  margin-bottom: 34px;
  text-align: center;
}

.section-head h2 {
  margin: 0 0 8px;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.25;
  letter-spacing: 0;
}

.section-sub {
  margin: 0;
  color: var(--muted);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
}

.about-figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 22px 58px var(--shadow);
}

.about-figure svg {
  width: 100%;
  aspect-ratio: 3 / 2;
}

.prose p {
  margin: 0 0 18px;
  color: var(--muted);
}

.prose strong {
  color: var(--text);
}

.about-highlight {
  padding: 18px 20px;
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--text) !important;
  background: rgba(54, 214, 198, 0.12);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.service-card,
.caps-list li,
.caps-panel,
.value-quote,
.value-item,
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.service-card {
  padding: 24px;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.service-card:hover {
  transform: translateY(-2px);
  border-color: rgba(54, 214, 198, 0.45);
}

.service-card-wide {
  grid-column: 1 / -1;
  background:
    linear-gradient(110deg, rgba(54, 214, 198, 0.12), rgba(242, 184, 75, 0.09)),
    var(--surface);
}

.service-icon {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--accent-2);
  font-weight: 800;
}

.service-card h3,
.value-item h3,
.process-steps h3,
.caps-panel h3 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 18px;
  line-height: 1.35;
}

.service-card p,
.service-card li,
.caps-list span,
.caps-panel p,
.value-item p,
.process-steps p {
  color: var(--muted);
}

.service-card p {
  margin: 0 0 14px;
}

.service-card ul {
  margin: 0;
  padding-left: 20px;
}

.service-card li {
  margin-bottom: 4px;
}

.caps-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: 18px;
}

.caps-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.caps-list li {
  padding: 20px 22px;
}

.caps-list strong {
  display: block;
  margin-bottom: 6px;
  font-size: 17px;
}

.caps-panel {
  padding: 24px;
  background:
    linear-gradient(160deg, rgba(54, 214, 198, 0.16), rgba(255, 122, 89, 0.08)),
    var(--surface-2);
}

.metric-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
}

.metric-chips span {
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: rgba(0, 0, 0, 0.2);
  font-size: 13px;
  font-weight: 700;
}

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

.process-steps li {
  min-height: 208px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
}

.step-num {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 14px;
  border-radius: var(--radius);
  color: #071211;
  background: var(--accent);
  font-weight: 800;
}

.values-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.9fr);
  gap: 18px;
  align-items: start;
}

.value-quote {
  margin: 0;
  padding: clamp(28px, 5vw, 46px);
  background:
    linear-gradient(140deg, rgba(242, 184, 75, 0.14), rgba(54, 214, 198, 0.08)),
    var(--surface);
}

.value-quote p {
  margin: 0;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.5;
  font-weight: 800;
}

.values-cards {
  display: grid;
  gap: 12px;
}

.value-item {
  padding: 22px;
}

.section-contact {
  position: relative;
  background:
    radial-gradient(ellipse 64% 58% at 20% 100%, rgba(54, 214, 198, 0.18), transparent 68%),
    radial-gradient(ellipse 48% 52% at 88% 18%, rgba(242, 184, 75, 0.16), transparent 62%),
    #101515;
}

.section-head-light h2,
.section-head-light .section-sub {
  color: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.contact-card {
  padding: 24px;
  background: rgba(24, 32, 32, 0.78);
  backdrop-filter: blur(10px);
}

.contact-card h3 {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 13px;
}

.contact-card p {
  margin: 0;
  color: var(--text);
  font-size: 17px;
  font-weight: 700;
  word-break: break-word;
}

.site-footer {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-brand strong {
  display: block;
  font-size: 14px;
}

.footer-brand p,
.footer-copy {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 940px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px 20px 20px;
    border-bottom: 1px solid var(--line);
    background: rgba(13, 17, 17, 0.98);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-16px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a:last-child {
    margin-top: 10px;
    text-align: center;
    border-bottom: 0;
  }

  .hero-layout,
  .about-layout,
  .caps-layout,
  .values-layout {
    grid-template-columns: 1fr;
  }

  .hero-layout {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
  }

  .hero-copy {
    text-align: center;
    width: 100%;
    max-width: 100%;
  }

  .hero-lead,
  .hero-actions {
    margin-inline: auto;
    justify-content: center;
  }

  .hero-visual {
    max-width: 560px;
    margin-inline: auto;
  }

  .services-grid,
  .process-steps {
    grid-template-columns: 1fr;
  }

  .process-steps li {
    min-height: auto;
  }
}

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

  .hero {
    min-height: auto;
    padding-top: 40px;
    padding-bottom: 18px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero-title-sub {
    font-size: 24px;
  }

  .hero-lead {
    width: calc(100vw - 36px);
    max-width: 330px;
    font-size: 16px;
    word-break: break-all;
  }

  .hero-visual img {
    aspect-ratio: 2 / 1;
  }

  .hero-copy,
  .hero-visual {
    width: calc(100vw - 28px);
    max-width: calc(100vw - 28px);
  }

  .hero-stats {
    display: none;
  }

  .hero-stats,
  .contact-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    align-items: flex-start;
  }
}
