/* ============================================================
 *  Love at First Byte — landing + misc extras (LIGHT theme)
 * ============================================================ */

body.lafb-landing { overflow-x: hidden; }

/* ---------- Landing hero ---------- */
.lafb-hero {
  position: relative;
  min-height: clamp(560px, 86vh, 920px);
  /* safe full-bleed: span the viewport width without horizontal scroll */
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: -1.5rem;
  width: 100vw;
  max-width: 100vw;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
  background: radial-gradient(85% 80% at 50% 28%, #ffffff 0%, #f4f7fc 100%);
}

#constellation {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: block;
}

.lafb-hero::after {                    /* soft white edge-fade to blend the canvas */
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(62% 62% at 50% 42%, rgba(255,255,255,0) 0%, rgba(255,255,255,0.78) 100%);
  pointer-events: none;
}

.lafb-hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 860px;
  padding: 2rem 1.2rem;
  pointer-events: none;               /* let the cursor reach the canvas */
}
.lafb-hero-inner a,
.lafb-hero-inner button { pointer-events: auto; }

.lafb-vamp { width: clamp(72px, 11vw, 104px); height: auto; margin: 0 auto 1rem; display: block; }

.lafb-eyebrow {
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: #0891b2;
  margin-bottom: 1rem;
}

.lafb-title {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  line-height: 1.02;
  margin: 0 0 1rem;
  color: #16213e;
}
.lafb-title .grad-text {
  background: linear-gradient(90deg, #0891b2, #e11d6b 55%, #7c3aed);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

.lafb-sub {
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  color: #4a5a7a;
  max-width: 660px;
  margin: 0 auto 1.8rem;
  line-height: 1.55;
}

.lafb-cta { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; }
.btn-lafb {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: "Space Grotesk", sans-serif; font-weight: 600;
  padding: 0.8rem 1.5rem; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-lafb:hover { transform: translateY(-2px); text-decoration: none; }
.btn-primary-lafb {
  color: #ffffff;
  background: linear-gradient(90deg, #0891b2, #7c3aed);
  box-shadow: 0 12px 30px -12px rgba(124,58,237,0.6);
}
.btn-ghost-lafb {
  color: #16213e;
  border-color: #d3ddee;
  background: rgba(255,255,255,0.7);
}
.btn-ghost-lafb:hover { border-color: #e11d6b; color: #be185d; }

.lafb-hint {
  position: absolute; bottom: 1.1rem; left: 0; right: 0; z-index: 2;
  text-align: center; color: #7385a6;
  font-size: 0.82rem; letter-spacing: 0.04em;
  animation: lafb-bob 2.4s ease-in-out infinite;
}
@keyframes lafb-bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* ---------- Landing body sections ---------- */
.lafb-section { max-width: 980px; margin: 3rem auto; padding: 0 1.2rem; }
.lafb-section h2 {
  font-family: "Space Grotesk", sans-serif;
  text-align: center; font-size: clamp(1.6rem, 4vw, 2.2rem); margin-bottom: 0.4rem;
}
.lafb-section .lead {
  text-align: center; color: #5b6b8c;
  max-width: 640px; margin: 0 auto 1.6rem;
}

.quote-block {
  max-width: 760px; margin: 2.5rem auto; text-align: center;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.25rem, 3.2vw, 1.8rem); line-height: 1.4;
  color: #1c2742;
}
.quote-block .by { display:block; margin-top: 0.8rem; font-family:"Inter"; font-size: 0.95rem; color: #5b6b8c; font-style: normal; }

.stat-strip {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 2.4rem;
  margin: 2rem auto; padding: 1.4rem 1rem;
  border-top: 1px solid #e2e8f4;
  border-bottom: 1px solid #e2e8f4;
}
.stat-strip .stat { text-align: center; }
.stat-strip .num {
  font-family: "Space Grotesk", sans-serif; font-weight: 700;
  font-size: 2.1rem;
  background: linear-gradient(90deg, #0891b2, #e11d6b);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.stat-strip .lbl { color: #5b6b8c; font-size: 0.85rem; }

@media (max-width: 640px) {
  .lafb-hero { min-height: 76vh; }
}

body.lafb-landing main.content { max-width: none; padding-left: 0; padding-right: 0; }
