/* ── Hero ──────────────────────────────────────────────────────────────────────── */
.hero {
  min-height: clamp(520px, 68vh, 760px);
  display: flex;
  align-items: center;
  padding-block: var(--space-16) var(--space-20);
  background: var(--color-bg);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 70% 40%, var(--color-accent-light) 0%, transparent 60%);
  pointer-events: none;
}
.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}
.hero-content { max-width: 560px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: var(--weight-semi);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-accent);
  background: var(--color-accent-light);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-6);
}
.hero-headline {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: var(--weight-bold);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--color-text);
  margin-bottom: var(--space-6);
}
.hero-subheadline {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--color-text-3);
  margin-bottom: var(--space-8);
  max-width: 480px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}
.hero-visual {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  overflow: visible;
}
.hero-visual img {
  width: 100%;
  max-width: 560px;
  height: auto;
  display: block;
}

/* Proof Strip */
.proof-strip {
  padding-block: var(--space-12);
  background: var(--color-bg-soft);
  border-top: 1px solid var(--color-border-soft);
  border-bottom: 1px solid var(--color-border-soft);
  overflow: hidden;
}

/* Label row with horizontal rules */
.proof-strip__eyebrow {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  margin-bottom: var(--space-8);
}
.proof-strip__rule {
  flex: 1;
  height: 1px;
  background: var(--color-border);
  display: block;
}
.proof-strip__label {
  font-size: var(--text-xs);
  font-weight: var(--weight-semi);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-4);
  text-align: center;
  margin: 0;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Marquee — full-bleed, fades on edges */
.proof-marquee {
  overflow: hidden;
  position: relative;
}
.proof-marquee::before,
.proof-marquee::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}
.proof-marquee::before {
  left: 0;
  background: linear-gradient(to right, var(--color-bg-soft) 0%, transparent 100%);
}
.proof-marquee::after {
  right: 0;
  background: linear-gradient(to left, var(--color-bg-soft) 0%, transparent 100%);
}
.proof-marquee__track {
  display: flex;
  gap: var(--space-3);
  white-space: nowrap;
  animation: marquee 38s linear infinite;
  padding-block: var(--space-1);
}

/* Individual chip */
.proof-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  flex-shrink: 0;
  transition: border-color var(--ease-base), box-shadow var(--ease-base);
}
.proof-chip:hover {
  border-color: var(--color-accent-muted);
  box-shadow: var(--shadow-sm);
}
.proof-chip__icon {
  display: flex;
  align-items: center;
  color: var(--color-accent);
  flex-shrink: 0;
  opacity: 0.75;
}
.proof-chip__label {
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-text-2);
  line-height: 1.4;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (max-width: 1024px) {
  /* Tablet: tighten the two-column gap */
  .hero .container { gap: var(--space-10); }
}

@media (max-width: 768px) {
  .hero .container { grid-template-columns: 1fr; gap: var(--space-6); }
  .hero { padding-block: var(--space-10); min-height: auto; }
  /* Centre all hero text on mobile */
  .hero-content { max-width: 100%; text-align: center; }
  .hero-badge { margin-inline: auto; }
  .hero-subheadline { max-width: 100%; margin-inline: auto; }
  .hero-actions { justify-content: center; }
  /* Dashboard visual: more opaque and properly sized */
  .hero-visual { justify-content: center; opacity: 0.92; }
  .hero-visual img { max-width: 340px; }
}

@media (max-width: 640px) {
  /* Proof strip label — allow wrapping, hide rules */
  .proof-strip__label { white-space: normal; }
  .proof-strip__rule { display: none; }
  .proof-strip__eyebrow { justify-content: center; }
}

@media (max-width: 480px) {
  .hero-visual img { max-width: 240px; }
  /* Both hero action buttons full-width on small phones */
  .hero-actions { flex-direction: column; align-items: stretch; gap: var(--space-3); }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .proof-marquee__track { gap: var(--space-2); }
  .proof-chip { padding: var(--space-1) var(--space-3); }
  .proof-chip__label { font-size: var(--text-xs); }
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .proof-marquee__track { animation: none; }
  .hero::before { animation: none; }
}
