/* Integraatiot 2/6: hero, tilauskortti, järjestelmäsolmut ja johdot */
  .ig-hero {
    position: relative;
    padding: 150px 0 120px;
    background:
      radial-gradient(55% 65% at 82% 30%, rgba(14, 165, 160, 0.12) 0%, transparent 60%),
      radial-gradient(50% 60% at 70% 92%, rgba(232, 30, 133, 0.10) 0%, transparent 60%),
      linear-gradient(180deg, #eaf6f8 0%, #f6f9fc 55%, var(--bg) 100%);
    overflow: hidden;
    isolation: isolate;
  }
  .ig-hero-grid-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: radial-gradient(rgba(45, 58, 125, 0.16) 1px, transparent 1.2px);
    background-size: 26px 26px;
    -webkit-mask-image: radial-gradient(70% 80% at 72% 45%, #000 0%, transparent 75%);
    mask-image: radial-gradient(70% 80% at 72% 45%, #000 0%, transparent 75%);
  }
  .ig-hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr);
    gap: 48px;
    align-items: center;
  }
  .hero-page-inner { max-width: 620px; }
  .ig-hero .kicker { margin-bottom: 20px; }
  .ig-hero h1 {
    font-size: clamp(36px, 4.2vw, 58px);
    font-weight: 900;
    line-height: 1.04;
    letter-spacing: -0.03em;
    color: var(--navy-dark);
    margin-bottom: 28px;
  }
  .ig-hero h1 .gr {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  .ig-hero-layout p {
    font-size: 19px;
    color: var(--text-muted);
    line-height: 1.62;
    margin-bottom: 18px;
  }
  .ig-hero-layout p + p { font-size: 17px; margin-bottom: 36px; }
  .ig-hero-layout p a {
    color: var(--navy);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: var(--navy-100);
    text-underline-offset: 3px;
  }
  .ig-hero-layout p a:hover { text-decoration-color: var(--pink); }
  .hero-cta-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
  }

  /* ============================================================
     NÄYTTÄMÖ
     ============================================================ */
  .ig-stage {
    position: relative;
    width: 100%;
    max-width: 540px;
    aspect-ratio: 1 / 1;
    margin-left: auto;
  }
  .ig-wires {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    z-index: 1;
  }
  .ig-wire {
    fill: none;
    stroke: url(#igWire);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-dasharray: 4 6;
    opacity: 0.75;
  }
  .ig-spark {
    fill: #fff;
    stroke: var(--pink);
    stroke-width: 2;
    filter: drop-shadow(0 0 6px rgba(232, 30, 133, 0.85));
  }

  /* Tilauskortti */
  .ig-order {
    position: absolute;
    top: 3%;
    left: 50%;
    width: 72%;
    z-index: 2;
    padding: 24px 26px 22px;
    background: #fff;
    border: 1px solid rgba(213, 218, 237, 0.8);
    border-radius: 26px;
    box-shadow:
      0 2px 4px rgba(35, 46, 102, 0.04),
      0 24px 48px -16px rgba(35, 46, 102, 0.22),
      0 60px 100px -40px rgba(14, 165, 160, 0.28);
    translate: -50% 0;
    animation: igFloat 8s ease-in-out infinite;
  }
  @keyframes igFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
  }
  .ig-order-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
  }
  .ig-order-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 11px;
    border-radius: 999px;
    background: var(--pink-50);
    color: var(--pink);
    font-size: 12px;
    font-weight: 800;
  }
  .ig-order-badge::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--pink);
    animation: igPulse 1.8s ease-out infinite;
  }
  @keyframes igPulse {
    0% { box-shadow: 0 0 0 0 rgba(232, 30, 133, 0.5); }
    100% { box-shadow: 0 0 0 8px rgba(232, 30, 133, 0); }
  }
  .ig-order-time {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
  }
  .ig-order-id {
    margin: 0 0 12px;
    font-size: 22px;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: var(--navy-dark);
  }
  .ig-order-rows { list-style: none; }
  .ig-order-rows li {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 14px;
    align-items: baseline;
    padding: 9px 0;
    border-top: 1px solid var(--border);
    font-size: 14.5px;
  }
  .ig-order-rows span { font-weight: 700; color: var(--navy-dark); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .ig-order-rows b { font-weight: 700; color: var(--text-muted); }
  .ig-order-rows em { font-style: normal; font-weight: 700; color: var(--navy-dark); }
  .ig-order-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding-top: 12px;
    border-top: 1px solid var(--border);
    font-size: 14px;
    font-weight: 700;
    color: var(--text-muted);
  }
  .ig-order-total strong { font-size: 18px; font-weight: 900; color: var(--navy-dark); }

  /* Uudelleenyritys-laatta */
  .ig-retry {
    position: absolute;
    top: 46%;
    left: -4%;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: #fff;
    border: 1px solid rgba(213, 218, 237, 0.9);
    border-radius: 14px;
    box-shadow: 0 16px 32px -14px rgba(35, 46, 102, 0.3);
    opacity: 0;
    animation: igPop 0.6s var(--ease-out) 2.4s forwards;
  }
  .ig-retry-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 4px var(--green-50);
    flex-shrink: 0;
  }
  .ig-retry b { display: block; font-size: 13px; font-weight: 800; color: var(--navy-dark); }
  .ig-retry span { display: block; font-size: 12px; font-weight: 600; color: var(--text-muted); }
  @keyframes igPop {
    from { opacity: 0; transform: translateY(8px) scale(0.96); }
    to { opacity: 1; transform: none; }
  }

  /* Järjestelmäsolmut */
  .ig-nodes {
    position: absolute;
    left: 0;
    right: 0;
    top: 69%;
    z-index: 2;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }
  .ig-node {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 14px 14px 12px;
    background: #fff;
    border: 1px solid rgba(213, 218, 237, 0.9);
    border-radius: 18px;
    box-shadow: 0 18px 36px -18px rgba(35, 46, 102, 0.3);
    opacity: 0;
    transform: translateY(10px);
    animation: igPop 0.6s var(--ease-out) forwards;
  }
  .ig-node:nth-child(1) { animation-delay: 0.9s; }
  .ig-node:nth-child(2) { animation-delay: 1.15s; }
  .ig-node:nth-child(3) { animation-delay: 1.4s; }
  .ig-node-ico {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    margin-bottom: 6px;
  }
  .ig-node-label {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
  }
  .ig-node-text {
    font-size: 14px;
    font-weight: 800;
    line-height: 1.3;
    color: var(--navy-dark);
  }
  .ig-node-ok {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 6px;
    font-size: 12px;
    font-weight: 800;
    color: var(--green);
  }
  .ig-node-ok svg {
    width: 16px;
    height: 16px;
    padding: 3px;
    border-radius: 50%;
    background: var(--green-50);
  }

  .ig-hero-layout .ig-stage-note {
    margin: 0;
    position: absolute;
    right: 0;
    bottom: -4%;
    z-index: 3;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
  }
