:root {
  --bg: #f4f8fc;
  --paper: #ffffff;
  --ink: #102033;
  --muted: #6f8095;
  --line: #dbe6f0;
  --brand: #0878d6;
  --brand-deep: #075ca6;
  --aqua: #22b8cf;
  --coral: #ff6b5f;
  --gold: #f5a400;
  --shadow: 0 20px 54px rgba(24, 48, 78, .12);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

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

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

.section {
  padding: 96px 0;
}

.section-soft {
  background: #edf4fb;
}

.section-anchor {
  scroll-margin-top: 84px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background .2s ease, box-shadow .2s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 12px 34px rgba(16, 32, 51, .1);
  backdrop-filter: blur(14px);
}

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

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: #fff;
}

.site-header.is-scrolled .brand {
  color: var(--ink);
}

.brand img,
.footer-brand img {
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .16);
}

.site-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-menu a {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 14px;
  border-radius: 6px;
  color: rgba(255, 255, 255, .9);
  font-size: 15px;
  font-weight: 700;
  transition: background .2s ease, color .2s ease;
}

.site-menu a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 6px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .2s ease;
}

.site-menu a:hover::after,
.site-menu a.is-active::after {
  transform: scaleX(1);
}

.site-header.is-scrolled .site-menu a {
  color: #2c3d50;
}

.site-menu a:hover,
.site-menu a.is-active {
  color: #fff;
  background: var(--brand);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 6px;
  background: rgba(255, 255, 255, .14);
  padding: 10px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #fff;
  border-radius: 2px;
  transform-origin: center;
  transition: transform .2s ease, opacity .2s ease, background .2s ease;
}

.site-header.is-scrolled .menu-toggle {
  background: #e8f1f9;
}

.site-header.is-scrolled .menu-toggle span {
  background: var(--ink);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 720px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
}

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

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 25% 20%, rgba(34, 184, 207, .34), transparent 28%),
    linear-gradient(90deg, rgba(5, 17, 32, .9), rgba(7, 41, 75, .74) 48%, rgba(5, 17, 32, .58));
}

.hero-content {
  position: relative;
  width: min(calc(100% - 40px), 1180px);
  margin: 0 auto;
  padding: 130px 0 76px;
}

.eyebrow,
.mini-label {
  margin: 0 0 12px;
  color: var(--brand);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
}

.hero .eyebrow,
.cta-strip .eyebrow {
  color: #7ee0ef;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(38px, 6.4vw, 68px);
  line-height: 1.05;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.2;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.32;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 720px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, .86);
  font-size: 20px;
}

.hero-actions,
.cta-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-actions {
  margin-top: 34px;
}

.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  line-height: 1.2;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

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

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

.btn:hover::before {
  transform: translateX(120%);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--aqua));
  box-shadow: 0 14px 28px rgba(8, 120, 214, .28);
}

.btn-primary:hover {
  box-shadow: 0 18px 36px rgba(8, 120, 214, .36);
}

.btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, .4);
  background: rgba(255, 255, 255, .08);
}

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

.btn.compact {
  min-height: 44px;
  padding: 0 20px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 160px));
  gap: 14px;
  margin: 46px 0 0;
}

.hero-stats div {
  position: relative;
  overflow: hidden;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
  background: rgba(255, 255, 255, .1);
  backdrop-filter: blur(8px);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.hero-stats div::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 0%, rgba(126, 224, 239, .28), transparent 46%);
  opacity: 0;
  transition: opacity .2s ease;
}

.hero-stats div:hover {
  transform: translateY(-4px);
  border-color: rgba(126, 224, 239, .5);
  background: rgba(255, 255, 255, .16);
}

.hero-stats div:hover::before {
  opacity: 1;
}

.hero-stats dt {
  position: relative;
  color: rgba(255, 255, 255, .7);
  font-size: 13px;
}

.hero-stats dd {
  position: relative;
  margin: 4px 0 0;
  font-size: 20px;
  font-weight: 900;
}

.intro-band {
  padding: 38px 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
}

.intro-grid h2 {
  font-size: 25px;
}

.intro-grid article {
  position: relative;
  padding: 4px 0 4px 18px;
}

.intro-grid article::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 4px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--brand), var(--aqua));
  opacity: .75;
}

.intro-grid p,
.section-copy p,
.section-heading p,
.feature-card p,
.work-body p,
.faq-answer p,
.cta-inner p,
.site-footer p {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  gap: 56px;
  align-items: center;
}

.section-copy p {
  margin: 20px 0 0;
  font-size: 17px;
}

.timeline {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.timeline div {
  position: relative;
  padding: 18px 20px;
  border-left: 4px solid var(--brand);
  border-radius: 0 8px 8px 0;
  background: #fff;
  box-shadow: 0 10px 30px rgba(24, 48, 78, .07);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.timeline div:hover {
  transform: translateX(6px);
  border-color: var(--coral);
  box-shadow: 0 14px 36px rgba(24, 48, 78, .12);
}

.timeline strong {
  display: block;
  margin-bottom: 5px;
}

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

.development-panel {
  position: relative;
  overflow: hidden;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.development-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(8, 120, 214, .12), transparent 45%);
  opacity: 0;
  transition: opacity .2s ease;
}

.development-panel:hover {
  transform: translateY(-5px);
  border-color: rgba(8, 120, 214, .28);
  box-shadow: 0 24px 62px rgba(24, 48, 78, .16);
}

.development-panel:hover::before {
  opacity: 1;
}

.development-panel > * {
  position: relative;
}

.development-panel img {
  border-radius: 8px;
  margin-bottom: 24px;
}

.development-panel p {
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  margin-top: 10px;
  color: var(--brand);
  font-weight: 800;
}

.section-heading {
  max-width: 820px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-heading h2::after {
  content: "";
  display: block;
  width: 82px;
  height: 5px;
  margin: 22px auto 0;
  border-radius: 5px;
  background: linear-gradient(90deg, var(--brand), var(--aqua));
}

.section-heading p {
  margin: 24px 0 0;
  font-size: 17px;
}

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

.feature-card {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(25, 55, 88, .09);
  transition: transform .2s ease, box-shadow .2s ease;
}

.feature-card::after {
  content: "";
  position: absolute;
  inset: auto 24px 0 24px;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(90deg, var(--brand), var(--aqua), var(--coral));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 58px rgba(25, 55, 88, .14);
}

.feature-card:hover::after {
  transform: scaleX(1);
}

.feature-card:hover .feature-icon {
  transform: rotate(-4deg) scale(1.06);
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 22px;
  color: #fff;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--brand), var(--coral));
  box-shadow: 0 12px 24px rgba(8, 120, 214, .2);
  transition: transform .2s ease, box-shadow .2s ease;
}

.feature-icon svg {
  width: 25px;
  height: 25px;
  fill: currentColor;
}

.feature-card h3 {
  color: var(--brand);
}

.feature-card p {
  margin: 16px 0 0;
}

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

.work-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(25, 55, 88, .1);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.work-card:hover {
  transform: translateY(-6px);
  border-color: rgba(8, 120, 214, .24);
  box-shadow: 0 26px 62px rgba(25, 55, 88, .16);
}

.work-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #dfeaf3;
  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: 28px;
}

.work-body h3 {
  color: var(--brand);
}

.work-body p {
  margin: 16px 0 0;
}

.rating {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 16px;
}

.rating span {
  color: var(--gold);
  font-size: 15px;
  letter-spacing: 0;
  text-shadow: 0 4px 12px rgba(245, 164, 0, .22);
}

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

.rating em {
  color: var(--muted);
  font-style: normal;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(280px, .75fr) minmax(0, 1.25fr);
  gap: 48px;
  align-items: start;
}

.faq-layout-single {
  grid-template-columns: minmax(0, 880px);
  justify-content: center;
}

.faq-heading {
  margin-bottom: 44px;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(25, 55, 88, .07);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.faq-item:hover {
  transform: translateY(-3px);
  border-color: rgba(8, 120, 214, .22);
  box-shadow: 0 16px 36px rgba(25, 55, 88, .12);
}

.faq-item button {
  width: 100%;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 22px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.faq-item button::after {
  content: "+";
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--brand);
  font-weight: 900;
  transition: transform .2s ease, background .2s ease;
}

.faq-item:hover button::after {
  transform: scale(1.08);
  background: var(--brand-deep);
}

.faq-item.is-open button::after {
  content: "-";
}

.faq-answer {
  display: none;
  padding: 0 22px 22px;
}

.faq-item.is-open .faq-answer {
  display: block;
}

.faq-answer p {
  margin: 0;
}

.cta-strip {
  padding: 58px 0;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(6, 62, 111, .94), rgba(8, 120, 214, .9)),
    url("img/cover.webp") center / cover;
}

.cta-inner {
  justify-content: space-between;
}

.cta-inner h2 {
  font-size: clamp(28px, 3vw, 40px);
}

.cta-inner p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, .78);
}

.site-footer {
  padding: 44px 0;
  background: #0c1f32;
  color: #fff;
}

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

.site-footer p {
  max-width: 620px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, .68);
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255, 255, 255, .72);
  font-weight: 700;
}

.footer-links a:hover {
  color: #fff;
}

@media (max-width: 980px) {
  .site-menu {
    position: absolute;
    top: 64px;
    right: 20px;
    width: min(300px, calc(100vw - 40px));
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
  }

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

  .site-menu a,
  .site-header.is-scrolled .site-menu a {
    color: var(--ink);
  }

  .site-menu a:hover,
  .site-menu a.is-active {
    color: #fff;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    min-height: 660px;
  }

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

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

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

  .section {
    padding: 70px 0;
  }

  .nav-wrap {
    min-height: 64px;
  }

  .hero {
    min-height: 700px;
  }

  .hero-content {
    padding-top: 112px;
  }

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

  .hero-actions {
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

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

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

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

  .work-body {
    padding: 24px;
  }

  .cta-inner,
  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }
}

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