:root {
  --ink: #0c1b33;
  --ink-soft: #334155;
  --mute: #64748b;
  --paper: #f5f8fc;
  --paper-2: #eaf0f8;
  --line: rgba(15, 40, 80, 0.12);
  --blue-950: #061428;
  --blue-900: #0a2348;
  --blue-700: #15407a;
  --blue-500: #1f6fd6;
  --blue-300: #6ea8ef;
  --white: #ffffff;
  --shadow-soft: 0 18px 40px rgba(8, 28, 58, 0.18);
  --radius: 18px;
  --shell: min(1120px, calc(100% - 2.5rem));
  --font-sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-serif: "Noto Serif SC", "Songti SC", serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

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

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

button {
  font: inherit;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(6, 20, 40, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.25s ease, border-color 0.25s ease;
}

.site-header.is-solid {
  background: rgba(6, 20, 40, 0.92);
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background:
    linear-gradient(145deg, rgba(110, 168, 239, 0.95), rgba(31, 111, 214, 0.95)),
    linear-gradient(145deg, #6ea8ef, #1f6fd6);
  position: relative;
  overflow: hidden;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 8px 8px 8px 14px;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  border-left: 0;
  border-radius: 0 6px 6px 0;
}

.brand-text {
  display: grid;
  line-height: 1.15;
}

.brand-text strong {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand-text small {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

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

.nav-cta {
  padding: 0.45rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: var(--white) !important;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  margin: 5px auto;
  background: var(--white);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

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

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

.hero {
  position: relative;
  min-height: min(100svh, 760px);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(31, 111, 214, 0.35), transparent 55%),
    linear-gradient(160deg, var(--blue-950) 0%, var(--blue-900) 48%, #0d2f5c 100%);
}

.hero-visual {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.75), transparent 88%);
  animation: grid-drift 28s linear infinite;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
}

.hero-orb-a {
  width: 420px;
  height: 420px;
  right: -80px;
  top: 8%;
  background: radial-gradient(circle, rgba(110, 168, 239, 0.28), transparent 68%);
  animation: float-a 10s ease-in-out infinite;
}

.hero-orb-b {
  width: 280px;
  height: 280px;
  left: 8%;
  bottom: 18%;
  background: radial-gradient(circle, rgba(31, 111, 214, 0.22), transparent 70%);
  animation: float-b 12s ease-in-out infinite;
}

.hero-diagram {
  position: absolute;
  right: max(2%, calc((100% - 1120px) / 2 - 20px));
  top: 50%;
  width: min(560px, 48vw);
  transform: translateY(-50%);
  color: rgba(186, 214, 255, 0.95);
  opacity: 0.9;
  animation: diagram-in 1.1s ease-out both;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 6.5rem 0 4rem;
  max-width: 640px;
  margin-left: max(1.25rem, calc((100% - 1120px) / 2));
  margin-right: auto;
  width: auto;
  animation: rise-in 0.9s ease-out both;
}

.hero-brand {
  margin: 0 0 1.1rem;
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.35;
  color: #d7e7ff;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2rem, 4.4vw, 3.25rem);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.01em;
  max-width: 14em;
}

.hero-lead {
  margin: 1.15rem 0 0;
  max-width: 28em;
  color: rgba(226, 236, 250, 0.82);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.35rem;
  border-radius: 12px;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

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

.btn-primary {
  background: var(--blue-500);
  color: var(--white);
}

.btn-primary:hover {
  background: #2a7de0;
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.08);
}

.section {
  padding: 5.5rem 0;
}

.section-alt {
  background: linear-gradient(180deg, #eef3f9 0%, #f7fafd 100%);
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2.75rem;
}

.section-head-solo {
  margin-bottom: 0;
}

.eyebrow {
  margin: 0 0 0.65rem;
  color: var(--blue-500);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.section-head h2,
.about-layout h2 {
  margin: 0;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  line-height: 1.3;
  letter-spacing: 0.01em;
}

.section-desc {
  margin: 0.9rem 0 0;
  color: var(--mute);
}

.service-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.service-list li {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1rem;
  padding: 1.55rem 0;
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.service-list li.is-visible,
.capability-grid article.is-visible,
.process-list li.is-visible,
.about-body.is-visible {
  opacity: 1;
  transform: none;
}

.service-list .index {
  color: var(--blue-300);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
}

.service-list h3,
.capability-grid h3,
.process-list h3 {
  margin: 0 0 0.45rem;
  font-size: 1.2rem;
}

.service-list p,
.capability-grid p,
.process-list p,
.about-body p {
  margin: 0;
  color: var(--ink-soft);
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 2rem;
}

.capability-grid article {
  padding: 1.35rem 0;
  border-top: 1px solid var(--line);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.process-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.process-list li {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1rem;
  padding: 1.55rem 0;
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.process-list .index {
  color: var(--blue-300);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 2.5rem 3rem;
  align-items: start;
}

.about-layout .section-head {
  margin-bottom: 0;
}

.about-body {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.about-body p + p {
  margin-top: 1rem;
}

.about-facts {
  display: grid;
  gap: 1rem;
  margin: 1.75rem 0 0;
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
}

.about-facts div {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: 0.75rem;
}

.about-facts dt {
  color: var(--mute);
  font-size: 0.92rem;
}

.about-facts dd {
  margin: 0;
  font-weight: 600;
}

.contact-section {
  background:
    radial-gradient(ellipse 70% 80% at 100% 0%, rgba(31, 111, 214, 0.12), transparent 50%),
    var(--paper);
}

.site-footer {
  padding: 1.4rem 0 1.8rem;
  background: var(--blue-950);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  align-items: center;
}

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

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes diagram-in {
  from {
    opacity: 0;
    transform: translateY(-46%) scale(0.96);
  }
  to {
    opacity: 0.9;
    transform: translateY(-50%) scale(1);
  }
}

@keyframes float-a {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-18px);
  }
}

@keyframes float-b {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(14px);
  }
}

@keyframes grid-drift {
  from {
    background-position: 0 0, 0 0;
  }
  to {
    background-position: 56px 56px, 56px 56px;
  }
}

@media (max-width: 960px) {
  .hero-diagram {
    width: min(420px, 58vw);
    opacity: 0.55;
  }

  .about-layout {
    grid-template-columns: 1fr;
  }

  .process-list li {
    grid-template-columns: 3.2rem 1fr;
  }
}

@media (max-width: 760px) {
  :root {
    --shell: min(1120px, calc(100% - 1.5rem));
  }

  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: 68px;
    right: 0.75rem;
    left: 0.75rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem;
    border-radius: 14px;
    background: rgba(8, 24, 48, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-soft);
  }

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

  .site-nav a {
    padding: 0.85rem 0.95rem;
  }

  .nav-cta {
    margin: 0.35rem 0.35rem 0.55rem;
    text-align: center;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    margin-left: 0.75rem;
    padding: 5.5rem 0 3.25rem;
    max-width: none;
    width: calc(100% - 1.5rem);
  }

  .hero-diagram {
    top: 22%;
    right: -8%;
    width: 78vw;
    transform: none;
    opacity: 0.28;
    animation: none;
  }

  .hero h1 {
    max-width: none;
  }

  .section {
    padding: 4.2rem 0;
  }

  .service-list li {
    grid-template-columns: 3.2rem 1fr;
  }

  .capability-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .about-facts div {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-grid,
  .hero-orb-a,
  .hero-orb-b,
  .hero-content,
  .hero-diagram,
  .service-list li,
  .capability-grid article,
  .process-list li,
  .about-body {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
