/* =========================================================
   NEXUS — product website layer (extends Innovatek style.css)
   Uses the shared design tokens (--brand, --grad, --surface…)
   ========================================================= */

/* ---------- Nav: Nexus brand lockup ---------- */
.nx-brand .logo-badge { background: var(--grad); box-shadow: var(--shadow-brand); }
.nx-login { font-weight: 650; }
.eyebrow.nx-eb { color: var(--brand); }

/* ---------- Hero app mockup (the showpiece) ---------- */
.nx-hero-media { position: relative; }
.nx-app {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  background: var(--surface); border: 1px solid var(--border);
  box-shadow: 0 40px 90px -30px rgba(12,143,108,.35), var(--shadow-lg);
  transform: perspective(1600px) rotateY(-9deg) rotateX(3deg);
  transition: transform .6s var(--ease-out);
  animation: nxFloat 7s ease-in-out infinite;
}
.nx-hero-media:hover .nx-app { transform: perspective(1600px) rotateY(-4deg) rotateX(1.5deg); }
@keyframes nxFloat { 0%,100% { translate: 0 0; } 50% { translate: 0 -12px; } }
@media (prefers-reduced-motion: reduce) { .nx-app { animation: none; transform: none; } }

.nx-app-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--border); background: var(--surface-2); }
.nx-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--border-2); }
.nx-dot.r{ background:#f45b5b; } .nx-dot.y{ background:#f5b83d; } .nx-dot.g{ background:#39c07f; }
.nx-app-url { margin-left: 10px; font-size: 12px; color: var(--text-3); background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 4px 12px; font-weight: 500; }
.nx-app-body { display: grid; grid-template-columns: 62px 1fr; min-height: 420px; }
.nx-side { border-right: 1px solid var(--border); background: var(--surface-2); padding: 16px 0; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.nx-side-logo { width: 30px; height: 30px; border-radius: 9px; background: var(--grad); box-shadow: var(--shadow-brand); }
.nx-side-ic { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; color: var(--text-3); }
.nx-side-ic svg { width: 18px; height: 18px; }
.nx-side-ic.on { background: var(--brand-soft); color: var(--brand); }
.nx-main { padding: 18px 20px 22px; overflow: hidden; }
.nx-main-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.nx-main-top h4 { font-size: 15px; font-weight: 750; letter-spacing: -.02em; }
.nx-live { font-size: 10.5px; font-weight: 700; color: var(--brand); background: var(--brand-soft); padding: 3px 9px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; }
.nx-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 3px var(--brand-glow); animation: nxPulse 1.8s infinite; }
@keyframes nxPulse { 0%,100%{ opacity:1 } 50%{ opacity:.35 } }
.nx-kpis { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-bottom: 16px; }
.nx-kpi { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 12px 13px; }
.nx-kpi .k-lbl { font-size: 10.5px; color: var(--text-3); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.nx-kpi .k-val { font-size: 22px; font-weight: 800; letter-spacing: -.03em; margin-top: 3px; }
.nx-kpi .k-val small { font-size: 12px; color: var(--text-3); font-weight: 600; }
.nx-kpi .k-bar { height: 5px; border-radius: 4px; background: var(--surface-3); margin-top: 9px; overflow: hidden; }
.nx-kpi .k-bar > i { display: block; height: 100%; border-radius: 4px; background: var(--grad); }
.nx-card2 { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 14px 15px; }
.nx-card2 .c-h { font-size: 12.5px; font-weight: 700; margin-bottom: 12px; display: flex; align-items: center; justify-content: space-between; color: var(--text-2); }
.nx-lb-row { display: flex; align-items: center; gap: 10px; padding: 7px 0; }
.nx-rank { width: 20px; height: 20px; border-radius: 6px; background: var(--surface-3); color: var(--text-2); font-size: 11px; font-weight: 800; display: grid; place-items: center; flex: none; }
.nx-rank.g1 { background: #f5b83d; color: #4a3200; } .nx-rank.g2 { background: #c9ced6; color:#333; }
.nx-av { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; color: #fff; font-size: 10.5px; font-weight: 800; flex: none; }
.nx-lb-name { font-size: 12.5px; font-weight: 650; flex: 1; }
.nx-lb-pct { font-size: 13px; font-weight: 800; letter-spacing: -.02em; }
.nx-lb-bar { flex: 1.4; height: 6px; border-radius: 4px; background: var(--surface-3); overflow: hidden; }
.nx-lb-bar > i { display: block; height: 100%; border-radius: 4px; }

.nx-hero-glow { position: absolute; inset: -12% -8% -8% -8%; background: radial-gradient(60% 60% at 70% 40%, var(--brand-glow), transparent 70%); filter: blur(30px); z-index: -1; }
.nx-badge-float { position: absolute; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 11px 14px; display: flex; align-items: center; gap: 10px; z-index: 3; animation: nxFloat 6s ease-in-out infinite; }
.nx-badge-float .bf-ic { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; color: #fff; flex: none; }
.nx-badge-float .bf-ic svg { width: 17px; height: 17px; }
.nx-badge-float b { font-size: 13px; font-weight: 750; display: block; letter-spacing: -.02em; }
.nx-badge-float small { font-size: 11px; color: var(--text-3); }
.bf-1 { top: 8%; left: -6%; animation-delay: .4s; }
.bf-2 { bottom: 10%; right: -7%; animation-delay: 1.2s; }
@media (max-width: 900px){ .nx-badge-float { display: none; } .nx-app { transform: none; } }

/* ---------- Trust marquee ---------- */
.nx-trust { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--surface); }
.nx-trust .container { padding: 26px 24px; }
.nx-trust-lbl { text-align: center; font-size: 12px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); margin-bottom: 18px; }
.nx-logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 34px; }
.nx-logos span { font-weight: 800; font-size: 1.05rem; letter-spacing: -.02em; color: var(--text-3); opacity: .8; }

/* ---------- Replaces (problem strip) ---------- */
.nx-replace { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 26px; }
.nx-replace .rp { padding: 8px 15px; border-radius: 999px; border: 1px dashed var(--border-2); color: var(--text-3); font-weight: 600; font-size: .92rem; background: var(--surface); position: relative; }
.nx-replace .rp.strike { text-decoration: line-through; text-decoration-color: var(--text-4); }

/* ---------- Module cards (accent per module) ---------- */
.nx-mods { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
@media (max-width: 900px){ .nx-mods { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px){ .nx-mods { grid-template-columns: 1fr; } }
.nx-mod { position: relative; padding: 22px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .4s; overflow: hidden; }
.nx-mod::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--mc, var(--brand)); opacity: .9; }
.nx-mod:hover { transform: translateY(-5px); box-shadow: 0 24px 50px -24px color-mix(in srgb, var(--mc, var(--brand)) 55%, transparent); border-color: color-mix(in srgb, var(--mc, var(--brand)) 40%, var(--border)); }
.nx-mod-ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; color: #fff; background: var(--mc, var(--brand)); box-shadow: 0 10px 22px -8px color-mix(in srgb, var(--mc, var(--brand)) 70%, transparent); margin-bottom: 15px; }
.nx-mod-ic svg { width: 23px; height: 23px; }
.nx-mod h3 { font-size: 1.16rem; font-weight: 750; letter-spacing: -.02em; display: flex; align-items: center; gap: 8px; }
.nx-mod .tag { font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--mc, var(--brand)); background: color-mix(in srgb, var(--mc, var(--brand)) 12%, transparent); padding: 3px 8px; border-radius: 6px; }
.nx-mod p { color: var(--text-2); margin-top: 8px; font-size: .96rem; }
.nx-mod ul { margin-top: 12px; display: grid; gap: 7px; }
.nx-mod ul li { font-size: .9rem; color: var(--text-2); display: flex; gap: 8px; align-items: flex-start; }
.nx-mod ul li svg { width: 15px; height: 15px; color: var(--mc, var(--brand)); flex: none; margin-top: 3px; }

/* ---------- Feature deep-dive mockups ---------- */
.nx-shot { border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-lg); overflow: hidden; }
.nx-shot-h { padding: 13px 16px; border-bottom: 1px solid var(--border); background: var(--surface-2); display: flex; align-items: center; gap: 9px; font-size: 12.5px; font-weight: 700; color: var(--text-2); }
.nx-shot-h .si { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; color: #fff; }
.nx-shot-b { padding: 18px; display: grid; gap: 12px; }
.nx-prop { border: 1px solid var(--border); border-radius: 12px; padding: 15px 16px; background: var(--surface); }
.nx-prop .pl { font-size: .92rem; line-height: 1.65; color: var(--text-2); }
.nx-prop .pl b { color: var(--text); }
.nx-chipbar { display: flex; gap: 8px; flex-wrap: wrap; }
.nx-chip2 { font-size: 11px; font-weight: 700; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--border); color: var(--text-2); background: var(--surface); }
.nx-chip2.on { background: var(--brand); color: #fff; border-color: transparent; }
.nx-jobcard { border: 1px solid var(--border); border-radius: 12px; padding: 14px 15px; background: var(--surface); }
.nx-jobcard .jt { font-weight: 700; font-size: .96rem; letter-spacing: -.01em; }
.nx-jobcard .jm { font-size: .82rem; color: var(--text-3); margin-top: 4px; display: flex; gap: 12px; flex-wrap: wrap; }
.nx-score { float: right; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 14px; color: #fff; background: conic-gradient(var(--brand) var(--p,85%), var(--surface-3) 0); }
.nx-score span { width: 34px; height: 34px; border-radius: 50%; background: var(--surface); color: var(--brand); display: grid; place-items: center; font-size: 12.5px; }
.nx-att-row { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--border); font-size: .9rem; }
.nx-att-row:last-child { border-bottom: 0; }
.nx-pill-status { font-size: 10.5px; font-weight: 800; padding: 3px 9px; border-radius: 999px; }
.nx-pill-status.present { color: var(--brand); background: var(--brand-soft); }
.nx-pill-status.night { color: var(--violet); background: color-mix(in srgb, var(--violet) 14%, transparent); }

/* ---------- How it works ---------- */
.nx-steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; counter-reset: st; }
@media (max-width: 820px){ .nx-steps { grid-template-columns: 1fr; } }
.nx-step { position: relative; padding: 26px 22px 22px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); }
.nx-step .sn { counter-increment: st; font-size: 2.4rem; font-weight: 800; letter-spacing: -.04em; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }
.nx-step .sn::before { content: "0" counter(st); }
.nx-step h3 { font-size: 1.12rem; font-weight: 750; margin: 12px 0 7px; letter-spacing: -.02em; }
.nx-step p { color: var(--text-2); font-size: .95rem; }

/* ---------- Pricing ---------- */
.nx-price-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; align-items: stretch; }
@media (max-width: 900px){ .nx-price-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }
.nx-plan { display: flex; flex-direction: column; padding: 28px 26px; border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); }
.nx-plan.feat { border-color: transparent; box-shadow: var(--shadow-brand), var(--shadow-lg); position: relative; background: var(--surface); outline: 2px solid var(--brand); }
.nx-plan .pn { font-weight: 750; font-size: 1.15rem; letter-spacing: -.02em; }
.nx-plan .pp { font-size: 2.5rem; font-weight: 800; letter-spacing: -.04em; margin: 12px 0 2px; }
.nx-plan .pp small { font-size: .95rem; font-weight: 600; color: var(--text-3); }
.nx-plan .pd { color: var(--text-2); font-size: .93rem; min-height: 42px; }
.nx-plan ul { margin: 18px 0 22px; display: grid; gap: 10px; }
.nx-plan ul li { display: flex; gap: 9px; font-size: .93rem; color: var(--text-2); }
.nx-plan ul li svg { width: 17px; height: 17px; color: var(--brand); flex: none; margin-top: 2px; }
.nx-plan .btn { margin-top: auto; justify-content: center; }
.nx-feat-tag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--grad); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 5px 14px; border-radius: 999px; box-shadow: var(--shadow-brand); }

/* ---------- FAQ ---------- */
.nx-faq { max-width: 780px; margin: 0 auto; }

/* ---------- Testimonial ---------- */
.nx-quote { max-width: 860px; margin: 0 auto; text-align: center; }
.nx-quote .qm { font-size: clamp(1.3rem, 2.4vw, 1.9rem); font-weight: 650; letter-spacing: -.02em; line-height: 1.4; }
.nx-quote .qa { margin-top: 22px; display: inline-flex; align-items: center; gap: 12px; }
.nx-quote .qa img { width: 46px; height: 46px; border-radius: 50%; }

/* small helpers */
.nx-feat-list { display: grid; gap: 12px; margin-top: 22px; }
.nx-feat-list li { display: flex; gap: 11px; }
.nx-feat-list li .fi { width: 26px; height: 26px; border-radius: 8px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; flex: none; }
.nx-feat-list li .fi svg { width: 15px; height: 15px; }
.nx-feat-list li b { font-weight: 700; }
.nx-feat-list li span { display: block; color: var(--text-2); font-size: .93rem; }
