:root {
  --bg: #fff9f2;
  --surface: #ffffff;
  --ink: #3f2b17;
  --muted: #715844;
  --primary: #ff7a18;
  --primary-deep: #e85b00;
  --primary-soft: #fff1e5;
  --accent: #00c2a8;
  --accent-deep: #009b86;
  --gold: #ffbf3f;
  --cyan: #2ed4ff;
  --mint: #31c7a8;
  --coral: #ff6f61;
  --line: #ffe0c7;
  --radius: 18px;
  --radius-lg: 24px;
  --shadow-soft: 0 20px 50px rgba(255, 122, 24, 0.14);
  --shadow-card: 0 14px 34px rgba(255, 122, 24, 0.18);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  line-height: 1.62;
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  background:
    radial-gradient(circle at 8% 8%, rgba(46, 212, 255, 0.18), transparent 32%),
    radial-gradient(circle at 94% 12%, rgba(255, 122, 24, 0.17), transparent 30%),
    radial-gradient(circle at 82% 72%, rgba(49, 199, 168, 0.12), transparent 35%),
    linear-gradient(180deg, #fffdf8 0%, #fff9f2 40%, #fffdf7 100%);
}

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

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

h1,
h2,
h3,
.brand-text strong,
.btn,
.metric-value,
.step-no,
.site-nav {
  font-family: "Sora", "Manrope", "Noto Sans TC", sans-serif;
}

.container {
  width: min(92%, var(--max));
  margin: 0 auto;
}

main .container,
.site-footer .container {
  width: min(90%, var(--max));
}

.section-pad {
  padding: clamp(3rem, 6vw, 5.2rem) 0;
}

.section-head {
  max-width: 72ch;
}

.eyebrow {
  margin: 0 0 .7rem;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .34rem .72rem;
  border-radius: 999px;
  font: 700 .75rem/1 "Sora", sans-serif;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: #b24c00;
  background: linear-gradient(90deg, rgba(45, 184, 255, .17), rgba(255, 140, 66, .18));
  border: 1px solid rgba(255, 122, 24, 0.24);
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.65rem, 2.9vw, 2.5rem);
  line-height: 1.18;
  letter-spacing: -.01em;
  color: var(--primary-deep);
}

.section-intro {
  margin: .9rem 0 0;
  max-width: 65ch;
  color: var(--muted);
}

.topbar {
  display: none;
  background: linear-gradient(96deg, #ff7a18, #ff9f1a 58%, #2ed4ff);
  color: #eaf2ff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.topbar-wrap {
  min-height: 38px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .8rem;
  font-size: .76rem;
  font-weight: 600;
}

.topbar-wrap p {
  margin: 0;
  letter-spacing: .02em;
}

.topbar-links {
  display: flex;
  align-items: center;
  gap: .78rem;
}

.topbar-links a {
  position: relative;
  color: #f7fbff;
}

.topbar-links a:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -0.42rem;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  transform: translateY(-50%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: transparent;
  backdrop-filter: none;
  border-bottom: 1px solid transparent;
  box-shadow: none;
  transition: background .28s ease, border-color .28s ease, box-shadow .28s ease, backdrop-filter .28s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(28, 79, 152, 0.12);
  box-shadow: 0 8px 22px rgba(20, 62, 125, 0.08);
}

.nav-wrap {
  min-height: 76px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: .78rem;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(140deg, var(--primary), #ffb11f 62%, #2ed4ff);
  box-shadow: 0 12px 24px rgba(255, 122, 24, .34);
}

.brand-text {
  display: grid;
  line-height: 1.14;
}

.brand-text strong {
  font-size: .96rem;
  font-weight: 700;
  letter-spacing: -.01em;
}

.brand-text small {
  color: var(--muted);
  font-size: .73rem;
}

.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 1.2rem;
}

.site-nav a {
  position: relative;
  padding: .2rem .35rem;
  border-radius: 12px;
  font-size: .86rem;
  font-weight: 700;
  white-space: nowrap;
  color: #163a7a;
  background: transparent;
  border: 0;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: -3px;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--accent), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: .9rem 1.35rem;
  font-size: .93rem;
  font-weight: 700;
  line-height: 1;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.btn::after {
  content: "";
  position: absolute;
  top: -10%;
  left: -140%;
  width: 46%;
  height: 120%;
  transform: skewX(-26deg);
  background: rgba(255, 255, 255, .32);
  transition: left .52s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn:hover::after,
.btn:focus-visible::after {
  left: 145%;
}

.btn-small {
  padding: .74rem 1.08rem;
  font-size: .83rem;
  color: #fff;
  background: linear-gradient(100deg, var(--primary), #ff9f1a);
  box-shadow: 0 10px 20px rgba(255, 122, 24, 0.36);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(104deg, #ff8f2b 0%, #ff7a18 48%, #ffb042 100%);
  box-shadow: 0 14px 28px rgba(255, 140, 66, 0.32);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  filter: saturate(1.08);
  box-shadow: 0 18px 30px rgba(255, 140, 66, 0.42);
}

.btn-ghost {
  color: var(--primary-deep);
  border: 1px solid rgba(17, 58, 118, 0.22);
  background: linear-gradient(90deg, #ffffff, #f5faff);
}

.hero {
  position: relative;
  overflow: clip;
  padding-top: 0;
}

.hero.section-pad {
  padding-top: 0;
}

.hero::before,
.hero::after {
  content: none;
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.hero::before {
  width: min(36vw, 420px);
  aspect-ratio: 1;
  top: -120px;
  right: -100px;
  background: radial-gradient(circle, rgba(45, 184, 255, .28), rgba(45, 184, 255, .02) 72%);
  filter: blur(1px);
}

.hero::after {
  width: min(32vw, 360px);
  aspect-ratio: 1;
  left: -110px;
  bottom: -90px;
  background: radial-gradient(circle, rgba(255, 140, 66, .24), rgba(255, 140, 66, .03) 70%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "copy";
  align-items: stretch;
  gap: 0;
  min-height: clamp(560px, 74vh, 760px);
  border-radius: 0 0 20px 20px;
  overflow: hidden;
  border: 1px solid #bdd0e8;
  box-shadow: none;
  background: linear-gradient(120deg, #dce3ea 0%, #d8e0e8 58%, #d9e2eb 100%);
  padding: 0;
}

.hero-copy {
  grid-area: copy;
  position: relative;
  z-index: 3;
  width: 100%;
  margin: 0;
  padding: clamp(1.1rem, 3.2vw, 2.2rem);
  border-radius: 0;
  border: 0;
  background: linear-gradient(120deg, rgba(223, 232, 240, .96), rgba(219, 229, 238, .9));
  backdrop-filter: none;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(2.5rem, 5.8vw, 5rem);
  line-height: 1.04;
  letter-spacing: -.03em;
  color: #18438a;
  background: none;
  animation: none;
}

.hero-sub {
  margin: 1.3rem 0 .52rem;
  max-width: 40ch;
  color: #1a4a92;
  font-size: clamp(1.06rem, 1.5vw, 1.18rem);
  font-weight: 600;
}

.hero-local {
  margin: 0;
  max-width: 42ch;
  color: #4b6288;
}

.hero-badges {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: .56rem;
}

.hero-badges span {
  display: inline-flex;
  align-items: center;
  gap: .34rem;
  padding: .36rem .68rem;
  border-radius: 999px;
  font-size: .74rem;
  font-weight: 700;
  color: #1c4f98;
  background: rgba(226, 236, 247, 0.9);
  border: 1px solid rgba(72, 124, 194, 0.26);
}

.hero-cta {
  margin-top: 1.35rem;
  display: flex;
  flex-wrap: wrap;
  gap: .72rem;
}

.hero-metric {
  margin-top: 1.35rem;
  padding: .92rem 1.02rem;
  display: inline-flex;
  align-items: baseline;
  gap: .5rem;
  background: linear-gradient(130deg, rgba(255, 255, 255, 0.95), rgba(255, 245, 232, 0.92));
  border: 1px solid #ffd6b6;
  border-radius: 14px;
  box-shadow: 0 12px 24px rgba(255, 140, 66, 0.18);
}

.metric-value {
  font-size: 1.78rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.02em;
  color: #cf5d1a;
}

.metric-label {
  color: #8a552a;
  font-size: .9rem;
}

.hero-media {
  grid-area: media;
  position: relative;
  inset: auto;
  margin: 0;
  border-radius: 0;
  overflow: hidden;
  background: #0a1b33;
  border: 0;
  box-shadow: none;
  min-height: 100%;
}

.hero-media::before {
  content: none;
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 250, 242, 0.95) 0%, rgba(255, 250, 242, 0.64) 34%, rgba(0, 194, 168, 0.2) 100%),
    radial-gradient(circle at 85% 15%, rgba(45, 184, 255, 0.3), transparent 35%),
    radial-gradient(circle at 80% 80%, rgba(255, 140, 66, 0.28), transparent 38%);
  pointer-events: none;
  z-index: 1;
}

.hero-media img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  transition: transform .6s ease;
  filter: saturate(1.1) contrast(1.05);
}

.hero-media:hover img {
  transform: scale(1.05);
}

.hero-floats {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.hero-chip {
  position: absolute;
  display: inline-flex;
  padding: .44rem .75rem;
  border-radius: 999px;
  font: 700 .74rem/1 "Sora", sans-serif;
  color: #fff;
  box-shadow: 0 10px 24px rgba(255, 122, 24, 0.28);
  animation: floatChip 4.8s ease-in-out infinite;
}

.hero-chip-a {
  top: 22px;
  left: 18px;
  background: linear-gradient(95deg, #ff7a18, #ffb11f, #2ed4ff);
}

.hero-chip-b {
  right: 24px;
  bottom: 86px;
  background: linear-gradient(95deg, #c85f20, #ff8c42, #ffbf59);
  animation-delay: .5s;
}

.hero-media figcaption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 2;
  margin: 0;
  max-width: 36ch;
  padding: .56rem .72rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: #8a3b08;
  font-size: .77rem;
  font-weight: 600;
  border: 1px solid rgba(40, 101, 180, 0.2);
}

.hero-panel {
  display: none;
}

.hero-panel h3 {
  margin: 0;
  font-size: 1.05rem;
  color: var(--primary-deep);
}

.hero-panel ul {
  margin: .65rem 0 .8rem;
  padding-left: 1rem;
  display: grid;
  gap: .4rem;
}

.hero-panel li {
  color: #1f497f;
  font-size: .87rem;
}

.hero-panel .btn-small {
  width: 100%;
}

.core-features {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(circle at 8% 12%, rgba(0, 215, 255, 0.22), transparent 34%),
    radial-gradient(circle at 92% 14%, rgba(255, 106, 0, 0.24), transparent 34%),
    linear-gradient(170deg, #eef6ff 0%, #f7fcff 45%, #eef8ff 100%);
}

.core-features::before {
  content: "";
  position: absolute;
  inset: -16% -6%;
  z-index: 0;
  background:
    radial-gradient(circle at 22% 20%, rgba(255, 195, 51, 0.35), transparent 34%),
    radial-gradient(circle at 77% 15%, rgba(0, 215, 255, 0.3), transparent 34%),
    radial-gradient(circle at 50% 82%, rgba(255, 112, 67, 0.28), transparent 40%);
  filter: blur(10px);
  animation: coreGlowDrift 16s ease-in-out infinite alternate;
}

.core-features::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.4) 48%, rgba(255, 255, 255, 0) 100%),
    repeating-linear-gradient(90deg, rgba(17, 63, 197, 0.05) 0 2px, transparent 2px 32px);
  opacity: 0.65;
  transform: translateX(-48%);
  animation: coreBeamSweep 9.5s linear infinite;
}

.core-features .container {
  position: relative;
  z-index: 1;
}

.core-features .core-features-shell {
  max-width: min(900px, 100%);
  margin: 0 auto 1.3rem;
  padding: clamp(0.95rem, 2.4vw, 1.4rem) clamp(0.9rem, 2.2vw, 1.55rem);
  border-radius: calc(var(--radius-lg) + 8px);
  border: 1px solid rgba(27, 101, 192, 0.3);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(235, 247, 255, 0.85)),
    linear-gradient(125deg, rgba(255, 122, 24, 0.14), rgba(0, 215, 255, 0.12));
  box-shadow: 0 20px 34px rgba(18, 65, 158, 0.14);
}

.core-features .core-features-kicker {
  margin: 0 0 0.38rem;
  font: 800 clamp(0.74rem, 1.1vw, 0.85rem)/1 "Sora", "Noto Sans TC", sans-serif;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #1658bf;
}

.core-features .section-title {
  margin: 0;
  text-align: center;
  font: 900 clamp(1.58rem, 3.3vw, 2.85rem)/1.12 "Sora", "Noto Sans TC", sans-serif;
  letter-spacing: 0.03em;
  background: linear-gradient(100deg, #ff6a00 0%, #ffb300 24%, #00c8ff 52%, #00b76f 76%, #1d4ed8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 10px 28px rgba(255, 106, 0, 0.28);
  animation: coreTitlePulse 3.6s ease-in-out infinite;
}

.core-features .core-features-lead {
  margin: 0.52rem auto 0;
  max-width: 44ch;
  color: #1b3f8c;
  font-size: clamp(0.92rem, 1.75vw, 1.05rem);
  line-height: 1.6;
  font-weight: 700;
}

.core-features .features-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.core-features .feature-card {
  --card-a: rgba(255, 255, 255, 0.88);
  --card-b: rgba(226, 242, 255, 0.92);
  --badge-a: #ff8a00;
  --badge-b: #ffbc45;
  --glow: rgba(255, 138, 0, 0.28);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100%;
  padding: 1.16rem 0.92rem 1rem;
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid rgba(28, 95, 183, 0.22);
  background: linear-gradient(158deg, var(--card-a), var(--card-b));
  box-shadow:
    0 14px 30px rgba(20, 69, 161, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
  animation: coreCardFloat 5.8s ease-in-out infinite;
}

.core-features .feature-card>* {
  position: relative;
  z-index: 1;
}

.core-features .feature-card::before {
  content: "";
  position: absolute;
  inset: -130% -25%;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, 0.66) 49%, transparent 62%);
  transform: translateX(-34%);
  animation: coreCardShine 4.6s ease-in-out infinite;
}

.core-features .feature-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55), inset 0 -16px 24px var(--glow);
}

.core-features .feature-card:nth-child(2) {
  --card-b: rgba(255, 238, 223, 0.94);
  --badge-a: #ff6a00;
  --badge-b: #ffd15c;
  --glow: rgba(255, 133, 31, 0.26);
  animation-delay: 0.45s;
}

.core-features .feature-card:nth-child(3) {
  --card-b: rgba(224, 253, 247, 0.94);
  --badge-a: #00b894;
  --badge-b: #5df8cc;
  --glow: rgba(30, 212, 158, 0.24);
  animation-delay: 0.8s;
}

.core-features .feature-card:nth-child(4) {
  --card-b: rgba(229, 241, 255, 0.94);
  --badge-a: #2857ff;
  --badge-b: #5aa7ff;
  --glow: rgba(66, 131, 255, 0.23);
  animation-delay: 1.1s;
}

.core-features .feature-card:hover {
  transform: translateY(-8px) scale(1.018);
  border-color: rgba(31, 108, 209, 0.38);
  box-shadow: 0 28px 38px rgba(8, 58, 158, 0.2);
}

.core-features .feature-index {
  margin: 0 0 0.62rem;
  min-width: 52px;
  height: 30px;
  padding: 0 0.62rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: 900 0.82rem/1 "Sora", sans-serif;
  letter-spacing: 0.06em;
  color: #fff;
  background: linear-gradient(100deg, var(--badge-a), var(--badge-b));
  box-shadow: 0 9px 18px rgba(17, 81, 181, 0.2);
}

.core-features .feature-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  font-size: 1.58rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(31, 102, 193, 0.18);
  box-shadow: 0 14px 18px rgba(13, 76, 186, 0.12);
  animation: coreIconBob 3.2s ease-in-out infinite;
}

.core-features .feature-title {
  margin: 0.8rem 0 0.42rem;
  font-size: 1.07rem;
  line-height: 1.26;
  color: #143d89;
  font-weight: 800;
}

.core-features .feature-desc {
  margin: 0;
  color: #38527d;
  font-size: 0.92rem;
  line-height: 1.64;
}

.core-features .feature-tag {
  margin: auto 0 0;
  padding-top: 0.72rem;
  font: 800 0.74rem/1.3 "Manrope", "Sora", sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #1f67d0;
}

@keyframes coreGlowDrift {
  0% {
    transform: translate3d(-1%, -1%, 0) scale(1);
  }

  100% {
    transform: translate3d(1%, 2%, 0) scale(1.06);
  }
}

@keyframes coreBeamSweep {
  0% {
    transform: translateX(-48%);
  }

  100% {
    transform: translateX(56%);
  }
}

@keyframes coreTitlePulse {
  0%,
  100% {
    filter: drop-shadow(0 0 0 rgba(0, 0, 0, 0));
  }

  50% {
    filter: drop-shadow(0 8px 18px rgba(18, 78, 182, 0.28));
  }
}

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

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

@keyframes coreCardShine {
  0%,
  100% {
    transform: translateX(-36%);
  }

  45%,
  55% {
    transform: translateX(36%);
  }
}

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

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

@media (max-width: 1080px) {
  .core-features .core-features-shell {
    margin-bottom: 1.1rem;
  }

  .core-features .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.88rem;
  }
}

@media (max-width: 680px) {
  .core-features .core-features-shell {
    padding: 0.85rem 0.72rem 0.9rem;
    margin-bottom: 0.86rem;
  }

  .core-features .core-features-kicker {
    letter-spacing: 0.12em;
  }

  .core-features .features-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .core-features .feature-card {
    max-width: 520px;
    margin-inline: auto;
  }
}

.grant-wrap {
  padding-top: .2rem;
}

.grant-strip {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius) + 8px);
  border: 1px solid rgba(210, 147, 30, 0.36);
  background:
    radial-gradient(circle at 9% 16%, rgba(255, 203, 79, 0.34), transparent 34%),
    radial-gradient(circle at 92% 78%, rgba(46, 212, 255, 0.2), transparent 34%),
    linear-gradient(120deg, #fff9ea 0%, #fff4d7 55%, #eef7ff 100%);
  box-shadow: 0 16px 30px rgba(190, 126, 11, 0.18);
  padding: 1.15rem 1.2rem;
}

.grant-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.45) 48%, transparent 100%);
  transform: translateX(-120%);
  animation: grantShimmer 5.8s ease-in-out infinite;
  pointer-events: none;
}

.grant-strip h3 {
  margin: 0;
  font: 800 clamp(1.02rem, 2.2vw, 1.35rem)/1.35 "Sora", "Noto Sans TC", sans-serif;
  color: #9a5100;
  letter-spacing: .01em;
  position: relative;
  z-index: 1;
}

.grant-strip p {
  margin: .5rem 0 0;
  color: #5d5f67;
  font-size: .96rem;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

@keyframes grantShimmer {
  0% {
    transform: translateX(-120%);
  }

  50% {
    transform: translateX(120%);
  }

  100% {
    transform: translateX(120%);
  }
}

@media (max-width: 680px) {
  .grant-strip {
    padding: .95rem .88rem;
  }

  .grant-strip h3 {
    font-size: 1rem;
  }

  .grant-strip p {
    font-size: .9rem;
  }
}

.stats {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(241, 247, 255, 0.8)),
    repeating-linear-gradient(90deg, rgba(17, 58, 118, 0.035) 0, rgba(17, 58, 118, 0.035) 1px, transparent 1px, transparent 14px);
}

.stats-grid {
  margin-top: 1.45rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.stat-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid #d6e4f7;
  box-shadow: var(--shadow-card);
  padding: 1.35rem 1.2rem;
  transition: transform .25s ease, box-shadow .25s ease;
}

.stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--cyan), var(--accent), var(--gold));
}

.stat-card:nth-child(1) {
  background: linear-gradient(160deg, rgba(45, 184, 255, 0.17), rgba(255, 255, 255, 0.94) 44%);
}

.stat-card:nth-child(2) {
  background: linear-gradient(160deg, rgba(255, 140, 66, 0.2), rgba(255, 255, 255, 0.95) 44%);
}

.stat-card:nth-child(3) {
  background: linear-gradient(160deg, rgba(49, 199, 168, 0.18), rgba(255, 255, 255, 0.94) 44%);
}

.stat-card h3 {
  margin: 0;
  font-size: clamp(2.05rem, 4vw, 2.9rem);
  line-height: 1;
  color: var(--primary-deep);
}

.stat-card p {
  margin: .72rem 0 .1rem;
  font-size: .98rem;
  font-weight: 700;
  color: #143d74;
}

.stat-card small {
  color: var(--muted);
}

.stat-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 22px 36px rgba(15, 43, 91, 0.18);
}

.courses {
  position: relative;
  overflow: clip;
}

.courses::before {
  content: "";
  position: absolute;
  width: min(30vw, 360px);
  aspect-ratio: 1;
  left: -130px;
  top: 80px;
  background: radial-gradient(circle, rgba(45, 184, 255, .16), transparent 70%);
  pointer-events: none;
}

.course-grid {
  margin-top: 1.45rem;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem;
}

.course-card {
  --course-tone: #2db8ff;
  grid-column: span 4;
  position: relative;
  overflow: hidden;
  min-height: 246px;
  padding: 1.18rem 1.08rem;
  border-radius: var(--radius);
  border: 1px solid #d4e2f5;
  border-top: 5px solid var(--course-tone);
  background: linear-gradient(165deg, #ffffff, #f8fbff 65%);
  box-shadow: var(--shadow-card);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.course-card::before {
  content: "";
  position: absolute;
  right: -46px;
  bottom: -52px;
  width: 150px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(17, 58, 118, 0.13), transparent 64%);
}

.course-card:hover,
.course-card:focus-within {
  transform: translateY(-8px) rotate(-.2deg);
  box-shadow: 0 20px 34px rgba(15, 43, 91, 0.16);
  border-color: #bcd0ea;
}

.course-card:nth-child(1) { --course-tone: #2db8ff; }
.course-card:nth-child(2) { --course-tone: #ff8c42; }
.course-card:nth-child(3) { --course-tone: #31c7a8; }
.course-card:nth-child(4) { --course-tone: #2ed4ff; }
.course-card:nth-child(5) { --course-tone: #d4af37; }

.course-card .tag {
  display: inline-block;
  padding: .28rem .58rem;
  border-radius: 999px;
  font: 700 .71rem/1 "Sora", sans-serif;
  border: 1px solid transparent;
}

.course-card:nth-child(1) .tag {
  color: #07517b;
  background: #dbf3ff;
  border-color: #9cd9f7;
}

.course-card:nth-child(2) .tag {
  color: #8a3f0f;
  background: #ffe9dd;
  border-color: #ffc9aa;
}

.course-card:nth-child(3) .tag {
  color: #0e664e;
  background: #dcf7ef;
  border-color: #9dddc8;
}

.course-card:nth-child(4) .tag {
  color: #0b5f71;
  background: #def8ff;
  border-color: #9be6f6;
}

.course-card:nth-child(5) .tag {
  color: #715600;
  background: #f7f0d8;
  border-color: #e8d595;
}

.course-card h3 {
  margin: .78rem 0 .45rem;
  font-size: 1.12rem;
  line-height: 1.3;
  color: var(--primary-deep);
}

.course-card p {
  margin: 0;
  color: var(--muted);
  font-size: .94rem;
}

.course-card dl {
  margin: 1rem 0 0;
  display: grid;
  gap: .36rem;
}

.course-card dl div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: .9rem;
  padding-top: .34rem;
  border-top: 1px dashed rgba(15, 43, 91, 0.2);
  font-size: .87rem;
}

.course-card dt {
  color: var(--muted);
}

.course-card dd {
  margin: 0;
  color: var(--primary);
  font: 700 .88rem/1.2 "Sora", sans-serif;
}

.system {
  position: relative;
  overflow: clip;
  background:
    linear-gradient(180deg, #f2f7ff 0%, #fdfefe 100%),
    radial-gradient(circle at 20% 20%, rgba(49, 199, 168, .13), transparent 40%);
  border-top: 1px solid #d7e4f8;
  border-bottom: 1px solid #d7e4f8;
}

.system::after {
  content: "";
  position: absolute;
  width: min(32vw, 380px);
  aspect-ratio: 1;
  right: -120px;
  top: 60px;
  background: radial-gradient(circle, rgba(255, 140, 66, 0.18), transparent 70%);
  pointer-events: none;
}

.system-steps {
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.system-steps li {
  --step-tone: #2db8ff;
  position: relative;
  padding: 1.15rem 1rem;
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.95), rgba(241, 247, 255, 0.92));
  border: 1px solid #d2e0f5;
  box-shadow: var(--shadow-card);
}

.system-steps li::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(145deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .55));
  pointer-events: none;
}

.system-steps li::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: 18px 18px 0 0;
  background: linear-gradient(90deg, var(--step-tone), #ffffff);
}

.system-steps li:nth-child(1) { --step-tone: #2db8ff; }
.system-steps li:nth-child(2) { --step-tone: #ff8c42; }
.system-steps li:nth-child(3) { --step-tone: #31c7a8; }
.system-steps li:nth-child(4) { --step-tone: #2ed4ff; }

.step-no {
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--primary-deep);
}

.system-steps h3 {
  margin: .75rem 0 .42rem;
  font-size: 1rem;
  line-height: 1.3;
  color: var(--primary);
}

.system-steps p {
  margin: 0;
  color: var(--muted);
  font-size: .91rem;
}

.success {
  position: relative;
}

.success-grid {
  margin-top: 1.45rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.success-card {
  --success-tone: #2db8ff;
  background: linear-gradient(180deg, #ffffff, #f7fbff);
  border: 1px solid #d5e2f4;
  border-top: 4px solid var(--success-tone);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 1.15rem 1rem;
}

.success-card:nth-child(1) { --success-tone: #2db8ff; }
.success-card:nth-child(2) { --success-tone: #ff8c42; }
.success-card:nth-child(3) { --success-tone: #31c7a8; }

.success-card h3 {
  margin: 0 0 .8rem;
  font-size: 1.05rem;
  color: var(--primary-deep);
}

.compare {
  margin-bottom: .84rem;
  display: grid;
  gap: .48rem;
}

.compare p {
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: .5rem .56rem;
  border-radius: 10px;
  background: #f3f8ff;
  font-size: .9rem;
}

.compare span {
  margin: 0 .38rem;
  color: #e66d2b;
  font-weight: 900;
}

.success-card blockquote {
  margin: 0;
  padding-left: .74rem;
  border-left: 3px solid rgba(17, 58, 118, 0.36);
  color: var(--muted);
  font-size: .89rem;
}

.aca-slogan {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(88% 120% at 0% 0%, rgba(45, 184, 255, 0.24), rgba(45, 184, 255, 0) 62%),
    radial-gradient(82% 110% at 100% 100%, rgba(255, 122, 24, 0.22), rgba(255, 122, 24, 0) 62%),
    linear-gradient(180deg, #f7fcff, #edf6ff);
}

.slogan-shell {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 1.5rem 1.14rem 1.3rem;
  border-radius: calc(var(--radius) + 8px);
  border: 1px solid rgba(30, 105, 195, 0.28);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(244, 250, 255, 0.94)),
    radial-gradient(circle at 14% 18%, rgba(255, 212, 109, 0.24), transparent 40%),
    radial-gradient(circle at 84% 26%, rgba(42, 196, 255, 0.18), transparent 42%);
  box-shadow:
    0 18px 32px rgba(17, 73, 168, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
  text-align: center;
}

.slogan-shell::before {
  content: "";
  position: absolute;
  right: -66px;
  top: -66px;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(255, 122, 24, 0.36), rgba(255, 122, 24, 0));
  filter: blur(6px);
  opacity: 0.75;
  animation: sloganBlobFloatA 11s ease-in-out infinite;
  pointer-events: none;
}

.slogan-shell::after {
  content: "";
  position: absolute;
  left: -58px;
  bottom: -62px;
  width: 188px;
  height: 188px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(45, 184, 255, 0.34), rgba(45, 184, 255, 0));
  filter: blur(6px);
  opacity: 0.78;
  animation: sloganBlobFloatB 12s ease-in-out infinite;
  pointer-events: none;
}

.slogan-shell > * {
  position: relative;
  z-index: 2;
}

.slogan-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.slogan-particles span {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff 0%, #fff 36%, #9ad6ff 70%, rgba(154, 214, 255, 0) 100%);
  box-shadow:
    0 0 8px rgba(255, 255, 255, 0.9),
    0 0 14px rgba(96, 189, 255, 0.7);
  animation: sloganStarSpark 2.6s ease-in-out infinite;
}

.slogan-particles span:nth-child(1) { top: 12%; left: 9%; animation-delay: .1s; }
.slogan-particles span:nth-child(2) { top: 18%; left: 33%; width: 6px; height: 6px; animation-delay: .9s; animation-duration: 2.2s; }
.slogan-particles span:nth-child(3) { top: 11%; left: 68%; animation-delay: 1.5s; animation-duration: 3s; }
.slogan-particles span:nth-child(4) { top: 20%; left: 88%; width: 6px; height: 6px; animation-delay: .35s; animation-duration: 2.3s; }
.slogan-particles span:nth-child(5) { top: 44%; left: 6%; animation-delay: 1.3s; animation-duration: 2.8s; }
.slogan-particles span:nth-child(6) { top: 52%; left: 79%; width: 7px; height: 7px; animation-delay: .65s; animation-duration: 2.4s; }
.slogan-particles span:nth-child(7) { top: 71%; left: 21%; animation-delay: 1.7s; animation-duration: 2.7s; }
.slogan-particles span:nth-child(8) { top: 76%; left: 56%; width: 6px; height: 6px; animation-delay: .2s; animation-duration: 2.25s; }
.slogan-particles span:nth-child(9) { top: 84%; left: 91%; animation-delay: 1s; animation-duration: 2.95s; }
.slogan-particles span:nth-child(10) { top: 62%; left: 43%; width: 5px; height: 5px; animation-delay: 1.9s; animation-duration: 2.35s; }

.slogan-kicker {
  margin: 0;
  font-size: .76rem;
  letter-spacing: .14em;
  font-weight: 800;
  color: #ff6a00;
  text-transform: uppercase;
}

.slogan-shell h2 {
  position: relative;
  display: inline-block;
  overflow: hidden;
  margin: .4rem 0 .86rem;
  color: #1f4fb1;
  font-size: clamp(1.4rem, 2.65vw, 2.18rem);
  line-height: 1.2;
  letter-spacing: .01em;
  text-shadow: 0 8px 22px rgba(18, 79, 182, 0.22);
}

.slogan-shell h2::after {
  content: "";
  position: absolute;
  top: -16%;
  bottom: -16%;
  left: -45%;
  width: 42%;
  pointer-events: none;
  opacity: 0;
  transform: translateX(-230%) skewX(-18deg);
  background: linear-gradient(112deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.96) 52%, rgba(255, 255, 255, 0) 100%);
  filter: blur(1px);
  animation: sloganTitleSweep 6s linear infinite;
}

.slogan-lines {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: .56rem;
}

.slogan-lines li {
  position: relative;
  isolation: isolate;
  margin: 0;
  overflow: hidden;
  padding: .72rem .9rem;
  border-radius: 14px;
  border: 1px solid rgba(61, 129, 211, 0.22);
  background:
    linear-gradient(160deg, #ffffff, #f2f8ff) padding-box;
  color: #173a72;
  box-shadow:
    0 9px 18px rgba(21, 75, 170, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
  font-size: clamp(.95rem, 1.34vw, 1.09rem);
  font-weight: 700;
  line-height: 1.58;
  text-align: center;
  animation: sloganCardFloat 5.4s ease-in-out infinite;
}

.slogan-lines li::before {
  content: "✦";
  display: inline-grid;
  vertical-align: middle;
  transform: translateY(-1px);
  margin: 0 .42rem 0 0;
  width: 1.28rem;
  height: 1.28rem;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(140deg, #ecf5ff, #fff3dd);
  color: #2f69c5;
  box-shadow: 0 0 0 1px rgba(41, 120, 208, 0.22), 0 0 12px rgba(255, 180, 77, 0.44);
  font-size: .83rem;
  z-index: 2;
}

.slogan-lines .slogan-em {
  display: inline-block;
  margin: 0 .04rem;
  padding: 0 .18rem;
  border-radius: .35rem;
  font-weight: 900;
  color: #0f57c7;
  background: linear-gradient(120deg, rgba(255, 225, 145, 0.5), rgba(176, 226, 255, 0.45));
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
}

.slogan-lines li:nth-child(even) {
  animation-delay: .45s;
}

@keyframes sloganBlobFloatA {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(-8px, 7px, 0);
  }
}

@keyframes sloganBlobFloatB {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(9px, -6px, 0);
  }
}

@keyframes sloganStarSpark {
  0%,
  100% {
    opacity: .28;
    transform: translateY(0) scale(.72);
  }

  45% {
    opacity: 1;
    transform: translateY(-4px) scale(1.08);
  }
}

@keyframes sloganTitleSweep {
  0%,
  70% {
    opacity: 0;
    transform: translateX(-230%) skewX(-18deg);
  }

  76% {
    opacity: 1;
  }

  88% {
    opacity: .96;
    transform: translateX(325%) skewX(-18deg);
  }

  100% {
    opacity: 0;
    transform: translateX(325%) skewX(-18deg);
  }
}

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

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

@media (max-width: 680px) {
  .slogan-shell {
    padding: 1.2rem .84rem 1.02rem;
  }

  .slogan-shell h2 {
    margin-bottom: .72rem;
  }

  .slogan-lines li {
    padding: .68rem .58rem;
    font-size: .96rem;
    line-height: 1.58;
  }
}

.campaign-section {
  margin: 0;
  background: linear-gradient(180deg, #fcfeff, #f8fcff);
}

.campaign-frame-wrap {
  background: #fff;
  border: 1px solid #d4e1f3;
  border-radius: calc(var(--radius) + 2px);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.campaign-include {
  display: block;
  width: 100%;
  min-height: 420px;
  background: #fff;
}

.campaign-include-loading,
.campaign-include-fallback {
  margin: 0;
  padding: 1rem;
  color: #163f82;
  font-weight: 700;
  line-height: 1.45;
}

.campaign-include-fallback a {
  color: #0d3f8f;
  text-decoration: underline;
}

.campaign-noscript-frame {
  display: block;
  width: 100%;
  height: 1400px;
  border: 0;
  background: #fff;
}

.ticker {
  margin-top: .95rem;
  overflow: hidden;
  white-space: nowrap;
  padding: .72rem 0;
  border: 1px solid #d4e1f3;
  border-radius: 999px;
  background: linear-gradient(90deg, #fff5e8 0%, #eef8ff 52%, #fff5e8 100%);
  color: #163f82;
  font: 800 .95rem/1.3 "Sora", "Noto Sans TC", sans-serif;
  box-shadow: 0 8px 20px rgba(34, 91, 179, 0.12);
}

.ticker-inner {
  display: inline-block;
  padding-left: 100%;
  animation: ticker-scroll 22s linear infinite;
}

@keyframes ticker-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-100%);
  }
}

.video-section {
  background: linear-gradient(180deg, #f8fbff, #f4f9ff);
}

.video-grid {
  display: grid;
  grid-template-columns: 1fr 1.14fr;
  gap: 1rem;
  align-items: stretch;
}

.video-copy {
  background: linear-gradient(160deg, #ffffff, #f7fbff);
  border: 1px solid #d3e1f5;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 1.2rem 1rem;
}

.video-copy h2 {
  margin: 0;
  color: var(--primary-deep);
  font-size: clamp(1.46rem, 2.2vw, 2.1rem);
}

.video-copy p {
  color: var(--muted);
}

.video-placeholder {
  position: relative;
  overflow: hidden;
  min-height: 292px;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid #c8d8ef;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.video-placeholder video {
  width: 100%;
  height: 100%;
  min-height: 292px;
  object-fit: cover;
  display: block;
}

.faq {
  position: relative;
}

.faq-list {
  margin-top: 1.2rem;
  display: grid;
  gap: .72rem;
}

.faq-item {
  background: linear-gradient(160deg, #ffffff, #f8fbff);
  border: 1px solid #d4e1f3;
  border-left: 4px solid #2db8ff;
  border-radius: 14px;
  box-shadow: var(--shadow-card);
  padding: .14rem .92rem;
}

.faq-item:nth-child(2) { border-left-color: #ff8c42; }
.faq-item:nth-child(3) { border-left-color: #31c7a8; }
.faq-item:nth-child(4) { border-left-color: #2ed4ff; }
.faq-item:nth-child(5) { border-left-color: #d4af37; }

.faq-item summary {
  cursor: pointer;
  list-style: none;
  position: relative;
  padding: .84rem 1.6rem .84rem 0;
  font-size: .96rem;
  font-weight: 700;
  color: var(--primary-deep);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: .1rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: "Sora", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #c2560d;
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-item p {
  margin: 0 0 .9rem;
  color: var(--muted);
}

.contact {
  position: relative;
  background:
    radial-gradient(circle at 12% 12%, rgba(49, 199, 168, .15), transparent 32%),
    linear-gradient(180deg, #ffffff, #f5faff);
}

.contact-grid {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 1rem;
  align-items: start;
}

.contact-info,
.contact-form {
  background: linear-gradient(160deg, #ffffff, #f8fcff);
  border: 1px solid #d3e2f6;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 1.1rem;
}

.contact-info h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  color: var(--primary-deep);
}

.contact-info p {
  color: var(--muted);
}

.whatsapp {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin: .35rem 0 1rem;
  padding: .52rem .9rem;
  border-radius: 999px;
  font-size: .88rem;
  font-weight: 700;
  color: #0d6d3f;
  background: #e8faef;
  border: 1px solid #b2e5c7;
}

.whatsapp svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.contact-info address {
  font-style: normal;
  color: var(--muted);
  font-size: .9rem;
}

.contact-form {
  display: grid;
  gap: .58rem;
}

.contact-form-status {
  padding: .78rem .9rem;
  border-radius: 12px;
  border: 1px solid transparent;
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.5;
}

.contact-form-status.is-success {
  color: #0f6b45;
  background: #e9f9f0;
  border-color: #b8e7c9;
}

.contact-form-status.is-error {
  color: #8a2d14;
  background: #fff2eb;
  border-color: #ffc9b3;
}

.contact-form label {
  font-size: .86rem;
  font-weight: 700;
  color: var(--primary);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid #c4d5ec;
  border-radius: 11px;
  padding: .74rem .82rem;
  font-size: .94rem;
  font-family: inherit;
  background: #fff;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 0;
  border-color: #7ea5df;
  box-shadow: 0 0 0 3px rgba(126, 165, 223, 0.2);
}

.map-wrap {
  margin-top: 1rem;
  background: linear-gradient(160deg, #ffffff, #f8fcff);
  border: 1px solid #d3e2f6;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 1rem;
}

.map-wrap h3 {
  margin: 0 0 .7rem;
  color: var(--primary);
  font-size: 1.05rem;
}

.map-wrap iframe {
  width: 100%;
  height: 320px;
  border: 0;
  border-radius: 12px;
}

.site-footer {
  margin-top: clamp(2rem, 5vw, 3.2rem);
  background: linear-gradient(180deg, #fff, #fff6ee);
  border-top: 1px solid rgba(255, 122, 24, 0.2);
}

.footer-wrap {
  min-height: 68px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  gap: .9rem;
  padding: .5rem 0;
  color: var(--muted);
  font-size: .88rem;
  text-align: center;
}

.footer-wrap p {
  margin: 0;
  white-space: nowrap;
}

.footer-copy {
  display: inline-flex;
  align-items: center;
  gap: .46rem;
  min-height: 44px;
  padding: .3rem .64rem .3rem .4rem;
  border-radius: 999px;
  border: 1px solid rgba(67, 116, 204, 0.28);
  background: linear-gradient(110deg, rgba(255, 255, 255, 0.9), rgba(241, 249, 255, 0.85), rgba(255, 244, 223, 0.86));
  box-shadow: 0 8px 18px rgba(23, 79, 164, 0.12);
}

.footer-copy-mark {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: 800 .7rem/1 "Sora", "Manrope", sans-serif;
  color: #fff;
  background: linear-gradient(135deg, #ff8d26, #2eb7f6);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.88), 0 5px 10px rgba(43, 104, 197, 0.24);
}

.footer-copy-text {
  font-family: "Sora", "Manrope", "Noto Sans TC", sans-serif;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .01em;
  color: #174786;
}

.footer-wrap a {
  color: var(--primary);
  font-weight: 700;
  font-family: "Sora", sans-serif;
}

.builder-credit {
  display: inline-flex;
  align-items: center;
  gap: .62rem;
  min-height: 44px;
  padding: .3rem .62rem .3rem .44rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 144, 52, 0.38);
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.92), rgba(248, 253, 255, 0.88), rgba(255, 244, 224, 0.9));
  box-shadow: 0 9px 20px rgba(36, 96, 183, 0.14), 0 0 14px rgba(255, 166, 72, 0.16);
  color: #10478c;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  white-space: nowrap;
}

.builder-credit:hover,
.builder-credit:focus-visible {
  transform: translateY(-1px) scale(1.01);
  border-color: rgba(41, 176, 224, 0.52);
  box-shadow: 0 11px 24px rgba(29, 104, 190, 0.2), 0 0 16px rgba(255, 170, 83, 0.2);
}

.builder-credit-icon {
  position: relative;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #2eb7f6;
  animation: builderIconFloat 2.4s ease-in-out infinite;
}

.builder-credit-icon svg {
  width: 30px;
  height: 30px;
  fill: rgba(46, 183, 246, 0.12);
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 8px rgba(46, 183, 246, 0.25)) drop-shadow(0 0 6px rgba(255, 159, 66, 0.24));
  transition: color .2s ease;
}

.builder-credit:hover .builder-credit-icon,
.builder-credit:focus-visible .builder-credit-icon {
  color: #1ea6e0;
}

.builder-credit-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #ff9b2f;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 0 rgba(255, 155, 47, 0.45);
  animation: builderDotPulse 1.6s ease-out infinite;
}

.builder-credit-text {
  display: grid;
  gap: .08rem;
  line-height: 1;
  text-align: left;
}

.builder-credit-text strong {
  font-family: "Sora", "Manrope", "Noto Sans TC", sans-serif;
  font-size: .75rem;
  letter-spacing: .01em;
  color: #124789;
  text-transform: none;
}

.builder-credit-text small {
  font-family: "Manrope", "Noto Sans TC", sans-serif;
  font-size: .52rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(207, 101, 13, 0.78);
}

@keyframes builderIconFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-2px);
  }
}

@keyframes builderDotPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 155, 47, 0.46);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 155, 47, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 155, 47, 0);
  }
}

.reveal-up {
  opacity: 1;
  transform: translateY(0);
}

.js .reveal-up {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .55s ease, transform .55s ease;
}

.js .reveal-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

.site-nav a {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .18rem;
  min-width: 92px;
  text-align: center;
}

.site-nav a img {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  box-shadow: 0 10px 18px rgba(255, 122, 24, 0.28);
  transition: transform .24s ease, filter .24s ease, box-shadow .24s ease;
}

.site-nav a:hover img,
.site-nav a:focus-visible img {
  transform: translateY(-3px) scale(1.06);
  filter: saturate(1.18);
  box-shadow: 0 12px 20px rgba(46, 212, 255, 0.3);
}

.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: saturate(1.18) contrast(1.08);
}

.hero-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  transition: opacity .4s ease;
}

.hero-poster.is-hidden {
  opacity: 0;
}

.hero-media > img.hero-poster {
  filter: saturate(1.08);
}

.hero-media:hover > img.hero-poster {
  transform: scale(1.05);
}

.hero-sticker-wall {
  position: absolute;
  right: 16px;
  top: 16px;
  z-index: 3;
  display: grid;
  gap: .54rem;
}

.hero-sticker {
  width: 132px;
  height: 86px;
  object-fit: cover;
  border-radius: 12px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 12px 26px rgba(15, 43, 91, 0.22);
}

.sticker-a {
  transform: rotate(-4deg);
}

.sticker-b {
  transform: rotate(3deg) translateX(16px);
}

.sticker-c {
  transform: rotate(-2deg) translateX(-8px);
}

.hero-media:hover .hero-sticker {
  transform: translateY(-3px) rotate(-1deg);
}

.hero-media:hover .sticker-b {
  transform: translateX(18px) rotate(4deg);
}

.stat-icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  margin-bottom: .4rem;
  box-shadow: 0 8px 20px rgba(15, 43, 91, 0.12);
}

.doctor-section {
  background:
    radial-gradient(circle at 12% 10%, rgba(212, 175, 55, 0.16), transparent 34%),
    radial-gradient(circle at 88% 20%, rgba(46, 212, 255, 0.14), transparent 36%),
    linear-gradient(180deg, #fdfefe, #f6fbff);
}

.doctor-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 1rem;
  align-items: center;
}

.doctor-emblem-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .8rem;
}

.doctor-emblem {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 4px solid #f0ba54;
  box-shadow:
    0 0 0 8px rgba(255, 170, 56, 0.16),
    0 14px 36px rgba(232, 91, 0, 0.24),
    inset 0 0 34px rgba(255, 142, 34, 0.18);
  background:
    radial-gradient(circle at 30% 28%, #fffdf7 0%, #ffe8cb 46%, #ffd6ab 78%, #ffc786 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.doctor-emblem::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    rgba(240, 186, 84, 0.34) 0deg,
    transparent 60deg,
    rgba(255, 142, 34, 0.16) 120deg,
    transparent 180deg,
    rgba(240, 186, 84, 0.24) 240deg,
    transparent 300deg,
    rgba(255, 142, 34, 0.22) 360deg
  );
  animation: rotateConic 12s linear infinite;
}

@keyframes rotateConic {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.doctor-emblem-cap {
  font-size: 2.5rem;
  line-height: 1;
  margin-bottom: 4px;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 2px 8px rgba(232, 91, 0, 0.34));
}

.doctor-emblem-aca {
  font: 900 1.9rem/1 "Sora", sans-serif;
  letter-spacing: .22em;
  background: linear-gradient(90deg, #cf4c00, #ff9e2c, #cf4c00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  z-index: 1;
}

.doctor-emblem-divider {
  width: 60%;
  height: 1px;
  margin: 6px 0;
  background: linear-gradient(90deg, transparent, #ff9e2c, transparent);
  position: relative;
  z-index: 1;
}

.doctor-emblem-title {
  font-size: .82rem;
  font-weight: 900;
  color: #8f4c12;
  letter-spacing: 2px;
  margin-top: 2px;
  position: relative;
  z-index: 1;
}

.doctor-emblem-phd {
  font-size: .72rem;
  font-weight: 700;
  color: #b24c00;
  letter-spacing: 1.5px;
  text-align: center;
  padding: 0 10px;
  position: relative;
  z-index: 1;
}

.doctor-emblem-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(90deg, #ff9928, #ffd36f, #ff9928);
  color: #5a2c00;
  font-weight: 800;
  font-size: .88rem;
  padding: 7px 20px;
  border-radius: 50px;
  letter-spacing: 1px;
  box-shadow: 0 8px 18px rgba(232, 91, 0, 0.24);
}

.doctor-years-ring {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.years-pill {
  background: rgba(212, 175, 55, 0.12);
  border: 1.5px solid rgba(212, 175, 55, 0.4);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: .82rem;
  color: #4e6488;
  font-weight: 700;
  text-align: center;
}

.years-pill strong {
  display: block;
  font-size: 1rem;
  color: #b08200;
}

.doctor-info {
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid #d4e2f5;
  background: linear-gradient(160deg, #ffffff, #f5faff);
  box-shadow: var(--shadow-card);
  padding: 1.2rem 1.05rem;
}

.doctor-info h2 {
  margin: .35rem 0 .72rem;
  font-size: clamp(1.4rem, 2.8vw, 2.2rem);
  line-height: 1.28;
  color: var(--primary-deep);
}

.doctor-info h2 span {
  color: #d4af37;
}

.doctor-info p {
  margin: .54rem 0 0;
  color: var(--muted);
}

.stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 18px;
}

.stat-box {
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid #d4af37;
  border-radius: 12px;
  flex: 1 1 100px;
  text-align: center;
  padding: 14px 20px;
}

.stat-num {
  font: 900 2rem/1 "Sora", sans-serif;
  color: #d4af37;
}

.stat-label {
  margin-top: 4px;
  color: #607a9f;
  font-size: .78rem;
  font-weight: 600;
}

@media (max-width: 980px) {
  .doctor-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .doctor-info h2 br {
    display: none;
  }

  .doctor-emblem {
    width: 200px;
    height: 200px;
  }

  .doctor-years-ring {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .years-pill {
    border-radius: 14px;
  }

  .stat-box {
    flex: 1 1 100%;
  }
}

.media-effect {
  transition: transform .42s ease, filter .42s ease, box-shadow .42s ease;
}

.media-effect:hover {
  transform: scale(1.07) rotate(-.35deg);
  filter: contrast(1.08) saturate(1.22);
}

.course-card {
  padding-top: 0;
  overflow: hidden;
}

.course-photo {
  width: calc(100% + 2.16rem);
  height: 164px;
  object-fit: cover;
  margin: 0 -1.08rem .84rem;
  border-bottom: 1px solid #d9e6f8;
}

.course-meta {
  display: flex;
  align-items: center;
  gap: .48rem;
}

.course-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(15, 43, 91, 0.13);
  flex-shrink: 0;
}

.step-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  margin-bottom: .42rem;
  box-shadow: 0 8px 16px rgba(15, 43, 91, 0.12);
}

.success-head {
  display: flex;
  align-items: center;
  gap: .66rem;
  margin-bottom: .72rem;
}

.success-head h3 {
  margin: 0;
}

.student-photo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 20px rgba(15, 43, 91, 0.2);
}

.video-shot-grid {
  margin: .7rem 0 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .48rem;
}

.video-shot-grid img {
  width: 100%;
  height: 94px;
  border-radius: 10px;
  border: 1px solid #d5e3f7;
  object-fit: cover;
}

.video-floating-cards {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.video-floating-cards img {
  position: absolute;
  width: 110px;
  height: 70px;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 20px rgba(11, 30, 61, 0.36);
}

.video-floating-cards img:first-child {
  top: 12px;
  left: 12px;
  transform: rotate(-7deg);
}

.video-floating-cards img:last-child {
  bottom: 12px;
  right: 12px;
  transform: rotate(6deg);
}

.faq-item summary {
  display: flex;
  align-items: center;
  gap: .48rem;
}

.faq-item summary img {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  box-shadow: 0 5px 10px rgba(15, 43, 91, 0.15);
}

.contact-photo {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid #d5e3f6;
  margin: .65rem 0 .8rem;
}

.contact-highlights {
  margin: 0 0 .9rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: .5rem;
}

.contact-highlights li {
  display: flex;
  align-items: center;
  gap: .42rem;
  font-size: .88rem;
  color: #9b4309;
}

.contact-highlights img {
  width: 20px;
  height: 20px;
  border-radius: 6px;
}

.contact-details {
  margin: 0 0 .8rem;
  padding: .72rem .82rem;
  list-style: none;
  display: grid;
  gap: .42rem;
  border: 1px solid #d6e4f6;
  border-radius: 12px;
  background: #f8fbff;
}

.contact-details li {
  margin: 0;
  font-size: .89rem;
  color: #37506d;
  line-height: 1.5;
}

.contact-details strong {
  color: #1f4c86;
}

.contact-details a {
  color: #1557a1;
  font-weight: 700;
  text-decoration: none;
}

.contact-details a:hover,
.contact-details a:focus-visible {
  text-decoration: underline;
}

@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.35);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(255, 255, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

@keyframes spinSlow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes floatChip {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-5px);
  }
}

@keyframes titleFlow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@media (max-width: 1080px) {
  .topbar-wrap {
    min-height: 40px;
    flex-wrap: wrap;
    justify-content: center;
    padding: .28rem 0;
  }

  .nav-wrap {
    grid-template-columns: auto 1fr auto;
    align-items: center;
    row-gap: .6rem;
    padding: .65rem 0;
  }

  .site-nav {
    justify-self: center;
    flex-wrap: nowrap;
    justify-content: center;
    gap: .5rem;
    overflow-x: auto;
    max-width: 100%;
    padding-bottom: .2rem;
  }

  .nav-wrap > .btn-small {
    grid-column: auto;
    justify-self: end;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "media";
    border-radius: 24px;
    min-height: auto;
  }

  .hero-copy {
    width: 100%;
    margin: 0;
  }

  .hero-media {
    position: relative;
    min-height: 360px;
    border-radius: 20px;
    border: 1px solid #c8daf5;
    box-shadow: var(--shadow-soft);
  }

.hero-panel {
  display: none;
}

.ace-posters {
  width: 100%;
  margin: 0;
  padding: 0;
  background: #f4f8ff;
}

.ace-poster-card {
  margin: 0;
  border-top: 1px solid #d7e4f5;
}

.ace-poster-card:first-child {
  border-top: 0;
}

.ace-poster-card img {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  object-fit: contain;
  background: #f4f8ff;
}

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

  .stats-grid,
  .success-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .course-card {
    grid-column: span 6;
  }

  .system-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .topbar {
    display: none;
  }

  .section-pad {
    padding: 2.45rem 0;
  }

  .site-header {
    position: static;
  }

  .nav-wrap {
    grid-template-columns: 1fr;
  }

  .brand {
    justify-content: center;
  }

  .site-nav {
    justify-self: stretch;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: .25rem;
    width: 100%;
  }

  .site-nav a {
    font-size: .78rem;
    gap: .24rem;
    min-width: 84px;
  }

  .site-nav a img {
    width: 42px;
    height: 42px;
  }

  .nav-wrap > .btn-small {
    justify-self: start;
  }

  .stats-grid,
  .success-grid,
  .system-steps {
    grid-template-columns: 1fr;
  }

  .course-card {
    grid-column: span 12;
  }

  .hero-floats,
  .hero-chip {
    display: none;
  }

  .hero-copy {
    width: 100%;
    margin: 0;
    border-radius: 18px;
  }

  .hero-media {
    min-height: 270px;
  }

  .hero-media figcaption {
    left: .65rem;
    right: .65rem;
    bottom: .65rem;
    max-width: none;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-cta .btn,
  .contact-form .btn {
    width: 100%;
  }

  .hero-badges span {
    font-size: .7rem;
  }

  .hero-metric {
    display: grid;
    gap: .16rem;
  }

  .metric-value {
    font-size: 1.54rem;
  }

  .footer-wrap {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-wrap: nowrap;
    gap: .5rem;
    padding: .62rem 0;
  }

  .footer-wrap p {
    font-size: .78rem;
  }

  .footer-copy {
    min-height: 38px;
    padding: .24rem .52rem .24rem .33rem;
    gap: .34rem;
  }

  .footer-copy-mark {
    width: 17px;
    height: 17px;
    font-size: .62rem;
  }

  .footer-copy-text {
    font-size: .64rem;
  }

  .builder-credit {
    margin-left: 0;
    min-height: 38px;
    padding: .24rem .48rem .24rem .36rem;
  }

  .builder-credit-text strong {
    font-size: .78rem;
  }

  .builder-credit-text small {
    font-size: .56rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0s !important;
    scroll-behavior: auto !important;
  }

  .reveal-up {
    opacity: 1;
    transform: none;
  }
}

/* 2026 UI refresh: brighter, sharper, and more animated */
:root {
  --bg: #f6fbff;
  --surface: #ffffff;
  --ink: #142249;
  --muted: #41537f;
  --primary: #ff6a00;
  --primary-deep: #113fc5;
  --primary-soft: #fff2e2;
  --accent: #00cfb1;
  --accent-deep: #00a28d;
  --gold: #ffc533;
  --cyan: #00d7ff;
  --mint: #35d89a;
  --coral: #ff6b75;
  --line: #d3e4ff;
  --radius: 22px;
  --radius-lg: 30px;
  --radius-xl: 36px;
  --shadow-soft: 0 22px 46px rgba(24, 75, 171, 0.16);
  --shadow-card: 0 16px 36px rgba(12, 54, 146, 0.14);
}

body {
  position: relative;
  isolation: isolate;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 12%, rgba(0, 215, 255, 0.18), transparent 35%),
    radial-gradient(circle at 88% 10%, rgba(255, 106, 0, 0.18), transparent 34%),
    radial-gradient(circle at 80% 78%, rgba(53, 216, 154, 0.14), transparent 40%),
    linear-gradient(180deg, #fbfdff 0%, #f1f7ff 54%, #f8fbff 100%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  pointer-events: none;
}

body::before {
  inset: -26% -24%;
  z-index: -2;
  background:
    radial-gradient(circle at 14% 20%, rgba(0, 215, 255, 0.28), transparent 34%),
    radial-gradient(circle at 80% 20%, rgba(255, 106, 0, 0.24), transparent 36%),
    radial-gradient(circle at 30% 86%, rgba(64, 121, 255, 0.22), transparent 40%);
  animation: auroraShift 19s ease-in-out infinite alternate;
}

body::after {
  inset: -10%;
  z-index: -1;
  background: repeating-linear-gradient(
    -35deg,
    rgba(20, 58, 141, 0.02) 0,
    rgba(20, 58, 141, 0.02) 2px,
    transparent 2px,
    transparent 16px
  );
}

.btn {
  box-shadow: 0 10px 24px rgba(22, 66, 152, 0.16);
}

.btn-small {
  background: linear-gradient(100deg, #ff6a00, #ff9e12 55%, #ffc22e);
  box-shadow: 0 12px 24px rgba(255, 106, 0, 0.32);
}

.btn-primary {
  background: linear-gradient(112deg, #ff6a00 0%, #ff8f1f 45%, #ffc533 100%);
  box-shadow: 0 15px 30px rgba(255, 121, 15, 0.32);
}

.btn-ghost {
  color: #1b48b2;
  border: 1px solid rgba(40, 86, 186, 0.26);
  background: linear-gradient(135deg, #ffffff, #ebf5ff);
}

.hero.section-pad {
  padding-top: .2rem;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  align-items: center;
  gap: 1.15rem;
  min-height: clamp(470px, 64vh, 620px);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  overflow: visible;
}

.hero-copy {
  padding: clamp(1.25rem, 3vw, 2.2rem);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(56, 104, 203, 0.24);
  background: linear-gradient(152deg, rgba(255, 255, 255, 0.92), rgba(236, 247, 255, 0.86));
  box-shadow: 0 28px 56px rgba(14, 53, 124, 0.13);
  backdrop-filter: blur(6px);
  overflow: hidden;
}

.hero-copy::before {
  content: "";
  position: absolute;
  inset: -40% 50% 22% -28%;
  z-index: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 215, 255, 0.26), rgba(0, 215, 255, 0.02) 70%);
  animation: auroraShift 14s ease-in-out infinite alternate;
}

.hero-copy > * {
  position: relative;
  z-index: 1;
}

.hero-copy h1 {
  font-size: clamp(2.3rem, 5.2vw, 4.2rem);
  line-height: 1.02;
  background: linear-gradient(110deg, #123fbe 0%, #2159ef 30%, #00acc7 56%, #ff6a00 80%, #ff9a18 100%);
  background-size: 220% 220%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: titleFlow 8.2s ease-in-out infinite;
}

.hero-sub {
  margin: 1rem 0 .44rem;
  color: #1b4fb0;
  max-width: 38ch;
}

.hero-local {
  color: #48628e;
  max-width: 41ch;
}

.hero-badges span {
  padding: .4rem .72rem;
  border-radius: 999px;
  color: #1649aa;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(214, 238, 255, 0.9));
  border: 1px solid rgba(46, 98, 197, 0.3);
}

.hero-metric {
  border-radius: 18px;
  border: 1px solid rgba(255, 132, 16, 0.3);
  box-shadow: 0 14px 28px rgba(255, 132, 16, 0.22);
}

.metric-value {
  color: #d45400;
}

.hero-media {
  border-radius: var(--radius-xl);
  border: 1px solid rgba(64, 114, 215, 0.28);
  box-shadow: 0 30px 62px rgba(11, 45, 117, 0.24);
  min-height: clamp(320px, 50vh, 500px);
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(120deg, rgba(19, 53, 125, 0.22) 0%, rgba(19, 53, 125, 0.04) 38%, rgba(0, 207, 177, 0.18) 100%),
    radial-gradient(circle at 84% 14%, rgba(255, 187, 23, 0.26), transparent 34%);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 12px;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 24px;
  pointer-events: none;
}

.hero-bg-video {
  filter: saturate(1.28) contrast(1.1) brightness(1.02);
  object-position: center 36%;
  transform: scale(1.02);
  transition: transform 1.2s ease;
  animation: videoDrift 16s ease-in-out infinite alternate;
}

.hero-media:hover .hero-bg-video {
  transform: scale(1.08);
}

.stat-card,
.course-card,
.system-steps li,
.success-card,
.video-copy,
.video-placeholder,
.faq-item,
.contact-info,
.contact-form,
.map-wrap,
.media-card {
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid rgba(72, 118, 206, 0.2);
  box-shadow: 0 16px 32px rgba(14, 53, 124, 0.11);
}

.stat-card:hover,
.course-card:hover,
.system-steps li:hover,
.success-card:hover,
.media-card:hover,
.faq-item:hover,
.contact-info:hover,
.contact-form:hover,
.video-copy:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 38px rgba(13, 44, 113, 0.18);
}

.system-steps li {
  transition: transform .28s ease, box-shadow .28s ease;
}

.media-card figcaption {
  background: rgba(17, 52, 124, 0.76);
}

.video-grid {
  gap: 1.2rem;
  align-items: start;
}

.video-copy {
  background: linear-gradient(150deg, #ffffff, #edf6ff);
}

.video-placeholder {
  min-height: auto;
  aspect-ratio: 16 / 9;
  max-height: 430px;
  background: linear-gradient(135deg, #fff, #ebf4ff);
}

.video-placeholder video {
  min-height: 0;
}

.faq-item {
  border-left: 0;
  background: linear-gradient(150deg, #ffffff, #f1f8ff);
}

.faq-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  border-radius: 24px 0 0 24px;
  background: linear-gradient(180deg, #00d7ff, #00cfb1, #ff8e00);
}

.contact-info,
.contact-form,
.map-wrap {
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.96), rgba(237, 247, 255, 0.9));
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  border-radius: 12px;
  border-color: rgba(71, 116, 206, 0.32);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(49, 102, 212, 0.72);
  box-shadow: 0 0 0 4px rgba(69, 121, 225, 0.19);
}

.site-footer {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(236, 246, 255, 0.9));
  border-top: 1px solid rgba(62, 108, 200, 0.2);
}

@keyframes auroraShift {
  0% {
    transform: translate3d(-2%, -1%, 0) scale(1);
  }
  100% {
    transform: translate3d(3%, 2%, 0) scale(1.08);
  }
}

@keyframes videoDrift {
  0% {
    transform: scale(1.02) translateY(0);
  }
  100% {
    transform: scale(1.08) translateY(-10px);
  }
}

@media (max-width: 1080px) {
  .nav-wrap {
    padding: .62rem .72rem;
    border-radius: 22px;
  }

  .site-nav a {
    min-width: 84px;
  }

  .hero-grid {
    gap: .85rem;
  }

  .hero-copy,
  .hero-media {
    border-radius: 26px;
  }

  .hero-media {
    min-height: clamp(280px, 44vw, 420px);
  }

  .video-placeholder {
    max-height: none;
  }
}

@media (max-width: 680px) {
  .nav-wrap {
    margin-top: .3rem;
    padding: .52rem .58rem;
    border-radius: 18px;
  }

  .site-nav a {
    min-width: 76px;
  }

  .hero-copy,
  .hero-media {
    border-radius: 20px;
  }

  .hero-copy h1 {
    font-size: clamp(2rem, 11vw, 2.9rem);
  }

  .video-placeholder {
    aspect-ratio: 4 / 3;
  }
}

.hero {
  min-height: 100svh;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(100deg, rgba(6, 17, 35, 0.84) 0%, rgba(6, 17, 35, 0.62) 42%, rgba(6, 17, 35, 0.42) 100%),
    url("assets/herobackground.webp") center center / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 255, 255, 0.58) 0%, rgba(255, 255, 255, 0.06) 46%, transparent 62%),
    radial-gradient(circle at 80% 24%, rgba(255, 214, 141, 0.44) 0%, rgba(255, 214, 141, 0.06) 42%, transparent 64%),
    linear-gradient(100deg, rgba(188, 225, 255, 0.48) 0%, rgba(255, 255, 255, 0.24) 45%, rgba(255, 248, 220, 0.22) 100%);
}

.hero.section-pad {
  padding: 0;
}

.hero-grid {
  min-height: 100svh;
  position: relative;
  z-index: 1;
  gap: clamp(1rem, 2.8vw, 2.1rem);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  overflow: visible;
  padding: clamp(6.2rem, 10vh, 7.4rem) 0 clamp(2rem, 6vh, 3.8rem);
}

.hero-copy {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.hero-copy::before {
  content: none;
}

.hero-copy h1 {
  color: #ffffff;
  background: linear-gradient(108deg, #ffffff 0%, #baf2ff 22%, #ffdf7c 48%, #ffd1b7 70%, #ffffff 100%);
  background-size: 230% 230%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 20px rgba(117, 219, 255, 0.42), 0 0 34px rgba(255, 186, 98, 0.3);
  animation: heroTextShine 8s ease-in-out infinite;
}

.hero-sub,
.hero-local {
  color: #f4f9ff;
  text-shadow: 0 0 12px rgba(55, 173, 255, 0.3), 0 2px 12px rgba(7, 20, 40, 0.3);
}

.hero-sub {
  font-weight: 700;
  animation: heroTextPulse 3.8s ease-in-out infinite;
}

.hero-badges span {
  color: #f2f6ff;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.24), rgba(185, 234, 255, 0.22), rgba(255, 229, 153, 0.22));
  border: 1px solid rgba(255, 255, 255, 0.44);
  box-shadow: 0 0 14px rgba(99, 201, 255, 0.2);
}

.hero-metric {
  background: rgba(7, 20, 40, 0.36);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: none;
}

.metric-value {
  color: #ffcf78;
}

.metric-label {
  color: #ecf3ff;
}

.hero-media {
  min-height: clamp(320px, 52vh, 520px);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: translateY(-22px);
}

.hero-media::before,
.hero-media::after {
  content: none;
}

.hero-bg-video {
  object-position: center 28%;
  border-radius: 14px;
  filter: saturate(1.1) contrast(1.05);
  transform: scale(1.04) translateY(-14px);
  animation: none;
}

.hero-media:hover .hero-bg-video {
  transform: scale(1.07) translateY(-16px);
}

.hero-media figcaption {
  background: rgba(7, 20, 40, 0.62);
  color: #eef4ff;
  border: 1px solid rgba(255, 255, 255, 0.26);
}

@keyframes heroTextShine {
  0% {
    background-position: 0% 50%;
    filter: saturate(1);
  }
  50% {
    background-position: 100% 50%;
    filter: saturate(1.14);
  }
  100% {
    background-position: 0% 50%;
    filter: saturate(1);
  }
}

@keyframes heroTextPulse {
  0%,
  100% {
    text-shadow: 0 0 10px rgba(79, 186, 255, 0.32), 0 2px 10px rgba(7, 20, 40, 0.3);
  }
  50% {
    text-shadow: 0 0 18px rgba(255, 204, 111, 0.38), 0 4px 16px rgba(7, 20, 40, 0.34);
  }
}

@media (max-width: 1080px) {
  .hero-copy,
  .hero-media {
    border-radius: 0;
  }

  .hero-grid {
    min-height: 100svh;
    padding-top: 6rem;
  }
}

@media (max-width: 680px) {
  .site-header {
    position: fixed;
  }

  .nav-wrap {
    margin-top: 0;
    padding: .42rem 0;
  }

  .hero-grid {
    min-height: 100svh;
    padding-top: 5.5rem;
    padding-bottom: 1.6rem;
  }

  .hero-media {
    transform: translateY(-10px);
  }
}

.hero {
  background:
    linear-gradient(112deg, rgba(255, 255, 255, 0.86) 0%, rgba(255, 248, 236, 0.84) 38%, rgba(234, 247, 255, 0.82) 68%, rgba(255, 240, 220, 0.84) 100%),
    url("assets/herobackground.webp") center center / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at 10% 12%, rgba(255, 255, 255, 0.68) 0%, rgba(255, 255, 255, 0.2) 46%, transparent 66%),
    radial-gradient(circle at 86% 16%, rgba(255, 223, 177, 0.36) 0%, rgba(255, 223, 177, 0.1) 42%, transparent 68%),
    radial-gradient(circle at 76% 84%, rgba(176, 232, 255, 0.28) 0%, rgba(176, 232, 255, 0.08) 36%, transparent 62%),
    linear-gradient(116deg, rgba(255, 255, 255, 0.42) 0%, rgba(255, 248, 228, 0.36) 44%, rgba(227, 245, 255, 0.34) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  border-radius: 0;
  background:
    repeating-linear-gradient(90deg, rgba(35, 108, 200, 0.025) 0, rgba(35, 108, 200, 0.025) 1px, transparent 1px, transparent 20px);
}

.hero-grid {
  position: relative;
  z-index: 1;
  min-height: clamp(620px, 88svh, 760px);
  align-items: center;
  gap: clamp(.78rem, 2vw, 1.6rem);
  padding-top: clamp(5.2rem, 8.4vh, 6.4rem);
  padding-bottom: clamp(1.1rem, 2.6vh, 1.9rem);
}

.hero-copy {
  padding: clamp(1rem, 2.2vw, 1.6rem);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.hero-copy h1 {
  margin-bottom: .68rem;
  font-size: clamp(2.2rem, 4.9vw, 4rem);
  line-height: .98;
  letter-spacing: -.02em;
  max-width: none;
  color: #143b8d;
  background: linear-gradient(112deg, #153f95 0%, #2158c8 38%, #00a79b 100%);
  background-size: 170% 170%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 3px 14px rgba(56, 133, 221, 0.16), 0 0 16px rgba(160, 232, 255, 0.26);
  animation: titleFlow 10s ease-in-out infinite;
}

.hero-sub,
.hero-local {
  color: #233861;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.74), 0 6px 14px rgba(56, 123, 213, 0.11);
}

.hero-sub {
  margin: .68rem 0 .38rem;
  font-weight: 700;
  max-width: 34ch;
  animation: none;
}

.hero-local {
  margin: 0;
  max-width: 36ch;
}

.hero-badges {
  margin-top: .8rem;
  gap: .5rem;
}

.hero-badges span {
  padding: .34rem .64rem;
  font-size: .72rem;
  color: #1c4f9c;
  background: linear-gradient(128deg, rgba(255, 255, 255, 0.9), rgba(233, 246, 255, 0.86), rgba(255, 242, 214, 0.84));
  border: 1px solid rgba(84, 139, 226, 0.3);
  box-shadow: 0 8px 18px rgba(48, 114, 208, 0.1);
}

.hero-cta {
  margin-top: .95rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: .72rem;
  width: min(100%, 460px);
}

.hero-cta .btn {
  width: 100%;
  min-height: 54px;
  border-radius: 999px;
  font-size: .97rem;
  font-weight: 800;
  letter-spacing: .01em;
  box-shadow: 0 12px 24px rgba(40, 102, 196, 0.18);
}

.hero-cta .btn-primary {
  color: #ffffff;
  background: linear-gradient(104deg, #ff7a1a 0%, #ff9f1a 46%, #ffc934 100%);
  box-shadow: 0 14px 26px rgba(255, 138, 31, 0.34), 0 0 20px rgba(255, 177, 52, 0.36);
}

.hero-cta .btn-ghost {
  color: #123f8f;
  border: 1px solid rgba(76, 141, 232, 0.36);
  background: linear-gradient(106deg, #ffffff 0%, #eaf5ff 58%, #fff4db 100%);
  box-shadow: 0 13px 26px rgba(54, 126, 221, 0.16), 0 0 20px rgba(162, 220, 255, 0.34);
}

.hero-metric {
  margin-top: .95rem;
  padding: .76rem .88rem;
  background: linear-gradient(132deg, rgba(255, 255, 255, 0.92), rgba(255, 247, 231, 0.86));
  border: 1px solid rgba(255, 165, 57, 0.34);
}

.metric-value {
  color: #dc6200;
}

.metric-label {
  color: #74461f;
}

.hero-media {
  transform: none;
  min-height: clamp(260px, 44vh, 420px);
  border-radius: clamp(20px, 3.4vw, 28px);
  border: 1px solid rgba(81, 145, 233, 0.32);
  box-shadow: 0 16px 32px rgba(36, 92, 174, 0.12);
  overflow: hidden;
}

.hero-media::before {
  content: none;
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: none;
}

.hero-bg-video {
  transform: scale(1.04) translateY(-8px);
  object-position: center 18%;
  opacity: .92;
  filter: saturate(1) contrast(1);
}

.hero-media:hover .hero-bg-video {
  transform: scale(1.06) translateY(-10px);
}

@media (min-width: 760px) {
  .hero-cta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100%, 620px);
  }
}

@media (max-width: 680px) {
  .hero-grid {
    min-height: auto;
    padding-top: 4.9rem;
    padding-bottom: 1.15rem;
    grid-template-areas:
      "media"
      "copy";
  }

  .hero-copy h1 {
    font-size: clamp(1.92rem, 9.8vw, 2.75rem);
    max-width: 9.2ch;
  }

  .hero-cta .btn {
    min-height: 54px;
    font-size: .97rem;
  }

  .hero-media {
    min-height: 220px;
  }

  .hero-bg-video {
    opacity: .9;
  }
}

/* Mobile hotfix: full-width hero + non-scrolling header menu */
@media (max-width: 680px) {
  .site-header .container {
    width: 100%;
    max-width: none;
    margin: 0;
    padding-inline: .24rem;
  }

  .site-header {
    padding: .08rem 0;
  }

  .nav-wrap {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    min-height: 52px;
    padding: .18rem .28rem;
    border-radius: 0;
    column-gap: .28rem;
    row-gap: 0;
    width: 100%;
  }

  .brand {
    justify-content: flex-start;
    gap: .18rem;
    width: max-content;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  .brand-text strong {
    font-size: .7rem;
    line-height: 1.1;
    white-space: nowrap;
  }

  .brand-text small {
    display: none;
  }

  .site-nav {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: .04rem;
    width: 100%;
    overflow: visible;
    padding: 0;
  }

  .site-nav a {
    min-width: 0;
    width: 100%;
    padding: 0;
    gap: .1rem;
    font-size: .56rem;
    line-height: 1.06;
    white-space: nowrap;
    text-align: center;
  }

  .site-nav a::after {
    left: 18%;
    right: 18%;
    bottom: -2px;
  }

  .site-nav a img {
    width: 46px;
    height: 46px;
    border-radius: 10px;
  }

  .site-nav a span {
    display: block;
    margin-top: .08rem;
    line-height: 1.06;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "media"
      "copy";
    min-height: auto;
    gap: .7rem;
    padding-top: 4.3rem;
    padding-bottom: 1.1rem;
  }

  .hero-media {
    grid-area: media;
    width: 100%;
    min-height: 230px;
    transform: translateY(0);
  }

  .hero-copy {
    grid-area: copy;
    width: 100%;
    margin: 0;
  }

  .hero-bg-video {
    object-position: center 14%;
  }
}

/* Scroll state lock: keep header/nav same size, no rounded card on scroll */
.site-header.is-scrolled {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(255, 255, 255, 0.9));
  border-bottom: 1px solid rgba(41, 92, 177, 0.18);
  box-shadow: none;
  backdrop-filter: blur(10px);
}

.site-header.is-scrolled .nav-wrap {
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.94), rgba(243, 251, 255, 0.9), rgba(255, 245, 225, 0.86));
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

@media (max-width: 680px) {
  .site-header.is-scrolled .nav-wrap {
    min-height: 52px;
    padding: .18rem .28rem;
    border: 0;
    border-radius: 0;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.96), rgba(245, 252, 255, 0.92), rgba(255, 246, 229, 0.9));
    box-shadow: none;
  }
}

/* Mobile typography fix: prevent awkward hero line breaks */
@media (max-width: 680px) {
  .hero-copy {
    padding: .52rem .24rem .12rem;
  }

  .hero-copy .eyebrow {
    font-size: .72rem;
    line-height: 1.18;
    letter-spacing: .04em;
    padding: .28rem .58rem;
  }

  .hero-copy h1 {
    font-size: clamp(2rem, 10.5vw, 2.8rem);
    line-height: .98;
    max-width: none;
  }

  .hero-sub {
    font-size: 1.06rem;
    margin: .48rem 0 .22rem;
  }

  .hero-local {
    font-size: .98rem;
    line-height: 1.42;
  }

  .hero-badges span {
    font-size: .72rem;
  }
}

/* Header conversion boost: larger brand + sharp right-side CTA */
.nav-wrap {
  grid-template-columns: auto 1fr auto;
}

.brand {
  gap: .9rem;
}

.brand-mark {
  width: 52px;
  height: 52px;
  border-radius: 15px;
  font-size: 1rem;
}

.brand-text strong {
  font-size: 1.08rem;
  font-weight: 900;
  letter-spacing: .01em;
}

.brand-text small {
  font-size: .77rem;
}

.header-sharp-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: .62rem .95rem;
  border-radius: 999px;
  font-family: "Sora", "Manrope", "Noto Sans TC", sans-serif;
  font-size: .9rem;
  font-weight: 900;
  letter-spacing: .03em;
  color: #603100;
  background: linear-gradient(112deg, #fff8d4 0%, #ffd66c 32%, #ffb93a 55%, #ffd978 76%, #fff7d2 100%);
  border: 1px solid rgba(175, 108, 0, 0.42);
  box-shadow: 0 10px 22px rgba(189, 123, 0, 0.27), inset 0 1px 0 rgba(255, 255, 255, 0.88);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.85);
  transition: transform .2s ease, box-shadow .25s ease, filter .25s ease;
}

.header-sharp-cta::before {
  content: "";
  position: absolute;
  inset: -28% -42%;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(118deg, transparent 36%, rgba(255, 255, 255, 0.7) 49%, transparent 63%);
  transform: translateX(-62%) skewX(-18deg);
  animation: headerCtaShine 2.8s ease-in-out infinite;
}

.header-sharp-cta:hover,
.header-sharp-cta:focus-visible {
  transform: translateY(-1px);
  filter: saturate(1.08);
  box-shadow: 0 14px 26px rgba(196, 128, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

@keyframes headerCtaShine {
  0% {
    transform: translateX(-74%) skewX(-18deg);
    opacity: .25;
  }
  42% {
    opacity: .88;
  }
  100% {
    transform: translateX(82%) skewX(-18deg);
    opacity: .2;
  }
}

@media (max-width: 900px) {
  .header-sharp-cta {
    font-size: .82rem;
    padding: .56rem .8rem;
  }
}

@media (max-width: 680px) {
  .header-sharp-cta {
    display: none;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .brand-text strong {
    font-size: .7rem;
  }
}

@media (min-width: 681px) and (max-width: 1024px) {
  .header-sharp-cta {
    display: none;
  }
}

/* UI density cleanup: reduce wasted whitespace and normalize final layout */
.section-pad {
  padding: clamp(2rem, 4vw, 3.2rem) 0;
}

.compact-head {
  margin-bottom: .75rem;
}

.compact-head .eyebrow {
  margin-bottom: .35rem;
}

.compact-head h2 {
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  line-height: 1.25;
}

.campaign-section .container {
  display: grid;
  gap: .65rem;
}

.campaign-section.section-pad {
  padding-top: clamp(4.8rem, 8.5vh, 6rem);
  padding-bottom: clamp(.55rem, 1.2vw, .9rem);
}

.campaign-include {
  min-height: clamp(980px, 132vh, 1500px);
}

section[id] {
  scroll-margin-top: 90px;
}

.ticker {
  margin-top: .45rem;
}

.hero.section-pad {
  padding-top: 0;
  padding-bottom: clamp(1.2rem, 2.8vw, 2rem);
}

.hero-grid {
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-areas: "copy" !important;
  min-height: auto;
  gap: .6rem;
  padding: clamp(4.7rem, 7.2vh, 5.7rem) 0 clamp(1rem, 2.2vh, 1.6rem);
}

.hero-copy {
  max-width: 72ch;
  padding: clamp(.8rem, 1.8vw, 1.2rem);
}

.hero-media {
  display: none !important;
}

.hero-metric {
  margin-top: .95rem;
}

.core-features .section-title {
  margin-bottom: 0;
}

.core-features .features-grid {
  gap: 1rem;
}

.grant-wrap {
  padding-top: 0;
  padding-bottom: clamp(1.2rem, 2.4vw, 1.8rem);
}

.doctor-section.section-pad {
  padding-top: clamp(1.6rem, 2.8vw, 2.2rem);
}

.doctor-inner {
  gap: .8rem;
}

.doctor-info p {
  margin: .4rem 0 0;
}

.course-grid {
  margin-top: 1rem;
  gap: .8rem;
}

.course-card {
  --course-pad-x: .95rem;
  min-height: 0;
  padding: 0 var(--course-pad-x) 1rem;
}

.course-photo {
  display: block;
  max-width: none;
  width: calc(100% + (var(--course-pad-x) * 2));
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  object-position: center 45%;
  margin: 0 calc(var(--course-pad-x) * -1) .55rem;
  border-bottom: 1px solid #d9e6f8;
  border-top-left-radius: calc(var(--radius) + 2px);
  border-top-right-radius: calc(var(--radius) + 2px);
}

.course-grid .course-card:nth-child(1) .course-photo {
  object-position: center 46%;
}

.course-grid .course-card:nth-child(2) .course-photo {
  object-position: center 42%;
}

.course-grid .course-card:nth-child(3) .course-photo {
  object-position: center 52%;
}

.course-grid .course-card:nth-child(4) .course-photo {
  object-position: center 44%;
}

.course-grid .course-card:nth-child(5) .course-photo {
  object-position: center 40%;
}

.system-steps {
  margin-top: 1rem;
  gap: .8rem;
}

.system-steps li {
  padding: .95rem .9rem;
}

.success-grid {
  margin-top: 1rem;
  gap: .8rem;
}

.success-card {
  padding: .95rem .9rem;
}

.success-card blockquote {
  font-size: .84rem;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.slogan-shell {
  padding: 1.12rem .96rem;
}

.video-section.section-pad {
  padding-top: 1.6rem;
  padding-bottom: 1.8rem;
}

.faq-list {
  margin-top: .9rem;
  gap: .56rem;
}

.contact.section-pad {
  padding-top: 2rem;
}

.contact-grid {
  gap: .8rem;
}

.contact-info,
.contact-form {
  padding: 1rem .9rem;
}

.map-wrap {
  margin-top: .75rem;
  padding: .85rem;
}

.map-wrap iframe {
  height: 260px;
}

.site-footer {
  margin-top: clamp(1rem, 2.2vw, 1.6rem);
}

@media (max-width: 1080px) {
  .campaign-include {
    min-height: 620px;
  }

  .campaign-noscript-frame {
    height: 1200px;
  }

  .hero-grid {
    padding-top: 5.1rem;
  }
}

@media (max-width: 680px) {
  .section-pad {
    padding: 1.5rem 0;
  }

  .campaign-include {
    min-height: 400px;
  }

  .campaign-noscript-frame {
    height: 1100px;
  }

  .campaign-section.section-pad {
    padding-top: 4.4rem;
  }

  .hero-grid {
    grid-template-areas: "copy" !important;
    padding-top: 4.1rem;
    padding-bottom: .9rem;
    gap: .45rem;
  }

  .hero-copy {
    padding: .45rem .18rem .05rem;
  }

  .hero-copy h1 {
    max-width: none;
    font-size: clamp(1.86rem, 9vw, 2.45rem);
  }

  .hero-local {
    font-size: .92rem;
    line-height: 1.38;
  }

  .core-features .feature-card {
    padding: .96rem .8rem .9rem;
  }

  .grant-wrap {
    padding-bottom: 1.2rem;
  }

  .doctor-section.section-pad {
    padding-top: 1.2rem;
  }

  .doctor-info {
    padding: .9rem .8rem;
  }

  .course-grid {
    gap: .72rem;
  }

  .course-photo {
    width: calc(100% + (var(--course-pad-x) * 2));
    aspect-ratio: 4 / 3;
    height: auto;
    object-fit: cover;
    object-position: center 48%;
    margin: 0 calc(var(--course-pad-x) * -1) .52rem;
  }

  .course-card {
    --course-pad-x: .78rem;
  }

  .system-steps li {
    padding: .82rem .78rem;
  }

  .success-grid {
    gap: .72rem;
  }

  .success-card blockquote {
    -webkit-line-clamp: 5;
  }

  .slogan-lines li {
    padding: .58rem .5rem;
    font-size: .92rem;
  }

  .video-section.section-pad {
    padding-top: 1.2rem;
  }

  .contact-grid {
    gap: .7rem;
  }

  .map-wrap iframe {
    height: 220px;
  }
}

/* Floating WhatsApp Button */
.wa-fab {
  position: fixed;
  right: 20px;
  bottom: 24px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 26px rgba(37, 211, 102, 0.65);
  z-index: 999;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transform: translateZ(0);
  animation: wabounce 2.5s ease-in-out infinite;
}

/* Boxed ACE Posters */
.ace-posters {
  width: min(92%, var(--max));
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

.ace-poster-card {
  margin: 0;
  padding: .48rem;
  border: 1px solid #d4e2f5;
  border-radius: calc(var(--radius) + 6px);
  background: linear-gradient(160deg, #ffffff, #f5fbff);
  box-shadow: 0 14px 30px rgba(15, 43, 91, 0.12);
  overflow: hidden;
}

.ace-poster-card img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: calc(var(--radius) + 2px);
  object-fit: contain;
  background: #eef6ff;
}

.wa-fab::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
  animation: wahalo 2.5s ease-out infinite;
  pointer-events: none;
}

.wa-fab svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

@media (max-width: 680px) {
  .ace-posters {
    width: min(96%, var(--max));
    gap: .72rem;
  }

  .ace-poster-card {
    padding: .32rem;
    border-radius: calc(var(--radius) + 2px);
  }

  .ace-poster-card img {
    border-radius: var(--radius);
  }

  .wa-fab {
    right: max(14px, env(safe-area-inset-right));
    bottom: calc(14px + env(safe-area-inset-bottom));
    width: 58px;
    height: 58px;
  }
}

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

  40% {
    transform: translateY(-8px);
  }

  60% {
    transform: translateY(-4px);
  }
}

@keyframes wahalo {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.45);
    opacity: 0.8;
  }

  70% {
    box-shadow: 0 0 0 14px rgba(37, 211, 102, 0);
    opacity: 0.2;
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    opacity: 0;
  }
}

/* Hero redesign: left info + right badge */
.hero.section-pad#media-wall {
  padding-top: 0;
  padding-bottom: clamp(.65rem, 1.8vw, 1.15rem);
}

.hero-grid.hero-redesign {
  grid-template-columns: minmax(0, 1.25fr) minmax(250px, .75fr) !important;
  grid-template-areas:
    "ticker ticker"
    "copy badge" !important;
  min-height: auto;
  padding-top: clamp(.95rem, 2vh, 1.45rem);
  padding-bottom: clamp(.35rem, .95vh, .7rem);
  align-items: stretch;
  gap: clamp(.62rem, 1.55vw, 1.05rem);
}

.hero-ticker {
  grid-area: ticker;
  margin-top: 0;
}

.hero-left {
  grid-area: copy;
  max-width: none;
  padding: clamp(.35rem, .8vw, .62rem) clamp(.42rem, 1vw, .8rem) .28rem;
}

.hero-left .doctor-info {
  margin-top: clamp(.55rem, 1.45vw, .9rem);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hero-left .doctor-info .eyebrow {
  display: inline-flex;
  align-items: center;
  padding: .26rem .62rem;
  border: 1px solid rgba(255, 153, 40, 0.42);
  border-radius: 999px;
  background: linear-gradient(120deg, rgba(255, 248, 236, 0.92), rgba(255, 236, 204, 0.84));
  box-shadow: 0 4px 10px rgba(255, 145, 48, 0.14);
  color: #b24c00;
  letter-spacing: .08em;
}

.hero-left .doctor-info h2 {
  font-size: clamp(1.22rem, 2.05vw, 1.78rem);
}

.hero-left .stat-row {
  gap: 10px;
  margin-top: 14px;
}

.hero-left .stat-box {
  padding: 10px 12px;
  border: 1px solid rgba(255, 153, 40, 0.5);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(255, 247, 232, 0.86), rgba(255, 236, 205, 0.74));
  box-shadow: 0 6px 14px rgba(255, 145, 48, 0.16);
  text-align: center;
}

.hero-left .stat-num {
  font-size: clamp(1.38rem, 2.1vw, 1.72rem);
  color: #cf4c00;
}

.hero-left .stat-label {
  margin-top: 2px;
  color: #5e6f89;
}

.hero-left .hero-badges span {
  padding: 0 0 0 14px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  position: relative;
}

.hero-left .hero-badges span::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(140deg, #ff8a2f, #ffbe4d);
}

.hero-left .hero-metric {
  margin-top: .72rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.hero-right {
  grid-area: badge;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-right .doctor-emblem-wrap {
  width: min(100%, 320px);
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  gap: .62rem;
}

.hero-right .doctor-emblem {
  width: clamp(208px, 22vw, 240px);
  height: clamp(208px, 22vw, 240px);
}

.hero-right .doctor-emblem-badge {
  justify-content: center;
  width: 100%;
  text-align: center;
}

.hero-grant {
  margin-top: 0;
  width: 100%;
}

.hero-right .hero-grant {
  margin-top: .45rem;
}

@media (max-width: 980px) {
  .hero-grid.hero-redesign {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-areas:
      "ticker"
      "copy"
      "badge" !important;
    padding-top: .72rem;
    padding-bottom: .42rem;
    gap: .62rem;
  }

  .hero-right {
    justify-content: flex-start;
  }

  .hero-right .doctor-emblem-wrap {
    width: min(100%, 420px);
  }
}

@media (max-width: 680px) {
  .hero-left .doctor-info h2 br {
    display: inline;
  }

  .campaign-section.section-pad {
    padding-bottom: .45rem;
  }

  .hero-left .doctor-info {
    margin-top: .52rem;
  }

  .hero-right {
    justify-content: center;
  }

  .hero-right .doctor-emblem-wrap {
    width: 100%;
    max-width: 320px;
    padding: 0;
    gap: .44rem;
  }

  .hero-right .doctor-emblem {
    width: 196px;
    height: 196px;
  }
}

/* Canonical header/nav */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: .34rem 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.78));
  border-bottom: 0;
  box-shadow: none;
  backdrop-filter: blur(10px);
}

.site-header.is-scrolled {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(255, 255, 255, 0.9));
  border-bottom: 1px solid rgba(41, 92, 177, 0.18);
  box-shadow: none;
  backdrop-filter: blur(10px);
}

.nav-wrap {
  min-height: 66px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 1.1rem;
  padding: .3rem .62rem;
  border-radius: 18px;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.88), rgba(243, 251, 255, 0.78), rgba(255, 245, 225, 0.74));
}

.site-header.is-scrolled .nav-wrap {
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.94), rgba(243, 251, 255, 0.9), rgba(255, 245, 225, 0.86));
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.brand {
  display: flex;
  align-items: center;
  gap: .9rem;
}

.brand-logo {
  width: 56px;
  height: 56px;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-text {
  display: grid;
  justify-items: start;
  text-align: left;
  line-height: 1.1;
}

.brand-text strong {
  font-size: 1.08rem;
  font-weight: 900;
  letter-spacing: .01em;
  text-align: left;
  color: #19448c;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.9);
}

.brand-text small {
  font-size: .77rem;
  text-align: left;
  color: #5a77a8;
}

.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  width: min(100%, 760px);
  gap: .34rem;
}

.site-nav a {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  padding: 0 .14rem;
  gap: .06rem;
  font-size: .78rem;
  color: #1d4e98;
  text-align: center;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.82);
}

.site-nav a::before {
  content: none;
}

.site-nav a::after {
  background: linear-gradient(90deg, #9fe8ff, #fff4bf, #ffc987);
}

.site-nav a span {
  display: block;
  line-height: 1.16;
  color: inherit;
}

.site-nav a img {
  width: 68px;
  height: 68px;
  padding: 2px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 16px;
  background: linear-gradient(135deg, #ffffff, #eef7ff);
  box-shadow: 0 10px 20px rgba(22, 66, 152, 0.18);
  object-fit: contain;
}

.site-nav a:hover img,
.site-nav a:focus-visible img {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 14px 24px rgba(22, 66, 152, 0.24);
}

@media (max-width: 1024px) {
  .header-sharp-cta {
    display: none;
  }
}

@media (max-width: 980px) {
  .site-nav {
    gap: .26rem;
  }

  .site-nav a {
    min-width: 0;
    padding: 0 .06rem;
  }

  .site-nav a img {
    width: 58px;
    height: 58px;
    border-radius: 14px;
  }
}

@media (max-width: 680px) {
  .site-header {
    padding: .08rem 0;
  }

  .site-header .container {
    width: 100%;
    max-width: none;
    margin: 0;
    padding-inline: .12rem;
  }

  .nav-wrap {
    grid-template-columns: auto minmax(0, 1fr);
    min-height: 52px;
    padding: .14rem .18rem;
    border-radius: 0;
    column-gap: .18rem;
  }

  .site-header.is-scrolled .nav-wrap {
    min-height: 52px;
    padding: .14rem .18rem;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.96), rgba(245, 252, 255, 0.92), rgba(255, 246, 229, 0.9));
  }

  .brand {
    gap: .18rem;
    width: max-content;
  }

  .brand-logo {
    width: 50px;
    height: 50px;
  }

  .brand-text strong {
    font-size: .7rem;
    line-height: 1.1;
    white-space: nowrap;
  }

  .brand-text small {
    display: none;
  }

  .site-nav {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    justify-self: stretch;
    gap: 0;
    width: 100%;
    overflow: visible;
    padding: 0;
  }

  .site-nav a {
    min-width: 0;
    width: 100%;
    padding: 0;
    gap: .14rem;
    font-size: .62rem;
    line-height: 1.08;
  }

  .site-nav a::after {
    left: 18%;
    right: 18%;
    bottom: -2px;
  }

  .site-nav a img {
    width: 50px;
    height: 50px;
    padding: 1px;
    border-radius: 10px;
  }

  .site-nav a span {
    margin-top: .16rem;
    line-height: 1.08;
  }
}

/* Desktop offset fix: prevent campaign top from being covered by fixed header */
@media (min-width: 981px) {
  .brand-logo {
    width: 68px;
    height: 68px;
  }

  .site-nav a {
    gap: .1rem;
    font-size: .84rem;
  }

  .site-nav a span {
    margin-top: .12rem;
    line-height: 1.18;
  }

  .campaign-section.section-pad {
    padding-top: clamp(5.9rem, 10vh, 7.1rem);
  }
}
