:root {
  --blue: #0482c8;
  --purple: #0482c8;
  --text: #250481;
  --muted: #66708e;
  --bg: #f6f8ff;
  --white: #fff;
  --line: #dde5fb;
  --shadow: 0 12px 28px rgba(40, 61, 152, 0.1);
}

* {
  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.7;
}

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

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

button {
  font: inherit;
}

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

.event-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(76, 95, 178, 0.1);
}

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

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

.header-cta,
.event-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
}

.header-cta,
.event-btn.primary,
.fixed-cta a {
  color: #fff;
  background: #0482c8;
  box-shadow: 0 10px 22px rgba(53, 79, 215, 0.2);
}

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

.event-btn {
  padding: 14px 24px;
  transition: 0.2s;
}

.event-btn.light {
  color: #33408a;
  background: #fff;
  border: 1px solid rgba(82, 99, 180, 0.16);
}

.event-btn.full {
  width: 100%;
}

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

.hero-picture {
  position: absolute;
  inset: 0;
}

.hero-bg-simple {
  background: radial-gradient(circle at 20% 22%, rgba(117, 138, 255, 0.18), transparent 30%), radial-gradient(circle at 82% 20%, rgba(84, 113, 255, 0.14), transparent 28%), linear-gradient(180deg, #f8fbff 0%, #eef3ff 100%);
}

.hero-overlay {
  position: relative;
  z-index: 1;
  min-height: 640px;
  display: flex;
  align-items: center;
}

.hero-simplified {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 34px;
  align-items: center;
}

.hero-title-block {
  padding: 54px 0;
}

.campaign-label {
  display: inline-flex;
  padding: 8px 16px;
  border-radius: 999px;
  background: #0482c8;
  color: #fff;
  font-weight: 900;
  letter-spacing: 0.04em;
  margin: 0 0 18px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(2.45rem, 4.5vw, 4.4rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #250481;
  margin-bottom: 18px;
}

h1 span {
  color: #4b3dff;
}

.hero-subtitle {
  font-size: 1.12rem;
  max-width: 560px;
  color: #49557d;
  margin-bottom: 24px;
}

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

.hero-illustration img {
  width: 100%;
  max-width: 420px;
  margin-left: auto;
}

.activity-strip {
  margin-top: -24px;
  position: relative;
  z-index: 4;
  background: #fff;
}

.strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border-radius: 24px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.strip-grid > div {
  padding: 18px 20px;
  min-height: 88px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--line);
}

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

.strip-grid strong {
  font-size: 1.1rem;
  color: #250481;
}

.strip-grid span {
  color: var(--muted);
  font-weight: 700;
}

.event-section {
  padding: 84px 0;
}

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

.section-white {
  background: #fff;
}

.section-purple {
  background: linear-gradient(180deg, #f7f9ff 0%, #f1f5ff 100%);
}

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

.section-last {
  background: #fff;
}

.section-title {
  max-width: 860px;
  margin: 0 auto 34px;
}

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

.section-title p {
  display: inline-flex;
  margin: 0 0 10px;
  color: var(--blue);
  font-weight: 800;
  letter-spacing: 0.06em;
}

.section-title h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.25;
  color: #250481;
}

.title-light p,
.title-light h2 {
  color: #250481;
}

.image-copy-card,
.wide-image-panel,
.final-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.copy-side,
.panel-copy,
.final-copy {
  padding: 40px;
}

.copy-side h3 {
  font-size: 1.42rem;
  line-height: 1.45;
  color: #250481;
  margin-bottom: 18px;
}

.line-art-panel,
.panel-illustration {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: linear-gradient(180deg, #fbfcff 0%, #f1f5ff 100%);
}

.line-art-panel img,
.panel-illustration img {
  width: min(100%, 340px);
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
}

.check-list li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--purple));
}

.radar-event-layout {
  display: grid;
  grid-template-columns: minmax(0, 500px) 1fr;
  gap: 32px;
  align-items: center;
}

.radar-box {
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.three-points {
  display: grid;
  gap: 16px;
}

.three-points article {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.three-points img {
  width: 72px;
}

.three-points h3 {
  font-size: 1.18rem;
  color: #250481;
  margin: 0 0 4px;
}

.three-points p {
  margin: 0;
  color: var(--muted);
}

.benefit-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 28px;
}

.benefit-card {
  padding: 24px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  text-align: center;
}

.benefit-card img {
  width: 80px;
  margin: 0 auto 12px;
}

.benefit-card h3 {
  font-size: 1.2rem;
  color: #250481;
  margin-bottom: 8px;
}

.benefit-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.panel-copy p {
  font-size: 1.08rem;
  color: #4d5881;
  margin-bottom: 14px;
}

.panel-copy strong {
  font-size: 1.46rem;
  line-height: 1.4;
  color: #250481;
}

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

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px 22px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.product-card.hidden {
  display: none;
}

.product-card.recommend {
  border: 2px solid rgba(255, 121, 50, 0.45);
  background: linear-gradient(180deg, #fff 0%, #fff9f1 100%);
}

.ribbon {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 7px 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, #fbb03b, #fbb03b);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 900;
}

.category {
  display: inline-flex;
  width: max-content;
  padding: 7px 13px;
  border-radius: 999px;
  background: #eef3ff;
  color: #250481;
  font-size: 0.88rem;
  font-weight: 900;
}

.product-card h3 {
  font-size: 1.2rem;
  line-height: 1.42;
  color: #250481;
  margin: 0;
  padding-right: 80px;
}

.product-card:not(.recommend) h3 {
  padding-right: 0;
}

.teacher {
  margin: 0;
  color: #6f7694;
  font-weight: 700;
}

.product-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.product-card li {
  margin: 6px 0;
}

.price {
  margin-top: auto;
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.price strong {
  font-size: 1.92rem;
  line-height: 1;
  color: #fbb03b;
}

.price span {
  color: #8a92af;
  font-weight: 800;
  text-decoration: line-through;
}

.final-copy h2 {
  font-size: clamp(1.75rem, 2.9vw, 2.55rem);
  line-height: 1.28;
  color: #250481;
  margin-bottom: 16px;
}

.final-copy p {
  color: var(--muted);
  margin-bottom: 0;
}

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

.fixed-cta span {
  font-weight: 800;
  color: #250481;
}

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

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

.footer-inner {
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
}

@media (max-width: 1080px) {
  .hero-simplified,
.image-copy-card,
.wide-image-panel,
.final-panel,
.radar-event-layout {
    grid-template-columns: 1fr;
  }

  .hero-overlay {
    min-height: auto;
  }

  .hero-illustration img {
    max-width: 320px;
    margin: 0 auto;
  }

  .benefit-row {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .copy-side,
.panel-copy,
.final-copy {
    padding: 30px;
  }

  .strip-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .strip-grid > div:nth-child(2) {
    border-right: 0;
  }

  .strip-grid > div:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }
}
@media (max-width: 760px) {
  .container {
    width: min(100% - 24px, 1120px);
  }

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

  .brand img {
    width: 170px;
  }

  .header-cta {
    display: none;
  }

  .hero-title-block {
    padding: 34px 0 8px;
  }

  h1 {
    font-size: 2.2rem;
  }

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

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

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

  .strip-grid {
    grid-template-columns: 1fr;
    border-radius: 20px;
  }

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

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

  .event-section {
    padding: 64px 0;
  }

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

  .section-title h2 {
    font-size: 1.68rem;
  }

  .copy-side,
.panel-copy,
.final-copy {
    padding: 24px 18px;
  }

  .copy-side h3 {
    font-size: 1.24rem;
  }

  .three-points article {
    grid-template-columns: 60px 1fr;
    padding: 16px;
    gap: 12px;
  }

  .three-points img {
    width: 60px;
  }

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

  .product-card h3 {
    padding-right: 0;
  }

  .ribbon {
    position: static;
    width: max-content;
  }

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

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

  .footer {
    padding-bottom: 102px;
  }
}
/* v2 adjustment: PC featured card as a larger horizontal recommendation block */
@media (min-width: 1081px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }

  .product-card.recommend {
    grid-column: 1/-1;
    display: grid;
    grid-template-columns: 1.05fr 1.25fr 0.75fr;
    grid-template-areas: "tag title price" "tag points price" "tag btn btn";
    column-gap: 28px;
    row-gap: 12px;
    align-items: center;
    padding: 32px 34px;
    min-height: 230px;
    background: radial-gradient(circle at 10% 15%, rgba(255, 150, 54, 0.18), transparent 28%), linear-gradient(135deg, #fff 0%, #fff8ee 100%);
  }

  .product-card.recommend .ribbon {
    position: static;
    grid-area: tag;
    align-self: start;
    width: max-content;
    margin-bottom: 10px;
  }

  .product-card.recommend .category {
    grid-area: tag;
    align-self: center;
    margin-top: 44px;
  }

  .product-card.recommend h3 {
    grid-area: title;
    padding-right: 0;
    font-size: 1.55rem;
    margin-bottom: 0;
  }

  .product-card.recommend .teacher {
    grid-area: title;
    align-self: end;
    margin-top: 48px;
  }

  .product-card.recommend ul {
    grid-area: points;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px 16px;
    padding-left: 0;
    list-style: none;
    margin-top: 8px;
  }

  .product-card.recommend ul li {
    position: relative;
    padding-left: 18px;
    margin: 0;
  }

  .product-card.recommend ul li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), var(--purple));
  }

  .product-card.recommend .price {
    grid-area: price;
    justify-content: center;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 20px 22px;
    border-radius: 22px;
    background: #fff;
    border: 1px solid rgba(255, 121, 50, 0.18);
    box-shadow: 0 10px 26px rgba(255, 98, 43, 0.08);
  }

  .product-card.recommend .price strong {
    font-size: 2.45rem;
  }

  .product-card.recommend .event-btn {
    grid-area: btn;
    justify-self: end;
    width: min(360px, 100%);
  }
}
/* v2 radar readability adjustment */
.radar-box {
  overflow: hidden;
}

.radar-box img {
  width: 100%;
  height: auto;
}

/* photo_v1: replace line-art presentation with provided JPG scene photos */
:root {
  --blue: #0482c8;
  --purple: #0482c8;
  --text: #250481;
  --muted: #63708d;
  --bg: #f7fbff;
  --line: #dbe8f5;
  --shadow: 0 14px 30px rgba(32, 68, 120, 0.1);
}

body {
  background: #0482c8;
}

.event-header {
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(84, 128, 166, 0.14);
}

.header-cta,
.event-btn.primary,
.fixed-cta a,
.campaign-label {
  background: #0482c8;
}

.event-hero {
  background: #f4faff;
}

.hero-picture {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.95;
}

.hero-picture:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.84) 34%, rgba(255, 255, 255, 0.48) 62%, rgba(255, 255, 255, 0.18) 100%), linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0) 58%, rgba(232, 245, 255, 0.5) 100%);
}

.hero-illustration {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 18px 42px rgba(50, 92, 130, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.86);
  background: #fff;
}

.hero-illustration img {
  width: 100%;
  max-width: none;
  height: 380px;
  object-fit: cover;
  object-position: center;
  margin: 0;
}

.event-btn.light {
  color: #1e4f93;
  border-color: rgba(39, 126, 196, 0.2);
}

.activity-strip .container,
.strip-grid {
  border: 1px solid rgba(111, 151, 189, 0.13);
}

.strip-grid strong,
.section-title h2,
.copy-side h3,
.three-points h3,
.benefit-card h3,
.panel-copy strong,
.product-card h3,
.final-copy h2 {
  color: #250481;
}

.section-title p {
  color: #0482c8;
}

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

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

.image-copy-card,
.wide-image-panel,
.final-panel {
  border-color: rgba(103, 150, 188, 0.16);
  box-shadow: 0 18px 42px rgba(38, 78, 130, 0.1);
}

.photo-panel {
  display: block;
  padding: 0;
  background: #fff;
  overflow: hidden;
}

.photo-panel img {
  width: 100%;
  height: 100%;
  min-height: 390px;
  object-fit: cover;
  object-position: center;
}

.panel-illustration.photo-panel img {
  min-height: 360px;
}

.final-img.photo-panel img {
  min-height: 420px;
}

.benefit-card,
.three-points article,
.product-card,
.radar-box {
  border-color: rgba(103, 150, 188, 0.15);
  box-shadow: 0 12px 28px rgba(38, 78, 130, 0.08);
}

.product-card.recommend {
  border-color: rgba(21, 144, 222, 0.42);
  background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
}

.product-card.recommend .price {
  border-color: rgba(21, 144, 222, 0.18);
  box-shadow: 0 10px 26px rgba(21, 144, 222, 0.08);
}

.price strong {
  color: #fbb03b;
}

.ribbon {
  background: #0482c8;
}

.category {
  background: #eef8ff;
  color: #250481;
}

.fixed-cta {
  border-color: rgba(103, 150, 188, 0.18);
}

@media (max-width: 1080px) {
  .hero-illustration img {
    height: auto;
    max-height: 360px;
  }

  .photo-panel img,
.panel-illustration.photo-panel img,
.final-img.photo-panel img {
    min-height: 320px;
  }
}
@media (max-width: 760px) {
  .hero-picture img {
    object-position: 68% center;
  }

  .hero-picture:after {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.82) 42%, rgba(255, 255, 255, 0.38) 100%);
  }

  .hero-illustration {
    display: none;
  }

  .photo-panel img,
.panel-illustration.photo-panel img,
.final-img.photo-panel img {
    min-height: 240px;
  }
}
/* photo_v2: footer official notice */
.footer {
  padding: 52px 0 104px;
  background: #f7fbff;
}

.footer-inner.footer-notice {
  display: block;
  border-top: 1px solid rgba(103, 150, 188, 0.18);
  padding-top: 28px;
}

.footer-notice h2 {
  margin: 0 0 18px;
  color: #250481;
  font-size: 1.55rem;
  line-height: 1.3;
  text-align: left;
}

.footer-notice ol {
  margin: 0;
  padding-left: 1.35em;
  color: #63708d;
  font-size: 0.96rem;
}

.footer-notice li {
  margin: 7px 0;
}

@media (max-width: 760px) {
  .footer {
    padding: 42px 0 102px;
  }

  .footer-notice h2 {
    font-size: 1.32rem;
  }

  .footer-notice ol {
    font-size: 0.9rem;
  }
}
/* 20260609 StudyBank palette override - no copy changes */
:root {
  --blue: #0482c8;
  --purple: #0482c8;
  --text: #250481;
}

.header-cta,
.event-btn.primary,
.fixed-cta a,
.campaign-label,
.filter-chip.is-active,
.btn-primary,
.btn.btn-primary {
  background: #0482c8 !important;
  background-image: none !important;
}

h1,
h2,
h3,
strong,
.strip-grid strong,
.section-title h2,
.copy-side h3,
.three-points h3,
.benefit-card h3,
.panel-copy strong,
.product-card h3,
.final-copy h2,
.footer-notice h2 {
  color: #250481 !important;
}

h1 span {
  color: #250481 !important;
  background: transparent !important;
  background-image: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
}

.price strong,
.sale,
.amount,
.money,
.product-card .price strong {
  color: #fbb03b !important;
}

.ribbon {
  background: #fbb03b !important;
  background-image: none !important;
}
