:root {
  color-scheme: dark;
  --bg: #080d1a;
  --surface: #11192b;
  --surface-soft: #151f34;
  --line: rgba(255, 255, 255, 0.1);
  --text: #f7f8fc;
  --muted: #aeb7c9;
  --orange: #ff861a;
  --orange-soft: rgba(255, 134, 26, 0.14);
  --green: #45d59b;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--text);
  font-family: "Noto Sans TC", "Microsoft JhengHei", system-ui, sans-serif;
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 134, 26, 0.13), transparent 31rem),
    radial-gradient(circle at 88% 14%, rgba(65, 93, 170, 0.18), transparent 32rem),
    var(--bg);
}
a { color: inherit; text-decoration: none; }

.site-header,
main,
footer { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 13, 26, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand img { border-radius: 12px; }
.brand span { display: grid; gap: 3px; }
.brand strong { font-size: 18px; letter-spacing: 0.04em; }
.brand small { color: var(--muted); font-size: 12px; }
.header-login {
  padding: 10px 16px;
  border: 1px solid rgba(255, 134, 26, 0.4);
  border-radius: 999px;
  color: #ffc183;
  font-weight: 700;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}
.header-login:hover { color: #fff; border-color: var(--orange); background: var(--orange-soft); }

.hero {
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  gap: 72px;
  align-items: center;
  padding: 86px 0 76px;
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 24px;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.12;
  letter-spacing: -0.045em;
}
.hero-text {
  max-width: 650px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.85;
}
.hero-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.primary-action,
.secondary-action {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  border-radius: 14px;
  font-weight: 900;
  transition: transform 160ms ease, background 160ms ease;
}
.primary-action { padding: 0 22px; color: #1b0d02; background: var(--orange); }
.secondary-action { padding: 0 20px; border: 1px solid var(--line); color: #dce2ee; background: rgba(255, 255, 255, 0.035); }
.primary-action:hover,
.secondary-action:hover { transform: translateY(-2px); }
a:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(255, 134, 26, 0.55);
  outline-offset: 4px;
}
.access-note { margin: 17px 0 0; color: #8e99ad; font-size: 13px; }
.access-note span { margin-right: 7px; color: var(--green); font-size: 10px; }

.entry-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025));
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
}
.entry-card-head {
  min-height: 50px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 20px;
  border-bottom: 1px solid var(--line);
  color: #cbd2df;
  font-size: 13px;
}
.entry-card-head strong { margin-left: auto; color: #8ce7c0; font-size: 12px; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(69, 213, 155, 0.1); }
.entry-card-body { padding: 34px; }
.entry-card-body h2 { margin-bottom: 12px; font-size: 26px; }
.entry-card-body > p { color: var(--muted); line-height: 1.7; }
.entry-card-body ul { display: grid; gap: 13px; margin: 26px 0 0; padding: 0; list-style: none; color: #dce2ee; }
.entry-card-body li::before { content: "✓"; margin-right: 10px; color: var(--green); font-weight: 900; }
.calendar-icon {
  width: 88px;
  height: 88px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin-bottom: 28px;
  padding: 22px 15px 15px;
  border: 1px solid rgba(255, 134, 26, 0.28);
  border-radius: 22px;
  background: var(--orange-soft);
  box-shadow: inset 0 12px 0 rgba(255, 134, 26, 0.14);
}
.calendar-icon span { border-radius: 4px; background: rgba(255, 255, 255, 0.58); }
.calendar-icon span:nth-child(2),
.calendar-icon span:nth-child(6) { background: var(--orange); }

.guide,
.faq { padding: 88px 0; border-top: 1px solid var(--line); }
.section-heading { max-width: 650px; margin-bottom: 34px; }
.section-heading h2 { margin-bottom: 0; font-size: clamp(30px, 4vw, 44px); letter-spacing: -0.03em; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
.steps li { min-height: 230px; padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.step-number { display: block; margin-bottom: 44px; color: var(--orange); font-size: 13px; font-weight: 900; }
.steps h3 { margin-bottom: 10px; font-size: 21px; }
.steps p { margin-bottom: 0; color: var(--muted); line-height: 1.7; }

.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary {
  position: relative;
  padding: 24px 48px 24px 2px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 800;
  list-style: none;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 20px; color: var(--orange); font-size: 26px; font-weight: 400; }
details[open] summary::after { content: "−"; }
details p { max-width: 800px; margin: -4px 0 24px; color: var(--muted); line-height: 1.8; }

.bottom-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 72px;
  padding: 34px;
  border: 1px solid rgba(255, 134, 26, 0.25);
  border-radius: 24px;
  background: linear-gradient(110deg, var(--orange-soft), rgba(255, 255, 255, 0.035));
}
.bottom-cta h2 { margin-bottom: 0; font-size: 28px; }
footer {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  color: #7f899c;
  font-size: 13px;
}
.mobile-login-bar { display: none; }

@media (max-width: 820px) {
  .site-header, main, footer { width: min(calc(100% - 28px), 680px); }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 38px; padding: 54px 0 64px; }
  .steps { grid-template-columns: 1fr; }
  .steps li { min-height: 0; }
  .step-number { margin-bottom: 28px; }
  .bottom-cta { align-items: stretch; flex-direction: column; }
  .bottom-cta .primary-action { align-self: stretch; }
}

@media (max-width: 520px) {
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .site-header { min-height: 70px; }
  .brand img { width: 38px; height: 38px; }
  .brand strong { font-size: 16px; }
  .header-login { display: none; }
  .hero { gap: 30px; padding: 42px 0 54px; }
  h1 { margin-bottom: 18px; font-size: clamp(37px, 11vw, 44px); line-height: 1.14; }
  .hero-text { font-size: 16px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .primary-action, .secondary-action { width: 100%; min-height: 56px; }
  .access-note { line-height: 1.65; }
  .entry-card-body { padding: 27px 22px; }
  .entry-card-body h2 { font-size: 24px; }
  .entry-card-head { padding-inline: 16px; }
  .guide, .faq { padding: 64px 0; }
  .steps li { padding: 22px; }
  summary { min-height: 72px; display: flex; align-items: center; padding-block: 20px; }
  .bottom-cta { margin-bottom: 48px; padding: 26px 22px; }
  .bottom-cta h2 { font-size: 24px; }
  footer { align-items: flex-start; flex-direction: column; justify-content: center; padding: 18px 0; }
  .mobile-login-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 50;
    display: block;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: rgba(8, 13, 26, 0.9);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }
  .mobile-login-bar a {
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    border-radius: 14px;
    color: #1b0d02;
    background: var(--orange);
    font-weight: 900;
    box-shadow: 0 10px 30px rgba(255, 134, 26, 0.2);
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .primary-action, .secondary-action { transition: none; }
}

/* Public learning overview */
.hero-accent{
  color:transparent;
  background:linear-gradient(115deg,#fff 0%,#ffbd9f 30%,#ff7a45 68%,#ffad87 100%);
  background-clip:text;
  -webkit-background-clip:text;
}
.trust-row{display:flex;gap:20px;flex-wrap:wrap;margin-top:18px;color:#aeb7c9;font-size:13px}
.trust-row span{display:inline-flex;align-items:center;gap:8px}
.trust-row span::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--green)}
.benefits{padding:88px 0;border-top:1px solid var(--line)}
.section-heading--wide{max-width:none;display:flex;align-items:end;justify-content:space-between;gap:36px}
.section-heading--wide>p{max-width:460px;margin:0;color:var(--muted);line-height:1.8}
.benefit-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.benefit-card{
  position:relative;
  min-height:220px;
  overflow:hidden;
  padding:24px;
  border:1px solid var(--line);
  border-radius:20px;
  background:linear-gradient(145deg,rgba(255,255,255,.055),rgba(255,255,255,.018));
}
.benefit-card::after{
  content:"";
  position:absolute;
  right:-46px;
  bottom:-58px;
  width:150px;
  height:150px;
  border-radius:50%;
  background:rgba(255,134,26,.12);
  filter:blur(18px);
}
.benefit-card>span{display:block;margin-bottom:42px;color:var(--orange);font-size:12px;font-weight:900}
.benefit-card h3{margin-bottom:10px;font-size:21px}
.benefit-card p{position:relative;z-index:1;margin:0;color:var(--muted);line-height:1.75}
.guide .section-heading>p{margin:12px 0 0;color:var(--muted);line-height:1.8}
.steps{grid-template-columns:repeat(4,minmax(0,1fr))}
.steps li{min-height:215px}
@media(max-width:820px){
  .section-heading--wide{display:block}
  .section-heading--wide>p{margin-top:12px}
  .benefit-grid{grid-template-columns:1fr}
  .benefit-card{min-height:0}
  .benefit-card>span{margin-bottom:26px}
}
@media(max-width:520px){
  .benefits{padding:64px 0}
  .trust-row{gap:10px 16px;font-size:12px}
}