/* ============================================================
   Quick Lesson Planner — mockup layout: hero with chips + live
   preview, steps sidebar, option cards, explicit Next button,
   result card, Readiness Check banner. Calm dark premium style.
   ============================================================ */

.qlp-main { display: flex; flex-direction: column; gap: 22px; }

/* ---------------- Hero ---------------- */
.qlp-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  gap: 30px;
  align-items: center;
  padding: clamp(22px, 4vw, 42px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: linear-gradient(180deg, rgba(9, 14, 25, 0.96), rgba(6, 10, 18, 0.96));
}
.qlp-kicker {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #00d4ff;
  margin-bottom: 12px;
}
.qlp-hero h1 {
  margin: 0 0 10px;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.9rem, 3.8vw, 2.9rem);
  line-height: 1.05;
  color: #fff;
  letter-spacing: -0.02em;
}
.qlp-sub {
  margin: 0 0 16px;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  font-weight: 500;
  line-height: 1.5;
  color: rgba(226, 232, 240, 0.9);
  max-width: 52ch;
}
.qlp-lede {
  margin: 0 0 18px;
  color: rgba(226, 232, 240, 0.8);
  line-height: 1.65;
  max-width: 56ch;
}
.qlp-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.qlp-chip-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.84rem;
  font-weight: 600;
  color: rgba(226, 232, 240, 0.85);
}
.qlp-chip-pill svg { color: #00d4ff; flex: 0 0 auto; }

.qlp-hero-media {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0, 212, 255, 0.22);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}
.qlp-hero-media video,
.qlp-hero-media img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------------- App: steps + panel ---------------- */
.qlp-app {
  display: grid;
  grid-template-columns: 265px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}
.qlp-steps {
  padding: 20px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: linear-gradient(180deg, rgba(9, 14, 25, 0.96), rgba(6, 10, 18, 0.96));
}
.qlp-step-label {
  margin: 0 0 10px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
}
.qlp-progress {
  height: 6px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 18px;
}
.qlp-progress-bar {
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #00d4ff, #72f6ff);
  transition: width 0.25s ease;
}
.qlp-steps-list { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 4px; }
.qlp-steps-list button {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 8px 10px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: rgba(196, 204, 218, 0.55);
  font-size: 0.9rem;
  font-weight: 600;
  text-align: left;
  cursor: default;
}
.qlp-steps-list .qlp-step-num {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 800;
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  color: rgba(196, 204, 218, 0.6);
  background: transparent;
}
.qlp-steps-list li.is-active button { color: #fff; background: rgba(0, 212, 255, 0.07); }
.qlp-steps-list li.is-active .qlp-step-num {
  border-color: transparent;
  background: linear-gradient(135deg, #00d4ff, #4de3ff);
  color: #0b1220;
}
.qlp-steps-list li.is-done button { color: rgba(226, 232, 240, 0.75); cursor: pointer; }
.qlp-steps-list li.is-done button:hover { background: rgba(255, 255, 255, 0.05); color: #fff; }
.qlp-steps-list li.is-done .qlp-step-num {
  border-color: rgba(0, 212, 255, 0.55);
  color: #00d4ff;
}
.qlp-privacy {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 0;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.8rem;
  line-height: 1.5;
  color: rgba(196, 204, 218, 0.6);
}
.qlp-privacy svg { flex: 0 0 auto; margin-top: 1px; color: #00d4ff; }

.qlp-panel {
  padding: clamp(20px, 3vw, 30px);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: linear-gradient(180deg, rgba(9, 14, 25, 0.96), rgba(6, 10, 18, 0.96));
}
.qlp-q-title {
  margin: 0 0 6px;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.2rem, 2.3vw, 1.55rem);
  line-height: 1.25;
  color: #fff;
}
.qlp-q-hint { margin: 0 0 18px; font-size: 0.92rem; color: rgba(196, 204, 218, 0.6); }

.qlp-options {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}
.qlp-option {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 16px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(226, 232, 240, 0.88);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.qlp-option:hover, .qlp-option:focus-visible {
  border-color: rgba(0, 212, 255, 0.55);
  background: rgba(0, 212, 255, 0.06);
  outline: none;
}
.qlp-option .qlp-opt-icon { color: #4fdcff; }
.qlp-option strong { font-size: 0.97rem; font-weight: 700; color: #fff; line-height: 1.3; }
.qlp-option span.qlp-opt-sub { font-size: 0.82rem; line-height: 1.4; color: rgba(196, 204, 218, 0.6); }
.qlp-option[aria-pressed="true"] {
  border-color: #00d4ff;
  background: rgba(0, 212, 255, 0.10);
}
.qlp-option[aria-pressed="true"]::after {
  content: "";
  position: absolute;
  top: 10px;
  right: 10px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00d4ff, #4de3ff) center / 12px no-repeat;
  background-image: linear-gradient(135deg, #00d4ff, #4de3ff), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b1220' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-blend-mode: normal;
}
.qlp-option[aria-pressed="true"]::before {
  content: "";
  position: absolute;
  top: 14px;
  right: 13.5px;
  width: 13px;
  height: 13px;
  z-index: 1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b1220' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.qlp-panel-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}
.qlp-btn-ghost {
  padding: 11px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: transparent;
  color: rgba(226, 232, 240, 0.8);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}
.qlp-btn-ghost:hover { border-color: rgba(0, 212, 255, 0.5); color: #fff; }
.qlp-btn-next {
  padding: 13px 24px;
  border-radius: 999px;
  border: 0;
  background: linear-gradient(135deg, #00d4ff, #4de3ff);
  color: #0b1220;
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
}
.qlp-btn-next:hover { filter: brightness(1.08); }
.qlp-btn-next[disabled] {
  opacity: 0.35;
  cursor: not-allowed;
  filter: none;
}

/* ---------------- Result ---------------- */
.qlp-result-head {
  margin: 0 0 4px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #d4af5b;
}
.qlp-result h2 {
  margin: 0 0 6px;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  color: #fff;
}
.qlp-estimate {
  display: inline-block;
  margin: 4px 0 16px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(0, 212, 255, 0.35);
  background: rgba(0, 212, 255, 0.08);
  color: #9beaff;
  font-size: 0.9rem;
  font-weight: 600;
}
.qlp-result-block { margin: 0 0 14px; }
.qlp-result-block h3 {
  margin: 0 0 5px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(196, 204, 218, 0.6);
}
.qlp-result-block p { margin: 0; color: rgba(226, 232, 240, 0.85); line-height: 1.65; max-width: 62ch; }
.qlp-result-block a { color: #00d4ff; text-decoration: none; }
.qlp-result-block a:hover { text-decoration: underline; }
.qlp-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 8px; }
.qlp-cta-primary {
  display: inline-block;
  padding: 13px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, #00d4ff, #4de3ff);
  color: #0b1220;
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
}
.qlp-cta-primary:hover { filter: brightness(1.08); }
.qlp-cta-secondary {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(226, 232, 240, 0.85);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
}
.qlp-cta-secondary:hover { border-color: rgba(0, 212, 255, 0.5); color: #fff; }
.qlp-disclaimer { margin: 14px 0 0; font-size: 0.8rem; color: rgba(196, 204, 218, 0.5); line-height: 1.6; }
.qlp-disclaimer a { color: #00d4ff; text-decoration: none; }

/* ---------------- Readiness banner ---------------- */
.qlp-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: linear-gradient(180deg, rgba(9, 14, 25, 0.96), rgba(6, 10, 18, 0.96));
}
.qlp-banner-copy { display: flex; align-items: center; gap: 14px; }
.qlp-banner-copy svg { flex: 0 0 auto; color: #00d4ff; }
.qlp-banner-copy strong { display: block; color: #fff; font-size: 1rem; margin-bottom: 2px; }
.qlp-banner-copy p { margin: 0; font-size: 0.88rem; color: rgba(196, 204, 218, 0.65); }
.qlp-banner-copy a { color: #00d4ff; text-decoration: none; }
.qlp-banner-btn {
  flex: 0 0 auto;
  padding: 12px 20px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  white-space: nowrap;
}
.qlp-banner-btn:hover { border-color: rgba(0, 212, 255, 0.55); }

/* ---------------- Responsive ---------------- */
@media (max-width: 1000px) {
  .qlp-app { grid-template-columns: 1fr; }
  .qlp-steps-list { display: none; }
  .qlp-steps { padding: 16px; }
  .qlp-privacy { margin-top: 2px; }
}
@media (max-width: 860px) {
  .qlp-hero { grid-template-columns: 1fr; }
  .qlp-hero-media { order: -1; }
  .qlp-options { grid-template-columns: 1fr; }
  .qlp-banner { flex-direction: column; align-items: flex-start; }
}

/* Phone hero compaction - 20260706
   Tighten the QLP hero on phones so the intro + animated preview fit the first
   screen instead of running well past the fold. */
@media (max-width: 480px) {
  .qlp-hero {
    gap: 14px;
    padding: 16px;
  }

  .qlp-hero h1 {
    margin-bottom: 8px;
    font-size: clamp(1.7rem, 8vw, 2.2rem);
  }

  .qlp-sub {
    margin-bottom: 12px;
    font-size: 1rem;
    line-height: 1.45;
  }

  .qlp-chips {
    gap: 8px;
  }

  .qlp-chip-pill {
    padding: 7px 11px;
    font-size: 0.78rem;
  }
}
