/* ============================================
   Home Page Styles
   ============================================ */

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('../images/Links/Home-Welcome-1 - Edited.jpg') center center / cover no-repeat;
  overflow: hidden;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(11, 17, 32, 0.75) 0%,
    rgba(11, 17, 32, 0.85) 50%,
    rgba(11, 17, 32, 0.95) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding-top: var(--nav-height);
}

.hero__title {
  font-size: var(--fs-hero);
  color: var(--color-white);
  margin: var(--space-lg) 0;
  line-height: 1.15;
}

.hero__subtitle {
  font-size: var(--fs-body-lg);
  color: rgba(255, 255, 255, 0.75);
  max-width: 600px;
  margin: 0 auto var(--space-2xl);
  line-height: var(--line-height-relaxed);
}

/* ---- Feature List (checkmark list) ---- */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin: var(--space-lg) 0;
}

.feature-list__item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--fs-body);
  color: var(--color-gray-600);
}

.feature-list__icon {
  width: 20px;
  height: 20px;
  color: var(--color-primary);
  flex-shrink: 0;
}

/* ---- Section Spacing: Audience → How It Works → Capabilities ---- */
.section--white + #how-it-works {
  padding-top: var(--space-xl);
  padding-bottom: var(--space-xl);
}

#how-it-works + .section--white {
  padding-top: var(--space-3xl);
}

#how-it-works .section-header {
  margin-bottom: var(--space-md);
}

.how-it-works__diagram {
  text-align: center;
  margin-bottom: var(--space-md);
}

.how-it-works__diagram img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
}

/* ---- Integration Text Icons (for RabbitMQ, Home Assistant) ---- */
.integration-item__text-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-small);
  font-weight: var(--fw-bold);
  letter-spacing: 0.05em;
}

/* ---- Stats Grid ---- */
.stats-grid {
  padding: var(--space-xl) 0;
}

/* ---- CTA Section ---- */
.cta-section {
  padding: var(--space-5xl) 0;
}

.cta-section .section-header {
  margin-bottom: var(--space-2xl);
}
