/* ── BACKGROUND GLOW ── */
.bg-glow {
  position: fixed;
  display: none;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.bg-glow__blob {
  position: absolute;
  border-radius: 50%;
}

.bg-glow__blob--1 {
  top: -15%;
  left: -10%;
  width: 55vw;
  height: 55vw;
  max-width: 720px;
  max-height: 720px;
  background: none;
  filter: none;
  opacity: 0;
}

.bg-glow__blob--2 {
  top: 20%;
  right: -12%;
  width: 45vw;
  height: 45vw;
  max-width: 580px;
  max-height: 580px;
  background: none;
  filter: none;
  opacity: 0;
}

/* ── LAYOUT HELPERS ── */
.section-pad {
  padding-block: var(--space-section);
}

.section-border {
  border-top: 1px solid var(--color-border);
}

.section-surface {
  background: var(--color-bg-surface);
}

.section-label {
  display: none;
}

.section-label--light {
  display: none;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: var(--font-weight-medium);
  color: var(--color-pure-white);
  text-decoration: none;
  padding: 10px 22px;
  border-radius: var(--radius-button);
  background: var(--color-action);
  border: 1px solid var(--color-action);
  box-shadow: none;
  transition:
    background-color 160ms var(--ease-standard),
    border-color 160ms var(--ease-standard),
    color 160ms var(--ease-standard),
    transform 160ms var(--ease-standard),
    box-shadow 160ms var(--ease-standard);
  width: fit-content;
}

.btn-primary:hover {
  background: var(--color-action-hover);
  border-color: var(--color-action-hover);
}

.btn-primary:active {
  background: var(--color-action-pressed);
  border-color: var(--color-action-pressed);
  transform: translateY(0);
}

.btn-primary:focus-visible {
  box-shadow: 0 0 0 3px var(--color-accent-glow);
}

.btn-primary--white {
  background: var(--color-pure-white);
  color: var(--color-bg-base);
  border-color: transparent;
  box-shadow: none;
}

.btn-primary--white:hover {
  background: var(--color-frost);
  border-color: var(--color-frost);
  color: var(--color-deep-ink);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 18px;
  border: 1px solid var(--color-control-border);
  border-radius: var(--radius-button);
  background: var(--color-control);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: var(--font-weight-medium);
  color: var(--color-text-secondary);
  text-decoration: none;
  transition:
    background-color 160ms var(--ease-standard),
    border-color 160ms var(--ease-standard),
    color 160ms var(--ease-standard),
    box-shadow 160ms var(--ease-standard);
}

.btn-secondary:hover {
  border-color: var(--color-control-border-hover);
  background: var(--color-control-hover);
  color: var(--color-text-primary);
}

.btn-secondary:active {
  background: var(--color-control-pressed);
}

.btn-secondary:focus-visible {
  box-shadow: 0 0 0 3px var(--color-accent-glow);
}

/* ── HERO ── */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  display: grid;
  grid-template-columns: clamp(280px, 24vw, 380px) minmax(0, 1fr);
  align-items: center;
  gap: var(--spacing-40);
  padding: var(--nav-height) max(var(--spacing-32, 32px), calc((100% - 1620px) / 2)) 0;
  background: var(--color-bg-base);
  border-bottom: 1px solid var(--color-border);
}

.hero__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--spacing-28);
  padding-bottom: var(--spacing-24);
}

.hero__headline {
  max-width: 12ch;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 3.7vw, var(--text-display));
  font-weight: var(--font-weight-bold);
  line-height: var(--leading-display);
  letter-spacing: var(--tracking-display);
  color: var(--color-text-primary);
}

.hero__sub {
  max-width: 34rem;
  margin: 0;
  color: var(--color-text-secondary);
  font-size: var(--text-body);
  line-height: var(--leading-body);
}

.hero__price {
  display: flex;
  gap: var(--spacing-28);
  margin: 0;
}

.hero__price-item {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-4);
  margin: 0;
}

.hero__price-item + .hero__price-item {
  padding-left: var(--spacing-28);
  border-left: 1px solid var(--color-border);
}

.hero__price-item strong {
  color: var(--color-text-primary);
  font-size: var(--text-heading-sm);
  font-weight: var(--font-weight-bold);
  line-height: 1.2;
}

.hero__price-item strong span {
  color: var(--color-text-muted);
  font-size: var(--text-body-sm);
  font-weight: var(--font-weight-medium);
}

.hero__price-item > span {
  color: var(--color-text-secondary);
  font-size: var(--text-body-sm);
  line-height: var(--leading-body-sm);
}

.hero__price-note {
  margin: calc(var(--spacing-12) * -1) 0 0;
  color: var(--color-text-muted);
  font-size: var(--text-body-sm);
}

.hero__price-note a {
  color: var(--color-accent);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 4px;
  transition: color 160ms var(--ease-standard), text-decoration-color 160ms var(--ease-standard);
}

.hero__price-note a:hover {
  color: var(--color-pure-white);
  text-decoration-color: currentColor;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--spacing-12);
}

/* The walkthrough video sits beside the copy in a plain frame. */
.hero__media {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--spacing-8);
  padding-bottom: var(--spacing-24);
  perspective: 1400px;
}

.hero__bg {
  width: 100%;
  margin: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: transparent;
  /* No shadow or frame: a very slight fade on every edge softens the cut-off. */
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 1.5%, #000 98.5%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 2.5%, #000 97.5%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0, #000 1.5%, #000 98.5%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 2.5%, #000 97.5%, transparent 100%);
  mask-composite: intersect;
}

/* Fixed three-quarter pose: turned about 6 degrees, so the right edge sits slightly nearer. */
@media (min-width: 901px) {
  .hero__bg {
    transform: rotateY(-6deg);
  }
}

.hero__slide {
  margin: 0;
  width: 100%;
  height: 100%;
}

.hero__slide[hidden] {
  display: none;
}

.hero__tabs {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-16);
  width: 100%;
  margin-top: var(--spacing-20);
}

.hero__tablist {
  display: flex;
  gap: var(--spacing-24);
}

.hero__tab {
  padding: var(--spacing-8) 0;
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: 500;
  cursor: pointer;
  transition: color 160ms var(--ease-standard), border-color 160ms var(--ease-standard);
}

.hero__tab:hover {
  color: var(--color-pure-white);
}

.hero__tab[aria-selected="true"] {
  color: var(--color-pure-white);
  border-bottom-color: var(--color-accent);
}

.hero__tab:focus-visible {
  outline: 2px solid var(--color-focus-ring);
  outline-offset: 4px;
}

.hero__bg {
  touch-action: pan-y;
}

/* On wide screens the tabs sit above the video so the first-visit consent banner never covers them. */
@media (min-width: 901px) {
  .hero__tabs {
    order: -1;
    margin-top: 0;
    margin-bottom: var(--spacing-12);
  }
}

.hero__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero__control {
  padding: var(--spacing-4) 0;
  background: none;
  border: 0;
  color: var(--color-text-muted);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 160ms var(--ease-standard);
}

.hero__control:hover {
  color: var(--color-pure-white);
}

.hero__control:active {
  color: var(--color-accent);
}

.hero__control:focus-visible {
  outline: 2px solid var(--color-focus-ring);
  outline-offset: 4px;
}

/* ── PROBLEM SECTION ── */
.problem {
  position: relative;
  z-index: 1;
}

.problem__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
  margin-top: 1.5rem;
}

.problem__lead {
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.65;
  color: var(--color-text-secondary);
  margin: 0;
}

.problem__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.problem__list li {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.55;
  color: var(--color-text-secondary);
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--color-border);
  display: grid;
  grid-template-columns: 1.25rem 1fr;
  gap: 0.875rem;
  align-items: baseline;
}

.problem__list li:first-child {
  border-top: 1px solid var(--color-border);
}

.problem__list li::before {
  content: '—';
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--color-text-muted);
}

/* ── WORKFLOW SECTION ── */
.workflow {
  position: relative;
  z-index: 1;
}

.workflow__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--spacing-16) var(--spacing-24);
  margin-top: var(--spacing-28);
}

/* ── PRODUCT MOMENTS ── */
.product-moment {
  position: relative;
  z-index: 1;
}

.product-moment__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.product-moment--flip .product-moment__grid {
  direction: rtl;
}

.product-moment--flip .product-moment__grid > * {
  direction: ltr;
}

.product-moment__headline {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-heading);
  letter-spacing: var(--tracking-heading);
  line-height: 1.1;
  color: var(--color-text-primary);
  margin: 0 0 0.875rem;
}

.product-moment__body {
  font-family: var(--font-body);
  font-size: var(--text-body-sm);
  line-height: 1.65;
  color: var(--color-text-secondary);
  margin: 0;
}

.product-moment__asset {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.product-moment__asset figcaption {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--color-text-muted);
  line-height: 1.55;
}

/* ── ASSET PLACEHOLDER ── */
.asset-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-cards);
  display: flex;
  align-items: center;
  justify-content: center;
}

.asset-placeholder__label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--color-text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ── PRICING ── */
.pricing {
  position: relative;
  z-index: 1;
}

.pricing__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: start;
  max-width: 860px;
}

.pricing__amount {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin-bottom: 0.875rem;
}

.pricing__price {
  font-family: var(--font-display);
  font-weight: var(--font-weight-bold);
  font-size: var(--text-display);
  letter-spacing: var(--tracking-display);
  line-height: var(--leading-display);
  color: var(--color-text-primary);
}

.pricing__per {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-text-muted);
  margin-bottom: 10px;
}

.pricing__note {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-text-secondary);
  margin: 0 0 0.5rem;
}

.pricing__setup {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-text-secondary);
  margin: 0 0 1.25rem;
  line-height: 1.6;
}

.pricing__left {
  display: flex;
  flex-direction: column;
}

.pricing__link {
  display: block;
  margin: 0;
  font-size: 14px;
  color: var(--color-text-muted);
}

.pricing__features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  padding-top: 0.5rem;
}

.pricing__features li {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-text-secondary);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--color-border);
}

.pricing__features li:first-child {
  border-top: 1px solid var(--color-border);
}


/* ── FINAL CTA ── */
.final-cta {
  background: var(--color-bg-dark);
  position: relative;
  z-index: 1;
}

.final-cta__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 4.5rem) var(--container-pad);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
}

.final-cta__headline {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-heading-lg);
  letter-spacing: var(--tracking-heading-lg);
  line-height: var(--leading-heading-lg);
  color: var(--color-text-inverse);
  margin: 0;
  max-width: 22ch;
}

.final-cta__footer {
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.28);
  margin: 0;
}

.final-cta__footer a {
  color: rgba(255, 255, 255, 0.38);
  text-decoration: none;
  transition: color 0.2s;
}

.final-cta__footer a:hover {
  color: rgba(255, 255, 255, 0.75);
}

/* ── WHY MARKETPLACE ── */
.why-marketplace {
  position: relative;
  z-index: 1;
}

.why-marketplace__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  margin-top: 1.5rem;
  align-items: start;
}

.why-marketplace__lead {
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.65;
  color: var(--color-text-secondary);
  margin: 0;
}

.why-marketplace__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.why-marketplace__item {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.55;
  color: var(--color-text-secondary);
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--color-border);
}

.why-marketplace__item:first-child {
  border-top: 1px solid var(--color-border);
}

/* ── SEGMENTS ── */
.segments {
  position: relative;
  z-index: 1;
}

.segments__list {
  list-style: none;
  padding: 0;
  margin: var(--spacing-24) 0 0;
  border-top: 1px solid var(--color-border);
}

.segments__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--spacing-28);
  align-items: center;
  min-height: 48px;
  padding: var(--spacing-12) var(--spacing-8);
  border-bottom: 1px solid var(--color-border);
  text-decoration: none;
  color: inherit;
  transition:
    background-color 160ms var(--ease-standard),
    border-color 160ms var(--ease-standard),
    color 160ms var(--ease-standard);
}

.segments__row:hover {
  background: var(--color-control);
  border-bottom-color: var(--color-control-border-hover);
}

.segments__row-name {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text-primary);
  transition: color 0.15s;
}

.segments__row:hover .segments__row-name {
  color: var(--color-text-primary);
}

.segments__row-desc {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.5;
  color: var(--color-text-muted);
}

.segments__row-arrow {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--color-text-muted);
  transition: color 0.15s, transform 0.15s;
}

.segments__row:hover .segments__row-arrow {
  color: var(--color-accent);
  transform: translateX(3px);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: var(--spacing-20);
    padding: var(--nav-height) 0 var(--spacing-36);
  }

  .hero__media {
    order: -1;
    align-items: flex-start;
    padding-bottom: 0;
  }

  .hero__bg {
    border-width: 0 0 1px;
    border-radius: 0;
  }

  .hero__tabs {
    padding-inline: var(--container-pad);
  }

  .hero__copy {
    padding: 0 var(--container-pad);
  }

  .hero__headline {
    max-width: 14ch;
    font-size: var(--text-heading-lg);
    line-height: var(--leading-heading-lg);
  }

  .problem__grid {
    grid-template-columns: 1fr;
  }

  .product-moment__grid {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .product-moment--flip .product-moment__grid {
    direction: ltr;
  }

  .pricing__grid {
    grid-template-columns: 1fr;
  }

  .why-marketplace__grid {
    grid-template-columns: 1fr;
  }

  .segments__row {
    grid-template-columns: 1fr auto;
  }

  .segments__row-desc {
    display: none;
  }

  .queue-mockup__stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .queue-stat:nth-child(2) {
    border-right: none;
  }

  .queue-stat:nth-child(3) {
    border-top: 1px solid var(--border-subtle);
  }

  .queue-stat:nth-child(4) {
    border-top: 1px solid var(--border-subtle);
    border-right: none;
  }
}

@media (max-width: 560px) {
  .hero__headline {
    font-size: var(--text-heading);
  }

  .queue-mockup__stats {
    grid-template-columns: repeat(4, 1fr);
  }

  .queue-stat:nth-child(n) {
    border-top: none;
    border-right: 1px solid var(--border-subtle);
  }

  .queue-stat:last-child {
    border-right: none;
  }
}

/* NEW PRODUCT */
.new-product .container {
  max-width: 1560px;
}

.new-product__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.5fr) minmax(0, 1.5fr);
  gap: var(--spacing-48);
  align-items: center;
  perspective: 1400px;
}

.new-product__label {
  margin-bottom: var(--spacing-16);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.new-product__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-16);
  margin-top: var(--spacing-28);
}

.new-product__media {
  margin: 0;
}

.new-product__video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-card);
  background: var(--color-bg-base);
  box-shadow: 0 32px 64px -32px rgba(0, 0, 0, 0.85);
}

@media (max-width: 899px) {
  .new-product__grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-36);
  }
}

/* ── WORKFLOW CLIPS ── */
.workflow .container {
  max-width: 1560px;
}

.workflow__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 1.58fr);
  gap: var(--spacing-48);
  align-items: center;
}

.workflow__clips {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: var(--spacing-24);
  perspective: 1200px;
}

.workflow__clip {
  margin: 0;
}

.workflow__clip:nth-child(even) {
  margin-top: var(--spacing-40);
}

.workflow__clip video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-card);
  background: var(--color-bg-base);
  box-shadow: 0 24px 48px -28px rgba(0, 0, 0, 0.85);
}

.workflow__clip figcaption {
  padding-top: var(--spacing-12);
  color: var(--color-text-muted);
  font-size: var(--text-body-sm);
  line-height: var(--leading-body-sm);
}

.final-cta__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-16);
}

@media (max-width: 899px) {
  .workflow__layout {
    grid-template-columns: 1fr;
    gap: var(--spacing-36);
  }

}

@media (max-width: 559px) {
  .workflow__clips {
    grid-template-columns: 1fr;
  }

  .workflow__clip:nth-child(even) {
    margin-top: 0;
  }

}

/* ── CONCIERGE VIDEO CONTROL (same label as the hero) ── */
.new-product__media {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--spacing-8);
}

.media-control {
  margin-top: var(--spacing-12);
  padding: var(--spacing-4) 0;
  background: none;
  border: 0;
  color: var(--color-text-muted);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 160ms var(--ease-standard);
}

.media-control:hover {
  color: var(--color-pure-white);
}

.media-control:active {
  color: var(--color-accent);
}

.media-control:focus-visible {
  outline: 2px solid var(--color-focus-ring);
  outline-offset: 4px;
}

/* ── INDUSTRIES: large rows, the rest dim while one is hovered ── */
.industries__list {
  margin-top: var(--spacing-36);
}

.industries__list a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-block: var(--spacing-16);
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text-primary);
  font-size: var(--text-heading-sm);
  font-weight: var(--font-weight-medium);
  line-height: 1.2;
  transition: color 200ms var(--ease-standard), transform 200ms var(--ease-standard);
}

.industries__arrow {
  color: var(--color-accent);
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity 200ms var(--ease-standard), transform 200ms var(--ease-standard);
}

@media (hover: hover) {
  .industries__list:hover a {
    color: var(--color-text-muted);
  }

  .industries__list a:hover {
    color: var(--color-pure-white);
    transform: translateX(10px);
  }

  .industries__list a:hover .industries__arrow {
    opacity: 1;
    transform: none;
  }
}

.industries__list a:focus-visible .industries__arrow {
  opacity: 1;
  transform: none;
}

@media (max-width: 767px) {
  .industries__arrow {
    opacity: 1;
    transform: none;
  }
}

/* ── PRICING: currency label ── */
.pricing__cur {
  color: var(--color-text-muted);
  font-size: var(--text-subheading);
  font-weight: var(--font-weight-medium);
}
