/*
 * Hero - Hero sections and variants
 */

.hero {
  border-radius: 20px;
  background: linear-gradient(160deg, #202a3b 0%, #0f131c 60%, #090d14 100%);
  padding: 72px 36px 64px;
  margin: 0 0 32px;
  color: var(--white);
  box-shadow: var(--shadow-soft);
}

.hero.full-bleed {
  border-radius: 0;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 96px 36px 88px;
}

.hero.compact {
  border-radius: 0;
  padding: 0;
  overflow: hidden;
  margin: 0 0 48px;
  background: linear-gradient(135deg, #1a2332 0%, #0d1421 100%);
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.hero.compact::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.4;
  pointer-events: none;
}

/* Hero Split Layout */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 42px 48px;
  position: relative;
  z-index: 1;
  min-height: 280px;
}

.hero-text h1 {
  margin: 0 0 12px;
  font-size: 2.25rem;
  letter-spacing: -0.5px;
  font-weight: 800;
  line-height: 1.1;
}

.hero-text .eyebrow {
  text-transform: uppercase;
  letter-spacing: 1.4px;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--muted);
  margin: 0 0 12px;
}

.hero-text p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--light);
  margin: 0 0 20px;
  max-width: 540px;
}

.hero-text .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 0;
}

/* Hero Image */
.hero-image {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.hero-image-placeholder {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 16 / 11;
  background: linear-gradient(135deg, rgba(219, 30, 54, 0.08) 0%, rgba(42, 73, 104, 0.12) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

/* Hosting Hero (centered) */
.hosting-hero .hero-content {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

.hosting-hero .hero-content h1 {
  margin: 10px 0 8px;
  font-size: 3.2rem;
  letter-spacing: -0.5px;
  font-weight: 800;
  text-align: center;
}

.hero .eyebrow {
  text-transform: uppercase;
  letter-spacing: 1.6px;
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0;
}

.hero .lede {
  font-size: 1.15rem;
  color: var(--light);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Hero Actions */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
  justify-content: center;
}

/* Hero Stats */
.hero-stats {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 14px;
}

.hero-stat {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  backdrop-filter: blur(6px);
}

.hero-stat .stat-number {
  margin: 0;
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--white);
}

.hero-stat .stat-label {
  margin: 4px 0 0;
  color: var(--muted);
}

/* Responsive */
@media (max-width: 960px) {
  .hero {
    margin: 20px 0;
  }

  .hero.full-bleed {
    padding: 44px 24px;
  }

  .hero-split {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 48px 24px;
    min-height: auto;
  }

  .hero-text h1 {
    font-size: 2.25rem;
  }

  .hero-text p {
    font-size: 1.05rem;
    max-width: 100%;
  }

  .hero-image {
    display: none;
  }

  .hero-image-placeholder {
    max-width: 100%;
  }
}
