/* ─── Landing v2 ─────────────────────────────────────────────────────────── */

.landing-v2-shell {
  background: #0b1120;
  height: 100vh;
  overflow: hidden;
}

/* ─── Video background ──────────────────────────────────────────────────── */
.lv2-video-bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1.8s ease;
  will-change: opacity;
  transform: translateZ(0);
}

.lv2-video-bg.is-ready {
  opacity: 0.42;
}

/* ─── Text-protection vignette ──────────────────────────────────────────── */
/* Dark center keeps headline readable against the video glow */
.lv2-text-vignette {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(ellipse 58% 52% at 50% 46%, rgba(11,17,32,0.78) 0%, rgba(11,17,32,0.28) 55%, transparent 100%);
}

/* ─── Background canvas + orbs ─────────────────────────────────────────── */
.lv2-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  will-change: transform;
}

.lv2-grid-lines {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(79,142,247,0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79,142,247,0.028) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 90% 90% at 50% 0%, black 0%, transparent 70%);
}

.lv2-gradient-orb {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(80px);
}

.lv2-orb-1 {
  width: 700px;
  height: 700px;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(79,142,247,0.12) 0%, transparent 70%);
}

.lv2-orb-2 {
  width: 500px;
  height: 500px;
  bottom: 10%;
  right: -100px;
  background: radial-gradient(circle, rgba(74,201,126,0.07) 0%, transparent 70%);
}

/* ─── Topbar ────────────────────────────────────────────────────────────── */
.lv2-topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 0 32px;
  z-index: 100;
  background: rgba(6,8,15,0.7);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.lv2-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 800;
  color: #f0f5ff;
  text-decoration: none;
  letter-spacing: -0.01em;
}

.lv2-brand:hover { color: #f0f5ff; }

.lv2-topbar-tagline {
  margin-left: auto;
  font-size: 0.6rem;
  font-weight: 700;
  color: #4a5568;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 999px;
  background: rgba(255,255,255,0.03);
}

/* ─── Hero ──────────────────────────────────────────────────────────────── */
.lv2-hero {
  position: relative;
  z-index: 10;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 32px 24px;
  box-sizing: border-box;
}

.lv2-hero-inner {
  max-width: 940px;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Kicker */
.lv2-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6fa3f7;
  margin-bottom: 16px;
  opacity: 0;
  transform: translateY(16px);
  animation: lv2-rise 0.7s 0.1s cubic-bezier(.22,1,.36,1) forwards;
}

.lv2-kicker-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4aca7e;
  box-shadow: 0 0 12px rgba(74,201,126,0.9);
  flex-shrink: 0;
  animation: lv2-pulse 2.2s ease-in-out infinite;
}

.lv2-kicker-line {
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, #4f8ef7, transparent);
}

/* Headline */
.lv2-headline {
  font-size: clamp(2.9rem, 6.5vw, 4.95rem);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: #f0f5ff;
  margin-bottom: 18px;
  text-wrap: balance;
  opacity: 0;
  transform: translateY(20px);
  filter: blur(4px);
  animation: lv2-glitch-in 1.1s 0.3s cubic-bezier(.22,1,.36,1) forwards;
}

.lv2-word-accent {
  background: linear-gradient(135deg, #4f8ef7 0%, #7bb8ff 35%, #4aca7e 65%, #7bb8ff 80%, #4f8ef7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 250% auto;
  animation: lv2-word-shimmer 6s linear infinite;
}

/* Subheadline */
.lv2-sub {
  max-width: 860px;
  font-size: 0.86rem;
  font-weight: 500;
  color: #9dafc8;
  line-height: 1.62;
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(14px);
  animation: lv2-rise 0.9s 0.5s cubic-bezier(.22,1,.36,1) forwards;
}

/* CTA row */
.lv2-cta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(14px);
  animation: lv2-rise 0.9s 0.68s cubic-bezier(.22,1,.36,1) forwards;
}

.lv2-cta-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 28px;
  height: 52px;
  border-radius: 10px;
  background: linear-gradient(135deg, #2d5cc4, #4f8ef7 50%, #3a9e6a);
  color: #fff;
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.2s cubic-bezier(.22,1,.36,1), box-shadow 0.2s ease;
  box-shadow: 0 4px 30px rgba(79,142,247,0.35), 0 0 0 1px rgba(255,255,255,0.1) inset;
}

.lv2-cta-primary:hover {
  color: #fff;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 44px rgba(79,142,247,0.5), 0 0 0 1px rgba(255,255,255,0.15) inset;
}

.lv2-cta-primary:active { transform: translateY(0) scale(0.99); }


.lv2-cta-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,0.18) 0%, transparent 60%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
}

.lv2-cta-primary:hover .lv2-cta-glow { opacity: 1; }

.lv2-cta-ghost {
  display: inline-flex;
  align-items: center;
  height: 52px;
  padding: 0 22px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.12);
  color: #8892a4;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  transition: color .18s, border-color .18s, background .18s;
  background: rgba(255,255,255,0.03);
}

.lv2-cta-ghost:hover {
  color: #e2e8f4;
  border-color: rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.06);
}

/* Stats ticker */
.lv2-stats {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 14px 28px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  transform: translateY(10px);
  animation: lv2-rise 0.9s 0.88s cubic-bezier(.22,1,.36,1) forwards;
}

.lv2-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 0 24px;
}

.lv2-stat b {
  font-size: 1.3rem;
  font-weight: 900;
  color: #e2e8f4;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.lv2-stat span {
  font-size: 0.65rem;
  font-weight: 700;
  color: #4a5568;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  white-space: nowrap;
}

.lv2-stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.07);
  flex-shrink: 0;
}

/* ─── Coverage pills ────────────────────────────────────────────────────── */
.lv2-coverage {
  position: relative;
  z-index: 10;
  padding: 0 32px 60px;
}

.lv2-section-inner {
  max-width: 900px;
  margin: 0 auto;
}

.lv2-coverage-label {
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #3a4558;
  text-align: center;
  margin-bottom: 16px;
}

.lv2-coverage-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.lv2-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  border: 1px solid rgba(79,142,247,0.2);
  background: rgba(79,142,247,0.06);
  color: #7aabf5;
  text-decoration: none;
  transition: border-color .18s, background .18s, color .18s;
}

a.lv2-pill:hover {
  border-color: rgba(79,142,247,0.45);
  background: rgba(79,142,247,0.12);
  color: #a8c8ff;
}

.lv2-pill--muted {
  border-color: rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.02);
  color: #3a4558;
  cursor: default;
}

/* ─── Footer ────────────────────────────────────────────────────────────── */
.lv2-footer {
  position: relative;
  z-index: 10;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 20px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.lv2-footer span {
  font-size: 0.58rem;
  font-weight: 600;
  color: #2d3748;
  letter-spacing: 0.04em;
}

.lv2-footer a {
  font-size: 0.62rem;
  font-weight: 700;
  color: #4f8ef7;
  text-decoration: none;
  opacity: 0.7;
  transition: opacity .15s;
}

.lv2-footer a:hover { opacity: 1; }

/* ─── Reveal animation ──────────────────────────────────────────────────── */
.lv2-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(.22,1,.36,1), transform 0.7s cubic-bezier(.22,1,.36,1);
}

.lv2-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Keyframes ─────────────────────────────────────────────────────────── */
@keyframes lv2-rise {
  from { opacity: 0; transform: translateY(16px); filter: blur(4px); }
  to   { opacity: 1; transform: translateY(0);    filter: blur(0);   }
}

@keyframes lv2-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(74,201,126,0.6); }
  50%       { box-shadow: 0 0 0 5px rgba(74,201,126,0); }
}

/* ─── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 600px) {
  .lv2-hero { padding: 90px 20px 60px; }
  .lv2-stats { flex-wrap: wrap; gap: 14px; padding: 16px 20px; }
  .lv2-stat-divider { display: none; }
  .lv2-stat { padding: 0 10px; }
  .lv2-coverage { padding: 0 20px 48px; }
  .lv2-nav { display: none; }
  .lv2-footer { flex-direction: column; gap: 8px; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  .lv2-headline, .lv2-kicker, .lv2-sub, .lv2-cta-row, .lv2-stats {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
  .lv2-reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ─── Glitch-in headline ────────────────────────────────────────────────── */
@keyframes lv2-glitch-in {
  0%   { opacity: 0; transform: translateY(22px); filter: blur(8px); text-shadow: none; }
  36%  { opacity: 0.88; transform: translateY(3px); filter: blur(0);
         text-shadow: -4px 0 rgba(255,40,110,0.7), 4px 0 rgba(0,210,255,0.7); }
  52%  { opacity: 1; transform: translateY(0) translateX(-2px);
         text-shadow: 3px 0 rgba(255,40,110,0.45), -3px 0 rgba(0,210,255,0.45); }
  66%  { transform: translateY(0) translateX(1.5px);
         text-shadow: -1px 0 rgba(255,40,110,0.22), 1px 0 rgba(0,210,255,0.22); }
  80%  { transform: translateY(0); text-shadow: none; }
  100% { opacity: 1; transform: translateY(0); filter: blur(0); text-shadow: none; }
}

/* ─── Word shimmer ──────────────────────────────────────────────────────── */
@keyframes lv2-word-shimmer {
  0%   { background-position: 250% center; }
  100% { background-position: -250% center; }
}

/* ─── Scanline sweep ────────────────────────────────────────────────────── */
.lv2-scanline {
  position: fixed;
  left: 0; right: 0;
  height: 2px;
  top: -2px;
  background: linear-gradient(90deg, transparent 0%, rgba(74,201,126,0.95) 25%,
    rgba(130,190,255,0.9) 50%, rgba(74,201,126,0.95) 75%, transparent 100%);
  box-shadow: 0 0 18px rgba(74,201,126,0.6), 0 0 36px rgba(79,142,247,0.35);
  z-index: 200;
  pointer-events: none;
  animation: lv2-scan-sweep 1.35s 0.04s cubic-bezier(0.4, 0, 0.6, 1) forwards;
}

@keyframes lv2-scan-sweep {
  0%   { top: -2px; opacity: 1; }
  85%  { opacity: 0.85; }
  100% { top: 100vh; opacity: 0; }
}

/* ─── HUD corner brackets ───────────────────────────────────────────────── */
.lv2-corner {
  position: fixed;
  width: 30px;
  height: 30px;
  z-index: 30;
  pointer-events: none;
  opacity: 0;
  animation: lv2-rise 0.55s 1.05s ease forwards;
}

.lv2-corner--tl {
  top: 76px; left: 18px;
  border-top: 1px solid rgba(79,142,247,0.5);
  border-left: 1px solid rgba(79,142,247,0.5);
}

.lv2-corner--tr {
  top: 76px; right: 18px;
  border-top: 1px solid rgba(79,142,247,0.5);
  border-right: 1px solid rgba(79,142,247,0.5);
}

.lv2-corner--bl {
  bottom: 20px; left: 18px;
  border-bottom: 1px solid rgba(79,142,247,0.5);
  border-left: 1px solid rgba(79,142,247,0.5);
}

.lv2-corner--br {
  bottom: 20px; right: 18px;
  border-bottom: 1px solid rgba(79,142,247,0.5);
  border-right: 1px solid rgba(79,142,247,0.5);
}

/* ─── Orb breathing ─────────────────────────────────────────────────────── */
@keyframes lv2-orb-breathe-1 {
  0%, 100% { transform: translateX(-50%) scale(1);    opacity: 1; }
  50%       { transform: translateX(-50%) scale(1.22); opacity: 0.75; }
}

@keyframes lv2-orb-breathe-2 {
  0%, 100% { transform: scale(1);    opacity: 0.9; }
  50%       { transform: scale(1.28) translate(-12px, -16px); opacity: 0.6; }
}

.lv2-orb-1 { animation: lv2-orb-breathe-1 9s ease-in-out infinite; }
.lv2-orb-2 { animation: lv2-orb-breathe-2 13s ease-in-out infinite; }

/* ─── Reduced-motion overrides for new elements ─────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .lv2-scanline  { animation: none !important; opacity: 0 !important; }
  .lv2-corner    { animation: none !important; opacity: 0.45 !important; }
  .lv2-orb-1, .lv2-orb-2 { animation: none !important; }
  .lv2-word-accent { animation: none !important; background-size: auto; }
  .lv2-headline  { animation: lv2-rise 0.9s 0.25s cubic-bezier(.22,1,.36,1) forwards !important; }
}
