/* ==================================================================
   Homepage feature sections: Growth Studio, Breakouts, Community Watch,
   Media Kit showcases (feature-split layout) + their card grids.
   Rebuilt onto the Zero-Thinking design system alongside home.css.
   Section backgrounds + the platform pillars live in home.css.
   ================================================================== */

/* ------------------------------------------------------------------
   Split layout: text beside a real product screenshot
   ------------------------------------------------------------------ */
.feature-split {
  display: flex;
  align-items: center;
  gap: var(--space-12);
  max-width: 1120px;
  margin: 0 auto;
}
.feature-split__text { flex: 1 1 44%; min-width: 0; }
.feature-split__media { flex: 1 1 52%; min-width: 0; }

/* Left-align the shared section-header pattern inside a split */
.feature-split__text .section-header {
  text-align: left;
  margin-bottom: var(--space-6);
  max-width: none;
}

.feature-shot {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-gray-200);
  box-shadow: var(--shadow-lg);
}

.feature-cta { margin-top: var(--space-6); }

/* "What's inside" chips (used in the Media Kit split) */
.feature-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: var(--space-5); }
.feature-chip {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: var(--font-size-sm); font-weight: 600; color: var(--color-gray-700);
  background: var(--color-white); border: 1px solid var(--color-gray-200);
  padding: 7px 13px; border-radius: var(--radius-full); box-shadow: var(--shadow-sm);
}
.feature-chip i { color: var(--color-primary); font-size: 0.85rem; }
@media (max-width: 900px) { .feature-chips { justify-content: center; } }

@media (max-width: 900px) {
  .feature-split { flex-direction: column; gap: var(--space-8); }
  .feature-split--media-first { flex-direction: column; }
  .feature-split__text .section-header { text-align: center; }
  .feature-cta { text-align: center; }
  .feature-cta .btn-youtube,
  .feature-cta .button { width: 100%; }
}
/* Desktop-only: media on the left for visual rhythm */
@media (min-width: 901px) {
  .feature-split--media-first .feature-split__media { order: -1; }
}

/* ------------------------------------------------------------------
   Growth Studio mini feature cards (2x2)
   ------------------------------------------------------------------ */
.studio-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}
.studio-mini-card {
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: var(--space-5);
  transition: transform 150ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 150ms cubic-bezier(0.22, 1, 0.36, 1);
}
.studio-mini-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.studio-mini-card__icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: linear-gradient(140deg, var(--color-primary), var(--color-primary-light));
  color: var(--color-white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  margin-bottom: var(--space-3);
  box-shadow: 0 6px 16px rgba(79, 70, 229, 0.25);
}
.studio-mini-card__title { font-family: var(--font-display); font-size: var(--font-size-base); font-weight: 700; color: var(--color-gray-900); margin: 0 0 var(--space-1); }
.studio-mini-card__text { font-size: var(--font-size-sm); color: var(--color-gray-600); line-height: 1.5; margin: 0; }
@media (max-width: 480px) { .studio-mini-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------
   Community Watch cards
   ------------------------------------------------------------------ */
.cw-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-6);
  max-width: 860px;
  margin: var(--space-8) auto 0;
}
.cw-card {
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  padding: var(--space-8);
  transition: transform 150ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 150ms cubic-bezier(0.22, 1, 0.36, 1);
}
.cw-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.cw-card__icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: linear-gradient(140deg, var(--color-primary), var(--color-primary-light));
  color: var(--color-white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  margin-bottom: var(--space-4);
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.25);
}
.cw-card__icon--credits { background: linear-gradient(140deg, #f5c451, #e0a92e); box-shadow: 0 8px 20px rgba(224, 169, 46, 0.3); }
.cw-card__title { font-family: var(--font-display); font-size: var(--font-size-lg); font-weight: 700; color: var(--color-gray-900); margin: 0 0 var(--space-2); }
.cw-card__text { font-size: var(--font-size-base); color: var(--color-gray-600); line-height: 1.6; margin: 0; }
.cw-cta { text-align: center; margin-top: var(--space-8); }
@media (max-width: 767px) {
  .cw-card { padding: var(--space-6); }
  .cw-cta .btn-youtube, .cw-cta .button { width: 100%; }
}
