/* ═══════════════════════════════════════════════
   Slide Banner HTML Styles (all 4 banners)
   ═══════════════════════════════════════════════ */

/* ── Banner card (shared) ── */
.banner {
  max-width: 600px;
  width: 100%;
  box-sizing: border-box;
  background: linear-gradient(175deg, #f7f9fb 0%, #e2eef8 82%, #cfe0f4 100%);
  border-radius: 24px;
  padding: 46px 32px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  box-shadow: 0 12px 40px rgba(60,90,180,.18);
}
.ban2 { gap: 20px; }
.ban5 { gap: 14px; }
.banner { padding-bottom: 62px; } /* 32px base + 30px for dot clearance */

/* ── Title (shared) ── */
.banner .banner-title {
  font-family: Fredoka, sans-serif;
  font-size: 34px;
  font-weight: 500;
  color: #1a2b7a;
  text-align: center;
  line-height: 1.1;
  transform: scaleY(0.92);
  transform-origin: top center;
  letter-spacing: -1px;
}

/* ── Top graphic ── */
.banner .top-graphic {
  display: flex;
  justify-content: center;
}
.ban3 .top-graphic { width: 60%; }
.ban4 .top-graphic { width: 62%; }
.ban5 .top-graphic { width: 34%; }
.banner .top-graphic img {
  width: 100%;
  height: auto;
  display: block;
}
.ban3 .top-graphic img { filter: drop-shadow(0px 10px 20px rgba(40,70,160,0.2)); }
.ban4 .top-graphic img { filter: drop-shadow(0px 10px 24px rgba(40,70,160,0.22)); }
.ban5 .top-graphic img { filter: drop-shadow(0px 10px 24px rgba(40,70,160,0.18)); }

/* ── Banner 2: Progress circles ── */
.progress-row {
  display: flex;
  gap: 18px;
  justify-content: center;
  align-items: flex-start;
}
.progress-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.progress-circle-container {
  position: relative;
  width: 116px;
  height: 116px;
  margin: 0 auto;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  outline: 1px solid transparent;
}
.progress-circle {
  transform: rotate(-90deg);
  position: absolute;
  top: 0;
  left: 0;
  width: 116px;
  height: 116px;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  outline: 1px solid transparent;
  will-change: transform;
}
.progress-bg, .progress-bar { shape-rendering: geometricPrecision; }
.progress-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #236097;
  pointer-events: none;
  z-index: 10;
}
.progress-percentage {
  font-size: 23px;
  font-weight: 600;
  line-height: 1;
  margin: 0; padding: 0;
  display: block;
  color: #236097;
}
.progress-label {
  font-size: 12px;
  font-weight: 500;
  color: #444;
  line-height: 1;
  margin: 2px 0 0 0; padding: 0;
  display: block;
}
.progress-name-bar { text-align: center; margin-top: 10px; }
.progress-name-text {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  background: #7ba3d0;
  padding: 5px 14px;
  border-radius: 12px;
  line-height: 1.2;
  display: inline-block;
}

/* ── Banner 2: Feature card (progress circles wrapper) ── */
.feature-card {
  background: linear-gradient(to right, rgba(235,244,253,0.81) 0%, rgba(247,252,255,0.87) 50%, rgba(237,245,253,0.81) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.12);
  border: 1px solid rgba(255,255,255,0.3);
}
.feature-cards {
  width: 87%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.feature-icon {
  width: 62px;
  height: 62px;
  flex-shrink: 0;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #dde8f8, #c8d8f0);
  box-shadow: 2px 3px 8px rgba(60,90,160,.15);
  margin: 0 !important;
  align-self: flex-end;
}
.feature-icon img { width: 100%; height: 100%; object-fit: contain; }
.feature-content { flex: 1; }
.feature-title {
  font-size: 20px;
  font-weight: 800;
  color: #1a2b7a;
  margin-bottom: 11px;
  text-align: center;
}
.feature-buttons { display: flex; gap: 10px; justify-content: center; }
.banner .btn {
  border: none;
  border-radius: 9px;
  padding: 9px 18px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 7px;
  transition: filter .15s, transform .1s;
}
.banner .btn:hover  { filter: brightness(1.06); }
.banner .btn:active { transform: scale(.97); }
.btn-preview { background: #4a7fd4; color: white; }
.btn-unlock  { background: #f5c84a; color: #3a2800; }
.banner .btn svg { flex-shrink: 0; }

/* ── Banner 2: book-img2 ── */
.book-img2 {
  width: 87%;
  background: linear-gradient(to right, rgba(235,244,253,0.81) 0%, rgba(247,252,255,0.87) 50%, rgba(237,245,253,0.81) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.3);
  box-shadow: 0 25px 60px rgba(0,0,0,0.12);
  display: flex;
  overflow: hidden;
}
.book-checklist {
  flex: 0 0 44%;
  padding: 14px 14px 14px 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  border-right: 1px solid rgba(180,210,240,0.5);
}
.checklist-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  border-bottom: 1px solid rgba(180,210,240,0.35);
  font-size: 14px;
  font-weight: 600;
  color: #1a2b7a;
}
.checklist-item:last-child { border-bottom: none; }
.chk-icon { flex-shrink: 0; width: 16px; height: 16px; }
.book-evidence {
  flex: 1;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.evidence-header {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: #236097;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
}
.evidence-header::before, .evidence-header::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(100,160,210,0.4);
}
.evidence-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  flex: 1;
}
.ev-cell {
  border-radius: 10px;
  overflow: hidden;
  background: rgba(220,235,250,0.5);
  border: 1px solid rgba(180,210,240,0.4);
  display: flex;
  flex-direction: column;
}
.ev-cell img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.ev-caption {
  font-size: 12px;
  font-weight: 600;
  color: #236097;
  text-align: center;
  padding: 3px 4px;
  background: rgba(235,244,253,0.7);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── Banner 3 & 4: Feature rows ── */
.feature-rows {
  width: 87%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ban3 .feature-rows { margin-top: 43px; }
.feature-row {
  background: linear-gradient(to right, rgba(235,244,253,0.81) 0%, rgba(247,252,255,0.87) 50%, rgba(237,245,253,0.81) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 18px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.12);
  border: 1px solid rgba(255,255,255,0.3);
}
.row-icon {
  width: 58px;
  height: 58px;
  flex-shrink: 0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #dde8f8, #c8d8f0);
  box-shadow: 2px 3px 8px rgba(60,90,160,.15);
  padding: 8px;
}
.ban4 .row-icon { padding: 10px; }
.row-icon img { width: 100%; height: 100%; object-fit: contain; }
.row-icon svg { width: 100%; height: 100%; }
.row-content { flex: 1; }
.row-title {
  font-size: 17px;
  font-weight: 700;
  color: #1a2b7a;
  margin-bottom: 4px;
  line-height: 1.2;
}
.row-desc {
  font-size: 14.5px;
  font-weight: 400;
  color: #3a4a6b;
  line-height: 1.4;
}

/* ── Banner 4: Subtitle paragraph ── */
.banner-subtitle {
  width: 100%;
  font-size: 17px;
  font-weight: 400;
  text-shadow: 0 1px 4px rgba(60,90,160,0.2);
  color: #000000;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  line-height: 1.55;
}

/* ── Banner 5: Glass free-section card ── */
.glass-card {
  width: 87%;
  background: linear-gradient(160deg, rgba(220,248,230,0.75) 0%, rgba(237,252,241,0.85) 50%, rgba(220,248,230,0.75) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 18px;
  padding: 18px 20px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.10);
  border: 1px solid rgba(34,197,94,0.22);
}
.free-section-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(34,197,94,0.2);
}
.free-badge {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 4px 13px;
  border-radius: 999px;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(34,197,94,0.35);
}
.free-section-label { font-size: 14px; font-weight: 600; color: #1a5c2e; }
.free-item { display: flex; align-items: center; gap: 12px; padding: 8px 0; }
.free-item + .free-item { border-top: 1px solid rgba(34,197,94,0.15); }
.free-check { width: 24px; height: 24px; flex-shrink: 0; }
.free-item-text { font-size: 15px; font-weight: 600; color: #1a3a28; }
.divider-row { width: 87%; display: flex; align-items: center; gap: 10px; }
.divider-line { flex: 1; height: 1px; background: rgba(100,150,200,0.3); }
.divider-text { font-size: 15px; font-weight: 600; color: #5a6f8f; white-space: nowrap; }
.price-card {
  width: 87%;
  background: linear-gradient(160deg, rgba(255,253,230,0.75) 0%, rgba(255,254,240,0.82) 50%, rgba(255,253,230,0.75) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 18px;
  padding: 14px 18px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.10);
  border: 1px solid rgba(234,179,8,0.25);
  display: flex;
  align-items: center;
  gap: 16px;
}
.price-icon {
  width: 48px; height: 48px;
  flex-shrink: 0;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #dde8f8, #c8d8f0);
  box-shadow: 2px 3px 8px rgba(60,90,160,.15);
  padding: 10px;
}
.price-icon svg { width: 100%; height: 100%; }
.price-content { flex: 1; }
.price-amount-row { display: flex; align-items: center; gap: 8px; }
.price-amount { font-size: 26px; font-weight: 700; color: #1a2b7a; line-height: 1.1; }
.price-onetime { font-size: 14px; font-weight: 700; color: #5a6f8f; }
.price-desc { font-size: 13px; font-weight: 400; color: #3a4a6b; margin-top: 3px; }
.unlock-rows { width: 87%; display: flex; flex-direction: column; gap: 10px; }
.unlock-row {
  background: linear-gradient(to right, rgba(235,244,253,0.81) 0%, rgba(247,252,255,0.87) 50%, rgba(237,245,253,0.81) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 18px;
  padding: 13px 18px;
  display: flex; align-items: center; gap: 14px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.12);
  border: 1px solid rgba(255,255,255,0.3);
}
.unlock-icon {
  width: 50px; height: 50px;
  flex-shrink: 0;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #dde8f8, #c8d8f0);
  box-shadow: 2px 3px 8px rgba(60,90,160,.15);
  padding: 10px;
}
.unlock-icon svg { width: 100%; height: 100%; }
.unlock-content { flex: 1; }
.unlock-title { font-size: 15.5px; font-weight: 700; color: #1a2b7a; margin-bottom: 3px; line-height: 1.2; }
.unlock-desc  { font-size: 13px; font-weight: 400; color: #3a4a6b; line-height: 1.4; }

/* ── Banner 2: constrain the standalone progress-circles card width
      (it's a direct .banner child with no explicit width, so it expands
       to content size and overflows on narrow viewports) ── */
.ban2 > .feature-card {
  width: 87%;
  box-sizing: border-box;
}

/* ── Mobile responsive ── */
@media (max-width: 600px) {
  .banner { padding: 24px 18px 62px; border-radius: 18px; }
  .banner .banner-title { font-size: 22px; }

  /* Progress circles: shrink to fit 3 across */
  .ban2 > .feature-card { width: 94%; box-sizing: border-box; overflow: hidden; }
  .progress-row { gap: 6px; }
  .progress-circle-container { width: 72px !important; height: 72px !important; }
  .progress-circle            { width: 72px !important; height: 72px !important; }
  .progress-percentage        { font-size: 14px; }
  .progress-label             { font-size: 9px; }
  .progress-name-text         { font-size: 12px; padding: 3px 8px; }
  .progress-name-bar          { margin-top: 6px; }

  /* Slide 1 feature cards: title full-width top row, icon + buttons second row */
  .ban2 .feature-cards .feature-card { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 6px 8px; }
  .ban2 .feature-cards .feature-content { display: contents; }
  .ban2 .feature-cards .feature-title   { grid-column: 1 / -1; grid-row: 1; text-align: center; font-size: 15px; margin-bottom: 0; }
  .ban2 .feature-cards .feature-icon    { grid-column: 1; grid-row: 2; width: 36px; height: 36px; align-self: center; }
  .ban2 .feature-cards .feature-buttons { grid-column: 2; grid-row: 2; display: flex; gap: 6px; flex-wrap: nowrap; align-items: center; align-self: center; }
  .banner .btn { font-size: 11px; padding: 6px 8px; gap: 5px; }
  .banner .btn svg { width: 12px; height: 12px; flex-shrink: 0; }
  .btn-unlock-word { display: none; }

  /* book-img2: stack columns */
  .book-img2 { flex-direction: column; }
  .book-checklist {
    flex: none;
    width: 100%;
    border-right: none;
    border-bottom: 1px solid rgba(180,210,240,0.5);
    padding: 12px 14px;
  }

  /* Banner 3 & 4 feature rows: title on top, icon + desc below */
  .feature-row { display: grid; grid-template-columns: auto 1fr; gap: 8px 10px; }
  .row-content { display: contents; }
  .row-title { grid-column: 1 / -1; grid-row: 1; text-align: center; margin-bottom: 0; }
  .row-icon { grid-column: 1; grid-row: 2; width: 42px; height: 42px; padding: 8px; align-self: center; }
  .row-desc { grid-column: 2; grid-row: 2; align-self: center; }

  /* Banner 4 subtitle */
  .banner-subtitle { font-size: 15px; }

  /* Banner 5 divider */
  .divider-line { display: none; }
  .divider-row { justify-content: center; }
  .divider-text { white-space: normal; text-align: center; }

  /* Banner 5 price */
  .price-card { display: grid; grid-template-columns: auto 1fr; gap: 8px 12px; }
  .price-content { display: contents; }
  .price-amount-row { grid-column: 1 / -1; grid-row: 1; display: flex; align-items: center; gap: 8px; justify-content: center; }
  .price-icon { grid-column: 1; grid-row: 2; width: 36px; height: 36px; padding: 6px; align-self: center; }
  .price-desc { grid-column: 2; grid-row: 2; align-self: center; }
  .price-amount { font-size: 21px; }

  /* Banner 5 free section header: stack and center */
  .free-section-header { flex-direction: column; align-items: center; text-align: center; }
  .free-badge { font-size: 0; }
  .free-badge::after { content: 'FREE TO TRY'; font-size: 12px; }

  /* Banner 5 unlock rows: title above, icon + desc below */
  .unlock-row { display: grid; grid-template-columns: auto 1fr; gap: 10px 10px; }
  .unlock-content { display: contents; }
  .unlock-title { grid-column: 1 / -1; grid-row: 1; text-align: center; margin-bottom: 0; }
  .unlock-icon { grid-column: 1; grid-row: 2; width: 32px; height: 32px; padding: 6px; }
  .unlock-desc { grid-column: 2; grid-row: 2; align-self: center; }
}

@media (max-width: 420px) {
  .banner { padding: 20px 14px 62px; }
  .banner .banner-title { font-size: 19px; }
  .progress-circle-container { width: 62px !important; height: 62px !important; }
  .progress-circle            { width: 62px !important; height: 62px !important; }
  .progress-percentage        { font-size: 12px; }
  .progress-label             { font-size: 8px; }
  .row-title    { font-size: 15px; }
  .row-desc     { font-size: 13px; }
  .unlock-title { font-size: 14px; }
}
