/* Outcome-led messaging, visual scenarios, and practical ROI */
.problem-layout {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 8%;
  align-items: start;
}

.problem-layout h2 {
  max-width: 700px;
}

.problem-answer {
  padding: 27px 30px 29px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(16, 39, 61, .06);
}

.problem-answer > p:first-child {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: .92rem;
  font-weight: 720;
}

.problem-answer ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #4d6274;
  font-size: .9rem;
}

.problem-answer li {
  display: flex;
  gap: 10px;
  align-items: center;
}

.problem-answer li::before {
  display: grid;
  width: 18px;
  height: 18px;
  flex: none;
  place-items: center;
  border-radius: 50%;
  background: rgba(69, 222, 194, .16);
  color: #137d76;
  content: "✓";
  font-size: .7rem;
  font-weight: 800;
}

.problem-close {
  margin: 20px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: .91rem;
  font-weight: 650;
  line-height: 1.55;
}

.future {
  background: #edf4f4;
}

.future-heading {
  max-width: 780px;
}

.future-heading h2,
.roi h2 {
  margin-bottom: 17px;
  color: var(--ink);
  font-size: clamp(2.25rem, 4.3vw, 4rem);
  letter-spacing: -.035em;
  line-height: 1.08;
}

.future-heading .section-intro {
  max-width: 620px;
}

.future-grid {
  display: grid;
  gap: 17px;
  margin-top: 60px;
}

.future-card {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 54px;
  align-items: center;
  min-height: 295px;
  padding: 33px 38px;
  overflow: hidden;
  border: 1px solid rgba(18, 58, 80, .12);
  border-radius: 18px;
  background: #fbfdfc;
}

.future-card:nth-child(even) {
  grid-template-columns: 1.1fr .9fr;
  background: #e8f0f5;
}

.future-card:nth-child(even) .future-copy {
  order: 2;
}

.future-number {
  display: block;
  margin-bottom: 16px;
  color: #198a88;
  font: 700 .7rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .14em;
}

.future-card h3 {
  max-width: 390px;
  margin-bottom: 11px;
  color: var(--ink);
  font-size: clamp(1.4rem, 2vw, 1.75rem);
  letter-spacing: -.022em;
  line-height: 1.16;
}

.future-card p {
  max-width: 470px;
  margin: 0;
  color: #566c7c;
  font-size: .93rem;
  line-height: 1.65;
}

.system-demo {
  position: relative;
  max-width: 485px;
  min-height: 202px;
  padding: 17px;
  overflow: hidden;
  border: 1px solid rgba(126, 202, 255, .3);
  border-radius: 12px;
  background:
    linear-gradient(rgba(151, 188, 223, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(151, 188, 223, .055) 1px, transparent 1px),
    #0a1d32;
  background-size: 26px 26px;
  box-shadow: 0 20px 32px rgba(9, 30, 48, .16);
  color: #d7e9f6;
}

.system-demo::after {
  position: absolute;
  right: -54px;
  bottom: -54px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(69, 222, 194, .2), transparent 68%);
  content: "";
  pointer-events: none;
}

.demo-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 13px;
  border-bottom: 1px solid rgba(161, 210, 246, .18);
  color: #9db7cb;
  font: 650 .58rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .1em;
}

.demo-bar i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 11px var(--teal);
}

.demo-bar b {
  margin-left: auto;
  color: var(--teal);
  font-weight: 700;
}

.chat-question {
  width: 74%;
  margin: 18px 0 11px auto;
  padding: 10px 12px;
  border-radius: 8px 8px 2px 8px;
  background: #234561;
  color: #e8f6ff;
  font-size: .72rem;
}

.chat-answer {
  display: flex;
  width: 88%;
  gap: 9px;
  padding: 10px;
  border: 1px solid rgba(69, 222, 194, .2);
  border-radius: 8px 8px 8px 2px;
  background: rgba(69, 222, 194, .08);
}

.chat-answer > span {
  display: grid;
  width: 25px;
  height: 25px;
  flex: none;
  place-items: center;
  border-radius: 7px;
  background: var(--teal);
  color: #0a2a31;
  font-size: .56rem;
  font-weight: 800;
}

.chat-answer p {
  color: #c3d8e7;
  font-size: .68rem;
  line-height: 1.45;
}

.chat-answer b {
  display: block;
  margin-top: 4px;
  color: var(--teal);
  font-size: .62rem;
}

.workflow-demo {
  display: grid;
  grid-template-columns: 1fr 19px 1fr 19px 1fr;
  align-items: center;
  padding: 36px 22px;
}

.flow-step {
  position: relative;
  padding: 15px 10px;
  border: 1px solid rgba(140, 202, 245, .25);
  border-radius: 8px;
  background: rgba(16, 55, 87, .72);
  text-align: center;
}

.flow-step.active {
  border-color: rgba(69, 222, 194, .55);
  box-shadow: 0 0 20px rgba(69, 222, 194, .13);
}

.flow-step span {
  display: block;
  margin-bottom: 8px;
  color: #7fa3bd;
  font: 650 .55rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.flow-step b {
  color: #eff8ff;
  font-size: .67rem;
  line-height: 1.25;
}

.flow-step i {
  position: absolute;
  top: -7px;
  right: -7px;
  display: grid;
  width: 17px;
  height: 17px;
  place-items: center;
  border-radius: 50%;
  background: var(--teal);
  color: #073031;
  font-size: .56rem;
  font-style: normal;
  font-weight: 900;
}

.flow-arrow {
  color: var(--teal);
  text-align: center;
  transform: rotate(-90deg);
}

.search-demo {
  display: grid;
  gap: 10px;
  padding: 22px;
}

.search-field {
  padding: 11px 12px;
  border: 1px solid rgba(149, 203, 244, .34);
  border-radius: 6px;
  background: rgba(7, 26, 44, .8);
  color: #dceefa;
  font-size: .73rem;
}

.search-field span { margin-left: 7px; }

.result-line,
.result-row {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #a8c2d4;
  font-size: .66rem;
}

.result-line i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 9px var(--teal);
}

.result-line b {
  margin-left: auto;
  color: var(--teal);
  font: 700 .53rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .1em;
}

.result-row {
  padding: 10px;
  border-left: 2px solid rgba(69, 222, 194, .6);
  background: rgba(47, 96, 133, .28);
}

.result-row i {
  margin-left: auto;
  color: var(--teal);
  font-style: normal;
  font-weight: 750;
}

.roi {
  background: var(--ink);
  color: #fff;
}

.roi-layout {
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  gap: 10%;
  align-items: center;
}

.roi h2 { color: #fff; }

.roi-copy > p:not(.eyebrow) {
  max-width: 465px;
  color: #aabfd0;
  font-size: 1rem;
  line-height: 1.68;
}

.roi .text-link { margin-top: 15px; color: #dffefa; }

.roi-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border: 1px solid rgba(175, 215, 242, .18);
  border-radius: 14px;
}

.roi-list article {
  display: flex;
  gap: 14px;
  min-height: 145px;
  padding: 24px;
  border-right: 1px solid rgba(175, 215, 242, .18);
  border-bottom: 1px solid rgba(175, 215, 242, .18);
  background: linear-gradient(140deg, rgba(35, 77, 108, .32), rgba(7, 17, 30, .18));
}

.roi-list article:nth-child(2n) { border-right: 0; }
.roi-list article:nth-last-child(-n+2) { border-bottom: 0; }

.roi-list > article > span {
  color: var(--teal);
  font-size: 1.35rem;
}

.roi-list h3 {
  margin: 0 0 6px;
  color: #eff9ff;
  font-size: .94rem;
  letter-spacing: -.014em;
}

.roi-list p {
  margin: 0;
  color: #a3bbcd;
  font-size: .76rem;
  line-height: 1.55;
}

.about-emphasis {
  max-width: 590px;
  padding: 16px 0 0 18px;
  border-left: 2px solid var(--teal);
  color: #e0f9f5 !important;
  font-weight: 650;
}

@media (max-width: 900px) {
  .problem-layout,
  .roi-layout { grid-template-columns: 1fr; gap: 35px; }
  .future-card,
  .future-card:nth-child(even) { grid-template-columns: 1fr; gap: 29px; }
  .future-card:nth-child(even) .future-copy { order: 0; }
  .system-demo { max-width: none; }
}

@media (max-width: 680px) {
  .problem-answer { padding: 22px 20px; }
  .future-grid { margin-top: 38px; }
  .future-card { min-height: 0; padding: 25px 20px; }
  .system-demo { min-height: 178px; }
  .workflow-demo { grid-template-columns: 1fr; gap: 6px; padding: 16px 18px; }
  .flow-step { display: grid; grid-template-columns: 28px 1fr 18px; align-items: center; text-align: left; }
  .flow-step span { margin: 0; }
  .flow-arrow { height: 12px; transform: none; }
  .roi-list { grid-template-columns: 1fr; }
  .roi-list article,
  .roi-list article:nth-child(2n) { min-height: 0; border-right: 0; border-bottom: 1px solid rgba(175, 215, 242, .18); }
  .roi-list article:last-child { border-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .system-demo * { transition: none !important; animation: none !important; }
}
