/* Exelity v2: dark money layer */
:root {
  --money: #34d399;
  --money-2: #10b981;
  --warn: #f87171;
  --glass: rgba(255,255,255,0.04);
  --glass-line: rgba(255,255,255,0.09);
}
body { background: var(--bg); }
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: -1;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(16,185,129,.10), transparent 60%),
    radial-gradient(700px 500px at -10% 40%, rgba(16,185,129,.05), transparent 60%);
}
h1, h2, h3, .h-xl, .h-lg { letter-spacing: -0.035em; }
.h-lg { font-weight: 800; }
.money {
  background: linear-gradient(100deg, #6ee7b7 0%, #10b981 55%, #059669 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  text-transform: uppercase; letter-spacing: .14em; font-size: 12px;
}
.eyebrow--warn { color: var(--warn) !important; }

.btn { border-radius: 999px; }
.btn--primary { background: linear-gradient(180deg, #18c98f, #0ea371); color: #04120c; font-weight: 700; }
.btn--primary:hover { background: linear-gradient(180deg, #34d399, #10b981); }
.btn--primary svg { width: 16px; height: 16px; }
.btn--glow { box-shadow: 0 0 0 1px rgba(52,211,153,.35), 0 10px 40px -8px rgba(16,185,129,.55); }
.btn--glass {
  background: rgba(255,255,255,.06); color: #fff; border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.btn--glass:hover { background: rgba(255,255,255,.12); }
.site-header { backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }

/* HERO VIDEO */
.xh { position: relative; min-height: min(92vh, 860px); display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.xh__bg { position: absolute; inset: 0; z-index: -1; background: #050706; }
.xh__bg picture, .xh__bg img, .xh__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.xh__video { opacity: 0; transition: opacity .5s ease; pointer-events: none; }
.xh__video.is-playing { opacity: 1; }
.xh__video::-webkit-media-controls, .xh__video::-webkit-media-controls-start-playback-button, .xh__video::-webkit-media-controls-overlay-play-button { display: none !important; -webkit-appearance: none; }
.xh__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(5,7,6,calc(var(--xh-dark) + .3)) 0%, rgba(5,7,6,var(--xh-dark)) 45%, rgba(5,7,6,calc(var(--xh-dark) - .25)) 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 30%);
}
.xh__inner { padding-top: 120px; padding-bottom: 120px; }
.xh__pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border-radius: 999px;
  background: rgba(16,185,129,.12); border: 1px solid rgba(52,211,153,.3); color: #a7f3d0;
  font-size: 13px; font-weight: 600; margin-bottom: 22px;
}
.xh__pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--money); box-shadow: 0 0 10px var(--money); }
.xh__title { font-size: clamp(42px, 6.6vw, 84px); line-height: 1.0; font-weight: 800; color: #fff; max-width: 13ch; margin: 0 0 22px; }
.xh__lead { font-size: clamp(17px, 1.6vw, 20px); color: rgba(255,255,255,.82); max-width: 540px; margin-bottom: 30px; }
.xh__lead p { margin: 0; }
.xh__trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; color: rgba(255,255,255,.75); font-size: 14px; }
.xh__trust span { display: inline-flex; align-items: center; gap: 7px; }
.xh__trust svg { width: 16px; height: 16px; color: var(--money); }
.xh__scroll { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); width: 24px; height: 38px; border: 2px solid rgba(255,255,255,.3); border-radius: 14px; }
.xh__scroll span { position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: xhScroll 1.8s infinite; }
@keyframes xhScroll { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* PAIN */
.leak__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.leak__card {
  position: relative; padding: 28px; border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01));
  border: 1px solid var(--glass-line); overflow: hidden;
  transition: border-color .3s ease, transform .3s ease;
}
.leak__card::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 2px; background: linear-gradient(90deg, transparent, rgba(248,113,113,.7), transparent); opacity: .6; }
.leak__card:hover { border-color: rgba(248,113,113,.35); transform: translateY(-3px); }
.leak__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.leak__num { font-size: 13px; color: var(--muted); font-weight: 600; letter-spacing: .1em; }
.leak__cost { font-size: 12px; font-weight: 700; color: var(--warn); background: rgba(248,113,113,.1); border: 1px solid rgba(248,113,113,.25); padding: 4px 10px; border-radius: 999px; }
.leak__card h3 { font-size: 20px; color: var(--heading); margin: 0 0 8px; }
.leak__card p { color: var(--text); margin: 0; font-size: 15px; }
.leak__stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 56px; border: 1px solid var(--glass-line); border-radius: 18px; overflow: hidden; background: var(--glass); }
.leak__stat { padding: 30px 26px; text-align: center; }
.leak__stat + .leak__stat { border-left: 1px solid var(--glass-line); }
.leak__stat strong { display: block; font-size: clamp(36px, 4.4vw, 54px); font-weight: 800; letter-spacing: -0.04em; color: #fff; line-height: 1; margin-bottom: 10px; }
.leak__stat span { color: var(--text); font-size: 15px; }
.leak__source { text-align: center; color: var(--muted); font-size: 12px; margin-top: 14px; }

/* CALCULATOR */
.calc__wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.calc__copy .lead { margin-top: 14px; }
.calc__box {
  position: relative; padding: 34px; border-radius: 22px;
  background: linear-gradient(180deg, #111614, #0b0e0d);
  border: 1px solid rgba(52,211,153,.22);
  box-shadow: 0 30px 80px -30px rgba(16,185,129,.35), inset 0 1px 0 rgba(255,255,255,.05);
}
.calc__field { display: block; margin-bottom: 24px; }
.calc__field > span { display: block; font-size: 14px; color: var(--heading); font-weight: 600; margin-bottom: 10px; }
.calc__field small { color: var(--muted); font-weight: 500; }
.calc__input { display: flex; align-items: center; gap: 8px; padding: 0 16px; height: 56px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid var(--glass-line); }
.calc__input b { color: var(--money); font-size: 20px; }
.calc__input input { flex: 1; background: none; border: 0; outline: 0; font-size: 22px; font-weight: 700; color: #fff; width: 100%; }
.calc__input:focus-within { border-color: rgba(52,211,153,.6); }
.calc__range { display: flex; align-items: center; gap: 16px; }
.calc__range input { flex: 1; -webkit-appearance: none; appearance: none; height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--money-2) var(--p, 20%), rgba(255,255,255,.1) var(--p, 20%)); outline: 0; }
.calc__range input::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 5px rgba(16,185,129,.35); cursor: pointer; }
.calc__range input::-moz-range-thumb { width: 22px; height: 22px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 5px rgba(16,185,129,.35); cursor: pointer; }
.calc__range output { min-width: 34px; text-align: center; font-size: 22px; font-weight: 800; color: #fff; }
.calc__result { text-align: center; padding: 24px 10px; margin: 6px 0 16px; border-radius: 14px; background: rgba(248,113,113,.06); border: 1px solid rgba(248,113,113,.2); }
.calc__result span { display: block; color: var(--text); font-size: 14px; }
.calc__result strong { display: block; font-size: clamp(40px, 5vw, 58px); font-weight: 800; letter-spacing: -0.04em; color: var(--warn); line-height: 1.1; margin: 4px 0; }
.calc__compare { display: flex; justify-content: space-between; align-items: center; padding: 14px 4px 22px; color: var(--text); font-size: 15px; }
.calc__compare b { color: var(--money); font-size: 17px; }

/* LEGIT */
.legit__wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.legit__copy { position: sticky; top: 110px; }
.legit__copy .lead { margin-top: 14px; }
.legit__callout { margin-top: 24px; padding: 18px 20px; border-left: 3px solid var(--money); background: rgba(16,185,129,.07); border-radius: 0 12px 12px 0; color: var(--heading); font-weight: 600; }
.legit__list { display: grid; gap: 12px; }
.legit__item { display: flex; gap: 18px; padding: 22px 24px; border-radius: 16px; background: var(--glass); border: 1px solid var(--glass-line); transition: border-color .3s ease, background .3s ease; }
.legit__item:hover { border-color: rgba(52,211,153,.35); background: rgba(16,185,129,.05); }
.legit__icon { flex: 0 0 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(16,185,129,.12); color: var(--money); }
.legit__icon svg { width: 22px; height: 22px; }
.legit__item h3 { font-size: 17px; color: var(--heading); margin: 2px 0 4px; }
.legit__item p { margin: 0; color: var(--text); font-size: 15px; }

/* Existing sections, dark polish */
.service, .plan, .faq details, .step, .compare__col, .work { border-color: var(--glass-line) !important; }
.services--cards .service, .plan { background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01)) !important; border-radius: 18px; }
.plan--featured { border-color: rgba(52,211,153,.5) !important; box-shadow: 0 30px 80px -30px rgba(16,185,129,.45) !important; }
.service__icon { color: var(--money); }
.cta { background: radial-gradient(700px 300px at 50% 100%, rgba(16,185,129,.18), transparent 70%); }
.trust { border-top: 1px solid var(--glass-line); border-bottom: 1px solid var(--glass-line); }

@media (max-width: 989px) {
  .calc__wrap, .legit__wrap { grid-template-columns: 1fr; gap: 36px; }
  .legit__copy { position: static; }
}
@media (max-width: 749px) {
  .xh { min-height: 88svh; align-items: flex-end; }
  .xh__shade { background: linear-gradient(0deg, var(--bg) 0%, rgba(5,7,6,calc(var(--xh-dark) + .2)) 45%, rgba(5,7,6,calc(var(--xh-dark) - .2)) 100%); }
  .xh__inner { padding-top: 90px; padding-bottom: 70px; }
  .xh__title { font-size: 42px; }
  .xh .btn-row { flex-direction: column; align-items: stretch; }
  .xh .btn-row .btn { justify-content: center; }
  .xh__scroll { display: none; }
  .leak__stats { grid-template-columns: 1fr; }
  .leak__stat + .leak__stat { border-left: 0; border-top: 1px solid var(--glass-line); }
  .calc__box { padding: 24px; }
  .legit__item { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) { .xh__scroll span { animation: none; } }
