/* =========================================================
   components.css — Buttons, badges, section headings, checklists
   ========================================================= */

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.75rem 1.625rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: transform var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-fast) var(--ease-out),
              background-color var(--duration-fast) var(--ease-out);
}

.btn:active {
  transform: scale(0.97);
}

/* Primary */
.btn-primary {
  background-color: var(--blue);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(37,99,235,.35);
}

.btn-primary:hover {
  background-color: var(--blue-dark);
  box-shadow: 0 4px 16px rgba(37,99,235,.45);
  transform: translateY(-1px);
}

/* Ghost (outline) */
.btn-ghost {
  background-color: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}

.btn-ghost:hover {
  background-color: var(--blue-light);
}

/* White (on dark bg) */
.btn-white {
  background-color: var(--white);
  color: var(--blue);
  box-shadow: 0 2px 12px rgba(0,0,0,.15);
}

.btn-white:hover {
  background-color: var(--slate-100);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(0,0,0,.20);
}

/* Sizes */
.btn-sm {
  padding: 0.5rem 1.125rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.0625rem;
}

/* ---------- Badges ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.3125rem 0.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.badge-blue {
  background-color: var(--blue-light);
  color: var(--blue);
}

.badge-slate {
  background-color: var(--slate-100);
  color: var(--slate-600);
}

/* ---------- Section Heading ---------- */
.section-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: var(--space-3);
}

.section-heading {
  margin-bottom: var(--space-4);
}

.section-heading + p {
  max-width: 52ch;
}

.section-heading--center {
  text-align: center;
}

.section-heading--center + p {
  margin-inline: auto;
}

/* ---------- Checklist ---------- */
.checklist {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: 1rem;
  color: var(--slate-800);
  line-height: 1.55;
}

.checklist li::before {
  content: '';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border-radius: 50%;
  background-color: var(--blue);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath d='M1 5l3.5 3.5L11 1' stroke='%23fff' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px 8px;
}

/* ---------- Divider ---------- */
.divider {
  border: none;
  border-top: 1px solid var(--slate-200);
  margin: var(--space-12) 0;
}

/* ---------- Store Badges ---------- */
.store-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.store-badges--center {
  justify-content: center;
}

.store-badge {
  display: inline-flex;
  height: 52px;
  border-radius: 10px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
  flex-shrink: 0;
}

.store-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.store-badge svg {
  display: block;
  height: 52px;
  width: auto;
}

@media (max-width: 480px) {
  .store-badges {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
  .store-badges--center {
    align-items: center;
  }
  .store-badge {
    height: 46px;
    width: 100%;
    max-width: 200px;
    justify-content: center;
  }
  .store-badge svg {
    height: 46px;
  }
  .store-badge img {
    height: 46px;
    width: auto;
  }
}
