/* =========================================================
   INNOVATION LAB V2 — Product Experience Page
   Matches Resource Lab / Field Guides / Perspectives system
   ========================================================= */

.innovation-lab-v2 {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 7vw, 104px) 24px clamp(88px, 10vw, 140px);
  background: #ffffff;
  color: var(--lrl-ink, #080b12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.innovation-lab-v2 *,
.innovation-lab-v2 *::before,
.innovation-lab-v2 *::after {
  box-sizing: border-box;
}

.innovation-lab-v2::before {
  content: "";
  position: absolute;
  top: 80px;
  right: -220px;
  width: 620px;
  height: 620px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.16), transparent 62%);
  pointer-events: none;
}

.innovation-lab-v2::after {
  content: "";
  position: absolute;
  top: 620px;
  left: -260px;
  width: 560px;
  height: 560px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.12), transparent 64%);
  pointer-events: none;
}

.ilv2-eyebrow {
  margin: 0 0 18px;
  color: var(--lrl-blue, #2563eb);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.ilv2-hero,
.ilv2-section,
.ilv2-closing {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  margin-inline: auto;
}

/* Page CTA buttons */

.innovation-lab-v2 .lrl-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.innovation-lab-v2 .lrl-button-primary {
  color: #ffffff;
  background: linear-gradient(135deg, #2563eb, #5b4df5 55%, #14b8a6);
  box-shadow: 0 16px 38px rgba(37, 99, 235, 0.22);
}

.innovation-lab-v2 .lrl-button-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 52px rgba(37, 99, 235, 0.28);
}

.innovation-lab-v2 .lrl-button-secondary {
  color: var(--lrl-ink, #080b12);
  background: #ffffff;
  border-color: rgba(17, 24, 39, 0.12);
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.06);
}

.innovation-lab-v2 .lrl-button-secondary:hover {
  transform: translateY(-2px);
  color: #2563eb;
  border-color: rgba(37, 99, 235, 0.26);
  box-shadow: 0 18px 42px rgba(37, 99, 235, 0.12);
}

/* Hero */

.ilv2-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr);
  gap: clamp(34px, 6vw, 76px);
  align-items: center;
  min-height: clamp(620px, 80vh, 820px);
  padding: clamp(34px, 5vw, 76px) 0 clamp(72px, 8vw, 112px);
}

.ilv2-hero-copy {
  min-width: 0;
}

.ilv2-hero-copy h1 {
  margin: 0;
  color: var(--lrl-ink, #080b12);
  font-size: clamp(3.6rem, 7vw, 6.6rem);
  line-height: 1.02;
  letter-spacing: -0.052em;
  font-weight: 620;
  text-wrap: balance;
}

.ilv2-hero-copy h1 span {
  display: inline-block;
  padding-right: 0.08em;
  padding-bottom: 0.08em;
  background: linear-gradient(135deg, #2563eb 0%, #5b4df5 46%, #7c3aed 72%, #14b8a6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ilv2-hero-copy > p:not(.ilv2-eyebrow) {
  margin: 34px 0 0;
  max-width: 760px;
  color: var(--lrl-muted, #5f6472);
  font-size: clamp(1.12rem, 1.9vw, 1.42rem);
  line-height: 1.72;
}

.ilv2-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

/* Hero animated visual */

.ilv2-hero-stage {
  position: relative;
  min-height: 560px;
  border-radius: 46px;
  border: 1px solid rgba(17, 24, 39, 0.07);
  background:
    radial-gradient(circle at 28% 22%, rgba(37, 99, 235, 0.16), transparent 28%),
    radial-gradient(circle at 72% 72%, rgba(124, 58, 237, 0.13), transparent 30%),
    linear-gradient(135deg, rgba(248, 250, 252, 0.94), rgba(255, 255, 255, 0.96));
  box-shadow: 0 30px 90px rgba(17, 24, 39, 0.08);
  overflow: hidden;
}

.ilv2-hero-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.07) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle at center, black, transparent 78%);
  opacity: 0.7;
}

.ilv2-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(8px);
  opacity: 0.9;
  animation: ilv2Float 7s ease-in-out infinite;
}

.ilv2-glow.glow-one {
  width: 190px;
  height: 190px;
  left: 72px;
  top: 76px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.32), transparent 64%);
}

.ilv2-glow.glow-two {
  width: 230px;
  height: 230px;
  right: 44px;
  bottom: 56px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.24), transparent 64%);
  animation-delay: -2s;
}

.ilv2-orbit {
  position: absolute;
  border-radius: 999px;
  border: 1px solid rgba(37, 99, 235, 0.16);
  animation: ilv2Spin 18s linear infinite;
}

.ilv2-orbit.orbit-one {
  width: 320px;
  height: 320px;
  top: 112px;
  left: calc(50% - 160px);
}

.ilv2-orbit.orbit-two {
  width: 420px;
  height: 420px;
  top: 62px;
  left: calc(50% - 210px);
  border-color: rgba(124, 58, 237, 0.14);
  animation-duration: 26s;
  animation-direction: reverse;
}

.ilv2-float-card {
  position: absolute;
  width: min(280px, 74%);
  padding: 20px;
  border-radius: 28px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 56px rgba(17, 24, 39, 0.10);
  animation: ilv2CardFloat 6s ease-in-out infinite;
}

.ilv2-float-card span {
  display: inline-flex;
  margin-bottom: 12px;
  color: #2563eb;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.ilv2-float-card strong {
  display: block;
  color: #080b12;
  font-size: 1.08rem;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.ilv2-float-card p {
  margin: 10px 0 0;
  color: #5f6472;
  font-size: 0.92rem;
  line-height: 1.5;
}

.ilv2-float-card.card-a {
  top: 66px;
  left: 46px;
}

.ilv2-float-card.card-b {
  top: 230px;
  right: 42px;
  animation-delay: -1.5s;
}

.ilv2-float-card.card-c {
  left: 78px;
  bottom: 62px;
  animation-delay: -3s;
}

.ilv2-signal-line {
  position: absolute;
  height: 2px;
  width: 180px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.55), transparent);
  opacity: 0.65;
  animation: ilv2Pulse 2.8s ease-in-out infinite;
}

.ilv2-signal-line.line-one {
  top: 202px;
  left: 180px;
  transform: rotate(20deg);
}

.ilv2-signal-line.line-two {
  top: 336px;
  right: 152px;
  transform: rotate(-22deg);
  animation-delay: -0.8s;
}

.ilv2-signal-line.line-three {
  bottom: 194px;
  left: 200px;
  transform: rotate(-10deg);
  animation-delay: -1.5s;
}

/* Sections */

.ilv2-section {
  margin-top: clamp(74px, 9vw, 132px);
}

.ilv2-section-header {
  max-width: 850px;
  margin-bottom: 34px;
}

.ilv2-section-header h2,
.ilv2-thesis-copy h2,
.ilv2-system-copy h2,
.ilv2-coming-copy h2,
.ilv2-closing h2 {
  margin: 0;
  color: var(--lrl-ink, #080b12);
  font-size: clamp(2.6rem, 5vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  font-weight: 560;
  text-wrap: balance;
}

.ilv2-section-header p:not(.ilv2-eyebrow),
.ilv2-thesis-copy p,
.ilv2-system-copy p,
.ilv2-coming-copy p,
.ilv2-closing p {
  margin: 22px 0 0;
  max-width: 780px;
  color: var(--lrl-muted, #5f6472);
  font-size: clamp(1.05rem, 1.7vw, 1.26rem);
  line-height: 1.72;
}

/* Thesis */

.ilv2-thesis-card,
.ilv2-system-card {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  padding: clamp(32px, 5vw, 62px);
  border-radius: 44px;
  border: 1px solid transparent;
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(135deg, rgba(37, 99, 235, 0.24), rgba(124, 58, 237, 0.16), rgba(20, 184, 166, 0.18)) border-box;
  box-shadow: 0 30px 90px rgba(17, 24, 39, 0.08);
  overflow: hidden;
}

.ilv2-thesis-copy p,
.ilv2-system-copy p {
  margin-left: 0;
  margin-right: 0;
}

.ilv2-thesis-stack,
.ilv2-system-map {
  display: grid;
  gap: 16px;
}

.ilv2-thesis-stack article,
.ilv2-system-map article {
  padding: 26px;
  border-radius: 28px;
  border: 1px solid rgba(17, 24, 39, 0.07);
  background: #ffffff;
  box-shadow: 0 18px 52px rgba(17, 24, 39, 0.045);
}

.ilv2-thesis-stack span,
.ilv2-system-map span {
  display: inline-flex;
  color: #2563eb;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.ilv2-thesis-stack p,
.ilv2-system-map p {
  margin: 16px 0 0;
  color: #5f6472;
  font-size: 0.96rem;
  line-height: 1.6;
}

/* Experiments */

.ilv2-experiment-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.925fr 0.925fr;
  gap: 18px;
}

.ilv2-experiment-card {
  min-height: 430px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-radius: 34px;
  border: 1px solid rgba(17, 24, 39, 0.07);
  background:
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.09), transparent 34%),
    #ffffff;
  box-shadow: 0 18px 52px rgba(17, 24, 39, 0.055);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.ilv2-experiment-card.featured {
  background:
    radial-gradient(circle at 20% 20%, rgba(37, 99, 235, 0.15), transparent 32%),
    radial-gradient(circle at 84% 78%, rgba(124, 58, 237, 0.11), transparent 36%),
    #ffffff;
}

.ilv2-experiment-card:hover {
  transform: translateY(-7px);
  border-color: rgba(37, 99, 235, 0.18);
  box-shadow: 0 30px 76px rgba(37, 99, 235, 0.11);
}

.ilv2-card-topline {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.ilv2-card-topline span,
.ilv2-tags span {
  display: inline-flex;
  color: #2563eb;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.ilv2-card-topline span:last-child {
  color: #14b8a6;
}

.ilv2-experiment-card h3 {
  margin: 36px 0 0;
  color: #080b12;
  font-size: clamp(1.5rem, 2.2vw, 2.25rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
  font-weight: 560;
}

.ilv2-experiment-card p {
  margin: 18px 0 0;
  color: #5f6472;
  font-size: 0.98rem;
  line-height: 1.62;
}

.ilv2-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 30px;
}

.ilv2-tags span {
  color: #5f6472;
}

.ilv2-muted-link {
  width: fit-content;
  margin-top: 24px;
  color: rgba(95, 100, 114, 0.72);
  font-weight: 900;
}

/* Lanes */

.ilv2-lane-grid,
.ilv2-roadmap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.ilv2-lane-grid article,
.ilv2-roadmap-grid article {
  min-height: 290px;
  padding: 28px;
  border-radius: 34px;
  border: 1px solid rgba(17, 24, 39, 0.07);
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.045), rgba(20, 184, 166, 0.035)),
    #ffffff;
  box-shadow: 0 18px 52px rgba(17, 24, 39, 0.055);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.ilv2-lane-grid article:hover,
.ilv2-roadmap-grid article:hover {
  transform: translateY(-7px) scale(1.01);
  border-color: rgba(37, 99, 235, 0.18);
  box-shadow: 0 30px 76px rgba(37, 99, 235, 0.11);
}

.ilv2-lane-grid span,
.ilv2-roadmap-grid span {
  display: inline-flex;
  color: #2563eb;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.ilv2-lane-grid h3,
.ilv2-roadmap-grid h3 {
  margin: 34px 0 0;
  color: #080b12;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 560;
}

.ilv2-lane-grid p,
.ilv2-roadmap-grid p {
  margin: 16px 0 0;
  color: #5f6472;
  font-size: 0.96rem;
  line-height: 1.6;
}

/* System card */

.ilv2-system-map {
  grid-template-columns: repeat(2, 1fr);
}

/* Closing */

.ilv2-closing {
  margin-top: clamp(80px, 10vw, 142px);
  padding: clamp(36px, 6vw, 70px);
  border-radius: 46px;
  text-align: center;
  border: 1px solid rgba(17, 24, 39, 0.07);
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.14), transparent 36%),
    radial-gradient(circle at bottom right, rgba(20, 184, 166, 0.12), transparent 40%),
    #ffffff;
  box-shadow: 0 30px 90px rgba(17, 24, 39, 0.08);
}

.ilv2-closing p {
  margin-left: auto;
  margin-right: auto;
}

.ilv2-closing .ilv2-actions {
  justify-content: center;
}

/* Animations */

@keyframes ilv2Float {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -18px, 0); }
}

@keyframes ilv2CardFloat {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50% { transform: translate3d(0, -12px, 0) rotate(0.6deg); }
}

@keyframes ilv2Spin {
  to { transform: rotate(360deg); }
}

@keyframes ilv2Pulse {
  0%, 100% { opacity: 0.25; }
  50% { opacity: 0.9; }
}

/* Responsive */

@media (max-width: 1080px) {
  .ilv2-hero,
  .ilv2-thesis-card,
  .ilv2-system-card {
    grid-template-columns: 1fr;
  }

  .ilv2-experiment-grid,
  .ilv2-lane-grid,
  .ilv2-roadmap-grid {
    grid-template-columns: 1fr;
  }

  .ilv2-hero-stage {
    min-height: 520px;
  }

  .ilv2-system-map {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .innovation-lab-v2 {
    padding: 42px 18px 86px;
  }

  .ilv2-hero {
    min-height: auto;
    padding: 36px 0 72px;
  }

  .ilv2-hero-copy h1 {
    font-size: clamp(2.8rem, 13vw, 4.2rem);
    line-height: 1.08;
    letter-spacing: -0.035em;
  }

  .ilv2-hero-stage {
    min-height: 520px;
    border-radius: 34px;
  }

  .ilv2-section-header h2,
  .ilv2-thesis-copy h2,
  .ilv2-system-copy h2,
  .ilv2-coming-copy h2,
  .ilv2-closing h2 {
    font-size: clamp(2.4rem, 10vw, 3.8rem);
    line-height: 1;
    letter-spacing: -0.035em;
  }

  .ilv2-actions {
    flex-direction: column;
  }

  .innovation-lab-v2 .lrl-button {
    width: 100%;
  }

  .ilv2-thesis-card,
  .ilv2-system-card,
  .ilv2-closing {
    border-radius: 34px;
  }

  .ilv2-system-map {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .ilv2-hero-stage {
    min-height: 470px;
  }

  .ilv2-float-card {
    width: 78%;
    padding: 16px;
    border-radius: 22px;
  }

  .ilv2-float-card.card-a {
    top: 44px;
    left: 22px;
  }

  .ilv2-float-card.card-b {
    top: 188px;
    right: 18px;
  }

  .ilv2-float-card.card-c {
    left: 28px;
    bottom: 42px;
  }

  .ilv2-signal-line {
    display: none;
  }

  .ilv2-experiment-card,
  .ilv2-lane-grid article,
  .ilv2-roadmap-grid article {
    border-radius: 28px;
    padding: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ilv2-glow,
  .ilv2-orbit,
  .ilv2-float-card,
  .ilv2-signal-line {
    animation: none !important;
  }

  .ilv2-experiment-card:hover,
  .ilv2-lane-grid article:hover,
  .ilv2-roadmap-grid article:hover {
    transform: none;
  }
}
