:root {
  --bg: #070b10;
  --bg-soft: #0d141c;
  --ink: #eef5f8;
  --text: #c7d4dc;
  --muted: #7f92a0;
  --line: rgba(167, 190, 202, 0.18);
  --panel: rgba(13, 20, 28, 0.78);
  --cyan: #24d5ff;
  --green: #56f0a6;
  --steel: #b7c8d5;
  --white: #ffffff;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
  --radius: 8px;
  font-family: "DIN Alternate", "Avenir Next", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(36, 213, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(36, 213, 255, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 78% 12%, rgba(36, 213, 255, 0.18), transparent 30%),
    radial-gradient(circle at 14% 82%, rgba(86, 240, 166, 0.12), transparent 30%),
    var(--bg);
  background-size: 42px 42px, 42px 42px, auto, auto, auto;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(7, 11, 16, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: rgba(36, 213, 255, 0.06);
  border: 1px solid rgba(36, 213, 255, 0.16);
  border-radius: 8px;
  box-shadow: 0 0 34px rgba(36, 213, 255, 0.28);
}

.brand-mark img {
  width: 38px;
  height: 38px;
}

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

.brand strong {
  color: var(--white);
  font-size: 17px;
}

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

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

.site-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--text);
  font-size: 14px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--white);
  background: rgba(36, 213, 255, 0.1);
  outline: 1px solid rgba(36, 213, 255, 0.34);
}

.nav-toggle {
  display: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(380px, 1fr);
  gap: clamp(32px, 6vw, 92px);
  align-items: center;
  min-height: calc(100vh - 79px);
  padding: clamp(52px, 7vw, 96px) clamp(20px, 5vw, 72px) 54px;
}

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

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

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

h1 {
  margin-bottom: 24px;
  max-width: 9.5ch;
  color: var(--white);
  font-size: clamp(52px, 7vw, 104px);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  color: var(--white);
  font-size: clamp(30px, 3.8vw, 54px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  color: var(--white);
  font-size: 20px;
}

.hero-lead {
  max-width: 680px;
  color: var(--text);
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 34px 0 40px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 900;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  outline: 2px solid transparent;
}

.button.primary {
  color: #031116;
  background: linear-gradient(135deg, var(--cyan), var(--green));
}

.button.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 720px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.hero-stats div {
  padding: 18px;
  background: rgba(13, 20, 28, 0.86);
}

.hero-stats dt {
  color: var(--white);
  font-size: 24px;
  font-weight: 900;
}

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

.hero-visual {
  position: relative;
}

.hero-visual::before {
  position: absolute;
  inset: -7% -6% 8% 18%;
  z-index: -1;
  content: "";
  background: linear-gradient(135deg, rgba(36, 213, 255, 0.22), rgba(86, 240, 166, 0.08));
  filter: blur(26px);
}

.hero-visual img {
  width: 100%;
  border: 1px solid rgba(167, 190, 202, 0.24);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

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

.intro {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(280px, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  background:
    linear-gradient(90deg, rgba(36, 213, 255, 0.11), transparent 48%),
    rgba(255, 255, 255, 0.035);
  border-block: 1px solid var(--line);
}

.intro p:last-child {
  margin-bottom: 0;
  color: var(--text);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.8;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.service-grid,
.case-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.service-card,
.case-grid article {
  min-height: 250px;
  padding: 26px;
  background: rgba(13, 20, 28, 0.92);
}

.service-card {
  display: flex;
  flex-direction: column;
}

.service-card:hover,
.case-grid article:hover {
  background: rgba(16, 28, 38, 0.96);
}

.icon {
  margin-bottom: auto;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-card p,
.case-grid p {
  color: var(--muted);
  line-height: 1.7;
}

.process {
  background: rgba(255, 255, 255, 0.035);
  border-block: 1px solid var(--line);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.timeline li {
  position: relative;
  min-height: 210px;
  padding: 28px;
  background: var(--bg-soft);
}

.timeline li::before {
  display: block;
  width: 34px;
  height: 3px;
  margin-bottom: 24px;
  content: "";
  background: var(--green);
}

.timeline strong {
  display: block;
  margin-bottom: 18px;
  color: var(--white);
  font-size: 22px;
}

.timeline span {
  color: var(--muted);
  line-height: 1.75;
}

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

.case-grid article {
  min-height: 190px;
  border-top: 2px solid rgba(36, 213, 255, 0.55);
}

.case-grid article:nth-child(2) {
  border-top-color: rgba(86, 240, 166, 0.62);
}

.case-grid article:nth-child(3) {
  border-top-color: rgba(183, 200, 213, 0.72);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.7fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  margin: clamp(20px, 5vw, 72px);
  padding: clamp(34px, 5vw, 62px);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(36, 213, 255, 0.16), rgba(86, 240, 166, 0.06)),
    #0b1118;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact p {
  color: var(--text);
  font-size: 18px;
  line-height: 1.7;
}

.contact-card {
  display: grid;
  gap: 12px;
  padding: 22px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.contact-card a {
  padding: 14px 0;
  color: var(--white);
  border-bottom: 1px solid var(--line);
  font-weight: 900;
}

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

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

@media (max-width: 980px) {
  .hero,
  .intro,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  h1 {
    max-width: 10ch;
  }

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

@media (max-width: 680px) {
  .site-header {
    padding: 14px 18px;
  }

  .nav-toggle {
    display: grid;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--line);
    border-radius: 8px;
  }

  .nav-toggle span {
    height: 2px;
    background: var(--ink);
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 18px;
    display: none;
    min-width: 180px;
    padding: 10px;
    background: #0d141c;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    border-radius: 6px;
  }

  .hero {
    padding-top: 36px;
  }

  h1 {
    font-size: clamp(42px, 14vw, 62px);
  }

  .hero-stats,
  .service-grid,
  .timeline,
  .case-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .section-heading {
    display: block;
  }

  .contact {
    margin: 20px;
  }

  .site-footer {
    display: grid;
  }
}
