/* ── Landing Hero ── */
.landing-hero {
  position: relative;
  overflow: hidden;
  border-radius: 0 0 1.5rem 1.5rem;
  margin: -20px -20px 0;
  padding: 4rem 2rem 3.5rem;
  text-align: center;
  background: linear-gradient(135deg, #1b4332 0%, #2d6a4f 40%, #40916c 100%);
  color: #fff;
}

.landing-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% 80%, rgba(255,255,255,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 20%, rgba(255,255,255,0.04) 0%, transparent 50%);
  pointer-events: none;
}

.landing-hero .hero-img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid rgba(255,255,255,0.3);
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
  margin-bottom: 1.5rem;
  animation: hero-fade-in 0.6s ease-out both;
}

.landing-hero .hero-fallback-icon {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 4px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 3.5rem;
  color: rgba(255,255,255,0.7);
  animation: hero-fade-in 0.6s ease-out both;
}

.landing-hero h1 {
  font-size: 2.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
  animation: hero-fade-in 0.6s 0.1s ease-out both;
}

.landing-hero .motto {
  font-size: 1.15rem;
  font-style: italic;
  opacity: 0.85;
  margin-bottom: 1rem;
  animation: hero-fade-in 0.6s 0.15s ease-out both;
}

.landing-hero .description {
  max-width: 600px;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
  line-height: 1.6;
  opacity: 0.9;
  animation: hero-fade-in 0.6s 0.2s ease-out both;
}

.landing-hero .cta-group {
  animation: hero-fade-in 0.6s 0.3s ease-out both;
}

.landing-hero .btn-cta-primary {
  background: #fff;
  color: #1b4332;
  border: none;
  font-weight: 600;
  padding: 0.65rem 2rem;
  border-radius: 2rem;
  font-size: 1.05rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.landing-hero .btn-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
  color: #1b4332;
}

.landing-hero .btn-cta-secondary {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.5);
  font-weight: 500;
  padding: 0.6rem 1.75rem;
  border-radius: 2rem;
  font-size: 1.05rem;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.landing-hero .btn-cta-secondary:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.1);
  color: #fff;
}

@keyframes hero-fade-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Stats Row ── */
.stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 2rem;
  padding: 0.4rem 1.25rem;
  font-size: 0.95rem;
  backdrop-filter: blur(4px);
  animation: hero-fade-in 0.6s 0.25s ease-out both;
}

.stat-pill i {
  font-size: 1.1rem;
  opacity: 0.8;
}

.stat-pill strong {
  font-weight: 700;
}

/* ── Health Grid Section ── */
.health-section {
  margin-top: 2.5rem;
}

.health-section .section-heading {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.health-section .section-heading i {
  color: #40916c;
  font-size: 1.4rem;
}

/* Reuse status-card pattern from dashboard */
.status-card {
  border-left: 4px solid;
  transition: transform 0.2s;
}
.status-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.status-indicator {
  width: 20px;
  height: 20px;
  border-radius: 50%;
}
.status-level-0 .status-indicator { background-color: #6c757d; }
.status-level-1 .status-indicator { background-color: #6c757d; }
.status-level-2 .status-indicator { background-color: #8b0000; }
.status-level-3 .status-indicator { background-color: #a0522d; }
.status-level-4 .status-indicator { background-color: #ff6347; }
.status-level-5 .status-indicator { background-color: #ffa500; }
.status-level-6 .status-indicator { background-color: #ffd700; }

.status-level-0 { border-left-color: #6c757d; }
.status-level-1 { border-left-color: #6c757d; }
.status-level-2 { border-left-color: #8b0000; }
.status-level-3 { border-left-color: #a0522d; }
.status-level-4 { border-left-color: #ff6347; }
.status-level-5 { border-left-color: #ffa500; }
.status-level-6 { border-left-color: #ffd700; }

/* ── Dark mode overrides ── */
[data-bs-theme="dark"] .landing-hero {
  background: linear-gradient(135deg, #0d1b14 0%, #1b4332 40%, #2d6a4f 100%);
}

[data-bs-theme="dark"] .health-section .section-heading i {
  color: #52b788;
}
