/* Homepage hero + dark nav redesign (staging). Scoped to body.cs-hp-redesign only. */
body.cs-hp-redesign {
  --cs-hp-navy: #0a1324;
  --cs-hp-navy-2: #07101c;
  --cs-hp-blue: #1677ff;
  --cs-hp-sky: #4db3ff;
  --cs-hp-green: #22c55e;
  --cs-hp-orange: #ff8a00;
  --cs-hp-ink: #f2f4f7;
  --cs-hp-muted: rgba(242, 244, 247, 0.78);
  --cs-hp-glass: rgba(10, 19, 36, 0.55);
  --cs-hp-border: rgba(77, 179, 255, 0.22);
  --cs-hp-header-h: 72px;
}

/* Nav chrome lives in cs-nav-v2.css (global). Keep only hero surface styles here. */

/* ===== Hero ===== */
body.cs-hp-redesign section.cs-hero.custom-banner-sec {
  position: relative;
  overflow: hidden;
  background: #050a14 !important;
  color: #fff !important;
  padding: var(--cs-hp-header-h) 0 28px !important;
  margin: 0;
}

body.cs-hp-redesign section.cs-hero.custom-banner-sec:before,
body.cs-hp-redesign section.cs-hero.custom-banner-sec:after {
  content: none !important;
  display: none !important;
}

body.cs-hp-redesign .cs-hero__stage {
  position: relative;
  overflow: hidden;
  background: #050a14;
  /* Center a fixed 1760px artboard; stage height follows the image */
  display: flex;
  justify-content: center;
  align-items: stretch;
}

body.cs-hp-redesign .cs-hero__bg {
  position: relative;
  z-index: 0;
  pointer-events: none;
  line-height: 0;
  width: min(1760px, 100%);
  max-width: 1760px;
  flex: 0 1 1760px;
}

body.cs-hp-redesign .cs-hero__bg-img {
  display: block;
  width: 100%;
  height: auto;
  /* Display width targets 1760px. Source PNG must be >= 1760px wide
     or the browser will upscale and look soft. */
}

body.cs-hp-redesign .cs-hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg,
      rgba(5, 10, 20, 0.88) 0%,
      rgba(5, 10, 20, 0.55) 30%,
      rgba(5, 10, 20, 0.18) 48%,
      rgba(5, 10, 20, 0) 64%);
}

body.cs-hp-redesign .cs-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
}

body.cs-hp-redesign .cs-hero__container {
  position: relative;
  max-width: 1240px;
  width: 100%;
  display: flex;
  align-items: center;
  padding-top: 28px;
  padding-bottom: 28px;
}

body.cs-hp-redesign .cs-hero__copy {
  max-width: 500px;
  width: 100%;
  padding-right: 8px;
}

body.cs-hp-redesign .cs-hero__trust-wrap {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin-top: 0;
  padding-top: 8px;
  background: #050a14;
}

body.cs-hp-redesign .cs-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  margin: 0 0 8px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(77, 179, 255, 0.18);
  color: #eaf6ff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.2;
}

body.cs-hp-redesign .cs-hero__title {
  margin: 0 0 8px;
  font-family: Montserrat, sans-serif;
  font-weight: 800;
  font-size: clamp(1.7rem, 2.8vw, 2.45rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #fff;
}

body.cs-hp-redesign .cs-hero__title-line {
  display: block;
}

body.cs-hp-redesign .cs-hero__title-accent {
  background: linear-gradient(90deg, var(--cs-hp-sky) 0%, var(--cs-hp-blue) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

body.cs-hp-redesign .cs-hero__lead {
  margin: 0 0 10px;
  color: var(--cs-hp-muted);
  font-size: 0.92rem;
  line-height: 1.45;
  max-width: 34em;
}

body.cs-hp-redesign .cs-hero__checks {
  list-style: none;
  margin: 0 0 10px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 12px;
}

body.cs-hp-redesign .cs-hero__checks li {
  position: relative;
  padding-left: 26px;
  color: #fff;
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.3;
}

body.cs-hp-redesign .cs-hero__checks li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--cs-hp-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23fff' d='M6.2 11.2L2.9 7.9l1.1-1.1 2.2 2.2 5-5 1.1 1.1z'/%3E%3C/svg%3E") center/12px no-repeat;
}

body.cs-hp-redesign .cs-hero__callouts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 0 0 10px;
}

body.cs-hp-redesign .cs-hero__callout {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  padding: 8px 9px;
  border-radius: 12px;
  background: rgba(7, 12, 22, 0.55);
  border: 1px solid var(--cs-hp-border);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  min-height: 0;
}

body.cs-hp-redesign .cs-hero__callout p {
  margin: 0;
  color: var(--cs-hp-muted);
  font-size: 0.75rem;
  line-height: 1.35;
}

body.cs-hp-redesign .cs-hero__callout strong {
  color: #fff;
  font-weight: 700;
}

body.cs-hp-redesign .cs-hero__callout-icon {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(22, 119, 255, 0.18);
  color: var(--cs-hp-sky);
  font-size: 13px;
}

body.cs-hp-redesign .cs-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

body.cs-hp-redesign .cs-hero__btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 12px;
  font-family: Montserrat, sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none !important;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  visibility: visible !important;
  opacity: 1 !important;
  width: auto;
  max-width: none;
  background-image: none !important;
}

body.cs-hp-redesign .cs-hero__btn:hover,
body.cs-hp-redesign .cs-hero__btn:focus {
  transform: translateY(-1px);
}

body.cs-hp-redesign .cs-hero__btn--primary {
  background: var(--cs-hp-blue);
  color: #fff !important;
  border: 1px solid var(--cs-hp-blue);
  box-shadow: 0 10px 28px rgba(22, 119, 255, 0.28);
}

body.cs-hp-redesign .cs-hero__btn--ghost {
  background: transparent;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.55);
}

body.cs-hp-redesign .cs-hero__fineprint {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: rgba(242, 244, 247, 0.7);
  font-size: 0.85rem;
  font-weight: 600;
}

body.cs-hp-redesign .cs-hero__shield {
  color: var(--cs-hp-sky);
}

body.cs-hp-redesign .cs-hero__trustbar {
  margin-top: 0;
  padding: 22px 18px 18px;
  border-radius: 0;
  background: #050a14;
  border: 0;
}

body.cs-hp-redesign .cs-hero__trust-icon--flag {
  background: rgba(22, 119, 255, 0.18);
}

body.cs-hp-redesign .cs-hero__trust-icon--flag svg {
  display: block;
}

body.cs-hp-redesign .cs-hero__trust-title {
  margin: 0 0 16px;
  text-align: center;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
}

body.cs-hp-redesign .cs-hero__trust-title span {
  color: var(--cs-hp-sky);
}

body.cs-hp-redesign .cs-hero__trust-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

body.cs-hp-redesign .cs-hero__trust-grid li {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  color: rgba(242, 244, 247, 0.9);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.3;
}

body.cs-hp-redesign .cs-hero__trust-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--cs-hp-sky);
  background: rgba(22, 119, 255, 0.14);
  border: 1px solid rgba(77, 179, 255, 0.22);
  font-size: 0.95rem;
}

body.cs-hp-redesign .cs-hero__trust-icon .fa-dollar-sign,
body.cs-hp-redesign .cs-hero__trust-icon .fa-chart-line {
  font-size: 1.35em;
  line-height: 1;
}

/* Soften transition into existing light sections */
body.cs-hp-redesign section.benefits-sec.home_benefit {
  padding-top: 48px;
}

/* ===== Responsive ===== */
@media (max-width: 1199px) {
  body.cs-hp-redesign .cs-hero__title {
    font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  }
}

@media (max-width: 991px) {
  body.cs-hp-redesign {
    --cs-hp-header-h: 64px;
  }

  body.cs-hp-redesign section.cs-hero.custom-banner-sec {
    padding: var(--cs-hp-header-h) 0 24px !important;
  }

  body.cs-hp-redesign .cs-hero__stage {
    display: block;
    min-height: 0;
  }

  body.cs-hp-redesign .cs-hero__bg {
    position: absolute;
    inset: 0;
    width: auto;
    max-width: none;
    flex: none;
  }

  body.cs-hp-redesign .cs-hero__bg-img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: 72% center;
  }

  body.cs-hp-redesign .cs-hero__overlay {
    position: relative;
    inset: auto;
  }

  body.cs-hp-redesign .cs-hero__scrim {
    background:
      linear-gradient(180deg,
        rgba(7, 12, 22, 0.55) 0%,
        rgba(7, 12, 22, 0.78) 42%,
        rgba(7, 12, 22, 0.92) 100%),
      linear-gradient(90deg,
        rgba(7, 12, 22, 0.55) 0%,
        rgba(7, 12, 22, 0.2) 100%);
  }

  body.cs-hp-redesign .cs-hero__container {
    padding-top: 22px;
    padding-bottom: 28px;
  }

  body.cs-hp-redesign .cs-hero__copy {
    max-width: none;
    padding-right: 0;
  }

  body.cs-hp-redesign .cs-hero__trust-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px 10px;
  }
}

@media (max-width: 767px) {
  body.cs-hp-redesign .cs-hero__checks {
    grid-template-columns: 1fr;
  }

  body.cs-hp-redesign .cs-hero__callouts {
    grid-template-columns: 1fr;
  }

  body.cs-hp-redesign .cs-hero__callout {
    min-height: 0;
  }

  body.cs-hp-redesign .cs-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  body.cs-hp-redesign .cs-hero__btn {
    width: 100%;
  }

  body.cs-hp-redesign .cs-hero__trustbar {
    padding: 18px 14px 14px;
  }

  body.cs-hp-redesign .cs-hero__trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.cs-hp-redesign .cs-hero__lead {
    font-size: 0.98rem;
  }
}

@media (max-width: 414px) {
  body.cs-hp-redesign .cs-hero__title {
    font-size: 1.85rem;
  }

  body.cs-hp-redesign .cs-hero__eyebrow {
    font-size: 10px;
  }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  body.cs-hp-redesign .cs-hero__btn {
    transition: none;
  }
}
