/* =========================================================
   One Page Parallax — Full CSS (RESPONSIVE + UNBREAKABLE)
   FIXES IN THIS VERSION:
   ✅ Meta highlighters: 3 in ONE LINE (desktop), 2 (tablet), 1 (mobile)
   ✅ Meta icons: BIGGER + PERFECT CIRCLE OUTER CHIP
   ✅ Trust pill icons: RESTORED + CIRCLE CHIP (no disappearing)
   ✅ "See How It Works" button: SAME CLEAN SHAPE like other buttons
      (removes the broken SVG-dash underline issue safely)
   ✅ No horizontal overflow
   ========================================================= */

/* ---------- Root ---------- */
:root{
  --text:#0b1220;
  --muted: rgba(11,18,32,.68);
  --line: rgba(11,18,32,.10);

  --p1:#b71c40;
  --p2:#da3786;
  --p3:#fbba49;

  --grad: linear-gradient(135deg, var(--p1) 0%, var(--p2) 52%, var(--p3) 100%);
  --grad-bg: linear-gradient(
    135deg,
    rgba(183, 28, 64, 0.88) 0%,
    rgba(218, 55, 134, 0.84) 55%,
    rgba(251, 186, 73, 0.82) 100%
  );

  --glass: rgba(255,255,255,.14);
  --card:#ffffff;

  --shadow: 0 18px 55px rgba(2,6,23,.18);
  --shadow-soft: 0 14px 38px rgba(2,6,23,.14);

  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;

  --max: 1120px;
}

/* ---------- Base ---------- */
*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
html, body{ overflow-x:hidden; }

body{
  margin:0;
  width:100%;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color: var(--text);
  line-height: 1.55;
  background: var(--grad-bg);
  min-height: 100vh;
}

/* fixed bg (mobile-safe fallback) */
@media (hover: none){
  body{ background-attachment: scroll; }
}
@media (hover: hover){
  body{ background-attachment: fixed; }
}

/* overlay background */
body:before{
  content:"";
  position: fixed;
  inset: 0;
  background-image: url("./assets/bg-overlay.svg");
  background-size: cover;
  background-position: center;
  opacity: .75;
  pointer-events: none;
  z-index: -1;
}

a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; height:auto; }

.container{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}
@media (max-width:560px){
  .container{ padding: 0 16px; }
}

/* ---------- Sections ---------- */
.section{ padding: 92px 0; }
.section.tight{ padding: 72px 0; }

.section-title{
  font-size: clamp(26px, 2.8vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  color: rgba(255,255,255,.95);
}
.section-sub{
  margin: 0 0 28px;
  font-size: clamp(15px, 1.2vw, 18px);
  color: rgba(255,255,255,.80);
  max-width: 82ch;
}

/* =========================================================
   NAVBAR (Single row + Drawer)
   ========================================================= */
.topbar{
  position: sticky;
  top: 0;
  z-index: 70;
  background: rgba(255,255,255,.13);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.18);
}

.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  padding: 14px 0;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight: 950;
  letter-spacing: -0.02em;
  color:#fff;
  flex: 0 1 auto;
  min-width: 0;
}

.brand .logo{
  width:38px;
  height:38px;
  border-radius: 14px;
  background: var(--grad);
  background-size: 220% 220%;
  animation: gradientShift 4.5s ease infinite;
  display:grid;
  place-items:center;
  box-shadow: 0 10px 26px rgba(2,6,23,.25);
  flex: 0 0 auto;
}
.brand .logo svg{ width:22px; height:22px; }

.nav-actions{
  display:flex;
  gap:10px;
  align-items:center;
  flex: 0 0 auto;
}

/* Always hidden until menu opens */
.navlinks{ display:none !important; }

/* Drawer */
body.menu-open .navlinks{
  display:flex !important;
  position: fixed;
  top: 74px;
  left: 0;
  width: min(420px, 88vw);
  height: calc(100vh - 74px);
  overflow-y: auto;

  flex-direction: column;
  gap: 12px;
  padding: 20px 18px;

  background: rgba(255,255,255,.14);
  backdrop-filter: blur(18px);

  border-right: 1px solid rgba(255,255,255,.22);
  border-radius: 0 24px 24px 0;

  box-shadow: 18px 0 55px rgba(2,6,23,.30);

  z-index: 60;
  transform: translateX(-100%);
  animation: drawerSlideIn .26s cubic-bezier(.4,0,.2,1) forwards;
}
@keyframes drawerSlideIn{ to { transform: translateX(0); } }

body.menu-open .navlinks a{
  padding: 14px 14px;
  border-radius: 16px;
  color: rgba(255,255,255,.94);
  font-size: 15px;
  font-weight: 650;
  transition: background .15s ease, transform .15s ease;
}
body.menu-open .navlinks a:hover{
  background: rgba(255,255,255,.14);
  transform: translateX(2px);
}

/* overlay behind drawer */
body.menu-open::after{
  content:"";
  position: fixed;
  inset: 74px 0 0 0;
  background: rgba(2,6,23,.32);
  backdrop-filter: blur(2px);
  z-index: 40;
}

/* Mobile header fit */
@media (max-width:560px){
  .nav{ gap: 10px; }

  .brand{ max-width: 58%; }
  .brand span:last-child{
    display:block;
    overflow:hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13px;
  }

  .nav-actions{ gap: 8px; }
  .nav-actions .btn{
    padding: 10px 12px;
    border-radius: 14px;
    font-size: 12px;
  }

  /* Hide "View Programs" button on very small screens to prevent overflow */
  .nav-actions .btn.ghost{ display:none; }
}

/* =========================================================
   BUTTONS
   ========================================================= */
@keyframes gradientShift{
  0%{ background-position: 0% 50%; }
  50%{ background-position: 100% 50%; }
  100%{ background-position: 0% 50%; }
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 12px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.24);
  background: rgba(255,255,255,.12);
  color:#fff;
  font-weight: 950;
  font-size: 14px;
  cursor:pointer;
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.16);
}

.btn.primary{
  border:none;
  background-image: var(--grad);
  background-size: 220% 220%;
  background-position: 0% 50%;
  animation: gradientShift 4.5s ease infinite;
  box-shadow: 0 14px 34px rgba(2,6,23,.28);
}
.btn.primary:hover{
  transform: translateY(-2px);
  filter: brightness(1.03);
  box-shadow: 0 18px 42px rgba(2,6,23,.32);
}

.btn.ghost{
  background: transparent;
  border: 1px solid rgba(255,255,255,.28);
}

/* icon buttons */
.btn-icon{ gap:10px; }
.btn-ico{
  width:18px;height:18px;
  display:inline-grid; place-items:center;
}
.btn-ico svg{ width:18px;height:18px; display:block; }

/* =====================================================
   "See How It Works" — FIXED SHAPE (NO BROKEN SVG DASH)
   Keep your existing class: .btn.outline-animated
   ===================================================== */
.btn.outline-animated{
  position: relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 12px 22px;
  border-radius: 18px;

  background: rgba(255,255,255,.10);
  color: rgba(255,255,255,.92);

  border: 2px solid rgba(255,255,255,.38);
  box-shadow: 0 14px 34px rgba(2,6,23,.18);
  overflow: hidden;
  isolation: isolate;
}
.btn.outline-animated:hover{
  transform: translateY(-1px);
  border-color: rgba(255,255,255,.55);
  background: rgba(255,255,255,.14);
  box-shadow: 0 18px 40px rgba(2,6,23,.22);
}
.btn.outline-animated .btn-label{
  position: relative;
  z-index: 2;
  font-weight: 950;
  white-space: nowrap;
}
/* IMPORTANT: If your HTML has the SVG border elements, hide them to remove the ugly underline/dash */
/*.btn.outline-animated .btn-border{ display:none !important; }*/

/* =========================================================
   HERO (UNBREAKABLE GRID)
   ========================================================= */
.hero{
  position: relative;
  overflow: hidden;
  padding: 84px 0 56px;
}

.hero-grid{
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 40px;
  align-items: center;
}

.hero-left{
  display:flex;
  flex-direction:column;
  min-width:0;
}

.kicker{
  display:inline-flex;
  gap:10px;
  align-items:center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.20);
  color: rgba(255,255,255,.90);
  font-weight: 950;
  font-size: 13px;
  width: fit-content;
  max-width: 100%;
}
.kicker .dot{
  width:8px;height:8px;border-radius:50%;
  background:#fff;
  box-shadow: 0 0 0 4px rgba(255,255,255,.16);
  flex: 0 0 auto;
}

.hero h1{
  margin: 14px 0 14px;
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: rgba(255,255,255,.97);
}
.hero p{
  margin:0 0 18px;
  color: rgba(255,255,255,.84);
  font-size: clamp(16px, 1.4vw, 18px);
  max-width: 62ch;
}

/* =========================================================
   META HIGHLIGHTERS (3 IN ONE LINE)
   ========================================================= */
.meta{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)); /* ✅ 3 in one line */
  gap: 12px;
  margin-top: 14px;
}
@media (max-width: 980px){
  .meta{ grid-template-columns: repeat(2, minmax(0, 1fr)); } /* tablet */
}
@media (max-width:520px){
  .meta{ grid-template-columns: 1fr; } /* mobile */
}

/* Each meta pill */
.meta span{
  display:flex;
  align-items:center;
  gap:12px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.90);
  font-size: 13px;
  font-weight: 900;
  min-height: 54px;
  min-width: 0;
}

/* =========================================================
   ICONS — BIGGER + PERFECT CIRCLE OUTER CHIP
   (Works for your existing HTML classes .mi-ico and .pill-ico)
   ========================================================= */

/* META icon chip (bigger) */
.mi-ico{
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: grid;
  place-items: center;
  border-radius: 50%; /* ✅ perfect circle */

  background: linear-gradient(
    135deg,
    rgba(183,28,64,.95),
    rgba(218,55,134,.95)
  );

  border: 1px solid rgba(255,255,255,.22);
  box-shadow:
    0 8px 18px rgba(2,6,23,.26),
    inset 0 1px 0 rgba(255,255,255,.35);
}

.mi-ico svg{
  width: 22px;
  height: 22px;
  display:block;
  stroke: #fff;
  fill: none;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* TRUST pill icon chip (restored + circular) */
.pill-ico{
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display:grid;
  place-items:center;
  border-radius: 50%; /* ✅ circle */

  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.24);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.26);
}

.pill-ico svg{
  width: 20px;
  height: 20px;
  display:block;
  stroke:#fff;
  fill:none;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Trust pills (row on desktop, wrap on mobile) */
.trust{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.trust .pill{
  display:flex;
  gap:12px;
  align-items:center;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.20);
  background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.92);
  font-weight: 900;
  font-size: 13px;
  min-height: 56px;
  flex: 1 1 260px;
  min-width: 240px;
}
@media (max-width:520px){
  .trust .pill{ min-width: 0; flex: 1 1 100%; }
}

/* CTAs (ALWAYS below trust) */
.hero-actions{
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 12px;
  width: 100%;
  max-width: 560px;
}
.hero-actions > a{
  width:100%;
  justify-content:center;
  min-width: 0;
}
@media (max-width:420px){
  .hero-actions{ grid-template-columns: 1fr; }
}

/* Right image card (always right on desktop) */
.hero-illus{
  border-radius: calc(var(--radius-xl) + 6px);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow);
  min-width: 0;
  max-width: 520px;
  justify-self: end;
  align-self: center;
}

/* Stack on tablet/mobile */
@media (max-width: 980px){
  .hero-grid{
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: start;
  }
  .hero-illus{
    justify-self: center;
    max-width: 560px;
    width: 100%;
  }
}

/* =========================================================
   CARDS / BOXES
   ========================================================= */
.grid-3{ display:grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.grid-2{ display:grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }

@media (max-width: 980px){
  .grid-3{ grid-template-columns: 1fr; }
  .grid-2{ grid-template-columns: 1fr; }
}

.card{
  border:1px solid rgba(11,18,32,.08);
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: var(--shadow-soft);
  padding: 18px;
}
.card.soft{ background: rgba(255,255,255,.95); }
.card h3{
  margin:0 0 8px;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: rgba(11,18,32,.92);
}
.card p{ margin:0; color: var(--muted); }

.icon{
  width:44px;height:44px;
  border-radius: 16px;
  background: var(--grad);
  background-size: 220% 220%;
  animation: gradientShift 5.5s ease infinite;
  display:grid;
  place-items:center;
  margin-bottom: 12px;
  box-shadow: 0 12px 28px rgba(2,6,23,.20);
}
.icon svg{ stroke:#fff !important; }

.step{
  display:flex;
  gap:14px;
  align-items:flex-start;
  padding: 16px 16px;
  border-radius: 22px;
  background: rgba(255,255,255,.95);
  border: 1px solid rgba(11,18,32,.08);
  box-shadow: var(--shadow-soft);
}
.step .num{
  width: 44px;
  height: 44px;
  min-width: 44px;
  flex: 0 0 44px;
  border-radius: 999px;
  display:grid;
  place-items:center;
  background: var(--grad);
  background-size: 220% 220%;
  animation: gradientShift 4.8s ease infinite;
  color:#fff;
  font-weight: 950;
  font-size: 16px;
  line-height: 1;
  box-shadow: 0 12px 24px rgba(2,6,23,.18);
}
.step h4{ margin:0 0 6px; font-size:16px; color: rgba(11,18,32,.92); }
.step p{ margin:0; color: var(--muted); }

.quote{ position:relative; overflow:hidden; }
.quote:before{
  content:"“";
  position:absolute;
  left: 14px;
  top: 0px;
  font-size: 70px;
  line-height: 1;
  color: rgba(11,18,32,.10);
}
.quote p{ margin: 12px 0 12px; color: rgba(11,18,32,.76); }
.quote .who{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  color: rgba(11,18,32,.72);
  font-weight: 900;
  font-size: 13px;
}
.stars{ letter-spacing: 2px; color: rgba(183,28,64,.72); }

/* CTA wrapper */
.cta{
  border-radius: 34px;
  padding: 30px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.20);
  box-shadow: 0 18px 48px rgba(2,6,23,.22);
  backdrop-filter: blur(14px);
}
.cta h2{
  margin:0 0 10px;
  letter-spacing: -0.02em;
  color: rgba(255,255,255,.97);
}
.cta p{ margin:0 0 16px; color: rgba(255,255,255,.84); }

.form label{ display:grid; gap:6px; }
.small{ font-size:12px; color: rgba(255,255,255,.78); }

.field{
  width:100%;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(11,18,32,.14);
  background: #fff;
  color: rgba(11,18,32,.92);
  outline:none;
}
.field:focus{
  border-color: rgba(183,28,64,.58);
  box-shadow: 0 0 0 4px rgba(183,28,64,.18);
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer{
  padding: 28px 0 90px;
  border-top: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.10);
  backdrop-filter: blur(14px);
}

.footer .cols{
  display:grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap:18px;
}

.footer h4{
  margin:0 0 10px;
  font-size:14px;
  letter-spacing: -0.01em;
  color: rgba(255,255,255,.92);
}
.footer a, .footer p{
  color: rgba(255,255,255,.84);
  font-size: 14px;
  margin:0;
}
.footer a:hover{ text-decoration: underline; }
.footer .small{ color: rgba(255,255,255,.72); }

.footer .copy-right{
  text-align: center;
  width: 100%;
  padding-top: 18px;
  margin-top: 18px;
  color: rgba(255,255,255,.88);
  border-top: 1px solid rgba(255,255,255,.18);
}

@media (max-width: 980px){
  .footer .cols{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px){
  .footer .cols{ grid-template-columns: 1fr; }
}

/* =========================================================
   REVEAL
   ========================================================= */
.reveal{
  opacity:0;
  transform: translateY(14px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.in{ opacity:1; transform: translateY(0); }

/* =========================================================
   POPUP MODAL (Slim + Glass)
   ========================================================= */
.popup-overlay{
  position: fixed;
  inset: 0;
  background: rgba(2,6,23,.45);
  backdrop-filter: blur(3px);
  z-index: 120;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
}

.popup{
  position: fixed;
  inset: 0;
  z-index: 130;
  display: grid;
  place-items: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease;
}

.popup-card{
  width: min(440px, 92%);
  padding: 22px 22px 20px;
  border-radius: 28px;
  position: relative;

  background: linear-gradient(
    180deg,
    rgba(255,255,255,.88),
    rgba(255,255,255,.82)
  );

  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);

  border: 1px solid rgba(255,255,255,.65);

  box-shadow:
    0 30px 70px rgba(2,6,23,.30),
    inset 0 1px 0 rgba(255,255,255,.55);
}

.popup-head h3{ color:#0b1220; margin:0; }
.popup-head p{
  font-size: 13px;
  color: rgba(11,18,32,.75);
  margin: 6px 0 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.popup-close{
  position: absolute;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  border-radius: 16px;
  border: 1px solid rgba(11,18,32,.10);
  background: rgba(255,255,255,.48);
  backdrop-filter: blur(14px);
  cursor: pointer;
  font-size: 18px;
  display:grid;
  place-items:center;
  transition: transform .15s ease, background .15s ease;
}
.popup-close:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.70);
}

.popup-form{ display:grid; gap:10px; margin-top: 12px; }
.popup-form label{ display:grid; gap:6px; }
.popup-form span{
  font-size: 12px;
  font-weight: 900;
  color: rgba(11,18,32,.70);
}

.popup-form input,
.popup-form select{
  width: 100%;
  padding: 11px 14px;
  border-radius: 14px;
  border: 1px solid rgba(11,18,32,.18);
  background: rgba(255,255,255,.78);
  color: rgba(11,18,32,.92);
  outline: none;
  font-size: 14px;
}

.popup-form input::placeholder{ color: rgba(11,18,32,.45); }

.popup-form input:focus,
.popup-form select:focus{
  border-color: rgba(183,28,64,.45);
  box-shadow: 0 0 0 4px rgba(183,28,64,.14);
}

.popup-submit{
  margin-top: 8px;
  width: 100%;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 18px;
  font-size: 15px;
  font-weight: 950;
  color: #fff;
  border: none;
  cursor: pointer;

  background-image: var(--grad);
  background-size: 220% 220%;
  animation: gradientShift 4.5s ease infinite;

  box-shadow: 0 14px 38px rgba(2,6,23,.28);
  transition: transform .15s ease, filter .15s ease;
}
.popup-submit:hover{
  transform: translateY(-1px);
  filter: brightness(1.03);
}

.popup-ok{
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(11,18,32,.05);
  border: 1px solid rgba(11,18,32,.10);
  color: rgba(11,18,32,.75);
  font-size: 13px;
}

.popup-note{
  margin: 0;
  font-size: 12px;
  color: rgba(11,18,32,.60);
  text-align: center;
}

.popup-open .popup-overlay{
  opacity: 1;
  pointer-events: auto;
}
.popup-open .popup{
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

@media (max-width: 420px){
  .popup-card{ padding: 18px 14px 14px; border-radius: 22px; }
  .popup-head h3{ font-size: 20px; }
}

/* =========================================================
   FLOATING CONNECT NOW + BOTTOM PANEL (DESKTOP ONLY)
   ========================================================= */
.connect-float,
.bottom-overlay,
.connect-panel{ display:none; }

@media (min-width: 981px){
  .connect-float,
  .bottom-overlay,
  .connect-panel{ display:block; }
}

.connect-float{
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 200;

  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.28);

  background: var(--grad);
  background-size: 220% 220%;
  animation: gradientShift 5s ease infinite, buzz 1.8s ease-in-out infinite;

  color: #fff;
  font-weight: 950;
  font-size: 13px;
  cursor: pointer;

  box-shadow: 0 16px 42px rgba(2,6,23,.35);
}

@keyframes buzz{
  0%,100%{ transform: translateY(0); }
  50%{ transform: translateY(-4px); }
}

.bottom-overlay{
  position: fixed;
  inset: 0;
  background: rgba(2,6,23,.42);
  z-index: 180;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
}

.connect-panel{
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 190;
  transform: translateY(110%);
  transition: transform .25s cubic-bezier(.4,0,.2,1);
  pointer-events: none;
}

.connect-inner{
  max-width: 860px;
  margin: 0 auto;
  padding: 12px 16px 12px;
  border-radius: 22px 22px 0 0;

  background: rgba(255,255,255,.16);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);

  border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 -24px 70px rgba(2,6,23,.40);
}

.connect-actions{
  display:flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  padding: 8px 0 10px;
}

.btn.sm{
  padding: 9px 14px;
  font-size: 13px;
  border-radius: 999px;
}

.connect-foot{
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,.78);
}
.connect-foot a{
  color: rgba(255,255,255,.90);
  text-decoration: none;
}
.connect-foot a:hover{ text-decoration: underline; }

body.bottom-open .bottom-overlay{
  opacity: 1;
  pointer-events: auto;
}
body.bottom-open .connect-panel{
  transform: translateY(0);
  pointer-events: auto;
}

/* =========================================================
   COMPACT HIGHLIGHT / STATS PILL SECTION
   FINAL VERSION — MOBILE + DESKTOP SAFE
   ========================================================= */

/* Section background */
.stats-wrap{
  width: 100%;
  padding: clamp(10px, 1.4vw, 14px);
  border-radius: 14px;

  background: linear-gradient(180deg, #ed8299 0%, #c37084 35%, #c05b76 100%);
  position: relative;
  overflow: hidden;
}

/* Subtle texture overlay */
.stats-wrap::before{
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.15;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.25) 0 1px, transparent 2px) 0 0/26px 26px,
    radial-gradient(circle at 80% 60%, rgba(255,255,255,0.18) 0 1px, transparent 2px) 0 0/32px 32px,
    repeating-linear-gradient(135deg, rgba(255,255,255,0.07) 0 2px, transparent 2px 20px);
}

/* Content container */
.stats{
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  max-width: 700px;
}

/* Each pill */
.stat{
  display: flex;
  align-items: center;
  gap: 12px;

  width: 100%;
  padding: 10px 14px;
  min-height: 56px;

  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,0.15), rgba(255,255,255,0.08));
  border: 1px solid rgba(255,255,255,0.22);

  box-shadow:
    0 10px 24px rgba(0,0,0,0.12),
    inset 0 1px 0 rgba(255,255,255,0.18);

  overflow: hidden;
}

/* Icon bubble */
.stat__icon{
  width: 42px;
  height: 42px;
  flex: 0 0 42px;

  display: grid;
  place-items: center;

  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.18),
    0 6px 14px rgba(0,0,0,0.10);
}

/* SVG icons */
.stat__icon svg{
  width: 20px;
  height: 20px;
  color: rgba(255,255,255,0.95);
}

/* Text */
.stat__text{
  color: rgba(255,255,255,0.96);
  font-weight: 700;
  letter-spacing: 0.2px;
  font-size: clamp(14px, 1.2vw, 18px);
  line-height: 1.25;

  min-width: 0;
  word-break: break-word;
}

/* Hover polish (desktop only) */
@media (hover:hover){
  .stat:hover{
    background: linear-gradient(180deg, rgba(255,255,255,0.20), rgba(255,255,255,0.10));
    transform: translateY(-1px);
    transition: 200ms ease;
  }
}

/* Mobile tuning */
@media (max-width: 480px){
  .stats-wrap{
    border-radius: 12px;
  }

  .stat{
    border-radius: 18px;
    padding: 10px 12px;
  }

  .stat__icon{
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .stat__icon svg{
    width: 18px;
    height: 18px;
  }

  .stat__text{
    font-size: 14px;
  }
}

/* =========================================================
   FIXED OUTLINE ANIMATED BUTTON (NO DISTORTION)
   Works for <a class="btn outline-animated">...text...</a>
   ========================================================= */

/* force clean baseline */
.btn.outline-animated{
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: 100% !important;              /* matches hero grid buttons */
  min-height: 56px !important;

  padding: 14px 22px !important;
  border-radius: 18px !important;

  background: rgba(255,255,255,.10) !important;
  color: rgba(255,255,255,.95) !important;

  border: 0 !important;
  text-decoration: none !important;
  white-space: nowrap !important;

  overflow: hidden !important;          /* KEY: prevents blob/distortion */
  isolation: isolate !important;

  box-shadow: 0 14px 34px rgba(2,6,23,.18) !important;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease !important;
}

.btn.outline-animated:hover{
  transform: translateY(-1px) !important;
  background: rgba(255,255,255,.14) !important;
  box-shadow: 0 18px 40px rgba(2,6,23,.22) !important;
}

/* If you use <span class="btn-label"> keep it above animation */
.btn.outline-animated .btn-label{
  position: relative !important;
  z-index: 3 !important;
  font-weight: 950 !important;
}

/* If you DON'T use .btn-label, keep text above animation anyway */
.btn.outline-animated{
  z-index: 0;
}

/* static border */
.btn.outline-animated::after{
  content:"";
  position:absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid rgba(255,255,255,.38);
  pointer-events:none;
  z-index: 1;
}

/* running highlight line (border animation) */
.btn.outline-animated::before{
  content:"";
  position:absolute;
  inset: 0;
  border-radius: inherit;

  padding: 2px; /* border thickness */
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255,255,255,.95) 50%,
    transparent 100%
  );

  /* outline-only ring */
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;

  /* move across */
  transform: translateX(-120%);
  animation: btnBorderRun 2.4s linear infinite;

  opacity: .95;
  pointer-events:none;
  z-index: 2;
}

@keyframes btnBorderRun{
  to{ transform: translateX(120%); }
}

/* Kill any old SVG/extra elements that create underline/blobs */
.btn.outline-animated svg,
.btn.outline-animated .btn-border{
  display:none !important;
}

@media (max-width:480px){
  .btn.outline-animated{
    padding: 12px 18px !important;
    border-radius: 16px !important;
    min-height: 52px !important;
  }
}

/* accessibility */
@media (prefers-reduced-motion: reduce){
  .btn.outline-animated::before{ animation: none !important; }
}

/* ===============================
   Journey CTA Button Placement
   =============================== */

.journey-cta{
  margin-top: 34px;
  display: flex;
  justify-content: center;   /* center button */
}

/* keep button size sane */
.journey-cta .btn{
  max-width: 420px;
  width: 100%;
}

@media (max-width: 480px){
  .journey-cta{
    margin-top: 26px;
  }
}

/* ===============================
   Hero CTA spacing – mobile fix
   =============================== */

.hero-cta{
  display: flex;
  flex-direction: column;
  gap: 12px; /* default spacing */
}

/* MOBILE ONLY: extra space before Compare Programs */
@media (max-width: 480px){
  .hero-cta .secondary{
    margin-top: 10px;  /* 👈 this creates breathing space */
  }
}