/* Technology page — page-specific layout rules on top of components.css */

/* Hero image frame (chip photo) */
.tech-hero-media {
  box-shadow: 0 0 60px 0 rgba(14, 165, 233, 0.12);
}

.tech-hero-media img {
  border-radius: 16px;
}

/* Section 2 — Core System / two-column engine explorer */
.engine-explorer {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 16px;
  width: 100%;
}

@media (max-width: 900px) {
  .engine-explorer {
    grid-template-columns: 1fr;
  }
}

.engine-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.engine-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 13px 17px;
  border-radius: 18px;
  border: 1px solid transparent;
  background: transparent;
  text-align: left;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.engine-row:hover {
  background: rgba(14, 165, 233, 0.08);
}

.engine-row.active {
  background: rgba(14, 165, 233, 0.15);
  border-color: rgba(14, 165, 233, 0.25);
}

.engine-row-icon {
  width: 32px;
  height: 32px;
  border-radius: 14px;
  background: rgba(14, 165, 233, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s ease;
}

.engine-row.active .engine-row-icon {
  background: rgba(14, 165, 233, 0.19);
}

.engine-row-icon img {
  width: 16px;
  height: 16px;
}

.engine-row-text {
  flex: 1;
  min-width: 0;
}

.engine-row-text .row-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  color: var(--color-text-muted-60);
}

.engine-row.active .engine-row-text .row-title {
  color: var(--color-text);
}

.engine-row-text .row-subtitle {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--color-text-muted-25);
}

.engine-row.active .engine-row-text .row-subtitle {
  color: var(--color-accent);
}

.engine-row-chevron {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.engine-row.active .engine-row-chevron {
  opacity: 1;
}

/* Detail panel */
.engine-detail {
  border: 1px solid rgba(14, 165, 233, 0.14);
  border-radius: 16px;
  background: linear-gradient(156deg, rgba(14, 165, 233, 0.05) 0%, rgba(8, 13, 28, 0.9) 100%);
  padding: 29px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-height: 320px;
}

.engine-detail-header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.engine-detail-icon {
  width: 48px;
  height: 48px;
  border-radius: 18px;
  background: rgba(14, 165, 233, 0.14);
  border: 1px solid rgba(14, 165, 233, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.engine-detail-icon img {
  width: 24px;
  height: 24px;
}

.engine-detail-header h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 20px;
  color: var(--color-text);
}

.engine-detail-header .row-subtitle {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--color-accent);
}

.engine-detail p {
  font-size: 14px;
  line-height: 1.625;
  color: var(--color-text-muted-60);
}

.engine-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.engine-tags span {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--color-text-muted-60);
  background: rgba(14, 165, 233, 0.07);
  border: 1px solid rgba(14, 165, 233, 0.19);
  border-radius: 999px;
  padding: 7px 13px;
}

.engine-progress {
  display: flex;
  gap: 6px;
  margin-top: auto;
}

.engine-progress span {
  flex: 1;
  height: 2px;
  border-radius: 999px;
  background: rgba(14, 165, 233, 0.13);
}

.engine-progress span.active {
  background: var(--color-accent);
}

/* Section 3 — layered architecture */
.layer-stack {
  max-width: 896px;
  margin: 0 auto;
  width: 100%;
}

.layer-stack .layer-name::before {
  background: var(--layer-dot, var(--color-accent));
}

.layer-flow-caption {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 16px;
  opacity: 0.4;
  flex-wrap: wrap;
}

.layer-flow-caption .flow-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--color-text-muted-40);
}

.layer-flow-caption .flow-item span.line {
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--color-accent);
}

.layer-flow-caption .flow-item.down span.line {
  background: #10b981;
}

/* Section 4 — closing CTA */
.tech-cta {
  text-align: center;
  padding-top: 64px;
}

.tech-cta p {
  font-size: 16px;
  color: var(--color-text-muted-40);
  margin-bottom: 24px;
}

.tech-cta .button-row {
  justify-content: center;
  margin-top: 0;
}
