.hero {
  background-image: url(../images/hero/hero-bg.png);
  background-position: center 50%;
  background-size: cover;
  background-repeat: no-repeat;
  color: var(--color-text-inverse);
  padding: var(--space-8) 0 var(--space-9);
  position: relative;
  overflow: hidden;

  animation: heroBgFloat 8s ease-in-out infinite;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgb(7 9 30 / 82%);
  pointer-events: none;
}

@keyframes heroBgFloat {
  0% {
    background-position: center 42%;
  }

  50% {
    background-position: center 58%;
  }

  100% {
    background-position: center 42%;
  }
}









.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-8);
  align-items: start;
  position: relative;
}

.hero-copy h1 {
  color: var(--color-text-inverse);
  margin-top: var(--space-4);
}
.hero-sub {
  font-size: var(--fs-body-lg);
  color: var(--color-text-on-dark-secondary);
  font-weight: 500;
}
.hero-points {
  margin: var(--space-5) 0;
}
.hero-points li {
  position: relative;
  padding-left: var(--space-6);
  margin-bottom: var(--space-2);
  color: var(--color-text-on-dark-secondary);
}
.hero-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid var(--color-teal-500);
  color: var(--color-teal-500);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}






.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: var(--space-6);

    border: 1px solid var(--color-border-on-dark);
    border-radius: var(--radius-lg);

    background: rgba(255, 255, 255, 0.025);
    overflow: hidden;

    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.hero-stats .stat {
    position: relative;
    padding: 20px 22px;

    transition:
        background 0.3s ease,
        transform 0.3s ease;
}

.hero-stats .stat + .stat {
    border-left: 1px solid var(--color-border-on-dark);
}

.hero-stats .stat:hover {
    background: rgba(255, 255, 255, 0.045);
}

.hero-stats .stat-number {
    display: flex;
    align-items: baseline;
    gap: 3px;

    color: var(--color-text-inverse);

    font-size: 25px;
    font-weight: 750;
    line-height: 1.15;
    letter-spacing: -0.025em;
    white-space: nowrap;
}

.hero-stats .stat-number span {
    font-variant-numeric: tabular-nums;
}

.hero-stats .stat-label {
    margin-top: 7px;

    color: var(--color-text-on-dark-secondary);

    font-size: var(--fs-small);
    font-weight: 500;
    line-height: 1.4;
}

/* subtle accent line */
.hero-stats .stat::before {
    content: "";
    position: absolute;

    top: 0;
    left: 22px;

    width: 28px;
    height: 2px;

    background: var(--color-teal-400);
    border-radius: 0 0 4px 4px;

    opacity: 0.75;
    transition: width 0.3s ease;
}

.hero-stats .stat:hover::before {
    width: 48px;
}

@media (max-width: 767px) {
    .hero-stats {
        grid-template-columns: 1fr;
    }

    .hero-stats .stat + .stat {
        border-left: 0;
        border-top: 1px solid var(--color-border-on-dark);
    }

    .hero-stats .stat {
        padding: 17px 20px;
    }

    .hero-stats .stat-number {
        font-size: 22px;
    }
}

/* Glass-panel funding calculator card, matching the real recurclub.com hero card */
/* .hero-calc {
  background: var(--color-navy-700);
  border: 1px solid var(--color-border-on-dark);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-lg);
  color: var(--color-text-inverse);
}
.hero-calc h3 { margin-bottom: var(--space-1); color: var(--color-text-inverse); }
.hero-calc-sub { font-size: var(--fs-small); margin-bottom: var(--space-5); color: var(--color-text-on-dark-secondary); } */

.trusted-by-label {
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--color-text-on-dark-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-6);
}

.product-card { position: relative; }
.product-card h3 { margin-top: var(--space-3); }
.product-card-links { margin-top: var(--space-4); display: flex; flex-direction: column; gap: var(--space-2); }
.product-card-links a { font-size: var(--fs-small); font-weight: 600; color: var(--color-teal-400); }
.product-card-links a:hover { text-decoration: underline; }

.stats-band {
  background: var(--color-navy-900);
  color: var(--color-text-inverse);
}
.stats-band .stat-number { color: var(--color-teal-400); }
.stats-band .stat-label { color: var(--color-text-on-dark-secondary); }

.final-cta {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    margin: 0 var(--space-5);
    padding: clamp(55px, 8vw, 90px) var(--space-6);
    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(6, 187, 132, 0.10),
            transparent 38%
        ),
        linear-gradient(
            135deg,
            var(--color-navy-700),
            var(--color-navy-900)
        );

    border: 1px solid var(--color-border-on-dark);
    border-radius: var(--radius-lg);

    color: var(--color-text-inverse);
    text-align: center;
    box-shadow:
        0 30px 70px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.final-cta::before {
    content: "";
    position: absolute;
    z-index: -1;
    width: 420px;
    height: 420px;
    top: -250px;
    left: 50%;
    transform: translateX(-50%);
    border: 1px solid rgba(6, 187, 132, 0.10);
    border-radius: 50%;
    box-shadow:
        0 0 0 45px rgba(6, 187, 132, 0.025),
        0 0 0 90px rgba(6, 187, 132, 0.018);

    pointer-events: none;
}


.final-cta::after {
    content: "";
    position: absolute;
    z-index: -1;
    width: 120px;
    height: 120px;
    right: -45px;
    bottom: -45px;
    border: 1px solid rgba(6, 187, 132, 0.12);
    border-radius: 28px;
    transform: rotate(45deg);
    box-shadow:
        0 0 0 18px rgba(6, 187, 132, 0.025);
    pointer-events: none;
}



.final-cta h2 {
    position: relative;
    margin: 0 auto;
    color: var(--color-text-inverse);
    font-size: clamp(2.15rem, 4.5vw, 3.5rem);
    font-weight: 750;
    line-height: 1.08;
    letter-spacing: -0.045em;
}

.final-cta p {
    position: relative;
    max-width: 640px;
    margin: 20px auto 30px;
    color: var(--color-text-on-dark-secondary);
    font-size: var(--fs-body-lg);
    line-height: 1.7;
}


.cta-buttons {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.cta-buttons .btn {
    min-height: 50px;
    padding: 0 25px;
    transition:
        transform 0.3s var(--ease-out-back),
        box-shadow 0.3s ease;
}

.cta-buttons .btn:hover {
    transform: translateY(-3px);
}


.final-cta > .cta-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    padding: 6px 12px;
    border: 1px solid rgba(6, 187, 132, 0.18);
    border-radius: var(--radius-pill);
    background: rgba(6, 187, 132, 0.06);
    color: var(--color-teal-400);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.final-cta > .cta-eyebrow::before {
    content: "";

    width: 6px;
    height: 6px;

    border-radius: 50%;
    background: var(--color-teal-400);

    box-shadow:
        0 0 10px rgba(6, 187, 132, 0.45);
}


/* =========================
   MOBILE
========================= */

@media (max-width: 767px) {
    .final-cta {
        margin: 0 var(--space-3);
        padding: 48px var(--space-5);
    }

    .final-cta h2 {
        font-size: 2.15rem;
    }

    .final-cta p {
        font-size: var(--fs-body);
        line-height: 1.6;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .cta-buttons .btn {
        width: 100%;
    }

    .final-cta::before {
        width: 280px;
        height: 280px;
    }
}













@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; gap: var(--space-6) var(--space-5); }
  .hero-stats .stat { flex: 0 0 calc(50% - var(--space-5)); text-align: left; }
}

@media (max-width: 420px) {
  .hero-stats .stat { flex: 0 0 100%; text-align: left; }
}
