.solution-showcase {
  padding: 96px 0;
  border-top: 1px solid rgba(255,255,255,.04);
  border-bottom: 1px solid rgba(255,255,255,.04);
  background:
    radial-gradient(circle at 85% 18%, rgba(32,199,101,.07), transparent 25%),
    linear-gradient(180deg, rgba(255,255,255,.008), rgba(255,255,255,.018));
}

.solution-stack {
  display: grid;
  gap: 24px;
  margin-top: 42px;
}

.solution-row {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  min-height: 330px;
  border: 1px solid rgba(255,255,255,.085);
  border-radius: 28px;
  overflow: hidden;
  background: rgba(10,24,16,.74);
  box-shadow: 0 22px 60px rgba(0,0,0,.12);
}

.solution-row:nth-child(even) {
  grid-template-columns: 1.08fr .92fr;
}

.solution-row:nth-child(even) .solution-copy {
  order: 2;
}

.solution-row:nth-child(even) .solution-visual {
  order: 1;
}

.solution-copy {
  padding: 42px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.solution-copy h3 {
  margin: 10px 0 14px;
  font-size: clamp(30px, 3.3vw, 45px);
  line-height: 1.03;
  letter-spacing: -.035em;
}

.solution-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  max-width: 620px;
}

.solution-tags {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.solution-tag {
  padding: 7px 11px;
  border: 1px solid rgba(86,229,143,.14);
  border-radius: 999px;
  background: rgba(32,199,101,.055);
  color: #dce8df;
  font-size: 12px;
  font-weight: 750;
}

.solution-visual {
  position: relative;
  overflow: hidden;
  min-height: 330px;
  padding: 34px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(rgba(86,229,143,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(86,229,143,.035) 1px, transparent 1px),
    radial-gradient(circle at 50% 50%, rgba(32,199,101,.12), transparent 50%),
    #08150e;
  background-size: 34px 34px, 34px 34px, auto, auto;
}

.visual-board {
  width: min(100%, 440px);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 13px;
  position: relative;
  z-index: 1;
}

.visual-tile {
  min-height: 104px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 17px;
  background: rgba(5,15,10,.9);
  box-shadow: 0 14px 34px rgba(0,0,0,.18);
}

.visual-tile.wide {
  grid-column: span 2;
}

.visual-tile strong {
  display: block;
  color: white;
  font-size: 15px;
  margin-bottom: 4px;
}

.visual-tile span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.visual-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--green-2);
  box-shadow: 0 0 13px rgba(86,229,143,.55);
}

.live-energy-section {
  padding: 18px 0 96px;
}

.live-energy-shell {
  position: relative;
  overflow: hidden;
  padding: 32px 36px 34px;
  border: 1px solid rgba(86,229,143,.16);
  border-radius: 28px;
  background:
    radial-gradient(circle at 90% 0%, rgba(32,199,101,.12), transparent 30%),
    linear-gradient(135deg, rgba(9,24,15,.96), rgba(5,14,9,.98));
  box-shadow: 0 24px 70px rgba(0,0,0,.18);
}

.live-energy-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .24;
  background-image:
    linear-gradient(rgba(86,229,143,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(86,229,143,.035) 1px, transparent 1px);
  background-size: 36px 36px;
}

.live-energy-copy,
.energy-graph-grid,
.energy-grid,
.live-energy-footer {
  position: relative;
  z-index: 1;
}

.live-energy-heading-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.live-energy-heading-row h2 {
  margin: 8px 0 9px;
  max-width: 760px;
  font-size: clamp(27px, 3.2vw, 42px);
  line-height: 1.03;
  letter-spacing: -.035em;
}

.live-energy-copy > p {
  margin: 0;
  max-width: 860px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.live-energy-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  margin-top: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.09);
  background: rgba(255,255,255,.035);
  color: #dfe7e2;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.live-energy-status > span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #8d9991;
}

.live-energy-status.is-online {
  border-color: rgba(86,229,143,.25);
  color: #c9f7d9;
  background: rgba(32,199,101,.08);
}

.live-energy-status.is-online > span {
  background: var(--green-2);
  box-shadow: 0 0 14px rgba(86,229,143,.7);
}

.live-energy-status.is-offline {
  color: #e7c6c6;
  background: rgba(200,82,82,.08);
  border-color: rgba(220,100,100,.18);
}

.live-energy-status.is-offline > span {
  background: #cf7474;
}

.energy-graph-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.energy-graph-card {
  min-width: 0;
  padding: 14px 14px 10px;
  border: 1px solid rgba(255,255,255,.075);
  border-radius: 17px;
  background: rgba(4,14,9,.78);
  overflow: hidden;
}

.energy-graph-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
  color: #9faea4;
  font-size: 11px;
  font-weight: 700;
}

.energy-graph-head strong {
  color: var(--green-2);
  font-size: 14px;
  white-space: nowrap;
}

.energy-sparkline {
  width: 100%;
  height: 72px;
  display: block;
  overflow: visible;
  border-radius: 8px;
  background:
    linear-gradient(rgba(86,229,143,.05) 1px, transparent 1px);
  background-size: 100% 25%;
}

.energy-sparkline polyline {
  fill: none;
  stroke: var(--green-2);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 4px rgba(86,229,143,.22));
}

.energy-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.energy-card {
  min-height: 126px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
  border: 1px solid rgba(255,255,255,.075);
  border-radius: 18px;
  background: rgba(4,14,9,.84);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.018);
}

.energy-card-primary {
  border-color: rgba(86,229,143,.17);
  background: linear-gradient(180deg, rgba(32,199,101,.09), rgba(4,14,9,.88));
}

.energy-label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .02em;
}

.energy-value {
  display: flex;
  align-items: baseline;
  gap: 5px;
  color: #fff;
  font-size: clamp(25px, 2.6vw, 36px);
  line-height: 1;
  letter-spacing: -.04em;
}

.energy-value small {
  color: var(--green-2);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.energy-detail {
  color: #9faea4;
  font-size: 11px;
}

.live-energy-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.06);
  color: #86968c;
  font-size: 12px;
}

.principles {
  padding: 86px 0;
  border-top: 1px solid rgba(255,255,255,.04);
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 38px;
}

.principle {
  padding: 28px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 22px;
  background: rgba(255,255,255,.022);
}

.principle-number {
  color: var(--green-2);
  font-weight: 900;
  font-size: 13px;
  letter-spacing: .14em;
}

.principle h3 {
  margin: 12px 0 8px;
  font-size: 22px;
}

.principle p {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 1100px) {
  .energy-graph-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .energy-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .solution-row,
  .solution-row:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .solution-row:nth-child(even) .solution-copy,
  .solution-row:nth-child(even) .solution-visual {
    order: initial;
  }

  .principle-grid {
    grid-template-columns: 1fr;
  }

  .live-energy-heading-row {
    display: block;
  }

  .live-energy-status {
    margin-top: 0;
  }
}

@media (max-width: 620px) {
  .solution-showcase { padding: 68px 0; }
  .solution-copy { padding: 28px; }
  .solution-visual { padding: 22px; min-height: 290px; }
  .visual-board { grid-template-columns: 1fr; }
  .visual-tile.wide { grid-column: auto; }
  .live-energy-section { padding: 8px 0 68px; }
  .live-energy-shell { padding: 24px 18px; border-radius: 22px; }
  .energy-graph-grid { grid-template-columns: 1fr; }
  .energy-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .energy-card { min-height: 118px; padding: 14px; }
  .live-energy-footer { display: grid; }
}
