.home-public .app-nav {
  background: rgba(255, 250, 247, 0.92);
}

.hero-card {
  border-radius: var(--app-radius-hero);
  background:
    radial-gradient(circle at 14% 18%, rgba(22, 93, 122, 0.14), transparent 35%),
    radial-gradient(circle at 88% 12%, rgba(221, 122, 31, 0.14), transparent 30%),
    linear-gradient(135deg, #ffffff 0%, #f0f7fb 48%, #fff4eb 100%);
  color: var(--app-text);
  border: 1px solid rgba(212, 222, 234, 0.9);
  box-shadow: var(--app-shadow-md);
  overflow: hidden;
}

.landing-hero,
.dashboard-hero {
  position: relative;
}

.landing-hero-image {
  min-height: calc(100vh - 6rem);
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  border-radius: 0;
  border-left: 0;
  border-right: 0;
  background-image: url("/static/images/default/default_frontpage.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
}

.landing-hero-image::after {
  display: none;
}

.landing-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(18, 29, 41, 0.72) 8%, rgba(18, 29, 41, 0.38) 56%, rgba(18, 29, 41, 0.18) 100%);
}

.landing-hero-content {
  position: relative;
  z-index: 1;
  color: #f8fbff;
  width: 100%;
}

.landing-hero-content .lead,
.landing-hero-content h1 {
  color: #f8fbff;
}

.landing-hero-content .hero-kicker {
  color: #d8ecff;
}

.landing-hero-content .trust-pill {
  background: rgba(248, 251, 255, 0.88);
}

.landing-hero::after,
.dashboard-hero::after {
  content: "";
  position: absolute;
  inset: auto -6% -34% auto;
  width: min(32rem, 58vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.68) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
}

.hero-kicker,
.section-kicker,
.dashboard-panel-kicker {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 800;
}

.hero-kicker,
.section-kicker {
  color: var(--app-accent);
}

.dashboard-panel-kicker {
  color: var(--app-primary);
}

.landing-trustline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 76, 129, 0.14);
  background: rgba(255, 255, 255, 0.8);
  color: var(--app-text);
  font-size: 0.92rem;
  font-weight: 600;
}

.landing-proof,
.dashboard-panel {
  position: relative;
  z-index: 1;
  padding: 1.4rem;
  border-radius: 20px;
  border: 1px solid rgba(22, 93, 122, 0.12);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 20px 44px rgba(17, 35, 59, 0.1);
}

.landing-checklist,
.dashboard-list {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--app-text);
}

.landing-checklist li,
.dashboard-list li {
  margin-bottom: 0.8rem;
}

.landing-checklist li:last-child,
.dashboard-list li:last-child {
  margin-bottom: 0;
}

.landing-section {
  padding: 1rem 0;
  scroll-margin-top: 6rem;
}

body.home-page main.container-widescreen {
  padding-top: 0 !important;
}

.landing-section-soft {
  padding: 2rem;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(248, 251, 255, 0.98)),
    #fff;
  border: 1px solid rgba(212, 222, 234, 0.9);
  box-shadow: var(--app-shadow-sm);
}

.landing-section-compact {
  padding-top: 0.5rem;
}

.section-heading {
  max-width: 54rem;
}

.section-copy {
  color: var(--app-text-muted);
  font-size: 1.05rem;
}

.landing-step-card,
.landing-value-card,
.dashboard-card {
  border: 1px solid rgba(212, 222, 234, 0.95);
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  box-shadow: var(--app-shadow-sm);
  transition: transform var(--app-transition), box-shadow var(--app-transition), border-color var(--app-transition);
}

.landing-step-card:hover,
.landing-value-card:hover,
.dashboard-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--app-shadow-md);
  border-color: rgba(22, 93, 122, 0.28);
}

.step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--app-primary), #2f7da1);
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  box-shadow: 0 16px 28px rgba(22, 93, 122, 0.2);
}

.landing-safety-card {
  border-radius: 20px;
}

.landing-cta-panel {
  padding: 1.25rem;
  border: 1px solid rgba(212, 222, 234, 0.95);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 248, 252, 0.98));
  box-shadow: var(--app-shadow-sm);
}

@media (max-width: 992px) {
  .landing-hero-image {
    min-height: calc(100svh - 4.5rem);
    background-size: cover;
    background-position: center center;
  }

  .landing-section-soft {
    padding: 1.5rem;
  }
}

@media (max-width: 768px) {
  .hero-card {
    border-radius: 1rem;
  }

  .landing-proof,
  .dashboard-panel,
  .landing-section-soft,
  .landing-cta-panel,
  .landing-step-card,
  .landing-value-card,
  .dashboard-card {
    border-radius: 18px;
  }

  .landing-hero .display-4,
  .dashboard-hero .display-5 {
    font-size: clamp(2rem, 7vw, 2.8rem);
  }

  .section-copy {
    font-size: 1rem;
  }
}
