/* ─── Hero Section ──────────────────────────────────────────── */
/* Uses variables from theme.css */

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-light);
}

/* ─── Background Wrapper ────────────────────────────────────── */
.hero__background-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 120vh;
  z-index: 0;
  overflow: hidden;
}

.hero__bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero__bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(26, 10, 46, 0.5) 0%,
    rgba(45, 27, 78, 0.3) 40%,
    rgba(74, 37, 69, 0.1) 70%,
    rgba(255, 119, 4, 0.05) 100%);
  pointer-events: none;
}

/* ─── Content Wrapper ─────────────────────────────────────────── */
.hero__content-wrapper {
  position: relative;
  z-index: 1;
  padding-top: calc(var(--app-bar-height, 64px) + 60px);
  padding-bottom: 40px;
}

/* ─── Hero Container ─────────────────────────────────────────── */
.hero__container {
  position: relative;
  width: 100%;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

@media (max-width: 992px) {
  .hero__container {
    padding: 0 20px;
  }
}

/* ─── Text Content ────────────────────────────────────────────── */
.hero__text-content {
  max-width: 800px;
  margin-bottom: 60px;
}

/* ─── Hero Title ─────────────────────────────────────────────── */
.hero__title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  color: var(--bg-light);
  margin: 0 0 8px 0;
  letter-spacing: -0.02em;
}

/* ─── Hero Subtitle ──────────────────────────────────────────── */
.hero__subtitle {
  font-family: var(--font-body);
  font-size: var(--font-size-body);
  font-weight: 400;
  line-height: 1.7;
  color: var(--bg-light);
  opacity: 0.85;
  margin: 0 0 32px 0;
}

/* ─── Hero CTA Group ───────────────────────────────────────── */
.hero__cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: var(--font-size-body);
  font-weight: 600;
  text-decoration: none;
  padding: 14px 32px;
  border-radius: 3px;
  transition: all 0.2s ease;
  cursor: pointer;
}

.hero__cta--primary {
  background: var(--primary);
  color: var(--bg-light);
  border: 2px solid var(--primary);
}

.hero__cta--primary:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.hero__cta--secondary {
  background: transparent;
  color: var(--bg-light);
  border: 2px solid rgba(250, 251, 253, 0.5);
}

.hero__cta--secondary:hover {
  background: rgba(250, 251, 253, 0.1);
  border-color: rgba(250, 251, 253, 0.8);
  transform: translateY(-2px);
}

/* ─── Hero Dashboard ─────────────────────────────────────────── */
.hero__dashboard {
  width: 100%;
  max-width: 1100px;
  position: relative;
  z-index: 10;
  margin-top: -40px;
  border-radius: 3px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.hero__dashboard-img {
  width: 100%;
  height: auto;
  border-radius: 3px;
}

/* ─── Social Proof ───────────────────────────────────────────── */
.hero__social-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
}

.hero__avatars {
  display: flex;
  align-items: center;
}

.hero__avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary);
  border: 2px solid var(--bg-light);
  margin-left: -8px;
}

.hero__avatar:first-child {
  margin-left: 0;
}

.hero__social-text {
  font-family: var(--font-body);
  font-size: var(--font-size-small);
  color: var(--gray-muted);
}

.hero__social-text strong {
  color: var(--primary);
  font-weight: 600;
}

/* ─── Trust Badge ────────────────────────────────────────────── */
.hero__trust-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 32px;
  font-family: var(--font-body);
  font-size: var(--font-size-body);
  color: var(--charcoal-black);
}

/* ─── Stats Section ───────────────────────────────────────────── */
.hero__stats {
  width: 100%;
  max-width: 1100px;
  margin: 48px auto 0;
  padding: 32px 40px;
  background: transparent;
}

.hero__stats-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}

.hero__stats-trust {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  align-items: center;
  text-align: center;
}

.hero__stats-badge {
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--charcoal-black);
  letter-spacing: -0.01em;
}

.hero__stats-check {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Roboto', sans-serif;
  font-size: 0.875rem;
  color: var(--gray-muted);
}

.hero__stats-check svg {
  color: var(--primary);
  flex-shrink: 0;
}

.hero__stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 700px;
  margin: 0 auto;
}

.hero__stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
}

.hero__stat-number {
  font-family: var(--font-body);
  font-size: 2rem;
  font-weight: 700;
  color: var(--charcoal-black);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.hero__stat-star {
  color: var(--primary);
  font-size: 1.5rem;
  margin-left: 4px;
}

.hero__stat-label {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.875rem;
  color: var(--gray-muted);
  font-weight: 500;
}

.hero__trust-icon {
  width: 20px;
  height: 20px;
  background: var(--primary);
  color: var(--bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}

/* ─── Responsive Styles ──────────────────────────────────────── */
@media (max-width: 992px) {
  .hero__background-wrapper {
    height: 70%;
  }

  .hero__content-wrapper {
    padding-top: calc(var(--app-bar-height, 64px) + 40px);
    padding-bottom: 30px;
  }

  .hero__text-content {
    margin-bottom: 40px;
  }

  .hero__dashboard {
    max-width: 850px;
  }

  .hero__stats-row {
    gap: 0;
  }

  .hero__stat-item {
    padding: 0 40px;
  }

  .hero__stat-number {
    font-size: 2.75rem;
  }
}

@media (max-width: 768px) {
  .hero__background-wrapper {
    height: 65%;
  }

  .hero__content-wrapper {
    padding-top: calc(var(--app-bar-height, 64px) + 60px);
    padding-bottom: 2rem;
  }

  .hero__title {
    font-size: 1.75rem;
    margin-bottom: 1rem;
  }

  .hero__description {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    max-width: 100%;
  }

  .hero__cta {
    flex-direction: column;
    gap: 12px;
    max-width: 280px;
    margin: 0 auto;
  }

  .hero__cta-btn {
    width: 100%;
    justify-content: center;
    font-size: 0.9rem;
    padding: 12px 24px;
  }

  .hero__dashboard {
    max-width: 100%;
    border-radius: 3px;
    margin-top: 30px;
  }

  .hero__dashboard-img {
    border-radius: 3px;
  }

  .hero__stats-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    width: 100%;
  }

  .hero__stat-item {
    padding: 0;
    border-right: none;
    border-bottom: 1px solid rgba(107, 114, 128, 0.3);
    padding-bottom: 12px;
  }

  .hero__stat-item:nth-child(3),
  .hero__stat-item:nth-child(4) {
    border-bottom: none;
  }

  .hero__stat-number {
    font-size: 1.75rem;
  }

  .hero__stat-label {
    font-size: 0.8rem;
  }

  .hero__container {
    padding: 0 20px;
  }
}

@media (max-width: 480px) {
  .hero__content-wrapper {
    padding-top: calc(var(--app-bar-height, 64px) + 40px);
  }

  .hero__title {
    font-size: 1.5rem;
  }

  .hero__description {
    font-size: 0.9rem;
  }

  .hero__cta {
    max-width: 240px;
  }

  .hero__cta-btn {
    font-size: 0.85rem;
    padding: 10px 20px;
  }

  .hero__stats {
    padding: 24px 20px;
    margin-top: 32px;
  }

  .hero__stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 100%;
  }

  .hero__stat-number {
    font-size: 1.75rem;
  }

  .hero__stats-badge {
    font-size: 0.9rem;
  }
}
