:root {
  --ink: #102033;
  --muted: #65758a;
  --soft: #edf5fb;
  --line: #dce8f2;
  --blue: #087bd3;
  --blue-2: #19a7e8;
  --coral: #ff6d86;
  --gold: #ffb739;
  --mint: #68d4a3;
  --white: #ffffff;
  --shadow: 0 20px 50px rgba(25, 64, 105, .12);
  --radius: 8px;
  font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #f6fbff;
  font-size: 15px;
  line-height: 1.68;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

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

p {
  margin: 0;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 1000;
  transform: translateY(-140%);
  padding: 10px 14px;
  border-radius: 6px;
  background: var(--ink);
  color: var(--white);
}

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

.container {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .82);
  border-bottom: 1px solid rgba(220, 232, 242, .65);
  backdrop-filter: blur(18px);
  transition: box-shadow .2s ease, background-color .2s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 10px 30px rgba(19, 59, 96, .08);
}

.nav-wrap {
  width: min(1240px, calc(100% - 32px));
  min-height: 66px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: #21364d;
}

.nav-links a {
  position: relative;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 6px;
  transition: color .2s ease, background-color .2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 5px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--mint));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--blue);
  background: #eaf6fd;
  outline: none;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  padding: 9px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: var(--ink);
  border-radius: 999px;
  transition: transform .2s ease, opacity .2s ease;
  transform-origin: center;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 640px;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 106px 0 58px;
  background: #e9f6ff;
}

.hero-bg,
.hero picture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-bg {
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(246, 251, 255, .98) 0%, rgba(246, 251, 255, .9) 31%, rgba(246, 251, 255, .42) 62%, rgba(246, 251, 255, .2) 100%),
    linear-gradient(180deg, rgba(246, 251, 255, .55) 0%, rgba(246, 251, 255, .18) 50%, #f6fbff 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  max-width: 760px;
  margin-left: max(20px, calc((100vw - 1180px) / 2));
}

.eyebrow,
.section-kicker {
  color: var(--blue);
  font-weight: 800;
  letter-spacing: 0;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.22;
  letter-spacing: 0;
}

h1 {
  margin-top: 10px;
  font-size: clamp(32px, 4.8vw, 56px);
  color: #0c1b2d;
}

.hero-lead {
  max-width: 600px;
  margin-top: 18px;
  font-size: 16px;
  color: #42576e;
}

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

.btn {
  position: relative;
  overflow: hidden;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 6px;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, .38) 45%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .45s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.btn:hover::before,
.btn:focus-visible::before {
  transform: translateX(120%);
}

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  box-shadow: 0 14px 32px rgba(8, 123, 211, .25);
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: min(640px, 100%);
  margin: 30px 0 0;
}

.hero-stats div {
  padding: 14px;
  border: 1px solid rgba(220, 232, 242, .9);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .8);
  box-shadow: 0 12px 36px rgba(30, 80, 120, .08);
}

.hero-stats dt {
  color: var(--muted);
  font-size: 12px;
}

.hero-stats dd {
  margin: 4px 0 0;
  font-weight: 800;
}

.section {
  padding: 68px 0;
}

.intro {
  background: #f6fbff;
}

.intro-grid,
.split {
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  gap: 58px;
  align-items: start;
}

.intro-grid.stacked,
.split.stacked {
  grid-template-columns: 1fr;
  gap: 26px;
}

.intro-grid.stacked .intro-copy,
.split.stacked .split-copy {
  max-width: 900px;
  margin: 0 auto;
}

.split.stacked .timeline {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
}

.intro h2,
.split h2,
.section-head h2,
.guide-panel h2,
.cta h2 {
  margin-top: 8px;
  font-size: clamp(22px, 2.6vw, 32px);
  color: #0c1b2d;
}

.intro-copy,
.split-copy,
.guide-copy,
.section-head p {
  color: var(--muted);
  font-size: 15px;
}

.intro-copy p + p,
.split-copy p + p,
.guide-copy p + p {
  margin-top: 18px;
}

.development {
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 183, 57, .15), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #eef7fd 100%);
}

.timeline {
  display: grid;
  gap: 16px;
}

.timeline article {
  position: relative;
  min-height: 126px;
  padding: 22px 24px 20px 84px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .9);
  box-shadow: var(--shadow);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.timeline article:hover {
  transform: translateY(-4px);
  border-color: rgba(25, 167, 232, .42);
  box-shadow: 0 24px 58px rgba(25, 64, 105, .16);
}

.timeline span {
  position: absolute;
  left: 24px;
  top: 24px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e5f5ff;
  color: var(--blue);
  font-weight: 900;
  transition: background-color .22s ease, color .22s ease, transform .22s ease;
}

.timeline article:hover span {
  background: var(--blue);
  color: var(--white);
  transform: scale(1.06);
}

.timeline h3,
.feature-card h3,
.work-card h3 {
  font-size: 20px;
  color: var(--blue);
}

.timeline p,
.feature-card p,
.work-card p,
.guide-panel li,
.faq p,
.cta p,
.site-footer {
  color: var(--muted);
}

.features,
.works {
  background: #eef5fb;
}

.section-head {
  max-width: 820px;
  margin-bottom: 34px;
}

.section-head h2 + p {
  margin-top: 14px;
}

.section-head.centered {
  margin-inline: auto;
  text-align: center;
}

.section-head.centered::after {
  content: "";
  display: block;
  width: 86px;
  height: 5px;
  margin: 20px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--blue-2), var(--mint));
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.feature-card {
  min-height: 230px;
  padding: 28px 26px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid #e1edf6;
  box-shadow: var(--shadow);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(25, 167, 232, .46);
  box-shadow: 0 28px 66px rgba(25, 64, 105, .16);
}

.feature-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 7px;
  background: linear-gradient(135deg, #eaf8ff, #f7fdff);
  color: var(--blue);
  border: 1px solid #d8edf9;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7);
  transition: transform .22s ease, color .22s ease, background .22s ease, box-shadow .22s ease;
}

.feature-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card:hover .feature-icon {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  box-shadow: 0 12px 28px rgba(8, 123, 211, .24);
  transform: translateY(-2px) rotate(-3deg);
}

.works {
  padding-top: 72px;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.work-card {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  border: 1px solid #e0ebf4;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.work-card:hover {
  transform: translateY(-6px);
  border-color: rgba(25, 167, 232, .48);
  box-shadow: 0 30px 70px rgba(24, 68, 109, .17);
}

.work-card img {
  width: 100%;
  aspect-ratio: 16 / 10.6;
  object-fit: cover;
  background: #d9e8f2;
  transition: transform .35s ease, filter .35s ease;
}

.work-card:hover img {
  transform: scale(1.045);
  filter: saturate(1.08) contrast(1.03);
}

.work-body {
  padding: 22px 22px 24px;
}

.work-body p {
  margin-top: 12px;
}

.rating {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  min-height: 28px;
}

.rating span {
  color: #ffac08;
  letter-spacing: 0;
}

.rating strong {
  color: var(--ink);
}

.rating em {
  font-style: normal;
  color: #8190a5;
}

.guide {
  background: #ffffff;
}

.guide-single {
  max-width: 900px;
}

.split.reverse {
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.guide-panel {
  padding: 30px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(8, 123, 211, .94), rgba(25, 167, 232, .92)),
    #087bd3;
  box-shadow: 0 26px 60px rgba(8, 123, 211, .22);
}

.guide-panel h2,
.guide-panel li,
.guide-panel strong {
  color: var(--white);
}

.guide-panel ul {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 16px;
}

.guide-panel li {
  padding: 13px 16px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 6px;
  background: rgba(255, 255, 255, .12);
}

.faq {
  background: #eef5fb;
}

.faq-wrap {
  display: grid;
  gap: 0;
}

.faq-list {
  display: grid;
  gap: 14px;
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
}

details {
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid #dfeaf4;
  box-shadow: 0 14px 32px rgba(24, 68, 109, .08);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

details:hover {
  transform: translateY(-3px);
  border-color: rgba(25, 167, 232, .45);
  box-shadow: 0 18px 42px rgba(24, 68, 109, .12);
}

summary {
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 800;
  color: #18314d;
  transition: color .2s ease;
}

summary:hover {
  color: var(--blue);
}

details p {
  padding: 0 22px 20px;
}

.cta {
  padding: 48px 0;
  background: linear-gradient(135deg, #102033, #123f63);
}

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

.cta h2,
.cta p {
  color: var(--white);
}

.cta .section-kicker {
  color: #7bdcff;
}

.site-footer {
  background: #081828;
  padding: 22px 0;
}

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

.footer-inner a {
  color: #a8dcff;
  font-weight: 700;
}

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

  .nav-links {
    position: absolute;
    top: 66px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .98);
    box-shadow: var(--shadow);
  }

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

  .nav-links a {
    justify-content: center;
  }

  .hero {
    min-height: 600px;
  }

  .intro-grid,
  .split,
  .split.reverse,
  .faq-wrap {
    grid-template-columns: 1fr;
  }

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

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

  .brand {
    width: 146px;
    flex-basis: 146px;
  }

  .hero {
    min-height: 590px;
    padding-top: 94px;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(246, 251, 255, .96) 0%, rgba(246, 251, 255, .86) 48%, rgba(246, 251, 255, .94) 100%);
  }

  h1 {
    font-size: 32px;
  }

  .hero-lead {
    font-size: 15px;
  }

  .hero-actions,
  .cta-inner,
  .footer-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .hero-stats,
  .feature-grid,
  .works-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 52px 0;
  }

  .feature-card {
    min-height: auto;
    padding: 24px 22px;
  }

  .timeline article {
    padding: 74px 22px 22px;
  }

  .timeline span {
    left: 24px;
    top: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
