/* CardTemplate landing — preview styles
   Tailwind via CDN handles the bulk; this file holds component-level styles
   that are easier to express in classic CSS than @apply soup. */

html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; }

/* ---------- before/after preview ---------- */
.ba-card {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid #e2e8f0;
}
.ba-tag {
  position: absolute;
  top: .75rem;
  left: .75rem;
  z-index: 2;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
  padding: .25rem .55rem;
  border-radius: .375rem;
}
.ba-photo {
  aspect-ratio: 1 / 1;
  width: 100%;
}

/* ---------- step cards ---------- */
.step-card {
  position: relative;
  padding: 1.75rem 1.5rem 1.5rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1.25rem;
  box-shadow: 0 1px 2px rgba(15,23,42,.04), 0 4px 12px rgba(15,23,42,.06);
  transition: transform .2s ease, box-shadow .2s ease;
}
.step-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 24px rgba(15,23,42,.10);
}
.step-num {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-size: 14px;
  font-weight: 800;
  color: #cbd5e1;
  letter-spacing: .04em;
}
.step-icon {
  width: 48px;
  height: 48px;
  border-radius: .875rem;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
}
.step-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: .5rem;
}
.step-card p {
  font-size: .875rem;
  color: #475569;
  line-height: 1.55;
}

/* ---------- mode cards ---------- */
.mode-card {
  position: relative;
  padding: 2rem 1.75rem 1.75rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1.5rem;
  box-shadow: 0 1px 2px rgba(15,23,42,.04), 0 4px 12px rgba(15,23,42,.06);
  transition: transform .2s ease, box-shadow .2s ease;
}
.mode-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(15,23,42,.10);
}
.mode-card--featured {
  border-color: transparent;
  background: linear-gradient(#fff, #fff) padding-box,
              linear-gradient(135deg, #6366f1, #ec4899) border-box;
  border: 2px solid transparent;
}
.mode-icon {
  width: 52px;
  height: 52px;
  border-radius: 1rem;
  display: grid;
  place-items: center;
  color: #fff;
  margin-bottom: 1.25rem;
  box-shadow: 0 8px 20px -8px rgba(99,102,241,.5);
}
.mode-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: .5rem;
}
.mode-card p {
  font-size: .9375rem;
  color: #475569;
  line-height: 1.55;
  margin-bottom: 1.25rem;
}
.mode-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #475569;
  background: #f1f5f9;
  padding: .375rem .75rem;
  border-radius: 9999px;
}
.mode-tag--featured {
  background: linear-gradient(135deg, #6366f1, #ec4899);
  color: #fff;
}

/* ---------- audience cards ---------- */
.audience-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1.25rem;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 1px 2px rgba(15,23,42,.04), 0 4px 12px rgba(15,23,42,.06);
  transition: transform .2s ease, box-shadow .2s ease;
}
.audience-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15,23,42,.10);
}
.audience-icon {
  width: 44px;
  height: 44px;
  border-radius: .875rem;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
}
.audience-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: .5rem;
}
.audience-card p {
  font-size: .875rem;
  color: #475569;
  line-height: 1.55;
}

/* ---------- example cards ---------- */
.example-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1.5rem;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.example-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(15,23,42,.10);
}
.example-image {
  aspect-ratio: 4 / 3;
  width: 100%;
  display: block;
  object-fit: cover;
}
.example-meta {
  padding: 1.25rem 1.25rem 1.5rem;
}
.example-meta h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: .75rem;
}
.example-stats {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
}
.example-stats span {
  font-size: 12px;
  font-weight: 600;
  color: #475569;
  background: #f1f5f9;
  padding: .375rem .625rem;
  border-radius: .5rem;
}
.example-stats b {
  color: #4f46e5;
  font-weight: 800;
  margin-right: 2px;
}

/* ---------- FAQ accordion ---------- */
.faq-item {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  overflow: hidden;
  transition: box-shadow .2s ease;
}
.faq-item[open] {
  box-shadow: 0 4px 16px rgba(15,23,42,.08);
  border-color: #c7d2fe;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.125rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-weight: 600;
  color: #0f172a;
  font-size: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #f1f5f9 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat center;
  background-size: 12px;
  transition: transform .2s ease, background-color .2s ease;
}
.faq-item[open] summary::after {
  background-color: #e0e7ff;
  transform: rotate(180deg);
}
.faq-item div {
  padding: 0 1.5rem 1.25rem;
  color: #475569;
  font-size: .9375rem;
  line-height: 1.6;
}
