/* ================================================================= */
/*  HOSTING PAGE                                                       */
/* ================================================================= */

.host-highlight { color: var(--pepla-green); }


/* ── Hero ──────────────────────────────────────────────────────────── */
.host-hero {
  max-width: 1280px;
  margin: 0 auto;
  padding: 50px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.host-hero.animate-in { opacity: 1; transform: translateY(0); }

.host-hero__title {
  font-size: 2rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 12px;
}

.host-hero__subtitle {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--pepla-blue);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.host-hero__content p {
  font-size: 1rem;
  line-height: 1.8;
  color: #444;
  margin-bottom: 16px;
}

.host-hero__icon {
  width: 180px;
  height: 180px;
}

/* Hero icon animations */
.host-cloud { animation: cloudFloat 4s ease infinite; }
.host-server1 { animation: serverPulse 2.5s ease infinite; }
.host-server2 { animation: serverPulse 2.5s ease 0.3s infinite; }
.host-led1 { animation: ledBlink 1.5s ease infinite; }
.host-led2 { animation: ledBlink 1.5s ease 0.5s infinite; }
.host-pulse1 { animation: dataPulse 2s ease infinite; }
.host-pulse2 { animation: dataPulse 2s ease 0.3s infinite; }
.host-pulse3 { animation: dataPulse 2s ease 0.6s infinite; }

@keyframes cloudFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
@keyframes serverPulse {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}
@keyframes ledBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
@keyframes dataPulse {
  0% { opacity: 0.2; transform: scaleY(0.6); }
  50% { opacity: 0.8; transform: scaleY(1); }
  100% { opacity: 0.2; transform: scaleY(0.6); }
}

/* ── Infrastructure Stack ──────────────────────────────────────────── */
.host-stack {
  max-width: 1280px;
  margin: 0 auto;
  padding: 50px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.host-stack.animate-in { opacity: 1; transform: translateY(0); }

.host-stack__heading {
  font-size: 2rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 16px;
}

.host-stack__intro {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #444;
  margin-bottom: 40px;
  max-width: 800px;
}

.host-stack__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.host-card {
  background: #fff;
  border-radius: 12px;
  padding: 28px 20px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.2s ease;
}

.host-card.animate-in { opacity: 1; transform: translateY(0); }

.host-card:nth-child(1) { transition-delay: 0s; }
.host-card:nth-child(2) { transition-delay: 0.1s; }
.host-card:nth-child(3) { transition-delay: 0.2s; }
.host-card:nth-child(4) { transition-delay: 0.3s; }
.host-card:nth-child(5) { transition-delay: 0.4s; }
.host-card:nth-child(6) { transition-delay: 0.5s; }

.host-card:hover { box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12); }

.host-card__icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 16px;
}

.host-icon { width: 100%; height: 100%; }

.host-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 10px;
}

.host-card p {
  font-size: 0.85rem;
  line-height: 1.6;
  color: #555;
}

/* Stack icon animations */
.host-icon__cloud { animation: cloudFloat 4s ease infinite; }
.host-icon__lb-l1 { animation: lbFlash 2s ease infinite; }
.host-icon__lb-l2 { animation: lbFlash 2s ease 0.3s infinite; }
.host-icon__lb-l3 { animation: lbFlash 2s ease 0.6s infinite; }
.host-icon__ubuntu-dot1 { animation: ubuntuSpin 6s linear infinite; transform-origin: 30px 30px; }
.host-icon__ubuntu-dot2 { animation: ubuntuSpin 6s linear infinite; transform-origin: 30px 30px; }
.host-icon__ubuntu-dot3 { animation: ubuntuSpin 6s linear infinite; transform-origin: 30px 30px; }
.host-icon__ha-arrow { animation: haSlide 2s ease infinite; }
.host-icon__galera1 { animation: galeraPulse 3s ease infinite; }
.host-icon__galera2 { animation: galeraPulse 3s ease 0.5s infinite; }
.host-icon__galera3 { animation: galeraPulse 3s ease 1s infinite; }
.host-icon__heartbeat {
  stroke-dasharray: 120;
  stroke-dashoffset: 120;
  animation: heartbeatDraw 2.5s ease infinite;
}

@keyframes lbFlash {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}
@keyframes ubuntuSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes haSlide {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(4px); }
}
@keyframes galeraPulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}
@keyframes heartbeatDraw {
  0% { stroke-dashoffset: 120; }
  60%, 100% { stroke-dashoffset: 0; }
}

/* ── 24/7 Monitoring ───────────────────────────────────────────────── */
.host-monitoring {
  max-width: 1280px;
  margin: 0 auto;
  padding: 50px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.host-monitoring.animate-in { opacity: 1; transform: translateY(0); }

.host-monitoring__heading {
  font-size: 2rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 40px;
}

.host-monitoring__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.host-monitoring__text p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #444;
  margin-bottom: 20px;
}

.host-monitor-card {
  background: #1a1a1a;
  border-radius: 12px;
  padding: 24px;
  color: #fff;
}

.host-monitor-card__header {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #333;
}

.host-monitor-card__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #2a2a2a;
  font-size: 0.9rem;
  color: #ccc;
}

.host-monitor-card__row:last-child { border-bottom: none; }

.host-status {
  font-weight: 600;
  font-size: 0.8rem;
  padding: 3px 10px;
  border-radius: 20px;
}

.host-status--green {
  background: rgba(43, 174, 74, 0.15);
  color: var(--pepla-green);
}

/* ── SLA ───────────────────────────────────────────────────────────── */
.host-sla {
  max-width: 1280px;
  margin: 0 auto;
  padding: 50px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.host-sla.animate-in { opacity: 1; transform: translateY(0); }

.host-sla__heading {
  font-size: 2rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 40px;
}

.host-sla__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.host-sla__text p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #444;
  margin-bottom: 20px;
}

.host-sla__cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.host-sla-card {
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  color: #fff;
}

.host-sla-card--green  { background: var(--pepla-green); }
.host-sla-card--orange { background: var(--pepla-orange); }
.host-sla-card--blue   { background: var(--pepla-blue); }

.host-sla-card h4 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.host-sla-card p {
  font-size: 0.95rem;
  opacity: 0.9;
}

/* ── Responsive ────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .host-hero {
    grid-template-columns: 1fr;
  }
  .host-hero__visual {
    text-align: center;
  }
  .host-stack__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .host-monitoring__layout,
  .host-sla__layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .host-hero, .host-stack, .host-monitoring, .host-sla {
    padding: 50px 20px;
  }
  .host-stack__grid {
    grid-template-columns: 1fr;
  }
  .host-hero__title {
    font-size: 1.5rem;
  }
}
