:root {
  --ink: #102033;
  --muted: #5b6778;
  --line: #d9e2ef;
  --paper: #ffffff;
  --soft: #f5f8fc;
  --navy: #0f2f5f;
  --blue: #1b4f9c;
  --blue-2: #2d6cdf;
  --gold: #d6a94f;
  --green: #d7ece6;
  --shadow: 0 24px 70px rgba(15, 47, 95, 0.14);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
}

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

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

.section {
  padding: 86px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(217, 226, 239, 0.9);
  backdrop-filter: blur(18px);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--navy);
  color: white;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  color: #33445c;
  font-size: 15px;
}

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 700;
}

.nav-cta {
  padding: 10px 18px;
  background: var(--navy);
  color: white;
}

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

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.hero {
  padding-top: 72px;
  background:
    radial-gradient(circle at 80% 10%, rgba(45, 108, 223, 0.16), transparent 34%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue-2);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(38px, 6vw, 66px);
  line-height: 1.06;
  letter-spacing: -0.04em;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.16;
  letter-spacing: -0.03em;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.25;
}

.hero-lede,
.section-heading p,
.contact p {
  color: var(--muted);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 32px 0;
}

.btn {
  min-height: 48px;
  padding: 13px 22px;
}

.btn-primary {
  background: var(--blue);
  color: white;
  box-shadow: 0 12px 30px rgba(27, 79, 156, 0.24);
}

.btn-secondary {
  background: white;
  color: var(--blue);
  border: 1px solid #bfd0e8;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 0;
}

.trust-strip div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
}

.trust-strip dt {
  font-weight: 900;
  color: var(--navy);
}

.trust-strip dd {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.hero-card {
  position: relative;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: white;
  box-shadow: var(--shadow);
}

.image-placeholder {
  min-height: 330px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(15, 47, 95, 0.84), rgba(27, 79, 156, 0.34)),
    linear-gradient(135deg, #d9e8fb, #ffffff 55%, var(--green));
  color: white;
  text-align: center;
  font-weight: 800;
}

.planning-card {
  margin-top: -58px;
  margin-left: 28px;
  margin-right: 28px;
  position: relative;
  padding: 22px;
  border-radius: 22px;
  background: white;
  box-shadow: 0 18px 50px rgba(16, 32, 51, 0.18);
}

.planning-card ul,
.service-card ul,
.fit-card ul,
.prep-list {
  margin: 12px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

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

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

.service-card,
.why-item,
.pathway-card,
.fit-card,
.detail-item,
details,
.contact-card,
.audience-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
}

.service-card {
  padding: 32px;
}

.service-card.featured {
  background: linear-gradient(180deg, #f7faff 0%, white 100%);
  border-color: #bfcfe8;
}

.card-kicker {
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.text-link {
  display: inline-block;
  margin-top: 22px;
  color: var(--blue);
  font-weight: 800;
}

.pathway {
  background: linear-gradient(180deg, #ffffff 0%, #f5f8fc 100%);
}

.pathway-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 20px;
  align-items: stretch;
}

.pathway-grid .section-heading {
  margin-bottom: 0;
}

.pathway-card {
  padding: 26px;
  background: #ffffff;
}

.pathway-card h3 {
  color: var(--navy);
}

.pathway-card p {
  color: var(--muted);
}

.fit-check,
.preparation {
  background: var(--soft);
}

.fit-grid,
.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.fit-card,
.detail-item {
  padding: 28px;
}

.fit-card h3 {
  margin-bottom: 16px;
}

.fit-yes {
  border-color: #b9d7c9;
  background: linear-gradient(180deg, #f5fffa 0%, #ffffff 100%);
}

.fit-no {
  border-color: #e7c7c7;
  background: linear-gradient(180deg, #fff8f8 0%, #ffffff 100%);
}

.education-detail {
  background: #ffffff;
}

.detail-grid {
  grid-template-columns: repeat(4, 1fr);
}

.detail-item {
  background: #f8fbff;
}

.detail-item strong {
  display: block;
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 18px;
}

.detail-item p {
  color: var(--muted);
}

.why-us,
.faq {
  background: var(--soft);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.why-item {
  padding: 24px;
}

.why-item span {
  color: var(--blue-2);
  font-weight: 900;
}

.why-item p,
details p,
.policy-note {
  color: var(--muted);
}

.timeline {
  counter-reset: steps;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 0;
  list-style: none;
}

.timeline li {
  position: relative;
  padding: 26px;
  border-radius: 22px;
  background: #f8fbff;
  border: 1px solid var(--line);
}

.timeline li::before {
  counter-increment: steps;
  content: counter(steps, decimal-leading-zero);
  display: block;
  margin-bottom: 18px;
  color: var(--blue-2);
  font-weight: 900;
}

.timeline strong,
.timeline span {
  display: block;
}

.timeline span {
  margin-top: 8px;
  color: var(--muted);
}

.audience-panel {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 24px;
  align-items: center;
  padding: 34px;
  background: var(--navy);
  color: white;
}

.audience-panel .eyebrow {
  color: #9bc2ff;
}

.audience-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.audience-tags span {
  padding: 11px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.prep-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
  padding: 36px;
  border-radius: 28px;
  background: white;
  border: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(15, 47, 95, 0.08);
}

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

.prep-list {
  display: grid;
  gap: 10px;
  margin: 0;
}

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

details {
  padding: 22px;
}

summary {
  cursor: pointer;
  font-weight: 900;
}

.contact {
  background:
    radial-gradient(circle at 12% 20%, rgba(214, 169, 79, 0.16), transparent 24%),
    linear-gradient(135deg, #102033, #0f2f5f);
  color: white;
}

.contact .eyebrow,
.contact p {
  color: #dbe8ff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 34px;
  align-items: center;
}

.contact-card {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 20px;
  align-items: center;
  padding: 24px;
  color: var(--ink);
}

.qr-placeholder {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(16, 32, 51, 0.06) 50%, transparent 50%),
    linear-gradient(rgba(16, 32, 51, 0.06) 50%, transparent 50%);
  background-size: 18px 18px;
  border: 1px dashed #9aa9bd;
  color: var(--muted);
  font-weight: 800;
}

.site-footer {
  padding: 26px 0;
  background: #08111f;
  color: #c9d4e4;
}

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

.wechat-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 40;
  width: min(420px, calc(100% - 32px));
  padding: 14px 18px;
  border-radius: 16px;
  background: #102033;
  color: white;
  text-align: center;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translate(-50%, 16px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.wechat-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 900px) {
  .section {
    padding: 64px 0;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 76px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: white;
    box-shadow: var(--shadow);
  }

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

  .nav-links a {
    padding: 13px 12px;
  }

  .hero-grid,
  .service-grid,
  .contact-grid,
  .audience-panel,
  .pathway-grid,
  .prep-panel {
    grid-template-columns: 1fr;
  }

  .why-grid,
  .timeline,
  .faq-grid,
  .detail-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  h1 {
    font-size: 40px;
  }

  .trust-strip,
  .why-grid,
  .timeline,
  .faq-grid,
  .fit-grid,
  .detail-grid,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .planning-card {
    margin-left: 10px;
    margin-right: 10px;
  }

  .footer-inner {
    flex-direction: column;
  }
}
