/* Scoped HomeV3 FAQ + CTA skin for Image Upscaler (no .hv3-page side effects). */
.iu-home-end {
  --hv3-bg: #0a0d12;
  --hv3-purple: #5f34ff;
  --hv3-text: #ffffff;
  --hv3-text-muted: #a4a7ae;
  --hv3-text-dim: #717680;
  --hv3-border: #252b37;
  --hv3-content: 1600px;
  --hv3-btn-h: 43px;
  --hv3-btn-min-w: 270px;

  position: relative;
  overflow: visible;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    color-mix(in srgb, var(--hv3-bg) 18%, transparent) 90px,
    color-mix(in srgb, var(--hv3-bg) 48%, transparent) 200px,
    color-mix(in srgb, var(--hv3-bg) 82%, transparent) 320px,
    var(--hv3-bg) 440px,
    var(--hv3-bg) 100%
  );
  color: var(--hv3-text);
}

.iu-home-end .hv3-content {
  max-width: var(--hv3-content);
  margin: 0 auto;
}

.iu-home-end .hv3-faq {
  padding: 0 24px;
}

.iu-home-end .hv3-faq h2 {
  margin: 0 0 48px;
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.96px;
  color: var(--hv3-text);
  text-align: center;
}

.iu-home-end .hv3-faq-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.iu-home-end .hv3-faq-row {
  display: flex;
  gap: 32px;
}

.iu-home-end .hv3-faq-item {
  flex: 1 1 calc((100% - 32px) / 2);
  max-width: calc((100% - 32px) / 2);
  min-width: 0;
  text-align: left;
  border: none;
  border-top: 1px solid var(--hv3-border);
  background: transparent;
  color: var(--hv3-text);
  padding: 24px 0 0;
  cursor: pointer;
}

.iu-home-end .hv3-faq-item.open {
  border-top-color: transparent;
  padding-top: 0;
}

.iu-home-end .hv3-faq-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.iu-home-end .hv3-faq-inner > svg,
.iu-home-end .hv3-faq-inner > span {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}

.iu-home-end .hv3-faq-item .q {
  font-size: 20px;
  font-weight: 600;
  line-height: 30px;
}

.iu-home-end .hv3-faq-item .a {
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 24px;
  color: var(--hv3-text-dim);
}

.iu-home-end .hv3-cta {
  position: relative;
  width: 100%;
  height: 429px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.iu-home-end .hv3-cta-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.iu-home-end .hv3-cta-panel {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: none;
  padding: 24px;
}

.iu-home-end .hv3-cta-panel h2 {
  margin: 0 0 12px;
  font-size: 48px;
  font-weight: 600;
  color: var(--hv3-text);
}

.iu-home-end .hv3-cta-panel p {
  margin: 0 auto 24px;
  max-width: 720px;
  color: var(--hv3-text-muted);
  font-size: 16px;
  line-height: 24px;
}

.iu-home-end .hv3-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: var(--hv3-btn-h);
  min-width: var(--hv3-btn-min-w);
  padding: 0 20px;
  border-radius: 8px;
  background: var(--hv3-purple);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-sizing: border-box;
}

/* Testimonials (HomeV3) */
.iu-home-end .hv3-testimonials {
  position: relative;
  padding: 0 24px;
  overflow: visible;
}

.iu-home-end .hv3-testimonials .glow {
  position: absolute;
  left: 50%;
  top: -180px;
  z-index: 0;
  width: min(120%, calc(var(--hv3-content) + 200px));
  height: 860px;
  transform: translateX(-50%);
  pointer-events: none;
  user-select: none;
  background: radial-gradient(
    ellipse 62% 55% at 50% 42%,
    rgba(0, 80, 210, 0.16) 0%,
    rgba(0, 56, 170, 0.08) 28%,
    rgba(0, 36, 110, 0.03) 52%,
    transparent 74%
  );
  filter: blur(2px);
}

.iu-home-end .hv3-testimonials .hv3-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 100px;
}

.iu-home-end .hv3-testimonials .hv3-content--testimonials-simple {
  gap: 48px;
}

.iu-home-end .hv3-testimonials .hv3-content--testimonials-simple .hv3-cta-wrap {
  margin-top: 0;
}

.iu-home-end .hv3-t-top {
  display: flex;
  flex-direction: column;
  gap: 50px;
  width: 100%;
}

.iu-home-end .hv3-t-heading {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: none;
}

.iu-home-end .hv3-testimonials h2 {
  margin: 0;
  font-size: 48px;
  font-weight: 600;
  line-height: 60px;
  letter-spacing: -0.96px;
  color: var(--hv3-text);
  text-align: center;
}

.iu-home-end .hv3-testimonials .sub {
  margin: 0 auto;
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
  color: var(--hv3-text-muted);
  text-align: center;
  max-width: 728px;
}

.iu-home-end .hv3-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 17px 0;
  border: none;
  border-radius: 12px;
  overflow: visible;
  margin: 0;
  gap: 0;
}

.iu-home-end .hv3-stat {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  color: var(--hv3-text);
  text-align: left;
}

.iu-home-end .hv3-stat strong {
  flex-shrink: 0;
  display: inline;
  font-size: 30px;
  font-weight: 500;
  line-height: 38px;
  white-space: nowrap;
  margin: 0;
}

.iu-home-end .hv3-stat .stat-label {
  font-size: 20px;
  font-weight: 500;
  line-height: 30px;
  color: var(--hv3-text);
  white-space: nowrap;
}

.iu-home-end .hv3-stat .badge {
  width: 61px;
  height: 74px;
  object-fit: contain;
  flex-shrink: 0;
  margin: 0;
}

.iu-home-end .hv3-stat .divider {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 66px;
  background: rgba(233, 234, 235, 0.22);
}

.iu-home-end .hv3-social-bar {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 15px 0;
  border: 0.5px solid #414650;
  border-radius: 12px;
  overflow: hidden;
}

.iu-home-end .hv3-social-bar .title {
  margin: 0;
  padding: 0 16px;
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  color: #535862;
  text-align: center;
}

.iu-home-end .hv3-logos {
  position: relative;
  width: 100%;
  height: 59px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 80px,
    #000 calc(100% - 80px),
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 80px,
    #000 calc(100% - 80px),
    transparent 100%
  );
}

.iu-home-end .hv3-logos-track {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  width: max-content;
  height: 100%;
  will-change: transform;
  animation: iu-hv3-logos-marquee 60s linear infinite;
}

.iu-home-end .hv3-logos-group {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 40px;
  padding-right: 40px;
  flex-shrink: 0;
  height: 100%;
}

.iu-home-end .hv3-social-bar:hover .hv3-logos-track {
  animation-play-state: paused;
}

@keyframes iu-hv3-logos-marquee {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .iu-home-end .hv3-logos-track {
    animation: none;
  }
}

.iu-home-end .hv3-logo {
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
  pointer-events: none;
}

.iu-home-end .hv3-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  -webkit-user-drag: none;
}

.iu-home-end .hv3-t-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  align-items: stretch;
}

.iu-home-end .hv3-t-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.iu-home-end .hv3-t-card {
  display: flex;
  flex-direction: column;
  gap: 40px;
  height: 100%;
  min-height: 320px;
  padding: 30px 20px;
  border-radius: 20px;
  background: rgba(24, 29, 39, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.03);
}

.iu-home-end .hv3-t-card .card-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1 1 auto;
}

.iu-home-end .hv3-t-card .stars {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.iu-home-end .hv3-t-card .quote {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 26px;
  color: var(--hv3-text);
  flex: none;
}

.iu-home-end .hv3-t-card .card-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  flex-shrink: 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.iu-home-end .hv3-t-card .user {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.iu-home-end .hv3-t-card .user img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.iu-home-end .hv3-t-card .user strong {
  display: block;
  overflow: hidden;
  font-size: 20px;
  font-weight: 500;
  line-height: 26px;
  color: var(--hv3-text);
  white-space: nowrap;
  text-overflow: ellipsis;
}

.iu-home-end .hv3-t-card .user span {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 16px;
  font-weight: 500;
  line-height: 22px;
  color: var(--hv3-text-dim);
  word-break: break-word;
}

.iu-home-end .hv3-t-card .result {
  flex-shrink: 0;
  max-width: 149px;
  text-align: right;
}

.iu-home-end .hv3-t-card .result em {
  display: block;
  font-style: normal;
  font-size: 16px;
  font-weight: 500;
  line-height: 26px;
  color: var(--hv3-text);
}

.iu-home-end .hv3-t-card .result span {
  display: block;
  font-size: 16px;
  font-weight: 700;
  line-height: 26px;
  color: #079455;
  white-space: pre-line;
}

.iu-home-end .hv3-cta-wrap {
  display: flex;
  justify-content: center;
  margin-top: -50px;
}

.iu-home-end .hv3-overlay-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: var(--hv3-btn-h);
  min-width: var(--hv3-btn-min-w);
  border: none;
  background: rgba(106, 59, 255, 0.4);
  color: #f7f5ff;
  border-radius: 12px;
  padding: 8px 16px;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  cursor: pointer;
  backdrop-filter: blur(12px);
  white-space: nowrap;
  text-decoration: none;
  box-sizing: border-box;
}

@media (max-width: 1200px) {
  .iu-home-end .hv3-stats {
    flex-wrap: wrap;
    padding: 16px 20px;
    gap: 12px 0;
  }

  .iu-home-end .hv3-stat {
    flex: 1 1 45%;
    padding: 8px 12px;
  }

  .iu-home-end .hv3-stat .divider {
    display: none;
  }

  .iu-home-end .hv3-t-grid,
  .iu-home-end .hv3-t-grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
}

@media (max-width: 900px) {
  .iu-home-end .hv3-faq h2 {
    font-size: 32px;
    line-height: 1.25;
  }

  .iu-home-end .hv3-cta-panel h2 {
    font-size: clamp(22px, 5vw, 32px);
    line-height: 1.25;
    white-space: normal;
  }

  .iu-home-end .hv3-faq-row {
    flex-direction: column;
    gap: 0;
  }

  .iu-home-end .hv3-faq-item {
    flex-basis: auto;
    max-width: none;
  }

  .iu-home-end .hv3-cta {
    height: auto;
    min-height: 360px;
    padding: 48px 0;
  }

  .iu-home-end .hv3-testimonials h2 {
    font-size: clamp(22px, 5.5vw, 32px);
    line-height: 1.25;
    letter-spacing: -0.64px;
    white-space: normal;
  }

  .iu-home-end .hv3-testimonials .glow {
    top: -100px;
    height: min(560px, 78vw);
  }

  .iu-home-end .hv3-t-grid,
  .iu-home-end .hv3-t-grid--3 {
    grid-template-columns: 1fr;
  }

  .iu-home-end .hv3-stat {
    flex: 1 1 100%;
  }

  .iu-home-end .hv3-stat strong {
    font-size: 24px;
  }

  .iu-home-end .hv3-stat .stat-label {
    font-size: 16px;
    line-height: 24px;
  }

  .iu-home-end .hv3-testimonials .hv3-content {
    gap: 48px;
  }

  .iu-home-end .hv3-cta-wrap {
    margin-top: 0;
  }
}

/* Quiet stage light behind mid-page content. Large, low-contrast
   washes — not colored orbs. Hero / testimonials stay mostly clear. */
.seo-modals-page,
.seo-lp {
  position: relative;
  isolation: isolate;
}

.seo-modals-page::before,
.seo-lp::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  mix-blend-mode: screen;
  background-image:
    radial-gradient(
      circle 52vw at 50% 48%,
      rgba(95, 52, 255, 0.11) 0%,
      rgba(95, 52, 255, 0.045) 42%,
      transparent 70%
    ),
    radial-gradient(
      circle 38vw at 72% 54%,
      rgba(66, 93, 255, 0.06) 0%,
      transparent 64%
    );
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.4) 16%,
    #000 28%,
    #000 62%,
    rgba(0, 0, 0, 0.4) 76%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.4) 16%,
    #000 28%,
    #000 62%,
    rgba(0, 0, 0, 0.4) 76%,
    transparent 100%
  );
}

@media (max-width: 900px) {
  .seo-modals-page::before,
  .seo-lp::before {
    background-image:
      radial-gradient(
        circle 70vw at 50% 48%,
        rgba(95, 52, 255, 0.09) 0%,
        rgba(95, 52, 255, 0.03) 46%,
        transparent 72%
      );
  }
}

