/* Shared public page hero — matches homepage / blog light premium style */

@keyframes public-page-hero-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-30px); }
}

.public-page-hero {
  --pph-green: #0A8F1F;
  --pph-navy: #061A3A;
  --pph-muted: #64748B;
  --pph-border: #E5E7EB;
  --pph-surface: #FFFFFF;
  --pph-page-bg: #F8FAFC;
  background: var(--pph-page-bg);
  padding: calc(24px + var(--header-height, 72px)) 20px 48px;
  margin-top: calc(-1 * var(--header-height, 72px));
  text-align: center;
  position: relative;
  overflow: hidden;
}

.public-page-hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.public-page-hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.12;
}

.public-page-hero-orb-1 {
  width: 600px;
  height: 600px;
  background: #0000AE;
  top: -200px;
  right: -100px;
  animation: public-page-hero-float 8s ease-in-out infinite;
}

.public-page-hero-orb-2 {
  width: 400px;
  height: 400px;
  background: #13009A;
  bottom: -100px;
  left: -100px;
  animation: public-page-hero-float 10s ease-in-out infinite reverse;
}

.public-page-hero-orb-3 {
  width: 300px;
  height: 300px;
  background: #000085;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: public-page-hero-float 12s ease-in-out infinite;
}

.public-page-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(19, 0, 154, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(19, 0, 154, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

.public-page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.public-page-hero-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #F0FDF4 0%, #ECFDF5 100%);
  border: 1px solid rgba(10, 143, 31, 0.25);
  color: #065F1A;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 20px;
}

.public-page-hero h1 {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 24px;
  letter-spacing: -0.02em;
  color: var(--pph-navy);
}

.public-page-hero-subtitle {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--pph-muted);
  max-width: 760px;
  margin: 0 auto 28px;
}

.public-page-hero-highlight {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--pph-surface);
  border: 1px solid var(--pph-border);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--pph-navy);
  box-shadow: 0 2px 8px rgba(6, 26, 58, 0.04);
}

.public-page-hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.public-page-hero .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #0A9A1C 0%, #078A16 100%);
  color: #ffffff;
  padding: 14px 24px;
  border-radius: 16px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  box-shadow: 0 8px 24px rgba(7, 138, 22, 0.28);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.public-page-hero .btn-primary:hover {
  transform: translateY(-2px);
  color: #ffffff;
  box-shadow: 0 12px 32px rgba(7, 138, 22, 0.38);
}

.public-page-hero .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--pph-surface);
  color: var(--pph-navy);
  padding: 14px 24px;
  border-radius: 16px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid var(--pph-border);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.public-page-hero .btn-secondary:hover {
  transform: translateY(-2px);
  color: var(--pph-navy);
  box-shadow: 0 4px 16px rgba(6, 26, 58, 0.08);
}

.public-page-hero-trust {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 16px;
  flex-wrap: wrap;
}

.public-page-hero-trust span {
  padding: 16px 20px;
  background: var(--pph-surface);
  border: 1px solid var(--pph-border);
  border-radius: 18px;
  color: var(--pph-muted);
  font-size: 0.82rem;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(6, 26, 58, 0.04);
}

@media (max-width: 768px) {
  .public-page-hero {
    padding: calc(16px + var(--header-height, 72px)) 18px 40px;
  }

  .public-page-hero h1 {
    font-size: 2.5rem;
  }

  .public-page-hero-subtitle {
    font-size: 1rem;
  }

  .public-page-hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .public-page-hero .btn-primary,
  .public-page-hero .btn-secondary {
    width: 100%;
    max-width: 280px;
  }

  .public-page-hero-trust {
    gap: 10px 14px;
  }
}
