/* ============================================================
   SHARED CSS  -  All Module Pages (wl1-module1 to wl1-module4)
   Colors: #fbba00 (gold), #004e6f (navy), #ffffff (white)
   CDN: Inter font, Phosphor Icons, AOS
============================================================ */

:root {
  --gold: #fbba00;
  --navy: #004e6f;
  --white: #ffffff;
  --navy-08: rgba(0, 78, 111, 0.08);
  --navy-15: rgba(0, 78, 111, 0.15);
  --navy-06: rgba(0, 78, 111, 0.06);
  --gold-20: rgba(251, 186, 0, 0.20);
  --gold-10: rgba(251, 186, 0, 0.10);
  --radius: 14px;
  --radius-lg: 22px;
  --font: 'Inter', 'Segoe UI', sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--navy);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  cursor: pointer;
  font: inherit;
  border: none;
  background: none;
}

p {
  color: rgba(0, 78, 111, 0.78);
  line-height: 1.75;
}

.container {
  width: min(1100px, calc(100% - 2rem));
  margin-inline: auto;
}

/* TOP BAR */
.topbar {
  background: var(--navy);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.55rem 0;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 2px solid var(--gold);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  color: var(--navy);
  font-size: 0.88rem;
  line-height: 1.2;
}

.brand img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.main-nav {
  display: none;
  align-items: center;
  gap: 1.4rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.main-nav a {
  color: var(--navy);
  opacity: 0.65;
  transition: opacity 0.2s;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover,
.main-nav a.active {
  opacity: 1;
  border-bottom-color: var(--gold);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.88rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  border: 2px solid transparent;
}

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

.btn-primary {
  background: var(--gold);
  color: var(--navy);
}

.btn-primary:hover {
  box-shadow: 0 8px 22px rgba(251, 186, 0, 0.35);
}

.btn-outline {
  border-color: var(--navy-15);
  color: var(--navy);
}

.btn-outline:hover {
  background: var(--navy-08);
}

.nav-toggle {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 2px solid var(--navy-15);
  color: var(--navy);
  font-size: 1.25rem;
}

.nav-cta {
  display: none;
}

/* PAGE HERO */
.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 3rem 0 2.5rem;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  right: -100px;
  bottom: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 60px solid rgba(251, 186, 0, 0.10);
  pointer-events: none;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1.2rem;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.6);
}

.breadcrumb a:hover {
  color: var(--gold);
}

.breadcrumb .ph {
  font-size: 0.8rem;
  opacity: 0.5;
}

.hero-module-num {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

.page-hero h1 {
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--white);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.4rem;
}

.htag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--white);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
}

.htag .ph {
  color: var(--gold);
}

/* CONTENT */
.content-section {
  padding: 3rem 0 4rem;
}

.content-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

.content-main {
  display: grid;
  gap: 1.5rem;
}

.content-card {
  background: var(--white);
  border: 1.5px solid var(--navy-15);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}

.card-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--navy);
  background: var(--gold);
  display: inline-flex;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  margin-bottom: 1.2rem;
}

/* Topic list */
.topic-list {
  list-style: none;
  display: grid;
  gap: 1.1rem;
}

.topic-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.topic-dot {
  width: 14px;
  height: 14px;
  min-width: 14px;
  border-radius: 50%;
  background: var(--gold);
  margin-top: 5px;
}

.topic-list strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.topic-list p {
  font-size: 0.88rem;
  margin: 0;
}

/* Activity steps */
.activity-steps {
  display: grid;
  gap: 1rem;
}

.activity-step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: var(--navy-06);
  border-radius: var(--radius);
  border: 1.5px solid var(--navy-08);
}

.step-num {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 10px;
  background: var(--navy);
  color: var(--white);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.82rem;
}

.activity-step strong {
  display: block;
  font-size: 0.92rem;
  color: var(--navy);
  margin-bottom: 0.2rem;
}

.activity-step p {
  font-size: 0.85rem;
  margin: 0;
}

/* Outcome card */
.outcome-card {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  color: var(--white);
}

.outcome-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--navy);
  background: var(--gold);
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.outcome-card p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.98rem;
  margin: 0;
}

/* SIDEBAR */
.content-aside {
  display: grid;
  gap: 1.25rem;
}

.aside-card {
  background: var(--white);
  border: 1.5px solid var(--navy-15);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
}

.aside-label {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--navy);
  opacity: 0.5;
  margin-bottom: 1rem;
}

.detail-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--navy-08);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
}

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

.detail-row .ph {
  color: var(--gold);
  font-size: 1rem;
}

/* Module nav */
.module-nav-list {
  display: grid;
  gap: 0.5rem;
}

.module-nav-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0.8rem;
  border-radius: var(--radius);
  border: 1.5px solid var(--navy-08);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  transition: background 0.18s, border-color 0.18s;
}

.module-nav-item:hover {
  background: var(--navy-08);
  border-color: var(--navy-15);
}

.module-nav-item.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}

.module-nav-item .ph {
  margin-left: auto;
  opacity: 0.4;
  font-size: 0.85rem;
}

.module-nav-item.active .ph {
  opacity: 0.8;
}

.mnav-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 28px;
  background: var(--navy);
  color: var(--white);
  border-radius: 7px;
  font-size: 0.78rem;
  font-weight: 800;
}

.module-nav-item.active .mnav-num {
  background: var(--navy);
  color: var(--white);
}

/* PAGE NAV (prev/next) */
.module-page-nav {
  background: var(--navy-08);
  border-top: 1.5px solid var(--navy-15);
  padding: 1.2rem 0;
}

.module-page-nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.page-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--navy);
  padding: 0.6rem 1rem;
  border-radius: 999px;
  border: 2px solid var(--navy-15);
  transition: background 0.18s, border-color 0.18s;
}

.page-nav-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
}

.page-nav-btn .ph {
  color: var(--gold);
}

.page-nav-btn:hover .ph {
  color: var(--navy);
}

/* FOOTER */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.72);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.footer-logo img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.footer-logo span {
  font-weight: 800;
  color: var(--white);
  font-size: 0.88rem;
  line-height: 1.2;
}

.site-footer h4 {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.footer-links {
  display: grid;
  gap: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.88rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-links span {
  font-size: 0.88rem;
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

/* RESPONSIVE */
@media (min-width: 760px) {
  .content-grid {
    grid-template-columns: 1fr 320px;
  }
}

@media (min-width: 960px) {
  .main-nav {
    display: flex;
  }

  .nav-cta {
    display: inline-flex;
  }

  .nav-toggle {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

@media (max-width: 959px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    background: var(--white);
    border-bottom: 2px solid var(--gold);
    padding: 1rem;
    gap: 0.75rem;
    display: none;
  }

  .main-nav.open {
    display: flex;
  }

  .site-header {
    position: relative;
  }
}

/* ============================================================
   IFRAME & VIDEO EMBED UI/UX COMPONENT
   Reusable class: .notes-iframe-wrapper / .iframe-container
   Provides 16:9 responsive aspect ratio, elegant curved borders,
   subtle shadows, dark background, and interactive hover effects.
============================================================ */
.notes-iframe-wrapper,
.video-embed-box,
.iframe-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg, 18px);
  overflow: hidden;
  background: #091a28;
  border: 2px solid var(--navy-15, rgba(0, 78, 111, 0.15));
  box-shadow: 0 10px 30px rgba(0, 78, 111, 0.12), 0 2px 8px rgba(0, 78, 111, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  margin: 1rem 0;
}

.notes-iframe-wrapper:hover,
.video-embed-box:hover,
.iframe-container:hover {
  border-color: var(--gold, #fbba00);
  box-shadow: 0 14px 38px rgba(0, 78, 111, 0.18), 0 0 24px rgba(251, 186, 0, 0.22);
  transform: translateY(-2px);
}

.notes-iframe-wrapper iframe,
.video-embed-box iframe,
.iframe-container iframe,
iframe.notes-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  border-radius: inherit;
}

/* Standalone iframe fallback inside any notes section body */
.notes-section-body iframe:not(.raw-iframe) {
  max-width: 100%;
  border-radius: var(--radius-lg, 18px);
  border: 2px solid var(--navy-15, rgba(0, 78, 111, 0.15));
  box-shadow: 0 8px 24px rgba(0, 78, 111, 0.10);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.notes-section-body iframe:not(.raw-iframe):hover {
  border-color: var(--gold, #fbba00);
}

/* Notes section header enhancement with icon & smooth curves */
.notes-section-title {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.notes-section-title .ph {
  color: var(--gold);
  font-size: 1.25rem;
  line-height: 1;
  flex-shrink: 0;
}

/* ============================================================
   SONG TYPE INTERACTIVE CONTROLS & STEP WORKFLOW
============================================================ */
.song-type-control {
  background: var(--navy-06, rgba(0, 78, 111, 0.06));
  border: 1.5px solid var(--navy-15, rgba(0, 78, 111, 0.15));
  border-radius: var(--radius, 14px);
  padding: 1.1rem;
  display: grid;
  gap: 0.75rem;
}

.song-type-control-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.song-type-control-title {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--navy);
}

.song-type-control-title .ph {
  color: var(--gold);
  font-size: 1.1rem;
}

.song-type-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.song-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  background: var(--white);
  border: 1.5px solid var(--navy-15);
  color: var(--navy);
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.song-pill:hover {
  background: rgba(251, 186, 0, 0.18);
  border-color: var(--gold);
  transform: translateY(-1px);
}

.song-pill.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
  box-shadow: 0 4px 14px rgba(251, 186, 0, 0.35);
  transform: translateY(-1px);
}

.song-pill .ph {
  font-size: 1rem;
}

.notes-select-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-width: 200px;
}

.notes-select {
  width: 100%;
  padding: 0.55rem 2.2rem 0.55rem 0.95rem;
  border-radius: 10px;
  border: 1.5px solid var(--navy-15);
  background: var(--white);
  color: var(--navy);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.notes-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(251, 186, 0, 0.25);
}

.notes-select-chevron {
  position: absolute;
  right: 0.8rem;
  pointer-events: none;
  color: var(--navy);
  font-size: 0.95rem;
  opacity: 0.6;
}

/* Workflow step container */
.workflow-steps-list {
  display: grid;
  gap: 1.25rem;
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: wf-step;
}

.workflow-step-card {
  background: var(--white);
  border: 1.5px solid var(--navy-08, rgba(0, 78, 111, 0.08));
  border-radius: var(--radius, 14px);
  padding: 1.1rem;
  display: grid;
  gap: 0.75rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.workflow-step-card:hover {
  border-color: var(--navy-15);
  box-shadow: 0 4px 16px rgba(0, 78, 111, 0.06);
}

.workflow-step-header {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.workflow-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 8px;
  background: var(--navy);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 900;
}

.workflow-step-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--navy);
}

.workflow-step-desc {
  font-size: 0.88rem;
  color: rgba(0, 78, 111, 0.85);
  margin: 0;
  line-height: 1.6;
}

/* ============================================================
   SAMPLE AI SONGS COMPACT 2-COLUMN GRID & INDICATOR
============================================================ */
.sample-songs-section {
  display: grid;
  gap: 0.85rem;
  margin-top: 0.5rem;
}

.sample-songs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 600px) {
  .sample-songs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.sample-song-card {
  background: var(--white);
  border: 1.5px solid var(--navy-15);
  border-radius: var(--radius, 14px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 16px rgba(0, 78, 111, 0.05);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.sample-song-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 78, 111, 0.12);
}

.sample-song-header {
  padding: 0.65rem 0.9rem;
  background: var(--navy-06);
  border-bottom: 1.5px solid var(--navy-08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.sample-song-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.25;
}

.sample-song-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: var(--gold);
  color: var(--navy);
  white-space: nowrap;
  flex-shrink: 0;
}

.sample-song-badge.instagram {
  background: #e1306c;
  color: #ffffff;
}

.sample-song-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #091a28;
  overflow: hidden;
}

.sample-song-media iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.sample-song-footer {
  padding: 0.55rem 0.9rem;
  background: var(--white);
  border-top: 1px solid var(--navy-08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: rgba(0, 78, 111, 0.8);
  margin-top: auto;
}

.instagram-compact-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 100%;
  padding: 1.2rem 1rem;
  background: linear-gradient(135deg, rgba(225, 48, 108, 0.08), rgba(251, 186, 0, 0.1));
  gap: 0.65rem;
}

.instagram-compact-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  display: grid;
  place-items: center;
  color: #ffffff;
  font-size: 1.5rem;
  box-shadow: 0 4px 12px rgba(220, 39, 67, 0.3);
}

.instagram-compact-desc {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.35;
}

/* Indicator banner: More examples available */
.more-examples-banner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius, 14px);
  background: linear-gradient(135deg, rgba(251, 186, 0, 0.15), rgba(0, 78, 111, 0.05));
  border: 1.5px solid var(--gold);
  color: var(--navy);
  font-size: 0.88rem;
  line-height: 1.5;
}

.more-examples-icon {
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 9px;
  background: var(--gold);
  color: var(--navy);
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}