/* =========================================================
   Skillahan Learning Hub | Website Styles
   Font: Poppins | Colors: green, teal, blue, dark navy
========================================================= */

:root {
  --green:   #2FAE4E;
  --teal:    #1FB5A8;
  --blue:    #2672BA;
  --navy:    #1B2A4E;
  --navy-2:  #243560;
  --ink:     #0F172A;
  --muted:   #4B5569;
  --soft:    #F4F7FB;
  --line:    #E4EAF2;
  --white:   #FFFFFF;

  --grad: linear-gradient(135deg, var(--green) 0%, var(--teal) 50%, var(--blue) 100%);
  --grad-soft: linear-gradient(135deg, rgba(47,174,78,.08), rgba(31,181,168,.08) 50%, rgba(38,114,186,.08));

  --shadow-sm: 0 2px 6px rgba(15, 23, 42, .06);
  --shadow:    0 10px 30px rgba(15, 23, 42, .08);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, .14);

  --radius: 14px;
  --radius-lg: 22px;

  --container: 1180px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-weight: 400;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  accent-color: var(--teal);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
h1, h2, h3, h4, h5 { font-weight: 700; line-height: 1.2; margin: 0; color: var(--ink); }
p { margin: 0; color: var(--muted); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* Eyebrow labels */
.eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 14px;
}

/* Gradient text accent */
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 10px 24px rgba(31, 181, 168, .35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px rgba(31, 181, 168, .45); }
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--line);
}
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); }

/* =========================================================
   NAV
========================================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #F4F7FB;
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.nav.scrolled {
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 112px;
}
.nav-logo { display: inline-flex; align-items: center; padding: 6px 4px; }
.nav-logo img { height: 80px; width: auto; display: block; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  font-weight: 500;
  font-size: 15px;
  color: var(--navy);
  position: relative;
}
.nav-links a:not(.btn)::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--grad);
  transition: width .25s ease;
}
.nav-links a:not(.btn):hover::after { width: 100%; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   HERO
========================================================= */
.hero {
  position: relative;
  overflow: hidden;
  padding: 90px 0 0;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(800px 400px at 85% 10%, rgba(47,174,78,.14), transparent 60%),
    radial-gradient(700px 400px at 10% 30%, rgba(38,114,186,.14), transparent 60%),
    radial-gradient(600px 400px at 50% 100%, rgba(31,181,168,.12), transparent 60%),
    linear-gradient(180deg, #fbfdff 0%, #f4f8fc 100%);
  z-index: -1;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 60px;
  align-items: center;
}
.hero-copy h1 {
  font-size: clamp(36px, 5vw, 60px);
  letter-spacing: -.02em;
  font-weight: 800;
  margin-bottom: 20px;
}
.hero-copy .lede {
  font-size: 18px;
  max-width: 540px;
  margin-bottom: 32px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
/* Full-width crawling ticker below the hero */
.hero-ticker {
  position: relative;
  max-width: var(--container);
  margin: 60px auto 0;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .4);
  border-radius: 12px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
}
.hero-ticker .ticker-track {
  display: flex;
  align-items: center;
  gap: 40px;
  width: max-content;
  animation: ticker-crawl 38s linear infinite;
  will-change: transform;
}
.hero-ticker:hover .ticker-track { animation-play-state: paused; }
.hero-ticker .ticker-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex-shrink: 0;
}
.hero-ticker .ticker-item strong {
  font-size: 22px;
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
  line-height: 1.2;
}
.hero-ticker .ticker-item span {
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
}
.hero-ticker .ticker-dot {
  color: var(--teal);
  font-size: 8px;
  opacity: .5;
  flex-shrink: 0;
}

@keyframes ticker-crawl {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-ticker .ticker-track { animation: none; }
}

/* Hero tools orbit */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 460px;
}
.tools-orbit {
  --size: 480px;
  --radius: 200px;
  --icon: 66px;
  position: relative;
  width: var(--size);
  height: var(--size);
  max-width: 100%;
}
/* Decorative rings behind the orbit */
.orbit-rings {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}
.orbit-rings .ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(31, 181, 168, .28);
}
.orbit-rings .ring-1 { width: calc(var(--radius) * 2); height: calc(var(--radius) * 2); }
.orbit-rings .ring-2 {
  width: calc(var(--radius) * 2 - 80px);
  height: calc(var(--radius) * 2 - 80px);
  border-color: rgba(38, 114, 186, .18);
}
/* Center brand mark */
.orbit-core {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 2;
}
.orbit-core img {
  width: 150px;
  height: auto;
  filter: drop-shadow(0 14px 24px rgba(15, 23, 42, .15));
  animation: pulse 4s ease-in-out infinite;
}
/* The rotating ring that carries the icons */
.orbit-ring {
  position: absolute;
  inset: 0;
  animation: orbit-spin 32s linear infinite;
}
.orbit-item {
  --angle: calc(var(--i) * (360deg / var(--total)));
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--icon);
  height: var(--icon);
  margin: calc(var(--icon) / -2) 0 0 calc(var(--icon) / -2);
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, .12), 0 2px 6px rgba(15, 23, 42, .06);
  display: grid;
  place-items: center;
  padding: 14px;
  animation: orbit-counter 32s linear infinite;
}
.orbit-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

/* Each icon sits at its angle on the ring; counter-rotates to stay upright */
@keyframes orbit-spin {
  to { transform: rotate(360deg); }
}
@keyframes orbit-counter {
  from {
    transform: rotate(var(--angle)) translateY(calc(-1 * var(--radius))) rotate(calc(-1 * var(--angle)));
  }
  to {
    transform: rotate(var(--angle)) translateY(calc(-1 * var(--radius))) rotate(calc(-360deg - var(--angle)));
  }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.04); }
}

/* Respect reduced motion: park everything in place */
@media (prefers-reduced-motion: reduce) {
  .orbit-ring, .orbit-item, .orbit-core img { animation: none; }
  .orbit-item {
    transform: rotate(var(--angle)) translateY(calc(-1 * var(--radius))) rotate(calc(-1 * var(--angle)));
  }
}

/* =========================================================
   SECTIONS
========================================================= */
.section { padding: 100px 0; }
.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 60px;
}
.section-head h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 800;
  letter-spacing: -.01em;
  margin-bottom: 16px;
}
.section-sub { font-size: 17px; }

/* 3-card grids */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  position: relative;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.card-accent::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--grad);
  opacity: 0;
  transition: opacity .25s ease;
}
.card-accent:hover::before { opacity: 1; }
.card-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--grad-soft);
  display: grid; place-items: center;
  font-size: 26px;
  margin-bottom: 20px;
}
.card h3 { font-size: 20px; margin-bottom: 10px; }

/* =========================================================
   ABOUT
========================================================= */
.about { background: var(--soft); }

/* =========================================================
   COURSES
========================================================= */
.course-feature {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  margin-bottom: 80px;
}
.course-feature-media {
  background: linear-gradient(135deg, #EAF3FA 0%, #F0F7EE 50%, #E8F1F8 100%);
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  position: relative;
  overflow: hidden;
}
.course-feature-media::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(400px 220px at 20% 20%, rgba(47,174,78,.12), transparent 60%),
    radial-gradient(400px 220px at 80% 80%, rgba(38,114,186,.12), transparent 60%);
  pointer-events: none;
}
.course-art {
  position: relative;
  width: 100%;
  max-width: 460px;
  height: auto;
  border-radius: 14px;
  filter: drop-shadow(0 24px 40px rgba(15, 23, 42, .18));
}
.course-art-accent {
  max-width: 420px;
}

.course-feature-body {
  padding: 44px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.pill-live  { background: rgba(47,174,78,.12); color: var(--green); }
.pill-soon  { background: rgba(38,114,186,.1); color: var(--blue); position: absolute; top: 22px; right: 22px; margin: 0; }
.course-feature-body h3 {
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 800;
  letter-spacing: -.01em;
  margin-bottom: 12px;
}
.course-tagline { font-size: 16px; margin-bottom: 22px; }

.course-schedule {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  margin-bottom: 22px;
  background: linear-gradient(135deg, rgba(47, 174, 78, .08), rgba(31, 181, 168, .10));
  border: 1px solid rgba(47, 174, 78, .25);
  border-left: 4px solid var(--teal);
  border-radius: 12px;
}
.schedule-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  color: var(--teal);
}
.schedule-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.schedule-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--green);
}
.schedule-dates {
  font-size: 17px;
  color: var(--ink);
  font-weight: 700;
}
.schedule-time {
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
}

.course-pricing {
  position: relative;
  padding: 20px 22px;
  margin-bottom: 22px;
  background:
    linear-gradient(135deg, rgba(47, 174, 78, .05), rgba(31, 181, 168, .05) 50%, rgba(38, 114, 186, .05));
  border: 1px solid rgba(31, 181, 168, .25);
  border-radius: 14px;
  overflow: hidden;
}
.course-pricing::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--grad);
}
.pricing-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.pricing-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: var(--grad);
  color: #fff;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(31, 181, 168, .35);
}
.pricing-save {
  font-size: 12px;
  font-weight: 700;
  color: var(--green);
  letter-spacing: .4px;
  text-transform: uppercase;
}
.pricing-amounts {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.pricing-current {
  font-size: clamp(32px, 4vw, 42px);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -.02em;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.pricing-currency {
  font-size: .65em;
  font-weight: 700;
  margin-right: 2px;
}
.pricing-original {
  font-size: 18px;
  font-weight: 600;
  color: var(--muted);
  position: relative;
}
.pricing-original s {
  text-decoration: line-through;
  text-decoration-color: rgba(217, 58, 58, .7);
  text-decoration-thickness: 2px;
}
.pricing-per {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}
.pricing-deadline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  margin-bottom: 10px;
  background: rgba(217, 58, 58, .08);
  border: 1px solid rgba(217, 58, 58, .25);
  border-radius: 999px;
  color: #b8312f;
  font-size: 13px;
  font-weight: 600;
}
.pricing-deadline svg {
  flex-shrink: 0;
  animation: deadlinePulse 1.6s ease-in-out infinite;
}
.pricing-deadline strong {
  font-weight: 800;
  color: #b8312f;
}
@keyframes deadlinePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .6; transform: scale(.92); }
}
@media (prefers-reduced-motion: reduce) {
  .pricing-deadline svg { animation: none; }
}
.pricing-note {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  font-weight: 500;
}
.pricing-note svg {
  flex-shrink: 0;
  color: var(--teal);
}
.pricing-cta {
  display: flex;
  width: 100%;
  margin-top: 16px;
  justify-content: center;
}

.course-meta {
  list-style: none;
  padding: 0; margin: 0 0 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}
.course-meta li {
  background: var(--soft);
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 14px;
  color: var(--muted);
}
.course-meta strong { color: var(--ink); font-weight: 600; }

.course-feature-body h4 {
  font-size: 15px;
  margin-bottom: 12px;
  color: var(--navy);
}
.check-list {
  list-style: none;
  padding: 0; margin: 0 0 28px;
  display: grid;
  gap: 10px;
}
.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--muted);
  font-size: 15px;
}
.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0; top: 0;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: grid; place-items: center;
  line-height: 1;
}

.outline {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 20px;
  margin-bottom: 28px;
  transition: border-color .2s ease;
}
.outline[open] { border-color: var(--teal); }
.outline summary {
  padding: 16px 0;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.outline summary::after {
  content: '+';
  font-size: 22px;
  color: var(--teal);
  transition: transform .2s ease;
}
.outline[open] summary::after { transform: rotate(45deg); }
.outline summary::-webkit-details-marker { display: none; }
.outline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  padding: 8px 0 24px;
  border-top: 1px solid var(--line);
}
.outline-grid h5 {
  font-size: 14px;
  color: var(--teal);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.outline-grid ul { padding-left: 18px; margin: 0; color: var(--muted); font-size: 14px; }
.outline-grid li { margin-bottom: 4px; }

.audience {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 20px;
  background: var(--grad-soft);
  border-radius: 14px;
  margin-bottom: 28px;
}
.audience h5 {
  font-size: 14px;
  color: var(--navy);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.audience ul {
  padding-left: 18px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.audience li { margin-bottom: 4px; }

.course-cta { display: flex; gap: 12px; flex-wrap: wrap; }

.upcoming-title {
  text-align: center;
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 32px;
  font-weight: 600;
}
.course-card.soon {
  position: relative;
  background: #fff;
}
.course-card.soon h3 { font-size: 18px; }

/* =========================================================
   LIVE DASHBOARD DEMO
========================================================= */
.demo-embed {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  aspect-ratio: 4 / 3;
  background: var(--soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1.5px solid rgba(31, 181, 168, .35);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .6) inset,
    0 0 32px -4px rgba(47, 174, 78, .35),
    0 0 48px -8px rgba(31, 181, 168, .35),
    0 0 64px -10px rgba(38, 114, 186, .35),
    0 20px 60px rgba(15, 23, 42, .12);
  animation: demoGlow 4s ease-in-out infinite;
}
@keyframes demoGlow {
  0%, 100% {
    border-color: rgba(31, 181, 168, .35);
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, .6) inset,
      0 0 32px -4px rgba(47, 174, 78, .30),
      0 0 48px -8px rgba(31, 181, 168, .30),
      0 0 64px -10px rgba(38, 114, 186, .30),
      0 20px 60px rgba(15, 23, 42, .12);
  }
  50% {
    border-color: rgba(31, 181, 168, .60);
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, .6) inset,
      0 0 44px -4px rgba(47, 174, 78, .55),
      0 0 64px -6px rgba(31, 181, 168, .55),
      0 0 84px -8px rgba(38, 114, 186, .55),
      0 22px 70px rgba(15, 23, 42, .14);
  }
}
@media (prefers-reduced-motion: reduce) {
  .demo-embed { animation: none; }
}
.demo-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.demo-fullscreen {
  position: absolute;
  bottom: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: rgba(15, 23, 42, .85);
  color: #fff;
  border: 0;
  border-radius: 999px;
  font: 600 13px/1 Poppins, system-ui, sans-serif;
  cursor: pointer;
  z-index: 2;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background .2s ease, transform .2s ease;
}
.demo-fullscreen:hover { background: rgba(15, 23, 42, 1); transform: translateY(-1px); }
.demo-fullscreen:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.demo-fullscreen .icon-collapse { display: none; }
.demo-embed:fullscreen {
  width: 100vw;
  height: 100vh;
  max-width: none;
  aspect-ratio: auto;
  border-radius: 0;
  border: 0;
  box-shadow: none;
  animation: none;
}
.demo-embed:fullscreen .icon-expand { display: none; }
.demo-embed:fullscreen .icon-collapse { display: inline-block; }
.demo-embed:fullscreen .demo-fullscreen-label::before { content: "Exit "; }
.demo-embed:fullscreen .demo-fullscreen-label::after { content: ""; }
@media (max-width: 720px) {
  .demo-embed { aspect-ratio: 3 / 4; }
  .demo-fullscreen-label { display: none; }
  .demo-fullscreen { padding: 8px; }
}

/* =========================================================
   FOUNDER
========================================================= */
.founder { background: var(--soft); }
.founder-inner {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 60px;
  align-items: center;
}
.founder-photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 3/4;
  padding-top: 48px;
  background: linear-gradient(180deg, #eef3fa 0%, #f6f9fd 100%);
}
.founder-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: center top;
}
.founder-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(27,42,78,.35));
}
.founder-badge {
  position: absolute;
  top: 20px; left: 20px;
  background: var(--grad);
  color: #fff;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  z-index: 2;
}
.founder-body h2 {
  font-size: clamp(32px, 3.8vw, 46px);
  font-weight: 800;
  margin-bottom: 6px;
}
.founder-role {
  font-size: 15px;
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 20px;
}
.founder-body p { margin-bottom: 20px; font-size: 16px; }
.founder-body blockquote {
  margin: 0 0 28px;
  padding: 18px 24px;
  border-left: 4px solid var(--teal);
  background: #fff;
  border-radius: 0 12px 12px 0;
  font-style: italic;
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}

.founder-certs { margin-bottom: 28px; }
.founder-certs-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: var(--muted);
  margin: 0 0 14px;
}
.cert-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cert-item {
  display: block;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.cert-item:hover {
  transform: translateY(-2px);
  border-color: var(--teal);
  box-shadow: 0 10px 22px rgba(31, 181, 168, .15);
}
.cert-body { display: flex; flex-direction: column; gap: 2px; }
.cert-body strong { font-size: 15px; font-weight: 600; line-height: 1.35; }
.cert-meta {
  font-size: 12px;
  color: var(--teal);
  font-weight: 600;
  letter-spacing: .3px;
}

/* =========================================================
   CONTACT
========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 0 auto 40px;
  max-width: 720px;
}
.contact-grid.contact-grid-single {
  grid-template-columns: 1fr;
  max-width: 720px;
}

/* Hero-style contact block (used when email is the only public contact) */
.contact-hero {
  position: relative;
  max-width: 560px;
  margin: 0 auto 40px;
  padding: 44px 32px 36px;
  background:
    radial-gradient(ellipse 600px 200px at 50% 0%, rgba(47, 174, 78, .08), transparent 60%),
    radial-gradient(ellipse 500px 200px at 50% 100%, rgba(38, 114, 186, .06), transparent 60%),
    #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  text-align: center;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.contact-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--grad);
}
.contact-hero:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.contact-hero-icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 20px;
  border-radius: 18px;
  background: var(--grad);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 28px rgba(31, 181, 168, .35);
  animation: contactPulse 3.5s ease-in-out infinite;
}
.contact-hero-icon svg { display: block; }
@keyframes contactPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 12px 28px rgba(31, 181, 168, .35); }
  50%      { transform: scale(1.04); box-shadow: 0 16px 36px rgba(31, 181, 168, .45); }
}
@media (prefers-reduced-motion: reduce) {
  .contact-hero-icon { animation: none; }
}
.contact-hero-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 8px;
}
.contact-hero-email {
  display: block;
  font-size: clamp(18px, 2.4vw, 24px);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 22px;
  word-break: break-all;
  line-height: 1.3;
  letter-spacing: -.01em;
  border-bottom: 1px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
.contact-hero-email:hover {
  color: var(--teal);
}
.contact-hero-cta {
  margin: 0 auto;
}
.contact-hero-cta svg { display: block; }
.contact-hero-note {
  margin: 18px 0 0;
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
}

@media (max-width: 600px) {
  .contact-hero { padding: 36px 22px 28px; }
  .contact-hero-icon { width: 60px; height: 60px; }
}
.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.contact-card h3 { font-size: 18px; }
.contact-card p { font-size: 15px; color: var(--navy); font-weight: 500; }
.contact-link {
  margin-top: 10px;
  color: var(--teal);
  font-weight: 600;
  font-size: 14px;
}

.contact-form {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  padding: 44px 40px 36px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
  scroll-margin-top: 120px;
}
.contact-form::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: var(--grad);
}
.form-head {
  text-align: center;
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.form-head .eyebrow { margin-bottom: 10px; }
.form-head h3 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -.01em;
  margin-bottom: 6px;
}
.form-sub {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}
.form-section { margin-bottom: 26px; }
.form-section + .form-section {
  padding-top: 26px;
  border-top: 1px dashed var(--line);
}
.form-section-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 16px;
}
.form-section-helper {
  font-size: 13px;
  color: var(--muted);
  margin: -8px 0 14px;
  font-style: italic;
}
.form-section-helper[hidden] { display: none; }

.dates-group { margin-bottom: 16px; }
.dates-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.dates-grid label { margin-bottom: 0; }
.day-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: .4px;
}
@media (max-width: 480px) {
  .dates-grid { grid-template-columns: 1fr; }
}
/* Honeypot: hidden from humans and assistive tech, visible to spam bots */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}
.contact-form h3 {
  font-size: 22px;
  margin-bottom: 24px;
  text-align: center;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.contact-form label {
  display: block;
  margin-bottom: 16px;
}
.contact-form label span {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(31, 181, 168, .15);
}
.contact-form input[readonly] {
  background: var(--soft);
  color: var(--muted);
  cursor: default;
}
.contact-form input[readonly]:focus {
  border-color: var(--line);
  box-shadow: none;
}
.contact-form input[type="date"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  width: 24px;
  height: 24px;
  padding: 4px;
  margin-right: 2px;
  border-radius: 8px;
  opacity: 1;
  background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231FB5A8' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='5' width='18' height='16' rx='2'/><line x1='3' y1='10' x2='21' y2='10'/><line x1='8' y1='3' x2='8' y2='7'/><line x1='16' y1='3' x2='16' y2='7'/></svg>")
    center / 18px 18px no-repeat;
  transition: background-color .25s ease, box-shadow .25s ease, transform .2s ease;
}
.contact-form input[type="time"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  width: 24px;
  height: 24px;
  padding: 4px;
  margin-right: 2px;
  border-radius: 8px;
  opacity: 1;
  background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231FB5A8' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='10'/><polyline points='12 6 12 12 16 14'/></svg>")
    center / 18px 18px no-repeat;
  transition: background-color .25s ease, box-shadow .25s ease, transform .2s ease;
}
.contact-form input[type="time"][readonly]::-webkit-calendar-picker-indicator {
  display: none;
}
.contact-form input[type="time"]::-webkit-calendar-picker-indicator:hover,
.contact-form input[type="date"]::-webkit-calendar-picker-indicator:hover {
  background-color: rgba(31, 181, 168, .15);
  transform: scale(1.1);
  box-shadow:
    0 0 0 4px rgba(31, 181, 168, .18),
    0 0 12px 2px rgba(31, 181, 168, .55),
    0 0 22px 4px rgba(47, 174, 78, .35);
}
.contact-form em.optional {
  font-style: normal;
  font-weight: 400;
  color: var(--muted);
  font-size: 12px;
  margin-left: 4px;
}
.contact-form button { width: 100%; margin-top: 8px; }

/* Registration type & schedule selection */
.contact-form fieldset.reg-type {
  border: 0;
  padding: 0;
  margin: 4px 0 18px;
}
.contact-form fieldset.reg-type legend {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
  padding: 0;
}
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
}
.reg-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.reg-option {
  position: relative;
  cursor: pointer;
  margin: 0 !important;
}
.reg-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.reg-option-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  padding: 18px 20px;
  border: 2px solid var(--line);
  border-radius: 14px;
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease, transform .2s ease;
  height: 100%;
}
.reg-option-card:hover {
  border-color: rgba(31, 181, 168, .5);
  transform: translateY(-1px);
}
.reg-option-icon {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(47, 174, 78, .12), rgba(31, 181, 168, .14));
  color: var(--teal);
  margin-bottom: 10px;
  transition: background .25s ease, color .25s ease, transform .25s ease, box-shadow .25s ease;
  flex-shrink: 0;
}
.reg-option-icon > svg,
.reg-option-icon > img,
.schedule-card-icon > svg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: block;
  margin: 0;
  padding: 0;
}
.reg-option-icon > svg { width: 22px; height: 22px; }
.reg-option-icon > img { width: 24px; height: 24px; }
.schedule-card-icon > svg { width: 24px; height: 24px; }
.reg-option-icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  display: block;
  transition: filter .25s ease;
}
.reg-option input[type="radio"]:checked + .reg-option-card .reg-option-icon img {
  filter: brightness(0) invert(1);
}
.reg-option-card strong {
  font-size: 14px;
  color: var(--navy);
  font-weight: 700;
  line-height: 1.3;
}
.reg-option-card strong em {
  font-style: normal;
  font-weight: 500;
  color: var(--muted);
  font-size: 12px;
}
.reg-option-desc {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}
.reg-option input[type="radio"]:checked + .reg-option-card {
  border-color: transparent;
  background:
    linear-gradient(135deg, rgba(47, 174, 78, .07), rgba(31, 181, 168, .08) 50%, rgba(38, 114, 186, .07)) padding-box,
    var(--grad) border-box;
  box-shadow: 0 10px 24px rgba(31, 181, 168, .22);
  transform: translateY(-1px);
}
.reg-option input[type="radio"]:checked + .reg-option-card .reg-option-icon {
  background: var(--grad);
  color: #fff;
  transform: scale(1.05);
  box-shadow: 0 6px 14px rgba(31, 181, 168, .35);
}
.reg-option input[type="radio"]:checked + .reg-option-card::after {
  content: '✓';
  position: absolute;
  top: 12px;
  right: 12px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  display: grid;
  place-items: center;
  line-height: 1;
  box-shadow: 0 4px 10px rgba(31, 181, 168, .35);
}
.reg-option input[type="radio"]:focus-visible + .reg-option-card {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.reg-panel { margin-bottom: 18px; }
.reg-panel[hidden] { display: none; }
.reg-panel-info {
  position: relative;
  padding: 16px 20px 16px 22px;
  background: linear-gradient(135deg, rgba(47, 174, 78, .07), rgba(31, 181, 168, .09) 50%, rgba(38, 114, 186, .07));
  border: 1px solid rgba(31, 181, 168, .25);
  border-radius: 12px;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 18px;
  line-height: 1.55;
  overflow: hidden;
}
.reg-panel-info::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 4px;
  background: var(--grad);
}
.reg-panel-info strong {
  color: var(--navy);
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.reg-panel-info em { font-style: normal; color: var(--green); font-weight: 600; }

.schedule-list { display: grid; gap: 10px; }
.schedule-card {
  position: relative;
  cursor: pointer;
  margin: 0 !important;
}
.schedule-card[hidden] { display: none; }
.schedule-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.schedule-card-body {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 2px solid var(--line);
  border-radius: 12px;
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease, transform .2s ease;
}
.schedule-card-body:hover {
  border-color: rgba(31, 181, 168, .5);
  transform: translateY(-1px);
}
.schedule-card-icon {
  position: relative;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(47, 174, 78, .12), rgba(31, 181, 168, .14));
  color: var(--teal);
  flex-shrink: 0;
  transition: background .25s ease, color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.schedule-card-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.schedule-card-text strong {
  font-size: 16px;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.2;
}
.schedule-card-text > span:nth-of-type(1) {
  font-size: 13px;
  color: var(--muted);
}
.schedule-card-course {
  font-size: 12px;
  color: var(--teal);
  font-weight: 600;
  margin-top: 2px;
  text-transform: uppercase;
  letter-spacing: .4px;
}
.schedule-card input[type="radio"]:checked + .schedule-card-body {
  border-color: transparent;
  background:
    linear-gradient(135deg, rgba(47, 174, 78, .07), rgba(31, 181, 168, .08) 50%, rgba(38, 114, 186, .07)) padding-box,
    var(--grad) border-box;
  box-shadow: 0 10px 24px rgba(31, 181, 168, .22);
  transform: translateY(-1px);
}
.schedule-card input[type="radio"]:checked + .schedule-card-body .schedule-card-icon {
  background: var(--grad);
  color: #fff;
  transform: scale(1.05);
  box-shadow: 0 6px 14px rgba(31, 181, 168, .35);
}
.schedule-card input[type="radio"]:checked + .schedule-card-body::after {
  content: '✓';
  position: absolute;
  top: 12px;
  right: 12px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  display: grid;
  place-items: center;
  line-height: 1;
  box-shadow: 0 4px 10px rgba(31, 181, 168, .35);
}
.schedule-card input[type="radio"]:focus-visible + .schedule-card-body {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}
.schedule-empty {
  padding: 18px;
  background: var(--soft);
  border: 1px dashed var(--line);
  border-radius: 10px;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

@media (max-width: 600px) {
  .reg-options { grid-template-columns: 1fr; }
  .course-pricing { padding: 18px 16px; }
  .pricing-amounts { gap: 10px; }
  .pricing-head { gap: 8px; }
  .form-head h3 { font-size: 22px; }
  .form-section + .form-section { padding-top: 22px; }
  .schedule-card-body { padding: 14px 16px; padding-right: 44px; }
  .reg-option-card { padding-right: 44px; }
}
.form-note {
  margin-top: 14px;
  text-align: center;
  font-size: 14px;
  min-height: 22px;
}
.form-note.success { color: var(--green); font-weight: 600; }
.form-note.error { color: #d93a3a; font-weight: 600; }

/* Confirmation modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal[hidden] { display: none; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 23, 42, .55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: modalFade .2s ease;
}
.modal-card {
  position: relative;
  width: 100%;
  max-width: 520px;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(13, 23, 42, .25);
  padding: 32px 32px 28px;
  animation: modalPop .25s cubic-bezier(.2, .9, .3, 1.2);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
}
.modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.modal-close:hover { background: var(--line); color: var(--ink); }
.modal-card h3 {
  margin: 0 0 6px;
  font-size: 22px;
  color: var(--ink);
}
.modal-sub {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 14px;
}
.modal-details {
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.modal-details > div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 12px;
  padding: 10px 14px;
  background: #F5F8FB;
  border-radius: 10px;
}
.modal-details > div[hidden] { display: none; }
.modal-details dt {
  font-weight: 600;
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .4px;
  align-self: center;
}
.modal-details dd {
  margin: 0;
  color: var(--ink);
  font-weight: 500;
  word-break: break-word;
}
.modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}
.modal-actions .btn { width: auto; margin: 0; }
.modal-actions-center { justify-content: center; }

.modal-card-success { text-align: center; padding-top: 40px; }
.modal-card-success h3 { font-size: 24px; }
.modal-card-success .modal-sub { font-size: 15px; line-height: 1.5; }
.modal-sub-note {
  margin: -12px 0 20px;
  color: var(--muted);
  font-size: 13px;
  font-style: italic;
}
.success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  font-size: 38px;
  font-weight: 700;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  box-shadow: 0 12px 28px rgba(31, 181, 168, .35);
  animation: successPop .45s cubic-bezier(.2, .9, .3, 1.4);
}
@keyframes successPop {
  0%   { transform: scale(.3); opacity: 0; }
  60%  { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(1); }
}

@keyframes modalFade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes modalPop {
  from { opacity: 0; transform: translateY(12px) scale(.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

body.modal-open { overflow: hidden; }

@media (max-width: 600px) {
  .modal-card { padding: 26px 22px 22px; }
  .modal-details > div { grid-template-columns: 1fr; gap: 2px; }
  .modal-actions { flex-direction: column-reverse; }
  .modal-actions .btn { width: 100%; }
}

/* =========================================================
   LEGAL PAGES (terms, privacy, refund)
========================================================= */
.legal-page {
  background: var(--white);
  padding: 70px 0 100px;
}
.legal-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
}
.legal-head .eyebrow { margin-bottom: 14px; }
.legal-head h1 {
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 800;
  letter-spacing: -.02em;
  margin: 0 0 10px;
}
.legal-meta {
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
  margin: 0;
}
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}
.legal-content section {
  margin-bottom: 36px;
}
.legal-content section:last-child {
  margin-bottom: 0;
}
.legal-content h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 14px;
  letter-spacing: -.01em;
}
.legal-content p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.75;
  margin: 0 0 12px;
}
.legal-content p:last-child { margin-bottom: 0; }
.legal-content ul {
  margin: 0 0 12px;
  padding-left: 22px;
}
.legal-content li {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 6px;
}
.legal-content li::marker { color: var(--teal); }
.legal-content a {
  color: var(--teal);
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.legal-content a:hover { border-bottom-color: var(--teal); }
.legal-content strong { color: var(--ink); font-weight: 600; }
.legal-content em { color: var(--navy); font-style: italic; }

@media (max-width: 600px) {
  .legal-page { padding: 50px 0 80px; }
  .legal-head { margin-bottom: 40px; padding-bottom: 28px; }
  .legal-content section { margin-bottom: 28px; }
  .legal-content h2 { font-size: 18px; }
}

/* =========================================================
   FOOTER
========================================================= */
.footer {
  background: var(--navy);
  color: #CBD5E1;
  padding: 60px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 36px;
}
.footer-brand img {
  height: 72px;
  margin-bottom: 14px;
  filter: brightness(0) invert(1);
}
.footer-brand p { color: #94A3B8; max-width: 320px; }
.footer-links h4 {
  color: #fff;
  font-size: 15px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.footer-links a {
  display: block;
  color: #CBD5E1;
  font-size: 14px;
  margin-bottom: 8px;
  transition: color .2s ease;
}
.footer-links a:hover { color: var(--teal); }
.footer-address {
  display: block;
  color: #94A3B8;
  font-size: 13px;
  line-height: 1.55;
  margin-top: 4px;
}
.footer-bar {
  margin-top: 50px;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,.08);
  text-align: center;
  font-size: 13px;
  color: #94A3B8;
}

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 960px) {
  .nav-links {
    position: fixed;
    top: 112px; left: 0; right: 0;
    flex-direction: column;
    background: #F4F7FB;
    padding: 20px 24px 28px;
    gap: 14px;
    border-top: 1px solid var(--line);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s step-end;
    align-items: stretch;
  }
  .nav-links.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition: opacity .25s ease, transform .25s ease, visibility 0s;
  }
  .nav-links a { font-size: 16px; }
  .nav-links .btn { justify-content: center; }
  .nav-toggle { display: flex; }

  .hero { padding: 60px 0 0; }
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero-visual {
    min-height: 0;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 8px 0;
  }
  .tools-orbit { --size: min(86vw, 360px); --radius: calc(var(--size) * 0.39); --icon: 52px; }
  .orbit-core img { width: calc(var(--size) * 0.30); max-width: 110px; }
  .orbit-item {
    border-radius: 14px;
    padding: 10px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .10), 0 2px 4px rgba(15, 23, 42, .05);
  }
  .orbit-rings .ring-1 { border-color: rgba(31, 181, 168, .2); }
  .orbit-rings .ring-2 { border-color: rgba(38, 114, 186, .14); }

  .section { padding: 70px 0; }
  .cards-3 { grid-template-columns: 1fr; }
  .course-feature { grid-template-columns: 1fr; }
  .course-feature-media { padding: 30px; }
  .course-feature-body { padding: 32px 26px; }
  .founder-inner { grid-template-columns: 1fr; gap: 40px; }
  .founder-photo { max-width: 420px; margin: 0 auto; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 30px; text-align: center; }
  .footer-brand img { margin-left: auto; margin-right: auto; }
  .footer-brand p { margin-left: auto; margin-right: auto; }
  .audience { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .tools-orbit { --icon: 46px; }
  .orbit-item { padding: 8px; border-radius: 12px; }
  .hero-ticker { margin-top: 40px; padding: 18px 0; }
  .hero-ticker .ticker-item strong { font-size: 19px; }
  .hero-ticker .ticker-track { gap: 32px; }
}

@media (max-width: 400px) {
  .tools-orbit { --icon: 42px; }
  .orbit-rings { display: none; }
  .hero-ticker .ticker-item strong { font-size: 17px; }
  .hero-ticker .ticker-item span { font-size: 12px; }
}

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

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
