:root {
  --blue: #0a4aa6;
  --deep: #082d78;
  --cyan: #18a6d3;
  --yellow: #ffc400;
  --ink: #18243a;
  --muted: #617089;
  --line: #dce9f5;
  --soft: #f3f9ff;
  --white: #fff;
  --radius: 24px;
  --shadow: 0 18px 50px rgba(11, 59, 126, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

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

.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 999;
  padding: 10px 16px;
  background: #fff;
  color: var(--deep);
  border-radius: 8px;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(10, 74, 166, 0.09);
  backdrop-filter: blur(14px);
}

.header-inner {
  height: 78px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  width: 300px;
  flex: none;
}

.brand img {
  width: 100%;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
  font-weight: 700;
  color: #35506f;
}

.main-nav a {
  position: relative;
  padding: 8px 0;
}

.main-nav a:after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 4px;
  height: 2px;
  background: var(--cyan);
  transition: 0.25s;
}

.main-nav a:hover:after {
  right: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--yellow), #ff9e00);
  color: #082c70;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(255, 174, 0, 0.28);
  transition: 0.25s;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(255, 174, 0, 0.36);
}

.btn-small {
  min-height: 42px;
  padding: 8px 19px;
  font-size: 14px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 0;
  background: radial-gradient(circle at 8% 20%, rgba(74, 194, 229, 0.18), transparent 32%), radial-gradient(circle at 88% 12%, rgba(72, 118, 209, 0.2), transparent 32%), linear-gradient(135deg, #f8fdff 0%, #eef7ff 60%, #edf0ff 100%);
}

.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.34;
  background-image: linear-gradient(rgba(17, 109, 176, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(17, 109, 176, 0.08) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to right, #000, transparent 65%);
}

.hero:after {
  content: "DNA";
  position: absolute;
  right: 1%;
  top: 3%;
  font-size: 220px;
  font-weight: 900;
  letter-spacing: -25px;
  color: rgba(15, 104, 182, 0.035);
  transform: rotate(-8deg);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 56px;
  align-items: center;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow:before,
.section-kicker:before {
  content: "";
  width: 34px;
  height: 3px;
  border-radius: 99px;
  background: var(--yellow);
}

h1 {
  margin: 0;
  color: var(--deep);
  font-size: clamp(58px, 7vw, 92px);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

h2 {
  margin: 0;
  color: var(--deep);
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.22;
  letter-spacing: -0.035em;
}

.hero-lead {
  margin: 20px 0 12px;
  color: #174d98;
  font-size: clamp(24px, 2.8vw, 36px);
  line-height: 1.35;
  font-weight: 900;
}

.hero-lead strong {
  color: #e99900;
}

.hero-desc,
.section-intro,
.section-heading > p {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin-top: 30px;
}

.text-link {
  font-weight: 900;
  color: var(--blue);
}

.video-wrap {
  position: relative;
  padding: 12px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  transform: none;
}

.video-wrap:before {
  content: "";
  position: absolute;
  inset: 20px -18px -18px 20px;
  z-index: -1;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  opacity: 0.18;
}

.video-frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  overflow: hidden;
  border-radius: 18px;
  background: #09265d;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-label {
  position: absolute;
  z-index: 3;
  left: 30px;
  top: -19px;
  padding: 9px 16px;
  border-radius: 999px;
  background: #fff;
  color: var(--deep);
  font-size: 18px;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(7, 56, 126, 0.14);
}

.video-label span {
  color: #e58c00;
}

.highlight-bar {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 64px;
  padding: 0 0 34px;
}

.highlight-bar > div {
  display: grid;
  grid-template-columns: 56px 1fr;
  column-gap: 14px;
  align-items: center;
  padding: 16px 28px;
  border-right: 1px solid rgba(10, 74, 166, 0.14);
}

.highlight-bar > div:last-child {
  border-right: 0;
}

.highlight-bar strong {
  font-size: 21px;
  color: var(--deep);
}

.highlight-bar small {
  grid-column: 2;
  color: var(--muted);
  font-size: 14px;
}

.feature-icon {
  grid-row: 1/3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: linear-gradient(145deg, var(--blue), var(--cyan));
  color: #fff;
  font-weight: 900;
}

.bio-orb {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(14, 125, 190, 0.13);
  box-shadow: inset 0 0 30px rgba(0, 150, 200, 0.08);
}

.bio-orb-a {
  width: 160px;
  height: 160px;
  left: -55px;
  top: 180px;
}

.bio-orb-b {
  width: 230px;
  height: 230px;
  right: -110px;
  bottom: 30px;
}

.section {
  padding: 108px 0;
  scroll-margin-top: 90px;
}

.teacher-section {
  background: #fff;
}

.teacher-grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 78px;
  align-items: center;
}

.teacher-photo {
  position: relative;
  min-height: 650px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  border-radius: 42px;
  background: linear-gradient(165deg, #eaf9ff 0%, #eaf0ff 100%);
  overflow: hidden;
}

.teacher-photo:before {
  content: "";
  position: absolute;
  inset: 7% 8%;
  border-radius: 36px;
  border: 1px solid rgba(10, 74, 166, 0.13);
}

.teacher-ring {
  position: absolute;
  width: 390px;
  height: 390px;
  top: 80px;
  border: 60px solid rgba(19, 159, 204, 0.12);
  border-radius: 50%;
}

.teacher-photo img {
  position: relative;
  z-index: 2;
  width: min(88%, 500px);
  height: auto;
  filter: drop-shadow(0 22px 18px rgba(14, 43, 90, 0.18));
}

.teacher-badge {
  position: absolute;
  z-index: 3;
  left: 28px;
  bottom: 28px;
  display: flex;
  flex-direction: column;
  padding: 14px 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 12px 26px rgba(15, 60, 120, 0.16);
}

.teacher-badge strong {
  font-size: 20px;
  color: var(--deep);
}

.teacher-badge span {
  color: var(--muted);
  font-size: 13px;
}

.teacher-copy h2 {
  margin-bottom: 22px;
}

.selling-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 34px;
}

.selling-grid article {
  position: relative;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(12, 70, 139, 0.07);
  transition: 0.25s;
}

.selling-grid article:hover {
  transform: translateY(-4px);
  border-color: #b9d9ef;
}

.selling-grid article > span {
  position: absolute;
  right: 18px;
  top: 12px;
  color: rgba(10, 74, 166, 0.09);
  font-size: 44px;
  font-weight: 900;
}

.selling-grid h3 {
  position: relative;
  margin: 0 0 8px;
  color: var(--deep);
  font-size: 20px;
}

.selling-grid p {
  position: relative;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.material-section {
  background: linear-gradient(180deg, #f5fbff, #eef7ff);
}

.section-heading {
  margin-bottom: 44px;
}

.section-heading.center {
  text-align: center;
}

.section-heading.center > p {
  margin: 12px auto 0;
}

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

.material-card {
  margin: 0;
  border-radius: 24px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 14px 42px rgba(10, 62, 132, 0.11);
  border: 1px solid rgba(10, 74, 166, 0.08);
}

.screen-frame {
  padding: 10px;
  background: #ddecf6;
}

.screen-frame img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 14px;
}

.material-card figcaption {
  display: flex;
  gap: 18px;
  padding: 22px 22px 26px;
}

.material-card figcaption > span {
  color: var(--cyan);
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
}

.material-card h3 {
  margin: 0 0 5px;
  color: var(--deep);
  font-size: 22px;
}

.material-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.courses-section {
  background: #fff;
}

.course-heading-clean {
  margin-bottom: 48px;
}

.course-list-group {
  margin-top: 26px;
  padding: 28px 26px;
  border: 1px solid #d8e6f3;
  border-radius: 28px;
  background: #fbfdff;
  box-shadow: 0 10px 28px rgba(10, 67, 137, 0.04);
}

.course-list-header {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 18px;
  align-items: center;
  margin-bottom: 20px;
}

.course-list-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 78px;
  height: 48px;
  border-radius: 999px;
  background: #2f0b91;
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.course-list-header h3 {
  margin: 0;
  color: #1d1f8b;
  font-size: 24px;
  line-height: 1.35;
}

.course-list-grid {
  display: grid;
  gap: 14px;
}

.course-list-grid.two-col {
  grid-template-columns: repeat(2, 1fr);
}

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

.course-list-grid.one-col {
  grid-template-columns: 1fr;
}

.course-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 62px;
  padding: 14px 18px;
  border: 1px solid #cfe1ef;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 2px 0 rgba(10, 74, 166, 0.02);
  transition: 0.24s;
}

.course-list-item span {
  display: block;
  color: #24108b;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.45;
}

.course-list-item b {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border: 1px solid #c9dfef;
  border-radius: 999px;
  background: linear-gradient(180deg, #fff, #f7fbff);
  color: #1195da;
  font-size: 18px;
  font-weight: 900;
  box-shadow: 0 2px 8px rgba(17, 149, 218, 0.08);
}

.course-list-item:hover {
  transform: translateY(-2px);
  border-color: #9cc8e7;
  box-shadow: 0 10px 22px rgba(10, 67, 137, 0.08);
}

.course-list-item:hover b {
  transform: translateX(2px);
}

.final-section {
  position: relative;
  padding: 0;
  overflow: hidden;
  color: #fff;
  background: radial-gradient(circle at 12% 30%, rgba(61, 191, 225, 0.25), transparent 26%), linear-gradient(118deg, #062b72, #0757ae 58%, #0e91c4);
}

.final-section:before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.15) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
  opacity: 0.25;
}

.final-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  align-items: stretch;
  min-height: 520px;
}

.final-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 70px 0;
}

.section-kicker.light {
  color: #cceeff;
}

.final-copy h2 {
  color: #fff;
}

.final-copy > p {
  max-width: 780px;
  margin: 22px 0 0;
  color: #fff;
  font-size: clamp(24px, 2.5vw, 32px);
  font-weight: 800;
  line-height: 1.5;
}

.final-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.final-points span {
  padding: 7px 13px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 13px;
  font-weight: 800;
}

.btn-light {
  background: #fff;
  color: var(--deep);
  box-shadow: none;
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.75);
  background: transparent;
  color: #fff;
  box-shadow: none;
}

.final-teacher {
  height: 520px;
  display: flex;
  align-self: end;
  justify-content: center;
  overflow: hidden;
}

.final-teacher img {
  width: 430px;
  max-width: none;
  height: auto;
  align-self: flex-start;
  filter: drop-shadow(0 18px 20px rgba(0, 0, 0, 0.25));
}

.notice-section {
  padding: 72px 0;
  background: #f6f8fb;
}

.notice-box {
  padding: 34px 40px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid #e3e8ef;
}

.notice-box h2 {
  font-size: 24px;
}

.notice-box ol {
  margin: 18px 0 0;
  padding-left: 1.4em;
  color: #667085;
  font-size: 14px;
}

.notice-box li + li {
  margin-top: 6px;
}

footer {
  padding: 48px 0;
  background: #071d46;
  color: #fff;
}

.footer-inner {
  text-align: center;
}

.footer-inner img {
  width: 220px;
  margin: auto;
  padding: 10px 14px;
  border-radius: 12px;
  background: #fff;
}

.footer-inner p {
  margin: 16px 0 4px;
  color: #f6d676;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.footer-inner small {
  color: #9fb3d4;
}

.mobile-cta {
  display: none;
}

.bio-orb {
  pointer-events: none;
}

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

  .header-inner {
    height: 70px;
  }

  .brand {
    width: 180px;
  }

  .header-inner .btn-small {
    margin-left: auto;
  }

  .hero {
    padding-top: 50px;
  }

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

  .hero-grid {
    gap: 48px;
  }

  .video-wrap {
    transform: none;
  }

  .highlight-bar {
    margin-top: 42px;
  }

  .teacher-grid {
    gap: 46px;
  }

  .teacher-photo {
    min-height: 590px;
  }

  .final-teacher {
    display: none;
  }

  .final-copy {
    padding: 70px 0;
  }

  .material-grid {
    grid-template-columns: 1fr 1fr;
  }

  .course-list-grid.three-col {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 720px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .site-header .btn-small {
    display: none;
  }

  .brand {
    width: 168px;
  }

  .hero {
    padding-top: 38px;
  }

  .hero-grid {
    gap: 38px;
  }

  .hero-desc,
.section-intro,
.section-heading > p {
    font-size: 16px;
  }

  .hero-actions {
    gap: 14px;
  }

  .highlight-bar {
    grid-template-columns: 1fr;
    padding: 10px 0 24px;
  }

  .highlight-bar > div {
    border-right: 0;
    border-bottom: 1px solid rgba(10, 74, 166, 0.12);
    padding: 14px 8px;
  }

  .highlight-bar > div:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 76px 0;
  }

  .teacher-photo {
    min-height: 500px;
  }

  .teacher-ring {
    width: 310px;
    height: 310px;
    border-width: 46px;
  }

  .teacher-badge {
    left: 16px;
    bottom: 16px;
  }

  .selling-grid,
.material-grid,
.course-list-grid,
.course-list-grid.two-col,
.course-list-grid.three-col {
    grid-template-columns: 1fr;
  }

  .material-grid {
    gap: 18px;
  }

  .course-list-group {
    padding: 22px 16px;
    border-radius: 22px;
  }

  .course-list-header {
    grid-template-columns: 64px 1fr;
    gap: 12px;
  }

  .course-list-badge {
    width: 58px;
    height: 40px;
    font-size: 17px;
  }

  .course-list-header h3 {
    font-size: 20px;
  }

  .course-list-item {
    min-height: 58px;
    padding: 12px 14px;
    border-radius: 18px;
  }

  .course-list-item span {
    font-size: 16px;
  }

  .course-list-item b {
    flex-basis: 38px;
    width: 38px;
    height: 38px;
    font-size: 16px;
  }

  .final-section {
    padding: 0;
  }

  .final-copy {
    padding: 72px 0 94px;
  }

  .notice-section {
    padding: 52px 0 88px;
  }

  .notice-box {
    padding: 26px 22px;
  }

  .footer-inner {
    padding-bottom: 48px;
  }

  .mobile-cta {
    position: fixed;
    display: flex;
    z-index: 60;
    left: 14px;
    right: 14px;
    bottom: 12px;
    align-items: center;
    justify-content: center;
    height: 52px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--yellow), #ff9c00);
    color: var(--deep);
    font-weight: 900;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
  }
}
