:root {
  --bg: #f5f8fc;
  --surface: #ffffff;
  --surface-blue: #edf6ff;
  --ink: #101928;
  --muted: #5e6b7c;
  --line: #dce7f2;
  --blue: #0b63ce;
  --blue-dark: #073f86;
  --navy: #10233a;
  --gold: #d99a21;
  --shadow: 0 24px 70px rgba(16, 35, 58, .12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.modal-open {
  overflow: hidden;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 54px);
  border-bottom: 1px solid rgba(220, 231, 242, .9);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(16px);
}

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

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--navy);
  color: #fff;
  font-weight: 900;
  letter-spacing: 0;
}

.brand strong,
.brand em {
  display: block;
  font-style: normal;
}

.brand strong {
  font-size: 16px;
  line-height: 1.2;
}

.brand em {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #344154;
  font-size: 14px;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible {
  color: var(--blue);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.section-band,
.section-block,
.trust-strip {
  max-width: 1180px;
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .92fr);
  gap: clamp(26px, 5vw, 58px);
  align-items: center;
  min-height: calc(100vh - 74px);
  padding: clamp(38px, 7vw, 76px) clamp(18px, 4vw, 34px) clamp(28px, 4vw, 44px);
}

.hero-copy {
  max-width: 650px;
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(38px, 6vw, 70px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-subtitle {
  max-width: 590px;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: clamp(16px, 2vw, 19px);
}

.hero-actions,
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.btn {
  border: 0;
  border-radius: 8px;
  min-height: 48px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 15px;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn:hover,
.btn:focus-visible,
.header-cta:hover,
.header-cta:focus-visible {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 14px 30px rgba(11, 99, 206, .22);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--blue-dark);
}

.btn-ghost {
  border: 1px solid var(--blue);
  background: #fff;
  color: var(--blue);
}

.hero-proof {
  margin-top: 24px;
  color: #44546a;
  font-size: 14px;
}

.hero-proof span {
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .72);
}

.hero-media {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  background: #dbe7f3;
  box-shadow: var(--shadow);
}

.hero-media img {
  width: 100%;
  height: min(58vh, 520px);
  object-fit: cover;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--line);
}

.trust-strip div {
  padding: 22px;
  background: var(--surface);
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 14px;
}

.section-block {
  padding: clamp(54px, 8vw, 92px) clamp(18px, 4vw, 34px);
}

.section-heading {
  max-width: 640px;
  margin-bottom: 28px;
}

.section-heading.center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading h2,
.copy-panel h2,
.apply-copy h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.16;
}

.section-heading p,
.copy-panel p,
.apply-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.course-grid,
.faculty-grid,
.process-line {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.course-card,
.faculty-grid article,
.process-line article {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  padding: 22px;
}

.course-card span,
.process-line span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--surface-blue);
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.course-card h3,
.faculty-grid h3,
.process-line h3 {
  margin: 0 0 8px;
  font-size: 19px;
}

.course-card p,
.faculty-grid p,
.process-line p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1fr);
  gap: clamp(26px, 5vw, 56px);
  align-items: center;
}

.split-section.reverse {
  grid-template-columns: minmax(0, 1fr) minmax(0, .95fr);
}

.image-panel {
  overflow: hidden;
  border-radius: 16px;
  background: #dbe7f3;
  box-shadow: var(--shadow);
}

.image-panel img {
  width: 100%;
  height: 430px;
  object-fit: cover;
}

.copy-panel {
  max-width: 560px;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 26px;
  color: #344154;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
}

.faculty {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.faculty-grid {
  grid-template-columns: repeat(3, 1fr);
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 26px;
}

.metric-row div {
  padding: 16px;
  border-radius: 10px;
  background: var(--surface-blue);
}

.metric-row strong,
.metric-row span {
  display: block;
}

.metric-row span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
}

.process-line article {
  position: relative;
}

.process-line span {
  background: var(--blue);
  color: #fff;
}

.faq-list {
  max-width: 880px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  padding: 18px 20px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 800;
}

.faq-list p {
  margin: 12px 0 0;
  color: var(--muted);
}

.apply-section {
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  gap: clamp(24px, 5vw, 56px);
  align-items: start;
}

.wechat-box {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 16px;
  align-items: center;
  margin-top: 28px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.wechat-box img {
  width: 132px;
  border-radius: 8px;
}

.wechat-box strong,
.wechat-box span {
  display: block;
}

.wechat-box span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
}

.apply-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.apply-form label,
.apply-form .full {
  display: grid;
  gap: 7px;
}

.apply-form .full,
.form-message,
.form-submit,
.privacy-note {
  grid-column: 1 / -1;
}

.apply-form span {
  color: #344154;
  font-size: 14px;
  font-weight: 800;
}

.apply-form input,
.apply-form select,
.apply-form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid #ccd8e5;
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--ink);
  background: #fff;
  outline: none;
}

.apply-form textarea {
  resize: vertical;
}

.apply-form input:focus,
.apply-form select:focus,
.apply-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(11, 99, 206, .13);
}

.form-message {
  min-height: 24px;
  margin: 0;
  color: var(--blue-dark);
  font-size: 14px;
}

.form-message.error {
  color: #b42318;
}

.form-submit {
  width: 100%;
}

.privacy-note {
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.floating-wechat {
  position: fixed;
  right: 22px;
  bottom: 26px;
  z-index: 15;
  display: grid;
  gap: 8px;
  justify-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 18px 42px rgba(16, 35, 58, .16);
}

.floating-wechat button {
  border: 0;
  border-radius: 8px;
  min-height: 36px;
  padding: 0 12px;
  background: var(--navy);
  color: #fff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
}

.floating-wechat img {
  width: 104px;
  border-radius: 7px;
}

.mobile-action-bar {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(16, 35, 58, .58);
}

.modal.open {
  display: flex;
}

.modal-card {
  position: relative;
  width: min(420px, 100%);
  padding: 28px;
  border-radius: 14px;
  background: var(--surface);
  text-align: center;
  box-shadow: var(--shadow);
}

.modal-card h2 {
  margin: 0 0 8px;
  font-size: 28px;
}

.modal-card p {
  margin: 0 auto 20px;
  color: var(--muted);
}

.modal-card img {
  width: min(280px, 86vw);
  margin: 0 auto;
  border-radius: 10px;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #eef3f8;
  color: var(--ink);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

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

  .hero,
  .split-section,
  .split-section.reverse,
  .apply-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-media img,
  .image-panel img {
    height: 360px;
  }

  .course-grid,
  .process-line {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  body {
    padding-bottom: 72px;
  }

  .site-header {
    padding: 12px 16px;
  }

  .brand {
    min-width: 0;
  }

  .brand strong {
    font-size: 14px;
  }

  .brand em,
  .header-cta {
    display: none;
  }

  .hero {
    padding-top: 30px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero-actions {
    display: grid;
  }

  .btn {
    width: 100%;
  }

  .hero-media img,
  .image-panel img {
    height: 260px;
  }

  .trust-strip,
  .course-grid,
  .faculty-grid,
  .process-line,
  .metric-row,
  .apply-form {
    grid-template-columns: 1fr;
  }

  .section-block {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .wechat-box {
    grid-template-columns: 104px 1fr;
  }

  .wechat-box img {
    width: 104px;
  }

  .floating-wechat {
    display: none;
  }

  .mobile-action-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 25;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    padding: 10px;
    background: rgba(255, 255, 255, .94);
    border-top: 1px solid var(--line);
    backdrop-filter: blur(14px);
  }

  .mobile-action-bar a,
  .mobile-action-bar button {
    display: grid;
    place-items: center;
    min-height: 46px;
    border: 0;
    border-radius: 8px;
    background: var(--blue);
    color: #fff;
    cursor: pointer;
    font-weight: 800;
  }

  .mobile-action-bar button {
    background: var(--navy);
  }
}

@media (max-width: 430px) {
  .hero h1 {
    font-size: 34px;
  }

  .section-heading h2,
  .copy-panel h2,
  .apply-copy h2 {
    font-size: 30px;
  }

  .apply-form {
    padding: 20px;
  }
}
