.brightloop-hero {
  position: relative;
  overflow: hidden;
  padding: 94px 0 78px;
  background: #f8f6f7;
  color: #18213a;
}

.brightloop-hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.72) 46%, rgba(246, 241, 245, 0.88) 100%),
    repeating-linear-gradient(128deg, rgba(24, 33, 58, 0.06) 0 1px, transparent 1px 84px);
  pointer-events: none;
}

.brightloop-hero-lines {
  position: absolute;
  inset: 34px 0 auto;
  height: 540px;
  opacity: 0.35;
  background:
    linear-gradient(28deg, transparent 20%, rgba(35, 122, 210, 0.24) 20.2%, transparent 20.6%),
    linear-gradient(146deg, transparent 54%, rgba(184, 133, 36, 0.24) 54.2%, transparent 54.7%);
  pointer-events: none;
}

.brightloop-hero .container {
  position: relative;
  z-index: 1;
}

.brightloop-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(540px, 1.14fr);
  align-items: center;
  gap: 48px;
}

.brightloop-hero-copy {
  max-width: 610px;
}

.brightloop-hero-logo {
  display: block;
  width: 154px;
  height: auto;
  margin: 0 0 18px;
}

.brightloop-hero-eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: #244bd8;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 4px;
  line-height: 1.4;
  text-transform: uppercase;
}

.brightloop-hero h1 {
  max-width: 600px;
  margin: 0;
  color: #1b2140;
  font-size: clamp(40px, 3.7vw, 54px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.08;
}

.brightloop-hero .hero-word {
  white-space: nowrap;
}

.brightloop-hero .hero-word-blue {
  color: #178caa;
}

.brightloop-hero .hero-word-dark {
  color: #202541;
}

.brightloop-hero .hero-word-gold {
  color: #a7752a;
}

.brightloop-hero p {
  max-width: 590px;
  margin: 24px 0 0;
  color: #5d6272;
  font-size: 17px;
  line-height: 1.75;
}

.brightloop-hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.brightloop-hero-primary,
.brightloop-hero-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  border-radius: 8px;
  padding: 0 22px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.brightloop-hero-primary {
  gap: 10px;
  color: #fff;
  background: #1857e8;
  box-shadow: 0 18px 34px rgba(24, 87, 232, 0.2);
}

.brightloop-hero-secondary {
  gap: 9px;
  color: #202541;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(32, 37, 65, 0.2);
}

.brightloop-hero-primary:hover,
.brightloop-hero-secondary:hover {
  transform: translateY(-2px);
}

.brightloop-hero-primary:hover {
  color: #fff;
  box-shadow: 0 20px 40px rgba(24, 87, 232, 0.26);
}

.brightloop-hero-secondary:hover {
  color: #202541;
  border-color: rgba(32, 37, 65, 0.36);
}

.brightloop-hero-visual {
  position: relative;
  min-height: 560px;
}

.brightloop-hero-mark {
  position: absolute;
  left: 50%;
  top: 44%;
  width: min(420px, 58%);
  height: auto;
  transform: translate(-48%, -50%);
  filter: drop-shadow(0 28px 36px rgba(24, 33, 58, 0.14));
}

.brightloop-metric-card,
.brightloop-insight-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(24, 33, 58, 0.08);
  border-radius: 10px;
  box-shadow: 0 28px 60px rgba(24, 33, 58, 0.11);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.brightloop-metric-card {
  padding: 16px;
}

.brightloop-performance-card {
  left: 0;
  top: 48px;
  width: min(312px, 51%);
}

.brightloop-growth-card {
  right: 0;
  top: 86px;
  width: min(278px, 46%);
}

.metric-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #31364f;
  font-size: 12px;
  font-weight: 700;
}

.metric-top span,
.metric-top b {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.metric-top b {
  color: #13834f;
  font-size: 11px;
}

.metric-top b i {
  font-size: 7px;
}

.metric-value {
  margin-top: 16px;
}

.metric-value small {
  display: block;
  color: #6b7283;
  font-size: 12px;
  font-weight: 600;
}

.metric-value strong {
  display: inline-block;
  margin-top: 5px;
  color: #242947;
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
}

.metric-value em {
  margin-left: 8px;
  color: #13834f;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}

.hero-bars {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  align-items: end;
  gap: 8px;
  height: 78px;
  margin-top: 14px;
}

.hero-bars span {
  display: block;
  border-radius: 8px 8px 0 0;
}

.hero-bars-blue span {
  background: linear-gradient(180deg, #2f89ee 0%, #0d67cf 100%);
}

.hero-bars-gold {
  grid-template-columns: repeat(7, 1fr);
  height: 66px;
}

.hero-bars-gold span {
  background: linear-gradient(180deg, #e8ad36 0%, #d4841e 100%);
}

.metric-footer {
  display: grid;
  grid-template-columns: 1fr 62px;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
}

.metric-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.metric-footer li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #6b7283;
  font-size: 10px;
  line-height: 1.75;
}

.metric-footer li span {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: #2f89ee;
}

.metric-footer li:nth-child(2) span {
  background: #d4841e;
}

.metric-footer li:nth-child(3) span {
  background: #1db6a7;
}

.metric-footer li:nth-child(4) span {
  background: #9568ff;
}

.metric-footer li b {
  color: #2f334a;
}

.hero-donut {
  width: 56px;
  height: 56px;
  margin-left: auto;
  border-radius: 50%;
  background: conic-gradient(#2f89ee 0 44%, #d4841e 44% 65%, #1db6a7 65% 82%, #e8eef8 82% 100%);
}

.hero-donut:after {
  content: "";
  display: block;
  width: 28px;
  height: 28px;
  margin: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
}

.growth-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
}

.growth-stats span {
  color: #5d6272;
  font-size: 11px;
  font-weight: 700;
}

.growth-stats b {
  display: block;
  margin-top: 7px;
  color: #202541;
  font-size: 16px;
}

.brightloop-insight-card {
  display: grid;
  grid-template-columns: 34px 1fr;
  column-gap: 11px;
  min-width: 158px;
  padding: 14px;
}

.brightloop-insight-card i {
  display: inline-flex;
  grid-row: span 2;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: #168ca5;
  background: rgba(22, 140, 165, 0.1);
  border-radius: 50%;
}

.brightloop-insight-card span {
  color: #202541;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
}

.brightloop-insight-card small {
  margin-top: 4px;
  color: #7a7f90;
  font-size: 11px;
  font-weight: 600;
}

.insight-one {
  left: 0;
  bottom: 42px;
}

.insight-two {
  left: 206px;
  bottom: 22px;
}

.insight-three {
  right: 0;
  bottom: 42px;
}

@media (max-width: 1199px) {
  .brightloop-hero-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(500px, 1.1fr);
    gap: 28px;
  }

  .brightloop-performance-card {
    width: 310px;
  }

  .brightloop-growth-card {
    width: 270px;
  }
}

@media (max-width: 991px) {
  .brightloop-hero {
    padding: 130px 0 76px;
  }

  .brightloop-hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .brightloop-hero-copy {
    max-width: 720px;
  }

  .brightloop-hero h1 {
    max-width: 720px;
    font-size: clamp(38px, 8vw, 58px);
  }

  .brightloop-hero-visual {
    min-height: 540px;
  }
}

@media (max-width: 767px) {
  .brightloop-hero {
    padding: 118px 0 64px;
  }

  .brightloop-hero-eyebrow {
    font-size: 12px;
    letter-spacing: 2px;
  }

  .brightloop-hero h1 {
    font-size: 40px;
  }

  .brightloop-hero p {
    font-size: 16px;
  }

  .brightloop-hero-primary,
  .brightloop-hero-secondary {
    width: 100%;
  }

  .brightloop-hero-visual {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    min-height: 0;
  }

  .brightloop-hero-mark,
  .brightloop-metric-card,
  .brightloop-insight-card {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    transform: none;
    width: 100%;
  }

  .brightloop-hero-mark {
    order: -1;
    max-width: 240px;
    margin: 0 auto -8px;
  }

  .metric-footer {
    grid-template-columns: 1fr 70px;
  }
}

@media (max-width: 430px) {
  .brightloop-hero-logo {
    width: 132px;
  }

  .brightloop-hero h1 {
    font-size: 34px;
  }

  .brightloop-hero .hero-word {
    white-space: normal;
  }

  .brightloop-metric-card {
    padding: 16px;
  }

  .hero-bars {
    gap: 7px;
  }

  .growth-stats,
  .metric-footer {
    grid-template-columns: 1fr;
  }

  .hero-donut {
    margin: 4px 0 0;
  }
}
