/* ============================================================
   INSTAWHEW — PROOF / SOCIAL PROOF SECTIONS
   Logo cloud, stats row, proof bar, logo ticker, timeline, process
   ============================================================ */

/* Logo cloud ----------------------------------------------- */
.iw-logo-cloud {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-3) var(--space-6);
}
.iw-logo-cloud__label {
  width: 100%;
  text-align: center;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: var(--space-2);
}
.iw-logo-cloud__item {
  font-size: var(--text-md);
  font-weight: 800;
  color: var(--text-3);
  letter-spacing: var(--tracking-snug);
  opacity: 0.4;
  transition: opacity var(--dur-fast) var(--ease);
}
.iw-logo-cloud__item:hover { opacity: 0.65; }

/* Stats row ------------------------------------------------- */
.iw-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
  text-align: center;
}
@media (max-width: 600px) {
  .iw-stats-row { grid-template-columns: repeat(2, 1fr); }
}
.iw-stat { display: flex; flex-direction: column; align-items: center; gap: var(--space-1); }
.iw-stat__value {
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--accent-600);
  line-height: 1;
  letter-spacing: var(--tracking-tight);
  white-space: nowrap;
}
.iw-stat__label { font-size: var(--text-sm); color: var(--text-2); }
[data-theme="dark"] .iw-stat__value { color: var(--accent-300); }

/* Timeline -------------------------------------------------- */
.iw-timeline {
  display: flex;
  flex-direction: column;
  position: relative;
  padding-left: var(--space-5);
}
.iw-timeline::before {
  content: '';
  position: absolute;
  left: 0.625rem;
  top: 0.75rem;
  bottom: var(--space-4);
  width: 2px;
  background: var(--line);
}
.iw-timeline__item {
  position: relative;
  padding-bottom: var(--space-5);
}
.iw-timeline__item:last-child { padding-bottom: 0; }
.iw-timeline__dot {
  position: absolute;
  left: calc(var(--space-5) * -1 + 0.3125rem);
  top: 0.3125rem;
  width: 0.625rem;
  height: 0.625rem;
  border-radius: var(--radius-full);
  background: var(--accent-600);
  border: 2px solid var(--page-bg);
  box-shadow: 0 0 0 2px var(--accent-600);
  z-index: 1;
}
.iw-timeline__step {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--accent-600);
  margin-bottom: var(--space-1);
}
.iw-timeline__title { font-size: var(--text-base); font-weight: 700; color: var(--text-1); margin-bottom: var(--space-2); }
.iw-timeline__body  { font-size: var(--text-sm); color: var(--text-2); line-height: var(--leading-loose); }
[data-theme="dark"] .iw-timeline__dot { border-color: var(--page-bg); }

/* Timeline / milestones (batch 3 variant) */
.iw-timeline { position: relative; padding-left: var(--space-5); }
.iw-timeline::before { content: ''; position: absolute; left: 7px; top: 10px; bottom: 10px; width: 2px; background: var(--line-subtle); }
.iw-timeline__item { position: relative; padding-bottom: var(--space-4); }
.iw-timeline__item:last-child { padding-bottom: 0; }
.iw-timeline__dot { position: absolute; left: calc(-1 * var(--space-5) + 2px); top: 4px; width: 12px; height: 12px; border-radius: var(--radius-full); background: var(--accent-600); border: 2px solid var(--surface); box-shadow: 0 0 0 2px var(--accent-600); }
.iw-timeline__date { font-size: var(--text-xs); font-weight: 700; letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--accent-600); margin-bottom: var(--space-1); }
.iw-timeline__title { font-size: var(--text-base); font-weight: 700; color: var(--text-1); }
.iw-timeline__body { font-size: var(--text-sm); color: var(--text-2); line-height: var(--leading-relaxed); margin-top: var(--space-1); }

/* Process steps --------------------------------------------- */
.iw-process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
}
@media (max-width: 700px) {
  .iw-process { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 400px) {
  .iw-process { grid-template-columns: 1fr; }
}
.iw-process__step { display: flex; flex-direction: column; gap: var(--space-3); }
.iw-process__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-full);
  background: var(--accent-600);
  color: #fff;
  font-size: var(--text-sm);
  font-weight: 800;
  flex-shrink: 0;
}
.iw-process__title { font-size: var(--text-base); font-weight: 700; }
.iw-process__body  { font-size: var(--text-sm); color: var(--text-2); line-height: var(--leading-loose); }

/* Shared marquee keyframe (used by ticker + logo ticker) */
@keyframes iw-ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Announcement ticker / scrolling marquee strip */
.iw-ticker { overflow: hidden; background: var(--accent-600); color: var(--base-50); padding-block: var(--space-2); }
.iw-ticker__track { display: inline-flex; align-items: center; gap: var(--space-5); white-space: nowrap; animation: iw-ticker 28s linear infinite; user-select: none; }
.iw-ticker:hover .iw-ticker__track,
.iw-ticker:focus-within .iw-ticker__track { animation-play-state: paused; }
.iw-ticker__item { font-size: var(--text-sm); font-weight: 600; }
.iw-ticker__sep  { opacity: 0.4; }

/* Animated logo ticker */
.iw-logo-ticker { overflow: hidden; padding-block: var(--space-4); border-top: 1px solid var(--line-subtle); border-bottom: 1px solid var(--line-subtle); }
.iw-logo-ticker__track { display: inline-flex; align-items: center; gap: var(--space-6); white-space: nowrap; animation: iw-ticker 35s linear infinite; user-select: none; }
.iw-logo-ticker:hover .iw-logo-ticker__track,
.iw-logo-ticker:focus-within .iw-logo-ticker__track { animation-play-state: paused; }
.iw-logo-ticker__item { font-size: var(--text-xl); font-weight: 800; color: var(--text-3); letter-spacing: -0.02em; }

/* Trust — Social Proof Bar */
.iw-proof-bar { background: var(--surface-2); border-top: 1px solid var(--line-subtle); border-bottom: 1px solid var(--line-subtle); padding-block: var(--space-4); }
.iw-proof-bar__inner { max-width: 860px; margin-inline: auto; padding-inline: var(--gutter); display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: var(--space-4) var(--space-5); }
.iw-proof-bar__unit { display: flex; flex-direction: column; align-items: center; gap: var(--space-1); }
.iw-proof-bar__value { font-size: var(--text-xl); font-weight: 800; color: var(--text-1); display: flex; align-items: center; gap: var(--space-1); }
.iw-proof-bar__label { font-size: var(--text-xs); color: var(--text-2); text-align: center; max-width: 14rem; line-height: var(--leading-relaxed); }
.iw-proof-bar__stars { color: #F59E0B; font-size: var(--text-sm); letter-spacing: -0.05em; }
.iw-proof-bar__divider { width: 1px; height: 3rem; background: var(--line-subtle); flex-shrink: 0; }
@media (max-width: 600px) { .iw-proof-bar__divider { display: none; } .iw-proof-bar__inner { gap: var(--space-3); } }

/* Proof stat callouts (3-up grid below image in story hero) */
.iw-proof-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  margin-top: var(--space-4);
}
.iw-proof-stats > * { margin-block-start: 0; }
.iw-proof-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-3) var(--space-2);
  background: var(--surface-2);
  border-radius: var(--radius-md);
  text-align: center;
}
.iw-proof-stat__value { font-size: var(--text-lg); font-weight: 800; color: var(--accent-600); line-height: 1; }
.iw-proof-stat__label { font-size: var(--text-xs); color: var(--text-3); }
[data-theme="dark"] .iw-proof-stat { background: rgba(255,255,255,0.04); }
[data-theme="dark"] .iw-proof-stat__value { color: var(--accent-300); }
