:root {
  color-scheme: dark;
  --bg: #070b14;
  --bg-soft: #0c1220;
  --panel: rgba(17, 25, 43, 0.7);
  --panel-strong: #111a2c;
  --line: rgba(255, 255, 255, 0.1);
  --line-bright: rgba(116, 232, 255, 0.32);
  --text: #f4f7fb;
  --muted: #9aa8bc;
  --cyan: #77e7ff;
  --blue: #5794ff;
  --violet: #9b87ff;
  --max-width: 1180px;
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 12% 8%, rgba(63, 107, 255, 0.13), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(119, 231, 255, 0.08), transparent 25%),
    var(--bg);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 44px 44px;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--text);
  color: var(--bg);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}

.site-shell {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  letter-spacing: 0.12em;
}

.brand strong {
  color: var(--cyan);
  font-weight: 600;
}

.brand-mark {
  width: 17px;
  height: 17px;
  border: 4px solid var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(119, 231, 255, 0.45);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-nav a {
  transition:
    color 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

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

.site-nav .nav-cta {
  padding: 8px 16px;
  border: 1px solid var(--line-bright);
  border-radius: 999px;
  color: var(--text);
}

.site-nav .nav-cta:hover {
  border-color: var(--cyan);
  background: rgba(119, 231, 255, 0.08);
}

.hero {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  align-items: center;
  min-height: 720px;
  padding: 84px 0 96px;
}

.eyebrow,
.section-number {
  margin: 0;
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
}

.eyebrow span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
}

.hero h1 {
  max-width: 720px;
  margin: 26px 0 24px;
  font-size: clamp(3.15rem, 6.4vw, 5.8rem);
  font-weight: 650;
  letter-spacing: -0.055em;
  line-height: 1.05;
}

.hero h1 span {
  background: linear-gradient(90deg, var(--cyan), #b9c7ff 52%, var(--violet));
  background-clip: text;
  color: transparent;
}

.hero-description {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 23px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 0.93rem;
  font-weight: 600;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  gap: 18px;
  background: var(--text);
  color: var(--bg);
}

.button-primary:hover {
  background: var(--cyan);
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted);
}

.button-secondary:hover {
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--text);
}

.hero-stats {
  display: flex;
  gap: 38px;
  margin: 72px 0 0;
}

.hero-stats div {
  display: grid;
  gap: 2px;
}

.hero-stats dt {
  color: var(--text);
  font-size: 1.12rem;
  font-weight: 650;
}

.hero-stats dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, 510px);
  aspect-ratio: 1;
  margin-left: auto;
}

.hero-visual::before {
  position: absolute;
  width: 56%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(73, 132, 255, 0.13);
  filter: blur(42px);
  content: "";
}

.visual-orbit {
  position: absolute;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.orbit-one {
  width: 88%;
  height: 88%;
  border-right-color: var(--cyan);
  transform: rotate(-24deg);
}

.orbit-two {
  width: 64%;
  height: 64%;
  border-top-color: var(--violet);
  transform: rotate(26deg);
}

.visual-core {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 42%;
  aspect-ratio: 1;
  border: 1px solid var(--line-bright);
  border-radius: 50%;
  background:
    radial-gradient(circle at 40% 35%, rgba(119, 231, 255, 0.22), transparent 38%),
    rgba(10, 16, 29, 0.86);
  box-shadow:
    inset 0 0 40px rgba(87, 148, 255, 0.1),
    0 0 80px rgba(87, 148, 255, 0.12);
  backdrop-filter: blur(12px);
}

.core-label {
  color: var(--cyan);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
}

.core-label-bottom {
  color: var(--violet);
}

.core-line {
  width: 1px;
  height: 52px;
  margin: 11px 0;
  background: linear-gradient(var(--cyan), var(--violet));
}

.visual-chip {
  position: absolute;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(13, 20, 35, 0.85);
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  backdrop-filter: blur(10px);
}

.chip-one {
  top: 14%;
  left: 10%;
}

.chip-two {
  top: 28%;
  right: 2%;
}

.chip-three {
  right: 14%;
  bottom: 12%;
}

.section {
  padding: 112px 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: 0.6fr 1.4fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 56px;
}

.section-heading h2,
.about h2 {
  max-width: 730px;
  margin: 0;
  font-size: clamp(2rem, 4.2vw, 3.5rem);
  font-weight: 580;
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.section-heading > div > p {
  margin: 16px 0 0;
  color: var(--muted);
}

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

.service-card {
  position: relative;
  min-height: 430px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
  transition:
    transform 180ms ease,
    border-color 180ms ease;
}

.service-card::after {
  position: absolute;
  right: -35%;
  bottom: -40%;
  width: 80%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(87, 148, 255, 0.08);
  filter: blur(20px);
  content: "";
}

.service-card:hover {
  border-color: rgba(119, 231, 255, 0.26);
  transform: translateY(-5px);
}

.service-card.featured {
  border-color: var(--line-bright);
  background:
    radial-gradient(circle at 90% 10%, rgba(119, 231, 255, 0.09), transparent 35%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.016));
}

.service-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--cyan);
  font-size: 1.3rem;
}

.card-index {
  margin: 70px 0 8px;
  color: #66758c;
  font-size: 0.7rem;
}

.service-card h3 {
  margin: 0 0 14px;
  font-size: 1.25rem;
  font-weight: 600;
}

.service-card > p:not(.card-index) {
  min-height: 78px;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.service-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.service-card li {
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #aeb9ca;
  font-size: 0.7rem;
}

.about-panel {
  padding: 54px;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 8px);
  background:
    linear-gradient(120deg, rgba(87, 148, 255, 0.09), transparent 40%),
    var(--panel);
}

.about-content {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 80px;
  align-items: end;
  margin-top: 72px;
}

.about h2 {
  max-width: 580px;
}

.about-copy {
  padding-left: 34px;
  border-left: 1px solid var(--line-bright);
}

.about-copy p {
  margin: 0;
  color: var(--muted);
}

.about-copy p + p {
  margin-top: 18px;
}

.contact {
  position: relative;
  overflow: hidden;
  text-align: center;
}

.contact .section-number {
  margin-bottom: 32px;
}

.contact h2 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1.12;
}

.contact h2 span {
  color: #8492a8;
}

.contact > p:not(.section-number) {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 28px auto;
  color: var(--muted);
}

.contact-link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 20px;
  margin-top: 14px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--cyan);
  color: var(--cyan);
  font-size: clamp(1.1rem, 2.5vw, 1.55rem);
  font-weight: 560;
}

.contact-glow {
  position: absolute;
  bottom: -240px;
  left: 50%;
  width: 620px;
  height: 420px;
  border-radius: 50%;
  background: rgba(87, 148, 255, 0.13);
  filter: blur(80px);
  transform: translateX(-50%);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  min-height: 112px;
  border-top: 1px solid var(--line);
  color: #718097;
  font-size: 0.72rem;
}

.site-footer p {
  margin: 0;
  text-align: center;
}

.site-footer > a {
  justify-self: end;
  transition: color 160ms ease;
}

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

.footer-brand {
  font-size: 0.72rem;
}

.footer-brand .brand-mark {
  width: 13px;
  height: 13px;
  border-width: 3px;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 72px;
  }

  .hero-visual {
    width: min(82vw, 500px);
    margin: 40px auto 0;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 24px;
  }

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

  .service-card {
    min-height: auto;
  }

  .card-index {
    margin-top: 38px;
  }

  .service-card > p:not(.card-index) {
    min-height: auto;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 34px 0;
  }

  .site-footer > a {
    justify-self: center;
  }
}

@media (max-width: 600px) {
  .site-shell {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .site-header {
    min-height: 76px;
  }

  .site-nav {
    gap: 14px;
    font-size: 0.78rem;
  }

  .site-nav > a:not(.nav-cta) {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 64px 0 76px;
  }

  .hero h1 {
    font-size: clamp(2.65rem, 14vw, 4rem);
  }

  .hero-description {
    font-size: 0.98rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-stats {
    justify-content: space-between;
    gap: 14px;
    margin-top: 54px;
  }

  .hero-stats dt {
    font-size: 1rem;
  }

  .hero-stats dd {
    max-width: 76px;
  }

  .hero-visual {
    width: 100%;
    overflow: hidden;
  }

  .visual-chip {
    font-size: 0.58rem;
  }

  .section {
    padding: 78px 0;
  }

  .section-heading {
    margin-bottom: 38px;
  }

  .service-card {
    padding: 24px;
  }

  .about-panel {
    padding: 30px 24px;
  }

  .about-content {
    margin-top: 48px;
  }

  .about-copy {
    padding-left: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
