/*
  VoiceMind Tech public landing polish.
  Deliberately scoped to the marketing root; /app/ does not load this file.
*/

body.surface-tech .hero--b2c {
  width: min(1440px, calc(100% - 32px));
  margin: 0 auto 2.4rem;
  padding-left: clamp(1rem, 3vw, 3rem);
  padding-right: clamp(1rem, 3vw, 3rem);
  overflow: hidden;
  border: 1px solid rgba(47, 240, 180, 0.17);
  border-top: 0;
  border-radius: 0 0 30px 30px;
  background-color: rgba(5, 13, 21, 0.92);
  background-image:
    linear-gradient(rgba(79, 141, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 240, 180, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
}

body.surface-tech header.hero.hero--b2c {
  height: auto;
  min-height: 100svh;
  padding-top: 6.3rem;
  padding-bottom: 3rem;
}

body.surface-tech .hero--b2c::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 5.6rem;
  left: 8%;
  width: 84%;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(47, 240, 180, 0.75), rgba(79, 141, 255, 0.65), transparent);
  opacity: 0.52;
  transform: translateX(-24%);
  animation: techSignalSweep 8s ease-in-out infinite;
}

body.surface-tech .hero--b2c .hero-logo {
  width: clamp(360px, 42vw, 560px);
  margin-bottom: 0.35rem;
}

body.surface-tech .hero--b2c .hero-title {
  max-width: 880px;
  color: var(--vm-text);
  font-size: clamp(2.15rem, 3.6vw, 3.15rem);
  font-weight: 800;
  line-height: 1.06;
  text-wrap: balance;
}

body.surface-tech .hero--b2c .hero-subtitle {
  max-width: 850px;
  margin-bottom: 0.55rem;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.62;
}

body.surface-tech .hero--b2c .hero-purpose {
  max-width: 760px;
  margin: 0 auto 1.2rem;
  color: rgba(185, 205, 225, 0.78);
  font-size: 0.94rem;
  line-height: 1.55;
}

body.surface-tech .row-cta--hero {
  margin-bottom: 0.7rem;
}

body.surface-tech .hero--b2c .hero-scenarios {
  position: relative;
  isolation: isolate;
  width: min(1120px, 100%);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 1.45rem;
  padding: 0.55rem;
  overflow: hidden;
  border: 1px solid rgba(79, 141, 255, 0.24);
  border-radius: 20px;
  background: rgba(7, 16, 26, 0.76);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 26px 74px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(16px);
}

body.surface-tech .hero--b2c .hero-scenarios::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: auto 5% 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #2ff0b4, #4f8dff, transparent);
  opacity: 0.58;
}

body.surface-tech .hero-scenario {
  position: relative;
  min-width: 0;
  min-height: 156px;
  padding: 1rem 1.05rem 1.1rem;
  border: 0;
  border-radius: 13px;
  background: transparent;
  box-shadow: none;
}

body.surface-tech .hero-scenario + .hero-scenario {
  border-left: 1px solid rgba(123, 179, 255, 0.16);
}

body.surface-tech .hero-scenario::after {
  content: "\2197";
  position: absolute;
  top: 0.9rem;
  right: 0.95rem;
  color: rgba(108, 211, 255, 0.72);
  font-size: 1rem;
  line-height: 1;
}

body.surface-tech .hero-scenario:hover,
body.surface-tech .hero-scenario:focus-visible {
  background: linear-gradient(145deg, rgba(47, 240, 180, 0.1), rgba(79, 141, 255, 0.06));
  outline: 1px solid rgba(47, 240, 180, 0.26);
  outline-offset: -1px;
}

body.surface-tech .hero-scenario__icon {
  width: 2.3rem;
  height: 2.3rem;
  margin-bottom: 0.25rem;
  border-radius: 10px;
  background: rgba(47, 240, 180, 0.09);
  border-color: rgba(47, 240, 180, 0.25);
}

body.surface-tech .hero-scenario:nth-child(even) .hero-scenario__icon {
  background: rgba(79, 141, 255, 0.1);
  border-color: rgba(79, 141, 255, 0.3);
}

body.surface-tech .hero-scenario h3 {
  max-width: 14ch;
  padding-right: 1.1rem;
  font-size: 1.02rem;
}

body.surface-tech .hero-scenario p {
  color: rgba(194, 211, 229, 0.78);
  font-size: 0.9rem;
  line-height: 1.5;
}

body.surface-tech .hero-trust.vm-action-dock {
  width: fit-content;
  max-width: min(920px, 100%);
  margin-top: 0.85rem;
  padding: 0.4rem;
  border: 1px solid rgba(47, 240, 180, 0.2);
  border-radius: 999px;
}

body.surface-tech .hero-trust__badge {
  min-height: 34px;
  border-color: transparent;
  background: rgba(255, 255, 255, 0.035);
  padding: 0.35rem 0.72rem;
}

body.surface-tech .hero-trust__badge:nth-child(2n) {
  color: rgba(198, 222, 255, 0.92);
}

@keyframes techSignalSweep {
  0%,
  100% {
    opacity: 0.22;
    transform: translateX(-24%);
  }
  50% {
    opacity: 0.62;
    transform: translateX(24%);
  }
}

@media (max-width: 980px) {
  body.surface-tech .hero--b2c .hero-scenarios {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.surface-tech .hero-scenario + .hero-scenario {
    border-left: 0;
  }

  body.surface-tech .hero-scenario:nth-child(even) {
    border-left: 1px solid rgba(123, 179, 255, 0.16);
  }

  body.surface-tech .hero-scenario:nth-child(n + 3) {
    border-top: 1px solid rgba(123, 179, 255, 0.16);
  }
}

@media (max-width: 768px) {
  body.surface-tech .hero--b2c {
    width: calc(100% - 16px);
    margin-bottom: 1rem;
    padding-left: 0.85rem;
    padding-right: 0.85rem;
    border-radius: 0 0 22px 22px;
    background-size: 52px 52px;
  }

  body.surface-tech .hero--b2c .hero-logo {
    width: min(78vw, 310px);
  }

  body.surface-tech .hero--b2c .hero-title {
    max-width: 13ch;
    font-size: clamp(1.95rem, 8vw, 2.45rem);
  }

  body.surface-tech .hero--b2c .hero-purpose {
    font-size: 0.88rem;
  }

  body.surface-tech .hero-scenario {
    min-height: 142px;
    padding: 0.9rem;
  }

  body.surface-tech .hero-trust.vm-action-dock {
    width: min(100%, 420px);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-radius: 16px;
  }
}

@media (max-width: 520px) {
  body.surface-tech header.hero.hero--b2c {
    min-height: auto;
    padding-top: 4.8rem;
    padding-bottom: 1.6rem;
  }

  body.surface-tech .hero--b2c .hero-logo {
    width: min(64vw, 238px);
    margin-bottom: 0.1rem;
  }

  body.surface-tech .hero--b2c .hero-title {
    max-width: 15ch;
    font-size: clamp(1.78rem, 7.7vw, 2.18rem);
  }

  body.surface-tech .hero--b2c .hero-subtitle {
    max-width: 34ch;
    margin-bottom: 0.3rem;
    font-size: 0.94rem;
    line-height: 1.48;
  }

  body.surface-tech .hero--b2c .hero-purpose {
    display: none;
  }

  body.surface-tech .hero--b2c .hero-scenarios {
    display: flex;
    gap: 0.6rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 0.7rem;
    scroll-snap-type: x mandatory;
    scrollbar-color: rgba(47, 240, 180, 0.48) transparent;
    scrollbar-width: thin;
  }

  body.surface-tech .hero-scenario {
    flex: 0 0 min(78vw, 310px);
    min-height: 218px;
    border: 1px solid rgba(123, 179, 255, 0.16);
    scroll-snap-align: start;
  }

  body.surface-tech .hero-trust.vm-action-dock {
    display: flex;
    width: 100%;
    overflow-x: auto;
    border-radius: 14px;
    scrollbar-width: none;
  }

  body.surface-tech .hero-trust.vm-action-dock::-webkit-scrollbar {
    display: none;
  }

  body.surface-tech .hero-trust__badge {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  body.surface-tech .hero-scenario:nth-child(even) {
    border-left: 1px solid rgba(123, 179, 255, 0.16);
  }

  body.surface-tech .hero-scenario:nth-child(n + 2) {
    border-top: 1px solid rgba(123, 179, 255, 0.16);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.surface-tech .hero--b2c::before {
    animation: none;
    transform: none;
  }
}
