/* ================================================================
   QUALZY — IDIs & Groups Page Styles
   All styles specific to features/idis-groups.html
   ================================================================ */


/* HERO
   ---------------------------------------------------------------- */
.ig-hero {
  padding-top: 64px;
  background: var(--wh);
  position: relative;
  overflow: hidden;
}

.ig-hd1 {
  position: absolute;
  top: -180px;
  right: -140px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: var(--op);
  z-index: 0;
}

.ig-hd1::after {
  content: '';
  position: absolute;
  inset: 70px;
  border-radius: 50%;
  background: var(--om);
}

.ig-hd2 {
  position: absolute;
  bottom: 40px;
  left: -70px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: var(--op);
  z-index: 0;
}

.ig-hsvg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.ig-hi {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
  padding: 56px 48px 88px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ig-back {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  color: var(--mu);
  text-decoration: none;
  margin-bottom: 28px;
  transition: color var(--t-base);
  align-self: flex-start;
}

.ig-back:hover { color: var(--o); }

.ig-hi h1 {
  font-family: var(--font-display);
  font-size: clamp(46px, 6vw, 80px);
  font-weight: 900;
  line-height: 1.05;
  color: var(--dk);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.ig-hi h1 em {
  font-style: italic;
  color: var(--o);
}

.ig-hsub {
  font-size: 19px;
  color: var(--mid);
  line-height: 1.65;
  margin-bottom: 36px;
  max-width: 580px;
  font-weight: 300;
}

.ig-hbtns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 52px;
}


/* WHY THIS WAY
   ---------------------------------------------------------------- */
.ig-why {
  background: var(--dk);
  padding: 100px 80px;
}

.ig-why-inn {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: start;
}

/* Comparison table */
.ig-cmp {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
}

.ig-cmp-hd {
  display: grid;
  grid-template-columns: 1fr 2fr;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ig-cmp-row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.ig-cmp-row:last-child { border-bottom: none; }

.ig-cmp-col {
  padding: 14px 18px;
  font-size: 13px;
  line-height: 1.4;
}

.ig-cmp-feat {
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.ig-cmp-hd .ig-cmp-feat {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}

.ig-cmp-other {
  color: rgba(255, 255, 255, 0.55);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.ig-cmp-hd .ig-cmp-other {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}

.ig-cmp-qlz {
  background: rgba(250, 88, 2, 0.07);
}

.ig-cmp-hd .ig-cmp-qlz {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--o);
}

.ig-ck { color: #4CAF50; font-size: 12.5px; font-weight: 500; }
.ig-cx { color: rgba(255, 255, 255, 0.28); font-size: 12.5px; }
.ig-cp { color: #FFC107; font-size: 12.5px; font-weight: 500; }


/* HOW IT WORKS
   ---------------------------------------------------------------- */
.ig-how { background: #fff; }

.ig-how-hd {
  margin-bottom: 64px;
}

.ig-steps {
  max-width: 780px;
}

.ig-step {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 32px;
  align-items: start;
}

.ig-step-num {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--o);
  color: #fff;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 4px;
  box-shadow: 0 6px 20px rgba(250, 88, 2, 0.28);
}

.ig-step-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--dk);
  margin-bottom: 10px;
  line-height: 1.2;
}

.ig-step-desc {
  font-size: 16px;
  color: var(--mid);
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 16px;
}

.ig-step-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ig-tag {
  background: var(--op);
  color: var(--o);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
  border: 1px solid rgba(250, 88, 2, 0.2);
}

.ig-step-conn {
  padding-left: 25px;
  margin: 6px 0;
}

.ig-step-out {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
  margin-top: 12px;
}

.ig-out-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--mid);
  font-weight: 500;
}

.ig-out-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--o);
  flex-shrink: 0;
}


/* WHAT YOU GET
   ---------------------------------------------------------------- */
.ig-caps { background: var(--op); }

.ig-caps-hd {
  margin-bottom: 52px;
}

.ig-caps-hd .sbod {
  margin-top: 16px;
  max-width: 560px;
}

.ig-cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.ig-cap {
  background: #fff;
  padding: 36px 30px;
  position: relative;
  overflow: hidden;
  transition: background var(--t-base);
}

.ig-cap::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--o);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.ig-cap:hover { background: var(--op); }
.ig-cap:hover::after { transform: scaleX(1); }

.ig-cap-icon {
  display: block;
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
}

.ig-cap-icon svg {
  width: 38px;
  height: 38px;
  stroke: var(--o);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ig-cap-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--dk);
  margin-bottom: 8px;
}

.ig-cap-body {
  font-size: 14px;
  color: var(--mid);
  line-height: 1.65;
}


/* THE ANALYSIS LAYER
   ---------------------------------------------------------------- */
.ig-layer {
  background: var(--dk);
  padding: 100px 80px;
}

.ig-layer-inn {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.ig-layer-txt { grid-column: 1; }
.ig-layer-cards { grid-column: 2; display: flex; flex-direction: column; gap: 14px; }
.ig-layer-note { grid-column: 1 / -1; }

.ig-lcard {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 22px 24px;
  transition: border-color var(--t-base), background var(--t-base);
}

.ig-lcard:hover {
  border-color: rgba(250, 88, 2, 0.3);
  background: rgba(250, 88, 2, 0.05);
}

.ig-lcard-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--o);
  margin-bottom: 8px;
}

.ig-lcard-body {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.65;
}

.ig-lcard-body em {
  color: rgba(255, 255, 255, 0.82);
  font-style: italic;
}

.ig-layer-note-inner {
  background: rgba(250, 88, 2, 0.08);
  border: 1px solid rgba(250, 88, 2, 0.22);
  border-radius: 12px;
  padding: 22px 28px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.ig-note-icon {
  display: block;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 2px;
}

.ig-note-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--o);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ig-layer-note-inner p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.65;
}


/* USE CASES
   ---------------------------------------------------------------- */
.ig-uses { background: var(--wh); }

.ig-uses-hd { margin-bottom: 52px; }

.ig-use-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.ig-use {
  background: #fff;
  border: 1.5px solid var(--rule);
  border-radius: 16px;
  padding: 32px 26px;
  transition: border-color var(--t-base), box-shadow var(--t-base);
}

.ig-use:hover {
  border-color: rgba(250, 88, 2, 0.35);
  box-shadow: 0 6px 28px rgba(250, 88, 2, 0.1);
}

.ig-use-icon {
  width: 44px;
  height: 44px;
  background: var(--op);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.ig-use-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--o);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ig-use-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--dk);
  margin-bottom: 10px;
}

.ig-use-body {
  font-size: 14px;
  color: var(--mid);
  line-height: 1.65;
}


/* RESPONSIVE — IDIs & GROUPS PAGE
   ---------------------------------------------------------------- */
@media (max-width: 900px) {
  .ig-hi   { padding: 48px 24px 72px; }
  .ig-back { align-self: center; }

  .ig-why  { padding: 60px 24px; }
  .ig-layer { padding: 60px 24px; }

  .ig-why-inn {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .ig-layer-inn {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .ig-layer-cards { grid-column: 1; }
  .ig-layer-note  { grid-column: 1; }

  .ig-cap-grid {
    grid-template-columns: 1fr 1fr;
  }

  .ig-use-grid {
    grid-template-columns: 1fr 1fr;
  }

  .ig-step-out {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .ig-cmp-hd,
  .ig-cmp-row {
    grid-template-columns: 1fr 1.5fr;
  }

  .ig-cap-grid { grid-template-columns: 1fr; }
  .ig-use-grid { grid-template-columns: 1fr; }

  .ig-step {
    grid-template-columns: 44px 1fr;
    gap: 20px;
  }

  .ig-step-num {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
}
