/* =========================
   INSIGHTS HERO
========================= */

.insights-hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 146px);
  background:
    radial-gradient(circle at 80% 22%, rgba(54, 198, 244, 0.032), transparent 20%),
    radial-gradient(circle at 88% 76%, rgba(243, 204, 49, 0.03), transparent 18%),
    linear-gradient(180deg, #040608 0%, #020304 100%);
  border-bottom: 1px solid var(--black);
}

.insights-hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.insights-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.034) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.034) 1px, transparent 1px);
  background-size: 120px 120px;
  opacity: 0.08;
}

.insights-grid::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.013) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.013) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.07;
}

.insights-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  animation: lineDrift 12s ease-in-out infinite;
}

.insights-line {
  position: absolute;
  display: block;
  will-change: transform, opacity;
}

.insights-line-v {
  right: 16%;
  top: 13%;
  width: 1px;
  height: 62%;
  background: rgba(255, 255, 255, 0.08);
}

.insights-line-h {
  right: 8%;
  top: 56%;
  width: 22%;
  height: 1px;
  background: rgba(54, 198, 244, 0.18);
}

.insights-line-box-1 {
  right: 21%;
  top: 22%;
  width: 230px;
  height: 200px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.insights-line-box-2 {
  right: 17%;
  top: 34%;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.insights-line-box-1::before {
  content: "";
  position: absolute;
  left: 26px;
  top: -7px;
  width: 14px;
  height: 14px;
  background: var(--yellow);
}

.insights-line-box-1::after {
  content: "";
  position: absolute;
  right: -44px;
  top: 46px;
  width: 44px;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.insights-line-box-2::before {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 20px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue);
}

.insights-line-box-2::after {
  content: "";
  position: absolute;
  left: -52px;
  bottom: 40px;
  width: 52px;
  height: 1px;
  background: rgba(243, 204, 49, 0.18);
}

.insights-atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.insights-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(120px);
  mix-blend-mode: screen;
  will-change: transform, opacity;
}

.insights-glow-blue {
  width: 230px;
  height: 180px;
  right: 11%;
  top: 42%;
  background: rgba(54, 198, 244, 0.1);
  animation: driftGlowBlue 10s ease-in-out infinite;
}

.insights-glow-yellow {
  width: 150px;
  height: 120px;
  right: 5%;
  top: 20%;
  background: rgba(243, 204, 49, 0.06);
  animation: driftGlowYellow 12s ease-in-out infinite;
}

.insights-hero-content {
  position: relative;
  z-index: 2;
  min-height: calc(100vh - 146px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 88px;
  padding-bottom: 88px;
}

.insights-hero-content h1 {
  max-width: 760px;
  font-size: clamp(2.35rem, 3.9vw, 4rem);
  line-height: 0.96;
  letter-spacing: -0.055em;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
  text-wrap: balance;
}

.insights-hero-content h1 span {
  display: block;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
}

.insights-hero-description {
  margin-top: 24px;
  max-width: 760px;
  font-size: 0.96rem;
  line-height: 1.82;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.72);
  text-wrap: pretty;
}

/* =========================
   BAND
========================= */

.insights-band {
  position: relative;
  background: #07090c;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.insights-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 120px 120px;
  opacity: 0.16;
  pointer-events: none;
}

.insights-band-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.insights-band-grid p {
  position: relative;
  min-height: 78px;
  padding: 16px 18px 16px 36px;
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  line-height: 1.45;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.86);
}

.insights-band-grid p:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.07);
}

.insights-band-grid p::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.16);
}

.insights-band-grid p:nth-child(2)::before {
  background: rgba(243, 204, 49, 0.95);
}

.insights-band-grid p:nth-child(3)::before {
  background: rgba(54, 198, 244, 0.95);
}

/* =========================
   LIGHT SECTIONS
========================= */

.insights-intro,
.insights-listing {
  position: relative;
  background: #ffffff;
  color: var(--black);
}

.insights-intro {
  padding: 68px 0 54px;
}

.insights-listing {
  padding: 10px 0 76px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.insights-intro::before,
.insights-listing::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(0, 0, 0, 0.014) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.014) 1px, transparent 1px);
  background-size: 120px 120px;
  opacity: 0.22;
  pointer-events: none;
}

.insights-intro .container,
.insights-listing .container,
.insight-featured .container,
.insights-closing .container {
  position: relative;
  z-index: 1;
}

/* =========================
   INTRO
========================= */

.insights-intro-grid {
  display: grid;
  gap: 28px;
}

.insights-intro-copy {
  max-width: 760px;
  display: grid;
  gap: 16px;
}

.insights-intro-copy p {
  font-size: 0.94rem;
  line-height: 1.76;
  color: rgba(0, 0, 0, 0.72);
  text-wrap: pretty;
}

.insights-intro-copy p:last-child {
  font-weight: 500;
  color: rgba(0, 0, 0, 0.9);
}

/* =========================
   FEATURED INSIGHT
========================= */

.insight-featured {
  position: relative;
  background: #000000;
  color: #ffffff;
  padding: 64px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
}

.insight-featured::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 140px 140px;
  opacity: 0.2;
  pointer-events: none;
}

.insight-featured-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 52px;
  align-items: stretch;
}

.insight-featured-copy {
  max-width: 620px;
}

.insight-featured-copy .eyebrow {
  color: rgba(255,255,255,0.5);
}

.insight-featured-copy h2 {
  font-size: clamp(1.95rem, 2.6vw, 2.5rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin: 10px 0 16px;
  color: #ffffff;
}

.insight-featured-lead {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 12px;
  color: rgba(255,255,255,0.75);
}

.insight-featured-copy p {
  font-size: 0.95rem;
  line-height: 1.72;
  color: rgba(255,255,255,0.65);
}

.insight-featured-panel {
  position: relative;
  min-height: 100%;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.02);
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 26px 24px 24px;
}

.insight-featured-panel::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 2px;
  height: 56px;
  background: var(--yellow);
}

.insight-featured-panel-top {
  margin-bottom: 24px;
}

.insight-panel-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.42);
}

.insight-featured-panel-body {
  display: grid;
  gap: 16px;
  align-content: start;
}

.insight-pattern-row {
  display: grid;
  gap: 6px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.insight-pattern-key {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.42);
}

.insight-pattern-value {
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.82);
}

.insight-featured-panel-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.insight-tag {
  min-height: 34px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,0.78);
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.03);
}

.insight-link {
  display: inline-block;
  margin-top: 20px;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--yellow);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.insight-link:hover {
  transform: translateX(4px);
  opacity: 0.9;
}

/* =========================
   INSIGHTS LIST
========================= */

.insights-list-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.insight-card {
  position: relative;
  min-height: 100%;
  padding: 24px 24px 26px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #ffffff;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.insight-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 0, 0, 0.14);
}

.insight-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 2px;
  height: 52px;
  background: var(--yellow);
}

.insight-card-index {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.24);
}

.insight-card h3 {
  font-size: 1.18rem;
  line-height: 1.12;
  letter-spacing: -0.025em;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 14px;
}

.insight-card p {
  font-size: 0.9rem;
  line-height: 1.66;
  color: rgba(0, 0, 0, 0.72);
  text-wrap: pretty;
}

/* =========================
   CLOSING
========================= */

.insights-closing {
  position: relative;
  background: #000000;
  color: #ffffff;
  padding: 64px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
}

.insights-closing::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 140px 140px;
  opacity: 0.18;
  pointer-events: none;
}

.insights-closing-grid {
  display: grid;
  grid-template-columns: minmax(0, 720px) auto;
  align-items: center;
  gap: 48px;
}

.insights-closing-copy {
  max-width: 620px;
}

.insights-closing-copy .eyebrow {
  color: rgba(255,255,255,0.45);
}

.insights-closing-copy h2 {
  font-size: clamp(1.9rem, 2.6vw, 2.6rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin: 10px 0 14px;
  color: #ffffff;
  text-wrap: balance;
}

.insights-closing-copy p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.65);
  text-wrap: pretty;
}

.insights-closing .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 58px;
  padding: 0 30px;
  background: var(--yellow);
  color: #000000;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: none;
  box-shadow:
    0 10px 24px rgba(0,0,0,0.35),
    inset 0 1px 0 rgba(255,255,255,0.5);
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.insights-closing .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow:
    0 16px 34px rgba(0,0,0,0.45),
    inset 0 1px 0 rgba(255,255,255,0.6);
}

.insights-closing .btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255,255,255,0.18) 48%,
    transparent 100%
  );
  transform: translateX(-120%);
  transition: transform 0.65s ease;
}

.insights-closing .btn-primary:hover::before {
  transform: translateX(120%);
}

/* =========================
   REVEAL
========================= */

.insights-hero-content,
.insights-band-grid p,
.insights-intro .section-heading,
.insights-intro-copy,
.insight-featured-copy,
.insight-featured-panel,
.insight-card,
.insights-closing-copy,
.insights-closing .btn-primary {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.insights-hero-content.is-visible,
.insights-band-grid p.is-visible,
.insights-intro .section-heading.is-visible,
.insights-intro-copy.is-visible,
.insight-featured-copy.is-visible,
.insight-featured-panel.is-visible,
.insight-card.is-visible,
.insights-closing-copy.is-visible,
.insights-closing .btn-primary.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.insights-band-grid p:nth-child(2),
.insight-card:nth-child(2) {
  transition-delay: 0.06s;
}

.insights-band-grid p:nth-child(3),
.insight-card:nth-child(3) {
  transition-delay: 0.12s;
}

.insight-card:nth-child(4) {
  transition-delay: 0.18s;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1200px) {
  .insights-hero-content h1 {
    max-width: 660px;
    font-size: clamp(2.2rem, 4vw, 3.6rem);
  }

  .insights-hero-description {
    max-width: 680px;
  }

  .insights-glow-blue {
    width: 210px;
    height: 165px;
  }

  .insights-glow-yellow {
    width: 130px;
    height: 104px;
  }

  .insights-line-box-1 {
    width: 205px;
    height: 180px;
  }

  .insights-line-box-2 {
    width: 136px;
    height: 136px;
  }
}

@media (max-width: 1100px) {
  .insights-hero {
    min-height: auto;
  }

  .insights-hero-content {
    min-height: auto;
    padding-top: 80px;
    padding-bottom: 84px;
  }

  .insights-hero-content h1 {
    max-width: 600px;
    font-size: clamp(2.1rem, 4.6vw, 3.35rem);
  }

  .insights-hero-description {
    max-width: 600px;
    line-height: 1.78;
  }

  .insights-line-v {
    right: 13%;
    height: 58%;
  }

  .insights-line-h {
    right: 5%;
    width: 28%;
  }

  .insights-line-box-1 {
    right: 18%;
    top: 23%;
    width: 178px;
    height: 156px;
  }

  .insights-line-box-2 {
    right: 15%;
    top: 35%;
    width: 118px;
    height: 118px;
  }

  .insights-glow-blue {
    width: 180px;
    height: 140px;
    right: 7%;
    top: 46%;
  }

  .insights-glow-yellow {
    width: 110px;
    height: 86px;
    right: 3%;
    top: 20%;
  }

  .insight-featured-grid,
  .insights-closing-grid {
    grid-template-columns: 1fr;
  }

  .insights-list-grid {
    grid-template-columns: 1fr 1fr;
  }

  .insight-featured-copy,
  .insights-closing-copy {
    max-width: 100%;
  }
}

@media (max-width: 820px) {
  .insights-line-v,
  .insights-line-h,
  .insights-line-box-1,
  .insights-line-box-2 {
    display: none;
  }

  .insights-hero-content {
    padding-top: 64px;
    padding-bottom: 68px;
  }

  .insights-hero-content h1 {
    max-width: 100%;
    font-size: clamp(2rem, 8vw, 3rem);
    line-height: 1;
  }

  .insights-hero-description {
    max-width: 100%;
    font-size: 0.95rem;
    line-height: 1.72;
  }

  .insights-glow-blue {
    width: 160px;
    height: 124px;
    right: -4%;
    top: 58%;
  }

  .insights-glow-yellow {
    width: 92px;
    height: 72px;
    right: -3%;
    top: 20%;
  }

  .insights-intro,
  .insight-featured,
  .insights-listing,
  .insights-closing {
    padding: 54px 0 60px;
  }

  .insights-band-grid {
    grid-template-columns: 1fr;
  }

  .insights-band-grid p {
    min-height: auto;
    padding: 14px 0 14px 26px;
  }

  .insights-band-grid p:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }

  .insights-band-grid p::before {
    left: 0;
  }

  .insights-list-grid {
    grid-template-columns: 1fr;
  }

  .insight-card h3 {
    font-size: 1.08rem;
  }

  .insight-card p,
  .insight-featured-copy p,
  .insights-closing-copy p,
  .insight-pattern-value {
    font-size: 0.9rem;
    line-height: 1.64;
  }
}

@media (max-width: 640px) {
  .insights-hero-content h1 {
    font-size: 2.15rem;
  }

  .insights-hero-description {
    margin-top: 20px;
    font-size: 0.92rem;
    line-height: 1.68;
  }

  .insights-band-grid p {
    font-size: 0.82rem;
    line-height: 1.42;
    padding: 13px 0 13px 20px;
  }

  .insight-card,
  .insight-featured-panel {
    padding: 20px 20px 22px;
  }

  .insight-tag {
    font-size: 0.8rem;
    min-height: 32px;
    padding: 0 12px;
  }

  .insight-card p,
  .insights-intro-copy p {
    font-size: 0.86rem;
  }

  .insight-featured-copy h2,
  .insights-closing-copy h2 {
    line-height: 1.08;
  }

  .insights-closing .btn-primary {
    width: fit-content;
    min-height: 50px;
    font-size: 13px;
    padding: 0 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .insights-hero-content,
  .insights-band-grid p,
  .insights-intro .section-heading,
  .insights-intro-copy,
  .insight-featured-copy,
  .insight-featured-panel,
  .insight-card,
  .insights-closing-copy,
  .insights-closing .btn-primary {
    transition: none !important;
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}