:root {
  --navy: #06182d;
  --navy-deep: #031225;
  --navy-soft: #0b2746;
  --blue: #1267d9;
  --blue-dark: #0c4fae;
  --cyan: #25b7d6;
  --ink: #071a33;
  --muted: #5e6c80;
  --line: #d8e2ef;
  --line-dark: rgba(156, 191, 225, .2);
  --white: #fff;
  --surface: #f4f8fc;
  --max: 1360px;
  --shadow: 0 28px 80px rgba(0, 38, 83, .14);
}

html { color-scheme: light; }
body {
  color: var(--ink);
  background: var(--white);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

::selection { color: var(--white); background: var(--blue); }
a, button { transition: color .22s ease, background-color .22s ease, border-color .22s ease, transform .22s ease, box-shadow .22s ease; }
:focus-visible { outline: 3px solid rgba(37, 183, 214, .58); outline-offset: 4px; }

.site-header {
  height: 88px;
  padding: 0 max(34px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid var(--line-dark);
  color: var(--white);
  background: rgba(3, 18, 37, .86);
  backdrop-filter: blur(20px) saturate(120%);
}
.site-header.scrolled { height: 74px; background: rgba(3, 18, 37, .97); box-shadow: 0 14px 40px rgba(0, 0, 0, .22); }
.site-header .brand-logo, footer .brand-logo { width: 250px; height: 48px; filter: brightness(0) invert(1); }
.site-header nav { gap: clamp(28px, 3.6vw, 56px); font-size: 15px; font-weight: 650; }
.site-header nav a { position: relative; color: rgba(255, 255, 255, .78); white-space: nowrap; }
.site-header nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -12px; height: 2px; background: var(--cyan); transition: right .22s ease; }
.site-header nav a:hover { color: var(--white); }
.site-header nav a:hover::after { right: 0; }

.button { min-height: 54px; padding: 0 30px; border-radius: 2px; gap: 18px; font-size: 15px; font-weight: 750; letter-spacing: .03em; }
.button-primary { color: var(--white); background: var(--blue); box-shadow: 0 15px 38px rgba(18, 103, 217, .28); }
.button-primary:hover { background: var(--blue-dark); box-shadow: 0 18px 44px rgba(18, 103, 217, .38); transform: translateY(-2px); }
.button-ghost { color: var(--white); border-color: rgba(164, 210, 244, .74); }
.button-ghost:hover { color: var(--white); border-color: var(--cyan); background: rgba(37, 183, 214, .08); }
.button-secondary { color: var(--blue-dark); border-color: #a9c5e9; background: var(--white); }
.button-secondary:hover { color: var(--white); border-color: var(--blue); background: var(--blue); }
.header-cta { min-height: 48px; color: var(--white); border-color: var(--blue); background: var(--blue); box-shadow: none; }
.header-cta:hover { color: var(--white); border-color: #1875ef; background: #1875ef; }
.header-cta::after, .hero-actions .button::after, .learning .button::after { content: "→"; }

.hero {
  min-height: 780px;
  padding: 150px max(34px, calc((100vw - var(--max)) / 2)) 96px;
  display: flex;
  align-items: center;
  color: var(--white);
  background: var(--navy-deep);
}
.hero::before { display: none; }
.hero-content { z-index: 2; width: min(660px, 48vw); max-width: none; }
.hero h1 { margin: 0 0 30px; max-width: 660px; font-size: clamp(58px, 5.4vw, 82px); line-height: 1.06; letter-spacing: -.055em; font-weight: 850; }
.hero h1 span { color: var(--cyan); }
.hero p { max-width: 650px; margin: 0 0 42px; color: rgba(225, 237, 249, .78); font-size: clamp(17px, 1.28vw, 20px); line-height: 1.9; }
.hero-actions { gap: 20px; }
.hero-actions .button { min-width: 196px; }
.hero-visual { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; margin: 0; }
.hero-visual::before, .hero-visual::after { display: none; }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 1; filter: none; mix-blend-mode: normal; mask-image: none; }
.scroll-hint { display: none; }

.section { max-width: var(--max); padding: 112px 0; }
.section-heading { position: relative; display: block; margin: 0 auto 62px; text-align: center; }
.section-heading::before, .section-heading::after { content: ""; position: absolute; top: 36px; width: min(29vw, 390px); height: 1px; background: var(--line); }
.section-heading::before { left: 0; }
.section-heading::after { right: 0; }
.section-heading h2 { display: inline-block; margin: 0; padding: 0 42px; font-size: clamp(46px, 4.2vw, 62px); line-height: 1.1; letter-spacing: -.045em; background: var(--white); }
.section-heading h2, .learning-content h2, .faq .section-heading h2, .course-main h3, .course-number, .course-price strong, .work-item h3 { font-family: inherit; }
.section-heading h2::after, .eastern-heading h2::after, .closing-cta h2::after { content: ""; display: block; width: 46px; height: 4px; margin: 22px auto 0; background: var(--cyan); }
.section-heading > span { display: block; max-width: 720px; margin: 18px auto 0; padding: 0; color: var(--muted); font-size: 17px; line-height: 1.8; }

.courses { background: var(--white); }
.course-row {
  grid-template-columns: 150px minmax(360px, 1fr) 190px 170px 76px;
  min-height: 156px;
  border-top-color: var(--line);
  background: var(--white);
}
.course-row:last-child { border-bottom-color: var(--line); }
.course-row > * { padding: 28px 30px; border-left-color: var(--line); }
.course-row::before { width: 4px; background: var(--blue); }
.course-row:hover { transform: translateX(6px); box-shadow: var(--shadow); }
.course-number { color: var(--blue); font-size: 64px; font-weight: 450; }
.course-number::after { width: 34px; height: 2px; margin-top: 16px; background: var(--cyan); }
.course-main h3 { margin-bottom: 13px; color: var(--ink); font-size: 26px; }
.course-main p { color: var(--muted); line-height: 1.8; }
.course-meta span, .course-price span { color: #77879b; }
.course-meta strong::before { color: var(--cyan); }
.course-price strong { color: var(--blue); font-size: 33px; }
.course-row .circle-button { color: var(--blue); border-left-color: var(--line); }
.circle-button::before { border-color: #84a9d5; }
.course-row:hover .circle-button::before { border-color: var(--blue); background: var(--blue); }

.learning {
  min-height: 720px;
  padding: 94px max(34px, calc((100vw - var(--max)) / 2));
  grid-template-columns: minmax(430px, .88fr) minmax(520px, 1.12fr);
  gap: clamp(44px, 5vw, 78px);
  background-color: var(--navy-deep);
  background-image: linear-gradient(rgba(103, 163, 216, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(103, 163, 216, .06) 1px, transparent 1px);
  background-size: 64px 64px;
}
.learning-content { max-width: 620px; }
.learning-content h2 { margin: 0 0 32px; font-size: clamp(48px, 4.7vw, 68px); line-height: 1.17; }
.learning-content h2::after { content: ""; display: block; width: 52px; height: 4px; margin-top: 26px; background: var(--cyan); }
.learning-copy p { color: rgba(225, 237, 249, .72); font-size: 17px; }
.learning-visual {
  height: auto;
  aspect-ratio: 3 / 2;
  padding: 12px;
  border: 1px solid rgba(126, 184, 228, .38);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(24, 69, 108, .72), rgba(6, 24, 44, .94));
  box-shadow: 0 34px 82px rgba(0, 0, 0, .42), 0 0 42px rgba(27, 142, 216, .1);
}
.learning-visual::before { inset: 0; border-color: rgba(189, 223, 247, .18); border-radius: 21px; }
.learning-visual img { border-radius: 13px; object-fit: cover; mix-blend-mode: normal; opacity: 1; mask-image: none; }
.learning-visual-film img { object-position: center; }

.works { padding: 112px max(34px, calc((100vw - var(--max)) / 2)); color: var(--white); background: var(--navy-deep); }
.works::before { display: none; }
.eastern-heading { align-items: end; margin-bottom: 52px; }
.eastern-heading h2 { color: inherit; font-family: inherit; font-size: clamp(44px, 4.2vw, 60px); letter-spacing: -.04em; }
.eastern-heading h2::after { margin: 20px 0 0; }
.eastern-heading p { margin-bottom: 8px; padding-left: 24px; border-left-color: var(--cyan); color: rgba(221, 235, 249, .68); font-family: inherit; font-size: 18px; letter-spacing: .08em; }
.works-layout { grid-template-columns: minmax(0, 1.1fr) minmax(430px, .9fr); gap: 50px; }
.work-featured { background: var(--navy-soft); border: 1px solid rgba(135, 180, 220, .2); box-shadow: 0 30px 80px rgba(0, 0, 0, .24); }
.work-media { min-height: 360px; background: var(--navy-soft); }
.work-media::after { background: linear-gradient(to top, rgba(3, 18, 37, .96), rgba(3, 18, 37, .04) 68%); }
.work-media span { color: var(--cyan); }
.work-media strong { font-family: inherit; }
.work-copy { border-top-color: rgba(135, 180, 220, .26); }
.work-copy::after { display: none; }
.work-copy > span, .work-item > div:last-child > span { color: var(--cyan); }
.work-list { border-top-color: rgba(135, 180, 220, .24); }
.work-item { grid-template-columns: 180px 1fr; border-bottom-color: rgba(135, 180, 220, .24); }
.work-item h3 { color: var(--white); }
.work-item p { color: rgba(221, 235, 249, .64); }
.work-thumb { background: var(--navy-soft); }

.works-layout.works-showcase {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
}
.work-showcase-card {
  min-width: 0;
  padding: 18px;
  overflow: hidden;
  color: var(--ink);
  border: 1px solid #d9e3ef;
  border-radius: 28px;
  background: #f9fbfe;
  box-shadow: 0 22px 54px rgba(0, 9, 28, .24);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.work-showcase-card:hover {
  transform: translateY(-5px);
  border-color: rgba(80, 139, 222, .52);
  box-shadow: 0 30px 72px rgba(0, 9, 28, .32);
}
.work-showcase-card-code { grid-column: 1 / -1; }
.work-showcase-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 19px;
  background: #111c3b;
}
.work-showcase-card-code .work-showcase-media {
  aspect-ratio: 21 / 8;
  max-height: 470px;
}
.work-showcase-media img,
.work-showcase-media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.work-showcase-media video { background: #111c3b; }
.work-showcase-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 74px;
  padding: 20px 6px 2px;
}
.work-showcase-copy h3 {
  margin: 0;
  color: #07172f;
  font-size: clamp(20px, 1.8vw, 28px);
  line-height: 1.35;
}
.work-showcase-pill {
  flex: 0 0 auto;
  padding: 10px 15px;
  color: var(--blue);
  border-radius: 999px;
  background: #eaf2ff;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.mentors { padding: 112px max(34px, calc((100vw - var(--max)) / 2)) 94px; color: var(--ink); background: var(--white); }
.mentor-heading { padding-bottom: 34px; border-bottom-color: var(--line); }
.mentor-heading p { color: var(--muted); border-left-color: var(--blue); }
.mentor-list-real { max-width: none; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; }
.mentor-list-real .mentor-card, .mentor-list-real .mentor-card:first-child, .mentor-list-real .mentor-card:last-child { grid-template-columns: 190px 1fr; gap: 34px; padding: 28px 0 38px; border: 0; border-bottom: 1px solid var(--line); }
.mentor-list-real .mentor-card + .mentor-card { padding-left: 0; border-left: 0; }
.mentor-portrait, .mentor-list-real .mentor-portrait { height: 260px; border-radius: 0; }
.mentor-photo img { object-position: center 28%; }
.mentor-copy > span { color: var(--blue); }
.mentor-copy h3 { margin: 12px 0 16px; color: var(--ink); font-family: inherit; font-size: 28px; }
.mentor-copy > strong, .mentor-list-real .mentor-copy > strong { color: var(--blue-dark); }
.content-empty { grid-column: 1 / -1; margin: 0; padding: 56px 28px; border: 1px solid var(--line); background: var(--white); color: var(--muted); text-align: center; }
.mentor-copy p { color: var(--muted); line-height: 1.9; }
.mentor-note { border-top: 0; color: #7b8797; }

.faq { display: block; padding-top: 112px; }
.faq .section-heading { position: relative; top: auto; margin-bottom: 46px; text-align: left; }
.faq .section-heading::before, .faq .section-heading::after { display: none; }
.faq .section-heading h2 { padding: 0; background: transparent; }
.faq .section-heading h2::after { margin-left: 0; }
.faq-list { border: 0; border-top: 1px solid var(--line); }
.faq-list details { padding: 0 52px 0 112px; border-top: 0; border-bottom: 1px solid var(--line); }
.faq-list details::before { left: 16px; top: 31px; color: var(--blue); font-size: 23px; }
.faq-list details[open] { box-shadow: none; }
summary { min-height: 92px; font-size: 19px; }
summary span { color: var(--blue); font-size: 30px; }
details p { max-width: 920px; margin: -4px 60px 34px 0; color: var(--muted); line-height: 1.9; }

.closing-cta {
  padding: 76px max(34px, calc((100vw - var(--max)) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 64px;
  color: var(--white);
  border-bottom: 1px solid var(--line-dark);
  background-color: var(--navy);
  background-image: linear-gradient(90deg, transparent 0 58%, rgba(37, 183, 214, .06) 58% 58.1%, transparent 58.1%);
}
.closing-cta h2 { margin: 0; font-size: clamp(38px, 3.7vw, 54px); letter-spacing: -.04em; }
.closing-cta h2::after { margin: 22px 0 0; }
.closing-cta p { margin: 20px 0 0; color: rgba(225, 237, 249, .67); font-size: 17px; }
.closing-actions { display: flex; gap: 18px; }
.closing-actions .button { min-width: 190px; }
.closing-contact-panel { flex-shrink: 0; max-width: 100%; }
.closing-contacts { display: grid; gap: 4px; margin: 22px 0 0; font-size: 15px; font-style: normal; line-height: 1.7; color: rgba(225, 237, 249, .85); }
.closing-contacts strong { margin-bottom: 3px; color: var(--white); }
.closing-contacts a { justify-self: start; color: inherit; padding-block: 4px; }
.closing-contacts a:hover { color: var(--cyan); }
.closing-contacts a:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; border-radius: 2px; }

footer { padding: 42px max(34px, calc((100vw - var(--max)) / 2)); gap: 40px; color: rgba(225, 237, 249, .58); border-top: 0; background: var(--navy-deep); }
footer .brand-logo { width: 250px; }
footer p { border-left-color: var(--line-dark); }
footer a { color: inherit; }
footer a:hover { color: var(--cyan); }

dialog { border-radius: 4px; color: var(--ink); box-shadow: 0 38px 120px rgba(0, 18, 48, .46); }
dialog::backdrop { background: rgba(2, 15, 31, .84); }
.dialog-kicker { color: var(--blue); }
.dialog-close:hover { color: var(--blue); }
input:focus, select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(18, 103, 217, .12); }
.payment-total strong { color: var(--blue); }
.payment-note::before { color: var(--blue); }
.qr-box { border-color: var(--line); background: var(--surface); }
.success span { color: var(--blue); }

@media (max-width: 1180px) {
  .site-header { padding-inline: 30px; }
  .site-header .brand-logo { width: 220px; }
  .site-header nav { gap: 26px; }
  .hero { padding-inline: 38px; }
  .section { padding-inline: 32px; }
  .section-heading::before, .section-heading::after { width: 24vw; }
  .course-row { grid-template-columns: 120px minmax(320px, 1fr) 165px 145px 68px; }
  .course-row > * { padding-inline: 22px; }
  .learning { padding-inline: 40px; }
  .works-layout { grid-template-columns: 1fr; }
  .works-layout.works-showcase { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .work-list { grid-template-columns: repeat(3, 1fr); grid-template-rows: none; gap: 24px; border-top: 0; }
  .work-item { display: block; border-top: 1px solid rgba(135, 180, 220, .24); }
  .work-thumb { margin-bottom: 18px; }
}

@media (max-width: 1050px) {
  .site-header { position: absolute; height: 76px; padding-inline: 22px; }
  .site-header nav { display: none; }
  .site-header .brand-logo { width: 205px; height: 42px; }
  .hero { min-height: 740px; padding: 112px 24px 70px; align-items: flex-start; }
  .hero-content { width: min(620px, 88vw); padding-top: 40px; }
  .hero h1 { font-size: clamp(48px, 11vw, 68px); }
  .hero p { max-width: 580px; }
  .hero-visual img { object-position: 62% center; opacity: .5; }
  .hero::after { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, rgba(3, 18, 37, .98) 0 28%, rgba(3, 18, 37, .68) 58%, rgba(3, 18, 37, .14)); pointer-events: none; }
  .section { padding: 88px 22px; }
  .section-heading::before, .section-heading::after { display: none; }
  .section-heading h2 { padding: 0; }
  .course-row { grid-template-columns: 74px 1fr 58px; padding: 26px 0; }
  .course-row > * { padding: 0 14px; }
  .course-number { grid-row: 1 / span 3; font-size: 40px; }
  .course-main, .course-meta, .course-price { grid-column: 2; }
  .course-meta, .course-price { margin-top: 18px; }
  .course-row .circle-button { grid-column: 3; grid-row: 1 / span 3; }
  .learning { min-height: auto; padding: 86px 28px; display: grid; grid-template-columns: 1fr; gap: 48px; }
  .learning-content { position: relative; z-index: 2; }
  .learning-visual { position: relative; inset: auto; width: min(100%, 720px); height: auto; margin: 0; opacity: 1; }
  .learning-visual::before { display: block; }
  .learning::after { display: none; }
  .works, .mentors { padding: 88px 24px; }
  .works-layout.works-showcase { grid-template-columns: 1fr; gap: 24px; }
  .work-showcase-card-code { grid-column: auto; }
  .work-showcase-card-code .work-showcase-media { aspect-ratio: 16 / 9; max-height: none; }
  .mentor-list-real { grid-template-columns: 1fr; gap: 0; }
  .mentor-list-real .mentor-card, .mentor-list-real .mentor-card:first-child, .mentor-list-real .mentor-card:last-child { grid-template-columns: 170px 1fr; }
  .faq { padding-inline: 24px; }
  .closing-cta { padding: 68px 28px; align-items: flex-start; flex-direction: column; }
  footer { padding-inline: 28px; flex-wrap: wrap; }
}

@media (max-width: 600px) {
  .site-header { padding-inline: 16px; }
  .site-header .brand-logo { width: 166px; }
  .header-cta { min-height: 40px; padding-inline: 13px; font-size: 13px; }
  .header-cta::after { display: none; }
  .hero { min-height: 700px; padding-inline: 20px; }
  .hero-content { width: 100%; padding-top: 48px; }
  .hero h1 { max-width: 360px; font-size: clamp(42px, 13vw, 56px); line-height: 1.09; }
  .hero p { font-size: 15px; line-height: 1.78; }
  .hero-actions { gap: 10px; }
  .hero-actions .button { min-width: 0; width: calc(50% - 5px); padding-inline: 10px; }
  .hero-actions .button::after { display: none; }
  .hero-visual img { object-position: 69% center; opacity: .44; }
  .hero::after { background: linear-gradient(90deg, rgba(3,18,37,.99), rgba(3,18,37,.72) 70%, rgba(3,18,37,.3)); }
  .section { padding-block: 72px; }
  .section-heading { margin-bottom: 38px; text-align: left; }
  .section-heading h2 { font-size: 40px; }
  .section-heading h2::after { margin-left: 0; }
  .section-heading > span { margin-left: 0; font-size: 15px; }
  .course-row { grid-template-columns: 58px 1fr 48px; }
  .course-row > * { padding-inline: 9px; }
  .course-number { font-size: 34px; }
  .course-main h3 { font-size: 21px; }
  .course-price strong { font-size: 29px; }
  .learning { min-height: auto; padding: 76px 22px; gap: 38px; }
  .learning-content h2 { font-size: 42px; overflow-wrap: anywhere; }
  .learning-copy p { font-size: 16px; }
  .learning-visual { padding: 8px; border-radius: 16px; }
  .learning-visual::before { border-radius: 15px; }
  .learning-visual img { border-radius: 10px; }
  .eastern-heading { align-items: flex-start; flex-direction: column; gap: 18px; }
  .eastern-heading h2 { font-size: 40px; }
  .eastern-heading p { margin: 0; padding-left: 16px; font-size: 16px; }
  .works-layout.works-showcase { gap: 18px; }
  .work-showcase-card { padding: 10px; border-radius: 20px; }
  .work-showcase-media { border-radius: 13px; }
  .work-showcase-copy { min-height: 64px; padding: 15px 4px 3px; }
  .work-showcase-copy h3 { font-size: 18px; }
  .work-showcase-pill { padding: 8px 11px; font-size: 12px; }
  .work-media { min-height: 250px; padding: 24px 20px; }
  .work-media strong { font-size: 27px; }
  .work-copy { padding: 24px 20px 28px; }
  .work-list { display: block; }
  .work-item { display: grid; grid-template-columns: 112px 1fr; gap: 16px; padding: 20px 0; }
  .work-thumb { margin: 0; }
  .work-item h3 { font-size: 17px; }
  .work-item p { font-size: 12px; }
  .mentor-list-real .mentor-card, .mentor-list-real .mentor-card:first-child, .mentor-list-real .mentor-card:last-child { grid-template-columns: 108px 1fr; gap: 18px; }
  .mentor-portrait, .mentor-list-real .mentor-portrait { height: 168px; }
  .mentor-copy h3 { font-size: 23px; }
  .mentor-copy p { font-size: 13px; line-height: 1.7; }
  .mentor-note { text-align: left; }
  .faq .section-heading h2 { font-size: 40px; }
  .faq-list details { padding-inline: 54px 16px; }
  .faq-list details::before { left: 10px; top: 27px; font-size: 19px; }
  summary { min-height: 78px; font-size: 16px; }
  details p { margin-right: 6px; font-size: 14px; }
  .closing-cta { gap: 38px; }
  .closing-cta h2 { font-size: 38px; }
  .closing-contact-panel { width: 100%; }
  .closing-actions { width: 100%; gap: 10px; }
  .closing-actions .button { min-width: 0; flex: 1; padding-inline: 12px; }
  footer { display: grid; gap: 20px; }
  footer .brand { margin: 0 0 8px; }
  footer .brand-logo { width: 220px; }
  footer p { padding: 0; border: 0; }
}

@media (max-width: 390px) {
  .site-header .brand-logo { width: 150px; }
  .site-header .header-cta { min-width: 98px; }
  .hero h1 { font-size: 41px; }
  .hero-actions .button { font-size: 13px; }
}

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