/* ELUN — AIoT (Artificial Intelligence of Things) */

body.aiot-page {
  background: var(--off-white);
}

.aiot-hero {
  padding: calc(var(--nav-height) + var(--safe-top) + 2.5rem) 0 2.5rem;
  background: linear-gradient(155deg, #0a0f1a 0%, #0d1520 40%, var(--black) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.aiot-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 55% at 75% 25%, rgba(21, 82, 99, 0.35), transparent 55%),
    radial-gradient(circle at 15% 75%, rgba(112, 72, 232, 0.12), transparent 45%);
  pointer-events: none;
}

.aiot-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.4) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.4) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}

.aiot-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.aiot-hero .section-label {
  color: rgba(42, 136, 153, 0.95);
  margin-bottom: 0.75rem;
}

.aiot-hero h1 {
  font-family: var(--font-h1);
  font-size: clamp(1.875rem, 6vw, 3rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.aiot-hero-lead {
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.62);
  max-width: 660px;
  margin-bottom: 1.5rem;
}

.aiot-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.aiot-badge {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.625rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.05);
}

.aiot-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--gray-200);
  border: 1px solid var(--gray-200);
  margin-bottom: 1.25rem;
}

.aiot-stat {
  background: var(--white);
  padding: 1.25rem 1rem;
  text-align: center;
}

.aiot-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 4vw, 1.625rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--accent);
  margin-bottom: 0.25rem;
}

.aiot-stat span {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gray-500);
  line-height: 1.35;
}

.insight-tag--aiot { background: rgba(112, 72, 232, 0.12); color: #5f3dc4; }
.insight-tag--arquitetura { background: rgba(21, 82, 99, 0.12); color: var(--accent); }
.insight-tag--sensores { background: rgba(13, 148, 136, 0.12); color: var(--success); }
.insight-tag--rede-aiot { background: rgba(77, 171, 247, 0.12); color: #1864ab; }
.insight-tag--aplicacao-aiot { background: rgba(73, 80, 87, 0.1); color: var(--gray-700); }

.aiot-stack {
  margin: 1.5rem 0;
  padding: 1.25rem;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.6875rem;
  line-height: 1.65;
  color: var(--gray-600);
  overflow-x: auto;
  white-space: pre;
}

.aiot-pillar-grid {
  display: grid;
  gap: 1rem;
  margin: 1.25rem 0 1.5rem;
}

@media (min-width: 640px) {
  .aiot-pillar-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.aiot-pillar {
  padding: 1.125rem;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-top: 3px solid var(--accent);
}

.aiot-pillar h4 {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 0.5rem;
}

.aiot-pillar p {
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--gray-600);
  margin: 0;
}

.aiot-ref {
  margin-top: 1.5rem;
  padding: 1rem 1.125rem;
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--gray-500);
  background: var(--gray-100);
  border-left: 2px solid var(--gray-300);
}

.aiot-ref a {
  color: var(--accent);
  word-break: break-all;
}

.aiot-cta-strip {
  margin: 2rem 0 0;
  padding: 1.5rem;
  background: linear-gradient(135deg, #1a1a2e 0%, var(--accent) 100%);
  color: var(--white);
  display: grid;
  gap: 1rem;
  align-items: center;
}

.aiot-cta-strip h2 {
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 3vw, 1.375rem);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.aiot-cta-strip p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}

.aiot-cta-strip .btn {
  justify-self: start;
  background: var(--white);
  color: var(--accent);
}

.aiot-cta-strip .btn:hover {
  background: var(--gray-100);
}

@media (min-width: 640px) {
  .aiot-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 768px) {
  .aiot-cta-strip {
    grid-template-columns: 1fr auto;
    padding: 1.75rem 2rem;
  }
}
