/* V8: bridge preserved V7 components to the uploaded live homepage's design.
   Keep this file last. All rules remain editable and unminified. */
:root {
  --cmc-navy: #071c4d;
  --cmc-blue: #0f4fa8;
  --cmc-blue-2: #0b2969;
  --cmc-sky: #dfeefe;
  --cmc-light: #f7fbff;
  --cmc-gold: #ffc857;
  --cmc-gold-2: #ffb703;
  --cmc-text: #1f2937;
  --cmc-muted: #5f6b7a;
  --cmc-footer: #4b5563;
  --cmc-radius: 1rem;
  --cmc-shadow: 0 12px 30px rgba(8,25,61,.06);
  --cmc-shadow-strong: 0 20px 50px rgba(0,0,0,.18);
  --cmc-header-height: 84px;
}
html { scroll-padding-top: calc(var(--cmc-header-height) + 1rem); }
body, body.funnel-body { padding-top: var(--cmc-header-height); }
p, li { line-height: 1.75; }
h1,h2,h3,h4,h5,h6 { font-weight: 700; }
.navbar, .funnel-nav { border: 0; background: rgba(255,255,255,.96) !important; box-shadow: 0 8px 24px rgba(0,0,0,.06); }
.navbar-brand img, .funnel-nav .navbar-brand img { max-height: 58px; width: auto; }
.nav-link { font-weight: 600; }
.navbar .navbar-toggler { color: #071c4d; border: 1px solid #718096; }
.hero, .funnel-hero {
  background: linear-gradient(135deg,rgba(7,28,77,.92),rgba(15,79,168,.80)), url('../img/creativemindsclub-metaverse-header1400x500.jpg') center/cover no-repeat;
  padding: 5rem 0 4rem;
}
.hero h1, .funnel-hero h1 { font-size: clamp(2rem,5vw,3.7rem); line-height: 1.15; font-weight: 700; text-shadow: none; }
.hero p, .funnel-hero p { font-size: 1.1rem; color: rgba(255,255,255,.92); }
.hero-card, .funnel-hero-card, .glass-card {
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 1rem;
  padding: 1.25rem;
  box-shadow: 0 20px 50px rgba(0,0,0,.18);
}
.funnel-hero-card h2, .funnel-hero-card h3, .funnel-hero-card p, .funnel-hero-card li { color: #fff; }
.funnel-hero-card .funnel-check-list i { color: #ffc857; }
.funnel-hero-card .funnel-check-list li { border-color: rgba(255,255,255,.18); }
.btn { border-radius: .375rem; font-weight: 700; min-height: 44px; white-space: normal; }
.btn-lg { border-radius: .5rem; }
.btn-brand { background: #ffc857; color: #111827; border: none; padding: .9rem 1.35rem; }
.btn-brand:hover, .btn-brand:focus { background: #ffb703; color: #111827; }
.btn-primary { background: #0f4fa8; border-color: #0f4fa8; }
.btn-primary:hover, .btn-primary:focus { background: #0b2969; border-color: #0b2969; }
.btn-ghost, .btn-outline-light-strong { border: 2px solid rgba(255,255,255,.8); padding: .9rem 1.35rem; }
.btn-ghost:hover, .btn-outline-light-strong:hover { background: #fff; color: #071c4d; }
.section-pad, .funnel-section { padding: 4.5rem 0; }
.feature-card, .audience-card, .resource-card, .ad-card, .merch-card,
.price-card, .funnel-pricing-card, .problem-card, .promise-card, .offer-card,
.proof-card, .bonus-card, .objection-card, .funnel-step-card, .priority-card,
.monetization-card, .faq-card, .terms-card, .guide-card, .concept-card, .blueprint-card {
  border-radius: 1rem;
  border-color: #e8eef7;
  box-shadow: 0 12px 30px rgba(8,25,61,.06);
}
.feature-card, .resource-card, .problem-card, .funnel-step-card { padding: 1.5rem; }
.section-blue :is(.feature-card,.audience-card,.resource-card,.price-card,.ad-card) :is(p,li,h3,h4),
.section-dark :is(.feature-card,.audience-card,.resource-card,.price-card,.ad-card) :is(p,li,h3,h4) { color: #1f2937; }
.section-blue, .section-dark { background: linear-gradient(180deg,#071c4d,#0b2969); }
.funnel-section-soft { background: linear-gradient(180deg,#f8fbff,#fff); }
.icon-badge, .funnel-icon { width: 56px; height: 56px; border-radius: 50%; background: #dfeefe; color: #0f4fa8; }
.funnel-cta-band, .offer-banner { border-radius: 1rem; background: linear-gradient(135deg,#071c4d,#0f4fa8); }
.live-brand-strip { background: linear-gradient(135deg,#071c4d,#0b2969); color: #fff; border-radius: 1rem; padding: 1.35rem; }
.live-brand-strip h3, .live-brand-strip p { color: #fff; }
.funnel-pricing-card.featured, .price-card.featured-offer { border: 2px solid #ffc857; transform: none; }
.funnel-ribbon, .best-value-ribbon { background: #ffc857; color: #352704; }
.footer { background: #4b5563; padding: 3.25rem 0 1.2rem; }
.footer-title { color: #9ad1ff !important; }
.footer .img-fluid { width: 150px; height: auto; }
.cmc-footer .cmc-footer-brand { display: inline-block; background: #fff; border-radius: .7rem; padding: .55rem .75rem; }
.cmc-footer .cmc-footer-brand img { display: block; width: min(100%, 220px); height: auto; }
.cmc-footer .cmc-footer-links { list-style: none; margin: 0; padding: 0; }
.cmc-footer .cmc-footer-links li + li { margin-top: .38rem; }
.cmc-footer .cmc-footer-links a { display: inline-block; padding: .2rem 0; text-decoration: underline; text-underline-offset: .2em; }
.cmc-footer .cmc-footer-legal { font-size: .875rem; line-height: 1.6; }
.small-note, .funnel-ribbon { font-size: .875rem; }
.hero .badge { white-space: normal; line-height: 1.5; }
.anchor-target { display: block; scroll-margin-top: calc(var(--cmc-header-height) + 1rem); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid #0f4fa8; outline-offset: 4px; }
.hero :focus-visible, .funnel-hero :focus-visible, .footer :focus-visible { outline-color: #ffc857; }
img,svg,video,iframe { max-width: 100%; }
.row > *, .d-flex > * { min-width: 0; }
@media (max-width: 991.98px) {
  :root { --cmc-header-height: 76px; }
  .hero, .funnel-hero { text-align: center; }
  .navbar-brand img, .funnel-nav .navbar-brand img { max-height: 58px; }
  .navbar-collapse { max-height: calc(100dvh - var(--cmc-header-height)); overflow-y: auto; }
  .nav-link { min-height: 44px; display: flex; align-items: center; }
  .navbar .container { gap: .25rem; }
}
@media (max-width: 575.98px) {
  .hero, .funnel-hero { padding: 3rem 0; }
  .section-pad, .funnel-section { padding: 3rem 0; }
  .hero-buttons .btn { display: block; margin: .6rem 0; }
  .hero .d-flex .btn, .funnel-hero .d-flex .btn { width: 100%; }
  .funnel-price { font-size: 2.1rem; }
  .funnel-hero-card { text-align: left; }
  .btn { overflow-wrap: anywhere; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
@media print {
  body, body.funnel-body { padding-top: 0; }
  .navbar, .funnel-sticky-cta { display: none !important; }
}

/* Compact standalone state directory pages retain their original content. */
body.directory-body { padding: clamp(1rem,5vw,3rem); }
.directory-body .cta-card { padding: clamp(1rem,4vw,2rem); }

.resource-card .btn-primary, .feature-card .btn-primary, .audience-card .btn-primary {
  background: #198754;
  border-color: #198754;
}
.resource-card .btn-primary:hover, .feature-card .btn-primary:hover, .audience-card .btn-primary:hover {
  background: #157347;
  border-color: #157347;
}
.funnel-body h2, .funnel-body h3, .funnel-body h4 { font-weight: 700; }

/* Shared navigation and educator-authored book cards. */
.cmc-site-nav .navbar-nav { gap: .1rem; }
.cmc-site-nav .nav-link { font-size: .91rem; padding: .7rem .68rem !important; white-space: nowrap; }
.cmc-site-nav .nav-link[aria-current="page"] { color: var(--cmc-blue) !important; background: var(--cmc-sky); }
.cmc-site-nav .navbar-brand img { max-width: 235px; max-height: 58px; object-fit: contain; }
@media (min-width: 992px) and (max-width: 1199.98px) {
  .cmc-site-nav .navbar-brand img { max-width: 185px; }
  .cmc-site-nav .nav-link { font-size: .82rem; padding-inline: .42rem !important; }
}
@media (max-width: 991.98px) {
  .cmc-site-nav .nav-link { white-space: normal; }
  .cmc-site-nav .navbar-brand img { max-width: min(58vw, 235px); max-height: 48px; }
}
.cmc-book-card { display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid #dbe5f1; border-radius: 1rem; box-shadow: var(--cmc-shadow); }
.cmc-book-card > img { width: 100%; height: 250px; object-fit: contain; background: #f3f7fc; padding: .75rem; }
.cmc-book-card__detail { display: flex; flex: 1; flex-direction: column; gap: .4rem; padding: 1.25rem; }
.cmc-book-card__detail h3 { font-size: 1.18rem; margin: 0; }
.cmc-book-card__detail p { margin: 0 0 .4rem; }
.cmc-book-card__category { color: var(--cmc-blue); font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.cmc-book-card__author { font-weight: 700; }
.cmc-page-link { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: .5rem .85rem; color: var(--cmc-navy); background: white; border: 1px solid #c5d5e8; border-radius: .5rem; text-decoration: none; font-weight: 700; }
.cmc-page-link:hover, .cmc-page-link.is-current { color: #fff; background: var(--cmc-blue); border-color: var(--cmc-blue); }
.directory-body.cmc-state-page { padding: var(--cmc-header-height) 1rem 2rem; }
.cmc-state-page main.container { padding-top: clamp(2rem, 4vw, 3.5rem); }
