/* FUTKAR — Interactive Checklist Page */

.print-only { display: none; }

/* Progress ring */
.progress-ring { transform: rotate(-90deg); }
.progress-ring-circle { transition: stroke-dashoffset 0.5s ease; }

/* Checklist item */
.check-item {
  transition: background 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.check-item:hover {
  border-color: rgba(37, 99, 235, 0.3);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.06);
}
.check-item.checked {
  background: rgba(16, 185, 129, 0.06);
  border-color: rgba(16, 185, 129, 0.25);
}
.check-item.checked .check-label {
  text-decoration: line-through;
  color: #64748b;
}
.dark .check-item.checked .check-label { color: #94a3b8; }
.dark .check-item.checked { background: rgba(16, 185, 129, 0.1); }
.dark .check-item:hover { border-color: rgba(96, 165, 250, 0.3); }
.dark .check-item { background: transparent; }

/* Custom checkbox */
.check-box {
  appearance: none;
  width: 1.375rem;
  height: 1.375rem;
  border: 2px solid #cbd5e1;
  border-radius: 0.375rem;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s;
  position: relative;
  background: #fff;
}
.dark .check-box {
  border-color: #64748b;
  background: #1e293b;
}
.check-box:checked {
  background: #10b981;
  border-color: #10b981;
  transform: scale(1.05);
}
.check-box:checked::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 2px;
  width: 5px;
  height: 9px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.check-box:focus-visible {
  outline: 2px solid #F27A21;
  outline-offset: 2px;
}

/* Priority badges */
.badge-critical { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.badge-recommended { background: #FFF5EB; color: #E06A12; border: 1px solid #F5C9A8; }
.badge-optional { background: #f8fafc; color: #475569; border: 1px solid #e2e8f0; }
.dark .badge-critical { background: rgba(185,28,28,0.15); color: #fca5a5; border-color: rgba(185,28,28,0.3); }
.dark .badge-recommended { background: rgba(29,78,216,0.15); color: #93c5fd; border-color: rgba(29,78,216,0.3); }
.dark .badge-optional { background: rgba(71,85,105,0.2); color: #94a3b8; border-color: #334155; }

/* Sidebar nav */
.sidebar-link {
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.sidebar-link.active {
  background: linear-gradient(90deg, rgba(37,99,235,0.1), transparent);
  border-left-color: #F27A21;
  color: #F27A21;
  font-weight: 600;
}
.dark .sidebar-link { color: #94a3b8; }
.dark .sidebar-link:hover { color: #93c5fd; }
.dark .sidebar-link.active {
  color: #60a5fa;
  background: linear-gradient(90deg, rgba(37,99,235,0.18), transparent);
  border-left-color: #60a5fa;
}

/* Tip expand */
.tip-panel { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.tip-panel.open { max-height: 200px; }
.dark .tip-panel p { color: #cbd5e1; }

/* Celebration overlay */
#celebration-modal { opacity: 0; pointer-events: none; transition: opacity 0.4s; }
#celebration-modal.show { opacity: 1; pointer-events: auto; }
#celebration-modal > div { transition: transform 0.3s ease; }
#celebration-modal.show > div { transform: scale(1); }

/* Download cards */
.download-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.download-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px -8px rgba(37, 99, 235, 0.15);
}
.download-card--featured {
  border-color: #93c5fd;
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.1);
}
.dark .download-card--featured {
  border-color: #3b82f6;
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.25);
}
.dark .download-card:hover {
  box-shadow: 0 16px 32px -8px rgba(0, 0, 0, 0.4);
}

/* Modal dismiss */
.btn-modal-dismiss {
  color: #64748b;
}
.btn-modal-dismiss:hover {
  color: #334155;
}
.dark .btn-modal-dismiss { color: #94a3b8; }
.dark .btn-modal-dismiss:hover { color: #e2e8f0; }

/* Sticky progress bar */
#progress-bar-fill { transition: width 0.4s ease; }
#sticky-progress { transition: box-shadow 0.2s; }
#sticky-progress.is-stuck { box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06); }
.dark #sticky-progress.is-stuck { box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25); }

/* Benefit cards — equal height in grid */
.benefit-grid {
  grid-auto-rows: 1fr;
}
.benefit-grid > li {
  height: 100%;
  min-height: 4.25rem;
}

/* Audience grid — uniform pill sizing */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 640px) {
  .audience-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .audience-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
.audience-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.625rem 0.875rem;
  border-radius: 0.75rem;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.35;
  text-align: center;
  background: #FFF5EB;
  color: #E06A12;
  border: 1px solid #F5C9A8;
}
.dark .audience-chip {
  background: rgba(29, 78, 216, 0.12);
  color: #93c5fd;
  border-color: rgba(59, 130, 246, 0.35);
}
.audience-chip--wide {
  grid-column: 1 / -1;
}
@media (min-width: 640px) {
  .audience-chip--wide { grid-column: span 3; }
}
@media (min-width: 1024px) {
  .audience-chip--wide { grid-column: span 5; }
}

/* Launch timeline — equal-height connected steps */
.launch-timeline {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 1024px) {
  .launch-timeline {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    align-items: stretch;
  }
}
.launch-timeline-step {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.75rem;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  position: relative;
}
.dark .launch-timeline-step {
  background: #1e293b;
  border-color: #334155;
}
@media (min-width: 1024px) {
  .launch-timeline-step {
    border-radius: 0;
    border-right: none;
  }
  .launch-timeline-step:first-child {
    border-radius: 1rem 0 0 1rem;
  }
  .launch-timeline-step:last-child {
    border-radius: 0 1rem 1rem 0;
    border-right: 1px solid #e2e8f0;
  }
  .dark .launch-timeline-step:last-child {
    border-right-color: #334155;
  }
  .launch-timeline-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 2.25rem;
    right: -0.5rem;
    width: 1rem;
    height: 2px;
    background: linear-gradient(90deg, #F27A21, #C45A10);
    z-index: 1;
  }
}
.launch-step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.launch-timeline-list {
  margin-top: auto;
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.launch-timeline-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.4;
  color: #475569;
}
.dark .launch-timeline-list li { color: #cbd5e1; }
.launch-timeline-list li::before {
  content: '';
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 9999px;
  background: #3b82f6;
  margin-top: 0.45rem;
  flex-shrink: 0;
}
.dark .launch-timeline-list li::before { background: #60a5fa; }

/* Support workflow — natural-height phase cards */
.support-workflow {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 1024px) {
  .support-workflow {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    align-items: start;
  }
}
.support-workflow-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  position: relative;
}
.dark .support-workflow-card {
  background: #1e293b;
  border-color: #334155;
}
@media (min-width: 1024px) {
  .support-workflow-card:not(:last-child)::after {
    content: '→';
    position: absolute;
    top: 2rem;
    right: -1.125rem;
    width: 1.5rem;
    text-align: center;
    font-size: 1.125rem;
    font-weight: 700;
    color: #94a3b8;
    z-index: 2;
    pointer-events: none;
  }
  .dark .support-workflow-card:not(:last-child)::after {
    color: #64748b;
  }
}
.support-workflow-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.support-workflow-intro {
  font-size: 0.875rem;
  line-height: 1.5;
  color: #64748b;
  margin: -0.25rem 0 0.25rem;
}
.dark .support-workflow-intro { color: #94a3b8; }
.support-workflow-groups {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}
.support-workflow-group {
  padding: 0.875rem 1rem;
  border-radius: 0.75rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}
.dark .support-workflow-group {
  background: #0f172a;
  border-color: #334155;
}
.support-workflow-group-title {
  font-family: 'Plus Jakarta Sans', Inter, system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 0.5rem;
}
.dark .support-workflow-group-title { color: #f1f5f9; }
.support-workflow-list {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}
.support-workflow-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: #475569;
}
.dark .support-workflow-list li { color: #cbd5e1; }
.support-workflow-list li::before {
  content: '';
  width: 0.3125rem;
  height: 0.3125rem;
  border-radius: 9999px;
  background: #3b82f6;
  margin-top: 0.4rem;
  flex-shrink: 0;
}
.dark .support-workflow-list li::before { background: #60a5fa; }

/* Photo angle gallery */
.photo-angle-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .photo-angle-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.photo-angle-card {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem;
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
  background: #fff;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.dark .photo-angle-card {
  background: #1e293b;
  border-color: #334155;
}
.photo-angle-card:hover {
  transform: translateY(-2px);
  border-color: #93c5fd;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.12);
}
.dark .photo-angle-card:hover { border-color: #3b82f6; }

/* Before / after comparison */
.compare-slider {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
  aspect-ratio: 16 / 10;
  user-select: none;
  touch-action: none;
}
.dark .compare-slider { border-color: #334155; }
.compare-panel {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.compare-panel--before {
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  z-index: 1;
}
.dark .compare-panel--before {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}
.compare-panel--after {
  background: linear-gradient(135deg, #FFF5EB 0%, #FFE8D4 100%);
  z-index: 2;
  clip-path: inset(0 50% 0 0);
}
.dark .compare-panel--after {
  background: linear-gradient(135deg, #172554 0%, #1e3a8a 100%);
}
.compare-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: #fff;
  z-index: 3;
  transform: translateX(-50%);
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.25);
  pointer-events: none;
}
.compare-handle::after {
  content: '↔';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background: #fff;
  color: #F27A21;
  font-weight: 700;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.compare-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 4;
  margin: 0;
}
.compare-label {
  position: absolute;
  top: 1rem;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  z-index: 5;
}
.compare-label--before { left: 1rem; background: rgba(15, 23, 42, 0.75); color: #fff; }
.compare-label--after { right: 1rem; background: rgba(37, 99, 235, 0.9); color: #fff; }

/* Download grid — 7 cards */
.download-grid-7 {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 640px) {
  .download-grid-7 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .download-grid-7 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1280px) {
  .download-grid-7 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.dark .progress-ring > circle:first-child { stroke: #334155; }

/* Toast notification */
#download-toast {
  transform: translateY(-120%);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s ease;
  pointer-events: none;
}
#download-toast.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* Sticky mobile CTA */
.mobile-cta-bar {
  transform: translateY(100%);
  transition: transform 0.35s ease;
}
.mobile-cta-bar.visible { transform: translateY(0); }
