/* ─ HOMELAB PAGE STYLES ─ */

/* Hero */
.hl-hero {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 140px 80px 80px;
  position: relative;
}

.hl-back {
  position: absolute;
  top: 80px;
  left: 80px;
  font-family: 'JetBrains Mono', monospace;
  font-size: .65rem;
  letter-spacing: 1px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.hl-back:hover {
  color: var(--accent);
}

.hl-hero-icon {
  font-size: 4rem;
  margin-bottom: 24px;
  opacity: 0;
  animation: slide-up .6s ease .2s forwards;
}

.hl-hero-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(3rem, 7vw, 7rem);
  font-weight: 900;
  line-height: .92;
  letter-spacing: -3px;
  text-transform: uppercase;
  color: var(--white);
  opacity: 0;
  animation: slide-up .7s ease .35s forwards;
}

.hl-hero-sub {
  margin-top: 24px;
  max-width: 600px;
  font-size: 1.05rem;
  line-height: 1.7;
  font-weight: 300;
  color: var(--text-sub);
  opacity: 0;
  animation: slide-up .6s ease .5s forwards;
}

/* Architecture Grid */
.hl-arch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.hl-arch-card {
  background: var(--glass-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 32px;
  transition: border-color 0.3s, transform 0.25s;
}

.hl-arch-card:hover {
  border-color: rgba(255, 255, 255, 0.38);
  transform: translateY(-5px);
}

.hl-arch-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.hl-arch-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.hl-arch-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hl-arch-list li {
  font-size: .85rem;
  color: var(--text-muted);
  font-weight: 300;
  padding-left: 16px;
  position: relative;
}

.hl-arch-list li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* Services Grid */
.hl-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}

.hl-svc-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: var(--glass-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  transition: border-color 0.3s, transform 0.25s;
}

.hl-svc-card:hover {
  border-color: rgba(255, 255, 255, 0.38);
  transform: translateY(-3px);
}

.hl-svc-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.hl-svc-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}

.hl-svc-desc {
  font-size: .82rem;
  line-height: 1.5;
  color: var(--text-muted);
  font-weight: 300;
}

/* CTA */
.hl-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 20px;
}

.hl-cta-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 16px;
}

.hl-cta-desc {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 300;
  max-width: 500px;
  line-height: 1.6;
  margin-bottom: 32px;
}

/* Responsive */
@media(max-width:900px) {
  .hl-hero {
    padding: 140px 24px 60px;
  }

  .hl-back {
    left: 24px;
  }
}

@media(max-width:600px) {
  .hl-hero {
    padding: 120px 16px 48px;
  }

  .hl-back {
    left: 16px;
    top: 70px;
  }

  .hl-services-grid {
    grid-template-columns: 1fr;
  }
}
