/* ========================================
   DIT — The NUI Complete Instructor
   Bundle landing / sales page (/complete-instructor.html)
   Loaded after unified.css + brand.css via offerPage flag.
   Uses brand tokens from brand.css. Light theme.
   ======================================== */

.ci-page {
  color: var(--text-primary);
}

.ci-page .container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.ci-page h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin: 0 0 1rem;
}

.ci-page h2 em {
  font-style: normal;
  color: var(--accent-primary);
}

.ci-page .section-intro {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 60ch;
  margin: 0 0 2rem;
}

/* ---------- HERO ---------- */
.ci-hero {
  background: linear-gradient(135deg, #34600f 0%, #508916 100%);
  color: #fff;
  padding: 4.5rem 0 4rem;
  margin-top: var(--header-height);
  text-align: center;
}

.ci-hero__eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: #c8f08f;
  margin: 0 0 1rem;
}

.ci-hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 auto 1.25rem;
  max-width: 16ch;
}

.ci-hero h1 em {
  font-style: normal;
  color: #c8f08f;
}

.ci-hero__lead {
  font-size: 1.1rem;
  line-height: 1.65;
  max-width: 62ch;
  margin: 0 auto 2rem;
  color: rgba(255, 255, 255, 0.94);
}

.ci-hero__prices {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.ci-price-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 100px;
  padding: 0.7rem 1.6rem;
  font-size: 1.15rem;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
}

.ci-price-chip:hover,
.ci-price-chip:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}
.ci-price-chip:not(.ci-price-chip--alt):hover,
.ci-price-chip:not(.ci-price-chip--alt):focus-visible {
  background: rgba(255, 255, 255, 0.2);
}
.ci-price-chip--alt:hover,
.ci-price-chip--alt:focus-visible {
  filter: brightness(1.08);
}

.ci-price-chip strong {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
}

.ci-price-chip--alt {
  background: var(--accent-amber);
  border-color: var(--accent-amber);
  color: #fff;
}

.ci-hero__ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.ci-btn-lg {
  padding: 0.85em 1.8em;
  font-size: 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  border-radius: var(--radius-md);
}

/* Secondary button legibility on the green hero */
.ci-hero__ctas .btn-secondary {
  background: #fff;
  color: var(--accent-primary-dark);
  border: 1px solid #fff;
}
.ci-hero__ctas .btn-secondary:hover {
  background: #f0f7e8;
  color: var(--accent-primary-dark);
}

.ci-hero__note {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

/* ---------- Shared section rhythm ---------- */
.ci-belief,
.ci-books,
.ci-included,
.ci-why,
.ci-pricing,
.ci-access,
.ci-faq,
.ci-final {
  padding: 3.5rem 0;
}

.ci-belief { background: var(--bg-surface); }
.ci-included { background: var(--bg-surface); }
.ci-access { background: var(--bg-surface); }

/* ---------- THE HONEST BIT ---------- */
.ci-belief__body {
  max-width: 68ch;
}
.ci-belief__body p {
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--text-primary);
  margin: 0 0 1.1rem;
}
.ci-belief__body strong { color: var(--accent-primary-dark); }

/* ---------- RECOMMENDED BOOKS ---------- */
.ci-books__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.ci-books__col-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-primary-dark);
  margin: 0 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border-subtle);
}

.ci-book-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.ci-book {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem 1.1rem;
  box-shadow: var(--shadow-sm);
}

.ci-book--key {
  border-left: 4px solid var(--accent-primary);
}

.ci-book__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 0.3rem;
}

.ci-book__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--text-primary);
}

.ci-book__cost {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-primary-dark);
  white-space: nowrap;
  flex-shrink: 0;
}

.ci-book__note {
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text-secondary);
  margin: 0;
}

.ci-book__caveat {
  font-size: 0.8rem;
  line-height: 1.45;
  color: #b45309;
  background: var(--accent-amber-soft);
  border-radius: var(--radius-sm);
  padding: 0.4rem 0.6rem;
  margin: 0.5rem 0 0;
}

.ci-books__foot {
  margin-top: 2rem;
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--text-primary);
  max-width: 62ch;
}
.ci-books__foot em { font-style: italic; color: var(--accent-primary-dark); }

/* ---------- WHAT'S INCLUDED ---------- */
.ci-included__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.ci-product {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.ci-product--feature {
  border: 1px solid var(--accent-primary);
  border-top: 4px solid var(--accent-primary);
  box-shadow: var(--shadow-md);
}

.ci-product__tag {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-primary-dark);
  background: var(--accent-green-soft);
  border-radius: 100px;
  padding: 0.3rem 0.8rem;
  margin-bottom: 1rem;
}

.ci-product__tag--gold {
  color: #8a5a00;
  background: var(--accent-gold-soft);
}

.ci-product h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--text-primary);
  margin: 0 0 0.25rem;
}

.ci-product__tagline {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--accent-primary);
  margin: 0 0 1.25rem;
}

.ci-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.ci-feature-list li {
  position: relative;
  padding-left: 1.75rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

.ci-feature-list li strong { color: var(--text-primary); font-weight: 600; }

.ci-feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 14px;
  height: 8px;
  border-left: 2.5px solid var(--accent-primary);
  border-bottom: 2.5px solid var(--accent-primary);
  transform: rotate(-45deg);
}

/* ---------- WHY THIS EARLY ---------- */
.ci-why__body { max-width: 68ch; }
.ci-why__body p {
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--text-primary);
  margin: 0 0 1.1rem;
}

/* ---------- PRICING ---------- */
.ci-pricing { text-align: center; }
.ci-pricing .section-intro { margin-left: auto; margin-right: auto; }

.ci-plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 340px));
  gap: 1.5rem;
  justify-content: center;
  align-items: stretch;
  margin-bottom: 1.5rem;
}

.ci-plan {
  position: relative;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-sm);
  text-align: center;
  display: flex;
  flex-direction: column;
}

.ci-plan--featured {
  border: 2px solid var(--accent-primary);
  box-shadow: var(--shadow-lg);
}

.ci-plan__badge {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-primary);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.3rem 0.9rem;
  border-radius: 100px;
  white-space: nowrap;
}

.ci-plan__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  margin: 0 0 0.5rem;
}

.ci-plan__price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 3rem;
  line-height: 1;
  color: var(--text-primary);
  margin: 0 0 0.35rem;
}

.ci-plan__currency {
  font-size: 1.5rem;
  vertical-align: 0.6em;
  margin-right: 0.05em;
  color: var(--text-secondary);
}

.ci-plan__sub {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0 0 1.25rem;
}

.ci-plan__list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex-grow: 1;
}

.ci-plan__list li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--text-primary);
}

.ci-plan__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.3em;
  width: 13px;
  height: 7px;
  border-left: 2.5px solid var(--accent-primary);
  border-bottom: 2.5px solid var(--accent-primary);
  transform: rotate(-45deg);
}

.ci-plan__cta {
  width: 100%;
  padding: 0.85em 1.5em;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius-md);
}

.ci-pricing__foot {
  font-size: 0.9rem;
  color: var(--text-secondary);
  max-width: 60ch;
  margin: 0 auto;
  line-height: 1.6;
}

.ci-checkout-note {
  margin: 1.25rem auto 0;
  max-width: 46ch;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-primary-dark);
  background: var(--accent-green-soft);
  border: 1px dashed var(--accent-primary);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
}

/* ---------- ACCESS ---------- */
.ci-access__inner {
  max-width: 62ch;
}
.ci-access__inner p {
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--text-primary);
  margin: 0;
}

/* ---------- FAQ ---------- */
.ci-faq .faq-item {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  margin-bottom: 0.8rem;
  overflow: hidden;
}

.ci-faq .faq-q {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--text-primary);
  padding: 1.1rem 1.25rem;
  position: relative;
}

.ci-faq .faq-q::after {
  content: '+';
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 400;
  font-size: 1.4rem;
  color: var(--accent-primary);
}

.ci-faq .faq-item.open .faq-q::after { content: '\2212'; }

.ci-faq .faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.ci-faq .faq-item.open .faq-a { max-height: 320px; }

.ci-faq .faq-a p {
  padding: 0 1.25rem 1.2rem;
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

/* ---------- FINAL CTA ---------- */
.ci-final {
  text-align: center;
  background: linear-gradient(135deg, #34600f 0%, #508916 100%);
  color: #fff;
}
.ci-final h2 { color: #fff; }
.ci-final p {
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 54ch;
  margin: 0 auto 1.75rem;
  color: rgba(255, 255, 255, 0.95);
}
.ci-final__ctas .btn-primary {
  background: #fff;
  color: var(--accent-primary-dark);
}
.ci-final__ctas .btn-primary:hover {
  background: #f0f7e8;
  color: var(--accent-primary-dark);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 860px) {
  .ci-books__grid,
  .ci-included__grid {
    grid-template-columns: 1fr;
  }
  .ci-plans {
    grid-template-columns: minmax(0, 380px);
  }
}

@media (max-width: 600px) {
  .ci-hero { padding: 3rem 0 2.75rem; }
  .ci-belief, .ci-books, .ci-included, .ci-why,
  .ci-pricing, .ci-access, .ci-faq, .ci-final { padding: 2.5rem 0; }
  .ci-product { padding: 1.5rem; }
}
