/* ============================================================
   FLEAMA LANDING PAGE STYLES
   Scoped to Home/Index.cshtml only.
   ============================================================ */

/* ── Landing: full-width, no container padding on body ───── */
.fl-landing-wrapper {
  overflow-x: hidden;
}

/* ── Hero Section ────────────────────────────────────────── */
.fl-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--fl-space-16);
  padding: var(--fl-space-16) 0;
  min-height: calc(100vh - 64px);
  max-height: 720px;
}

.fl-hero-content {
  display: flex;
  flex-direction: column;
  gap: var(--fl-space-5);
}

.fl-hero-heading {
  font-size: var(--fl-text-hero);
  font-weight: var(--fl-fw-bold);
  color: var(--fl-text-heading);
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 0;
}

.fl-hero-sub {
  font-size: var(--fl-text-md);
  color: var(--fl-text-secondary);
  line-height: 1.7;
  max-width: 420px;
  margin-bottom: 0;
}

.fl-hero-actions {
  display: flex;
  align-items: center;
  gap: var(--fl-space-4);
  flex-wrap: wrap;
}

/* ── Hero Visual / Right Side ────────────────────────────── */
.fl-hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fl-hero-bg-blob {
  background-color: var(--fl-bg-hero);
  border-radius: 48% 52% 42% 58% / 44% 40% 60% 56%;
  width: 460px;
  height: 360px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Floating mini-cards */
.fl-hero-card {
  background-color: var(--fl-bg-card);
  border: 1px solid var(--fl-border);
  border-radius: var(--fl-radius-lg);
  box-shadow: var(--fl-shadow-md);
  padding: var(--fl-space-3);
  display: flex;
  align-items: center;
  gap: var(--fl-space-3);
  min-width: 180px;
  position: absolute;
}

.fl-hero-card-img {
  width: 52px;
  height: 52px;
  border-radius: var(--fl-radius-md);
  object-fit: cover;
  flex-shrink: 0;
  background-color: var(--fl-bg-sidebar);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fl-text-muted);
  font-size: 1.25rem;
}

.fl-hero-card-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.fl-hero-card-name {
  font-size: var(--fl-text-sm);
  font-weight: var(--fl-fw-semibold);
  color: var(--fl-text-heading);
  line-height: 1.3;
}

.fl-hero-card-meta {
  font-size: var(--fl-text-xs);
  color: var(--fl-text-muted);
  display: flex;
  align-items: center;
  gap: 3px;
}

/* Positioning of the two floating cards */
.fl-hero-card--top {
  top: -16px;
  right: -20px;
  animation: fl-float 3.5s ease-in-out infinite;
}

.fl-hero-card--bottom {
  bottom: -16px;
  left: -28px;
  animation: fl-float 3.5s ease-in-out infinite 1.2s;
}

/* Swap icon in center of blob */
.fl-hero-swap-icon {
  width: 52px;
  height: 52px;
  background-color: var(--fl-bg-card);
  border-radius: var(--fl-radius-circle);
  box-shadow: var(--fl-shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--fl-primary);
}

@keyframes fl-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

/* ── Stats Strip ─────────────────────────────────────────── */
.fl-stats-strip {
  padding: var(--fl-space-12) 0;
  border-top: 1px solid var(--fl-border);
  border-bottom: 1px solid var(--fl-border);
}

.fl-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--fl-space-8);
}

.fl-stat-item {
  text-align: center;
}

.fl-stat-number {
  font-size: 2.5rem;
  font-weight: var(--fl-fw-bold);
  color: var(--fl-primary);
  line-height: 1;
  margin-bottom: var(--fl-space-2);
  letter-spacing: -1px;
}

.fl-stat-label {
  font-size: var(--fl-text-sm);
  font-weight: var(--fl-fw-semibold);
  color: var(--fl-text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Dividers between stats */
.fl-stats-grid .fl-stat-item + .fl-stat-item {
  border-left: 1px solid var(--fl-border);
}

/* ── Quote Section ───────────────────────────────────────── */
.fl-quote-section {
  padding: var(--fl-space-12) 0;
  text-align: center;
}

.fl-quote-text {
  font-size: var(--fl-text-lg);
  font-weight: var(--fl-fw-medium);
  color: var(--fl-text-secondary);
  font-style: italic;
  margin: 0;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 991.98px) {
  .fl-hero {
    grid-template-columns: 1fr;
    gap: var(--fl-space-12);
    padding: var(--fl-space-10) 0;
    min-height: auto;
    max-height: none;
    text-align: center;
  }

  .fl-hero-sub {
    max-width: 100%;
  }

  .fl-hero-actions {
    justify-content: center;
  }

  .fl-hero-visual {
    order: -1;
  }

  .fl-hero-bg-blob {
    width: 340px;
    height: 260px;
  }

  .fl-hero-heading {
    font-size: calc(var(--fl-text-hero) * 0.7);
  }
}

@media (max-width: 575.98px) {
  .fl-stats-grid {
    grid-template-columns: 1fr;
    gap: var(--fl-space-6);
  }

  .fl-stats-grid .fl-stat-item + .fl-stat-item {
    border-left: none;
    border-top: 1px solid var(--fl-border);
    padding-top: var(--fl-space-6);
  }

  .fl-hero-bg-blob {
    width: 280px;
    height: 220px;
  }

  .fl-hero-card {
    min-width: 150px;
  }

  .fl-hero-card--top {
    top: -10px;
    right: -10px;
  }

  .fl-hero-card--bottom {
    bottom: -10px;
    left: -10px;
  }
}
