:root {
  --bg: #f5f8fc;
  --surface: #ffffff;
  --ink: #102033;
  --muted: #66758a;
  --line: #dfe7f1;
  --blue: #0878d8;
  --blue-strong: #005db7;
  --cyan: #38c7e8;
  --rose: #ff5d77;
  --gold: #f6a400;
  --shadow: 0 22px 60px rgba(18, 34, 55, .12);
  --shadow-hover: 0 28px 76px rgba(8, 82, 158, .18);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  letter-spacing: 0;
}

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

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

.skip-link {
  position: fixed;
  left: 16px;
  top: -64px;
  z-index: 100;
  padding: 10px 14px;
  color: #fff;
  background: var(--blue);
  border-radius: 6px;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background .25s ease, box-shadow .25s ease, border-color .25s ease;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 10px 30px rgba(22, 35, 52, .08);
  border-color: rgba(13, 65, 112, .1);
  backdrop-filter: blur(14px);
}

.nav {
  width: min(1200px, calc(100% - 32px));
  height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 26px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 800;
  font-size: 20px;
  white-space: nowrap;
  transition: transform .22s ease, opacity .22s ease;
}

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

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

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(0, 118, 210, .22);
  transition: transform .25s ease, box-shadow .25s ease;
}

.brand:hover img {
  transform: rotate(-3deg) scale(1.06);
  box-shadow: 0 14px 34px rgba(0, 118, 210, .34);
}

.nav-menu {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 24px;
  color: rgba(255, 255, 255, .88);
  font-size: 15px;
  font-weight: 600;
}

.site-header.is-scrolled .nav-menu {
  color: #35465c;
}

.nav-menu a {
  position: relative;
  padding: 8px 0;
  transition: color .2s ease, transform .2s ease;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .2s ease;
}

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

.nav-menu a:hover {
  color: #38c7e8;
  transform: translateY(-1px);
}

.site-header.is-scrolled .nav-menu a:hover {
  color: var(--blue);
}

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

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

.nav-action:hover::before,
.btn:hover::before {
  transform: translateX(125%);
}

.nav-action {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 12px 28px rgba(8, 120, 216, .28);
}

.nav-action:hover,
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(8, 120, 216, .3);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  padding: 9px;
  border: 0;
  border-radius: 6px;
  background: rgba(255, 255, 255, .16);
}

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

.site-header.is-scrolled .nav-toggle {
  background: #eaf2fb;
}

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

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

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

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

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  padding: 132px 0 90px;
}

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

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 13, 27, .88) 0%, rgba(5, 13, 27, .68) 44%, rgba(5, 13, 27, .36) 100%),
    linear-gradient(0deg, rgba(5, 13, 27, .72) 0%, rgba(5, 13, 27, .12) 42%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  max-width: 760px;
  justify-self: center;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--cyan);
}

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

h1 {
  margin: 0;
  font-size: clamp(32px, 4.8vw, 58px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-text {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, .86);
  font-size: 18px;
}

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

.btn.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 16px 34px rgba(8, 120, 216, .32);
}

.btn.ghost {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .36);
  background: rgba(255, 255, 255, .08);
}

.btn.ghost:hover {
  border-color: rgba(56, 199, 232, .75);
  background: rgba(56, 199, 232, .14);
}

.hero-stats {
  position: relative;
  z-index: 1;
  width: min(1200px, calc(100% - 32px));
  margin: 42px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  max-width: 760px;
  justify-self: center;
  background: rgba(255, 255, 255, .18);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius);
  overflow: hidden;
  backdrop-filter: blur(14px);
}

.hero-stats div {
  padding: 18px;
  background: rgba(5, 13, 27, .28);
  transition: background .22s ease, transform .22s ease;
}

.hero-stats div:hover {
  background: rgba(8, 120, 216, .34);
  transform: translateY(-2px);
}

.hero-stats strong {
  display: block;
  font-size: 22px;
  line-height: 1.2;
}

.hero-stats span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, .78);
  font-size: 13px;
}

.section {
  padding: 92px 0;
}

.section-head {
  width: min(860px, calc(100% - 32px));
  margin: 0 auto 44px;
  text-align: center;
}

.section-head h2,
.guide-panel h2 {
  margin: 0;
  font-size: clamp(24px, 3.2vw, 36px);
  line-height: 1.18;
}

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

.section-head p:not(.eyebrow),
.guide-panel p,
.feature-card p,
.timeline p,
.work-card p,
.faq p,
.site-footer p {
  color: var(--muted);
}

.timeline,
.feature-grid,
.work-grid,
.faq-list,
.guide-panel {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

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

.timeline article,
.feature-card,
.work-card,
.guide-panel,
.faq-list details {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.timeline article,
.feature-card,
.work-card,
.faq-list details {
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.timeline article::before,
.feature-card::before,
.work-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  border: 1px solid rgba(56, 199, 232, 0);
  transition: border-color .24s ease, box-shadow .24s ease;
}

.timeline article:hover,
.feature-card:hover,
.work-card:hover,
.faq-list details:hover {
  transform: translateY(-6px);
  border-color: rgba(8, 120, 216, .24);
  box-shadow: var(--shadow-hover);
}

.timeline article:hover::before,
.feature-card:hover::before,
.work-card:hover::before {
  border-color: rgba(56, 199, 232, .34);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6);
}

.timeline article {
  padding: 30px;
}

.timeline span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: #fff;
  background: var(--ink);
  border-radius: 8px;
  font-weight: 900;
  transition: background .22s ease, transform .22s ease;
}

.timeline article:hover span {
  background: var(--blue);
  transform: rotate(-4deg) scale(1.05);
}

.timeline h3,
.feature-card h3,
.work-card h3 {
  margin: 20px 0 8px;
  color: var(--blue);
  font-size: 24px;
  line-height: 1.28;
}

.features {
  background: #f0f5fb;
}

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

.feature-card {
  min-height: 260px;
  padding: 38px;
  overflow: hidden;
}

.feature-card::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  right: -52px;
  top: -52px;
  background: radial-gradient(circle, rgba(56, 199, 232, .2), rgba(56, 199, 232, 0) 68%);
  transform: scale(.8);
  opacity: 0;
  transition: opacity .24s ease, transform .24s ease;
}

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

.feature-icon {
  font-size: 34px;
  line-height: 1;
  transition: transform .24s ease, filter .24s ease;
}

.feature-card:hover .feature-icon {
  transform: translateY(-4px) scale(1.08);
  filter: drop-shadow(0 10px 16px rgba(8, 120, 216, .18));
}

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

.work-card {
  overflow: hidden;
}

.work-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: 250px;
  object-fit: cover;
  background: #dfe7f1;
  transition: transform .45s ease, filter .45s ease;
}

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

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

.rating {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.rating span {
  color: var(--gold);
  font-size: 15px;
  letter-spacing: 0;
  transition: filter .2s ease;
}

.work-card:hover .rating span {
  filter: drop-shadow(0 0 8px rgba(246, 164, 0, .42));
}

.rating strong {
  font-size: 17px;
}

.rating em {
  color: #7b8797;
  font-style: normal;
}

.guide {
  padding-top: 32px;
}

.guide-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 42px;
  background:
    linear-gradient(135deg, rgba(8, 120, 216, .1), rgba(56, 199, 232, .12)),
    #fff;
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.guide-panel:hover {
  transform: translateY(-4px);
  border-color: rgba(8, 120, 216, .22);
  box-shadow: var(--shadow-hover);
}

.faq {
  background: #eef4fb;
}

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

.faq-list details {
  padding: 0 24px;
  box-shadow: 0 12px 36px rgba(18, 34, 55, .08);
}

.faq-list summary {
  cursor: pointer;
  padding: 20px 0;
  font-weight: 900;
  list-style: none;
  transition: color .2s ease;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  float: right;
  color: var(--blue);
  font-size: 24px;
  line-height: 1;
  transition: transform .2s ease, color .2s ease;
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list details:hover summary,
.faq-list details[open] summary {
  color: var(--blue);
}

.faq-list details:hover summary::after {
  transform: rotate(90deg);
}

.faq-list details[open]:hover summary::after {
  transform: none;
}

.faq-list p {
  margin: 0 0 22px;
}

.site-footer {
  padding: 38px 0;
  color: #dce8f7;
  background: #081527;
}

.footer-inner {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-inner strong {
  color: #fff;
  font-size: 22px;
}

.site-footer p {
  margin: 6px 0 0;
  color: #aab8c9;
}

.footer-btn {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .28);
}

@media (max-width: 980px) {
  .nav {
    height: 64px;
  }

  .nav-toggle {
    display: block;
  }

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

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

  .nav-menu a {
    padding: 12px;
  }

  .nav-action {
    display: none;
  }

  .timeline,
  .feature-grid,
  .work-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero {
    min-height: 88vh;
  }

  .guide-panel {
    grid-template-columns: 1fr;
  }

  .work-card img {
    height: 230px;
  }
}

@media (max-width: 680px) {
  .brand {
    font-size: 18px;
  }

  .hero {
    padding: 110px 0 60px;
  }

  .hero-content,
  .hero-stats,
  .timeline,
  .feature-grid,
  .work-grid,
  .faq-list,
  .guide-panel,
  .section-head {
    width: min(100% - 24px, 1200px);
  }

  .hero-text {
    font-size: 16px;
  }

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

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

  .hero-stats {
    margin-top: 28px;
  }

  .section {
    padding: 64px 0;
  }

  .feature-card,
  .timeline article,
  .guide-panel {
    padding: 26px;
  }

  .work-body {
    padding: 22px;
  }

  .work-card img {
    height: min(62vw, 260px);
  }

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

@media (hover: none) {
  .nav-action:hover,
  .btn:hover,
  .hero-stats div:hover,
  .timeline article:hover,
  .feature-card:hover,
  .work-card:hover,
  .faq-list details:hover,
  .guide-panel:hover {
    transform: none;
  }

  .work-card:hover img {
    transform: none;
    filter: none;
  }
}

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