/* Personal course + payment pages. Shared navigation is styled separately. */
.course-page,
.payment-page {
  --primary: #0759c7;
  --primary-hover: #064aab;
  --title-dark-blue: #102c50;
  --text-primary: #23354b;
  --text-secondary: #53647a;
  --bg-light-blue: #f4f7fb;
  --bg-gray: #f4f7fb;
  --blue: #0759c7;
  --blue-dark: #102c50;
  --line: #dce4ed;
  --bg: #f4f7fb;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 6px;
  --shadow-sm: none;
  --shadow-md: none;
  --shadow-lg: none;
  --shadow: none;
  font-family: "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, sans-serif;
  color: #23354b;
  background: #fff;
}
.course-page main,
.payment-page main { overflow: clip; }
.course-page :is(h1,h2,h3),
.payment-page :is(h1,h2,h3) { color: #102c50; }
.course-page :is(.hero-container,.section-container,.resources-container),
.payment-page .container { width: min(1160px, 100%); max-width: 1160px; margin-inline: auto; }
.course-page main > section { padding: 56px 32px; border-bottom: 1px solid #e6ebf1; }
.course-page main > .hero { padding-block: 52px 48px; background: #f4f7fb; }
.course-page .hero-container { grid-template-columns: minmax(0,1.2fr) minmax(0,.8fr); gap: 56px; }
.course-page .hero-content { padding: 0; text-align: left; }
.course-page .course-kicker { font-size: 13px; letter-spacing: .08em; color: #0759c7; font-weight: 700; margin: 0 0 16px; }
.course-page .hero-title { font-size: clamp(32px,3.6vw,46px); line-height: 1.28; letter-spacing: -.03em; margin: 0 0 20px; }
.course-page .hero-description { font-size: 17px; line-height: 1.8; margin: 0 0 24px; max-width: 580px; }
.course-page .course-facts { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-bottom: 26px; color: #53647a; font-size: 13px; }
.course-page .course-facts strong { display: block; color: #102c50; font-size: 21px; line-height: 1.5; }
.course-page .hero-cta { gap: 12px; justify-content: flex-start; }
.course-page .hero-note { font-size: 13px; margin-top: 16px; }
.course-page .course-team-note { font-size: 13px; color: #53647a; margin-top: 8px; }
.course-page .course-team-note a { color: #0759c7; text-decoration: none; }
.course-page .hero-video.hero-learning { min-height: 0; padding: 28px; background: #fff; border: 1px solid #dce4ed; border-radius: 6px; gap: 0; box-shadow: none; }
.course-page .hero-learning-kicker { font-size: 12px; font-weight: 600; color: #627287; margin: 0; }
.course-page .hero-learning-title { font-size: 23px; line-height: 1.4; margin: 8px 0 10px; }
.course-page .hero-learning-list { list-style: none; gap: 0; padding: 0; margin: 0; }
.course-page .hero-learning-item { padding: 18px 0; background: none; border: 0; border-bottom: 1px solid #e6ebf1; border-radius: 0; gap: 16px; }
.course-page .hero-learning-item:last-child { border-bottom: 0; padding-bottom: 0; }
.course-page .hero-learning-badge { width: 26px; padding: 0; border-radius: 0; background: none; color: #0759c7; font-size: 15px; font-variant-numeric: tabular-nums; }
.course-page .hero-learning-item-title { font-weight: 600; font-size: 16px; }
.course-page .hero-learning-item-desc { font-size: 13px; line-height: 1.65; margin-top: 5px; }
.course-page :is(.section-eyebrow,.section-title,.section-subtitle) { text-align: left; }
.course-page .section-eyebrow { margin-bottom: 10px; font-size: 12px; letter-spacing: .06em; }
.course-page .section-title { font-size: 30px; line-height: 1.4; margin-bottom: 12px; }
.course-page .section-subtitle { margin: 0 0 28px; max-width: 820px; font-size: 16px; line-height: 1.75; }
.course-page :is(.featured-programs,.credentials,.process,.faq,.free-resources) { background: #fff; }
.course-page :is(.course-highlights,.program-grid,.process-grid) { margin-top: 28px; }
.course-page .course-highlights { gap: 28px; }
.course-page .highlight-card { border-radius: 0; padding: 0 0 24px; border: 0; border-bottom: 1px solid #dce4ed; background: none; }
.course-page .highlight-list { gap: 8px; font-size: 14px; }
.course-page .highlight-title { font-size: 18px; margin-bottom: 12px; }
.course-page .highlight-cta { margin-top: 18px; }
.course-page .program-grid { gap: 0 28px; }
.course-page .program-card { padding: 26px 0; text-align: left; border: 0; border-bottom: 1px solid #dce4ed; border-radius: 0; background: none; cursor: default; display: flex; flex-direction: column; }
.course-page .program-icon { width: 32px; height: 32px; border-radius: 0; background: none; color: #0759c7; margin: 0 0 14px; }
.course-page .program-icon svg { width: 27px; height: 27px; }
.course-page .program-title { font-size: 20px; margin-bottom: 10px; line-height: 1.5; }
.course-page .program-desc { line-height: 1.75; margin-bottom: 18px; }
.course-page .program-actions { margin-top: auto; }
.course-page .program-cta { padding: 0; min-height: 40px; color: #0759c7; background: none; border: none; }
.course-page .program-cta::after { content: " →"; }
.course-page .program-card:hover .program-icon { background: none; }
.course-page .process-grid { gap: 24px; }
.course-page .process-card { padding: 0; border: 0; border-radius: 0; background: none; }
.course-page .process-step { width: auto; height: auto; display: block; border-radius: 0; background: none; color: #0759c7; font-size: 24px; margin-bottom: 12px; }
.course-page .process-title { font-size: 17px; }
.course-page .process-cta { margin-top: 24px; justify-content: flex-start; }
.course-page .credential-grid { gap: 24px 32px; }
.course-page .credential-card { text-align: left; padding-left: 44px; position: relative; }
.course-page .credential-icon { position: absolute; top: 0; left: 0; width: 28px; height: 28px; margin: 0; background: none; border-radius: 0; }
.course-page .credential-card:hover .credential-icon { color: #0759c7; background: none; transform: none; }
.course-page .credential-title { font-size: 16px; margin-bottom: 6px; }
.course-page .credential-desc { font-size: 13px; line-height: 1.65; }
.course-page .faq-grid { gap: 0 32px; }
.course-page .faq-item { padding: 20px 0; border: 0; border-bottom: 1px solid #dce4ed; border-radius: 0; background: none; }
.course-page .faq-q { color: #102c50; }
.course-page .toolbox-grid { gap: 12px 24px; }
.course-page .toolbox-item { border-radius: 0; padding: 16px 0; background: none; gap: 12px; border-bottom: 1px solid #dce4ed; }
.course-page .toolbox-avatar { width: 36px; height: 36px; background: none; border-radius: 0; flex: 0 0 auto; }
.course-page .toolbox-tag { padding: 0; background: none; border-radius: 0; color: #53647a; }
.course-page .resources-container { gap: 32px; grid-template-columns: .85fr 1.15fr; align-items: start; }
.course-page .resources-text h2 { font-size: 28px; line-height: 1.4; margin-bottom: 14px; }
.course-page .resources-text p { font-size: 15px; line-height: 1.75; }
.course-page .resources-cards { gap: 0; }
.course-page .resource-card { border-radius: 0; padding: 18px 0; background: none; border-bottom: 1px solid #dce4ed; }
.course-page .resource-card:first-child { padding-top: 0; }
.course-page .resource-card:hover { background: none; }
.course-page :is(.program-card,.process-card,.toolbox-item,.resource-card):hover { transform: none; box-shadow: none; }
.course-page .cta-section { text-align: left; background: #102c50; }
.course-page .cta-section :is(h2,.cta-desc,.cta-actions,.cta-note) { max-width: 1160px; margin-inline: auto; }
.course-page .cta-section h2 { color: #fff; font-size: 30px; margin-bottom: 14px; }
.course-page .cta-section .cta-desc { color: #d1dceb; margin-bottom: 24px; }
.course-page .cta-actions { justify-content: flex-start; gap: 12px; }
.course-page .cta-note { color: #d1dceb; margin-top: 18px; }
.course-page :is(.btn-primary,.btn-default,.cta-wechat,.cta-email,.floating-btn),
.payment-page .btn { min-height: 44px; border-radius: 8px; padding: 11px 20px; font-size: 15px; line-height: 1.45; font-weight: 600; box-shadow: none; transition: background .15s; justify-content: center; text-decoration: none; }
/* Override the legacy shared stylesheet's !important gradient and shadow. */
.course-page :is(.btn-primary,.cta-wechat,.floating-btn.primary),
.payment-page .btn.primary { background: #0759c7 !important; background-image: none !important; color: #fff !important; border: 1px solid #0759c7 !important; box-shadow: none !important; border-radius: 8px; }
.course-page :is(.btn-primary,.cta-wechat,.floating-btn.primary):hover,
.payment-page .btn.primary:hover { background: #064aab !important; border-color: #064aab !important; }
.course-page .btn-default { border-width: 1px; background: #fff; }
.course-page :is(.btn-primary,.btn-default,.cta-wechat,.cta-email):hover,
.payment-page .btn:hover { transform: none; box-shadow: none; }
.course-page .program-cta.btn-primary { padding: 0; justify-content: flex-start; background: none !important; color: #0759c7 !important; border: none !important; box-shadow: none !important; }
.course-page .program-cta.btn-primary:hover { color: #064aab !important; background: none !important; text-decoration: underline; }
.course-page :is(.modal,.contact-card,.contact-qr,.lead-form input,.lead-form select,.lead-form textarea) { border-radius: 6px; }
.course-page .modal-backdrop { padding: 16px; overflow: hidden; }
.course-page .modal {
  min-width: 0;
  min-height: 0;
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scroll-padding-block: 24px;
}
.course-page .modal h2 { color: #102c50; }
.course-page .floating-cta { border-top: 1px solid #dce4ed; box-shadow: none; background: #fff; }
.course-page.modal-open .floating-cta { visibility: hidden; pointer-events: none; }
.course-page main :is(.program-card,.toolbox-item,.resource-card,.credential-card) { opacity: 1; }
.payment-page main { padding: 0 32px; }
.payment-page .hero { padding: 40px 0 28px; }
.payment-page .hero-card { padding: 0; background: #fff; border: 0; box-shadow: none; border-radius: 0; grid-template-columns: minmax(0,1.5fr) minmax(260px,.7fr); gap: 48px; align-items: start; }
.payment-page h1 { font-size: 40px; line-height: 1.25; margin: 12px 0 16px; }
.payment-page .desc { font-size: 16px; max-width: 660px; }
.payment-page .hero-metrics { gap: 6px 20px; margin-top: 18px; }
.payment-page .pill { border: 0; border-radius: 0; padding: 0; background: none; color: #53647a; font-size: 13px; font-weight: 400; }
.payment-page .price-card { border: 1px solid #dce4ed; border-radius: 6px; padding: 24px; background: #f4f7fb; }
.payment-page .price { font-size: 40px; }
.payment-page .price-card .note { background: none; border: 0; border-top: 1px solid #dce4ed; color: #53647a; border-radius: 0; padding: 12px 0 0; }
.payment-page .section { padding: 26px 0; }
.payment-page .section-card { padding: 28px 0; border: 0; border-top: 1px solid #dce4ed; border-radius: 0; box-shadow: none; }
.payment-page .section h2 { font-size: 26px; line-height: 1.4; margin-bottom: 12px; }
.payment-page .section-sub { font-size: 15px; color: #53647a; }
.payment-page .pay-grid { gap: 24px; grid-template-columns: repeat(2,minmax(0,1fr)); }
.payment-page .pay-card { border-radius: 6px; }
.payment-page .pay-card-head { padding: 16px 20px; }
.payment-page .pay-card .tag { border-radius: 3px; }
.payment-page .qr-wrap { padding: 18px; background: #f4f7fb; }
.payment-page .qr-frame { min-height: 0; border: 0; border-radius: 0; padding: 0; background: #fff; }
.payment-page .qr-frame img { width: 100%; max-width: 280px; height: auto; object-fit: contain; }
.payment-page .qr-frame.is-missing { min-height: 240px; }
.payment-page .pay-card-foot { padding-inline: 20px; }
.payment-page .action-row { gap: 12px; }
.payment-page .steps { gap: 28px; }
.payment-page .step { padding: 0; border: 0; border-radius: 0; }
.payment-page .step-num { background: none; color: #0759c7; font-size: 23px; padding: 0; justify-content: flex-start; border-radius: 0; margin-bottom: 12px; }
.payment-page .step h3 { color: #102c50; font-size: 17px; }
.payment-page .grid-2 { gap: 40px; }
.payment-page .contact-card { border-radius: 0; border: 0; border-top: 1px solid #dce4ed; padding: 18px 0; }
.payment-page .contact-card:first-child { border-top: 0; padding-top: 0; }
.payment-page .contact-qr { border-radius: 4px; }
.payment-page .note { border-radius: 4px; }
.payment-page .faq-list { list-style: none; padding: 0; }
.payment-page .faq-list li { padding: 16px 0; border-bottom: 1px solid #e6ebf1; }
.payment-page .faq-list li + li { margin-top: 0; }
.payment-page .faq-list strong { color: #102c50; }
.payment-page .btn.primary { box-shadow: none; }
.course-page :is(a,button,input,select,textarea):focus-visible,
.payment-page :is(a,button):focus-visible { outline: 3px solid #81b1f1; outline-offset: 3px; }
@media (max-width: 1024px) {
  .course-page .hero-container { grid-template-columns: minmax(0,1.2fr) minmax(0,.8fr); gap: 28px; }
  .course-page .hero-video.hero-learning { padding: 22px; }
  .course-page .hero-title { font-size: 36px; }
  .course-page .hero-learning-title { font-size: 20px; }
  .course-page .program-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .course-page .process-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .payment-page .hero-card { gap: 28px; grid-template-columns: minmax(0,1.4fr) minmax(240px,.8fr); }
  .payment-page .grid-2 { grid-template-columns: 1.15fr .85fr; }
  .payment-page .steps { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 760px) {
  .course-page { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
  .course-page main > section { padding: 36px 20px; }
  .course-page main > .hero { padding: 32px 20px; }
  .course-page .hero-container { grid-template-columns: 1fr; gap: 26px; }
  .course-page .hero-title { font-size: clamp(29px,7.8vw,38px); line-height: 1.3; margin-bottom: 16px; }
  .course-page .hero-description { font-size: 15px; line-height: 1.75; margin-bottom: 20px; }
  .course-page .course-kicker { margin-bottom: 12px; }
  .course-page .course-facts { gap: 12px 22px; margin-bottom: 22px; font-size: 12px; }
  .course-page .course-facts strong { font-size: 19px; }
  .course-page .hero-cta { gap: 10px; }
  .course-page .hero-cta :is(.btn-primary,.btn-default) { flex: 1 1 auto; padding-inline: 14px; }
  .course-page .hero-video.hero-learning { padding: 20px; }
  .course-page .hero-learning-item { padding-block: 13px; }
  .course-page .hero-learning-title { font-size: 20px; }
  .course-page .hero-learning-item-title { font-size: 15px; }
  .course-page .section-title { font-size: 25px; }
  .course-page .section-subtitle { font-size: 15px; margin-bottom: 22px; }
  .course-page :is(.course-highlights,.faq-grid,.resources-container) { grid-template-columns: 1fr; }
  .course-page :is(.course-highlights,.program-grid,.process-grid) { margin-top: 22px; }
  .course-page .course-highlights { gap: 22px; }
  .course-page .highlight-card { padding-bottom: 22px; }
  .course-page .program-grid { grid-template-columns: 1fr; gap: 0; }
  .course-page .program-card { padding-block: 22px; }
  .course-page .program-icon { display: none; }
  .course-page .program-title { font-size: 19px; }
  .course-page .program-desc { margin-bottom: 8px; }
  .course-page .program-cta { min-height: 44px; }
  .course-page .process-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
  .course-page .credential-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; }
  .course-page .credential-card { padding-left: 0; }
  .course-page .credential-icon { display: none; }
  .course-page .credential-title { font-size: 15px; }
  .course-page .toolbox-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 20px; }
  .course-page .toolbox-item { align-items: flex-start; }
  .course-page .toolbox-avatar { display: none; }
  .course-page .toolbox-name { font-size: 15px; }
  .course-page .toolbox-tags { gap: 4px 8px; }
  .course-page .resources-text h2 { font-size: 25px; }
  .course-page .resources-container { gap: 24px; }
  .course-page .cta-section h2 { font-size: 25px; }
  .course-page .cta-section .cta-desc { font-size: 15px; }
  .course-page .cta-actions { justify-content: flex-start; }
  .course-page .floating-cta { left: 0; right: 0; bottom: 0; gap: 10px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); }
  .course-page .floating-cta .floating-btn { min-height: 44px; }
  .course-page .floating-btn { border-width: 1px; }
  .course-page .modal { padding: 24px 20px; }
  .payment-page main { padding: 0 20px; }
  .payment-page .hero { padding: 30px 0 16px; }
  .payment-page .hero-card { grid-template-columns: 1fr; gap: 24px; }
  .payment-page h1 { font-size: 32px; }
  .payment-page .hero-card .action-row { margin-top: 22px; }
  .payment-page .price-card { padding: 20px; }
  .payment-page .section { padding: 16px 0; }
  .payment-page .section-card { padding: 24px 0 0; }
  .payment-page .section h2 { font-size: 23px; }
  .payment-page .pay-grid { grid-template-columns: 1fr; gap: 20px; }
  .payment-page .pay-card-head { flex-direction: row; align-items: center; }
  .payment-page .qr-wrap { padding: 14px; }
  .payment-page .qr-frame img { max-width: 260px; }
  .payment-page .action-row .btn { flex: 1 1 auto; }
  .payment-page .steps { grid-template-columns: 1fr; gap: 22px; }
  .payment-page .step { padding-left: 38px; position: relative; }
  .payment-page .step-num { position: absolute; left: 0; top: 0; }
  .payment-page .grid-2 { grid-template-columns: 1fr; gap: 28px; }
  .payment-page .faq-list { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .course-page *, .payment-page * { scroll-behavior: auto; transition: none; }
}
