/* QuatroIDA — sections from the mockup; the hero uses the shared product banner. */

.ida-value,
.ida-measure,
.ida-who {
  padding: 88px 0;
}

.ida-value {
  background: #f5f7fb;
}

.ida-plain h2,
.ida-value h2,
.ida-who h2,
.ida .info-card h3,
.ida-gain h3,
.ida-spec strong,
.ida-indicator h3,
.ida-who__item {
  color: #161d33;
}

.ida-plain .lede,
.ida-value .lede,
.ida-who .lede,
.ida .info-card p,
.ida-gain p,
.ida-spec span,
.ida-indicator p,
.ida-note {
  color: #586079;
}

.ida-gains,
.ida-specs {
  display: grid;
  gap: 16px;
  margin-top: 36px;
}

.section-cta {
  margin-top: 36px;
}

.ida-gains {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ida-gain,
.ida-spec,
.ida-indicator {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 22px 22px 20px;
}

.ida-gain span,
.ida-indicator span {
  display: block;
  margin-bottom: 8px;
  color: #4357a0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ida-gain h3,
.ida-spec strong {
  display: block;
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.ida-gain p,
.ida-spec span {
  margin-top: 8px;
  font-size: 18px;
  line-height: 1.5;
}

.ida-note {
  margin-top: 22px;
  max-width: 92ch;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ida-specs {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 28px;
}

.ida-measure {
  background: #4357a0;
  color: #fff;
}

.ida-measure .lede {
  max-width: 62ch;
}

.ida-measure h2 {
  color: #fff;
}

.ida-measure .lede,
.ida-measure .ida-note {
  color: rgba(255, 255, 255, 0.82);
}

.ida-indicators {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: 36px;
}

.ida-indicator h3 {
  font-size: 22px;
  line-height: 1.3;
  margin-bottom: 8px;
}

.ida-indicator p {
  font-size: 18px;
  line-height: 1.5;
}

.ida-who__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 36px;
}

.ida-who__item {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 72px;
  padding: 16px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 600;
}

.ida-who__item .icon-box {
  width: 40px;
  height: 40px;
  margin: 0;
  flex-shrink: 0;
}

@media (max-width: 1100px) {
  .ida-gains,
  .ida-specs,
  .ida-indicators,
  .ida-who__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  .ida-gains,
  .ida-specs,
  .ida-indicators,
  .ida-who__grid {
    grid-template-columns: 1fr;
  }

  .ida-who__item {
    border-radius: 16px;
  }
}

.ida .pbc-hero {
  background: #4357a0;
}

.ida .pbc-hero .container {
  display: grid;
  grid-template-columns: minmax(0, 50%) minmax(0, 1fr);
  align-items: center;
  column-gap: 28px;
}

.ida .pbc-hero__copy {
  max-width: none;
}

.ida-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 640px;
}

.ida-browser {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  width: min(calc((100% - clamp(240px, 22vw, 320px) + 52px) * 1.652), calc(100% + 8px));
  margin-left: auto;
  margin-right: -8px;
  overflow: hidden;
  border-radius: 12px;
  background: #eef1f6;
  box-shadow: 0 24px 50px rgba(16, 24, 56, 0.28);
}

.ida-browser__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 38px;
  padding: 0 12px;
  background: #e4e8f0;
}

.ida-browser__dots {
  display: inline-flex;
  gap: 5px;
}

.ida-browser__dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c5ccd8;
}

.ida-browser__dots i:nth-child(1) { background: #ff5f57; }
.ida-browser__dots i:nth-child(2) { background: #febc2e; }
.ida-browser__dots i:nth-child(3) { background: #28c840; }

.ida-browser__tab,
.ida-browser__url {
  height: 24px;
  padding: 0 10px;
  border-radius: 6px;
  background: #fff;
  color: #161d33;
  font-size: 11px;
  font-weight: 600;
  line-height: 24px;
}

.ida-browser__url {
  flex: 1;
  color: #586079;
  font-weight: 500;
}


.ida-screen {
  position: relative;
}

.ida-screen__base,
.ida-screen__lines {
  display: block;
  width: 100%;
  height: auto;
}

.ida-screen__base {
  animation: ida-fade 0.9s ease forwards;
}

.ida-screen__lines {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: fill;
  clip-path: inset(0 100% 0 0);
  animation: ida-draw 2.6s linear 0.4s forwards;
}

.ida-phone {
  position: absolute;
  z-index: 2;
  left: 0;
  top: 50%;
  width: clamp(240px, 22vw, 320px);
  padding: 10px;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 24px 50px rgba(16, 24, 56, 0.22);
  transform: translateY(-50%);
}

.ida-phone::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 16px;
  left: 50%;
  width: 64px;
  height: 14px;
  border-radius: 999px;
  background: #161d33;
  transform: translateX(-50%);
}

.ida-phone .hero-video {
  position: relative;
  inset: auto;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 18px;
}

@keyframes ida-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes ida-draw {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0 0 0 0); }
}

@media (prefers-reduced-motion: reduce) {
  .ida-screen__base,
  .ida-screen__lines {
    animation: none;
    opacity: 1;
    clip-path: none;
  }
}

@media (max-width: 900px) {
  .ida .pbc-hero .container {
    grid-template-columns: 1fr;
    row-gap: 28px;
  }

  .ida-stage {
    display: block;
    min-height: 0;
  }

  .ida-browser {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .ida-phone {
    position: relative;
    top: auto;
    width: min(280px, 72vw);
    margin: 18px auto 0;
    transform: none;
  }
}
