/* ===== INFRASTRUCTURE PAGE ===== */

/* HERO */
.infra-hero {
  position: relative;
  padding: 6rem 2rem 4rem;
  text-align: center;
  overflow: hidden;
  background: #05070d;
}

.infra-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('/images/infrastructure-hero.png') center center / cover no-repeat;
  opacity: 1;
  z-index: 0;
}

.infra-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.18);
  z-index: 1;
}

.infra-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.infra-hero h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  color: #f2f2f2;
}

.infra-hero p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.1rem;
  line-height: 1.6;
}

/* SECTIONS */
.infra-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.infra-section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.infra-kicker {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8686C4;
  margin-bottom: 0.6rem;
}

.infra-section h2 {
  margin-bottom: 0.8rem;
}

.infra-section-header p {
  color: #aaa;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* GRID */
.infra-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

/* CARD */
.infra-card {
  background: #0b0f18;
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 18px;
  padding: 1.6rem;
  transition: all 0.25s ease;
}

.infra-card:hover {
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow:
    0 0 20px rgba(134,134,196,0.15),
    0 10px 30px rgba(0,0,0,0.7);
  transform: translateY(-4px);
}

/* LABEL (forbedret) */
.infra-label {
  display: inline-block;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8686C4;
  margin-bottom: 0.75rem;
  padding: 0.22rem 0.55rem;
  border: 1px solid rgba(134, 134, 196, 0.20);
  border-radius: 999px;
  background: rgba(134, 134, 196, 0.05);
}

/* TEXT */
.infra-card h3 {
  margin-bottom: 0.6rem;
  font-size: 1.15rem;
  color: #f2f2f2;
}

.infra-card p {
  color: #aaa;
  font-size: 0.95rem;
  line-height: 1.55;
}

/* MOBILE */
@media (max-width: 768px) {
  .infra-hero {
    padding: 5rem 1.25rem 3rem;
  }

  .infra-hero h1 {
    font-size: 2.2rem;
  }

  .infra-section {
    padding: 2.4rem 1.25rem;
  }
}
