/* ==========================================================
   Nordia product pages (NOVA, NORA)
   All selectors are scoped under .np-page so nothing leaks
   into the rest of the site.
   ========================================================== */
.np-page {
  --np-blue: #0c3df4;
  --np-cyan: #02b5ff;
  --np-navy: #0b1b3f;
  --np-navy-2: #10285c;
  --np-text: #1f2a44;
  --np-muted: #5b6785;
  --np-bg-alt: #f4f7fd;
  --np-border: #e3e9f6;
  --np-good: #0f9d6b;
  --np-warn: #e8590c;
  --np-grad: linear-gradient(90deg, #0c3df4 0%, #02b5ff 100%);
  color: var(--np-text);
  font-family: 'Inter', system-ui, sans-serif;
}
.np-page h1, .np-page h2, .np-page h3, .np-page h4 { color: var(--np-navy); }
.np-page p { color: var(--np-muted); line-height: 1.7; }
.np-section { padding: 90px 0; }
.np-section--alt { background: var(--np-bg-alt); }
.np-grad-text {
  background: var(--np-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- Section heading ---------- */
.np-head { max-width: 860px; margin: 0 auto 48px; text-align: center; }
.np-head--left { margin-left: 0; text-align: left; }
.np-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--np-blue);
  margin-bottom: 12px;
}
.np-head h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; line-height: 1.25; margin-bottom: 16px; }
.np-head p { font-size: 17px; margin: 0; }
.np-closing {
  max-width: 860px;
  margin: 40px auto 0;
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  color: var(--np-navy);
}

/* ---------- Buttons ---------- */
.np-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.np-btn--primary { background: var(--np-grad); color: #fff; box-shadow: 0 10px 24px rgba(12, 61, 244, .28); }
.np-btn--primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(12, 61, 244, .36); }
.np-btn--ghost { border: 1.5px solid rgba(255, 255, 255, .55); color: #fff; }
.np-btn--ghost:hover { color: #fff; background: rgba(255, 255, 255, .1); }

/* ---------- Hero ---------- */
.np-hero {
  position: relative;
  overflow: hidden;
  padding: 90px 0 100px;
  background:
    radial-gradient(circle at 12% 18%, rgba(2, 181, 255, .22), transparent 40%),
    radial-gradient(circle at 88% 80%, rgba(12, 61, 244, .35), transparent 45%),
    linear-gradient(125deg, #0b1b3f 0%, #10285c 55%, #0d2350 100%);
  color: #fff;
}
.np-hero .np-eyebrow { color: #7fd8ff; }
.np-hero h1 { color: #fff; font-size: clamp(32px, 4.2vw, 52px); font-weight: 800; line-height: 1.15; margin-bottom: 20px; }
.np-hero h1 span {
  background: linear-gradient(90deg, #7fd8ff, #02b5ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.np-hero-sub { color: #c9d6f2; font-size: 18px; max-width: 620px; margin-bottom: 26px; }
.np-badges { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0 0 30px; }
.np-badges li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(127, 216, 255, .3);
  color: #e6f4ff;
  font-size: 14px;
  font-weight: 600;
}
.np-badges i { color: #7fd8ff; }
.np-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.np-trust { color: #9fb3d9; font-size: 14px; margin: 0; }
.np-trust i { color: #7fd8ff; margin-right: 6px; }
.np-tagline { color: #e6f4ff; font-weight: 600; font-size: 16px; margin-bottom: 26px; }

/* Hero visual card */
.np-visual {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(127, 216, 255, .25);
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .35);
  backdrop-filter: blur(10px);
}
.np-visual-bar { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; color: #9fb3d9; font-size: 13px; font-weight: 600; }
.np-visual-bar .dot { width: 10px; height: 10px; border-radius: 50%; background: #3a4f7d; }
.np-visual-bar .dot:first-child { background: #ff6b6b; }
.np-visual-bar .dot:nth-child(2) { background: #ffd166; }
.np-visual-bar .dot:nth-child(3) { background: #06d6a0; margin-right: 8px; }
.np-msg {
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.55;
  color: #e6f4ff;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .08);
}
.np-msg:last-child { margin-bottom: 0; }
.np-msg strong { display: block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 4px; }
.np-msg--alert { border-left: 3px solid #ff8c42; }
.np-msg--alert strong { color: #ffb37a; }
.np-msg--ask strong { color: #9fb3d9; }
.np-msg--ai { border-left: 3px solid var(--np-cyan); background: rgba(2, 181, 255, .1); }
.np-msg--ai strong { color: #7fd8ff; }
.np-health { list-style: none; padding: 0; margin: 0 0 14px; }
.np-health li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .05);
  margin-bottom: 8px;
  color: #e6f4ff;
  font-size: 14px;
}
.np-health li i { color: #7fd8ff; width: 20px; margin-right: 8px; }
.np-status { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.np-status--ok { background: rgba(6, 214, 160, .15); color: #4ff0c0; }
.np-status--warn { background: rgba(255, 140, 66, .18); color: #ffb37a; }
.np-pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 16px; }
.np-pillar {
  border-radius: 14px;
  padding: 16px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  color: #e6f4ff;
}
.np-pillar i { font-size: 20px; color: #7fd8ff; margin-bottom: 8px; display: block; }
.np-pillar b { display: block; font-size: 16px; }
.np-pillar span { font-size: 13px; color: #9fb3d9; }
.np-visual .np-flow { justify-content: flex-start; }
.np-visual .np-flow li { background: rgba(2, 181, 255, .12); border-color: rgba(127, 216, 255, .3); color: #e6f4ff; }
.np-visual .np-flow li::after { color: #7fd8ff; }

/* ---------- Cards ---------- */
/* Grid with grid-auto-rows: 1fr so every card in a section is the same height,
   on a 6-track (desktop) / 4-track (tablet) grid so a short last row can be centred. */
.np-cards { display: grid; gap: 24px; grid-auto-rows: 1fr; list-style: none; padding: 0; margin: 0; }
@media (min-width: 992px) {
  .np-cards { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .np-cards > * { grid-column: span 2; }                                   /* three per row */
  .np-cards > :first-child:nth-last-child(4),
  .np-cards > :first-child:nth-last-child(4) ~ * { grid-column: span 3; }  /* 4 cards: 2 + 2 */
  .np-cards > :nth-child(3n+1):nth-last-child(2) { grid-column: 2 / span 2; } /* last row of 2: centred (5 cards: 3 + 2) */
}
@media (max-width: 991px) {
  .np-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .np-cards > * { grid-column: span 2; }                                   /* two per row */
  .np-cards > :last-child:nth-child(odd) { grid-column: 2 / span 2; }      /* lone last card: centred */
}
.np-card {
  background: #fff;
  border: 1px solid var(--np-border);
  border-radius: 18px;
  padding: 28px 26px;
  height: 100%;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.np-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(16, 40, 92, .1); border-color: #c9d6f2; }
.np-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(12, 61, 244, .08);
  color: var(--np-blue);
  font-size: 20px;
  margin-bottom: 18px;
}
.np-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; line-height: 1.35; }
.np-card p { margin: 0; font-size: 15.5px; }
.np-card ul { margin: 14px 0 0; padding: 0; list-style: none; }
.np-card ul li { position: relative; padding-left: 26px; margin-bottom: 8px; color: var(--np-muted); font-size: 15px; line-height: 1.55; }
.np-card ul li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--np-blue);
  font-size: 13px;
}
.np-card-num {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .1em;
  color: var(--np-blue);
  margin-bottom: 8px;
}

/* ---------- Prose block ---------- */
.np-prose { max-width: 860px; margin: 0 auto; }
.np-prose p { font-size: 17px; margin-bottom: 18px; }
.np-prose p:last-child { margin-bottom: 0; }

/* ---------- Tables ---------- */
.np-table-wrap { overflow-x: auto; border-radius: 18px; border: 1px solid var(--np-border); background: #fff; max-width: 980px; margin: 0 auto; }
.np-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.np-table th, .np-table td { padding: 16px 22px; text-align: left; vertical-align: top; font-size: 15.5px; line-height: 1.55; }
.np-table thead th { background: var(--np-navy); color: #fff; font-weight: 700; font-size: 15px; }
.np-table tbody tr + tr td { border-top: 1px solid var(--np-border); }
.np-table tbody td { color: var(--np-muted); }
.np-table tbody td:first-child { color: var(--np-navy); font-weight: 600; }
.np-table--compare thead th:first-child { background: #5b6785; }
.np-table--compare thead th:last-child { background: var(--np-blue); }
.np-table--compare tbody td:first-child { color: var(--np-muted); font-weight: 400; }
.np-table--compare tbody td:last-child { color: var(--np-navy); font-weight: 600; }
.np-table--compare td i { margin-right: 10px; }
.np-table--compare td:first-child i { color: #c0392b; }
.np-table--compare td:last-child i { color: var(--np-good); }
.np-note { text-align: center; margin: 22px auto 0; max-width: 860px; font-size: 15px; }

/* ---------- Steps ---------- */
.np-steps { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 18px; list-style: none; padding: 0; margin: 0; counter-reset: np-step; }
.np-step {
  position: relative;
  background: #fff;
  border: 1px solid var(--np-border);
  border-radius: 18px;
  padding: 24px 20px;
  counter-increment: np-step;
}
.np-step::before {
  content: counter(np-step, decimal-leading-zero);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--np-grad);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 14px;
}
.np-step h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.np-step p { margin: 0; font-size: 14.5px; line-height: 1.6; }

/* ---------- Flow chips ---------- */
.np-flow { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; list-style: none; padding: 0; margin: 0; }
.np-flow li {
  position: relative;
  padding: 10px 18px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #c9d6f2;
  color: var(--np-navy);
  font-weight: 700;
  font-size: 14.5px;
}
.np-flow li:not(:last-child)::after {
  content: "\f061";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  right: -21px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--np-blue);
  font-size: 12px;
}

/* ---------- AI chat demo ---------- */
.np-chat { max-width: 820px; margin: 0 auto; background: var(--np-navy); border-radius: 22px; padding: 26px; box-shadow: 0 24px 50px rgba(11, 27, 63, .25); }
.np-chat .np-msg { font-size: 15.5px; }
.np-chat-note { text-align: center; margin: 22px auto 0; font-weight: 600; color: var(--np-navy); }

/* ---------- Scenarios ---------- */
.np-scenario { border-left: 4px solid var(--np-blue); }
.np-scenario h3 i { color: var(--np-blue); margin-right: 8px; }

/* ---------- Chips (supported systems) ---------- */
.np-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; list-style: none; padding: 0; margin: 28px 0 0; }
.np-chips li { padding: 8px 16px; border-radius: 999px; background: rgba(12, 61, 244, .07); color: var(--np-blue); font-weight: 600; font-size: 14px; }

/* ---------- FAQ (extends the site's .faq.style-3 accordion) ---------- */
.np-faq { max-width: 960px; margin: 0 auto; }
.np-faq .accordion-button { font-weight: 600; font-size: 16.5px; }
.np-faq .accordion-body p { margin: 0; font-size: 15.5px; }

/* ---------- Final CTA + demo form ---------- */
.np-cta {
  padding: 90px 0;
  background:
    radial-gradient(circle at 10% 20%, rgba(2, 181, 255, .25), transparent 40%),
    linear-gradient(125deg, #0b1b3f 0%, #10285c 60%, #0d2350 100%);
  color: #fff;
}
.np-cta h2 { color: #fff; font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; margin-bottom: 16px; }
.np-cta p { color: #c9d6f2; font-size: 17px; }
.np-contact { list-style: none; padding: 0; margin: 26px 0 0; }
.np-contact li { color: #c9d6f2; margin-bottom: 10px; font-size: 15.5px; }
.np-contact i { color: #7fd8ff; width: 22px; }
.np-contact a { color: #fff; text-decoration: none; }
.np-form {
  background: #fff;
  border-radius: 22px;
  padding: 30px 28px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .3);
}
.np-form h3 { font-size: 22px; font-weight: 800; margin-bottom: 18px; color: var(--np-navy); }
.np-form .form-control { border-radius: 12px; padding: 12px 14px; border-color: var(--np-border); font-size: 15px; margin-bottom: 4px; }
.np-form .form-control:focus { border-color: var(--np-blue); box-shadow: 0 0 0 3px rgba(12, 61, 244, .12); }
.np-form .np-field { margin-bottom: 12px; }
.np-form .np-error { color: #c0392b; font-size: 13px; }
.np-form .np-alert { margin-bottom: 14px; padding: 12px 14px; border-radius: 10px; border: 1px solid #fecaca; background: #fef2f2; color: #991b1b; font-size: 14px; }
.np-form button { width: 100%; border: 0; justify-content: center; margin-top: 6px; }
.np-form-note { margin: 12px 0 0; font-size: 13px; text-align: center; color: var(--np-muted); }

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
  .np-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 991px) {
  .np-section, .np-cta { padding: 70px 0; }
  .np-hero { padding: 60px 0 70px; }
  .np-visual { margin-top: 40px; }
  .np-form { margin-top: 36px; }
}
@media (max-width: 767px) {
  .np-cards--2 { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .np-cards--2 > *,
  .np-cards--2 > :last-child:nth-child(odd) { grid-column: auto; }
  .np-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575px) {
  .np-cards, .np-steps { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .np-cards > *,
  .np-cards > :last-child:nth-child(odd) { grid-column: auto; }
  .np-section, .np-cta { padding: 56px 0; }
  .np-hero-actions .np-btn { width: 100%; justify-content: center; }
  .np-pillars { grid-template-columns: 1fr 1fr; }
  .np-card { padding: 22px 20px; }
  .np-table th, .np-table td { padding: 12px 14px; font-size: 14.5px; }
  .np-flow { gap: 10px 26px; }
}
