/* Local overrides for the Marketing Switch landing page. */

/* Main hero recovery
   The fetched page relies on live layout assumptions that can collapse under
   local file preview. Keep hero-specific fixes here so we can iterate safely
   without rewriting the cloned source. */

#Main {
  --hero-navbar-height: 64px;
  min-height: clamp(560px, 76svh, 760px);
  display: flex;
  align-items: stretch;
  justify-content: center;
  isolation: isolate;
  background: linear-gradient(180deg, #060910 0%, #080d16 42%, #1a050d 100%);
}

#Main > .container,
#Main > .container > .row,
#Main > .container > .row > .col-12 {
  min-height: 0;
}

#Main > .container {
  height: 100% !important;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  padding-top: var(--hero-navbar-height);
}

#Main > .container > .row {
  width: 100%;
  min-height: 100%;
}

#Main > .container > .row > .col-12 {
  min-height: 100%;
}

#Main .col-12 {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

#Main .overlay {
  display: none !important;
  z-index: 1;
}

#Main .background-video {
  z-index: 0;
  object-position: center 46%;
}

#Main .hero-wave-stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 84% 16%, rgba(255, 161, 108, 0.12), transparent 20%),
    radial-gradient(circle at 14% 72%, rgba(88, 108, 255, 0.12), transparent 22%),
    linear-gradient(140deg, #05080f 0%, #080b13 40%, #13030a 100%);
}

#Main .hero-local-image {
  position: absolute;
  inset: 0;
  background-image: url("/static/images/black_red_img.jpg");
  background-size: cover;
  background-position: center 46%;
  background-repeat: no-repeat;
  transform: scale(1.02);
  filter: saturate(1.02) contrast(1.03) brightness(0.84);
}

#Main .hero-wave-stage::before,
#Main .hero-wave-stage::after {
  content: "";
  position: absolute;
  inset: 0;
}

#Main .hero-wave-stage::before {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 13%, transparent 13% 86%, rgba(255, 255, 255, 0.04) 86%),
    radial-gradient(circle at 50% 46%, transparent 0 56%, rgba(0, 0, 0, 0.2) 100%);
  opacity: 0.5;
}

#Main .hero-wave-stage::after {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0) 20%),
    linear-gradient(180deg, rgba(5, 8, 14, 0.1), rgba(5, 8, 14, 0) 22%, rgba(0, 0, 0, 0.12) 100%);
}

#Main .hero-wave-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.55) 0.7px, transparent 0.9px);
  background-size: 22px 22px;
  opacity: 0.08;
  mix-blend-mode: soft-light;
}

#Main .hero-wave-svg,
#Main .hero-wave-glow {
  position: absolute;
  pointer-events: none;
}

#Main .hero-local-video-wrap {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 1;
  transition: opacity 0.45s ease;
}

#Main .hero-local-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
  filter: saturate(1.08) contrast(1.04) brightness(0.92);
}

#Main.is-local-video-mode .hero-local-video-wrap {
  opacity: 0.88;
}

#Main.is-local-video-mode .hero-wave-stage::before {
  opacity: 0.22;
}

#Main.is-local-video-mode .hero-wave-stage::after {
  opacity: 0.58;
}

#Main .hero-wave-svg {
  inset: -8% -8%;
  width: 116%;
  height: 116%;
  overflow: visible;
  opacity: 0.96;
}

#Main.is-local-video-mode .hero-wave-svg,
#Main.is-local-video-mode .hero-wave-grid,
#Main.is-local-video-mode .hero-wave-glow {
  opacity: 0;
}

#Main .hero-wave-band {
  transform-origin: 50% 50%;
}

#Main .hero-wave-band-a {
  animation: heroWaveBandA 18s ease-in-out infinite alternate;
}

#Main .hero-wave-band-b {
  animation: heroWaveBandB 22s ease-in-out infinite alternate;
}

#Main .hero-wave-band-c {
  animation: heroWaveBandC 16s ease-in-out infinite alternate;
}

#Main .hero-wave-path-glow,
#Main .hero-wave-path,
#Main .hero-wave-sheen {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#Main .hero-wave-path-glow {
  opacity: 0.26;
}

#Main .hero-wave-path {
  opacity: 0.9;
}

#Main .hero-wave-sheen {
  opacity: 0.28;
}

#Main .hero-wave-glow {
  border-radius: 50%;
  filter: blur(72px);
  opacity: 0.24;
  mix-blend-mode: screen;
}

#Main .hero-wave-glow-a {
  width: 320px;
  height: 320px;
  top: -6%;
  right: 10%;
  background: radial-gradient(circle, rgba(255, 91, 122, 0.52) 0%, rgba(255, 91, 122, 0) 72%);
  animation: heroGlowPulse 14s ease-in-out infinite;
}

#Main .hero-wave-glow-b {
  width: 260px;
  height: 260px;
  left: 8%;
  bottom: 10%;
  background: radial-gradient(circle, rgba(86, 118, 255, 0.4) 0%, rgba(86, 118, 255, 0) 72%);
  animation: heroGlowPulse 18s ease-in-out infinite reverse;
}

#Main .hero-wave-glow-c {
  width: 220px;
  height: 220px;
  right: 22%;
  bottom: 8%;
  background: radial-gradient(circle, rgba(255, 188, 119, 0.4) 0%, rgba(255, 188, 119, 0) 72%);
  animation: heroGlowPulse 16s ease-in-out infinite;
}

#Main .main-content {
  position: relative;
  top: auto;
  left: auto;
  /* The parent flex layout centers this whole content group vertically. */
  transform: none;
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(16px, 3vh, 32px) 24px;
}

#Main .main-content h1 {
  font-size: 4.25rem !important;
  font-weight: 900 !important;
  letter-spacing: 0;
  line-height: 1.04;
  margin-top: 1rem;
}

#Main .main-content h1 .gradient-text {
  font-weight: 900 !important;
}

#Main .main-content h2 {
  font-size: 1.55rem !important;
  font-weight: 500 !important;
  margin-bottom: 0;
}

#Main .hero-eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin: 0 0 18px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.95rem;
}

#Main .hero-description {
  max-width: 720px;
  margin: 22px auto 0;
  color: rgba(255, 255, 255, 0.82) !important;
  font-size: 1.12rem;
  line-height: 1.8;
}

#Main .hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

#Main .hero-cta-primary,
#Main .hero-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 154px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

#Main .hero-cta-primary {
  color: #fff;
  background: linear-gradient(135deg, #ff415d, #ff7a45);
  box-shadow: 0 16px 34px rgba(255, 65, 93, 0.28);
}

#Main .hero-cta-secondary {
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
}

#Main .hero-cta-primary:hover,
#Main .hero-cta-secondary:hover {
  transform: translateY(-2px);
  color: #fff;
}

#Main .hero-proof {
  margin: 22px auto 0;
  color: rgba(255, 255, 255, 0.82) !important;
  font-size: 1rem;
}

#Main .hero-keywords {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 760px;
  margin: 18px auto 0;
}

#Main .hero-keywords span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  white-space: nowrap;
}

#Main .main-content h1,
#Main .main-content h2,
#Main .main-content p {
  text-shadow: 0 14px 38px rgba(0, 0, 0, 0.28);
}

.app-logo-marquee .marquee {
  align-items: center;
  gap: 16px;
}

.app-logo-marquee .marquee img {
  display: block;
  width: 138px;
  height: 76px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
  object-fit: contain;
  object-position: center;
}

.app-logo-marquee .marquee-bottom {
  margin-top: 16px;
}

.premium-media-marquee .marquee {
  gap: 14px;
}

.premium-media-marquee .marquee img {
  width: 128px;
  height: 76px;
  padding: 6px 10px;
  border-radius: 12px;
  object-fit: contain;
}

.mobile-nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mobile-analysis-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.35);
  color: #ffffff;
  font-size: 0.78rem;
  letter-spacing: 0;
  text-decoration: none;
  backdrop-filter: blur(8px);
}

.mobile-analysis-link:hover {
  color: #ffffff;
}

.landing-faq {
  padding: 104px 0;
  background: #f5f7fa;
  color: #111827;
}

.landing-faq-layout {
  width: min(100%, 980px);
  margin: 0 auto;
}

.landing-faq-heading {
  max-width: 640px;
  margin-bottom: 36px;
}

.landing-faq-kicker {
  margin: 0 0 10px;
  color: #ff415d;
  font-size: 0.82rem;
  letter-spacing: 0;
}

.landing-faq-heading h2 {
  margin: 0 0 12px;
  color: #111827;
  font-size: 2.35rem;
  line-height: 1.25;
  letter-spacing: 0;
}

.landing-faq-heading > p:last-child {
  margin: 0;
  color: #596273;
  font-size: 1rem;
  line-height: 1.7;
  word-break: keep-all;
}

.landing-faq-list {
  border-top: 1px solid #d8dde6;
}

.landing-faq-item {
  border-bottom: 1px solid #d8dde6;
  background: transparent;
}

.landing-faq-item summary {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 76px;
  padding: 20px 52px 20px 4px;
  color: #172033;
  font-size: 1.08rem;
  line-height: 1.5;
  letter-spacing: 0;
  list-style: none;
  cursor: pointer;
}

.landing-faq-item summary::-webkit-details-marker {
  display: none;
}

.landing-faq-item summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 8px;
  width: 32px;
  height: 32px;
  transform: translateY(-50%);
  color: #687386;
  font-family: Arial, sans-serif;
  font-size: 1.55rem;
  font-weight: 400;
  line-height: 32px;
  text-align: center;
}

.landing-faq-item[open] summary::after {
  content: "−";
}

.landing-faq-item summary:focus-visible {
  outline: 2px solid #326de6;
  outline-offset: 4px;
}

.landing-faq-question-mark,
.landing-faq-answer-mark {
  flex: 0 0 auto;
  color: #ff415d;
  font-size: 0.95rem;
  font-weight: 800;
}

.landing-faq-answer {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 0 52px 24px 4px;
  color: #596273;
  font-size: 0.98rem;
  line-height: 1.75;
}

.landing-faq-answer p {
  margin: 0;
  word-break: keep-all;
}

.landing-faq-answer p + p {
  margin-top: 6px;
}

.landing-faq-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 36px;
  padding: 26px 28px;
  border: 1px solid #d8dde6;
  border-radius: 8px;
  background: #ffffff;
}

.landing-faq-cta p {
  max-width: 650px;
  margin: 0;
  color: #172033;
  font-size: 1rem;
  line-height: 1.65;
  word-break: keep-all;
}

.landing-faq-cta a {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 6px;
  background: #172033;
  color: #ffffff;
  font-size: 0.92rem;
  letter-spacing: 0;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.landing-faq-cta a:hover {
  transform: translateY(-1px);
  background: #ff415d;
  color: #ffffff;
}

@keyframes heroWaveBandA {
  0% {
    transform: translate3d(0, 0, 0) rotate(-7deg) scale(1.01);
  }
  100% {
    transform: translate3d(3vw, -2vh, 0) rotate(-3deg) scale(1.05);
  }
}

@keyframes heroWaveBandB {
  0% {
    transform: translate3d(0, 0, 0) rotate(8deg) scale(1);
  }
  100% {
    transform: translate3d(-4vw, 2vh, 0) rotate(13deg) scale(1.04);
  }
}

@keyframes heroWaveBandC {
  0% {
    transform: translate3d(0, 0, 0) rotate(-5deg) scale(1.02);
  }
  100% {
    transform: translate3d(-3vw, -3vh, 0) rotate(-1deg) scale(1.06);
  }
}

@keyframes heroGlowPulse {
  0%,
  100% {
    transform: scale(0.92);
    opacity: 0.32;
  }
  50% {
    transform: scale(1.08);
    opacity: 0.5;
  }
}

@media (prefers-reduced-motion: reduce) {
  #Main .hero-wave-band,
  #Main .hero-wave-glow {
    animation: none !important;
  }
}

@media (max-width: 991px) {
  #Main {
    min-height: 560px;
  }

  .navbar-brand img {
    width: 138px !important;
  }

  #Main > .container {
    height: 100% !important;
  }

  #Main > .container > .row,
  #Main > .container > .row > .col-12 {
    min-height: 100%;
  }

  #Main .main-content {
    transform: none;
    padding: 40px 20px;
  }

  #Main .main-content h1 {
    font-size: 2.65rem !important;
    margin-top: 1rem;
  }

  #Main .main-content h2 {
    font-size: 1.18rem !important;
    line-height: 1.55;
  }

  #Main .hero-eyebrow {
    min-height: 30px;
    margin-bottom: 14px;
    font-size: 0.82rem;
  }

  #Main .hero-description {
    margin-top: 16px;
    font-size: 0.98rem;
    line-height: 1.7;
  }

  #Main .hero-actions {
    gap: 8px;
    margin-top: 22px;
  }

  #Main .hero-cta-primary,
  #Main .hero-cta-secondary {
    min-width: 142px;
    min-height: 44px;
    padding: 0 16px;
    font-size: 0.92rem;
  }

  #Main .hero-proof {
    margin-top: 16px;
    font-size: 0.9rem;
  }

  #Main .hero-keywords {
    gap: 6px;
    margin-top: 14px;
  }

  #Main .hero-keywords span {
    min-height: 28px;
    padding: 0 10px;
    font-size: 0.74rem;
  }

  .app-logo-marquee .marquee {
    gap: 12px;
  }

  .app-logo-marquee .marquee img {
    width: 112px;
    height: 64px;
    border-radius: 12px;
  }

  .premium-media-marquee .marquee img {
    width: 96px;
    height: 62px;
    padding: 5px 8px;
  }

  .landing-faq {
    padding: 72px 0;
  }

  .landing-faq-heading {
    margin-bottom: 26px;
  }

  .landing-faq-heading h2 {
    font-size: 1.9rem;
  }

  .landing-faq-item summary {
    min-height: 70px;
    gap: 10px;
    padding: 18px 44px 18px 2px;
    font-size: 1rem;
  }

  .landing-faq-item summary::after {
    right: 2px;
  }

  .landing-faq-answer {
    gap: 10px;
    padding: 0 38px 22px 2px;
    font-size: 0.93rem;
  }

  .landing-faq-cta {
    align-items: stretch;
    flex-direction: column;
    gap: 18px;
    margin-top: 28px;
    padding: 22px;
  }

  .landing-faq-cta a {
    width: 100%;
  }

  #Main .background-video {
    object-position: center 42%;
  }

  #Main .hero-wave-stage::before {
    opacity: 0.28;
  }

  #Main .hero-wave-svg {
    inset: -10% -18%;
    width: 136%;
    height: 124%;
  }

  #Main .hero-wave-glow-a {
    width: 180px;
    height: 180px;
  }

  #Main .hero-wave-glow-b,
  #Main .hero-wave-glow-c {
    width: 140px;
    height: 140px;
  }
}
