.aacp-home-simple {
  width: min(1180px, calc(100% - 32px));
  margin: 24px auto 80px;
  color: var(--aacp-text);
  position: relative;
  z-index: 1;
  scroll-behavior: smooth;
}

.aacp-home-simple::before {
  content: "";
  position: absolute;
  inset: -36px -28px auto;
  height: 360px;
  background:
    radial-gradient(380px 180px at 9% 12%, rgba(66, 133, 244, 0.22) 0%, rgba(66, 133, 244, 0) 72%),
    radial-gradient(360px 200px at 84% 2%, rgba(234, 67, 53, 0.2) 0%, rgba(234, 67, 53, 0) 72%),
    radial-gradient(320px 160px at 78% 58%, rgba(251, 188, 5, 0.2) 0%, rgba(251, 188, 5, 0) 74%),
    radial-gradient(360px 190px at 23% 80%, rgba(52, 168, 83, 0.2) 0%, rgba(52, 168, 83, 0) 75%);
  pointer-events: none;
  z-index: -1;
  filter: blur(2px);
  animation: aacpHueFloat 12s ease-in-out infinite alternate;
}

.aacp-simple-hero,
.aacp-simple-block,
.aacp-simple-nav-grid,
.aacp-simple-info-grid {
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 24px rgba(18, 24, 38, 0.06);
}

.aacp-simple-hero,
.aacp-simple-block {
  padding: clamp(20px, 3vw, 34px);
}

.aacp-simple-hero {
  position: relative;
  overflow: hidden;
  min-height: clamp(300px, 34vw, 420px);
  background:
    radial-gradient(1000px 420px at 5% -120px, rgba(0, 168, 150, 0.22) 0%, rgba(255, 255, 255, 0) 62%),
    radial-gradient(900px 380px at 100% -160px, rgba(66, 133, 244, 0.12) 0%, rgba(255, 255, 255, 0) 64%),
    linear-gradient(180deg, #ffffff 0%, #f8fbfb 100%);
}

.aacp-simple-hero::before,
.aacp-simple-hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.aacp-simple-hero::before {
  width: 280px;
  height: 280px;
  right: -110px;
  top: -90px;
  background: conic-gradient(from 0deg, rgba(66, 133, 244, 0.35), rgba(52, 168, 83, 0.24), rgba(251, 188, 5, 0.28), rgba(234, 67, 53, 0.3), rgba(66, 133, 244, 0.35));
  filter: blur(14px);
  animation: aacpSpin 22s linear infinite;
}

.aacp-simple-hero::after {
  width: 220px;
  height: 220px;
  left: -80px;
  bottom: -96px;
  background: radial-gradient(circle at 30% 30%, rgba(0, 168, 150, 0.28), rgba(0, 168, 150, 0));
  animation: aacpPulse 6.2s ease-in-out infinite;
}

.aacp-simple-kicker {
  margin: 0;
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #00786c;
  background: rgba(0, 168, 150, 0.14);
}

.aacp-simple-kicker-logo {
  padding: 0;
  background: transparent;
  border-radius: 0;
}

.aacp-simple-kicker-logo .custom-logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.aacp-simple-kicker-logo .custom-logo {
  width: auto;
  height: clamp(28px, 4.8vw, 44px);
  max-width: min(320px, 72vw);
}

.aacp-simple-hero h1 {
  margin: 0 0 8px;
  font-size: clamp(2rem, 5.6vw, 3.2rem);
  line-height: 1.16;
  letter-spacing: -0.02em;
  color: #1e232b;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
}

.aacp-simple-hero p {
  margin: 0;
  color: #5f646d;
  line-height: 1.72;
  max-width: 60ch;
}

.aacp-simple-actions {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.aacp-hero-youtube {
  margin: 14px 0 0;
  font-size: 0.9rem;
  line-height: 1.5;
}

.aacp-hero-youtube a {
  color: #6b7280;
  text-decoration: none;
  transition: color 0.15s ease;
}

.aacp-hero-youtube a:hover {
  color: #c4302b;
  text-decoration: underline;
}

.aacp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 800;
  transition: all 0.18s ease;
}

.aacp-btn-primary {
  color: #fff;
  background: #00a896;
  border-color: #00a896;
  box-shadow: 0 10px 22px rgba(0, 168, 150, 0.28);
}

.aacp-btn-primary:hover {
  color: #fff;
  background: #008b7c;
  border-color: #008b7c;
}

.aacp-btn-ghost {
  color: #fff;
  background: #1f2937;
  border-color: #1f2937;
}

.aacp-btn-ghost:hover {
  color: #fff;
  background: #111827;
  border-color: #111827;
}

.aacp-simple-nav-grid {
  margin-top: 16px;
  padding: 12px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.aacp-simple-nav-grid a {
  min-height: 42px;
  padding: 6px 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.3;
  border-radius: 11px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  background: rgba(255, 255, 255, 0.9);
  color: #2b3138;
  font-weight: 700;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: transform 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.aacp-simple-nav-grid a::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  border-radius: 999px;
  opacity: 0.88;
}

.aacp-simple-nav-grid a:nth-child(1)::before {
  background: linear-gradient(90deg, #4285f4, #3b76e0);
}

.aacp-simple-nav-grid a:nth-child(1) {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, #4285f4 0%, #3b76e0 100%);
}

.aacp-simple-nav-grid a:nth-child(2)::before {
  background: linear-gradient(90deg, #34a853, #2d9248);
}

.aacp-simple-nav-grid a:nth-child(2) {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, #34a853 0%, #2d9248 100%);
}

.aacp-simple-nav-grid a:nth-child(3)::before {
  background: linear-gradient(90deg, #fbbc05, #e9a900);
}

.aacp-simple-nav-grid a:nth-child(3) {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, #fbbc05 0%, #e9a900 100%);
}

.aacp-simple-nav-grid a:nth-child(4)::before {
  background: linear-gradient(90deg, #00a896, #008f80);
}

.aacp-simple-nav-grid a:nth-child(4) {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, #00a896 0%, #008f80 100%);
}

.aacp-simple-nav-grid a:nth-child(5)::before {
  background: linear-gradient(90deg, #ea4335, #cc3428);
}

.aacp-simple-nav-grid a:nth-child(5) {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, #ea4335 0%, #cc3428 100%);
}

.aacp-simple-nav-grid a:hover {
  border-color: rgba(0, 168, 150, 0.36);
  color: #006f64;
  transform: translateY(-1px);
}

.aacp-simple-nav-grid a:nth-child(1):hover,
.aacp-simple-nav-grid a:nth-child(2):hover,
.aacp-simple-nav-grid a:nth-child(3):hover,
.aacp-simple-nav-grid a:nth-child(4):hover,
.aacp-simple-nav-grid a:nth-child(5):hover {
  color: #fff;
  filter: brightness(1.03);
}

.aacp-simple-block {
  margin-top: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.aacp-simple-block:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 168, 150, 0.24);
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.1);
}

.aacp-simple-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.aacp-simple-head h2,
.aacp-simple-block h2 {
  margin: 0;
  font-size: clamp(1.4rem, 3.2vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.aacp-simple-head a {
  font-weight: 700;
  text-decoration: none;
}

.aacp-home-simple>section,
.aacp-home-simple>.aacp-simple-info-grid {
  opacity: 0;
  transform: translateY(10px);
  animation: aacpSectionIn 0.55s ease forwards;
}

.aacp-home-simple>section:nth-of-type(1) {
  animation-delay: 0.04s;
}

.aacp-home-simple>section:nth-of-type(2) {
  animation-delay: 0.09s;
}

.aacp-home-simple>section:nth-of-type(3) {
  animation-delay: 0.14s;
}

.aacp-home-simple>section:nth-of-type(4) {
  animation-delay: 0.19s;
}

.aacp-home-simple>section:nth-of-type(5) {
  animation-delay: 0.24s;
}

.aacp-home-simple>section:nth-of-type(6) {
  animation-delay: 0.29s;
}

.aacp-priority-badge {
  display: inline-flex;
  align-items: center;
  margin-right: 10px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.74rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.aacp-simple-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.aacp-simple-list article {
  padding: 14px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  position: relative;
}

.aacp-simple-list article::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, #00a896, #4285f4);
  opacity: 0.7;
}

.aacp-simple-list h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
  line-height: 1.35;
}

.aacp-simple-list h3 a {
  text-decoration: none;
  color: #1f252b;
}

.aacp-simple-list h3 a:hover {
  color: var(--aacp-link);
}

.aacp-simple-list p,
.aacp-simple-block p {
  margin: 0;
  color: #5f646d;
  line-height: 1.75;
}

.aacp-course-buckets {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}

.aacp-course-buckets--two {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  margin-top: 14px;
}

/* ── Available showcase section ── */
.aacp-avail-section {
  margin-bottom: 4px;
}

.aacp-avail-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.aacp-avail-section-title {
  margin: 0 0 3px;
  font-size: 1.15rem;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.01em;
}

.aacp-avail-section-sub {
  margin: 0;
  font-size: 0.82rem;
  color: #6b7280;
}

.aacp-avail-more-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.07);
  border: 1px solid rgba(37, 99, 235, 0.2);
  color: #2563eb;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.15s, border-color 0.15s;
}

.aacp-avail-more-link:hover {
  background: rgba(37, 99, 235, 0.13);
  border-color: rgba(37, 99, 235, 0.4);
  color: #1d4ed8;
  text-decoration: none;
}

.aacp-avail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.aacp-avail-card {
  border-radius: 14px;
  border: 1px solid rgba(17, 24, 39, 0.09);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 14px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.18s, transform 0.18s;
}

.aacp-avail-card:hover {
  box-shadow: 0 6px 22px rgba(15, 23, 42, 0.11);
  transform: translateY(-2px);
}

.aacp-avail-top {
  height: 3px;
}

.aacp-avail-card--blue .aacp-avail-top {
  background: #3b82f6;
}

.aacp-avail-card--green .aacp-avail-top {
  background: #22c55e;
}

.aacp-avail-card--red .aacp-avail-top {
  background: #ef4444;
}

.aacp-avail-card--purple .aacp-avail-top {
  background: #8b5cf6;
}

.aacp-avail-body {
  flex: 1;
  padding: 14px 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.aacp-avail-level {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  align-self: flex-start;
}

.aacp-avail-card--blue .aacp-avail-level {
  background: rgba(59, 130, 246, 0.1);
  color: #1d4ed8;
}

.aacp-avail-card--green .aacp-avail-level {
  background: rgba(34, 197, 94, 0.1);
  color: #15803d;
}

.aacp-avail-card--red .aacp-avail-level {
  background: rgba(239, 68, 68, 0.1);
  color: #b91c1c;
}

.aacp-avail-card--purple .aacp-avail-level {
  background: rgba(139, 92, 246, 0.1);
  color: #6d28d9;
}

.aacp-avail-name {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 800;
  color: #1f252b;
  line-height: 1.3;
}

.aacp-avail-desc {
  margin: 0;
  font-size: 0.75rem;
  color: #6b7280;
  line-height: 1.4;
}

.aacp-avail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 3px 8px;
  margin-top: auto;
  padding-top: 6px;
}

.aacp-avail-meta span {
  font-size: 0.74rem;
  color: #64748b;
}

.aacp-avail-foot {
  padding: 0 12px 12px;
}

.aacp-avail-signup-btn {
  display: block;
  text-align: center;
  padding: 8px;
  border-radius: 9px;
  background: #2563eb;
  color: #fff !important;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none !important;
  transition: background 0.15s;
}

.aacp-avail-signup-btn:hover {
  background: #1d4ed8;
}

/* LINE inquiry button on flat list */
.aacp-course-flat-signup--line {
  background: #06c755;
  color: #fff !important;
}

.aacp-course-flat-signup--line:hover {
  background: #05a547;
  color: #fff !important;
}

/* Recorded promo card */
.aacp-recorded-promo {
  padding: 6px 0 4px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.aacp-recorded-promo-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  color: #1f252b;
}

.aacp-recorded-promo-sub {
  margin: 0;
  font-size: 0.82rem;
  color: #374151;
  line-height: 1.45;
}

.aacp-recorded-promo-note {
  margin: 0;
  font-size: 0.76rem;
  color: #9ca3af;
}

.aacp-recorded-promo-levels {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 2px 0;
}

.aacp-recorded-promo-levels span {
  padding: 2px 9px;
  border-radius: 999px;
  background: rgba(234, 67, 53, 0.08);
  color: #a63a2f;
  font-size: 0.72rem;
  font-weight: 700;
}

.aacp-avail-empty {
  font-size: 0.86rem;
  color: #9ca3af;
  margin: 0;
}

/* Placement bar */
.aacp-course-placement-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px 16px;
  margin-bottom: 18px;
  border-radius: 10px;
  background: rgba(37, 99, 235, 0.04);
  border: 1px solid rgba(37, 99, 235, 0.12);
}

.aacp-course-placement-text {
  margin: 0;
  font-size: 0.86rem;
  color: #374151;
  font-weight: 500;
}

.aacp-course-placement-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.aacp-btn--coming-soon {
  background: #06c755;
  border-color: #06c755;
}

.aacp-btn--coming-soon:hover {
  background: #05a547;
  border-color: #05a547;
  color: #fff;
}

@media (max-width: 600px) {
  .aacp-avail-grid {
    grid-template-columns: 1fr;
  }

  .aacp-course-buckets--two {
    grid-template-columns: 1fr !important;
  }
}

/* ── Flat list card (即將開始) ── */
.aacp-course-bucket-flat {
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  padding: 12px;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.07);
}

.aacp-course-flat-list {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.aacp-course-flat-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(17, 24, 39, 0.06);
}

.aacp-course-flat-item:last-child {
  border-bottom: none;
}

.aacp-course-flat-body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.aacp-course-flat-name {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
  color: #1f252b;
  line-height: 1.3;
}

.aacp-course-flat-desc {
  margin: 0;
  font-size: 0.78rem;
  color: #6b7280;
  line-height: 1.4;
}

.aacp-course-flat-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}

.aacp-course-flat-time {
  font-size: 0.76rem;
  color: #6b7280;
  white-space: nowrap;
}

.aacp-course-flat-start {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 999px;
  background: rgba(66, 133, 244, 0.12);
  color: #1d6de3;
  font-size: 0.76rem;
  font-weight: 700;
  white-space: nowrap;
}

.aacp-course-flat-signup {
  flex-shrink: 0;
  padding: 5px 14px;
  border-radius: 999px;
  background: #4285f4;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.14s;
}

.aacp-course-flat-signup:hover {
  background: #1d6de3;
  color: #fff;
}

.aacp-course-flat-detail {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.82rem;
  color: #4285f4;
  text-decoration: none;
  font-weight: 600;
}

.aacp-course-flat-detail:hover {
  color: #1d6de3;
  text-decoration: underline;
}

.aacp-course-flat-empty {
  margin: 8px 0 0;
  font-size: 0.86rem;
  color: #9ca3af;
}

/* ── Flip card ── */
.aacp-flip-card {
  height: 300px;
  perspective: 1000px;
  cursor: pointer;
  outline: none;
}

.aacp-flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.5s cubic-bezier(0.4, 0.2, 0.2, 1);
}

.aacp-flip-card.is-flipped .aacp-flip-inner {
  transform: rotateY(180deg);
}

.aacp-flip-front,
.aacp-flip-back {
  position: absolute;
  inset: 0;
  border-radius: 14px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  overflow: hidden;
}

/* Front face */
.aacp-flip-front {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
  background: #ffffff;
  border: 1px solid rgba(17, 24, 39, 0.1);
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.07);
  transition: box-shadow 0.2s;
}

.aacp-flip-card:hover .aacp-flip-front {
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}

.aacp-flip-card--blue .aacp-flip-front {
  border-top: 3px solid #4285f4;
}

.aacp-flip-card--green .aacp-flip-front {
  border-top: 3px solid #34a853;
}

.aacp-flip-card--red .aacp-flip-front {
  border-top: 3px solid #ea4335;
}

.aacp-flip-label {
  display: inline-block;
  margin-bottom: 10px;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  align-self: flex-start;
}

.aacp-flip-card--blue .aacp-flip-label {
  background: rgba(66, 133, 244, 0.1);
  color: #1d6de3;
}

.aacp-flip-card--green .aacp-flip-label {
  background: rgba(52, 168, 83, 0.1);
  color: #21703a;
}

.aacp-flip-card--red .aacp-flip-label {
  background: rgba(234, 67, 53, 0.1);
  color: #c0392b;
}

.aacp-flip-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  color: #1f252b;
  line-height: 1.3;
}

.aacp-flip-hint {
  margin: 12px 0 0;
  font-size: 0.78rem;
  color: #9ca3af;
}

.aacp-flip-empty {
  margin: 0;
  font-size: 0.88rem;
  color: #9ca3af;
}

/* Back face */
.aacp-flip-back {
  transform: rotateY(180deg);
  background: #f8fafc;
  border: 1px solid rgba(17, 24, 39, 0.1);
  padding: 14px 14px 12px;
  display: flex;
  flex-direction: column;
}

.aacp-flip-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid rgba(17, 24, 39, 0.14);
  background: #fff;
  font-size: 0.75rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  z-index: 1;
  transition: background 0.14s;
}

.aacp-flip-close:hover {
  background: #f1f5f9;
  color: #1f2937;
}

.aacp-flip-content {
  flex: 1;
  overflow-y: auto;
  font-size: 0.84rem;
  line-height: 1.65;
  color: #374151;
  padding-right: 2px;
}

.aacp-flip-content p {
  margin: 0 0 5px;
}

.aacp-flip-content p:last-child {
  margin: 0;
}

.aacp-flip-footer {
  padding-top: 10px;
  flex-shrink: 0;
}

/* Front: course name list */
.aacp-flip-course-list {
  margin: 6px 0 0;
  padding: 0 0 0 14px;
  list-style: disc;
  flex: 1;
}

.aacp-flip-course-list li {
  font-size: 0.84rem;
  color: #374151;
  line-height: 1.5;
  margin-bottom: 2px;
}

/* Course blocks inside flip back */
.aacp-course-block {
  padding: 8px 0;
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
}

.aacp-course-block:last-child {
  border-bottom: none;
}

.aacp-course-block-title {
  margin: 0 0 5px;
  font-weight: 700;
  font-size: 0.88rem;
  color: #1f252b;
  line-height: 1.3;
}

/* Field rows */
.aacp-cb-field {
  margin: 0 0 2px;
  font-size: 0.82rem;
  color: #374151;
  line-height: 1.5;
}

.aacp-cb-label {
  font-weight: 600;
  color: #6b7280;
}

.aacp-cb-header {
  margin: 6px 0 2px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.aacp-cb-text {
  margin: 0 0 1px;
  font-size: 0.82rem;
  color: #4b5563;
  padding-left: 8px;
}

.aacp-cb-spacer {
  height: 4px;
}

.aacp-flip-signup {
  display: inline-block;
  margin-top: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(66, 133, 244, 0.1);
  color: #1d6de3;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.14s;
}

.aacp-flip-signup:hover {
  background: rgba(66, 133, 244, 0.2);
}

.aacp-flip-signup--green {
  background: rgba(52, 168, 83, 0.1);
  color: #21703a;
}

.aacp-flip-signup--green:hover {
  background: rgba(52, 168, 83, 0.2);
}

.aacp-level-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.aacp-level-card {
  border: 1px solid rgba(17, 24, 39, 0.09);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  padding: 12px 13px;
}

/* 5th card spans full width so the grid doesn't leave an orphan */
.aacp-level-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.aacp-level-badge {
  margin: 0 0 6px;
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 0.77rem;
  font-weight: 800;
  /* default: teal */
  background: rgba(0, 168, 150, 0.12);
  color: #0f6b63;
}

.aacp-level-card:nth-child(2) .aacp-level-badge {
  background: rgba(66, 133, 244, 0.12);
  color: #1a56cc;
}

.aacp-level-card:nth-child(3) .aacp-level-badge {
  background: rgba(52, 168, 83, 0.13);
  color: #216f38;
}

.aacp-level-card:nth-child(4) .aacp-level-badge {
  background: rgba(251, 188, 5, 0.18);
  color: #7a5900;
}

.aacp-level-card:nth-child(5) .aacp-level-badge {
  background: rgba(124, 58, 237, 0.12);
  color: #5b21b6;
}

.aacp-level-card h3 {
  margin: 0 0 6px;
  font-size: 1.02rem;
  line-height: 1.32;
}

.aacp-level-card p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.63;
}

.aacp-level-goal {
  margin-top: 6px !important;
  color: #374151;
  font-weight: 700;
}

.aacp-subsection-title {
  margin: 20px 0 10px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #6b7280;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.aacp-teaching-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 4px;
}

.aacp-teaching-item {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(52, 168, 83, 0.14);
  background: rgba(52, 168, 83, 0.04);
}

.aacp-teaching-label {
  margin: 0 0 4px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #216f38;
}

.aacp-teaching-item p:last-child {
  margin: 0;
  font-size: 0.88rem;
  color: #4b5563;
  line-height: 1.62;
}

.aacp-teaching-item--wide {
  grid-column: 1 / -1;
  border-color: rgba(52, 168, 83, 0.28);
  background: rgba(52, 168, 83, 0.07);
}

.aacp-teaching-badge {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 7px;
  border-radius: 4px;
  background: #34a853;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  vertical-align: middle;
}

@media (max-width: 560px) {
  .aacp-teaching-grid {
    grid-template-columns: 1fr;
  }
}

.aacp-resource-links {
  margin: 12px 0 14px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.aacp-resource-links li {
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 10px;
  background: #fff;
  padding: 10px 12px;
}

.aacp-resource-links a {
  text-decoration: none;
  font-weight: 700;
}

.aacp-resource-links span {
  color: #6b7280;
  font-weight: 600;
}

/* ── New teacher spotlight ── */
.aacp-teacher-spotlight {
  padding: 0 !important;
  overflow: hidden;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 55%, #0a4060 100%) !important;
  border-color: rgba(0, 168, 150, 0.25) !important;
}

.aacp-teacher-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.382fr) minmax(0, 0.618fr);
  align-items: stretch;
  min-height: 360px;
}

.aacp-teacher-photo {
  width: 100%;
  height: 100%;
  flex-shrink: 0;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.aacp-teacher-body {
  flex: 1;
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.aacp-teacher-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.aacp-teacher-body .aacp-teacher-name {
  margin: 0 0 2px;
  font-size: 1.5rem;
  font-weight: 900;
  color: #f2f7ff;
  letter-spacing: -0.02em;
}

.aacp-teacher-body .aacp-teacher-name span {
  font-family: monospace;
  font-size: 1rem;
  font-weight: 400;
  color: #9ab3ce;
  margin-left: 8px;
}

.aacp-teacher-body .aacp-teacher-position {
  margin: 5px 0 0;
  font-size: 0.92rem;
  color: #d7e2f0;
  font-weight: 700;
  line-height: 1.45;
}

.aacp-teacher-body .aacp-teacher-tagline {
  margin: 5px 0 0;
  font-size: 0.8rem;
  color: #a9c3de;
  font-weight: 500;
  line-height: 1.45;
}

.aacp-teacher-more {
  display: none;
}

.aacp-teacher-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.aacp-teacher-badges span {
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.13);
  color: #e2efee;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.aacp-teacher-body .aacp-teacher-desc {
  margin: 0;
  font-size: 0.9rem;
  color: #d1e8e6;
  line-height: 1.65;
}

.aacp-teacher-stats {
  display: flex;
  gap: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.aacp-teacher-stat {
  flex: 1;
  padding: 14px 10px;
  text-align: center;
  background: rgba(255, 255, 255, 0.08);
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.aacp-teacher-stat:last-child {
  border-right: none;
}

.aacp-teacher-stat-num {
  display: block;
  font-size: 1.7rem;
  font-weight: 900;
  color: #f0fafa;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 5px;
}

.aacp-teacher-stat-num small {
  font-size: 0.95rem;
  font-weight: 700;
  color: #00d4aa;
}

.aacp-teacher-stat-label {
  display: block;
  font-size: 0.82rem;
  color: #e2f0ef;
  line-height: 1.35;
  font-weight: 700;
  margin-bottom: 2px;
}

.aacp-teacher-stat-note {
  display: block;
  font-size: 0.68rem;
  color: rgba(220, 235, 248, 0.82);
  line-height: 1.3;
}

.aacp-teacher-body .aacp-teacher-stat-disclaimer {
  margin: 8px 0 0;
  font-size: 0.68rem;
  color: rgba(216, 230, 245, 0.76);
  align-self: flex-end;
  text-align: right;
  line-height: 1.4;
}

.aacp-teacher-cta {
  margin-top: 6px !important;
}

.aacp-teacher-cta .aacp-btn-primary {
  min-width: 272px;
  background: linear-gradient(135deg, #22d3ee 0%, #00a896 58%, #0ea5e9 100%);
  border-color: rgba(180, 245, 255, 0.72);
  box-shadow: 0 12px 26px rgba(14, 165, 233, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.24);
  letter-spacing: 0.01em;
}

.aacp-teacher-cta .aacp-btn-primary:hover {
  background: linear-gradient(135deg, #34e7ff 0%, #00b8a3 58%, #1cb2ff 100%);
  border-color: rgba(208, 248, 255, 0.95);
}

/* legacy – keep for any leftover references */
.aacp-teachers-spotlight {
  margin-top: 18px;
  padding: clamp(22px, 3.4vw, 38px);
  min-height: clamp(430px, 44vw, 560px);
  border-color: rgba(0, 168, 150, 0.22);
  background:
    radial-gradient(760px 300px at 94% -120px, rgba(0, 168, 150, 0.12) 0%, rgba(255, 255, 255, 0) 62%),
    linear-gradient(180deg, rgba(0, 168, 150, 0.06) 0%, rgba(255, 255, 255, 0.98) 28%, rgba(255, 255, 255, 0.98) 100%);
}

.aacp-teachers-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 18px;
  align-items: stretch;
}

.aacp-teachers-content {
  display: flex;
  flex-direction: column;
}

.aacp-teachers-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.aacp-teacher-photo-card {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(17, 24, 39, 0.12);
  background: #ffffff;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.1);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.aacp-teacher-photo-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.14);
}

.aacp-teacher-photo-card a {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.aacp-teacher-photo-card img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.aacp-teacher-photo-card p {
  margin: 0;
  padding: 10px 11px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(247, 250, 252, 0.97));
}

.aacp-teacher-photo-card p strong {
  display: block;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  color: #0f6b63;
  line-height: 1.25;
}

.aacp-teacher-photo-card p span {
  display: block;
  margin-top: 3px;
  font-size: 0.86rem;
  line-height: 1.35;
  color: #313843;
}

.aacp-teacher-photo-empty {
  grid-column: 1 / -1;
  border: 1px dashed rgba(17, 24, 39, 0.24);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.85);
  padding: 14px;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #4b5563;
}

.aacp-teachers-meta {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.aacp-teachers-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
  color: #0f6b63;
  background: rgba(0, 168, 150, 0.1);
  border: 1px solid rgba(0, 168, 150, 0.2);
}

.aacp-simple-info-grid {
  margin-top: 16px;
  padding: 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  border: none;
  background: transparent;
  box-shadow: none;
}

.aacp-simple-info-grid .aacp-simple-block {
  margin-top: 0;
  min-height: 100%;
}

.aacp-simple-info-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.aacp-goal-tags {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.aacp-goal-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(17, 24, 39, 0.12);
  background: #fff;
  font-size: 0.86rem;
  font-weight: 700;
  color: #28303a;
}

.aacp-goal-tags span:nth-child(1) {
  border-color: rgba(66, 133, 244, 0.4);
  color: #205bb6;
  background: rgba(66, 133, 244, 0.08);
}

.aacp-goal-tags span:nth-child(2) {
  border-color: rgba(234, 67, 53, 0.4);
  color: #ad2f23;
  background: rgba(234, 67, 53, 0.08);
}

.aacp-goal-tags span:nth-child(3) {
  border-color: rgba(52, 168, 83, 0.44);
  color: #1f7b3d;
  background: rgba(52, 168, 83, 0.08);
}

.aacp-goal-tags span:nth-child(4) {
  border-color: rgba(251, 188, 5, 0.46);
  color: #936e00;
  background: rgba(251, 188, 5, 0.13);
}

#scoreboard,
#roadmap,
#course,
#resources,
#teachers,
#admission {
  position: relative;
}

#scoreboard::before,
#roadmap::before,
#course::before,
#resources::before,
#teachers::before,
#admission::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 6px;
  height: 100%;
  border-radius: 18px 0 0 18px;
  opacity: 0.85;
}

#scoreboard::before {
  background: linear-gradient(180deg, #4285f4, #00a896);
}

#scoreboard {
  min-height: clamp(390px, 46vw, 540px);
  border-color: rgba(66, 133, 244, 0.26);
  background:
    linear-gradient(180deg, rgba(66, 133, 244, 0.1) 0%, rgba(255, 255, 255, 0.98) 22%, rgba(255, 255, 255, 0.98) 100%);
  display: flex;
  flex-direction: column;
}

#scoreboard .aacp-priority-badge {
  background: rgba(66, 133, 244, 0.16);
  color: #1c55aa;
  border: 1px solid rgba(66, 133, 244, 0.44);
}

.aacp-scoreboard-intro {
  max-width: 72ch;
}

/* ── Esports scoreboard carousel ─────────────────────────────── */
.aacp-scoreboard-carousel {
  margin-top: 14px;
  position: relative;
  flex: 1 1 auto;
  min-height: 260px;
  border-radius: 14px;
  overflow: hidden;
  isolation: isolate;
  background: #06080f;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

/* sweep sheen — works well on dark bg */
.aacp-scoreboard-carousel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(108deg, rgba(255, 255, 255, 0) 20%, rgba(255, 255, 255, 0.07) 50%, rgba(255, 255, 255, 0) 80%);
  mix-blend-mode: screen;
  animation: aacpCardShine 7s linear infinite;
  pointer-events: none;
  z-index: 2;
}

.aacp-scoreboard-card {
  position: absolute;
  inset: 0;
  padding: clamp(22px, 3.2vw, 38px);
  border-radius: 14px;
  color: #e2e8f0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  opacity: 0;
  transform: translateY(12px) scale(0.985);
  animation: aacpScoreRotate 25s infinite;
}

/* diagonal scanline texture */
.aacp-scoreboard-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 14px;
  background-image: repeating-linear-gradient(-45deg,
      transparent 0px,
      transparent 5px,
      rgba(255, 255, 255, 0.018) 5px,
      rgba(255, 255, 255, 0.018) 6px);
  pointer-events: none;
  z-index: 0;
}

/* corner bracket — bottom-right */
.aacp-scoreboard-card::after {
  content: "";
  position: absolute;
  bottom: clamp(14px, 2.2vw, 20px);
  right: clamp(14px, 2.2vw, 20px);
  width: 20px;
  height: 20px;
  border-right: 1.5px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.2);
  pointer-events: none;
}

/* make all card children sit above the texture layer */
.aacp-scoreboard-card>* {
  position: relative;
  z-index: 1;
}

/* ── Per-card backgrounds + neon accent ──────────────────────── */
/* Card 1 — electric cyan */
.aacp-scoreboard-card:nth-child(1) {
  background:
    radial-gradient(ellipse 55% 55% at 0% 0%, rgba(0, 212, 255, 0.22) 0%, transparent 65%),
    #06101e;
  border-top: 2px solid #00d4ff;
  box-shadow: inset 0 1px 0 rgba(0, 212, 255, 0.5), 0 0 18px rgba(0, 212, 255, 0.12);
  animation-delay: 0s;
}

/* Card 2 — neon green */
.aacp-scoreboard-card:nth-child(2) {
  background:
    radial-gradient(ellipse 55% 55% at 0% 0%, rgba(0, 255, 157, 0.2) 0%, transparent 65%),
    #05120a;
  border-top: 2px solid #00ff9d;
  box-shadow: inset 0 1px 0 rgba(0, 255, 157, 0.5), 0 0 18px rgba(0, 255, 157, 0.1);
  animation-delay: 5s;
}

/* Card 3 — hot pink */
.aacp-scoreboard-card:nth-child(3) {
  background:
    radial-gradient(ellipse 55% 55% at 0% 0%, rgba(255, 0, 128, 0.22) 0%, transparent 65%),
    #16050d;
  border-top: 2px solid #ff0080;
  box-shadow: inset 0 1px 0 rgba(255, 0, 128, 0.5), 0 0 18px rgba(255, 0, 128, 0.12);
  animation-delay: 10s;
}

/* Card 4 — cyber gold */
.aacp-scoreboard-card:nth-child(4) {
  background:
    radial-gradient(ellipse 55% 55% at 0% 0%, rgba(255, 204, 0, 0.22) 0%, transparent 65%),
    #141006;
  border-top: 2px solid #ffcc00;
  box-shadow: inset 0 1px 0 rgba(255, 204, 0, 0.5), 0 0 18px rgba(255, 204, 0, 0.1);
  animation-delay: 15s;
}

/* Card 5 — electric purple */
.aacp-scoreboard-card:nth-child(5) {
  background:
    radial-gradient(ellipse 55% 55% at 0% 0%, rgba(191, 95, 255, 0.22) 0%, transparent 65%),
    #0d0618;
  border-top: 2px solid #bf5fff;
  box-shadow: inset 0 1px 0 rgba(191, 95, 255, 0.5), 0 0 18px rgba(191, 95, 255, 0.12);
  animation-delay: 20s;
}

/* ── Tag pills ───────────────────────────────────────────────── */
.aacp-scoreboard-tag {
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  width: fit-content;
  padding: 0 10px;
  border-radius: 3px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid;
}

.aacp-scoreboard-card:nth-child(1) .aacp-scoreboard-tag {
  color: #00d4ff;
  border-color: rgba(0, 212, 255, 0.5);
  background: rgba(0, 212, 255, 0.08);
  box-shadow: 0 0 8px rgba(0, 212, 255, 0.2);
}

.aacp-scoreboard-card:nth-child(2) .aacp-scoreboard-tag {
  color: #00ff9d;
  border-color: rgba(0, 255, 157, 0.5);
  background: rgba(0, 255, 157, 0.08);
  box-shadow: 0 0 8px rgba(0, 255, 157, 0.2);
}

.aacp-scoreboard-card:nth-child(3) .aacp-scoreboard-tag {
  color: #ff5eb0;
  border-color: rgba(255, 0, 128, 0.5);
  background: rgba(255, 0, 128, 0.08);
  box-shadow: 0 0 8px rgba(255, 0, 128, 0.2);
}

.aacp-scoreboard-card:nth-child(4) .aacp-scoreboard-tag {
  color: #ffcc00;
  border-color: rgba(255, 204, 0, 0.5);
  background: rgba(255, 204, 0, 0.08);
  box-shadow: 0 0 8px rgba(255, 204, 0, 0.2);
}

.aacp-scoreboard-card:nth-child(5) .aacp-scoreboard-tag {
  color: #bf5fff;
  border-color: rgba(191, 95, 255, 0.5);
  background: rgba(191, 95, 255, 0.08);
  box-shadow: 0 0 8px rgba(191, 95, 255, 0.2);
}

/* ── Typography ──────────────────────────────────────────────── */
.aacp-scoreboard-card h3 {
  margin: 0;
  font-size: clamp(1.5rem, 3.4vw, 2.5rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.aacp-scoreboard-card:nth-child(1) h3 {
  text-shadow: 0 0 14px rgba(0, 212, 255, 0.7), 0 0 32px rgba(0, 212, 255, 0.3);
}

.aacp-scoreboard-card:nth-child(2) h3 {
  text-shadow: 0 0 14px rgba(0, 255, 157, 0.7), 0 0 32px rgba(0, 255, 157, 0.3);
}

.aacp-scoreboard-card:nth-child(3) h3 {
  text-shadow: 0 0 14px rgba(255, 0, 128, 0.7), 0 0 32px rgba(255, 0, 128, 0.3);
}

.aacp-scoreboard-card:nth-child(4) h3 {
  text-shadow: 0 0 14px rgba(255, 204, 0, 0.7), 0 0 32px rgba(255, 204, 0, 0.3);
}

.aacp-scoreboard-card:nth-child(5) h3 {
  text-shadow: 0 0 14px rgba(191, 95, 255, 0.7), 0 0 32px rgba(191, 95, 255, 0.3);
}

.aacp-scoreboard-card p {
  margin: 0;
  font-size: clamp(0.92rem, 1.7vw, 1.05rem);
  line-height: 1.72;
  color: #94a3b8;
}

/* ── Hover: pause + brighten ─────────────────────────────────── */
.aacp-scoreboard-carousel:hover .aacp-scoreboard-card {
  animation-play-state: paused;
  filter: brightness(1.12);
}

.aacp-scoreboard-carousel:hover .aacp-scoreboard-dots span::after {
  animation-play-state: paused;
}

.aacp-scoreboard-carousel:hover::after {
  animation-play-state: paused;
}

/* ── Progress dots ───────────────────────────────────────────── */
.aacp-scoreboard-dots {
  margin-top: 10px;
  display: inline-flex;
  gap: 8px;
  align-self: flex-end;
}

.aacp-scoreboard-dots span {
  width: 26px;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
  position: relative;
}

.aacp-scoreboard-dots span::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, #00d4ff, #00ff9d);
  animation: aacpDotRun 25s linear infinite;
  box-shadow: 0 0 6px rgba(0, 212, 255, 0.8);
}

.aacp-scoreboard-dots span:nth-child(1)::after {
  animation-delay: 0s;
}

.aacp-scoreboard-dots span:nth-child(2)::after {
  animation-delay: 5s;
}

.aacp-scoreboard-dots span:nth-child(3)::after {
  animation-delay: 10s;
}

.aacp-scoreboard-dots span:nth-child(4)::after {
  animation-delay: 15s;
}

.aacp-scoreboard-dots span:nth-child(5)::after {
  animation-delay: 20s;
}

#roadmap::before {
  background: linear-gradient(180deg, #34a853, #00a896);
}

#roadmap {
  border-color: rgba(52, 168, 83, 0.24);
  background:
    linear-gradient(180deg, rgba(52, 168, 83, 0.09) 0%, rgba(255, 255, 255, 0.98) 26%, rgba(255, 255, 255, 0.98) 100%);
}

#roadmap .aacp-priority-badge {
  background: rgba(52, 168, 83, 0.14);
  color: #216f38;
  border: 1px solid rgba(52, 168, 83, 0.44);
}

#course::before {
  background: linear-gradient(180deg, #fbbc05, #ea4335);
}

#resources::before {
  background: linear-gradient(180deg, #00a896, #3b76e0);
}

#teachers::before {
  background: linear-gradient(180deg, #00a896, #4285f4);
}

#admission::before {
  background: linear-gradient(180deg, #9aa0a6, #c2c5ca);
}

#admission {
  border-color: rgba(17, 24, 39, 0.12);
  background: linear-gradient(180deg, rgba(156, 163, 175, 0.1) 0%, rgba(255, 255, 255, 0.98) 30%, rgba(255, 255, 255, 0.98) 100%);
}

.aacp-admission-steps {
  margin: 14px 0 0;
  padding-left: 1.15em;
  color: #4b5563;
}

.aacp-admission-steps li {
  margin-bottom: 0.48em;
}

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

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

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

  100% {
    transform: translate3d(0, 16px, 0) scale(1.04);
  }
}

@keyframes aacpSpin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes aacpPulse {

  0%,
  100% {
    transform: scale(0.94);
    opacity: 0.74;
  }

  50% {
    transform: scale(1.08);
    opacity: 0.98;
  }
}

@keyframes aacpScoreRotate {
  0% {
    opacity: 0;
    transform: translateY(12px) scale(0.985);
  }

  5%,
  24% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  29%,
  100% {
    opacity: 0;
    transform: translateY(-10px) scale(0.992);
  }
}

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

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

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

@keyframes aacpDotRun {
  0% {
    transform: translateX(-100%);
  }

  5%,
  24% {
    transform: translateX(0);
  }

  29%,
  100% {
    transform: translateX(100%);
  }
}

@keyframes aacpSectionIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .aacp-scoreboard-card {
    animation: none;
    position: static;
    opacity: 1;
    transform: none;
  }

  .aacp-scoreboard-card+.aacp-scoreboard-card {
    margin-top: 10px;
  }

  .aacp-scoreboard-carousel::after,
  .aacp-scoreboard-dots span::after,
  .aacp-home-simple>section,
  .aacp-home-simple>.aacp-simple-info-grid {
    animation: none;
  }

  .aacp-home-simple>section,
  .aacp-home-simple>.aacp-simple-info-grid {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {

  .aacp-simple-hero,
  #scoreboard {
    min-height: 0;
  }

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

  .aacp-course-buckets {
    grid-template-columns: 1fr;
  }

  .aacp-flip-card {
    height: 320px;
  }

  .aacp-level-grid {
    grid-template-columns: 1fr;
  }

  .aacp-simple-list,
  .aacp-simple-info-grid {
    grid-template-columns: 1fr;
  }

  .aacp-teachers-layout {
    grid-template-columns: 1fr;
  }

  .aacp-teacher-card {
    grid-template-columns: 1fr;
  }

  .aacp-teacher-photo {
    width: 100%;
    height: 240px;
    object-position: top center;
  }

  .aacp-teacher-body {
    padding: 20px 18px;
  }

  .aacp-teacher-stats {
    flex-wrap: wrap;
  }

  .aacp-teacher-stat {
    flex: 0 0 50%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .aacp-teachers-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .aacp-home-simple {
    width: min(1180px, calc(100% - 16px));
    margin-top: 12px;
  }

  .aacp-simple-hero,
  .aacp-simple-block,
  .aacp-simple-nav-grid {
    border-radius: 14px;
  }

  .aacp-scoreboard-carousel {
    min-height: 280px;
  }

  .aacp-scoreboard-dots {
    align-self: flex-start;
  }

  #scoreboard::before,
  #roadmap::before,
  #course::before,
  #resources::before,
  #teachers::before,
  #admission::before {
    width: 4px;
    border-radius: 14px 0 0 14px;
  }

  .aacp-priority-badge {
    margin-right: 8px;
    margin-bottom: 6px;
  }

  .aacp-simple-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .aacp-btn {
    width: 100%;
  }

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

  .aacp-course-links li {
    flex-wrap: wrap;
  }

  .aacp-course-apply {
    min-height: 40px;
    width: 100%;
  }

  .aacp-teachers-gallery {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════════════════════════════
   Front-page styles (migrated from inline <style> block)
   ═══════════════════════════════════════════════════════════ */



/* ── DESIGN TOKENS ── */
:root {
  --g-blue:   #00a896;   /* brand teal */
  --g-red:    #D95F3B;   /* coral */
  --g-yellow: #E8A840;   /* warm amber */
  --g-green:  #2BAE8E;   /* seafoam */
  --ap-dark:  #0a2a30;   /* deep teal-navy */
  --ap-muted: #3a6060;   /* teal-gray */
  --ap-border:#b8e4de;   /* soft teal border */
  --ap-light: #EAF6F5;   /* light teal mist */
  --ap-white: #f0faf8;   /* teal white */
  --ap-blue:  #00a896;   /* brand teal */
  --mono: 'JetBrains Mono', monospace;
  --r: 18px;
}

.aacp-fp { font-family: 'Noto Sans TC', sans-serif; color: var(--ap-dark); }

/* ── HERO ── */
.fp-hero {
  position: relative; min-height: min(100vh, 700px);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  background: linear-gradient(165deg, #040e18 0%, #061c2c 20%, #082c38 42%, #0a3d42 62%, #0d4e4a 80%, #0f5e52 100%);
}
.fp-hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.fp-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(ellipse 70% 55% at 15% 25%, rgba(0,168,150,.22) 0%, transparent 60%),
    radial-gradient(ellipse 80% 50% at 82% 70%, rgba(0,168,150,.18) 0%, transparent 58%),
    radial-gradient(ellipse 120% 35% at 50% 105%, rgba(0,200,180,.28) 0%, transparent 60%),
    radial-gradient(ellipse 60% 20% at 50% 80%, rgba(200,140,80,.1) 0%, transparent 55%),
    linear-gradient(rgba(0,168,150,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,168,150,.04) 1px, transparent 1px);
  background-size: 100%, 100%, 100%, 100%, 70px 70px, 70px 70px;
}
.fp-hero-inner {
  position: relative; z-index: 2; text-align: center;
  padding: 0 5% 0; max-width: 1000px; margin: -15px auto 0;
}
.fp-hero-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 24px; border-radius: 100px; margin-bottom: 16px;
  border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.08);
  font-size: .9rem; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.7);
}
.fp-hero-pill span { width: 7px; height: 7px; border-radius: 50%; background: var(--g-blue); animation: fpBlink 1.5s infinite; }
@keyframes fpBlink { 0%,100%{opacity:1} 50%{opacity:.3} }

.fp-hero h1 {
  font-size: clamp(3.5rem,10vw,8.5rem); font-weight: 900;
  line-height: .92; letter-spacing: -.04em; margin-bottom: 28px;
}
.fp-h1-main {
  display: block;
  overflow: hidden;
  margin-top: -10px;
  margin-bottom: -40px;
}
.fp-h1-main img {
  width: clamp(400px, 69vw, 850px);
  height: auto;
  margin-top: -5%;
  margin-bottom: -5%;
  filter:
    brightness(.48) sepia(.2) hue-rotate(120deg) saturate(.8)
    drop-shadow(-2px -2px 1px rgba(0,212,170,.2))
    drop-shadow(-1px -1px 0px rgba(160,255,230,.15))
    drop-shadow(1px 1px 0px rgba(0,0,0,.6))
    drop-shadow(2px 2px 1px rgba(0,0,0,.45))
    drop-shadow(4px 4px 4px rgba(0,0,0,.3))
    drop-shadow(8px 8px 10px rgba(0,0,0,.2))
    drop-shadow(14px 14px 22px rgba(0,0,0,.12));
}
.fp-h1-sub {
  display: block; font-family: var(--mono); font-weight: 400;
  font-size: clamp(.9rem,2vw,1.6rem); letter-spacing: .25em;
  color: rgba(255,255,255,.45); margin-top: 12px;
}

.fp-hero p {
  color: rgba(255,255,255,.65); font-size: clamp(1.05rem,1.8vw,1.25rem);
  line-height: 1.85; max-width: 640px; margin: 0 auto 40px;
}
.fp-hero-btns {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 52px;
}
.fp-btn-p {
  padding: 16px 38px; border-radius: 980px; border: none; cursor: pointer;
  background: var(--ap-blue); color: #fff; font-weight: 600; font-size: 1.05rem;
  font-family: inherit; text-decoration: none; transition: all .25s; display: inline-block;
}
.fp-btn-p:hover { background: #00786c; transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0,168,150,.35); color:#fff !important; }
.fp-btn-s {
  padding: 16px 38px; border-radius: 980px; cursor: pointer;
  border: 1.5px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08);
  color: #fff; font-weight: 600; font-size: 1.05rem; font-family: inherit;
  text-decoration: none; display: inline-block; transition: all .25s; backdrop-filter: blur(10px);
}
.fp-btn-s:hover { border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.16); color:#fff !important; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,255,255,.12); }
.fp-btn-camp {
  padding: 16px 38px; border-radius: 980px; border: none; cursor: pointer;
  background: linear-gradient(135deg, #f59e0b 0%, #ef6c00 100%);
  color: #fff; font-weight: 700; font-size: 1.05rem;
  font-family: inherit; text-decoration: none; transition: all .25s; display: inline-block;
  box-shadow: 0 4px 16px rgba(239,108,0,.25);
}
.fp-btn-camp:hover { background: linear-gradient(135deg, #d97706 0%, #dc4a00 100%); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(239,108,0,.4); color:#fff !important; }

/* Stats strip inside hero */
.fp-stats {
  display: flex; justify-content: center; flex-wrap: wrap;
  border-radius: var(--r); overflow: hidden; border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04); max-width: fit-content; margin: 0 auto;
}
.fp-stat {
  padding: 16px 28px; text-align: center; flex: 1;
  border-right: 1px solid rgba(255,255,255,.1);
}
.fp-stat:last-child { border-right: none; }
.fp-stat-n { font-family: var(--mono); font-size: 2rem; font-weight: 700; color: #fff; display: block; }
.fp-stat-n small { font-size: .52em; font-weight: 600; color: var(--g-blue); vertical-align: middle; margin-left: 1px; }
.fp-stat-l { font-size: .78rem; color: rgba(255,255,255,.45); letter-spacing: .03em; display: block; margin-top: 3px; white-space: nowrap; }

/* Scroll caret */
.fp-caret {
  position: absolute; bottom: 32px; z-index: 2;
  display: flex; flex-direction: column; align-items: center;
  animation: fpBounce 1.8s ease-in-out infinite;
}
@keyframes fpBounce { 0%,100%{transform:translateY(0)} 50%{transform:translateY(12px)} }

/* ── SECTION BASE ── */
.fp-section { padding: 88px 5%; }
.fp-sec-label {
  font-family: var(--mono); font-size: .73rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--ap-muted); margin-bottom: 10px; display: block;
}
.fp-sec-title {
  font-size: clamp(1.8rem,4vw,2.8rem); font-weight: 900;
  letter-spacing: -.03em; line-height: 1.05; color: var(--ap-dark);
}
.fp-sec-title em {
  font-style: normal;
  background: linear-gradient(120deg,var(--g-blue),var(--g-green));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.fp-sec-desc { color: var(--ap-muted); line-height: 1.8; margin-top: 12px; font-size: .95rem; }
.fp-sec-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-bottom: 40px; }
.fp-more-link { font-size: .85rem; color: var(--g-blue); text-decoration: none; white-space: nowrap; }
.fp-more-link:hover { text-decoration: underline; }

/* Reveal */
.fp-rv { opacity: 0; transform: translateY(32px); transition: all .7s cubic-bezier(.175,.885,.32,1.275); }
.fp-rv.in { opacity: 1; transform: translateY(0); }

/* ── SCOREBOARD ── */
.fp-scoreboard { background: var(--ap-light); }
.fp-scoreboard .fp-sec-label { color: var(--ap-muted); }
.fp-scoreboard .fp-sec-title { color: var(--ap-dark); }
.fp-scoreboard .fp-sec-title em {
  background: linear-gradient(120deg,var(--g-blue),var(--g-green));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.fp-scoreboard .fp-more-link { color: var(--g-blue); }

/* Scoreboard carousel */
.fp-sb-carousel-wrap { position: relative; max-width: 1200px; margin: 0 auto; }
.fp-sb-carousel { overflow: hidden; }
.fp-sb-track {
  display: flex; gap: 20px;
  transition: transform .45s cubic-bezier(.25,.46,.45,.94);
  will-change: transform;
}
.fp-sb-card {
  background: #fff; border: 1.5px solid rgba(0,168,150,.18);
  border-radius: var(--r); padding: 48px 42px;
  flex: 0 0 calc(50% - 10px);
  box-shadow: 0 4px 16px rgba(0,168,150,.08), 0 1px 4px rgba(0,0,0,.04);
  transition: border-color .3s, box-shadow .3s;
}
@media (max-width:700px) { .fp-sb-card { flex: 0 0 100%; padding: 32px 24px; } }

.fp-sb-card:hover { border-color: var(--g-blue); box-shadow: 0 12px 32px rgba(0,168,150,.16); }

.fp-sb-tag { font-size: .78rem; padding: 5px 16px; }
.fp-sb-card h3 { font-size: 1.3rem; }
.fp-sb-card p  { font-size: .95rem; }

/* Prev / Next arrows */
.fp-sb-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%;
  background: transparent; border: none;
  box-shadow: none;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  color: var(--g-blue); transition: all .2s; z-index: 2;
}
.fp-sb-btn:hover { color: #00786c; transform: translateY(-50%) scale(1.15); }
.fp-sb-btn svg { width: 28px; height: 28px; stroke: currentColor; fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.fp-sb-prev { left: -28px; }
.fp-sb-next { right: -28px; }
@media (max-width: 600px) { .fp-sb-prev { left: 0; } .fp-sb-next { right: 0; } }

/* Dots */
.fp-sb-dots { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }
.fp-sb-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--ap-border); cursor: pointer; transition: all .25s;
}
.fp-sb-dot.on { background: var(--g-blue); transform: scale(1.3); }
.fp-sb-tag {
  font-family: var(--mono); font-size: .72rem; font-weight: 700; letter-spacing: .08em;
  padding: 4px 14px; border-radius: 100px; display: inline-block; margin-bottom: 14px;
  border: 1.5px solid transparent;
}
.fp-sb-tag-apcs   { color: #4285F4; background: rgba(66,133,244,.1);  border-color: rgba(66,133,244,.3); }
.fp-sb-tag-toi1   { color: #34A853; background: rgba(52,168,83,.1);   border-color: rgba(52,168,83,.3); }
.fp-sb-tag-toi2   { color: #b06a00; background: rgba(251,188,5,.12);  border-color: rgba(251,188,5,.5); }
.fp-sb-tag-usaco  { color: #EA4335; background: rgba(234,67,53,.08);  border-color: rgba(234,67,53,.3); }
.fp-sb-tag-other  { color: #5f6368; background: rgba(95,99,104,.07);  border-color: rgba(95,99,104,.25); }
.fp-sb-card h3 { font-size: 1.08rem; font-weight: 700; color: var(--ap-dark); margin-bottom: 10px; line-height: 1.4; }
.fp-sb-card p  { font-size: .88rem; color: var(--ap-muted); line-height: 1.75; }

/* ── ROADMAP ── */
.fp-roadmap { background: var(--ap-light); }

.fp-level-grid {
  display: grid; grid-template-columns: repeat(auto-fill,minmax(240px,1fr));
  gap: 18px; max-width: 1200px; margin: 0 auto 48px;
}
.fp-level-card {
  background: #fff; border: 1.5px solid rgba(0,168,150,.18); border-radius: var(--r);
  padding: 28px 24px; transition: all .3s;
  box-shadow: 0 4px 16px rgba(0,168,150,.08), 0 1px 4px rgba(0,0,0,.04);
  display: flex; flex-direction: column;
}
.fp-level-card:hover { border-color: var(--g-blue); box-shadow: 0 12px 32px rgba(0,168,150,.16); transform: translateY(-4px); }
.fp-level-card { position: relative; padding-top: 38px; }
.fp-level-badge {
  position: absolute; top: -1px; left: -1px;
  font-family: var(--mono); font-size: .68rem; padding: 4px 12px;
  border-radius: var(--r) 0 8px 0;
  background: var(--g-blue); color: #fff; font-weight: 700; letter-spacing: .03em;
}
.fp-level-card h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 10px; color: var(--ap-dark); }
.fp-level-card p  { font-size: .84rem; color: var(--ap-muted); line-height: 1.7; }
.fp-level-goal {
  margin-top: auto; padding-top: 14px; border-top: none;
  font-size: .82rem; color: #0f4c40; font-family: var(--mono); font-weight: 800;
}

.fp-teaching-grid {
  display: grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
  gap: 16px; max-width: 1200px; margin: 0 auto;
}
.fp-teaching-item {
  background: #fff; border: 1px solid var(--ap-border); border-radius: var(--r);
  padding: 24px 22px 24px 28px;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
  border-left: 4px solid #00a896;
  transition: box-shadow .2s, transform .2s, border-color .2s;
  position: relative;
}
.fp-teaching-item:hover { box-shadow: 0 8px 28px rgba(0,168,150,.14); transform: translateY(-3px); border-color: #00a896; }
.fp-teaching-item b { display: flex; align-items: center; gap: 8px; font-size: .95rem; font-weight: 800; color: var(--ap-dark); margin-bottom: 8px; }
.fp-teaching-item p { font-size: .84rem; color: var(--ap-muted); line-height: 1.72; margin: 0; }
.fp-teaching-item--wide { grid-column: span 2; }
@media(max-width:700px){ .fp-teaching-item--wide { grid-column: span 1; } }

/* ── COURSES ── */
.fp-courses { background: var(--ap-white); }

.fp-course-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 24px 0 36px; }
.fp-tab {
  padding: 8px 20px; border-radius: 9px; cursor: pointer;
  border: 1.5px solid var(--ap-border); background: transparent;
  color: var(--ap-muted); font-size: .85rem; font-weight: 600; font-family: inherit;
  transition: all .25s;
}
.fp-tab.on { background: var(--g-blue); border-color: var(--g-blue); color: #fff; }
.fp-tab:hover:not(.on) { border-color: var(--g-blue); color: var(--g-blue); }

.fp-c-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 20px; max-width: 1200px; margin: 0 auto;
}
@media (max-width: 900px) { .fp-c-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) { .fp-c-grid { grid-template-columns: 1fr; } }
.fp-c-card {
  background: #fff; border: 1px solid var(--ap-border); border-radius: var(--r);
  overflow: hidden; transition: all .35s cubic-bezier(.175,.885,.32,1.275);
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
  display: flex; flex-direction: column;
}
.fp-c-card .fp-c-body { flex: 1; }
.fp-recorded-card { display: flex; flex-direction: column; }
.fp-recorded-card .fp-recorded-body { flex: 1; }
.fp-c-card:hover { transform: translateY(-7px); border-color: rgba(0,168,150,.4); box-shadow: 0 18px 44px rgba(0,168,150,.12); }
.fp-c-clickable { cursor: pointer; }
.fp-c-top { height: 5px; }
.fp-c-top-blue   { background: linear-gradient(90deg,var(--g-blue),var(--g-green)); }
.fp-c-top-green  { background: linear-gradient(90deg,var(--g-green),var(--g-blue)); }
.fp-c-top-recorded  { background: linear-gradient(90deg,#8b5cf6,#6366f1); }

.fp-c-body { padding: 24px; }
.fp-c-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 12px; border-radius: 100px; font-size: .72rem; font-weight: 700;
  letter-spacing: .04em; margin-bottom: 12px;
}
.fp-badge-blue   { background: rgba(0,168,150,.1); color: #1A6FE8; }
.fp-badge-green  { background: rgba(15,157,88,.1);  color: #0b8a4e; }
.fp-badge-recorded  { background: rgba(139,92,246,.12); color: #7c3aed; }
.fp-bdot { width: 5px; height: 5px; border-radius: 50%; animation: fpBlink 1.5s infinite; }
.fp-bdot-blue  { background: var(--g-blue); }
.fp-bdot-green { background: var(--g-green); }
.fp-bdot-recorded { background: #8b5cf6; }

.fp-c-title { font-size: 1rem; font-weight: 700; margin-bottom: 12px; line-height: 1.4; color: var(--ap-dark); }
.fp-c-meta { display: flex; flex-direction: column; gap: 6px; font-size: .8rem; color: var(--ap-muted); margin-bottom: 16px; }
.fp-c-meta span { display: flex; align-items: flex-start; gap: 8px; line-height: 1.5; }
.fp-c-meta i { font-style: normal; min-width: 16px; }
.fp-c-foot {
  padding: 14px 24px; border-top: 1px solid var(--ap-border);
  display: flex; justify-content: space-between; align-items: center;
  background: var(--ap-light);
}
.fp-c-foot-note { font-size: .75rem; color: var(--ap-muted); }
.fp-c-btn {
  padding: 9px 20px; border-radius: 980px; border: none; cursor: pointer;
  font-family: inherit; font-weight: 600; font-size: .82rem; text-decoration: none;
  display: inline-block; transition: all .2s; color: #fff !important;
}
.fp-c-btn-blue  { background: var(--ap-blue); }
.fp-c-btn-blue:hover  { background: #00786c; color: #fff !important; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,99,235,.35); }
.fp-c-btn-green { background: #06C755; }
.fp-c-btn-green:hover { background: #05b74d; color: #fff !important; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(6,199,85,.35); }
.fp-c-btn-recorded { background: #7c3aed; }
.fp-c-btn-recorded:hover { background: #6d28d9; color: #fff !important; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(124,58,237,.35); }

/* Recorded promo card */
.fp-recorded-card {
  background: #fff; border: 1px solid var(--ap-border); border-radius: var(--r);
  overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,.06);
}
.fp-recorded-body { padding: 28px 24px; }
.fp-recorded-title { font-size: 1.05rem; font-weight: 700; color: var(--ap-dark); margin-bottom: 6px; }
.fp-recorded-sub { font-size: .85rem; color: var(--ap-muted); margin-bottom: 16px; }
.fp-recorded-levels { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.fp-recorded-levels span {
  padding: 4px 14px; border-radius: 100px; font-family: var(--mono);
  font-size: .72rem; background: rgba(232,168,64,.12); color: #A07420;
  border: 1px solid rgba(232,168,64,.25);
}
.fp-recorded-note { font-size: .78rem; color: var(--ap-muted); margin-bottom: 18px; }

/* ── WHY / ABOUT ── */
.fp-about { background: var(--ap-light); }
.fp-why-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; max-width: 1200px; margin: 0 auto;
}
@media (max-width: 900px) { .fp-why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .fp-why-grid { grid-template-columns: 1fr; } }
.fp-w-card {
  background: #fff; border: 1px solid var(--ap-border); border-radius: var(--r);
  padding: 40px 32px; position: relative; overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,.05);
  transition: all .3s;
}
.fp-w-card:hover { box-shadow: 0 16px 44px rgba(0,168,150,.1); border-color: rgba(0,168,150,.3); }
.fp-w-num {
  position: absolute; top: 14px; right: 20px;
  font-family: var(--mono); font-size: 3.2rem; font-weight: 900;
  color: rgba(0,0,0,.04); line-height: 1;
}
.fp-w-icon { font-size: 2.4rem; margin-bottom: 18px; display: block; }
.fp-w-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; color: var(--ap-dark); }
.fp-w-desc { font-size: .88rem; color: var(--ap-muted); line-height: 1.75; }

/* ── TEACHER ── */
.fp-teacher { background: var(--ap-white); }
.fp-teacher-card {
  max-width: 920px; margin: 0 auto;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 60%, #0f4c75 100%);
  border-radius: 22px; overflow: hidden;
  display: grid; grid-template-columns: minmax(240px, 0.38fr) minmax(0, 0.62fr);
  gap: 0; align-items: stretch;
  box-shadow: 0 12px 40px rgba(15,23,42,.18);
}
.fp-teacher-photo-wrap { margin: 0; display: block; min-height: 320px; }
.fp-teacher-photo {
  width: 100%; height: 100%; min-height: 320px;
  border-radius: 0; object-fit: cover; object-position: center top; display: block;
  border-right: 1px solid rgba(148,189,224,.2); background: #0b223d;
}
.fp-teacher-body {
  display: flex; flex-direction: column; justify-content: center;
  gap: 14px; padding: 36px 32px;
}
.fp-teacher-name { font-size: clamp(1.6rem,2.8vw,2.2rem); font-weight: 900; color: #fff; margin: 0; letter-spacing: -.02em; line-height: 1.14; }
.fp-teacher-name span { margin-left: 10px; font-family: ui-monospace,Menlo,monospace; font-size: .5em; font-weight: 600; color: #9ec2e8; letter-spacing: .01em; white-space: nowrap; }
.fp-teacher-pos { font-size: .88rem; color: rgba(200,230,255,.65); margin: 0; }
.fp-teacher-desc { font-size: .9rem; color: rgba(231,242,255,.88); line-height: 1.72; margin: 0; max-width: 56ch; }
.fp-teacher-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.fp-teacher-badges span { padding: 3px 11px; border-radius: 999px; font-size: .75rem; font-weight: 700; background: none; color: #fff; border: 1px solid rgba(255,255,255,.2); }
.fp-teacher-badges span:first-child  { background: rgba(251,191,36,.18); color: #fbbf24; border-color: rgba(251,191,36,.3); }
.fp-teacher-badges span:nth-child(2) { background: rgba(96,165,250,.15);  color: #93c5fd; border-color: rgba(96,165,250,.25); }
.fp-teacher-badges span:nth-child(3) { background: rgba(52,211,153,.15);  color: #6ee7b7; border-color: rgba(52,211,153,.25); }

.fp-teacher-stats { display: grid; grid-template-columns: repeat(2,1fr); gap: 8px; }
.fp-ts {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); border-radius: 12px;
  padding: 12px 14px; text-align: center;
}
.fp-ts-num { font-size: 1.4rem; font-weight: 900; color: #fff; display: block; letter-spacing: -.03em; line-height: 1; }
.fp-ts-num small { font-size: .6em; font-weight: 700; color: #00d4aa; }
.fp-ts-label { font-size: .68rem; color: rgba(255,255,255,.5); display: block; margin-top: 4px; line-height: 1.3; }
.fp-ts-note  { font-size: .62rem; color: rgba(255,255,255,.35); display: block; line-height: 1.3; }
.fp-teacher-disclaimer { font-size: .72rem; color: rgba(255,255,255,.3); margin: 0; }

/* ── RESOURCES + ADMISSION ── */
.fp-two-col {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px;
  max-width: 1100px; margin: 0 auto;
}
.fp-info-card {
  background: #fff; border: 1px solid var(--ap-border); border-radius: var(--r);
  padding: 36px 32px; box-shadow: 0 2px 10px rgba(0,0,0,.05);
}
.fp-info-card h2 { font-size: 1.3rem; font-weight: 800; color: var(--ap-dark); margin-bottom: 12px; letter-spacing: -.02em; }
.fp-info-card > p { font-size: .88rem; color: var(--ap-muted); line-height: 1.75; margin-bottom: 20px; }
.fp-resource-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 22px; }
.fp-resource-list a { font-size: .88rem; color: var(--g-blue); text-decoration: none; }
.fp-resource-list a:hover { text-decoration: underline; }
.fp-resource-list span { font-size: .88rem; color: var(--ap-muted); }
.fp-steps { list-style: none; counter-reset: step; display: flex; flex-direction: column; gap: 14px; margin-bottom: 24px; }
.fp-steps li { counter-increment: step; display: flex; gap: 14px; font-size: .88rem; color: var(--ap-muted); line-height: 1.6; align-items: flex-start; }
.fp-steps li::before {
  content: counter(step); min-width: 26px; height: 26px; border-radius: 50%;
  background: var(--g-blue); color: #fff; font-size: .75rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px;
}
.fp-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.fp-btn-ghost {
  padding: 10px 22px; border-radius: 980px;
  border: 1.5px solid var(--ap-border); background: transparent;
  color: var(--ap-dark); font-size: .85rem; font-weight: 600; font-family: inherit;
  text-decoration: none; display: inline-block; transition: all .25s;
}
.fp-btn-ghost:hover { background: var(--g-blue); color: #fff !important; border-color: var(--g-blue); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,168,150,.25); }
.fp-btn-prim {
  padding: 10px 22px; border-radius: 980px;
  background: var(--ap-blue); color: #fff; font-size: .85rem; font-weight: 600;
  font-family: inherit; text-decoration: none; display: inline-block; transition: all .25s; border: none;
}
.fp-btn-prim:hover { background: #00786c; color:#fff !important; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,99,235,.35); }

/* ── CTA ── */
.fp-cta { padding: 80px 5%; background: var(--ap-light); text-align: center; }
.fp-cta-box {
  max-width: 700px; margin: 0 auto; padding: 60px 44px;
  border-radius: 28px; background: var(--ap-dark);
  border: 1px solid rgba(0,168,150,.18);
  box-shadow: 0 0 60px rgba(0,168,150,.1);
}
.fp-cta-box h2 { font-size: clamp(1.6rem,3vw,2.4rem); font-weight: 900; color: #fff; margin-bottom: 12px; letter-spacing: -.03em; }
.fp-cta-box p { color: rgba(255,255,255,.6); line-height: 1.75; margin-bottom: 30px; }
.fp-cta-btn {
  padding: 14px 34px; border-radius: 980px; border: none; cursor: pointer;
  background: var(--ap-blue); color: #fff; font-weight: 600; font-size: .95rem;
  font-family: inherit; text-decoration: none; display: inline-block; transition: all .25s;
  margin: 0 6px 8px;
}
.fp-cta-btn:hover { background: #00786c; transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0,168,150,.35); color:#fff !important; }
.fp-cta-ghost {
  padding: 14px 30px; border-radius: 980px; border: 1px solid rgba(255,255,255,.2);
  background: transparent; color: rgba(255,255,255,.7); font-weight: 500; font-size: .88rem;
  font-family: inherit; text-decoration: none; display: inline-block; transition: all .25s;
  margin: 0 6px 8px;
}
.fp-cta-ghost:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.4); color: #fff !important; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,255,255,.1); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .fp-teacher-card { grid-template-columns: 1fr; }
  .fp-teacher-photo { min-height: 260px; border-right: none; border-bottom: 1px solid rgba(148,189,224,.2); }
  .fp-teacher-body { padding: 24px 22px; text-align: left; }
  .fp-teacher-stats { grid-template-columns: repeat(2,1fr); }
  .fp-two-col { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .fp-stats { flex-direction: column; }
  .fp-stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); }
  .fp-stat:last-child { border-bottom: none; }
}
