

/* =========================================================
   Extracted from views/index.ejs on 20260604-100858
========================================================= */

:root {
      --bg: #050507;
      --panel: rgba(255, 255, 255, 0.045);
      --line: rgba(255, 255, 255, 0.10);
      --muted: #a1a1aa;
      --indigo: #6366f1;
      --violet: #a855f7;
      --cyan: #22d3ee;
      --emerald: #34d399;
    }

    * { box-sizing: border-box; }
    /* Mobile polish: kill horizontal side-scroll on phones.
       Root overflow-x clip + max-width is a safety net; the real fixes are:
       (1) full-bleed decorative orbs are taken out of the scroll flow (.orb { position: fixed }),
       (2) hero grid columns may shrink instead of forcing a min-content blowout,
       (3) oversized hero words wrap instead of overflowing. */
    html, body { max-width: 100%; overflow-x: hidden; }
    body { position: relative; }
    main [class*="col-span"] { min-width: 0; }
    main h1, main h2 { overflow-wrap: break-word; -webkit-hyphens: auto; hyphens: auto; }

    body {
      margin: 0;
      background:
        radial-gradient(circle at 15% 10%, rgba(99,102,241,0.22), transparent 32rem),
        radial-gradient(circle at 90% 0%, rgba(168,85,247,0.18), transparent 30rem),
        radial-gradient(circle at 50% 110%, rgba(34,211,238,0.08), transparent 30rem),
        var(--bg);
      color: white;
      font-family: Inter, system-ui, sans-serif;
      overflow-x: hidden;
    }

    .font-display { font-family: 'Space Grotesk', Inter, system-ui, sans-serif; }

    .glass {
      background: var(--panel);
      border: 1px solid var(--line);
      backdrop-filter: blur(22px);
      box-shadow: 0 24px 80px rgba(0,0,0,0.35);
    }

    .nova-gradient {
      background: linear-gradient(90deg, #93c5fd, #818cf8, #c084fc, #22d3ee);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .grid-bg {
      background-image:
        linear-gradient(rgba(99,102,241,0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99,102,241,0.07) 1px, transparent 1px);
      background-size: 64px 64px;
      mask-image: linear-gradient(to bottom, black, transparent 80%);
    }

    .orb {
      position: absolute;
      border-radius: 999px;
      filter: blur(50px);
      opacity: 0.55;
      pointer-events: none;
    }

    .orb-one { width: 320px; height: 320px; background: #6366f1; top: 90px; right: 8%; }
    .orb-two { width: 260px; height: 260px; background: #a855f7; top: 520px; left: -90px; }

    .hover-lift { transition: transform .25s ease, border-color .25s ease, background .25s ease; }
    .hover-lift:hover { transform: translateY(-6px); border-color: rgba(129,140,248,0.45); background: rgba(255,255,255,0.065); }

    .pulse-dot {
      width: 8px;
      height: 8px;
      background: var(--emerald);
      border-radius: 99px;
      box-shadow: 0 0 0 rgba(52,211,153,0.55);
      animation: pulse 2s infinite;
    }

    @keyframes pulse {
      0% { box-shadow: 0 0 0 0 rgba(52,211,153,0.55); }
      70% { box-shadow: 0 0 0 12px rgba(52,211,153,0); }
      100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); }
    }

    .scan-line {
      position: absolute;
      inset: 0;
      background: linear-gradient(to bottom, transparent, rgba(99,102,241,0.15), transparent);
      height: 120px;
      animation: scan 5.5s ease-in-out infinite;
      pointer-events: none;
    }

    @keyframes scan {
      0%, 100% { transform: translateY(-140px); opacity: 0; }
      20%, 80% { opacity: 1; }
      50% { transform: translateY(520px); }
    }

    .connection-line {
      position: absolute;
      height: 1px;
      background: linear-gradient(90deg, transparent, rgba(129,140,248,.75), transparent);
      transform-origin: left center;
      opacity: .5;
    }

    .metric { font-variant-numeric: tabular-nums; }

 .nova-brand-logo {
  position: relative;
  width: 100px;
  height: 100px;
  border-radius: 999px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  filter:
    drop-shadow(0 0 16px rgba(99,102,241,0.65))
    drop-shadow(0 0 30px rgba(168,85,247,0.28));
}

.nova-brand-orb,
.nova-brand-eyes {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.nova-brand-orb {
  z-index: 1;
  animation: novaOrbSpin 40s linear infinite;
  transform-origin: center center;
}
.nova-brand-eyes {
  z-index: 2;
  animation: novaEyesBlink 5.8s infinite;
  transform-origin: center center;
}


@keyframes novaEyesBlink {
  0%, 86%, 100% {
    transform: scale(0.78, 0.78);
    opacity: 1;
  }

  88% {
    transform: scale(0.78, 0.08);
    opacity: 0.75;
  }

  90% {
    transform: scale(0.78, 0.78);
    opacity: 1;
  }

  94% {
    transform: scale(0.78, 0.08);
    opacity: 0.75;
  }

  96% {
    transform: scale(0.78, 0.78);
    opacity: 1;
  }
}
@keyframes novaOrbSpin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes novaEyesFloat {
  0%, 100% {
    transform: translateY(0) scale(0.78);
  }

  50% {
    transform: translateY(-1px) scale(0.80);
  }
}


    /* Immersive 3D Nova landing effects */
    html { scroll-behavior: smooth; }

    .noise-layer {
      position: fixed;
      inset: 0;
      pointer-events: none;
      opacity: .18;
      z-index: 1;
      background-image:
        radial-gradient(circle at 20% 20%, rgba(255,255,255,.06) 0 1px, transparent 1px),
        radial-gradient(circle at 80% 70%, rgba(255,255,255,.04) 0 1px, transparent 1px);
      background-size: 32px 32px, 44px 44px;
      mix-blend-mode: overlay;
    }

    .scene-3d {
      perspective: 1200px;
      transform-style: preserve-3d;
    }

    .tilt-card {
      transform: rotateX(8deg) rotateY(-10deg) translateZ(0);
      transition: transform .35s ease, box-shadow .35s ease;
      box-shadow: 0 40px 120px rgba(0,0,0,.48), 0 0 70px rgba(99,102,241,.18);
    }

    .tilt-card:hover { transform: rotateX(3deg) rotateY(-4deg) translateY(-8px); }

    .nova-core-visual {
      position: relative;
      min-height: 540px;
      border-radius: 2rem;
      overflow: hidden;
      background:
        radial-gradient(circle at 50% 40%, rgba(99,102,241,.20), transparent 18rem),
        radial-gradient(circle at 50% 50%, rgba(34,211,238,.09), transparent 24rem),
        linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.025));
      border: 1px solid rgba(255,255,255,.12);
    }

    .core-ring {
      position: absolute;
      left: 50%;
      top: 44%;
      border-radius: 999px;
      border: 1px solid rgba(129,140,248,.28);
      transform: translate(-50%, -50%) rotateX(64deg);
      box-shadow: inset 0 0 28px rgba(99,102,241,.20), 0 0 44px rgba(34,211,238,.10);
      animation: ringSpin 18s linear infinite;
    }
    .core-ring.r1 { width: 420px; height: 420px; }
    .core-ring.r2 { width: 310px; height: 310px; animation-duration: 14s; animation-direction: reverse; border-color: rgba(34,211,238,.28); }
    .core-ring.r3 { width: 205px; height: 205px; animation-duration: 10s; transform: translate(-50%, -50%) rotateX(72deg) rotateY(24deg); }

    @keyframes ringSpin {
      from { rotate: 0deg; }
      to { rotate: 360deg; }
    }

    .nova-core-orb {
      position: absolute;
      width: 188px;
      height: 188px;
      left: 50%;
      top: 44%;
      transform: translate(-50%, -50%);
      border-radius: 999px;
      display: flex;
      align-items: center;
      justify-content: center;
      filter: drop-shadow(0 0 28px rgba(99,102,241,.9)) drop-shadow(0 0 52px rgba(34,211,238,.22));
      animation: coreFloat 6s ease-in-out infinite;
    }

    .nova-core-orb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
    .nova-core-orb .core-orb-img { animation: novaOrbSpin 38s linear infinite; }
    .nova-core-orb .core-eyes-img { transform: scale(.78); animation: novaEyesBlink 5.8s infinite; }

    @keyframes coreFloat {
      0%, 100% { transform: translate(-50%, -50%) translateY(0); }
      50% { transform: translate(-50%, -50%) translateY(-14px); }
    }

    .core-chip {
      position: absolute;
      padding: .7rem .9rem;
      border-radius: 1rem;
      background: rgba(9,9,13,.74);
      border: 1px solid rgba(255,255,255,.12);
      backdrop-filter: blur(16px);
      box-shadow: 0 20px 60px rgba(0,0,0,.35);
      font-size: .78rem;
      color: #d4d4d8;
      animation: chipFloat 5.8s ease-in-out infinite;
    }
    .core-chip strong { display:block; color:#fff; font-size:.9rem; }
    .core-chip.c1 { left: 7%; top: 14%; }
    .core-chip.c2 { right: 7%; top: 18%; animation-delay: -1.4s; }
    .core-chip.c3 { left: 9%; bottom: 20%; animation-delay: -2.6s; }
    .core-chip.c4 { right: 8%; bottom: 16%; animation-delay: -3.7s; }

    @keyframes chipFloat {
      0%, 100% { transform: translateY(0) translateZ(24px); }
      50% { transform: translateY(-10px) translateZ(42px); }
    }

    .data-stream {
      position: absolute;
      inset: auto 0 0 0;
      height: 170px;
      background:
        linear-gradient(180deg, transparent, rgba(99,102,241,.10)),
        repeating-linear-gradient(90deg, rgba(255,255,255,.07) 0 1px, transparent 1px 28px);
      mask-image: linear-gradient(to top, black, transparent);
      opacity: .9;
      animation: streamMove 12s linear infinite;
    }
    @keyframes streamMove { to { background-position: 220px 0; } }

    .engine-map {
      position: relative;
      min-height: 520px;
      overflow: hidden;
    }
    .engine-node {
      position: absolute;
      width: 145px;
      min-height: 92px;
      border-radius: 1.45rem;
      padding: 1rem;
      background: rgba(255,255,255,.045);
      border: 1px solid rgba(255,255,255,.11);
      backdrop-filter: blur(18px);
      box-shadow: 0 24px 75px rgba(0,0,0,.34);
    }
    .engine-node .icon-orb { width: 38px; height: 38px; object-fit: contain; filter: drop-shadow(0 0 12px rgba(129,140,248,.75)); }
    .engine-node.n1 { left: 3%; top: 7%; }
    .engine-node.n2 { right: 7%; top: 13%; }
    .engine-node.n3 { left: 9%; bottom: 14%; }
    .engine-node.n4 { right: 8%; bottom: 10%; }
    .engine-node.n5 { left: 50%; top: 50%; transform: translate(-50%, -50%); width: 175px; min-height: 120px; border-color: rgba(129,140,248,.34); }
    .engine-beam {
      position: absolute;
      left: 50%; top: 50%; width: 38%; height: 1px;
      background: linear-gradient(90deg, rgba(129,140,248,.0), rgba(129,140,248,.65), rgba(34,211,238,.0));
      transform-origin: left center;
      opacity:.72;
    }
    .engine-beam.b1 { transform: rotate(210deg); }
    .engine-beam.b2 { transform: rotate(330deg); }
    .engine-beam.b3 { transform: rotate(145deg); }
    .engine-beam.b4 { transform: rotate(25deg); }

    .plan-soon {
      position: relative;
      overflow: hidden;
    }
    .plan-soon::after {
      content: "";
      position: absolute;
      inset: -40% -20%;
      background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.08), transparent 65%);
      transform: translateX(-40%);
      animation: sheen 4.8s ease-in-out infinite;
      pointer-events:none;
    }
    @keyframes sheen { 50%, 100% { transform: translateX(40%); } }

    .faq-chat-card {
      background:
        radial-gradient(circle at 15% 0%, rgba(99,102,241,.22), transparent 21rem),
        radial-gradient(circle at 88% 20%, rgba(34,211,238,.10), transparent 18rem),
        rgba(255,255,255,.045);
    }
    .faq-bubble-user { background: rgba(99,102,241,.18); border: 1px solid rgba(129,140,248,.28); }
    .faq-bubble-nova { background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.11); }



    .hero-live-loop {
      position: relative;
      min-height: 255px;
      border-radius: 1.55rem;
      overflow: hidden;
      background:
        radial-gradient(circle at 50% 50%, rgba(99,102,241,.24), transparent 9rem),
        radial-gradient(circle at 72% 26%, rgba(34,211,238,.13), transparent 13rem),
        linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.025));
      border: 1px solid rgba(255,255,255,.11);
      transform-style: preserve-3d;
    }

    .hero-live-loop::before {
      content: "";
      position: absolute;
      inset: 0;
      background-image:
        linear-gradient(rgba(129,140,248,.09) 1px, transparent 1px),
        linear-gradient(90deg, rgba(129,140,248,.09) 1px, transparent 1px);
      background-size: 34px 34px;
      mask-image: radial-gradient(circle at 50% 50%, black, transparent 72%);
      animation: liveGridDrift 14s linear infinite;
      opacity: .85;
    }

    @keyframes liveGridDrift {
      to { background-position: 68px 34px; }
    }

    .live-loop-header {
      position: absolute;
      z-index: 5;
      left: 1rem;
      top: 1rem;
      right: 1rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: .75rem;
    }

    .live-loop-track {
      position: absolute;
      left: 1.2rem;
      right: 1.2rem;
      top: 51%;
      height: 3px;
      transform: translateY(-50%);
      background: linear-gradient(90deg, rgba(34,211,238,.12), rgba(129,140,248,.85), rgba(168,85,247,.85), rgba(52,211,153,.18));
      box-shadow: 0 0 24px rgba(129,140,248,.34);
      border-radius: 99px;
      overflow: hidden;
    }

    .live-loop-track::after {
      content: "";
      position: absolute;
      top: -10px;
      left: -20%;
      width: 22%;
      height: 23px;
      background: radial-gradient(circle, rgba(255,255,255,.92), rgba(34,211,238,.46), transparent 67%);
      filter: blur(2px);
      animation: liveSignalMove 3.4s ease-in-out infinite;
    }

    @keyframes liveSignalMove {
      0% { transform: translateX(0); opacity: 0; }
      12%, 84% { opacity: 1; }
      100% { transform: translateX(560%); opacity: 0; }
    }

    .live-loop-nova {
      position: absolute;
      z-index: 4;
      width: 112px;
      height: 112px;
      left: 50%;
      top: 51%;
      transform: translate(-50%, -50%);
      border-radius: 999px;
      filter: drop-shadow(0 0 22px rgba(99,102,241,.95)) drop-shadow(0 0 44px rgba(34,211,238,.22));
      animation: liveNovaPulse 4.6s ease-in-out infinite;
    }

    .live-loop-nova::before {
      content: "";
      position: absolute;
      inset: -18px;
      border-radius: 999px;
      border: 1px solid rgba(34,211,238,.24);
      box-shadow: 0 0 30px rgba(99,102,241,.20), inset 0 0 20px rgba(34,211,238,.14);
      animation: liveNovaHalo 2.8s ease-in-out infinite;
    }

    .live-loop-nova img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
    .live-loop-nova .live-orb { animation: novaOrbSpin 34s linear infinite; }
    .live-loop-nova .live-eyes { transform: scale(.78); animation: novaEyesBlink 5.8s infinite; }

    @keyframes liveNovaPulse {
      0%, 100% { transform: translate(-50%, -50%) scale(1); }
      50% { transform: translate(-50%, -50%) scale(1.035); }
    }

    @keyframes liveNovaHalo {
      0%, 100% { transform: scale(.92); opacity: .45; }
      50% { transform: scale(1.16); opacity: .9; }
    }

    .live-step {
      position: absolute;
      z-index: 4;
      width: 78px;
      min-height: 58px;
      padding: .55rem .45rem;
      border-radius: 1rem;
      text-align: center;
      background: rgba(5,5,7,.68);
      border: 1px solid rgba(255,255,255,.12);
      backdrop-filter: blur(14px);
      font-size: .64rem;
      color: #a1a1aa;
      box-shadow: 0 16px 48px rgba(0,0,0,.34);
      animation: liveStepGlow 6s ease-in-out infinite;
    }

    .live-step i { display:block; color:#93c5fd; font-size: 1rem; margin-bottom: .25rem; }
    .live-step strong { display:block; color:#fff; font-size:.74rem; line-height:1.1; }
    .live-step.l1 { left: 1rem; bottom: 1rem; animation-delay: 0s; }
    .live-step.l2 { left: 28%; bottom: 1rem; animation-delay: -1.2s; }
    .live-step.l3 { right: 28%; bottom: 1rem; animation-delay: -2.4s; }
    .live-step.l4 { right: 1rem; bottom: 1rem; animation-delay: -3.6s; }

    @keyframes liveStepGlow {
      0%, 100% { border-color: rgba(255,255,255,.12); transform: translateY(0); }
      50% { border-color: rgba(129,140,248,.38); transform: translateY(-5px); }
    }

    @media (max-width: 768px) {
      .tilt-card { transform: none; }
      .nova-core-visual { min-height: 500px; }
      .core-ring.r1 { width: 330px; height: 330px; }
      .core-ring.r2 { width: 250px; height: 250px; }
      .core-chip { font-size: .68rem; max-width: 145px; }
      .engine-node { position: relative; inset: auto !important; transform: none !important; width: auto; margin-bottom: .8rem; }
      .engine-map { min-height: auto; }
      .engine-beam { display:none; }
    }

    /* ============================================================
       LANDING FOOTER — Primus Digital
    ============================================================ */
    .nova-footer {
      border-color: rgba(129,140,248,0.20);
      box-shadow:
        0 24px 80px rgba(0,0,0,0.40),
        inset 0 1px 0 rgba(255,255,255,0.04);
    }

    /* Subtle glow accent inside the footer panel */
    .nova-footer-orb {
      position: absolute;
      top: -120px;
      right: -80px;
      width: 320px;
      height: 320px;
      border-radius: 999px;
      background: radial-gradient(circle, rgba(99,102,241,0.30), rgba(168,85,247,0.10) 55%, transparent 72%);
      filter: blur(60px);
      opacity: 0.7;
      pointer-events: none;
      animation: novaFooterDrift 9s ease-in-out infinite;
    }

    @keyframes novaFooterDrift {
      0%, 100% { transform: translateY(0) scale(1); opacity: 0.55; }
      50%      { transform: translateY(-14px) scale(1.05); opacity: 0.8; }
    }

    .nova-footer-logo {
      width: 38px;
      height: 38px;
      border-radius: 12px;
      display: grid;
      place-items: center;
      background: rgba(255,255,255,0.05);
      border: 1px solid rgba(255,255,255,0.10);
      overflow: hidden;
      flex: none;
    }

    .nova-footer-logo-img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      animation: novaFooterPulse 4.5s ease-in-out infinite;
    }

    @keyframes novaFooterPulse {
      0%, 100% { transform: scale(1);    opacity: 0.92; }
      50%      { transform: scale(1.06); opacity: 1; }
    }

    @media (prefers-reduced-motion: reduce) {
      .nova-footer-orb,
      .nova-footer-logo-img { animation: none; }
    }

    @media (max-width: 768px) {
      .nova-footer-orb { width: 220px; height: 220px; top: -90px; right: -60px; }
    }


/* Mobile: keep the navbar logo compact so it does not dominate small screens. */
@media (max-width: 600px) {
  .nova-brand-logo { width: 52px; height: 52px; }
}
