/*
 * public/css/technology.css
 * Scoped styles for the /technology marketing page.
 * Does NOT own: shared brand tokens (canovate-brand.css owns those).
 */

/* --- Hero --- */
.tech-hero {
  background: linear-gradient(160deg, #1B4332 0%, #0B2B1D 55%, #081d13 100%);
  padding: 100px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.tech-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(199,242,132,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 40% 30% at 80% 60%, rgba(199,242,132,0.04) 0%, transparent 60%);
  pointer-events: none;
}
.tech-hero-inner {
  max-width: 780px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.tech-hero-badge {
  display: inline-block;
  background: rgba(199,242,132,0.10);
  border: 1px solid rgba(199,242,132,0.25);
  color: #C7F284;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 99px;
  margin-bottom: 28px;
}
.tech-hero h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.12;
  color: #F5F1E8;
  margin: 0 0 24px;
}
.tech-hero-sub {
  font-size: 1.1rem;
  line-height: 1.65;
  color: rgba(245,241,232,0.70);
  max-width: 580px;
  margin: 0 auto 40px;
}
.tech-hero-layers {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  margin-top: 8px;
}
.tech-layer-pill {
  background: rgba(245,241,232,0.06);
  border: 1px solid rgba(245,241,232,0.12);
  border-radius: 99px;
  padding: 8px 20px;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(245,241,232,0.80);
  white-space: nowrap;
}
.tech-layer-arrow {
  color: rgba(199,242,132,0.45);
  font-size: 1.1rem;
  margin: 0 10px;
}

/* --- Section wrapper --- */
.tech-section {
  max-width: 1080px;
  margin: 0 auto;
  padding: 80px 24px;
}
.tech-section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: #C7F284;
  margin-bottom: 14px;
}
.tech-section-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  color: #F5F1E8;
  margin: 0 0 18px;
  line-height: 1.18;
}
.tech-section-body {
  font-size: 1.05rem;
  line-height: 1.70;
  color: rgba(245,241,232,0.65);
  max-width: 640px;
  margin: 0 0 48px;
}
.tech-divider {
  border: none;
  border-top: 1px solid rgba(245,241,232,0.07);
  margin: 0;
}

/* --- Architecture diagram --- */
.tech-arch-wrap {
  background: rgba(245,241,232,0.03);
  border: 1px solid rgba(245,241,232,0.08);
  border-radius: 20px;
  overflow: hidden;
}
.tech-arch-layer {
  padding: 32px 36px;
  border-bottom: 1px solid rgba(245,241,232,0.06);
  display: flex;
  align-items: flex-start;
  gap: 24px;
  transition: background 0.2s;
}
.tech-arch-layer:last-child { border-bottom: none; }
.tech-arch-layer:hover { background: rgba(199,242,132,0.03); }
.tech-arch-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid rgba(199,242,132,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: #C7F284;
  margin-top: 2px;
}
.tech-arch-content h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #F5F1E8;
  margin: 0 0 6px;
}
.tech-arch-content p {
  font-size: 0.90rem;
  color: rgba(245,241,232,0.58);
  line-height: 1.6;
  margin: 0;
}
.tech-arch-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.tech-arch-chip {
  background: rgba(199,242,132,0.08);
  border: 1px solid rgba(199,242,132,0.18);
  color: rgba(199,242,132,0.85);
  font-size: 0.72rem;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 99px;
}

/* --- Agents grid --- */
.tech-agents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.tech-agent-card {
  background: rgba(245,241,232,0.03);
  border: 1px solid rgba(245,241,232,0.08);
  border-radius: 16px;
  padding: 28px;
  transition: border-color 0.2s, background 0.2s;
}
.tech-agent-card:hover {
  border-color: rgba(199,242,132,0.20);
  background: rgba(199,242,132,0.03);
}
.tech-agent-name {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #C7F284;
  margin-bottom: 8px;
}
.tech-agent-job {
  font-size: 0.98rem;
  font-weight: 600;
  color: #F5F1E8;
  margin-bottom: 12px;
  line-height: 1.35;
}
.tech-agent-meta {
  font-size: 0.82rem;
  color: rgba(245,241,232,0.50);
  line-height: 1.55;
}
.tech-agent-meta strong {
  color: rgba(245,241,232,0.72);
  font-weight: 500;
}

/* --- Compliance --- */
.tech-compliance-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}
@media (max-width: 680px) {
  .tech-compliance-grid { grid-template-columns: 1fr; }
}
.tech-state-map {
  background: rgba(245,241,232,0.03);
  border: 1px solid rgba(245,241,232,0.08);
  border-radius: 16px;
  padding: 28px;
}
.tech-state-map h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(245,241,232,0.55);
  margin: 0 0 18px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.tech-state-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.tech-state-tag {
  background: rgba(199,242,132,0.10);
  border: 1px solid rgba(199,242,132,0.20);
  color: #C7F284;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
}
.tech-state-tag.medical {
  background: rgba(245,241,232,0.05);
  border-color: rgba(245,241,232,0.12);
  color: rgba(245,241,232,0.60);
}
.tech-rule-preview {
  background: rgba(245,241,232,0.03);
  border: 1px solid rgba(245,241,232,0.08);
  border-radius: 16px;
  padding: 28px;
}
.tech-rule-preview h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(245,241,232,0.55);
  margin: 0 0 16px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.tech-rule-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid rgba(245,241,232,0.06);
}
.tech-rule-item:last-child { border-bottom: none; padding-bottom: 0; }
.tech-rule-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 6px;
}
.tech-rule-dot.block { background: #e05252; }
.tech-rule-dot.warn  { background: #d4a92c; }
.tech-rule-dot.auto  { background: #C7F284; }
.tech-rule-text {
  font-size: 0.85rem;
  line-height: 1.55;
  color: rgba(245,241,232,0.65);
}
.tech-rule-text strong { color: rgba(245,241,232,0.85); font-weight: 600; }
.tech-compliance-stats {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.tech-stat {
  flex: 1;
  min-width: 140px;
  background: rgba(245,241,232,0.03);
  border: 1px solid rgba(245,241,232,0.08);
  border-radius: 12px;
  padding: 20px 22px;
}
.tech-stat-num {
  font-family: 'DM Serif Display', serif;
  font-size: 2rem;
  color: #C7F284;
  line-height: 1;
  margin-bottom: 4px;
}
.tech-stat-label {
  font-size: 0.80rem;
  color: rgba(245,241,232,0.50);
  line-height: 1.45;
}

/* --- Network moat --- */
.tech-network-card {
  background: linear-gradient(135deg, rgba(27,67,50,0.55) 0%, rgba(11,43,29,0.70) 100%);
  border: 1px solid rgba(199,242,132,0.15);
  border-radius: 20px;
  padding: 44px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 700px) {
  .tech-network-card { grid-template-columns: 1fr; padding: 28px 24px; }
}
.tech-network-quote {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  line-height: 1.35;
  color: #F5F1E8;
  margin: 0 0 16px;
}
.tech-network-desc {
  font-size: 0.95rem;
  color: rgba(245,241,232,0.58);
  line-height: 1.65;
  margin: 0;
}
.tech-network-example {
  background: rgba(245,241,232,0.04);
  border: 1px solid rgba(245,241,232,0.09);
  border-radius: 14px;
  padding: 22px 24px;
}
.tech-network-example h4 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(199,242,132,0.75);
  margin: 0 0 14px;
}
.tech-benchmark-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid rgba(245,241,232,0.06);
  font-size: 0.84rem;
}
.tech-benchmark-row:last-child { border-bottom: none; }
.tech-benchmark-label { color: rgba(245,241,232,0.55); }
.tech-benchmark-val { color: #C7F284; font-weight: 600; }

/* --- Stack strip --- */
.tech-stack-strip {
  background: rgba(245,241,232,0.02);
  border-top: 1px solid rgba(245,241,232,0.07);
  border-bottom: 1px solid rgba(245,241,232,0.07);
  padding: 40px 24px;
}
.tech-stack-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.tech-stack-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: rgba(245,241,232,0.38);
  margin-right: 8px;
  white-space: nowrap;
}
.tech-stack-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(245,241,232,0.04);
  border: 1px solid rgba(245,241,232,0.09);
  border-radius: 10px;
  padding: 8px 14px;
}
.tech-stack-icon {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  flex-shrink: 0;
}
.tech-stack-name {
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(245,241,232,0.70);
}

/* --- CTA footer --- */
.tech-cta {
  background: linear-gradient(160deg, #1B4332 0%, #0B2B1D 100%);
  padding: 90px 24px;
  text-align: center;
  border-top: 1px solid rgba(245,241,232,0.07);
}
.tech-cta h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: #F5F1E8;
  margin: 0 0 14px;
}
.tech-cta p {
  font-size: 1.05rem;
  color: rgba(245,241,232,0.60);
  margin: 0 0 36px;
  line-height: 1.60;
}
.tech-cta-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.tech-cta-primary {
  background: #C7F284;
  color: #0B2B1D;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 30px;
  border-radius: 99px;
  text-decoration: none;
  transition: opacity 0.2s;
  display: inline-block;
}
.tech-cta-primary:hover { opacity: 0.88; }
.tech-cta-secondary {
  background: transparent;
  color: rgba(245,241,232,0.80);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 14px 30px;
  border-radius: 99px;
  border: 1px solid rgba(245,241,232,0.20);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
  display: inline-block;
}
.tech-cta-secondary:hover {
  border-color: rgba(245,241,232,0.40);
  color: #F5F1E8;
}

/* Responsive tweaks */
@media (max-width: 600px) {
  .tech-arch-layer { flex-direction: column; gap: 14px; }
  .tech-layer-arrow { display: none; }
}
