/* =============================================================
   Hero section — heading, lead, CTA, stats, visual & trust strip
   ============================================================= */

.hero {
  padding: var(--s-7) 0 var(--s-8);
  background: var(--c-cream);
}
@media (min-width: 1024px) { .hero { padding: 72px 0 88px; } }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-7);
  align-items: center;
}
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: 56px; }
}

.hero h1 {
  margin-top: var(--s-5);
  font-family: var(--f-display);
  font-style: italic;
  font-size: 42px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--c-ink);
}
@media (min-width: 768px)  { .hero h1 { font-size: 64px; line-height: 1.02; letter-spacing: -0.025em; } }
@media (min-width: 1280px) { .hero h1 { font-size: 76px; } }

.hero-lead {
  margin-top: var(--s-5);
  font-size: 16px;
  line-height: 1.55;
  color: var(--c-slate);
  max-width: 540px;
}
@media (min-width: 768px) { .hero-lead { margin-top: 28px; font-size: 19px; } }
.hero-lead strong { color: var(--c-ink); font-weight: 600; }

.hero-actions {
  margin-top: var(--s-6);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hero-actions .btn { width: 100%; padding: 16px; }
.hero-actions .btn-primary { background: var(--c-clay); }
.hero-actions .btn-primary:hover { background: var(--c-clay-hover); }
@media (min-width: 640px) {
  .hero-actions { flex-direction: row; align-items: center; gap: 14px; }
  .hero-actions .btn { width: auto; padding: 14px 22px; }
}

.hero-stats {
  margin-top: var(--s-7);
  padding-top: var(--s-6);
  border-top: 1px solid var(--c-line);
  display: flex;
  justify-content: space-between;
  gap: var(--s-5);
}
@media (min-width: 768px) { .hero-stats { gap: 56px; justify-content: flex-start; } }

.stat-value {
  margin: 0;
  font-family: var(--f-display);
  font-style: italic;
  font-size: 16px;
  color: var(--c-ink);
  letter-spacing: -0.01em;
}
@media (min-width: 768px) { .stat-value { font-size: 16px; } }
.stat-label { margin-top: 4px; font-size: 13px; color: var(--c-muted); }

/* Hero visual */
.hero-visual { position: relative; margin-top: var(--s-5); }
@media (min-width: 1024px) { .hero-visual { margin-top: 0; } }

/* =============================================================
   iMac mockup — aluminum body + webcam dot + neck + foot.
   Image inside the screen auto-scrolls vertically.
   ============================================================= */
.imac {
  position: relative;
  width: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Aluminum chassis. Thin bezels on top/sides, thicker "chin" below. */
.imac-body {
  width: 100%;
  position: relative;
  padding: 9px 9px 26px 9px;
  background: linear-gradient(180deg, #e3e0d8 0%, #cfccc3 55%, #bcb9b0 100%);
  border-radius: 14px;
  box-shadow:
    var(--shadow-3),
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    inset 0 -1px 0 rgba(0, 0, 0, 0.06);
}

/* Tiny webcam dot in the top bezel */
.imac-camera {
  position: absolute;
  top: 3px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #1a1a1a;
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.18);
}

/* The actual screen — black bezel ring + white display */
.imac-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #ffffff;
  border: 1px solid #1a1a1a;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: inset 0 0 0 2px #1a1a1a, inset 0 0 14px rgba(0, 0, 0, 0.08);
}

.imac-scroll {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: auto;
  display: block;
  animation: imacScroll 18s cubic-bezier(0.45, 0, 0.55, 1) infinite alternate;
  will-change: transform;
}
@keyframes imacScroll {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-88%); }
}

/* Stand neck (trapezoid) + flat foot. Desktop only — keeps mobile tidy. */
.imac-neck,
.imac-foot { display: none; }

@media (min-width: 1024px) {
  .imac-neck,
  .imac-foot {
    display: block;
    background: linear-gradient(180deg, #cfccc3 0%, #b3b0a7 100%);
  }
  .imac-neck {
    width: 22%;
    height: 26px;
    margin-top: -1px;
    clip-path: polygon(18% 0, 82% 0, 100% 100%, 0 100%);
  }
  .imac-foot {
    width: 46%;
    height: 7px;
    border-radius: 4px;
    margin-top: 3px;
    box-shadow: 0 8px 16px rgba(26, 31, 28, 0.16);
  }
}

.hero-card {
  position: absolute;
  bottom: -28px;
  left: -8px;
  background: var(--c-paper);
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: var(--shadow-2);
  border: 1px solid var(--c-line);
  display: flex;
  gap: 12px;
  align-items: center;
  max-width: 260px;
}
@media (min-width: 1024px) { .hero-card { left: -28px; padding: 18px; } }
.hero-card-avatar {
  width: 40px; height: 40px;
  flex-shrink: 0;
  border-radius: 999px;
  background: var(--c-clay-soft);
  color: #8E3F1F;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-display);
  font-style: italic;
  font-size: 20px;
}
.hero-card-name { font-size: 13px; font-weight: 500; color: var(--c-ink); }
.hero-card-quote { font-size: 12px; color: var(--c-muted); margin-top: 2px; }

/* Trust strip */
.trust-strip {
  margin-top: var(--s-8);
  padding: var(--s-5) 0;
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  display: flex;
  align-items: center;
  gap: var(--s-6);
  flex-wrap: wrap;
}
.trust-strip .label {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-muted);
  flex-shrink: 0;
}
.trust-strip .places {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-4);
  color: var(--c-slate);
  font-family: var(--f-display);
  font-style: italic;
  font-size: 18px;
  flex-wrap: wrap;
}
@media (min-width: 768px) { .trust-strip .places { font-size: 22px; flex-wrap: nowrap; } }
