/* === HERO (namespaced to avoid conflicts) === */
.hero {
  /* local tokens (won’t overwrite your site variables) */
  --hero-c1: #12616E;      /* main brand color */
  --hero-hover: #1889A3;   /* hover accent */
  --hero-ink: #111827;     /* near-black */
  --hero-muted: #6b7280;   /* gray 500 */
  --hero-ok: #10b981;      /* emerald (keep as is for highlights) */
  --hero-bg: #f5fdf9;      /* pale green background */

  position: relative;
  overflow: hidden;
  padding: clamp(40px, 6vw, 72px) clamp(16px, 6vw, 32px);
  background:
    radial-gradient(80% 80% at 80% 10%, rgba(18, 97, 110, .08), transparent 60%),
    radial-gradient(90% 70% at 0% 20%, rgba(24, 137, 163, .10), transparent 60%),
    var(--hero-bg);
  color: var(--hero-ink);
}

/* Typed text caret */
#typed-text::after {
  content: "|";
  animation: blink 0.7s infinite;
  color: var(--hero-c1);
  margin-left: 2px;
}

@keyframes blink {
  0%, 50%, 100% { opacity: 1; }
  25%, 75% { opacity: 0; }
}




.hero .hero-wrap {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(24px, 5vw, 48px);
  align-items: center;
}

/* Badge */
.hero .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 13px;
  background: #e6f9f4;
  color: #024737;
  box-shadow: 0 1px 0 rgba(2, 6, 23, .06) inset;
  margin-bottom: 16px;
}
.hero .hero-badge svg {
  width: 18px;
  height: 18px;
  color: var(--hero-c1);
}

/* Heading */
.hero .hero-title {
  font-size: clamp(36px, 6.5vw, 64px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -.02em;
  margin: 0 0 16px 0;
  color: #0f172a;
}
.hero .hero-grad {
  color: var(--hero-c1); /* solid color instead of gradient */
}

/* Lead Text */
.hero .hero-lead {
  margin: 0 0 18px 0;
  color: #334155;
  font-size: clamp(15px, 1.7vw, 18px);
  line-height: 1.6;
}

/* Bullets */
.hero .hero-bullets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
  margin: 22px 0 28px;
}
.hero .hero-bullet {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #0f172a;
  font-weight: 600;
  font-size: 15px;
}
.hero .hero-bullet svg {
  color: var(--hero-ok);
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

/* CTA row */
.hero .hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hero .hero-btn {
  appearance: none;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 700;
  line-height: 1;
  transition: all .18s ease;
  outline: 0;
  height: 48px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.hero .hero-btn svg { flex: 0 0 auto; }
.hero .hero-btn:focus-visible {
  box-shadow: 0 0 0 4px rgba(18, 97, 110, .15);
}

/* Primary button */
.hero .hero-btn-primary {
  color: #fff;
  background: var(--hero-c1);
  box-shadow: 0 8px 22px rgba(18, 97, 110, .22);
}
.hero .hero-btn-primary:hover {
  background: var(--hero-hover);
  transform: translateY(-1px);
}
.hero .hero-btn-primary:active {
  transform: none;
}

/* Ghost button */
.hero .hero-btn-ghost {
  background: #fff;
  color: #111827;
  border: 1px solid #d1d5db;
  font-weight: 700;
}
.hero .hero-btn-ghost:hover {
  border-color: #111827;
  color: #111827;
  transform: translateY(-1px);
  font-variation-settings: "wght" 760;
}

/* Trust strip */
.hero .hero-trust {
  margin-top: 28px;
  color: #64748b;
  font-size: 14px;
}
.hero .hero-stars { color: #f59e0b; margin-right: 8px; }
.hero .hero-trust strong { color: #0f172a; }

/* ===== Right visual ===== */
.hero .hero-viz-wrap {
  perspective: 1200px;
  display: flex;
  justify-content: center;
}
.hero .hero-viz {
  width: min(560px, 100%);
  background: linear-gradient(180deg, #ffffff 0%, #f7fdfb 100%);
  border-radius: 20px;
  box-shadow:
    0 8px 22px rgba(18, 97, 110, .18),
    0 40px 80px rgba(15, 23, 42, .12);
  padding: 18px;
  transform: rotateZ(-2deg) rotateY(0deg) translateZ(0);
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
  border: 1px solid rgba(2, 6, 23, .08);
  backdrop-filter: saturate(1.05) blur(2px);
}
.hero .hero-viz:hover {
  transform: rotateZ(-1deg) rotateY(-6deg) translateZ(8px);
  box-shadow:
    0 14px 36px rgba(18, 97, 110, .22),
    0 60px 120px rgba(15, 23, 42, .18);
  filter: saturate(1.03);
}
.hero .hero-viz-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.hero .hero-viz-title { font-weight: 700; color: #0f172a; }
.hero .hero-chip {
  font-size: 12px;
  color: var(--hero-c1);
  background: #e7f9f1;
  padding: 6px 8px;
  border-radius: 999px;
}

/* Progress Bars */
.hero .hero-bar {
  height: 10px;
  border-radius: 999px;
  background: #e5e7eb;
  overflow: hidden;
  position: relative;
}
.hero .hero-bar > i {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  border-radius: 999px;
}
.hero .hero-bar.c1 > i { background: var(--hero-c1); width: 88%; }
.hero .hero-bar.c2 > i { background: #8ea58c; width: 55%; }
.hero .hero-bar.c3 > i { background: #60bbdb; width: 62%; }

.hero .hero-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  margin: 14px 0 10px;
}
.hero .hero-row span { color: #475569; font-size: 14px; }
.hero .hero-row small { color: #0f172a; font-weight: 700; }

.hero .hero-viz-footer {
  border-top: 1px solid #e5e7eb;
  margin-top: 16px;
  padding-top: 14px;
  text-align: center;
}
.hero .hero-big { font-size: 28px; font-weight: 800; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero .hero-wrap { grid-template-columns: 1fr; }
  .hero .hero-viz-wrap { order: 1; margin-top: 24px; }
}
@media (max-width: 540px) {
  .hero .hero-bullets { grid-template-columns: 1fr; }
  .hero .hero-btn { width: 100%; justify-content: center; height: 52px; }
  .hero .hero-viz { transform: rotateZ(-1.5deg); }
}
