/* technology-section.css */
.technology {
  padding: 36px 5vw 34px;
  background: #ffffff;
  color: #14213d;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  border-top: 1px solid #f1f3f7;
}

.tech-shell {
  width: min(1560px, 100%);
  margin: 0 auto;
}

.tech-header {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.6fr);
  align-items: start;
  gap: 24px;
  margin-bottom: 22px;
}

.tech-eyebrow {
  margin: 0 0 9px 0;
  color: #6a5de2;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  line-height: 1.2;
}

.tech-title {
  margin: 0;
  color: #13203d;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(46px, 4vw, 60px);
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1;
}

.tech-intro {
  margin: 4px 0 0 0;
  color: #5e6678;
  font-size: 15.5px;
  line-height: 1.55;
  max-width: 440px;
}

.tech-live-demo-link {
  display: inline-flex;
  color: #1454a5;
  font-size: 13px;
  font-weight: 750;
}

.tech-live-demo-link:hover {
  color: #df643d;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tech-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 10px;
}

.tech-panel {
  position: relative;
  border-radius: 22px;
  border: 1px solid rgba(25, 42, 70, 0.08);
  padding: 22px 26px 20px;
  height: clamp(295px, 31vw, 330px);
  display: flex;
  flex-direction: column;
}

.tech-panel-runtime {
  background: linear-gradient(145deg, rgba(238, 245, 252, 0.6), rgba(248, 251, 255, 0.4));
}

.tech-panel-face {
  background: linear-gradient(145deg, rgba(244, 243, 251, 0.6), rgba(249, 248, 253, 0.4));
  overflow: hidden;
}

.tech-panel-header {
  margin-bottom: 16px;
  position: relative;
  z-index: 10;
}

.tech-panel-num {
  display: inline-block;
  color: #7b8a9d;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.15em;
  margin-bottom: 10px;
}

.tech-panel-header h3 {
  margin: 0 0 4px 0;
  color: #13203d;
  font-size: clamp(20px, 2vw, 22px);
  font-weight: 750;
  letter-spacing: -0.02em;
}

.tech-panel-header p {
  margin: 0;
  color: #5e6678;
  font-size: 14px;
  line-height: 1.4;
}

.tech-runtime-flow {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.tech-runtime-card {
  flex: 1;
  background: #ffffff;
  border: 1px solid rgba(25, 42, 70, 0.06);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 8px 24px rgba(20, 32, 50, 0.03);
  position: relative;
  z-index: 2;
  min-height: 205px;
  display: flex;
  flex-direction: column;
}

.tech-runtime-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #eef3f9;
  color: #3b71af;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.tech-runtime-icon svg {
  width: 18px;
  height: 18px;
}

.tech-runtime-card h4 {
  margin: 0 0 7px 0;
  font-size: 16px;
  color: #13203d;
  font-weight: 750;
}

.tech-runtime-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.tech-runtime-card li {
  position: relative;
  padding-left: 14px;
  font-size: 13px;
  color: #5e6678;
  margin-bottom: 6px;
  line-height: 1.35;
}

.tech-runtime-card li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: #3b71af;
  font-size: 14px;
  font-weight: bold;
}

.tech-runtime-center {
  flex: 0 0 64px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.tech-runtime-node {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid rgba(106, 93, 226, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  color: #6a5de2;
  line-height: 1.15;
  box-shadow: 0 4px 12px rgba(106, 93, 226, 0.06);
  position: relative;
  z-index: 2;
}

.tech-runtime-line {
  position: absolute;
  top: 50%;
  height: 1px;
  background: rgba(106, 93, 226, 0.35);
  z-index: 1;
}

.tech-runtime-line-left {
  right: 50%;
  width: 72px;
}

.tech-runtime-line-right {
  left: 50%;
  width: 72px;
}

.tech-face-diagram {
  position: absolute;
  inset: 82px 0 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tech-face-img {
  width: auto;
  height: 82%;
  max-width: 60%;
  max-height: 235px;
  object-fit: contain;
  position: relative;
  z-index: 2;
}

.tech-face-callout {
  position: absolute;
  display: flex;
  flex-direction: column;
  z-index: 3;
  width: 120px;
}

.tech-face-callout strong {
  font-size: 14.5px;
  color: #13203d;
  font-weight: 750;
  margin-bottom: 2px;
  letter-spacing: -0.01em;
}

.tech-face-callout span {
  font-size: 12.5px;
  color: #667085;
  line-height: 1.4;
}

.tech-face-callout-tl { top: 10%; left: 10%; text-align: right; align-items: flex-end; }
.tech-face-callout-bl { bottom: 10%; left: 10%; text-align: right; align-items: flex-end; }
.tech-face-callout-tr { top: 10%; right: 10%; text-align: left; align-items: flex-start; }
.tech-face-callout-br { bottom: 10%; right: 10%; text-align: left; align-items: flex-start; }

.tech-face-connector {
  position: absolute;
  background: rgba(106, 93, 226, 0.2);
}

.tech-face-connector-tl { width: 40px; height: 1px; top: 10px; right: -48px; transform: rotate(15deg); }
.tech-face-connector-bl { width: 40px; height: 1px; top: 10px; right: -48px; transform: rotate(-15deg); }
.tech-face-connector-tr { width: 40px; height: 1px; top: 10px; left: -48px; transform: rotate(-15deg); }
.tech-face-connector-br { width: 40px; height: 1px; top: 10px; left: -48px; transform: rotate(15deg); }

.tech-capabilities {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 10px;
}

.tech-cap-card {
  background: #ffffff;
  border: 1px solid rgba(25, 42, 70, 0.07);
  border-radius: 18px;
  padding: 14px;
  height: clamp(118px, 11vw, 140px);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tech-cap-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(25, 42, 70, 0.05);
}

.tech-cap-icon {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.tech-cap-icon svg {
  width: 16px;
  height: 16px;
}

.cap-orange .tech-cap-icon { background: #fff4eb; color: #ed6a3a; }
.cap-blue .tech-cap-icon { background: #eef7fc; color: #337ab7; }
.cap-green .tech-cap-icon { background: #eef8f1; color: #4a9a70; }
.cap-violet .tech-cap-icon { background: #f6f0fc; color: #7f67b5; }

.tech-cap-card h3 {
  margin: 0 0 2px 0;
  font-size: 17px;
  color: #13203d;
  font-weight: 750;
  line-height: 1.18;
  letter-spacing: -0.01em;
}

.tech-cap-card p {
  margin: 0;
  font-size: 13px;
  color: #5e6678;
  line-height: 1.4;
  flex: 1;
}

.tech-summary {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  min-height: 128px;
  box-sizing: border-box;
  margin: 0;
  padding: 18px 24px;
  list-style: none;
  background: #fbfcfe;
  border: 1px solid rgba(25, 42, 70, 0.07);
  border-radius: 18px;
}

.tech-summary::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 40%;
  right: 12%;
  left: 12%;
  height: 1px;
  background: rgba(59, 91, 128, 0.16);
  pointer-events: none;
}

.tech-signal {
  position: relative;
  z-index: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 12px;
  text-align: center;
}

.tech-signal--real-time { color: #337ab7; }
.tech-signal--runtime { color: #587996; }
.tech-signal--models { color: #7f67b5; }
.tech-signal--scale { color: #536f8a; }

.tech-signal-visual {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  background: #fbfcfe;
}

.tech-signal-visual svg {
  display: block;
  width: 80px;
  height: 36px;
  overflow: visible;
}

.tech-signal-visual .signal-line {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tech-signal-visual .signal-line--connector {
  opacity: 0.68;
}

.tech-signal-visual .signal-node {
  fill: #fbfcfe;
  stroke: currentColor;
  stroke-width: 1.6;
}

.tech-signal-visual .signal-node--core {
  fill: currentColor;
  fill-opacity: 0.12;
}

.tech-signal-visual .signal-node--filled,
.tech-signal-visual .signal-dot {
  fill: currentColor;
  stroke: none;
}

.tech-signal-title {
  font-size: 14px;
  color: #13203d;
  font-weight: 750;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

@media (max-width: 1200px) {
  .tech-header {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .tech-intro {
    max-width: 600px;
  }
  .tech-panels {
    grid-template-columns: 1fr;
    height: auto;
  }
  .tech-panel {
    height: auto;
    min-height: 400px;
  }
  .tech-capabilities {
    grid-template-columns: 1fr 1fr;
  }
  .tech-cap-card {
    height: auto;
    min-height: 160px;
  }
  .tech-summary {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    min-height: 0;
    gap: 16px 8px;
    padding: 20px 18px;
  }
  .tech-summary::before {
    display: none;
  }
}

@media (max-width: 768px) {
  .tech-runtime-flow {
    flex-direction: column;
    gap: 20px;
  }
  .tech-runtime-card {
    width: 100%;
    min-height: auto;
  }
  .tech-runtime-center {
    flex: 0 0 auto;
    height: 40px;
    width: 100%;
  }
  .tech-runtime-center::before {
    content: "";
    position: absolute;
    top: -40px;
    bottom: -40px;
    left: 50%;
    width: 1px;
    background: rgba(106, 93, 226, 0.35);
    z-index: 1;
  }
  .tech-runtime-line {
    display: none;
  }
  
  .tech-face-diagram {
    position: relative;
    inset: auto;
    flex-direction: column;
    margin-top: 32px;
    min-height: 400px;
  }
  .tech-face-img {
    width: 180px;
    height: 180px;
    margin-bottom: 24px;
  }
  .tech-face-callout {
    position: static;
    width: 100%;
    text-align: center !important;
    align-items: center !important;
    margin-bottom: 16px;
  }
  .tech-face-connector {
    display: none;
  }
  .tech-capabilities {
    grid-template-columns: 1fr;
  }
  .tech-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto auto;
    gap: 8px 4px;
    padding: 14px 10px;
  }
  .tech-signal {
    min-height: 82px;
    gap: 5px;
    padding: 6px 3px;
  }
  .tech-signal-visual svg {
    width: 72px;
    height: 34px;
  }
  .tech-signal-title {
    font-size: 13px;
  }
}
