/* NaviX AI Product Engineering & Smart Machines landing page
   Namespaced with nsm- to reduce WordPress/theme collisions. */
:root {
  --nsm-bg: #07111f;
  --nsm-bg-2: #0b1728;
  --nsm-card: rgba(17, 34, 56, .76);
  --nsm-card-solid: #10233a;
  --nsm-text: #f6f9ff;
  --nsm-muted: #a9b8ca;
  --nsm-line: rgba(255,255,255,.11);
  --nsm-cyan: #36d6ff;
  --nsm-blue: #5e7dff;
  --nsm-green: #5ce2a2;
  --nsm-yellow: #ffd166;
  --nsm-danger: #ff7f7f;
  --nsm-max: 1180px;
  --nsm-radius: 22px;
  --nsm-shadow: 0 24px 70px rgba(0,0,0,.28);
}

.nsm-page, .nsm-page * { box-sizing: border-box; }
.nsm-page {
  margin: 0;
  color: var(--nsm-text);
  background:
    radial-gradient(circle at 10% 5%, rgba(54,214,255,.11), transparent 29%),
    radial-gradient(circle at 88% 18%, rgba(94,125,255,.13), transparent 26%),
    linear-gradient(180deg, #07111f 0%, #0a1422 48%, #07111f 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  overflow: hidden;
}
.nsm-page a { color: inherit; text-decoration: none; }
.nsm-container { width: min(calc(100% - 40px), var(--nsm-max)); margin: 0 auto; }
.nsm-section { padding: 86px 0; position: relative; }
.nsm-section--tight { padding: 60px 0; }
.nsm-section--light {
  color: #102237;
  background: #f6f8fc;
}
.nsm-section--light .nsm-muted { color: #607086; }
.nsm-section--light .nsm-section-title { color: #0c1f34; }
.nsm-section--light .nsm-card { background: #fff; border-color: #e3e9f2; box-shadow: 0 18px 42px rgba(16,34,55,.08); }

.nsm-header {
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid var(--nsm-line);
  background: rgba(7,17,31,.88);
  backdrop-filter: blur(16px);
}
.nsm-header-inner { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.nsm-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -.02em; }
.nsm-brand-mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: linear-gradient(135deg,var(--nsm-cyan),var(--nsm-blue)); color: #06101e; font-weight: 900; }
.nsm-nav { display: flex; gap: 22px; align-items: center; font-size: 14px; color: #c9d4e1; }
.nsm-nav a:hover { color: #fff; }
.nsm-nav-toggle { display: none; border: 1px solid var(--nsm-line); background: transparent; color: #fff; border-radius: 10px; padding: 8px 10px; cursor: pointer; }

.nsm-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 0; border-radius: 13px; padding: 13px 19px; font-weight: 800; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.nsm-btn:hover { transform: translateY(-2px); }
.nsm-btn--primary { color: #04111d; background: linear-gradient(135deg,var(--nsm-cyan),#70e7ff); box-shadow: 0 14px 34px rgba(54,214,255,.22); }
.nsm-btn--secondary { color: #fff; background: rgba(255,255,255,.06); border: 1px solid var(--nsm-line); }
.nsm-btn--dark { color: #fff; background: #0c2036; }
.nsm-btn--small { padding: 9px 13px; border-radius: 10px; font-size: 13px; }

.nsm-hero { padding: 94px 0 78px; position: relative; }
.nsm-hero-grid { display: grid; grid-template-columns: 1.06fr .94fr; gap: 60px; align-items: center; }
.nsm-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; text-transform: uppercase; letter-spacing: .14em; color: #aeefff; font-weight: 800; }
.nsm-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--nsm-cyan); box-shadow: 0 0 18px var(--nsm-cyan); }
.nsm-hero h1 { margin: 15px 0 19px; font-size: clamp(42px, 6vw, 74px); line-height: 1.03; letter-spacing: -.048em; max-width: 860px; }
.nsm-gradient-text { background: linear-gradient(90deg,#fff 0%,#a5efff 42%,#9eaaff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nsm-lead { font-size: clamp(18px,2.1vw,22px); color: #c0ccda; max-width: 760px; }
.nsm-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 27px; }
.nsm-proof-row { display: flex; flex-wrap: wrap; gap: 18px; color: #b9c7d7; font-size: 14px; }
.nsm-proof { display: flex; align-items: center; gap: 8px; }
.nsm-check { width: 19px; height: 19px; border-radius: 50%; display: grid; place-items: center; background: rgba(92,226,162,.13); color: var(--nsm-green); font-size: 12px; font-weight: 900; }

.nsm-robot-stage { position: relative; min-height: 520px; display: grid; place-items: center; }
.nsm-orbit { position: absolute; border: 1px solid rgba(92,226,162,.17); border-radius: 50%; }
.nsm-orbit--1 { width: 420px; height: 420px; animation: nsm-spin 24s linear infinite; }
.nsm-orbit--2 { width: 315px; height: 315px; border-color: rgba(54,214,255,.2); animation: nsm-spin 17s linear infinite reverse; }
@keyframes nsm-spin { to { transform: rotate(360deg); } }
.nsm-robot-card { width: min(100%, 430px); padding: 28px; background: linear-gradient(160deg,rgba(21,47,75,.92),rgba(11,27,46,.92)); border: 1px solid var(--nsm-line); border-radius: 32px; box-shadow: var(--nsm-shadow); position: relative; z-index: 2; }
.nsm-robot-screen { height: 210px; border-radius: 20px; background: radial-gradient(circle at 50% 35%,#19395d,#071524 70%); display: grid; place-items: center; border: 1px solid rgba(255,255,255,.08); overflow: hidden; position: relative; }
.nsm-face { display: flex; gap: 48px; align-items: center; }
.nsm-eye { width: 52px; height: 28px; border-radius: 50%; border: 7px solid var(--nsm-cyan); box-shadow: 0 0 20px rgba(54,214,255,.48); }
.nsm-scan { position: absolute; left: 0; right: 0; height: 2px; background: linear-gradient(90deg,transparent,var(--nsm-cyan),transparent); animation: nsm-scan 3.6s ease-in-out infinite; }
@keyframes nsm-scan { 0%,100%{top:15%;opacity:.1} 50%{top:82%;opacity:.85} }
.nsm-stage-label { display: flex; justify-content: space-between; gap: 10px; margin-top: 17px; color: #b7c6d6; font-size: 13px; }
.nsm-status-pill { padding: 7px 10px; border-radius: 999px; border: 1px solid var(--nsm-line); background: rgba(255,255,255,.035); }
.nsm-wheels { display: grid; grid-template-columns: 1fr 1fr; gap: 38px; margin-top: 19px; }
.nsm-wheel { height: 42px; border-radius: 13px; background: repeating-linear-gradient(135deg,#2e4660 0 9px,#1b314a 9px 17px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }

.nsm-kicker { color: var(--nsm-cyan); font-size: 13px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.nsm-section-title { margin: 10px 0 16px; font-size: clamp(31px,4vw,48px); line-height: 1.11; letter-spacing: -.035em; }
.nsm-section-intro { color: var(--nsm-muted); max-width: 780px; font-size: 18px; }
.nsm-center { text-align: center; }
.nsm-center .nsm-section-intro { margin-left: auto; margin-right: auto; }
.nsm-muted { color: var(--nsm-muted); }

.nsm-levels { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 42px; }
.nsm-card { border: 1px solid var(--nsm-line); border-radius: var(--nsm-radius); background: var(--nsm-card); box-shadow: 0 16px 45px rgba(0,0,0,.13); }
.nsm-level-card { padding: 28px; position: relative; overflow: hidden; }
.nsm-level-card:after { content:""; position:absolute; inset:auto -65px -65px auto; width:160px; height:160px; border-radius:50%; background: radial-gradient(circle,rgba(54,214,255,.13),transparent 65%); }
.nsm-level-number { font-size: 12px; color: #9fb0c3; font-weight: 800; letter-spacing: .12em; }
.nsm-level-card h3 { font-size: 28px; margin: 8px 0 2px; }
.nsm-level-tag { color: var(--nsm-cyan); font-weight: 800; }
.nsm-level-outcome { margin: 19px 0; padding: 14px 15px; background: rgba(54,214,255,.07); border: 1px solid rgba(54,214,255,.14); border-radius: 14px; font-weight: 750; }
.nsm-list { padding: 0; margin: 17px 0 0; list-style: none; }
.nsm-list li { position: relative; padding-left: 24px; margin: 9px 0; color: #c5d1df; }
.nsm-list li:before { content:"✓"; position:absolute; left:0; color:var(--nsm-green); font-weight:900; }
.nsm-section--light .nsm-list li { color: #46586e; }

.nsm-path { margin-top: 45px; display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; position: relative; }
.nsm-path-step { padding: 25px; min-height: 180px; position: relative; }
.nsm-path-step strong { display: block; font-size: 19px; margin-bottom: 7px; }
.nsm-path-step .nsm-mini { font-size: 13px; color: var(--nsm-cyan); font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.nsm-arrow { position:absolute; right:-18px; top:50%; transform:translateY(-50%); width:36px; height:36px; border-radius:50%; display:grid; place-items:center; background:#0a1728; border:1px solid var(--nsm-line); z-index:3; }

.nsm-foundation { display:grid; grid-template-columns:.85fr 1.15fr; gap:34px; align-items:center; margin-top:42px; }
.nsm-foundation-box { padding: 30px; }
.nsm-foundation-box h3 { margin:0 0 10px; font-size:26px; }
.nsm-foundation-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:12px; margin-top:18px; }
.nsm-mini-card { padding:16px; border:1px solid var(--nsm-line); border-radius:15px; background:rgba(255,255,255,.035); }
.nsm-section--light .nsm-mini-card { background:#fff; border-color:#e3e9f2; }

.nsm-build-grid { display:grid; grid-template-columns:repeat(5,1fr); gap:12px; margin-top:38px; }
.nsm-build-item { padding:21px 14px; text-align:center; }
.nsm-build-icon { width:50px; height:50px; margin:0 auto 12px; border-radius:16px; display:grid; place-items:center; background:rgba(54,214,255,.08); border:1px solid rgba(54,214,255,.15); font-size:22px; }
.nsm-build-item strong { display:block; font-size:14px; }
.nsm-build-item span { display:block; font-size:12px; color:var(--nsm-muted); margin-top:4px; }

.nsm-two-col { display:grid; grid-template-columns:1fr 1fr; gap:28px; margin-top:39px; }
.nsm-panel { padding:30px; }
.nsm-panel h3 { margin:0 0 12px; font-size:25px; }
.nsm-chip-row { display:flex; flex-wrap:wrap; gap:8px; margin-top:17px; }
.nsm-chip { padding:7px 11px; border-radius:999px; border:1px solid var(--nsm-line); background:rgba(255,255,255,.03); color:#c6d2df; font-size:13px; }
.nsm-section--light .nsm-chip { color:#3b4e64; border-color:#dbe3ee; background:#f8fafc; }

.nsm-kit-table { width:100%; border-collapse:collapse; margin-top:28px; overflow:hidden; border-radius:16px; }
.nsm-kit-table th,.nsm-kit-table td { text-align:left; padding:15px 16px; border-bottom:1px solid #e7ecf3; vertical-align:top; }
.nsm-kit-table th { font-size:13px; text-transform:uppercase; letter-spacing:.08em; color:#506178; background:#edf3f9; }
.nsm-kit-table tr:last-child td { border-bottom:0; }
.nsm-kit-table td:first-child { font-weight:800; color:#10243a; white-space:nowrap; }

.nsm-faq { max-width:900px; margin:40px auto 0; }
.nsm-faq-item { border-bottom:1px solid var(--nsm-line); }
.nsm-faq-button { width:100%; background:transparent; border:0; color:#fff; display:flex; align-items:center; justify-content:space-between; gap:18px; text-align:left; padding:21px 0; font:inherit; font-weight:800; font-size:17px; cursor:pointer; }
.nsm-faq-icon { font-size:23px; color:var(--nsm-cyan); transition:transform .2s ease; }
.nsm-faq-answer { max-height:0; overflow:hidden; color:#aebdce; transition:max-height .35s ease; }
.nsm-faq-answer p { margin:0 0 21px; }
.nsm-faq-item.is-open .nsm-faq-icon { transform:rotate(45deg); }

.nsm-cta { padding:38px; display:grid; grid-template-columns:1fr auto; gap:28px; align-items:center; background:linear-gradient(135deg,rgba(54,214,255,.13),rgba(94,125,255,.11)); }
.nsm-cta h2 { margin:0 0 8px; font-size:clamp(28px,4vw,42px); line-height:1.1; }
.nsm-contact-actions { display:flex; flex-wrap:wrap; gap:10px; justify-content:flex-end; }

.nsm-footer { border-top:1px solid var(--nsm-line); padding:34px 0; color:#8fa0b3; font-size:13px; }
.nsm-footer-inner { display:flex; justify-content:space-between; gap:20px; flex-wrap:wrap; }

.nsm-reveal { opacity:0; transform:translateY(20px); transition:opacity .6s ease,transform .6s ease; }
.nsm-reveal.is-visible { opacity:1; transform:none; }

@media (prefers-reduced-motion: reduce) {
  .nsm-reveal { opacity:1; transform:none; }
  .nsm-orbit,.nsm-scan { animation:none; }
  * { scroll-behavior:auto !important; }
}

@media (max-width: 960px) {
  .nsm-hero-grid,.nsm-foundation,.nsm-two-col { grid-template-columns:1fr; }
  .nsm-levels,.nsm-path { grid-template-columns:1fr; }
  .nsm-arrow { display:none; }
  .nsm-build-grid { grid-template-columns:repeat(2,1fr); }
  .nsm-robot-stage { min-height:430px; }
  .nsm-nav-toggle { display:block; }
  .nsm-nav { display:none; position:absolute; left:20px; right:20px; top:60px; padding:16px; flex-direction:column; align-items:stretch; background:#0a1829; border:1px solid var(--nsm-line); border-radius:16px; box-shadow:var(--nsm-shadow); }
  .nsm-nav.is-open { display:flex; }
  .nsm-cta { grid-template-columns:1fr; }
  .nsm-contact-actions { justify-content:flex-start; }
}

@media (max-width: 640px) {
  .nsm-container { width:min(calc(100% - 28px),var(--nsm-max)); }
  .nsm-section { padding:64px 0; }
  .nsm-hero { padding:72px 0 54px; }
  .nsm-hero h1 { font-size:42px; }
  .nsm-hero-actions .nsm-btn { width:100%; }
  .nsm-build-grid,.nsm-foundation-grid { grid-template-columns:1fr; }
  .nsm-level-card,.nsm-panel,.nsm-foundation-box,.nsm-cta { padding:22px; }
  .nsm-kit-table { font-size:13px; }
  .nsm-kit-table th,.nsm-kit-table td { padding:11px 9px; }
  .nsm-kit-table td:first-child { white-space:normal; }
  .nsm-robot-stage { min-height:360px; }
  .nsm-orbit--1 { width:320px; height:320px; }
  .nsm-orbit--2 { width:240px; height:240px; }
}

/* Hero course image */
.nsm-hero-course-figure {
  margin: 0;
  position: relative;
  align-self: center;
}
.nsm-hero-course-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: var(--nsm-shadow);
  background: #0b1b2e;
}
.nsm-hero-course-caption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 18px;
  margin-top: 14px;
  color: rgba(255,255,255,.74);
  font-size: 14px;
  line-height: 1.5;
}
.nsm-hero-course-caption strong { color: #fff; }
@media (max-width: 760px) {
  .nsm-hero-course-image { border-radius: 20px; }
  .nsm-hero-course-caption { font-size: 13px; }
}
