:root {
  --black: #0c0b0b;
  --black-soft: #171313;
  --red: #7f151c;
  --red-dark: #4d0b10;
  --red-bright: #a5242d;
  --gold: #c9a34a;
  --gold-light: #f0d889;
  --gold-pale: #fff4ce;
  --paper: #fffdfa;
  --cream: #f5f0e7;
  --ink: #28221e;
  --muted: #746b64;
  --line: #dfd3c4;
  --white: #fff;
  --shadow: 0 18px 46px rgba(28, 17, 12, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #eee9e2;
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
.page { overflow: hidden; background: var(--paper); }
.container { width: min(1120px, calc(100% - 36px)); margin: 0 auto; }
.container--narrow { width: min(820px, calc(100% - 36px)); }
.sp-only { display: none; }

.hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 64px;
  color: #fff;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(194, 154, 62, .17), transparent 38%),
    linear-gradient(135deg, #080707 0%, #171011 52%, #260d10 100%);
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(224, 189, 101, .13);
  transform: rotate(45deg);
}
.hero::before { width: 440px; height: 440px; left: -300px; top: -250px; }
.hero::after { width: 520px; height: 520px; right: -360px; bottom: -340px; }
.hero__ornament {
  position: absolute;
  inset: 0 auto auto 50%;
  width: min(760px, 88%);
  height: 4px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--gold-light), var(--gold), var(--gold-light), transparent);
}
.hero__inner { position: relative; z-index: 1; }
.hero__eyebrow,
.section-label,
.final-cta__label {
  margin: 0;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .22em;
}
.hero__proof {
  display: inline-flex;
  margin: 18px 0 20px;
  align-items: baseline;
  gap: 8px;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(232, 201, 122, .42);
  color: #f4ead6;
  font-size: 16px;
}
.hero__proof strong { color: var(--gold-light); font-size: 24px; }
.hero__title {
  margin: 0;
  color: #fff;
  font-family: "Noto Serif TC", "PMingLiU", serif;
  font-size: clamp(40px, 5.4vw, 68px);
  line-height: 1.22;
  letter-spacing: .015em;
  text-shadow: 0 5px 22px rgba(0,0,0,.45);
}
.hero__title em { color: var(--gold-light); font-style: normal; }
.hero__lead { margin: 28px 0 0; color: #efe7dc; font-size: 18px; font-weight: 700; }
.hero__statement { margin: 12px 0 0; color: #fff; font-size: 21px; font-weight: 800; line-height: 1.7; }
.hero__statement span { color: var(--gold-light); }
.hero__limited {
  display: inline-block;
  margin-top: 32px;
  padding: 10px 22px;
  border: 1px solid rgba(240, 216, 137, .62);
  color: var(--gold-pale);
  background: rgba(0,0,0,.38);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .04em;
}

.section { padding: 10px 0; }
.section--cream { background: var(--cream); }
.section-heading { margin-bottom: 34px; }
.section-heading--center { text-align: center; }
.section-heading--compact { margin-bottom: 24px; }
.section-heading h2 {
  margin: 8px 0 0;
  color: #241b18;
  font-family: "Noto Serif TC", "PMingLiU", serif;
  font-size: clamp(26px, 3.1vw, 38px);
  line-height: 1.45;
}

.info-table {
  overflow: hidden;
  border: 1px solid #bfb0a1;
  background: #fff;
  box-shadow: var(--shadow);
}
.info-row { display: grid; grid-template-columns: 180px minmax(0, 1fr); border-bottom: 1px solid #d7cbc0; }
.info-row:last-child { border-bottom: 0; }
.info-label {
  padding: 28px 22px;
  color: #fff7df;
  background: linear-gradient(145deg, #21191a, #441218);
  font-weight: 800;
  letter-spacing: .04em;
}
.info-content { padding: 25px 30px; background: #fffdfa; }
.info-content p { margin: 0; }
.info-content p + p { margin-top: 14px; }
.info-content h3 { margin: 0 0 2px; color: var(--red); font-family: "Noto Serif TC", serif; font-size: 28px; }
.profile-role { color: #4c4038; font-weight: 800; }
.free-text { color: var(--red-bright); font-size: 25px; }
.info-content small { color: var(--muted); }
.check-list { margin: 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 28px; }
.check-list li + li { margin-top: 7px; }
.check-list li::before { content: "◆"; position: absolute; left: 2px; color: var(--gold); font-size: 12px; }
.info-row--compact .info-label, .info-row--compact .info-content { padding-top: 18px; padding-bottom: 18px; }

.cta-section {
  padding: 46px 0 52px;
  background: linear-gradient(180deg, #f2ece3, #fffdfa);
}
.cta-box { text-align: center; }
.cta-box__gift { margin: 0 0 16px; color: #483a32; font-weight: 800; }
.cta-button {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 88px;
  padding: 14px 64px 14px 26px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border: 1px solid #a47713;
  color: #211708;
  background: linear-gradient(180deg, #ffe695 0%, #e4b83e 50%, #c7921d 100%);
  box-shadow: 0 6px 0 #8c6415, 0 16px 30px rgba(105, 68, 7, .22), inset 0 1px rgba(255,255,255,.75);
  text-decoration: none;
  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
}
.cta-button span { font-size: 13px; font-weight: 800; letter-spacing: .05em; }
.cta-button strong { font-size: clamp(20px, 3vw, 28px); line-height: 1.35; }
.cta-button i { position: absolute; right: 24px; top: 50%; transform: translateY(-52%); font-family: Georgia, serif; font-size: 42px; font-style: normal; }
.cta-button:hover { transform: translateY(-2px); filter: brightness(1.04); }
.cta-button:active { transform: translateY(4px); box-shadow: 0 2px 0 #8c6415, 0 8px 18px rgba(105,68,7,.17); }
.cta-box__note { margin: 14px 0 0; color: #81766d; font-size: 12px; }

/* ===========================
   Media
=========================== */

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

  max-width: 940px;
  margin: 0 auto;
}

.media-item {
  display: flex;
  align-items: center;
  justify-content: center;

  min-height: 125px;
  padding: 12px;

  background: #fff;

  border: 1px solid #e1d5c6;

  box-shadow:
    0 8px 24px rgba(36, 27, 19, .06);

  transition:
    transform .25s ease,
    box-shadow .25s ease;
}

.media-item img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.media-item:hover {
  transform: translateY(-3px);

  box-shadow:
    0 14px 30px rgba(36, 27, 19, .10);
}


/* Tablet */
@media (max-width: 900px) {

  .media-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
  }

  .media-item {
    min-height: 100px;
    padding: 8px;
  }

}


/* Smartphone */
@media (max-width: 767px) {

  .media-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .media-item {
    min-height: auto;
    padding: 7px;
  }

}

.curriculum { background: #fffdfa; }
.lecture-list { display: grid; gap: 28px; }
.lecture-card {
  overflow: hidden;
  border: 1px solid #d5c7b7;
  background: #fff;
  box-shadow: 0 12px 32px rgba(44, 28, 22, .08);
}
.lecture-card__index {
  padding: 12px 20px;
  color: #fff2d0;
  background: linear-gradient(90deg, #161111, #5b1118 70%, #7b171f);
  font-family: "Noto Serif TC", serif;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .03em;
}
.lecture-card__index span { margin-right: 9px; color: var(--gold-light); font-family: Georgia, serif; }
.lecture-card--pre .lecture-card__index { background: linear-gradient(90deg, #302415, #806121); }
.lecture-card__grid { display: grid; grid-template-columns: minmax(0, 46%) minmax(0, 54%); }
.lecture-card__visual { min-height: 100%; background: #111; }
.lecture-card__visual img { width: 100%; height: 100%; object-fit: cover; }
.lecture-card__body { padding: 24px 28px 26px; }
.lecture-card__kicker { margin: 0; color: var(--gold); font-size: 11px; font-weight: 900; letter-spacing: .18em; }
.lecture-card h3 { margin: 5px 0 14px; color: #2e201a; font-family: "Noto Serif TC", serif; font-size: 24px; line-height: 1.45; }
.lecture-card ul { margin: 0; padding-left: 1.2em; }
.lecture-card li + li { margin-top: 5px; }
.lecture-card li::marker { color: var(--red); }

.final-cta {
  position: relative;
  overflow: hidden;
  padding: 76px 0 82px;
  color: #fff;
  text-align: center;
  background: radial-gradient(circle at 50% -10%, rgba(197,156,66,.18), transparent 42%), linear-gradient(135deg, #090808, #260e11);
}
.final-cta__ornament { position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, transparent, var(--gold-light), var(--gold), var(--gold-light), transparent); }
.final-cta h2 { margin: 10px 0 14px; color: #fff; font-family: "Noto Serif TC", serif; font-size: clamp(30px, 4vw, 44px); line-height: 1.45; }
.final-cta p:not(.final-cta__label) { margin: 0 0 28px; color: #e2d9ce; }
.cta-button--final { max-width: 760px; margin: 0 auto; }

.footer { padding: 28px 0 calc(28px + env(safe-area-inset-bottom)); color: #aaa29c; background: #090808; font-size: 11px; line-height: 1.75; text-align: center; }
.footer p { margin: 2px 0; }

@media (max-width: 767px) {
  body { font-size: 15px; line-height: 1.8; }
  .container, .container--narrow { width: min(100% - 28px, 720px); }
  .sp-only { display: initial; }
  .hero { padding: 38px 0 42px; }
  .hero__eyebrow { font-size: 10px; }
  .hero__proof { margin: 14px 0 18px; font-size: 13px; }
  .hero__proof strong { font-size: 19px; }
  .hero__title { font-size: clamp(34px, 10vw, 47px); line-height: 1.28; }
  .hero__lead { margin-top: 22px; font-size: 15px; line-height: 1.65; }
  .hero__statement { font-size: 18px; }
  .hero__limited { margin-top: 24px; padding: 9px 12px; font-size: 14px; }
  .section { padding: 24px 0; }
  .section-heading { margin-bottom: 24px; }
  .section-heading h2 { font-size: 27px; }
  .info-table { box-shadow: 0 8px 24px rgba(28,17,12,.08); }
  .info-row { display: block; }
  .info-label { padding: 10px 15px; font-size: 14px; }
  .info-content { padding: 18px 16px 20px; }
  .info-content h3 { font-size: 24px; }
  .free-text { font-size: 22px; }
  .cta-section { padding: 36px 0 42px; }
  .cta-box__gift { font-size: 14px; line-height: 1.7; }
  .cta-button { min-height: 78px; padding: 13px 48px 13px 14px; }
  .cta-button span { font-size: 11px; }
  .cta-button strong { font-size: 20px; }
  .cta-button i { right: 15px; font-size: 36px; }
  .media-frame { padding: 9px; }
  .lecture-list { gap: 22px; }
  .lecture-card__index { padding: 11px 14px; font-size: 16px; }
  .lecture-card__grid { display: block; }
  .lecture-card__visual { aspect-ratio: 16 / 9; min-height: 0; }
  .lecture-card__body { padding: 19px 17px 22px; }
  .lecture-card h3 { font-size: 21px; }
  .final-cta { padding: 20px 0 20px; }
  .final-cta h2 { font-size: 29px; }
}

@media (max-width: 420px) {
  .hero__title { font-size: 33px; }
  .section-heading h2 { font-size: 20px; }
  .cta-button strong { font-size: 18px; }
  .lecture-card__index { font-size: 15px; }
}

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

/* ===========================
   CTA Button
=========================== */

.cta-button{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    width: 100%;
    max-width: 620px;
    margin: 0 auto;

    padding: 22px 28px;

    color:#fff;
    text-decoration:none;
    font-weight:700;
    font-size:clamp(20px,2.3vw,30px);

    background:linear-gradient(180deg,#20c65a 0%,#14a84b 100%);
    border-radius:12px;

    box-shadow:
        0 10px 28px rgba(18,170,73,.28),
        0 4px 10px rgba(0,0,0,.22);

    transition:.25s;
    overflow:hidden;

    animation:ctaFloat 2.8s ease-in-out infinite;
}

/* 柔和發光 */
.cta-button::before{
    content:"";
    position:absolute;
    inset:-2px;
    border-radius:inherit;
    box-shadow:0 0 28px rgba(58,255,132,.45);
    opacity:.6;
    animation:ctaGlow 2.5s ease-in-out infinite;
}

/* 光澤掃過 */
.cta-button::after{
    content:"";
    position:absolute;
    top:0;
    left:-120%;
    width:50%;
    height:100%;

    background:
        linear-gradient(
            120deg,
            transparent,
            rgba(255,255,255,.55),
            transparent);

    transform:skewX(-25deg);

    animation:shine 3.5s infinite;
}

.cta-button:hover{

    transform:
        translateY(-3px)
        scale(1.02);

    box-shadow:
        0 16px 36px rgba(18,170,73,.38),
        0 8px 16px rgba(0,0,0,.25);
}

.cta-button:active{
    transform:translateY(1px);
}

.cta-button strong{
    position:relative;
    z-index:2;
}

.cta-button i{
    position:relative;
    z-index:2;
    font-style:normal;
    font-size:30px;
}


/* 浮動 */
@keyframes ctaFloat{

    0%,100%{
        transform:translateY(0);
    }

    50%{
        transform:translateY(-6px);
    }

}

/* 發光 */
@keyframes ctaGlow{

    0%,100%{
        opacity:.35;
    }

    50%{
        opacity:.85;
    }

}

/* 光澤 */
@keyframes shine{

    0%{
        left:-120%;
    }

    55%{
        left:140%;
    }

    100%{
        left:140%;
    }

}

@media(max-width:768px){

    .cta-button{

        padding:18px 20px;
        font-size:22px;

    }

}
/* ===========================
   HERO IMAGE
=========================== */

.hero.hero--image {
  position: relative;
  width: 100%;
  padding: 0;
  margin: 0;
  background: none;
  overflow: hidden;
}

/* 原本裝飾關閉 */
.hero.hero--image::before,
.hero.hero--image::after {
  display: none;
}

.hero.hero--image picture {
  display: block;
  width: 100%;
}

.hero-image {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
}
