@import url('https://api.fontshare.com/v2/css?f[]=neue-machina@800,700,400&display=swap');

/* ── Background ──────────────────────────────────────────────────────────── */
.lp-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
}
.lp-bg-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center right;
}
.lp-bg-vignette {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(4,7,18,0.96) 0%,
    rgba(4,7,18,0.82) 35%,
    rgba(4,7,18,0.35) 65%,
    rgba(4,7,18,0.08) 100%
  );
}

/* ── Three.js canvas ─────────────────────────────────────────────────────── */
.lp-three {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

/* ── Grain ───────────────────────────────────────────────────────────────── */
.lp-grain {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  mix-blend-mode: overlay;
  opacity: 0.3;
}

/* ── Shell ───────────────────────────────────────────────────────────────── */
.lp-shell {
  position: relative;
  z-index: 3;
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  grid-template-areas: "topbar" "main" "footer";
  padding: 0 72px;
}

/* ── Top bar ─────────────────────────────────────────────────────────────── */
.lp-topbar {
  grid-area: topbar;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 0;
  border-bottom: 0.5px solid rgba(255,255,255,0.07);
  animation: lp-fade-down 0.6s ease 0.05s both;
}

.lp-live {
  display: flex;
  align-items: center;
  gap: 8px;
}
.lp-live-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #20d28c;
  animation: lp-ping 2.4s ease-in-out infinite;
}
@keyframes lp-ping {
  0%   { box-shadow: 0 0 0 0   rgba(32,210,140,0.6); }
  70%  { box-shadow: 0 0 0 8px rgba(32,210,140,0);   }
  100% { box-shadow: 0 0 0 0   rgba(32,210,140,0);   }
}
.lp-live-label {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(240,244,255,0.35);
}
.lp-version {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(240,244,255,0.22);
  background: rgba(255,255,255,0.05);
  border: 0.5px solid rgba(255,255,255,0.1);
  padding: 4px 11px;
  border-radius: 50px;
}

/* ── Main ────────────────────────────────────────────────────────────────── */
.lp-main {
  grid-area: main;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 48px;
  padding: 56px 0;
  max-width: 600px;
}

/* ── Lockup ──────────────────────────────────────────────────────────────── */
.lp-lockup {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.lp-logo {
  height: 54px;
  width: auto;
  display: block;
  margin-bottom: 2px;
  animation: lp-fade-up 0.6s ease 0.1s both;
  filter: drop-shadow(0 0 20px rgba(46,168,255,0.3));
}

.lp-wordmark {
  font-family: 'Neue Machina', 'Syne', sans-serif;
  font-size: clamp(82px, 11.5vw, 140px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 0.86;
  color: #ffffff;
  margin: 0;
  /* Colour bleed on the text — makes it feel alive */
  text-shadow:
    0 0 80px rgba(32,210,140,0.18),
    0 0 160px rgba(46,168,255,0.12);
  animation: lp-fade-up 0.6s ease 0.16s both;
}

.lp-rule {
  width: 52px;
  height: 1.5px;
  background: linear-gradient(90deg, #20d28c 0%, rgba(46,168,255,0.5) 100%);
  margin: 18px 0 15px;
  animation: lp-rule-draw 0.9s cubic-bezier(0.4,0,0.2,1) 0.5s both;
  transform-origin: left;
}
@keyframes lp-rule-draw {
  from { transform: scaleX(0); opacity: 0; }
  to   { transform: scaleX(1); opacity: 1; }
}

.lp-subtitle {
  font-family: 'Neue Machina', 'Syne', sans-serif;
  font-size: clamp(10px, 1.1vw, 13px);
  font-weight: 400;
  letter-spacing: 0.35em;
  color: rgba(180,210,240,0.42);
  text-transform: uppercase;
  margin: 0;
  animation: lp-fade-up 0.6s ease 0.22s both;
}

/* ── Actions ─────────────────────────────────────────────────────────────── */
.lp-actions-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: lp-fade-up 0.6s ease 0.32s both;
}
.lp-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ── Buttons — glass with teal/white borders ─────────────────────────────── */
.lp-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-width: 206px;
  text-decoration: none;
  overflow: hidden;
  border-radius: 3px;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  cursor: pointer;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.lp-btn:hover { transform: translateY(-2px); }
.lp-btn:active { transform: translateY(0); }

.lp-btn-inner {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 15px 0 15px 18px;
  flex: 1;
}
.lp-btn-icon {
  width: 15px; height: 15px;
  flex-shrink: 0;
  transition: opacity 0.2s ease;
  opacity: 0.6;
}
.lp-btn:hover .lp-btn-icon { opacity: 1; }
.lp-btn-text {
  font-family: 'Neue Machina', 'Syne', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}
.lp-btn-arrow {
  width: 14px; height: 14px;
  padding-right: 18px;
  flex-shrink: 0;
  opacity: 0.4;
  transition: transform 0.22s ease, opacity 0.2s ease;
}
.lp-btn:hover .lp-btn-arrow { transform: translateX(4px); opacity: 1; }

/* Shine sweep */
.lp-btn-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255,255,255,0.07) 50%,
    transparent 60%
  );
  transform: translateX(-120%);
  transition: transform 0.55s ease;
  pointer-events: none;
}
.lp-btn:hover .lp-btn-shine { transform: translateX(120%); }

/* Primary — teal */
.lp-btn--primary {
  border: 0.5px solid rgba(32,210,140,0.55);
  background: rgba(32,210,140,0.06);
  color: rgba(240,244,255,0.92);
}
.lp-btn--primary:hover {
  border-color: rgba(32,210,140,0.9);
  background: rgba(32,210,140,0.1);
  box-shadow: 0 0 28px rgba(32,210,140,0.15), 0 4px 20px rgba(0,0,0,0.3);
}
.lp-btn--primary .lp-btn-icon,
.lp-btn--primary .lp-btn-arrow { color: #20d28c; }

/* Ghost — white */
.lp-btn--ghost {
  border: 0.5px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.04);
  color: rgba(240,244,255,0.7);
}
.lp-btn--ghost:hover {
  border-color: rgba(255,255,255,0.28);
  background: rgba(255,255,255,0.07);
  color: rgba(240,244,255,0.95);
  box-shadow: 0 0 28px rgba(255,255,255,0.05), 0 4px 20px rgba(0,0,0,0.3);
}
.lp-btn--ghost .lp-btn-icon,
.lp-btn--ghost .lp-btn-arrow { color: rgba(255,255,255,0.45); }
.lp-btn--ghost:hover .lp-btn-icon,
.lp-btn--ghost:hover .lp-btn-arrow { color: rgba(255,255,255,0.85); }

/* ── Apply nudge ─────────────────────────────────────────────────────────── */
.lp-apply {
  font-size: 12.5px;
  color: rgba(180,210,240,0.3);
  display: flex;
  align-items: center;
  gap: 4px;
}
.lp-apply-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #20d28c;
  opacity: 0.75;
  text-decoration: none;
  font-weight: 500;
  font-size: 12.5px;
  transition: opacity 0.15s ease, gap 0.2s ease;
}
.lp-apply-link svg { width: 12px; height: 12px; transition: transform 0.2s ease; }
.lp-apply-link:hover { opacity: 1; gap: 7px; }
.lp-apply-link:hover svg { transform: translateX(2px); }

/* ── Footer ──────────────────────────────────────────────────────────────── */
.lp-footer {
  grid-area: footer;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 0 34px;
  border-top: 0.5px solid rgba(255,255,255,0.07);
  animation: lp-fade-up 0.6s ease 0.44s both;
}
.lp-footer-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: rgba(180,210,240,0.38);
  font-size: 12px;
  font-weight: 500;
  transition: color 0.2s ease;
}
.lp-footer-link svg { width: 13px; height: 13px; }
.lp-footer-link .lp-footer-arrow {
  color: rgba(32,210,140,0.45);
  transition: transform 0.2s ease, color 0.2s ease;
}
.lp-footer-link:hover { color: rgba(180,210,240,0.65); }
.lp-footer-link:hover .lp-footer-arrow { transform: translateX(2px); color: #20d28c; }
.lp-footer-sep { width: 1px; height: 13px; background: rgba(255,255,255,0.09); }
.lp-footer-copy { font-size: 11px; color: rgba(180,210,240,0.18); }

/* ── Keyframes ───────────────────────────────────────────────────────────── */
@keyframes lp-fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0);    }
}
@keyframes lp-fade-down {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0);    }
}

/* ── Mobile ──────────────────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .lp-shell    { padding: 0 28px; }
  .lp-wordmark { font-size: 68px; }
  .lp-main     { gap: 36px; padding: 44px 0; }
  .lp-actions  { flex-direction: column; }
  .lp-btn      { min-width: 0; width: 100%; }
}