/* NOXAI Clean Landing (v1)
   Dark neutral base, green accent, flat surfaces. All styles scoped under .lp
   and legacy landing sections are hidden to avoid conflicts. */

:root{
  --lp-bg: #0b0f14;
  --lp-surface: #0f141a;
  --lp-surface-2: #121922;
  --lp-border: #18212b;
  --lp-text: #e6edf7;
  --lp-muted: #98a9bb;
  --lp-accent: #22c55e; /* green */
  --lp-accent-600: #16a34a;
  --lp-radius: 12px;
}

/* Base */
.lp{ color: var(--lp-text); background: var(--lp-bg); font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; }
.lp a{ color: inherit; text-decoration: none; }
.lp .container{ max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* Hide legacy landing sections to start fresh */
body > header{ display: none !important; }
body > footer, .footer, .footer-bottom{ display: none !important; }
.hero, .proof-gains, .contact, .faq, .testimonials, .sticky-cta, .exit-popup, .features-popup-overlay{ display: none !important; }

/* Header */
.lp-header{ position: sticky; top:0; z-index: 50; border-bottom: 1px solid var(--lp-border); background: #0b0f14; }
.lp .site-header, .lp .site-header.scrolled{ background:#0b0f14 !important; z-index: 100; }
.lp .site-header .links{ background:#0b0f14 !important; }
.lp-header .nav{ display:flex; align-items:center; justify-content: space-between; min-height:64px; }
.lp-header .brand{ display:flex; align-items:center; gap:10px; font-weight:700; }
.lp-header .brand img{ width:28px; height:28px; }
.lp-header .brand span{ letter-spacing:.2px; }
.lp-header .links{ display:flex; gap:18px; align-items:center; }
.lp-header .links a{ color: var(--lp-muted); font-weight:600; }
.lp-header .links a:hover{ color: var(--lp-text); }
.lp-header .cta{ display:flex; gap:10px; align-items:center; }
.lp .btn, .lp-header .btn{ display:inline-flex; align-items:center; gap:8px; padding:10px 14px; border-radius:10px; border:1px solid var(--lp-border); background: var(--lp-surface); color: var(--lp-text); font-weight:600; transition: background .15s ease, border-color .15s ease; }
.lp .btn:hover, .lp-header .btn:hover{ background: var(--lp-surface-2); border-color: #223041; }
.lp .btn-primary, .lp-header .btn-primary{ background: var(--lp-accent); color:#0b0f14; border-color: rgba(0,0,0,0.2); }
.lp .btn-primary:hover, .lp-header .btn-primary:hover{ background: var(--lp-accent-600); }

/* Hero */
.lp-hero{ position: relative; padding: 84px 0 56px; }
.lp-hero .wrap{ display:grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.lp-hero .eyebrow{ display:inline-flex; align-items:center; gap:8px; padding:6px 10px; border-radius:999px; border:1px solid var(--lp-border); color: var(--lp-muted); font-weight:600; }
.lp-hero h1{ font-size: 48px; line-height: 1.1; letter-spacing:-.3px; margin: 14px 0 12px; font-weight:800; }
.lp-hero h1 .accent{ color: var(--lp-accent); font-weight: 800; }
.lp-hero p{ color: var(--lp-muted); font-size: 18px; max-width: 52ch; }
.lp-hero .actions{ display:flex; gap:12px; align-items:center; margin-top: 18px; }

.lp-hero .frame{ position: relative; overflow: visible; background: var(--lp-surface); border:1px solid var(--lp-border); border-radius: var(--lp-radius); padding: 10px; }
.lp-hero .frame img{ width:100%; height:auto; display:block; border-radius: 8px; }
.lp-hero .frame-caption{ margin-top:8px; color: var(--lp-muted); font-size: 13px; }

/* Potion overlay (Fortnite-like badge) */
.potion-overlay{ position: absolute; top: -18px; left: -18px; width: 64px; height: 64px; pointer-events: none; z-index: 5; }
.potion-badge{ width: 100%; height: 100%; display: grid; place-items: center; border-radius: 16px; background: radial-gradient(120px 120px at 60% 40%, rgba(34,197,94,0.18), rgba(34,197,94,0.05) 50%, transparent 70%), var(--lp-surface);
  border: 1px solid var(--lp-border); box-shadow: 0 10px 26px rgba(34,197,94,0.18), inset 0 0 0 1px rgba(255,255,255,0.03); transform-origin: center bottom; animation: potion-float 3.6s ease-in-out infinite;
}
.potion-badge i{ color: var(--lp-accent); font-size: 26px; text-shadow: 0 0 14px rgba(34,197,94,0.55); }

@keyframes potion-float{
  0%   { transform: translateY(0) rotate(-10deg) }
  50%  { transform: translateY(-8px) rotate(-2deg) }
  100% { transform: translateY(0) rotate(-10deg) }
}
@media (prefers-reduced-motion: reduce){
  .potion-badge{ animation: none; }
}

/* Trustbar */
.lp-trust{ padding: 28px 0 6px; }
.lp-trust .row{ display:flex; gap: 14px; align-items:center; flex-wrap: wrap; }
.lp-trust .pill{ display:flex; gap:8px; align-items:center; border:1px solid var(--lp-border); color: var(--lp-muted); padding:8px 12px; border-radius:999px; }
.lp-trust .pill i{ color: var(--lp-accent); }

/* Feature grid */
.lp-features{ padding: 56px 0; border-top: 1px solid var(--lp-border); border-bottom: 1px solid var(--lp-border); background: linear-gradient(180deg, rgba(34,197,94,0.05), transparent 60%); }
.lp-features .grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.lp-feature{ background: var(--lp-surface); border:1px solid var(--lp-border); border-radius: 10px; padding: 16px; }
.lp-feature h3{ font-size: 16px; margin: 8px 0 6px; }
.lp-feature p{ color: var(--lp-muted); font-size: 14px; }
.lp-feature .icon{ color: var(--lp-accent); }

/* Metrics */
.lp-metrics{ padding: 40px 0; }
.lp-metrics .row{ display:grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.lp-metric{ background: var(--lp-surface); border:1px solid var(--lp-border); border-radius: 10px; padding: 16px; text-align:center; }
.lp-metric .num{ font-size: 22px; font-weight: 800; }
.lp-metric .lbl{ color: var(--lp-muted); font-size: 12px; }

/* Footer */
.lp-footer{ padding: 36px 0; border-top:1px solid var(--lp-border); color: var(--lp-muted); }
.lp-footer .row{ display:flex; align-items:center; justify-content: space-between; gap: 10px; }

/* Responsive */
@media (max-width: 1024px){
  .lp-hero .wrap{ grid-template-columns: 1fr; }
}
@media (max-width: 768px){
  .lp-hero{ padding: 64px 0 40px; }
  .lp-hero h1{ font-size: 36px; }
  .lp-features .grid{ grid-template-columns: 1fr 1fr; }
  .lp-metrics .row{ grid-template-columns: 1fr 1fr; }
  .lp-header .links{ display: none; }
}
@media (max-width: 480px){
  .lp-features .grid{ grid-template-columns: 1fr; }
  .lp-metrics .row{ grid-template-columns: 1fr; }
}

/* Landing-specific header responsiveness (scoped to .lp) */
@media (max-width: 992px){
  .lp .site-header .row{ flex-wrap: wrap; gap: 8px; }
  .lp .site-header .links{ position: static; transform: none; margin: 0 auto; }
}

@media (max-width: 768px){
  .lp .site-header .links{
    flex-wrap: wrap;
    height: auto;
    padding: 6px;
    overflow: visible; /* avoid clipping when wrapping */
    width: 100%;
    justify-content: center;
    gap: 6px;
  }
  .lp .site-header .links a{
    padding: 6px 10px;
    font-size: 13px;
  }
  .lp .site-header .links a + a::before{ display: none; }
  .lp .site-header .cta{ width: 100%; justify-content: center; }
}

@media (max-width: 480px){
  .lp .site-header .cta .site-btn.ghost{ display: none; }
  .lp-hero .actions{ flex-wrap: wrap; }
  .lp-hero p{ font-size: 16px; }
  .lp-hero h1{ font-size: 32px; }
}
