/* Homepage hero overrides (loaded after index-extra.min.css)
   Goal: blue→navy gradient + subtle grid, bigger escrow/lock, orange hook, numbered steps.
*/

.home-hero{
  position: relative;
  color: rgba(255,255,255,.96);
  border: 1px solid rgba(255,255,255,.16);
  /* Softer, deeper gradient to reduce glare and improve readability */
  background:
    radial-gradient(1100px 520px at 18% 18%, rgba(56,189,248,.35), transparent 60%),
    radial-gradient(900px 420px at 82% 72%, rgba(99,102,241,.28), transparent 62%),
    linear-gradient(135deg, rgba(30,64,175,.92) 0%, rgba(8,47,73,.96) 100%);
}

/* Subtle grid overlay */
.home-hero::before{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,.08) 0 1px, transparent 1px 28px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.08) 0 1px, transparent 1px 28px);
  opacity: .08;
}

/* Gentle glow (no heavy animation) */
.home-hero::after{
  content: "";
  position: absolute;
  inset: -2px;
  pointer-events: none;
  border-radius: inherit;
  background:
    radial-gradient(900px 320px at 12% 18%, rgba(255,255,255,.18), transparent 60%),
    radial-gradient(900px 340px at 88% 72%, rgba(99,102,241,.18), transparent 62%);
  opacity: .55;
}

.hero-inner{position: relative; z-index: 2;}

/* Readability panels: add a subtle dark glass behind the left content so text stays crisp */
.hero-left{
  background: rgba(2, 23, 44, .38);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 26px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 24px 70px rgba(0,0,0,.28);
}
.hero-left *{text-shadow: 0 1px 0 rgba(0,0,0,.10);}
.hero-left .hero-sub{color: rgba(226,232,240,.92);}
.hero-left .hero-footnote{color: rgba(226,232,240,.72) !important;}
@media (max-width: 575px){
  .hero-left{border-radius: 22px;}
}


/* Top-right powered badge */
.escrow-powered-badge{
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  /* Darker chip to avoid color clash on bright hero areas */
  background: rgba(5,20,35,.38);
  border: 1px solid rgba(255,255,255,.22);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.escrow-powered-text{
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
  color: rgba(255,255,255,.90);
}
.escrow-wordmark{
  display: inline-flex;
  align-items: baseline;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.02em;
  /* Stronger contrast for green wordmark on blue background */
  text-shadow:
    0 1px 0 rgba(0,0,0,.70),
    0 10px 26px rgba(0,0,0,.28),
    0 0 14px rgba(255,255,255,.10);
}
.escrow-wordmark .ew-main{ color:#22c55e; }
.escrow-wordmark .ew-dot{ color:#bbf7d0; margin:0 1px; }
.escrow-wordmark .ew-suffix{ color:#22c55e; opacity:.98; font-weight: 850; }
.escrow-wordmark--sm{ font-size: 14px; }
.escrow-wordmark--lg{ font-size: 18px; }

/* Add a subtle backdrop behind the green wordmark so it stays readable */
.escrow-powered-badge .escrow-wordmark,
.hero-topbar-left .escrow-wordmark{
  padding: 2px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,.22);
  border: 1px solid rgba(255,255,255,.14);
}
.hero-topbar-left .escrow-wordmark{ padding: 3px 12px; }

@media (max-width: 575px){
  .escrow-powered-badge{top: 10px; right: 10px; padding: 7px 9px;}
  .escrow-powered-text{font-size: 11px;}
  .escrow-wordmark--sm{ font-size: 13px; }
  .escrow-wordmark--lg{ font-size: 16px; }
  .escrow-powered-badge .escrow-wordmark,
  .hero-topbar-left .escrow-wordmark{ padding: 2px 8px; }
}

/* Hero headline and supporting text */
.hero-kicker{
  color: #ffffff;
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.22);
  text-shadow: 0 1px 0 rgba(0,0,0,.10), 0 18px 46px rgba(0,0,0,.22);
}

.hero-sub{
  color: rgba(255,255,255,.90);
}

.hero-big-claim{
  margin-top: 10px;
  font-weight: 900;
  letter-spacing: -0.03em;
  font-size: 2.0rem;
  line-height: 1.05;
  /* Make the "You keep 100% of your money" claim pop without changing other text colors */
  color: #22c55e;
  text-shadow: 0 8px 22px rgba(0,0,0,.22);
}
@media (max-width: 575px){
  .hero-big-claim{font-size: 1.55rem;}
}

/* Orange, loud commission hook */
.hero-hook{
  /* Light card for maximum readability on the hero background */
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(255,255,255,.55);
  box-shadow: 0 20px 44px rgba(0,0,0,.18);
}
.hero-hook::before{display:none !important;}
.hero-hook-text{color: #0b2a4a; font-weight: 900;}
.hero-hook-text strong{
  color: #0b2a4a;
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
}

/* Trust pills: readable on dark gradient */
.home-hero .trust-pill{
  background: rgba(15,23,42,.34);
  border-color: rgba(255,255,255,.14);
  color: rgba(255,255,255,.94);
}
.home-hero .trust-pill .fw-bold{color: rgba(255,255,255,.96);}
.home-hero .trust-pill:hover{filter: brightness(1.05); box-shadow: 0 18px 40px rgba(0,0,0,.22);}

/* Search area + note */
.hero-search{
  background: rgba(2, 23, 44, .28) !important;
  border-color: rgba(255,255,255,.16) !important;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.hero-search .form-control,
.hero-search .form-select{background: rgba(255,255,255,.90) !important;}

/* Show/Hide Search button: high contrast on the hero gradient */
.home-hero #filterToggleBtn{
  background: rgba(255,255,255,.10) !important;
  border: 1px solid rgba(255,255,255,.30) !important;
  color: rgba(255,255,255,.96) !important;
  font-weight: 800;
  letter-spacing: .01em;
  text-shadow: 0 1px 0 rgba(0,0,0,.35);
}
.home-hero #filterToggleBtn i{color: rgba(255,255,255,.96) !important;}
.home-hero #filterToggleBtn:hover{
  background: rgba(255,255,255,.16) !important;
  border-color: rgba(255,255,255,.40) !important;
  box-shadow: 0 18px 40px rgba(0,0,0,.18);
}
.home-hero #filterToggleBtn:focus,
.home-hero #filterToggleBtn:focus-visible{
  outline: 2px solid rgba(255,255,255,.55);
  outline-offset: 2px;
}
.hero-search-note{
  margin-top: 8px;
  font-size: 12px;
  color: rgba(226,232,240,.92);
}

/* Steps: bigger icon + number */
.hero-step{
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.18);
}
.hero-step-ico{
  width: 56px;
  height: 56px;
  border-radius: 18px;
  font-size: 1.35rem;
  background: rgba(255,255,255,.14);
  color: #ffffff;
  position: relative;
}
.hero-step-num{
  position: absolute;
  top: -8px;
  left: -8px;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  background: rgba(255,255,255,.92);
  color: #0b2a4a;
  border: 1px solid rgba(0,0,0,.10);
}
.hero-step-title{color: #ffffff; font-weight: 800;}
.hero-step-text{color: rgba(226,232,240,.92);}

.hero-side{
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.18);
}
.hero-side-title{color: #ffffff;}
.hero-side-sub{color: rgba(226,232,240,.92);}
.hero-side-note{color: rgba(226,232,240,.92);}

/* Top lock + logo */
.hero-topbar{margin-bottom: 8px;}
.hero-topbar-left{display:flex; align-items:center; gap:12px;}
.hero-lock-wrap{
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.92);
  box-shadow: 0 18px 40px rgba(0,0,0,.18);
}
.hero-lock-wrap i{color: #0284c7; font-size: 1.55rem;}

/* Premium badge: gold */
.premium-tag{
  background: linear-gradient(135deg, rgba(56,189,248,.98) 0%, rgba(17,88,150,.98) 100%);
  border-color: rgba(0,0,0,.20) !important;
  color: #111827 !important;
}
.premium-tag .premium-text{font-weight: 900 !important;}

/* Hero illustration (Premium visual) */
.hero-right{display:flex; flex-direction:column; gap:14px;}
.hero-visual{
  width:100%;
  border-radius:22px;
  overflow:hidden;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  padding: 10px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.hero-visual-img{
  width:100%;
  height:auto;
  max-width:520px;
  max-height:260px;
  object-fit:contain;
  filter: drop-shadow(0 24px 60px rgba(0,0,0,.22));
}
@media (max-width: 991px){
  .hero-visual-img{max-height:240px;}
}
@media (max-width: 575px){
  .hero-right{gap:12px;}
  .hero-visual{padding:8px; border-radius:18px;}
  .hero-visual-img{max-height:210px;}
}

/* ------------------------------------------------------------
   MID HERO (Market Snapshot) — more relaxed / professional
   - reduce “box inside box” feeling
   - increase breathing space
   - improve mobile gutters + padding
------------------------------------------------------------ */

.mid-hero{
  /* More spacious on desktop */
  padding: 26px 26px 22px;
  border-radius: 24px;
  /* Softer container treatment (less “frame-y”) */
  border: 1px solid rgba(15,23,42,.08);
  box-shadow: 0 18px 56px rgba(15,23,42,.08);
  background:
    radial-gradient(900px 260px at 12% 0%, rgba(14,165,233,.12), transparent 62%),
    radial-gradient(900px 260px at 88% 0%, rgba(34,197,94,.10), transparent 66%),
    linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.86) 100%);
}

.mid-hero-sub{
  /* Slightly lighter + easier to scan */
  font-weight: 550;
  max-width: 72ch;
}

.snapshot-row{ margin-top: 12px !important; }

/* Cards: soften borders/shadows to avoid nested-card look */
.summary-card{
  border-radius: 20px;
  border: 1px solid rgba(15,23,42,.08) !important;
  box-shadow: 0 14px 40px rgba(15,23,42,.10);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

/* On colorful gradient cards, use a lighter border for a cleaner edge */
.trend-card,
.latest-card,
.expiring-card{
  border-color: rgba(255,255,255,.22) !important;
}

/* Give card content more room (overrides p-3) */
.mid-hero .summary-card .card-body{
  padding: 18px !important;
}

/* Bulletin window: remove hard border, use subtle inset instead */
.bulletin-window{
  border: 0 !important;
  border-radius: 16px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.28);
}

/* Reduce divider contrast so it doesn’t feel like another box */
.bulletin-item{
  border-bottom-color: rgba(255,255,255,.14) !important;
}

/* Mobile tuning */
@media (max-width: 768px){
  .mid-hero{ padding: 18px 16px 14px; border-radius: 20px; }
  .snapshot-row{ margin-top: 10px !important; }
  .mid-hero .summary-card .card-body{ padding: 16px !important; }
}

@media (max-width: 575px){
  .mid-hero{ padding: 14px 12px 12px; border-radius: 18px; }
  .snapshot-row{ --bs-gutter-x: .9rem; --bs-gutter-y: .9rem; }
  .mid-hero-kicker-pill{ padding: 8px 12px; }
  .mid-hero-sub{ font-size: .92rem; }
  .bulletin-window{ height: 260px; }
}
/* ------------------------------------------------------------
   HERO V9 — Less boxy, brighter, more professional
   (Overrides earlier dark/navy hero styling)
------------------------------------------------------------ */

.home-hero{
  color: #0b2a4a !important;
  border: 1px solid rgba(15,23,42,.10) !important;
  background:
    radial-gradient(980px 420px at 86% 18%, rgba(20,184,166,.14), transparent 60%),
    radial-gradient(860px 360px at 14% 10%, rgba(37,99,235,.14), transparent 62%),
    radial-gradient(1100px 460px at 72% 98%, rgba(124,58,237,.08), transparent 66%),
    linear-gradient(135deg, rgba(255,255,255,.94) 0%, rgba(241,245,249,.72) 100%) !important;
  box-shadow: 0 26px 78px rgba(15,23,42,.10) !important;
}

/* soften grid overlay (remove the “mesh” feeling) */
.home-hero::before{
  background-image:
    repeating-linear-gradient(0deg, rgba(15,23,42,.10) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(90deg, rgba(15,23,42,.10) 0 1px, transparent 1px 34px) !important;
  opacity: .035 !important;
}

.home-hero::after{
  background:
    radial-gradient(1000px 360px at 14% 16%, rgba(37,99,235,.10), transparent 62%),
    radial-gradient(980px 340px at 88% 72%, rgba(20,184,166,.10), transparent 64%) !important;
  opacity: .65 !important;
}

/* Remove the big left “panel” box — keep content airy */
.hero-left{
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}
.hero-left *{text-shadow:none !important;}

/* Headline: no capsule box, just clean typography */
.hero-kicker{
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  color:#0b2a4a !important;
  text-shadow:none !important;
  font-weight: 800 !important;
}

.hero-sub{ color: rgba(15,23,42,.72) !important; }
.hero-search-note{ color: rgba(15,23,42,.58) !important; }
.hero-footnote{ color: rgba(15,23,42,.55) !important; }

.hero-big-claim{
  color: #16a34a !important;
  text-shadow: 0 10px 24px rgba(22,163,74,.18) !important;
}

/* Hook: readable, but not “another box inside box” */
.hero-hook{
  background: rgba(255,255,255,.76) !important;
  border: 1px solid rgba(15,23,42,.08) !important;
  box-shadow: 0 14px 34px rgba(15,23,42,.10) !important;
}
.hero-hook-text{ color:#0b2a4a !important; font-weight: 800 !important; }
.hero-hook-text strong{ color:#ff6a00 !important; }

/* Trust pills: brighter chips (not dark) */
.home-hero .trust-pill{
  background: rgba(255,255,255,.72) !important;
  border-color: rgba(15,23,42,.10) !important;
  color: rgba(15,23,42,.82) !important;
  box-shadow: 0 10px 20px rgba(15,23,42,.06);
}
.home-hero .trust-pill .fw-bold{ color: rgba(15,23,42,.86) !important; }

/* Make colored trust pills still readable on light hero */
.trust-pill--escrow{
  background: linear-gradient(135deg, rgba(79,70,229,.10), rgba(20,184,166,.10)) !important;
  color: rgba(11,42,74,.88) !important;
}
.trust-pill--ssl{
  background: rgba(37,99,235,.08) !important;
  color: rgba(11,42,74,.88) !important;
}

/* Search block: light glass, not dark */
.hero-search{
  background: rgba(255,255,255,.78) !important;
  border-color: rgba(15,23,42,.10) !important;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

/* Steps panel: keep structure but reduce boxiness */
.hero-side{
  background: rgba(255,255,255,.76) !important;
  border: 1px solid rgba(15,23,42,.10) !important;
  box-shadow: 0 16px 40px rgba(15,23,42,.08) !important;
}

.hero-step{
  background: rgba(255,255,255,.70) !important;
  border-color: rgba(15,23,42,.08) !important;
}
.hero-step-ico{
  background: rgba(37,99,235,.10) !important;
  color:#1d4ed8 !important;
}
.hero-step-num{
  background: #0b2a4a !important;
  color:#ffffff !important;
  border-color: rgba(255,255,255,.30) !important;
}
.hero-step-title{ color:#0b2a4a !important; }
.hero-step-text{ color: rgba(15,23,42,.68) !important; }

/* Mobile: a touch more padding so nothing feels cramped */
@media (max-width: 575px){
  .home-hero{ padding: 20px 14px 16px !important; }
  .hero-kicker{ line-height: 1.08 !important; }
  .hero-hook{ margin-top: 10px; }
}

/* Right side visual + steps: lighter containers, fewer “frames” */
.hero-visual{
  background: rgba(255,255,255,.78) !important;
  border: 1px solid rgba(15,23,42,.10) !important;
  box-shadow: 0 18px 44px rgba(15,23,42,.10) !important;
}
.hero-visual-img{filter: drop-shadow(0 20px 46px rgba(15,23,42,.18)) !important;}



/* ------------------------------------------------------------------
   Escrow.com wordmark — lighter teal/green tone for readability on
   the new light/glass hero background (requested).
-------------------------------------------------------------------*/
.home-hero .escrow-powered-badge{
  background: rgba(255,255,255,.78);
  border-color: rgba(15,23,42,.10);
  box-shadow: 0 12px 30px rgba(2,8,23,.12);
}
.home-hero .escrow-powered-text{
  color: rgba(15,23,42,.60);
}
.home-hero .escrow-powered-badge .escrow-wordmark,
.home-hero .hero-topbar-left .escrow-wordmark{
  background: transparent;
  border: 0;
  padding: 0;
}
.home-hero .escrow-wordmark{
  text-shadow: 0 1px 0 rgba(255,255,255,.85), 0 10px 24px rgba(2,8,23,.10);
}
.home-hero .escrow-wordmark .ew-main{ color:#0ea5e9; }   /* soft blue */
.home-hero .escrow-wordmark .ew-dot{ color: rgba(16,185,129,.70); margin:0 1px; } /* soft green */
.home-hero .escrow-wordmark .ew-suffix{ color:#10b981; font-weight: 850; } /* soft green */

/* ===================================================== */
/* LIGHT + PREMIUM HERO (mobile & desktop)               */
/* Goal: keep design, improve readability, avoid "dark". */
/* ===================================================== */

.home-hero{
  color: #0b2a4a;
  border-color: rgba(15,23,42,.10);
  background:
    radial-gradient(1100px 520px at 18% 18%, rgba(56,189,248,.22), transparent 60%),
    radial-gradient(900px 420px at 82% 72%, rgba(99,102,241,.14), transparent 62%),
    linear-gradient(135deg, rgba(255,255,255,.96) 0%, rgba(219,234,254,.92) 50%, rgba(191,219,254,.88) 100%);
}

.home-hero::before{
  background-image:
    repeating-linear-gradient(0deg, rgba(15,23,42,.08) 0 1px, transparent 1px 28px),
    repeating-linear-gradient(90deg, rgba(15,23,42,.08) 0 1px, transparent 1px 28px);
  opacity: .06;
}

.home-hero::after{
  background:
    radial-gradient(900px 320px at 12% 18%, rgba(255,255,255,.55), transparent 60%),
    radial-gradient(900px 340px at 88% 72%, rgba(99,102,241,.18), transparent 62%);
  opacity: .85;
}

/* Content panels become light glass for easy reading */
.hero-left{
  background: rgba(255,255,255,.72);
  border-color: rgba(15,23,42,.10);
  box-shadow: 0 24px 70px rgba(2,6,23,.10);
}
.hero-left *{ text-shadow: none; }
.hero-left .hero-sub{ color: rgba(15,23,42,.78); }
.hero-left .hero-footnote{ color: rgba(15,23,42,.60) !important; }

.hero-kicker{
  color: #0b2a4a;
  background: rgba(255,255,255,.78);
  border-color: rgba(15,23,42,.12);
  text-shadow: none;
}

.hero-sub{ color: rgba(15,23,42,.78); }

.hero-big-claim{
  color: #16a34a;
  text-shadow: 0 10px 24px rgba(22,163,74,.18);
}

/* Keep the orange hook as a bright card */
.hero-hook{
  background: rgba(255,255,255,.92);
  border-color: rgba(15,23,42,.10);
  box-shadow: 0 20px 44px rgba(2,6,23,.12);
}
.hero-hook-text,
.hero-hook-text strong{ color:#0b2a4a; }

/* Trust pills: light, readable, no hiding/scroll tricks */
.home-hero .trust-pill{
  background: rgba(255,255,255,.72);
  border-color: rgba(15,23,42,.10);
  color: rgba(11,42,74,.92);
}
.home-hero .trust-pill .fw-bold{ color: #0b2a4a; }
.home-hero .trust-pill:hover{ filter: brightness(1.03); box-shadow: 0 18px 40px rgba(2,6,23,.10); }

/* Search panel */
.hero-search{
  background: rgba(255,255,255,.62) !important;
  border-color: rgba(15,23,42,.10) !important;
}
.hero-search .form-control,
.hero-search .form-select{ background: rgba(255,255,255,.95) !important; }

/* Toggle button */
.home-hero #filterToggleBtn{
  background: rgba(255,255,255,.70) !important;
  border-color: rgba(15,23,42,.12) !important;
  color: #0b2a4a !important;
  text-shadow: none;
}
.home-hero #filterToggleBtn i{ color: #0b2a4a !important; }
.home-hero #filterToggleBtn:hover{
  background: rgba(255,255,255,.82) !important;
  box-shadow: 0 18px 40px rgba(2,6,23,.10);
}
.home-hero #filterToggleBtn:focus,
.home-hero #filterToggleBtn:focus-visible{
  outline: 2px solid rgba(59,130,246,.35);
  outline-offset: 2px;
}

.hero-search-note{ color: rgba(15,23,42,.70); }

/* Steps + right panel */
.hero-step{
  background: rgba(255,255,255,.62);
  border-color: rgba(15,23,42,.10);
}
.hero-step-ico{
  background: rgba(15,23,42,.06);
  color: #0b2a4a;
}
.hero-step-title{ color: #0b2a4a; }
.hero-step-text{ color: rgba(15,23,42,.72); }

.hero-side{
  background: rgba(255,255,255,.66);
  border-color: rgba(15,23,42,.10);
  box-shadow: 0 20px 60px rgba(2,6,23,.10);
}
.hero-side-title{ color: #0b2a4a; }
.hero-side-sub,
.hero-side-note{ color: rgba(15,23,42,.74); }

/* Powered badge: light chip */
.escrow-powered-badge{
  background: rgba(255,255,255,.76);
  border-color: rgba(15,23,42,.12);
}
.escrow-powered-text{ color: rgba(11,42,74,.78); }
.escrow-powered-badge .escrow-wordmark,
.hero-topbar-left .escrow-wordmark{
  background: rgba(255,255,255,.92);
  border-color: rgba(15,23,42,.10);
  text-shadow: none;
}

/* Mobile: keep layout clean without breaking the design */
@media (max-width: 575px){
  .hero-left{ background: rgba(255,255,255,.78); }
  .hero-kicker{ background: rgba(255,255,255,.86); }
}
