/*
 * seo-checklists.css
 * Scoped to .is-checklists-page
 * Interactive SEO Checklists — Niraj Raut
 */

/* ── Shared container ───────────────────────────── */
.is-checklists-page .cl-wrap {
  max-width: min(1100px, 100% - 48px);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
.is-checklists-page .cl-hero {
  background: var(--ink);
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.admin-bar.is-checklists-page .cl-hero { padding-top: 172px; }

.is-checklists-page .cl-hero-glow {
  position: absolute;
  top: -160px; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240,98,12,0.10) 0%, transparent 65%);
  pointer-events: none;
}

.is-checklists-page .cl-hero-inner {
  position: relative; z-index: 1;
  max-width: 760px; margin: 0 auto;
}

.is-checklists-page .cl-h1 {
  font-family: var(--ff-head);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 900; line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 24px 0 20px;
}
.is-checklists-page .cl-h1-dim   { display:block; color: rgba(255,255,255,0.38); font-weight:300; font-style:italic; }
.is-checklists-page .cl-h1-white { display:block; color: #fff; }
.is-checklists-page .cl-h1-fire  { display:block; color: var(--fire); }

.is-checklists-page .cl-hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.58);
  line-height: 1.75;
  max-width: 620px; margin: 0 auto 40px;
}

.is-checklists-page .cl-hero-stats {
  display: inline-flex; align-items: center; gap: 32px;
  flex-wrap: wrap; justify-content: center;
}
.is-checklists-page .cl-stat {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.is-checklists-page .cl-stat strong {
  font-family: var(--ff-head);
  font-size: 1.8rem; font-weight: 900; color: var(--fire);
}
.is-checklists-page .cl-stat span {
  font-size: .72rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .09em;
  color: rgba(255,255,255,0.38);
}
.is-checklists-page .cl-stat-sep {
  width: 1px; height: 36px;
  background: rgba(255,255,255,0.1); flex-shrink: 0;
}

/* ═══════════════════════════════════════════
   CHECKLIST NAV
═══════════════════════════════════════════ */
.is-checklists-page .cl-nav-wrap {
  background: var(--ink2);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: sticky; top: 0; z-index: 100;
  padding: 0;
}
.is-checklists-page .cl-nav {
  display: flex; align-items: stretch;
  gap: 0; overflow-x: auto;
  scrollbar-width: none;
}
.is-checklists-page .cl-nav::-webkit-scrollbar { display: none; }
.is-checklists-page .cl-nav-item {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 14px 20px;
  font-size: .8rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .07em;
  color: rgba(255,255,255,0.5);
  text-decoration: none; white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.is-checklists-page .cl-nav-item:hover {
  color: var(--fire); border-bottom-color: var(--fire);
}
.is-checklists-page .cl-nav-item svg { opacity: .7; flex-shrink: 0; }

/* ═══════════════════════════════════════════
   CHECKLIST SECTIONS
═══════════════════════════════════════════ */
.is-checklists-page .cl-lists-wrap {
  background: var(--mist);
  padding: 80px 0 120px;
}

.is-checklists-page .cl-list {
  background: #fff;
  border: 1px solid var(--line2);
  border-radius: 20px;
  margin-bottom: 40px;
  overflow: hidden;
  scroll-margin-top: 60px; /* account for sticky nav */
}

/* List header */
.is-checklists-page .cl-list-header {
  background: var(--ink);
  padding: 40px 40px 32px;
  position: relative;
  overflow: hidden;
}
.is-checklists-page .cl-list-header::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 50%, rgba(240,98,12,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.is-checklists-page .cl-list-meta {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 16px;
}
.is-checklists-page .cl-list-icon {
  font-size: 1.6rem; line-height: 1;
}
.is-checklists-page .cl-list-badge {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(240,98,12,0.15);
  border: 1px solid rgba(240,98,12,0.3);
  border-radius: 30px;
  font-size: .68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--fire2);
}
.is-checklists-page .cl-list-title {
  font-family: var(--ff-head);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 900; color: #fff;
  margin: 0 0 10px; letter-spacing: -0.02em;
}
.is-checklists-page .cl-list-intro {
  font-size: .95rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7; margin: 0 0 24px;
  max-width: 640px;
}

/* Progress bar */
.is-checklists-page .cl-progress-wrap {
  display: flex; align-items: center; gap: 14px;
  flex-wrap: wrap;
}
.is-checklists-page .cl-progress-bar {
  flex: 1; min-width: 160px; height: 6px;
  background: rgba(255,255,255,0.1);
  border-radius: 3px; overflow: hidden;
}
.is-checklists-page .cl-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--fire), var(--fire2));
  border-radius: 3px;
  transition: width .4s cubic-bezier(.4,0,.2,1);
}
.is-checklists-page .cl-progress-label {
  font-size: .75rem; font-weight: 600;
  color: rgba(255,255,255,0.45);
  white-space: nowrap;
}

/* List body sections */
.is-checklists-page .cl-sections {
  padding: 0 40px 8px;
}
.is-checklists-page .cl-section {
  padding: 28px 0;
  border-bottom: 1px solid var(--line2);
}
.is-checklists-page .cl-section:last-child { border-bottom: none; }

.is-checklists-page .cl-section-title {
  font-family: var(--ff-head);
  font-size: .75rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--fire); margin: 0 0 16px;
}

/* Task list */
.is-checklists-page .cl-tasks {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 8px;
}
.is-checklists-page .cl-task {
  transition: opacity .2s;
}
.is-checklists-page .cl-task--done .cl-task-text {
  text-decoration: line-through;
  color: rgba(13,17,31,0.35);
}
.is-checklists-page .cl-task-label {
  display: flex; align-items: flex-start; gap: 12px;
  cursor: pointer; padding: 10px 12px;
  border-radius: 10px;
  transition: background .15s;
}
.is-checklists-page .cl-task-label:hover {
  background: rgba(240,98,12,0.04);
}

/* Hide native checkbox */
.is-checklists-page .cl-checkbox {
  position: absolute; opacity: 0; width: 0; height: 0;
}
/* Custom checkmark box */
.is-checklists-page .cl-checkmark {
  width: 20px; height: 20px; flex-shrink: 0;
  border: 2px solid var(--line2);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s;
  margin-top: 1px;
  color: transparent;
}
.is-checklists-page .cl-checkbox:checked ~ .cl-checkmark {
  background: var(--fire);
  border-color: var(--fire);
  color: #fff;
}
.is-checklists-page .cl-checkbox:focus-visible ~ .cl-checkmark {
  outline: 2px solid var(--fire);
  outline-offset: 2px;
}
.is-checklists-page .cl-task-text {
  font-size: .93rem; line-height: 1.55;
  color: var(--ink);
  transition: color .2s, text-decoration .2s;
}

/* List footer */
.is-checklists-page .cl-list-footer {
  padding: 16px 40px 24px;
  display: flex; justify-content: flex-end;
}
.is-checklists-page .cl-reset-btn {
  background: transparent;
  border: 1px solid var(--line2);
  border-radius: 8px;
  padding: 8px 16px;
  font-size: .78rem; font-weight: 600;
  color: rgba(13,17,31,0.45);
  cursor: pointer;
  transition: all .2s;
}
.is-checklists-page .cl-reset-btn:hover {
  border-color: var(--fire);
  color: var(--fire);
}

/* ═══════════════════════════════════════════
   CTA
═══════════════════════════════════════════ */
.is-checklists-page .cl-cta {
  background: var(--ink2);
  padding: 100px 0;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.is-checklists-page .cl-cta-inner {
  max-width: 600px; margin: 0 auto;
}
.is-checklists-page .cl-cta-h {
  font-family: var(--ff-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900; color: #fff;
  margin: 16px 0 16px; letter-spacing: -0.025em;
}
.is-checklists-page .cl-cta-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7; margin: 0 0 36px;
}
.is-checklists-page .cl-cta-sub em { color: var(--fire2); font-style: normal; }
.is-checklists-page .cl-cta-actions {
  display: flex; gap: 14px; flex-wrap: wrap; justify-content: center;
}

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 768px) {
  .is-checklists-page .cl-hero  { padding: 110px 0 60px; }
  .is-checklists-page .cl-list-header,
  .is-checklists-page .cl-sections,
  .is-checklists-page .cl-list-footer { padding-left: 24px; padding-right: 24px; }
  .is-checklists-page .cl-nav-item { padding: 12px 14px; font-size: .72rem; }
}
@media (max-width: 480px) {
  .is-checklists-page .cl-hero-stats { gap: 20px; }
  .is-checklists-page .cl-stat-sep { display: none; }
  .is-checklists-page .cl-list-header { padding: 28px 20px 24px; }
  .is-checklists-page .cl-sections { padding: 0 20px 8px; }
  .is-checklists-page .cl-list-footer { padding: 12px 20px 20px; }
  .is-checklists-page .cl-cta { padding: 72px 0; }
}
