/* =========================================
   SKILL IQ ACADEMY - Light Theme (Orange Accent)
   ========================================= */

/* ----- Basic reset ----- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ----- Colour variables (easy to change in one place) ----- */
:root {
  /* Brand colours from the palette */
  --orange: #ff5400;
  --cyan: #00b4d8;
  --mint: #e0fee8;
  --charcoal: #272932;
  --navy: #03045e;

  /* How the brand colours are used across the site */
  --bg: #ffffff;         /* clean white background */
  --bg-alt: #fff6f1;     /* warm light peach for alternate sections */
  --card: #ffffff;       /* white cards */
  --border: #eceaf0;     /* very light borders */
  --heading: #03045e;    /* deep navy for headings */
  --text: #272932;       /* charcoal body text */
  --text-soft: #515767;  /* softer grey for paragraphs */
  --text-muted: #8a93a3; /* muted grey for small text */
  --primary: #ff5400;    /* orange - main accent */
  --primary-dark: #e64a00;
  --accent: #00b4d8;     /* cyan - secondary accent */

  /* Soft shadows give the light theme depth */
  --shadow: 0 10px 30px rgba(3, 4, 94, 0.08);
  --shadow-hover: 0 18px 40px rgba(3, 4, 94, 0.14);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* Headings use the deep navy brand colour */
h1, h2, h3 {
  color: var(--heading);
}

/* ----- Layout helper ----- */
.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

.container-narrow {
  max-width: 750px;
}

/* ----- Buttons ----- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

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

/* PRIMARY - orange. Used for: Join the Program, Enroll Now, View Pricing */
.btn-primary {
  background: var(--orange);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(255, 84, 0, 0.28);
}

.btn-primary:hover {
  background: var(--primary-dark);
}

/* SECONDARY - cyan. Used for: Chat on WhatsApp, Talk to Us, Enquire Now */
.btn-secondary {
  background: var(--cyan);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(0, 180, 216, 0.28);
}

.btn-secondary:hover {
  background: #0096b5;
}

/* OUTLINE - navy border on light backgrounds */
.btn-outline {
  border: 2px solid var(--navy);
  color: var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: #ffffff;
}

/* OUTLINE (light) - thin white/cyan border for dark backgrounds */
.btn-outline-light {
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #ffffff;
  box-shadow: none;
}

.btn-outline-light:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

/* Small/lighter button - feels secondary next to the main CTAs */
.btn-sm {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: bold;
}

.btn.full {
  display: block;
  width: 100%;
  text-align: center;
}

/* ----- Badge ----- */
.badge {
  display: inline-block;
  background: rgba(255, 84, 0, 0.1);
  color: var(--primary);
  border: 1px solid rgba(255, 84, 0, 0.25);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 20px;
}

/* =========================================
   HEADER
   ========================================= */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 20px rgba(3, 4, 94, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 0;
}

.logo {
  font-size: 26px;
  font-weight: bold;
  color: var(--heading);
  text-decoration: none;
  letter-spacing: -0.5px;
}

.logo span {
  color: var(--primary);
}

.nav {
  display: flex;
  gap: 32px;
}

.nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--primary);
}

.header-btn {
  padding: 12px 26px;
  font-size: 15px;
}

/* Mobile menu button (hidden on desktop) */
.menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 26px;
  cursor: pointer;
}

/* =========================================
   HERO
   ========================================= */
.hero {
  padding: 110px 0 100px;
  /* Dark navy gradient with soft orange + cyan glows */
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 84, 0, 0.18), transparent 40%),
    radial-gradient(circle at 90% 25%, rgba(0, 180, 216, 0.16), transparent 42%),
    linear-gradient(160deg, #03045e 0%, #050626 75%);
  color: var(--mint);
}

/* Two columns on desktop: content + summary card */
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
}

.hero h1 {
  color: #ffffff;
  font-size: 56px;
  line-height: 1.12;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.hero-tagline {
  font-size: 20px;
  font-weight: bold;
  color: var(--accent); /* cyan accent */
  margin-bottom: 16px;
}

.hero-text {
  font-size: 18px;
  color: rgba(224, 254, 232, 0.82);
  max-width: 560px;
  margin-bottom: 28px;
}

/* Hero price row */
.hero-price {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hero-price-new {
  font-size: 40px;
  font-weight: bold;
  color: #ffffff;
}

.hero-price-old {
  font-size: 20px;
  color: rgba(224, 254, 232, 0.55);
  text-decoration: line-through;
}

.hero-price-label {
  background: var(--primary);
  color: #ffffff;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: bold;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Small trust points under the hero buttons */
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 28px;
}

.hero-trust span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: rgba(224, 254, 232, 0.9);
}

.hero-trust span::before {
  content: "✓";
  color: var(--cyan);
  font-weight: bold;
}

/* A lighter badge that reads well on the dark hero */
.badge-light {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* Right-side course summary card */
.hero-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 34px 32px;
  /* Subtle cyan/orange glow border */
  border: 1px solid rgba(0, 180, 216, 0.4);
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.35),
    0 0 0 6px rgba(255, 84, 0, 0.06);
}

.hero-card h3 {
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.hero-card-price {
  font-size: 34px;
  font-weight: bold;
  color: var(--heading);
  margin-bottom: 22px;
}

.hero-card-price small {
  font-size: 16px;
  font-weight: normal;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-left: 8px;
}

.hero-card-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.hero-card-row:last-of-type {
  border-bottom: none;
}

.hero-card-row span {
  color: var(--text-muted);
  font-size: 15px;
}

.hero-card-row strong {
  color: var(--heading);
  text-align: right;
  font-size: 15px;
}

.hero-card .btn {
  margin-top: 22px;
  padding: 16px 28px;
  font-size: 16px;
}

/* =========================================
   SECTIONS (shared)
   ========================================= */
.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-title {
  font-size: 36px;
  text-align: center;
  margin-bottom: 12px;
}

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

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 18px;
  margin-bottom: 50px;
}

/* ----- Card grid ----- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px 24px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.card-icon {
  font-size: 36px;
  margin-bottom: 16px;
}

.card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.card p {
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.65;
}

/* Center the cards inside the skill/learning sections */
#learn .cards,
#overview .cards,
#pillars .cards,
#program .cards,
#outcomes .cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

#learn .card,
#overview .card,
#pillars .card,
#program .card,
#outcomes .card {
  width: 300px;
  text-align: center;
}

/* Roomier, more readable cards in the outcomes and skills sections */
#outcomes .card,
#pillars .card {
  padding: 32px 26px;
}

#outcomes .card p,
#pillars .card p {
  line-height: 1.7;
}

/* =========================================
   COURSE OVERVIEW
   ========================================= */
.course-overview {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 50px;
  align-items: center;
}

.course-text p {
  color: var(--text-soft);
  margin-bottom: 24px;
}

.check-list {
  list-style: none;
  margin-bottom: 28px;
}

.check-list li {
  padding: 8px 0 8px 30px;
  position: relative;
  color: var(--text-soft);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

.check-list.center {
  display: inline-block;
  text-align: left;
  margin: 0 auto 28px;
}

.course-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px;
  box-shadow: var(--shadow);
}

.course-box h3 {
  margin-bottom: 20px;
  font-size: 20px;
}

.info-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.info-row:last-child {
  border-bottom: none;
}

.info-row span {
  color: var(--text-muted);
}

/* =========================================
   CURRICULUM TIMELINE
   ========================================= */
.timeline {
  max-width: 700px;
  margin: 0 auto;
}

.timeline-item {
  display: flex;
  gap: 24px;
  padding-bottom: 30px;
  position: relative;
}

.timeline-month {
  flex-shrink: 0;
  width: 90px;
  font-weight: bold;
  color: var(--primary);
}

.timeline-content {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 22px;
  width: 100%;
  box-shadow: var(--shadow);
}

.timeline-content h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.timeline-content p {
  color: var(--text-soft);
  font-size: 16px;
}

/* Tighter bullet list inside the timeline cards */
.timeline-content .check-list {
  margin-bottom: 0;
}

.timeline-content .check-list li {
  padding: 5px 0 5px 28px;
  font-size: 16px;
}

/* =========================================
   FOUNDER SECTION
   ========================================= */
.founder {
  padding: 80px 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(0, 180, 216, 0.15), transparent 45%),
    linear-gradient(160deg, #03045e 0%, #050626 80%);
  color: var(--mint);
}

.founder-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 50px;
  align-items: center;
}

.founder-text h2 {
  color: #ffffff;
  font-size: 34px;
  margin: 16px 0 18px;
}

.founder-text p {
  color: rgba(224, 254, 232, 0.85);
  margin-bottom: 16px;
  max-width: 560px;
}

.founder-text .btn {
  margin-top: 12px;
}

/* Founder profile card */
.founder-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 180, 216, 0.4);
  border-radius: 20px;
  padding: 40px 32px;
  text-align: center;
}

.founder-photo {
  width: 140px;
  height: 140px;
  margin: 0 auto 18px;
  display: block;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  border: 4px solid transparent;
  /* Brand gradient ring around the photo */
  background:
    linear-gradient(#0a0c3a, #0a0c3a) padding-box,
    linear-gradient(135deg, var(--orange), var(--cyan)) border-box;
}

.founder-card h3 {
  color: #ffffff;
  font-size: 22px;
  margin-bottom: 4px;
}

.founder-card p {
  color: var(--cyan);
  font-size: 15px;
}

/* =========================================
   PRICING
   ========================================= */
.pricing-card {
  max-width: 460px;
  margin: 0 auto;
  background: var(--card);
  border: 2px solid var(--primary);
  border-radius: 20px;
  padding: 40px 32px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(255, 84, 0, 0.18);
}

.pricing-card h3 {
  font-size: 24px;
  margin-bottom: 20px;
}

.price {
  margin-bottom: 8px;
}

.price-old {
  color: var(--text-muted);
  text-decoration: line-through;
  font-size: 22px;
  margin-right: 12px;
}

.price-new {
  font-size: 44px;
  font-weight: bold;
  color: var(--primary);
}

.price-note {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 28px;
}

.price-seats {
  color: var(--primary);
  font-size: 14px;
  font-weight: bold;
  margin-top: 16px;
}

/* Centered call-to-action below section card grids */
.section-cta {
  text-align: center;
  margin-top: 44px;
}

/* =========================================
   FAQ
   ========================================= */
.faq-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 14px;
  overflow: hidden;
  background: var(--card);
  box-shadow: var(--shadow);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: var(--text);
  font-size: 17px;
  font-weight: bold;
  padding: 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question span {
  color: var(--primary);
  font-size: 24px;
}

/* Answer is hidden until JS adds the "open" class */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  padding: 0 20px 20px;
  color: var(--text-soft);
}

.faq-item.open .faq-answer {
  max-height: 200px;
}

.faq-item.open .faq-question span {
  transform: rotate(45deg);
}

/* =========================================
   FINAL CTA
   ========================================= */
.cta {
  padding: 90px 0;
  text-align: center;
  /* Premium navy block with subtle orange + cyan glows */
  background:
    radial-gradient(circle at 25% 30%, rgba(255, 84, 0, 0.18), transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(0, 180, 216, 0.16), transparent 45%),
    linear-gradient(160deg, #03045e 0%, #050626 80%);
  color: var(--mint);
}

.cta-inner h2 {
  color: #ffffff;
  font-size: 38px;
  margin-bottom: 14px;
}

.cta-inner p {
  color: rgba(224, 254, 232, 0.85);
  font-size: 18px;
  margin-bottom: 30px;
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
  background: var(--navy);
  color: var(--mint);
  padding-top: 60px;
  line-height: 1.7;
}

.footer .logo {
  color: #ffffff;
}

.footer h4 {
  color: #ffffff;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand p {
  color: rgba(224, 254, 232, 0.7);
  margin-top: 14px;
  max-width: 300px;
}

.footer h4 {
  margin-bottom: 16px;
  font-size: 16px;
}

.footer-links a,
.footer-contact a {
  display: block;
  color: rgba(224, 254, 232, 0.8);
  text-decoration: none;
  margin-bottom: 12px;
  font-size: 16px;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  text-align: center;
  color: rgba(224, 254, 232, 0.6);
  font-size: 14px;
}

/* =========================================
   RESPONSIVE - TABLET
   ========================================= */
@media (max-width: 980px) {
  /* Stack the hero into one column */
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero h1 {
    font-size: 44px;
  }

  .hero-text {
    max-width: 100%;
  }

  /* Keep the summary card from stretching too wide */
  .hero-card {
    max-width: 460px;
  }

  /* Stack the founder section */
  .founder-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .founder-card {
    max-width: 360px;
  }
}

/* =========================================
   RESPONSIVE - MOBILE
   ========================================= */
@media (max-width: 768px) {
  /* Show mobile menu button, hide desktop nav + header button */
  .menu-btn {
    display: block;
  }

  .header-btn {
    display: none;
  }

  .nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    flex-direction: column;
    gap: 0;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
  }

  /* JS adds this class when the menu button is tapped */
  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 14px 5%;
  }

  /* Smaller headings on phones */
  .hero h1 {
    font-size: 34px;
  }

  .hero-text {
    font-size: 17px;
  }

  .hero {
    padding: 60px 0 70px;
  }

  .hero-price-new {
    font-size: 32px;
  }

  /* Full-width buttons are easier to tap */
  .hero-buttons .btn {
    width: 100%;
    text-align: center;
  }

  .section-title {
    font-size: 28px;
  }

  .cta-inner h2 {
    font-size: 28px;
  }

  .founder-text h2 {
    font-size: 28px;
  }

  /* Stack two-column layouts into one column */
  .course-overview {
    grid-template-columns: 1fr;
  }

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

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand p {
    margin-left: auto;
    margin-right: auto;
  }
}

/* =========================================================
   COURSE PAGE (course.html) - styles scoped to course-only
   classes so the homepage is never affected
   ========================================================= */

/* Hero subheadline + stats */
.hero-subhead {
  font-size: 28px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.3px;
  color: var(--cyan);
  margin-bottom: 18px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 40px;
  margin-top: 32px;
}

.hero-stat strong {
  display: block;
  font-size: 26px;
  color: #ffffff;
}

.hero-stat span {
  font-size: 14px;
  color: rgba(224, 254, 232, 0.7);
}

/* Includes list + note inside the hero card */
.hero-card .check-list {
  margin: 4px 0 0;
}

.hero-card .check-list li {
  font-size: 14px;
  padding: 7px 0 7px 26px;
}

.hero-card-note {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 14px;
}

/* Long lead headings + intro text */
.section-lead {
  max-width: 840px;
  margin: 0 auto 16px;
  text-align: center;
  font-size: 30px;
  line-height: 1.25;
}

.section-lead-text {
  max-width: 720px;
  margin: 0 auto 50px;
  text-align: center;
  color: var(--text-soft);
  font-size: 17px;
}

/* Chips (who this course is for) */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  max-width: 880px;
  margin: 0 auto;
}

.chip {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 15px;
  color: var(--text);
  box-shadow: var(--shadow);
}

/* Soft note box */
.note {
  max-width: 780px;
  margin: 36px auto 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 15px;
  background: var(--bg-alt);
  border: 1px dashed var(--border);
  border-radius: 12px;
  padding: 16px 22px;
}

/* Tool groups - centered cards with accent + chip tags */
.tool-groups {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.tool-group {
  width: 300px;
  background: var(--card);
  border: 1px solid var(--border);
  border-top: 4px solid var(--cyan);
  border-radius: 18px;
  padding: 26px 24px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tool-group:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

/* Alternate the accent colour between orange and cyan */
.tool-group:nth-child(odd) {
  border-top-color: var(--orange);
}

.tool-group-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.tool-ico {
  font-size: 24px;
}

.tool-group h3 {
  font-size: 18px;
  margin: 0;
}

.tool-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tool-chip {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 14px;
  color: var(--text);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.tool-chip:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* Weekly routine + assessment columns */
.routine-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

/* Syllabus block tabs */
.syllabus-meta {
  text-align: center;
  font-weight: bold;
  color: var(--primary);
  margin-bottom: 42px;
}

.block-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
}

.block-tab {
  flex: 0 0 auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 12px 20px;
  font-size: 15px;
  font-weight: bold;
  color: var(--text);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.block-tab:hover {
  border-color: var(--primary);
}

.block-tab.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}

/* Remove the stray blue focus ring on click, keep an accessible
   cyan ring for keyboard users */
.block-tab:focus,
.week-header:focus,
.faq-question:focus {
  outline: none;
}

.block-tab:focus-visible,
.week-header:focus-visible,
.faq-question:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.block-panel {
  display: none;
}

.block-panel.active {
  display: block;
}

.block-head {
  background: linear-gradient(160deg, #03045e 0%, #050626 85%);
  color: var(--mint);
  border-radius: 16px;
  padding: 28px 30px;
  margin-bottom: 24px;
}

.block-head h3 {
  color: #ffffff;
  font-size: 22px;
  margin-bottom: 8px;
}

.block-meta {
  color: var(--cyan);
  font-weight: bold;
  font-size: 15px;
  margin-bottom: 12px;
}

.block-goal {
  color: rgba(224, 254, 232, 0.85);
}

/* Week accordion */
.week-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.week-header {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 22px 26px;
  font-size: 17px;
  font-weight: bold;
  color: var(--heading);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.week-plus {
  color: var(--primary);
  font-size: 24px;
  transition: transform 0.2s ease;
}

.week-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.week-item.open .week-body {
  max-height: 1800px;
}

.week-item.open .week-plus {
  transform: rotate(45deg);
}

.week-inner {
  padding: 0 26px 26px;
}

.session {
  padding: 12px 0;
  border-top: 1px solid var(--border);
}

.session h4 {
  font-size: 16px;
  margin-bottom: 4px;
}

.session p {
  color: var(--text-soft);
  font-size: 15px;
}

.assignment {
  margin-top: 14px;
  background: rgba(255, 84, 0, 0.08);
  border-left: 3px solid var(--primary);
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 15px;
  color: var(--text);
}

.milestone {
  margin-top: 16px;
  background: rgba(0, 180, 216, 0.09);
  border-left: 3px solid var(--cyan);
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 15px;
  color: var(--text);
}

/* Pricing - two plans */
.pricing-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: start;
  max-width: 920px;
  margin: 0 auto;
}

.plan {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 30px;
  box-shadow: var(--shadow);
}

.plan-featured {
  border: 2px solid var(--primary);
  box-shadow: 0 20px 50px rgba(255, 84, 0, 0.18);
}

.plan h3 {
  font-size: 22px;
  margin-bottom: 4px;
}

.plan-track {
  color: var(--cyan);
  font-weight: bold;
  font-size: 14px;
  margin-bottom: 16px;
}

.plan-tag {
  display: inline-block;
  background: rgba(255, 84, 0, 0.12);
  color: var(--primary);
  border: 1px solid rgba(255, 84, 0, 0.35);
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 18px;
}

/* Make the featured launch price dominant */
.plan-featured .price-new {
  font-size: 56px;
}

.plan-featured .price-note {
  color: var(--primary);
  font-weight: bold;
}

.plan-price {
  font-size: 22px;
  font-weight: bold;
  color: var(--heading);
  margin-bottom: 18px;
}

/* Course-page responsive tweaks */
@media (max-width: 900px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .routine-grid {
    grid-template-columns: 1fr;
  }

  .section-lead {
    font-size: 24px;
  }

  /* On small screens, scroll the tabs sideways instead of wrapping */
  .block-tabs {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 10px;
  }
}
