/* ═══════════════════════════════════════════════════
   INNER PAGES — SHARED STYLES
   Used by: bootcamp.html · design.html · freelancing.html
   Edit here once → all 3 sales pages update.
═══════════════════════════════════════════════════ */

/* ── HERO ── */
#boot-hero {
  position: relative;
  min-height: 780px;
  display: flex;
  flex-direction: column;
  background: var(--hero-bg);
  overflow: clip;
  border-radius: 20px 20px 0 0;
  will-change: transform;
}
#boot-hero .hero-body { padding-bottom: 100px; }
.btn-boot-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 18px;
  height: 58px;
  padding: 0 28px;
  border-radius: 100px;
  border: 1.5px solid rgba(255,255,255,.85);
  background: rgba(255,255,255,.05);
  text-decoration: none;
  transition: background .2s;
}
.btn-boot-outline:hover { background: rgba(255,255,255,.12); }
.boot-hero-title {
  font-family: var(--font-en);
  font-size: 56px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 32px;
  letter-spacing: -1.5px;
}
#boot-hero .hero-desc { color: #fff; font-size: 18px; margin-bottom: 60px; }
.bootcamp-subtitle { font-size: 18px; }
.cta-left p { font-size: 18px; }

/* ── SECTIONS COMMON ── */
.boot-section { padding: var(--section-spacing) 0; }
.boot-section.dark { background: var(--hero-bg); }
.boot-section.light { background: var(--bg); }
.section-eyebrow {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.boot-section.dark .section-eyebrow { color: var(--green); }
.boot-section.light .section-eyebrow { color: var(--blue-dark); }
.section-heading {
  font-family: var(--font-en);
  font-size: clamp(30px, 3.2vw, 40px);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 14px;
}
.boot-section.dark .section-heading { color: #fff; }
.boot-section.light .section-heading { color: var(--black); }
.section-desc {
  font-size: 18px;
  line-height: 1.75;
  max-width: 580px;
  margin-bottom: 0;
}
.boot-section.dark .section-desc { color: rgba(255,255,255,.55); }
.boot-section.light .section-desc { color: var(--muted); }

/* ── PROBLEM ── */
.problem-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin-top: 48px;
}
.problem-item {
  background: var(--green-light);
  border-radius: 10px;
  padding: 24px;
}
.problem-item h4 {
  font-family: var(--font-bn);
  font-size: 17px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 8px;
}
.problem-item p { font-size: 15px; color: var(--muted); line-height: 1.7; margin: 0; }
.problem-item--check { background: var(--white); display: flex; align-items: flex-start; gap: 14px; }
.problem-item--check .check-icon { color: var(--green); font-size: 17px; font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.problem-item--check h4 { margin-bottom: 6px; }
.problem-item--check div { flex: 1; }

.section-box--green { background: #e6ffea; }
.problem-item--muted { background: #F4F4F6; }

/* ── WHAT'S DIFFERENT ── */
.diff-wrapper {
  background: #060C1C url(images/hero-bg.svg) center/cover no-repeat;
  border-radius: 20px;
  max-width: 1170px;
  margin: 70px auto 0;
  padding: 60px;
  overflow: hidden;
}
.diff-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin-top: 44px;
}
.diff-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 10px;
  padding: 20px;
  transition: border-color .2s;
}
.diff-card:hover { border-color: rgba(77,248,128,.3); }
.diff-card h3 {
  font-family: var(--font-bn);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.4;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.diff-card h3::before { content: '✓'; color: var(--green); font-size: 16px; flex-shrink: 0; margin-top: 2px; }
.diff-wrapper .section-heading,
.diff-wrapper .section-desc { color: #fff !important; }
.diff-card p { font-size: 16px; color: #fff; padding-left: 24px; line-height: 1.75; margin: 0; }

/* ── CURRICULUM ── */
.curriculum-grid { display: grid; grid-template-columns: 1fr; gap: 4px; }
.curriculum-grid + .curriculum-grid { margin-top: 12px; }
.class-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 10px;
  padding: 24px;
  position: relative;
}
.ship-card {
  background: #060C1C url(images/hero-bg.svg) center/cover no-repeat;
  border: none;
}
.ship-card .section-heading { color: #fff !important; }
.ship-card .section-desc { color: rgba(255,255,255,.7) !important; }
.class-card.hackathon { background: #EDEEFF; border: 1px solid rgba(0,0,0,.08); }
.card-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.card-top-left { display: flex; align-items: center; }
.card-top-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.card-top-right .class-date { margin-left: 10px; }
.class-label {
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--muted);
}
.class-week-badge {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
}
.class-card:not(.hackathon) .class-week-badge { background: rgba(0,0,0,.06); color: var(--black); }
.class-card.hackathon .class-week-badge { background: var(--blue-xlight); color: var(--blue-dark); }
.class-number {
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--muted);
}
.class-title {
  font-family: var(--font-bn);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--black);
}
.class-date { font-family: var(--font-bn); font-size: 14px; color: var(--muted); white-space: nowrap; }
.class-topics {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 12px;
}
.class-topics li { font-size: 16px; color: var(--muted); display: flex; align-items: flex-start; line-height: 1.5; }
.class-topics li::before { content: '•'; margin: 0 10px; color: var(--muted); flex-shrink: 0; font-size: 18px; }
.hackathon-tag {
  display: inline-block;
  background: var(--green);
  color: #060C1C;
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 100px;
}
.boot-text-badges { font-family: var(--font-en); font-size: 14px; letter-spacing: 0.2px; }

/* ── LIVE PRODUCTS BANNER ── */
.live-products-banner {
  background: #060C1C url(images/hero-bg.svg) center/cover no-repeat;
  border-radius: 10px;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 48px;
  margin-bottom: 12px;
  overflow: hidden;
}
.lpb-left { flex: 1; }
.lpb-left h2 { font-family: var(--font-en); font-size: 20px; font-weight: 700; color: #fff; line-height: 1.3; margin-bottom: 12px; }
.lpb-left p { font-family: var(--font-bn); font-size: 16px; color: rgba(255,255,255,.65); line-height: 1.65; margin: 0; }
.lpb-products { display: flex; gap: 8px; flex-shrink: 0; }
.lpb-product { background: rgba(255,255,255,.08); border-radius: 12px; padding: 12px 18px; text-align: center; }
.lpb-product-num { font-family: var(--font-en); font-size: 24px; font-weight: 700; color: #fff; line-height: 1; }
.lpb-product-label { font-family: var(--font-en); font-size: 11px; color: rgba(255,255,255,.55); margin-top: 4px; }

/* ── APPLY / PRICING CARD ── */
#apply .bootcamp-card {
  display: grid;
  grid-template-areas: "left mentor icons";
  grid-template-columns: 1fr auto auto;
  grid-template-rows: 1fr;
  align-items: end;
  border-radius: 20px;
  border: none;
  min-height: 500px;
  overflow: hidden;
  background: var(--hero-bg) url(images/hero-bg.svg) center/cover no-repeat;
}
#apply .apply-pill { background: rgba(77,248,128,.2); color: #4DF880; }
#apply .boot-price { margin: 32px 0 0; color: #fff; }
#apply .bootcamp-left .btn-bootcamp { margin-top: 0; }
#apply .btn-bootcamp { width: 340px; max-width: 100%; }
.pricing-cta-wrap { width: 340px; max-width: 100%; }
.pricing-date-badge { padding: 8px 20px; font-size: 15px; }
#apply .mentor-img {
  height: 490px;
  width: auto;
  margin-right: 40px;
  display: block;
  align-self: end;
  margin-bottom: -2px;
}

/* ── FAQ ── */
.faq-list { display: flex; flex-direction: column; gap: 10px; margin-top: 44px; }
details.faq-item { background: #fff; border: 1px solid rgba(0,0,0,.07); border-radius: 16px; overflow: hidden; }
details.faq-item summary {
  padding: 20px 24px;
  font-family: var(--font-bn);
  font-size: 16px;
  font-weight: 600;
  color: var(--black);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  user-select: none;
  gap: 16px;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after {
  content: '+';
  font-family: var(--font-en);
  font-size: 22px;
  font-weight: 300;
  color: var(--muted);
  flex-shrink: 0;
  transition: transform .2s;
  line-height: 1;
}
details.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-body { padding: 0 24px 22px; font-family: var(--font-bn); font-size: 15px; color: var(--muted); line-height: 1.85; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .boot-hero-title { font-size: 44px; line-height: 1.3; }
}
.mobile-br { display: none; }
@media (max-width: 960px) {
  .mobile-br { display: block; }
  .section-box { padding: 28px 20px !important; }
  .problem-items { grid-template-columns: 1fr; gap: 12px; }
  .ship-grid { grid-template-columns: 1fr !important; }
  .ship-card { padding: 40px 20px !important; }
  .diff-grid { grid-template-columns: 1fr; }
  .diff-wrapper { padding: 24px 12px; }
  .curriculum-grid { grid-template-columns: 1fr; }
  .live-products-banner { flex-direction: column; padding: 36px 28px; }
  .lpb-products { flex-direction: row; }
  /* Apply card collapses at tablet alongside other sections */
  #apply .bootcamp-card { display: flex; flex-direction: column; height: auto; padding: 40px 20px 20px !important; }
  .pricing-cta-wrap { width: 100%; align-self: stretch; }
  #apply .btn-bootcamp { width: 100%; }
  .pricing-arc { display: none !important; }
  .pricing-arc-mobile { display: flex !important; }
  #apply .tech-icons-col {
    display: flex;
    order: 1;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-self: flex-start;
    margin: 0 0 24px 0;
    gap: 4px;
    padding: 12px;
  }
  #apply .tech-icon { width: 32px; height: 32px; }
  #apply .bootcamp-left { order: 2; padding: 0 0 32px 0; }
  #apply .mentor-img {
    order: 3;
    width: 100%;
    height: auto;
    max-width: 280px;
    margin: 0 auto;
    transform: translateY(2px);
    align-self: auto;
  }
}
@media (max-width: 768px) {
  #boot-hero { border-radius: 12px 12px 0 0; }
  .hero-nav { margin-bottom: -100px; }
  #boot-hero .hero-body { padding-top: 140px; }
  .card-top-row {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 10px;
  }
  .card-top-left { display: block; }
  .card-top-right { justify-content: flex-start; flex-wrap: wrap; gap: 8px; }
  .class-topics { flex-direction: column; gap: 4px; margin-top: 12px; align-items: flex-start; }
  .class-topics li { text-align: left; }
  .class-topics li::before { display: none; }
}
@media (max-width: 640px) {
  .boot-hero-title { font-size: 32px; letter-spacing: -0.5px; }
  .btn-boot-outline { width: 100%; justify-content: center; }
  #boot-hero .hero-body { padding-bottom: 0; }
  #apply .btn-bootcamp { width: 100%; }
  .pricing-date-wrap { gap: 8px !important; }
  .pricing-date-badge { padding: 6px 12px !important; font-size: 13px !important; }
}

/* ── BOOTCAMP LIST PAGE ── */
.bootcamp-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}
.bootcamp-list-card {
  display: flex;
  align-items: center;
  gap: 28px;
  background: var(--white);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 16px;
  padding: 28px;
}
.past-card { opacity: .65; }
.blc-left { flex-shrink: 0; }
.blc-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 12px;
  padding: 12px 20px;
  min-width: 72px;
  text-align: center;
}
.blc-day {
  font-family: var(--font-en);
  font-size: 32px;
  font-weight: 700;
  color: var(--black);
  line-height: 1;
}
.blc-month {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  margin-top: 4px;
  white-space: nowrap;
}
.blc-body { flex: 1; }
.blc-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.blc-title {
  font-family: var(--font-en);
  font-size: 20px;
  font-weight: 700;
  color: var(--black);
  margin: 0 0 8px;
}
.blc-desc {
  font-size: 15px;
  color: var(--muted);
  margin: 0 0 12px;
  line-height: 1.6;
}
.blc-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-family: var(--font-en);
  font-size: 13px;
  color: var(--muted);
}
.blc-meta strong { color: var(--black); }
.blc-right { flex-shrink: 0; }

.pill-blue { background: var(--blue-xlight); color: var(--blue-dark); }
.pill-muted { background: rgba(0,0,0,.08); color: var(--muted); }

[data-theme="dark"] .bootcamp-list-card { border-color: rgba(255,255,255,.08); }
[data-theme="dark"] .blc-date { border-color: rgba(255,255,255,.08); }
[data-theme="dark"] .pill-muted { background: rgba(255,255,255,.08); }

@media (max-width: 768px) {
  .bootcamp-list-card { flex-direction: column; align-items: flex-start; }
  .blc-date { flex-direction: row; gap: 8px; padding: 10px 16px; }
  .blc-right { width: 100%; }
  .blc-right .btn-bootcamp { width: 100%; text-align: center; }
}

/* ── POLICY MODAL ── */
.policy-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 12, 28, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
}
.policy-modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}
.policy-modal-content {
  position: relative;
  background: #1C1F2A;
  color: rgba(255,255,255,.8);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  padding: 32px 36px;
  max-width: 680px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(.95) translateY(10px);
  transition: transform .3s cubic-bezier(.22,1,.36,1);
}
.policy-modal-overlay.is-open .policy-modal-content {
  transform: scale(1) translateY(0);
}
.policy-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.1);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
}
.policy-modal-close:hover { background: rgba(255,255,255,.2); }
.policy-modal-content h3 { font-family: var(--font-en); font-size: 24px; font-weight: 700; color: #fff; margin-bottom: 24px; }
.policy-modal-content h4 { font-family: var(--font-en); font-size: 16px; font-weight: 700; color: var(--green); margin-top: 24px; margin-bottom: 10px; }
.policy-modal-content p { font-size: 15px; line-height: 1.8; margin-bottom: 16px; color: rgba(255,255,255,.7); }
.policy-modal-content ul { list-style: none; padding-left: 0; display: flex; flex-direction: column; gap: 8px; margin: 16px 0; }
.policy-modal-content li { font-size: 15px; line-height: 1.7; color: rgba(255,255,255,.7); padding-left: 20px; position: relative; }
.policy-modal-content li::before { content: '✓'; position: absolute; left: 0; top: 2px; color: var(--green); font-weight: 700; }
.policy-modal-content strong { color: #fff; font-weight: 600; }

/* ── DARK MODE FIXES ── */
[data-theme="dark"] .section-box { border: 1px solid rgba(255,255,255,.08); }
[data-theme="dark"] .section-box--green {
  background: rgba(77, 248, 128, 0.05);
  border: 1px solid rgba(77, 248, 128, 0.15);
}
[data-theme="dark"] .problem-item--muted {
  background: rgba(255, 255, 255, 0.04);
}
[data-theme="dark"] .problem-item--check {
  border: 1px solid rgba(255, 255, 255, 0.08);
}
