@charset "UTF-8";
:root {
  --blue: #0482c8;
  --deep: #250481;
  --orange: #fbb03b;
  --text: #250481;
  --muted: #667391;
  --line: #dbe7f3;
  --soft: #f6fbff;
  --shadow: 0 18px 42px rgba(34, 68, 116, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.75;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(37, 4, 129, 0.08);
  backdrop-filter: saturate(180%) blur(10px);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand img {
  width: clamp(180px, 24vw, 300px);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 1rem;
  font-weight: 900;
  color: var(--deep);
}

.nav-links a {
  opacity: 0.82;
}

.nav-links a:hover {
  opacity: 1;
  color: var(--blue);
}

.header-cta,
.btn,
.fixed-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 900;
  transition: 0.18s ease;
}

.header-cta,
.btn.primary,
.fixed-cta a {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 10px 22px rgba(4, 130, 200, 0.23);
}

.header-cta {
  padding: 12px 20px;
}

.btn {
  padding: 14px 24px;
}

.btn.light {
  color: var(--deep);
  background: #fff;
  border: 1px solid rgba(37, 4, 129, 0.12);
}

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

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #f8fbff 0%, #eef8ff 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 12% 18%, rgba(4, 130, 200, 0.12), transparent 24%), radial-gradient(circle at 82% 14%, rgba(251, 176, 59, 0.18), transparent 24%), linear-gradient(180deg, #fbfdff 0%, #eef8ff 100%);
}

.hero:after {
  content: "";
  position: absolute;
  left: -150px;
  bottom: -220px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: rgba(4, 130, 200, 0.08);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 34px;
  align-items: center;
  min-height: 360px;
  padding: 44px 0 20px;
}

.hero-copy {
  max-width: 620px;
  padding-top: 6px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--orange);
  font-size: clamp(1.42rem, 2.5vw, 2.15rem);
  font-weight: 900;
  letter-spacing: 0.03em;
  line-height: 1.25;
}

.hero h1,
.section-title h2,
.copy-side h2,
.teacher-copy h2,
.final-copy h2 {
  margin: 0;
  color: var(--deep);
  font-weight: 900;
  line-height: 1.22;
}

.hero h1 {
  font-size: clamp(2.35rem, 4.8vw, 4.15rem);
  letter-spacing: -0.03em;
}

.hero h1.hero-title-match {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: 0;
  line-height: 1.34;
}

.hero-subtitle {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.hero-subtitle-wide {
  max-width: 560px;
  line-height: 1.9;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-tags span,
.grade-tag {
  display: inline-flex;
  width: max-content;
  padding: 8px 14px;
  border-radius: 999px;
  background: #eaf6fc;
  color: var(--blue);
  font-size: 0.95rem;
  font-weight: 900;
}

.hero-tags span:nth-child(even) {
  background: #fff7e8;
  color: #c97900;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}

.hero-visual {
  min-height: auto;
  position: relative;
}

.hero-video-card {
  position: relative;
  border-radius: 34px;
  background: linear-gradient(180deg, #fff 0%, #f5fbff 100%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
  padding: 18px 18px 16px;
}

.hero-video-card:before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 28px;
  border: 1px dashed rgba(4, 130, 200, 0.24);
  pointer-events: none;
}

.video-label {
  display: none;
}

.hero-video {
  position: relative;
  z-index: 2;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 24px;
  background: #eaf6fc;
  object-fit: cover;
}

.video-pills {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.video-pills span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--deep);
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(34, 68, 116, 0.08);
}

.info-strip {
  position: relative;
  margin-top: -24px;
  z-index: 3;
}

.strip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 14px 30px rgba(34, 68, 116, 0.09);
  overflow: hidden;
}

.strip-grid > div {
  padding: 20px 18px;
  text-align: center;
  border-right: 1px solid var(--line);
}

.strip-grid > div:last-child {
  border-right: 0;
}

.strip-grid strong {
  display: block;
  color: var(--deep);
  font-size: 1.5rem;
  font-weight: 900;
}

.strip-grid span {
  display: block;
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 4px;
}

.section {
  padding: 78px 0;
}

.section-blue {
  background: linear-gradient(180deg, #fbfdff 0%, #f2f9ff 100%);
}

.section-title {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-title h2 {
  font-size: clamp(2rem, 3.4vw, 2.9rem);
}

.lead,
.final-note {
  color: var(--muted);
  font-size: 1.06rem;
}

.card-frame,
.method-grid article,
.mini-grid article,
.course-group,
.exam-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: 0 14px 30px rgba(34, 68, 116, 0.08);
}

.teacher-panel {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 34px;
  align-items: center;
}

.teacher-photo {
  overflow: hidden;
  padding: 12px;
  background: linear-gradient(180deg, #fff, #f6fbff);
}

.teacher-photo img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center top;
  border-radius: 20px;
}

.teacher-copy {
  padding: 10px 0;
}

.copy-side h2,
.teacher-copy h2,
.final-copy h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 22px;
}

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

.method-grid article,
.mini-grid article {
  padding: 22px;
}

.method-grid h3,
.mini-grid h3,
.course-group h3,
.exam-card strong {
  margin: 16px 0 8px;
  color: var(--deep);
  font-size: 1.32rem;
  line-height: 1.35;
}

.method-grid h3:before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--orange);
}

.method-grid p,
.mini-grid p,
.course-group p,
.exam-card em,
.footer li {
  margin: 0;
  color: var(--muted);
}

.teacher-method-grid {
  margin-top: 24px;
}

.teacher-cta {
  margin-top: 24px;
}

.highlight-section {
  background: #fff;
}

.split-card {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 30px;
  align-items: center;
}

.image-side {
  overflow: hidden;
}

.image-side img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  object-position: center top;
}

.image-side.tall {
  border-radius: 30px;
}

.courses-section {
  background: linear-gradient(180deg, #f8fcff 0%, #fff 100%);
}

.course-title-block h2 {
  color: var(--deep);
}

.course-groups {
  display: grid;
  gap: 22px;
}

.course-group {
  padding: 26px;
}

.group-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 18px;
  align-items: start;
  margin-bottom: 18px;
}

.group-head h3 {
  margin: 0;
}

.group-head p {
  grid-column: 2;
}

.grade-tag {
  background: var(--deep);
  color: #fff;
}

.grade-tag.orange {
  background: var(--orange);
  color: #fff;
}

.course-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

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

.course-list a {
  position: relative;
  display: block;
  padding: 14px 60px 14px 16px;
  border-radius: 18px;
  background: #f7fbff;
  border: 1px solid var(--line);
  color: var(--deep);
  font-weight: 900;
}

.course-list a:after {
  content: "▶";
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: #fff;
  color: var(--blue);
  border: 1px solid rgba(4, 130, 200, 0.22);
  font-size: 1.1rem;
  line-height: 1;
  box-shadow: 0 6px 16px rgba(34, 68, 116, 0.08);
}

.course-list a:hover {
  background: #eef8ff;
  border-color: rgba(4, 130, 200, 0.35);
}

.exam-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.exam-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 22px 68px;
  color: var(--deep);
  min-height: 240px;
}

.exam-card span {
  display: inline-flex;
  width: max-content;
  padding: 6px 12px;
  border-radius: 999px;
  background: #eaf6fc;
  color: var(--blue);
  font-size: 0.9rem;
  font-weight: 900;
}

.exam-card strong {
  margin: 2px 0;
  font-size: 1.18rem;
}

.exam-card em {
  font-style: normal;
}

.exam-card.featured {
  border: 2px solid rgba(251, 176, 59, 0.55);
  background: linear-gradient(180deg, #fffdf8 0%, #fff7e8 100%);
}

.exam-card.featured span {
  background: var(--orange);
  color: #fff;
}

.exam-card:after {
  content: "查看課程 →";
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  border-radius: 999px;
  background: #eaf6fc;
  color: var(--blue);
  font-weight: 900;
  border: 1px solid rgba(4, 130, 200, 0.22);
}

.exam-card.featured:after {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

.final-section {
  background: linear-gradient(180deg, #fff8ed 0%, #eef8ff 100%);
}

.final-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
}

.final-illustration {
  overflow: hidden;
  background: #fff;
  padding: 12px;
}

.final-illustration img {
  width: 100%;
  min-height: 320px;
  object-fit: cover;
  border-radius: 20px;
}

.fixed-cta {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 60;
  width: min(760px, 100% - 28px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px 12px 20px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(34, 68, 116, 0.18);
}

.fixed-cta span {
  font-weight: 900;
  color: var(--deep);
}

.fixed-cta a {
  min-width: 108px;
  padding: 10px 16px;
}

.footer {
  padding: 36px 0 104px;
  background: #fff;
}

.footer-inner {
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.footer h2 {
  margin: 0 0 12px;
  color: var(--deep);
  font-size: 1.25rem;
}

.footer ol {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
}

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

  .hero-grid,
.teacher-panel,
.split-card,
.final-panel {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
    padding: 42px 0 28px;
  }

  .hero-copy {
    max-width: none;
  }

  .hero-visual {
    max-width: 760px;
    margin: 0 auto;
    width: 100%;
  }

  .info-strip {
    margin-top: 0;
    padding-top: 16px;
  }

  .course-list,
.course-list.three,
.exam-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 760px) {
  .container {
    width: min(100% - 24px, 1120px);
  }

  .header-inner {
    min-height: 66px;
  }

  .brand img {
    width: 170px;
  }

  .header-cta {
    display: none;
  }

  .hero-grid {
    gap: 22px;
    padding: 28px 0 18px;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-btns {
    flex-direction: column;
  }

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

  .hero-video-card {
    padding: 12px;
    border-radius: 24px;
  }

  .hero-video {
    border-radius: 18px;
  }

  .video-label {
    position: static;
    margin: 2px 0 10px;
    font-size: 0.95rem;
  }

  .video-pills {
    grid-template-columns: 1fr;
  }

  .video-pills span {
    min-height: 44px;
  }

  .eyebrow,
.section-kicker {
    font-size: 1.28rem;
  }

  .strip-grid,
.method-grid,
.mini-grid,
.course-list,
.course-list.three,
.exam-cards {
    grid-template-columns: 1fr;
  }

  .strip-grid > div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .strip-grid > div:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 66px 0;
  }

  .section-title {
    margin-bottom: 24px;
  }

  .section-title h2,
.copy-side h2,
.teacher-copy h2,
.final-copy h2 {
    font-size: 1.72rem;
  }

  .method-grid article,
.mini-grid article,
.course-group,
.exam-card {
    padding: 22px 18px;
  }

  .exam-card {
    padding-bottom: 68px;
  }

  .course-list a {
    padding: 14px 60px 14px 16px;
  }

  .course-list a:after {
    left: auto;
    right: 12px;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
  }

  .teacher-photo img,
.image-side img {
    min-height: 320px;
    height: auto;
  }

  .teacher-photo img {
    height: 430px;
  }

  .group-head {
    grid-template-columns: 1fr;
  }

  .group-head p {
    grid-column: auto;
  }

  .fixed-cta {
    padding: 12px;
    border-radius: 18px;
  }

  .fixed-cta span {
    font-size: 0.92rem;
  }

  .footer {
    padding-bottom: 104px;
  }
}
