/* ==========================================================================
   Video Surveys — Product page
   Following Voxpopme frontend design skill guidelines
   Prefix: vs-  (Video Surveys)
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS custom properties (shared across product pages)
   -------------------------------------------------------------------------- */

:root {
  --vox-purple: #341C4C;
  --vox-lilac: #95569E;
  --vox-highlight-green: #58B999;
  --vox-warm-white: #FAFAFA;
  --vox-light-gray: #F3F4F6;
  --vox-cool-gray: #6B7280;
  --vox-charcoal: #1F2937;
  --vox-gray-200: #E0E0E0;
  --vox-white: #FFFFFF;
}

/* --------------------------------------------------------------------------
   Orphan and widow prevention
   -------------------------------------------------------------------------- */

.vs-hero__title,
.vs-outcome__title,
.vs-problem__title,
.vs-solution__title,
.vs-caps__title,
.vs-doors__title,
.vs-how__title,
.vs-bottom-cta__title,
.vs-stats__text,
.vs-eyebrow {
  text-wrap: balance;
}

.vs-hero__body,
.vs-outcome__body,
.vs-problem__body,
.vs-solution__body,
.vs-how__body {
  text-wrap: balance;
}

.vs-problem__punchline,
.vs-testimonial__quote {
  text-wrap: balance;
}

.vs-pain__text,
.vs-solution-bullet__text,
.vs-cap__desc,
.vs-door__text,
.vs-how-step__text {
  text-wrap: pretty;
}

/* --------------------------------------------------------------------------
   Global heading overrides
   application.css uses .mainContent h1 (0-1-1) — two-class selectors win.
   -------------------------------------------------------------------------- */

.vs-hero .vs-hero__title {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  font-weight: 800;
  margin: 0 0 1.5rem;
}

.vs-outcome .vs-outcome__title {
  font-size: clamp(1.5rem, 2.5vw, 1.75rem);
  line-height: 1.3;
  font-weight: 600;
  margin: 0 0 1.5rem;
}

.vs-problem .vs-problem__title {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  line-height: 1.3;
  font-weight: 600;
  margin: 0 0 1.5rem;
}

.vs-solution .vs-solution__title {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  line-height: 1.3;
  font-weight: 600;
  margin: 0 0 1.5rem;
}

.vs-caps .vs-caps__title {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  line-height: 1.3;
  font-weight: 600;
  margin: 0 0 1.5rem;
}

.vs-cap .vs-cap__name {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
}

.vs-doors .vs-doors__title {
  font-size: clamp(1.5rem, 2.5vw, 1.75rem);
  line-height: 1.3;
  font-weight: 600;
  margin: 0 0 1.5rem;
}

.vs-doors .vs-door__title {
  font-size: 1.25rem;
  line-height: 1.3;
  font-weight: 600;
  margin: 0 0 1.5rem;
}

.vs-how .vs-how__title {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  line-height: 1.3;
  font-weight: 600;
  margin: 0 0 1.5rem;
}

.vs-testimonial .vs-testimonial__quote {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
}

.vs-bottom-cta .vs-bottom-cta__title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.25;
  font-weight: 700;
  margin: 0 0 1.5rem;
}

/* --------------------------------------------------------------------------
   Shared CTA buttons (mirrors product page pattern)
   -------------------------------------------------------------------------- */

.vs-btn {
  display: inline-block;
  background: var(--vox-highlight-green);
  color: var(--vox-white);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 1rem 2.25rem;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
  border: none;
}

.vs-btn:hover {
  background: #4aa085;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(88, 185, 153, 0.3);
  color: var(--vox-white);
}

.vs-btn--outline {
  background: transparent;
  color: var(--vox-purple);
  border: 2px solid var(--vox-purple);
  padding: 0.875rem 2.25rem;
  border-radius: 8px;
}

.vs-btn--outline:hover {
  background: var(--vox-purple);
  color: var(--vox-white);
  box-shadow: none;
  transform: translateY(-2px);
}

.vs-btn--white {
  background: var(--vox-white);
  color: var(--vox-purple);
}

.vs-btn--white:hover {
  background: var(--vox-light-gray);
  color: var(--vox-purple);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.vs-btn--text {
  color: var(--vox-purple);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  transition: color 0.2s ease;
}

.vs-btn--text:hover {
  color: var(--vox-lilac);
}

/* --------------------------------------------------------------------------
   Eyebrow label
   -------------------------------------------------------------------------- */

.vs-eyebrow {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--vox-lilac);
  margin-bottom: 1rem;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.vs-hero {
  position: relative;
  overflow: hidden;
  background: var(--vox-warm-white);
  padding: 7rem 0 5rem;
}

.vs-hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.vs-hero__title {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  font-weight: 800;
  color: var(--vox-purple);
  margin: 0 0 1.5rem;
}

.vs-hero__body {
  font-size: clamp(1.05rem, 1.5vw, 1.175rem);
  line-height: 1.65;
  color: var(--vox-cool-gray);
  margin: 0 0 2.5rem;
}

.vs-hero__ctas {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.vs-hero__media {
  display: flex;
  align-items: center;
  justify-content: center;
}

.vs-hero__media video,
.vs-hero__media img {
  width: 100%;
  height: auto;
}

@media (max-width: 860px) {
  .vs-hero {
    padding: 5rem 0 3.5rem;
  }
  .vs-hero .container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .vs-hero__content {
    max-width: 100%;
    text-align: center;
  }
  .vs-hero__body {
    margin-left: auto;
    margin-right: auto;
    max-width: 36rem;
  }
  .vs-hero__ctas {
    justify-content: center;
  }
}

/* --------------------------------------------------------------------------
   Outcome section (video + text, 60/40 split)
   -------------------------------------------------------------------------- */

.vs-outcome {
  background: var(--vox-white);
  padding: 5rem 0 6rem;
}

.vs-outcome__layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.vs-outcome__media {
  display: flex;
  align-items: center;
  justify-content: center;
}

.vs-outcome__media video,
.vs-outcome__media img {
  width: 85%;
  height: auto;
}

.vs-outcome__title {
  font-size: clamp(1.5rem, 2.5vw, 1.75rem);
  font-weight: 600;
  color: var(--vox-purple);
  margin: 0 0 1.5rem;
  line-height: 1.3;
}

.vs-outcome__body {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--vox-cool-gray);
  margin: 0 0 2rem;
}

@media (max-width: 860px) {
  .vs-outcome__layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* --------------------------------------------------------------------------
   Problem section
   -------------------------------------------------------------------------- */

.vs-problem {
  background: var(--vox-light-gray);
  padding: 5rem 0 6rem;
}

.vs-problem .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.vs-problem__content {
  max-width: 32rem;
}

.vs-problem__title {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 600;
  color: var(--vox-purple);
  margin: 0 0 1.5rem;
  line-height: 1.3;
}

.vs-problem__body {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--vox-cool-gray);
  margin: 0 0 1.75rem;
}

.vs-pain-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}

.vs-pain-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.875rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--vox-charcoal);
}

.vs-pain-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.4rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #95569e;
}

.vs-problem__punchline {
  font-size: 1rem;
  font-weight: 600;
  color: var(--vox-purple);
  margin: 0;
  font-style: normal;
}

.vs-problem__media {
  display: flex;
  align-items: center;
  justify-content: center;
}

.vs-problem__media img {
  width: 85%;
  height: auto;
}

@media (max-width: 860px) {
  .vs-problem .container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .vs-problem__content {
    max-width: 100%;
  }
}

/* --------------------------------------------------------------------------
   Solution section
   -------------------------------------------------------------------------- */

.vs-solution {
  background: var(--vox-warm-white);
  padding: 5rem 0 6rem;
}

.vs-solution .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.vs-solution__media {
  display: flex;
  align-items: center;
  justify-content: center;
}

.vs-solution__media img {
  width: 85%;
  height: auto;
}

.vs-solution__content {
  max-width: 32rem;
}

.vs-solution__title {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 600;
  color: var(--vox-purple);
  margin: 0 0 1.5rem;
  line-height: 1.3;
}

.vs-solution__body {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--vox-cool-gray);
  margin: 0 0 1.75rem;
}

.vs-solution-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 2.25rem;
}

.vs-solution-bullets li {
  margin-bottom: 1.25rem;
}

.vs-solution-bullets li:last-child {
  margin-bottom: 0;
}

.vs-solution-bullet__label {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--vox-charcoal);
  margin: 0 0 0.25rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.vs-solution-bullet__label::before {
  content: '';
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #95569e;
  margin-top: 0.4rem;
}

.vs-solution-bullet__text {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--vox-cool-gray);
  margin: 0;
  padding-left: 1.5rem;
}

@media (max-width: 860px) {
  .vs-solution .container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .vs-solution__media {
    order: 0;
  }
  .vs-solution__content {
    max-width: 100%;
  }
}

/* --------------------------------------------------------------------------
   Capabilities grid
   -------------------------------------------------------------------------- */

.vs-caps {
  background: var(--vox-light-gray);
  padding: 5rem 0 6rem;
}

.vs-caps__header {
  text-align: center;
  max-width: 52rem;
  margin: 0 auto 3.5rem;
}

.vs-caps__title {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 600;
  color: var(--vox-purple);
  margin: 0 0 1.5rem;
  line-height: 1.3;
}

.vs-caps__subtitle {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--vox-cool-gray);
  margin: 0;
}

.vs-caps__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 2rem;
  row-gap: 0;
}

.vs-cap {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 3;
  margin-bottom: 2rem;
  background: var(--vox-white);
  border: 1px solid var(--vox-gray-200);
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.3s ease;
}

.vs-cap:hover {
  border-color: var(--vox-lilac);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(149, 86, 158, 0.1);
}

.vs-cap__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(149, 86, 158, 0.1);
  border-radius: 10px;
  margin-bottom: 1.25rem;
}

.vs-cap__icon svg {
  width: 24px;
  height: 24px;
  color: var(--vox-lilac);
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.vs-cap__name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--vox-purple);
  margin: 0 0 0.75rem;
}

.vs-cap__desc {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--vox-cool-gray);
  margin: 0;
}

@media (max-width: 1023px) {
  .vs-caps__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .vs-caps__grid {
    grid-template-columns: 1fr;
    max-width: 24rem;
    margin: 0 auto;
  }
}

/* --------------------------------------------------------------------------
   Three front doors (mini section — product applied to outcomes)
   -------------------------------------------------------------------------- */

.vs-doors {
  background: var(--vox-white);
  padding: 5rem 0 6rem;
}

.vs-doors__header {
  text-align: center;
  max-width: 52rem;
  margin: 0 auto 3.5rem;
}

.vs-doors__title {
  font-size: clamp(1.5rem, 2.5vw, 1.75rem);
  font-weight: 600;
  color: var(--vox-purple);
  margin: 0 0 1.5rem;
  line-height: 1.3;
}

.vs-doors__subtitle {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--vox-cool-gray);
  margin: 0;
}

.vs-doors__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 2rem;
  row-gap: 0;
}

.vs-door {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 4;
  background: var(--vox-white);
  border: 1px solid var(--vox-gray-200);
  border-radius: 12px;
  padding: 2.25rem 2rem;
  transition: all 0.3s ease;
}

.vs-door:hover {
  border-color: var(--vox-lilac);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(149, 86, 158, 0.1);
}

.vs-door__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--vox-lilac);
  margin-bottom: 0.75rem;
}

.vs-door__title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--vox-purple);
  margin: 0 0 0.875rem;
  line-height: 1.3;
}

.vs-door__text {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--vox-cool-gray);
  margin: 0 0 1.25rem;
}

.vs-door__cta {
  margin-top: auto;
  color: var(--vox-purple);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  transition: color 0.2s ease;
}

.vs-door__cta:hover {
  color: var(--vox-lilac);
}

@media (max-width: 1023px) {
  .vs-doors__grid {
    grid-template-columns: 1fr;
    max-width: 32rem;
    margin: 0 auto;
    column-gap: 0;
    row-gap: 0;
  }
  .vs-door {
    margin-bottom: 1.5rem;
  }
  .vs-door:last-child {
    margin-bottom: 0;
  }
}

/* --------------------------------------------------------------------------
   How it works section
   -------------------------------------------------------------------------- */

.vs-how {
  background: var(--vox-warm-white);
  padding: 5rem 0 6rem;
}

.vs-how .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.vs-how__content {
  max-width: 32rem;
}

.vs-how__title {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 600;
  color: var(--vox-purple);
  margin: 0 0 1.5rem;
  line-height: 1.3;
}

.vs-how__body {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--vox-cool-gray);
  margin: 0 0 2rem;
}

.vs-how-steps {
  list-style: none;
  padding: 0;
  margin: 0 0 2.5rem;
  counter-reset: how-step;
}

.vs-how-steps li {
  counter-increment: how-step;
  position: relative;
  padding-left: 3.25rem;
  margin-bottom: 1.5rem;
  min-height: 2.25rem;
}

.vs-how-steps li:last-child {
  margin-bottom: 0;
}

.vs-how-steps li::before {
  content: counter(how-step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2.25rem;
  height: 2.25rem;
  background: var(--vox-purple);
  color: var(--vox-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 700;
}

.vs-how-step__label {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--vox-charcoal);
  margin: 0 0 0.25rem;
  padding-top: 0.15rem;
}

.vs-how-step__text {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--vox-cool-gray);
  margin: 0;
}

.vs-how__media {
  display: flex;
  align-items: center;
  justify-content: center;
}

.vs-how__media img {
  width: 85%;
  height: auto;
}

@media (max-width: 860px) {
  .vs-how .container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .vs-how__content {
    max-width: 100%;
  }
}

/* --------------------------------------------------------------------------
   Testimonial
   -------------------------------------------------------------------------- */

.vs-testimonial {
  background: var(--vox-purple);
  padding: 5rem 0;
}

.vs-testimonial .container {
  max-width: 52rem;
}

.vs-testimonial__inner {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.vs-testimonial__photo {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--vox-lilac);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--vox-white);
  font-size: 0.75rem;
  font-style: italic;
  overflow: hidden;
}

.vs-testimonial__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vs-testimonial__content {
  flex: 1;
}

.vs-testimonial__quote {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  line-height: 1.6;
  color: var(--vox-white);
  margin: 0 0 1.25rem;
  font-weight: 500;
  position: relative;
}

.vs-testimonial__quote::before {
  content: '\201C';
  font-size: 3rem;
  font-weight: 800;
  color: var(--vox-lilac);
  line-height: 1;
  display: block;
  margin-bottom: 0.25rem;
}

.vs-testimonial__cite {
  font-style: normal;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
}

.vs-testimonial__cite strong {
  display: block;
  color: var(--vox-white);
  font-weight: 600;
  margin-bottom: 0.125rem;
}

@media (max-width: 767px) {
  .vs-testimonial__inner {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }
}

/* --------------------------------------------------------------------------
   Bottom CTA
   -------------------------------------------------------------------------- */

.vs-bottom-cta {
  background: var(--vox-warm-white);
  padding: 5rem 0;
  text-align: center;
}

.vs-bottom-cta .container {
  max-width: 52rem;
}

.vs-bottom-cta__title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--vox-purple);
  margin: 0 0 1.5rem;
}

.vs-bottom-cta__body {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--vox-cool-gray);
  margin: 0 0 2rem;
}

/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .vs-cap,
  .vs-door,
  .vs-btn {
    transition: none;
  }
  .vs-cap:hover,
  .vs-door:hover,
  .vs-btn:hover {
    transform: none;
  }
}
