/* Public landing — single-composition hero */

.landing-body {
  margin: 0;
  min-height: 100vh;
  color: #f8fafc;
  background: #0b1624;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

.landing-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.landing-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 15% -10%, rgba(255, 255, 255, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 90% 100%, rgba(13, 148, 136, 0.22) 0%, transparent 50%),
    linear-gradient(155deg, #13243a 0%, var(--mf-primary-dark, #172554) 45%, var(--mf-primary, #1e3a8a) 100%);
  z-index: 0;
}

.landing-hero-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 88%);
  pointer-events: none;
}

.landing-hero-content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 44rem;
  padding: clamp(2.5rem, 8vw, 5rem) clamp(1.5rem, 6vw, 4rem);
}

.landing-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.1rem;
  margin-bottom: 1.75rem;
}

.landing-logo {
  height: clamp(3.5rem, 9vw, 5.5rem);
  width: auto;
  max-width: min(280px, 70vw);
  object-fit: contain;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.28));
}

.landing-logo-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(3.5rem, 9vw, 5.5rem);
  height: clamp(3.5rem, 9vw, 5.5rem);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

.landing-brand-name {
  margin: 0;
  font-size: clamp(2rem, 5.5vw, 3.15rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #fff;
}

.landing-headline {
  margin: 0 0 0.85rem;
  font-size: clamp(1.15rem, 2.6vw, 1.45rem);
  font-weight: 500;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.92);
  max-width: 28rem;
}

.landing-lead {
  margin: 0 0 2rem;
  font-size: 1rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
  max-width: 32rem;
}

.landing-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.75rem;
}

.landing-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.35rem;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 650;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.landing-btn:hover {
  transform: translateY(-1px);
}

.landing-btn:active {
  transform: translateY(0);
}

.landing-btn--primary {
  background: #fff;
  color: var(--mf-primary-dark, #172554);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.landing-btn--primary:hover {
  background: #f1f5f9;
  color: var(--mf-primary-dark, #172554);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.26);
}

.landing-btn--secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

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

.landing-trust {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.68);
}

.landing-trust i {
  color: rgba(255, 255, 255, 0.85);
}

.landing-footer {
  position: relative;
  z-index: 2;
  padding: 1.25rem clamp(1.5rem, 6vw, 4rem) 1.75rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
}

.landing-footer a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.landing-footer a:hover {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.5);
}

.landing-footer-sep {
  margin: 0 0.4rem;
  opacity: 0.55;
}

.landing-animate {
  opacity: 0;
  transform: translateY(12px);
  animation: landing-rise 0.55s ease-out forwards;
}

.landing-animate--1 { animation-delay: 0.05s; }
.landing-animate--2 { animation-delay: 0.14s; }
.landing-animate--3 { animation-delay: 0.22s; }
.landing-animate--4 { animation-delay: 0.3s; }
.landing-animate--5 { animation-delay: 0.4s; }

@keyframes landing-rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .landing-animate {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .landing-btn {
    transition: none;
  }
}

@media (max-width: 576px) {
  .landing-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .landing-btn {
    justify-content: center;
  }
}
