/* Premium home hero: a large, real screenshot in a subtle 3D frame.
   Callouts sit outside the frame. Pins and lines mark real UI only.
   Decorative glow is CSS. Screenshot pixels are not altered here. */

.hero-visual {
  padding-block: 1.75rem 2.25rem;
}

.hero-shell {
  display: grid;
  gap: 1.5rem;
  padding-inline: 1.25rem;
}

.hero-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.hero-copy .lede {
  max-width: 28rem;
}

.hero-showcase {
  position: relative;
  z-index: 1;
  margin: 0;
  min-width: 0;
}

.hero-showcase-glow {
  position: absolute;
  inset: -24% -16% -20% -12%;
  z-index: 0;
  background:
    radial-gradient(ellipse at 68% 42%, rgb(198 163 90 / 0.7), transparent 56%),
    radial-gradient(ellipse at 18% 80%, rgb(224 192 120 / 0.36), transparent 52%),
    radial-gradient(ellipse at 86% 72%, rgb(255 220 150 / 0.34), transparent 48%),
    conic-gradient(from 200deg at 62% 48%,
      rgb(198 163 90 / 0),
      rgb(255 230 160 / 0.42),
      rgb(198 163 90 / 0) 22%,
      rgb(224 192 120 / 0.38) 40%,
      rgb(198 163 90 / 0) 58%,
      rgb(255 220 140 / 0.3) 74%,
      transparent 90%);
  filter: blur(18px);
  pointer-events: none;
  animation: hero-shimmer 18s linear infinite;
}

@keyframes hero-shimmer {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hero-stage {
  position: relative;
  z-index: 1;
  perspective: 1800px;
  padding: 4.75rem 0.25rem 5.25rem;
}

.hero-browser {
  position: relative;
  border-radius: 14px;
  overflow: visible;
  background: #1b1914;
  border: 1px solid rgb(224 192 120 / 0.45);
  box-shadow:
    0 1px 0 rgb(255 230 160 / 0.3),
    0 1px 2px rgb(0 0 0 / 0.55),
    0 8px 16px rgb(0 0 0 / 0.42),
    0 22px 40px rgb(0 0 0 / 0.5),
    0 48px 80px rgb(0 0 0 / 0.48),
    0 0 0 1px rgb(198 163 90 / 0.32),
    0 0 96px rgb(198 163 90 / 0.42);
  transform: rotateY(-3deg) rotateX(1.5deg);
  transform-origin: 40% 60%;
  animation: hero-float 8s ease-in-out infinite;
}

.hero-browser:hover {
  transform: rotateY(-2deg) rotateX(1deg) translateY(-4px);
}

@keyframes hero-float {
  0%, 100% { transform: rotateY(-3deg) rotateX(1.5deg) translateY(0); }
  50% { transform: rotateY(-3deg) rotateX(1.5deg) translateY(-5px); }
}

.hero-browser-bar {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.5rem 0.8rem;
  background: linear-gradient(180deg, #2a261c, #1f1c16);
  border-bottom: 1px solid rgb(198 163 90 / 0.2);
  border-radius: 13px 13px 0 0;
}

.hero-browser-dots {
  display: flex;
  gap: 0.35rem;
}

.hero-browser-dots i {
  display: block;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #5a5346;
}

.hero-browser-dots i:nth-child(1) { background: #c4786a; }
.hero-browser-dots i:nth-child(2) { background: #c6a35a; }
.hero-browser-dots i:nth-child(3) { background: #7a9a6a; }

.hero-browser-url {
  flex: 1;
  min-width: 0;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: #cbbfa6;
  background: #12110e;
  border-radius: 999px;
  padding: 0.22rem 0.75rem;
}

.hero-browser-body {
  position: relative;
  background: #fff;
  border-radius: 0 0 13px 13px;
  overflow: visible;
}

.hero-shot {
  position: relative;
  overflow: visible;
}

.hero-shot picture {
  display: block;
  overflow: hidden;
  border-radius: 0 0 13px 13px;
}

.hero-shot img {
  display: block;
  width: 100%;
  height: auto;
}

/* Target markers sit on the screenshot, hollow so the UI stays readable. */
.hero-pins {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
}

.hero-pin {
  position: absolute;
  width: 1.25rem;
  height: 1.25rem;
  margin: -0.625rem 0 0 -0.625rem;
  border-radius: 50%;
  border: 2px solid #e0c078;
  background: transparent;
  box-shadow:
    0 0 0 3px rgb(198 163 90 / 0.28),
    0 0 16px rgb(224 192 120 / 0.9);
}

.hero-pin::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0.35rem;
  height: 0.35rem;
  margin: -0.175rem 0 0 -0.175rem;
  border-radius: 50%;
  background: #e0c078;
  box-shadow: 0 0 6px rgb(224 192 120 / 0.95);
}

/* Percentages are of the 1600×802 screenshot. */
.hero-pin-sort { left: 14.4%; top: 23.9%; }
.hero-pin-pill { left: 3.8%; top: 88.2%; }
.hero-pin-offer { left: 27.6%; top: 75.3%; }
.hero-pin-cl { left: 28.8%; top: 85.7%; }
.hero-pin-rail { left: 64.2%; top: 77.6%; }

.hero-leaders {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  z-index: 2;
}

.hero-leader {
  stroke: #e0c078;
  stroke-width: 0.32;
  stroke-linecap: round;
}

/* Callouts sit outside the frame (above / below the screenshot). */
.hero-callout {
  position: absolute;
  z-index: 4;
  max-width: 14rem;
  white-space: nowrap;
  padding: 0.45rem 0.7rem;
  border-radius: 10px;
  background: rgb(18 17 14 / 0.94);
  border: 1px solid rgb(224 192 120 / 0.5);
  box-shadow: 0 8px 22px rgb(0 0 0 / 0.4);
  color: #f3eee4;
  pointer-events: none;
}

.hero-callout p {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 650;
  line-height: 1.3;
}

.hero-callout-sort {
  left: 14.4%;
  top: 0;
  transform: translate(-42%, calc(-100% - 3.5rem));
  white-space: normal;
  max-width: 11.5rem;
}

.hero-callout-pill {
  left: 3.8%;
  top: 100%;
  transform: translate(-15%, 1.2rem);
}

.hero-callout-offer {
  left: 42%;
  top: 100%;
  transform: translate(-50%, 1.2rem);
}

.hero-callout-rail {
  left: 74%;
  top: 100%;
  transform: translate(-48%, 1.2rem);
  white-space: normal;
  max-width: 12.5rem;
}

.hero-callout-stack {
  display: none;
  list-style: none;
  margin: 0.9rem 0 0;
  padding: 0;
  position: relative;
  z-index: 1;
}

.hero-callout-stack li {
  padding: 0.45rem 0.7rem;
  margin: 0 0 0.4rem;
  border-radius: 10px;
  background: var(--surface, #1b1914);
  border: 1px solid rgb(198 163 90 / 0.3);
  font-size: 0.85rem;
  font-weight: 600;
}

.hero-showcase-caption {
  position: relative;
  z-index: 1;
  margin: 0.35rem 0 0;
  color: var(--text-muted, #a39a88);
  font-size: var(--fs-xs, 0.8rem);
  line-height: 1.45;
}

/* Desktop: copy left, oversized screenshot that bleeds to the right. */
@media (min-width: 64em) {
  .hero-shell {
    display: grid;
    grid-template-columns: minmax(15.5rem, 20.5rem) minmax(0, 1fr);
    gap: 0.75rem 0.5rem;
    align-items: center;
    padding-left: max(1.25rem, calc((100vw - 72rem) / 2));
    padding-right: 0;
  }

  .hero-showcase {
    width: calc(100vw - 17.5rem);
    max-width: 90rem;
    margin-left: -1.5rem;
  }
}

@media (min-width: 80em) {
  .hero-shell {
    grid-template-columns: minmax(16.5rem, 21.5rem) minmax(0, 1fr);
    padding-left: max(1.5rem, calc((100vw - 80rem) / 2));
  }

  .hero-showcase {
    width: calc(100vw - 18rem);
    margin-left: -2rem;
  }
}

@media (min-width: 100em) {
  .hero-showcase {
    width: calc(100vw - 19rem);
    margin-left: -2.25rem;
  }
}

@media (max-width: 63.99em) {
  .hero-browser,
  .hero-browser:hover {
    transform: none;
    animation: none;
  }
  .hero-stage {
    perspective: none;
    padding: 0;
  }
  .hero-pins,
  .hero-leaders,
  .hero-callout { display: none; }
  .hero-callout-stack { display: grid; }
  .hero-showcase-glow { inset: -8% -6%; filter: blur(14px); animation: none; }
  .hero-showcase-caption { margin-top: 0.85rem; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-browser,
  .hero-browser:hover {
    animation: none;
    transform: none;
  }
  .hero-showcase-glow { animation: none; filter: blur(12px); }
}
