/* =========================================
   NEXANTARA PARTNERS - MASTER STYLESHEET
   GitHub & Cloudflare Pages Production Bundle
   ========================================= */

:root {
  --orange: #FF5200;
  --off-white: #F9F7F2;
  --sec-white: #EBE8E1;
  --dark-blue: #005885;
  --brown: #4A3B32;
  --dark-grey: #1E2022;
  --card-dark: #22252A;
  --border-dark: #343A42;
  --font-serif: Georgia, "Times New Roman", Garamond, serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--off-white);
  color: var(--dark-grey);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Custom Text Selection */
::selection {
  background-color: rgba(255, 82, 0, 0.25);
  color: var(--orange);
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.25;
  margin-bottom: 1.2rem;
  color: var(--dark-blue);
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }
p { margin-bottom: 1.2rem; font-size: 1.05rem; color: var(--brown); }

.text-orange { color: var(--orange); }
.text-navy { color: var(--dark-blue); }
.text-mono { font-family: var(--font-mono); }

/* Header & Nav */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(249, 247, 242, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 88, 133, 0.15);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.nav-logo {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.logo-text {
  font-family: var(--font-sans);
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: var(--dark-grey);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.desktop-nav a {
  text-decoration: none;
  color: var(--dark-blue);
  font-size: 0.95rem;
  font-weight: 600;
  position: relative;
  transition: color 0.25s ease;
  padding: 4px 0;
}

.desktop-nav a:hover,
.desktop-nav a.active {
  color: var(--orange);
}

.desktop-nav a.active::after,
.desktop-nav a:hover::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--orange);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-briefing {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--dark-blue);
  color: #FFF;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.65rem 1.25rem;
  border-radius: 2px;
  transition: background-color 0.25s ease, transform 0.1s ease;
}

.btn-briefing:hover {
  background-color: var(--orange);
  transform: translateY(-1px);
}

.header-burger-btn {
  display: none;
  background: none;
  border: 1px solid rgba(255, 82, 0, 0.4);
  border-radius: 4px;
  padding: 6px 8px;
  cursor: pointer;
}

.header-burger-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--dark-blue);
  margin: 4px 0;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  width: 100%;
  background-color: var(--dark-grey);
  padding: 1.5rem 2rem;
  flex-direction: column;
  gap: 1rem;
  border-bottom: 2px solid var(--orange);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.mobile-menu.is-open {
  display: flex;
}

.mobile-menu a {
  color: var(--off-white);
  text-decoration: none;
  font-size: 1.1rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.mobile-menu a:hover,
.mobile-menu a.active {
  color: var(--orange);
}

/* Sections */
.page-section {
  padding: 5.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-container {
  max-width: 1100px;
  width: 100%;
}

.dark-section {
  background-color: var(--dark-grey);
  color: var(--off-white);
}

.dark-section h1,
.dark-section h2,
.dark-section h3 {
  color: #FFF;
}

.dark-section p {
  color: var(--sec-white);
}

/* Hero Section with Bridge Backdrop */
.hero-section {
  margin-top: 70px;
  min-height: 600px;
  background-image: url('assets/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 1.5rem;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(30, 32, 34, 0.85);
  backdrop-filter: blur(1px);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
}

.hero-pill {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 20px;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--off-white);
  margin-bottom: 1.5rem;
}

.hero-title {
  color: #FFF;
  font-size: 3rem;
  margin-bottom: 1.2rem;
  line-height: 1.15;
}

.hero-sub {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.5rem;
  color: rgba(249, 247, 242, 0.9);
  margin-bottom: 1.5rem;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--sec-white);
  max-width: 720px;
  margin: 0 auto 2rem auto;
}

.hero-btn-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.btn-primary {
  display: inline-block;
  padding: 12px 26px;
  background-color: var(--dark-blue);
  color: #FFF;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-primary:hover {
  background-color: var(--orange);
  transform: translateY(-2px);
}

.btn-secondary {
  display: inline-block;
  padding: 12px 24px;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--off-white);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

/* Technical Accordion */
.accordion-container {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
}

.accordion-item {
  background-color: #FFF;
  border: 1px solid var(--sec-white);
  border-radius: 8px;
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: all 0.25s ease;
  border-left: 4px solid transparent;
}

.dark-section .accordion-item {
  background-color: #22252A;
  border: 1px solid #343A42;
  color: #FFFFFF;
}

.dark-section .accordion-title {
  color: #FFFFFF;
}

.accordion-item[data-is-open="true"] {
  border-left: 4px solid var(--orange);
  background-color: #FAF9F5;
}

.dark-section .accordion-item[data-is-open="true"] {
  background-color: #262A30;
  border-color: #343A42;
  border-left: 4px solid var(--orange);
}

.dark-section .accordion-content {
  background-color: #17191D !important;
  border-top: 1px solid #343A42;
  padding-top: 1.25rem;
  color: #FFFFFF !important;
}

.dark-section .accordion-content p {
  color: #FFFFFF !important;
  font-size: 0.98rem;
  line-height: 1.7;
}

.accordion-header {
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
}

.accordion-title {
  font-size: 1.2rem;
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 600;
}

.accordion-icon {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  padding: 0 1.5rem;
}

.accordion-item[data-is-open="true"] .accordion-content {
  padding-bottom: 1.5rem;
}

/* Consultation Form */
.form-box {
  background-color: #FFF;
  border: 1px solid var(--sec-white);
  border-radius: 12px;
  padding: 2.5rem;
  max-width: 650px;
  width: 100%;
  margin: 0 auto;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--dark-grey);
  margin-bottom: 0.5rem;
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--sec-white);
  border-radius: 6px;
  background-color: #FAF9F5;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--dark-grey);
  outline: none;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--orange);
  background-color: #FFF;
}

/* Footer */
.footer {
  background-color: #FAF9F5;
  border-top: 1px solid var(--sec-white);
  padding: 4rem 1.5rem 2.5rem 1.5rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--sec-white);
}

.footer-col h3 {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--dark-blue);
  margin-bottom: 1rem;
}

.footer-col a {
  display: block;
  color: var(--brown);
  text-decoration: none;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-col a:hover {
  color: var(--orange);
  transform: translateX(4px);
}

.footer-bottom {
  max-width: 1100px;
  margin: 1.5rem auto 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--brown);
}

/* ========================================================================
   AUTOMATION INTELLIGENCE SUITE EMBED STYLES (Vanilla CSS Module)
   ======================================================================== */
#nx-suite-root {
  box-sizing: border-box;
  width: 100%;
  max-width: 1120px;
  margin: 16px auto;
  padding: 16px;
  background-color: #F9F7F2;
  color: #1E2022;
  font-family: var(--font-sans);
  line-height: 1.5;
}
#nx-suite-root * { box-sizing: border-box; }
.nx-hidden { display: none !important; }

.nx-header {
  background: #FFFFFF;
  border: 1px solid #EBE8E1;
  border-radius: 14px;
  padding: 12px 18px;
  margin-bottom: 16px;
}
.nx-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.nx-brand-group { display: flex; align-items: center; gap: 8px; }
.nx-brand-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: #FF5200;
  display: inline-block;
}
.nx-header-title {
  font-size: 15px;
  font-weight: 800;
  color: #1E2022;
  margin: 0;
}

.nx-nav-bar {
  display: flex;
  background: #EBE8E1;
  padding: 5px;
  border-radius: 14px;
  gap: 6px;
  margin-bottom: 20px;
}
.nx-tab-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  background: transparent;
  border: none;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 700;
  color: #4A3B32;
  cursor: pointer;
  transition: all 0.15s ease;
}
.nx-tab-btn:hover { background: rgba(255,255,255,0.4); color: #1E2022; }
.nx-tab-btn.active {
  background: #FFFFFF;
  color: #005885;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.nx-tab-btn.active svg { color: #FF5200; }
.nx-tab-panel { display: none; }
.nx-tab-panel.active { display: block; }

.nx-card {
  background: #FFFFFF;
  border: 1px solid #EBE8E1;
  border-radius: 14px;
  padding: 22px;
}
.nx-pill-accent {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #FF5200;
  background: rgba(255,82,0,0.1);
  padding: 3px 9px;
  border-radius: 20px;
  margin-bottom: 8px;
}
.nx-pill-blue {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #005885;
  background: rgba(0,88,133,0.1);
  padding: 3px 9px;
  border-radius: 20px;
  margin-bottom: 8px;
}
.nx-section-title { font-size: 22px; font-weight: 800; color: #1E2022; margin: 0 0 6px 0; }
.nx-section-desc { font-size: 13.5px; color: #4A3B32; margin: 0; max-width: 780px; }
.nx-label-caps {
  display: block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #1E2022;
  margin-bottom: 6px;
}

.nx-form-group { margin-top: 18px; }
.nx-textarea {
  width: 100%;
  padding: 12px;
  font-size: 13.5px;
  background: #FAF9F5;
  border: 1.5px solid #EBE8E1;
  border-radius: 10px;
  outline: none;
  resize: vertical;
  color: #1E2022;
  font-family: inherit;
  transition: border-color 0.15s ease;
}
.nx-textarea:focus { border-color: #FF5200; background: #FFFFFF; }
.nx-input {
  flex: 1;
  padding: 12px 14px;
  font-size: 13.5px;
  background: #FAF9F5;
  border: 1.5px solid #EBE8E1;
  border-radius: 10px;
  outline: none;
  color: #1E2022;
  font-family: inherit;
}
.nx-input:focus { border-color: #FF5200; background: #FFFFFF; }

.nx-form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
}
.nx-hint-text { font-size: 11.5px; color: #4A3B32; }

.nx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.05s ease;
}
.nx-btn:active { transform: scale(0.98); }
.nx-btn-primary { background: #FF5200; color: #FFFFFF; }
.nx-btn-primary:hover { background: #E64500; }
.nx-btn-ghost {
  background: rgba(0,88,133,0.08);
  color: #005885;
  border: none;
  font-size: 12px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s ease;
}
.nx-btn-ghost:hover { background: rgba(0,88,133,0.15); }
.nx-btn-outline {
  background: #FFFFFF;
  color: #065F46;
  border: 1px solid #A7F3D0;
  font-size: 12px;
}
.nx-btn-outline:hover { background: #ECFDF5; }
.nx-btn-sm { padding: 8px 14px; font-size: 12px; border-radius: 8px; }
.nx-btn-full { width: 100%; }

.nx-dark-card {
  background: #1A1C1E;
  border-color: #2B2F33;
  color: #FFFFFF;
}
.nx-dark-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-family: monospace;
  color: #AAA;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.nx-canvas-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #FF5200;
}
.nx-pulse { animation: nxPulse 1.2s cubic-bezier(0, 0, 0.2, 1) infinite; }
@keyframes nxPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.nx-badge-green {
  font-size: 10px;
  font-family: monospace;
  font-weight: 700;
  color: #10B981;
  background: rgba(16,185,129,0.15);
  padding: 2px 7px;
  border-radius: 4px;
  border: 1px solid rgba(16,185,129,0.3);
}

.nx-connecting-nodes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
}
.nx-connecting-node {
  background: #22252A;
  border: 1px solid #343A42;
  border-radius: 10px;
  padding: 16px 12px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.nx-conn-icon { font-size: 22px; margin-bottom: 6px; }
.nx-conn-title { display: block; font-size: 12px; color: #FFF; margin-bottom: 2px; }
.nx-conn-sub { font-size: 10px; font-family: monospace; color: #9CA3AF; }
.nx-progress-line {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #2C3138;
}
.nx-progress-bar { height: 100%; background: #FF5200; }
.nx-anim-footer {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 11px;
  font-family: monospace;
  color: #9CA3AF;
}
.nx-spinner {
  width: 12px;
  height: 12px;
  border: 2px solid #FF5200;
  border-top-color: transparent;
  border-radius: 50%;
  animation: nxSpin 0.7s linear infinite;
}
@keyframes nxSpin { to { transform: rotate(360deg); } }

.nx-prompt-recap {
  font-size: 11px;
  font-family: monospace;
  color: #FF5200;
  font-weight: 700;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.nx-recap-dot { width: 6px; height: 6px; border-radius: 50%; background: #FF5200; }
.nx-crisp-nodes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
}
.nx-crisp-node {
  background: #22252A;
  border: 1px solid #343A42;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.15s ease;
}
.nx-crisp-node:hover { border-color: rgba(255,82,0,0.6); }
.nx-node-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 9px;
  font-family: monospace;
  color: #888;
  margin-bottom: 8px;
}
.nx-node-badge-orange { color: #FF5200; font-weight: 800; }
.nx-node-head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.nx-node-icon-box {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(255,82,0,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}
.nx-node-heading { font-size: 13px; font-weight: 800; color: #FFF; }
.nx-node-desc { font-size: 11px; color: #D1D5DB; line-height: 1.4; margin: 0 0 12px 0; }
.nx-node-foot {
  font-size: 10px;
  font-family: monospace;
  color: #10B981;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 8px;
}

.nx-cta-box-inner { max-width: 580px; margin: 0 auto; text-align: center; }
.nx-cta-heading { font-size: 19px; font-weight: 800; color: #1E2022; margin: 4px 0 6px 0; }
.nx-cta-subtext { font-size: 13.5px; color: #4A3B32; margin: 0 0 16px 0; line-height: 1.45; }
.nx-email-form { display: flex; gap: 8px; }
@media (max-width: 550px) { .nx-email-form { flex-direction: column; } }
.nx-disclaimer { display: block; font-size: 11px; color: #6B7280; margin-top: 8px; }

.nx-success-card {
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  text-align: center;
  max-width: 580px;
  margin: 18px auto 0 auto;
}
.nx-success-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #D1FAE5;
  color: #059669;
  font-size: 22px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px auto;
}
.nx-success-title { font-size: 18px; font-weight: 800; color: #064E3B; margin: 0 0 6px 0; }
.nx-success-desc { font-size: 13px; color: #065F46; line-height: 1.5; margin: 0; }
.nx-success-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
}

.nx-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 20px;
}
.nx-category-card {
  background: #FFFFFF;
  border: 1px solid #EBE8E1;
  border-radius: 12px;
  padding: 14px;
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.15s ease;
}
.nx-category-card:hover {
  border-color: rgba(0,88,133,0.4);
  background: #FAF9F5;
  transform: translateY(-2px);
}
.nx-category-card.active {
  background: #FAF9F5;
  border: 2px solid #FF5200;
  box-shadow: 0 2px 8px rgba(255,82,0,0.15);
}
.nx-cat-top { display: flex; justify-content: flex-end; margin-bottom: 6px; }
.nx-cat-badge {
  font-size: 10px;
  font-family: monospace;
  font-weight: 700;
  background: #EBE8E1;
  padding: 2px 7px;
  border-radius: 12px;
}
.nx-category-card.active .nx-cat-badge {
  background: rgba(255,82,0,0.15);
  color: #FF5200;
}
.nx-cat-name { font-size: 14px; font-weight: 800; color: #1E2022; }
.nx-category-card.active .nx-cat-name { color: #FF5200; }
.nx-cat-sub {
  font-size: 11px;
  color: #4A3B32;
  margin-top: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.nx-cat-action { font-size: 11.5px; font-weight: 700; margin-top: 10px; color: #005885; }
.nx-category-card.active .nx-cat-action { color: #FF5200; }

.nx-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: #FFFFFF;
  border: 1px solid #EBE8E1;
  border-radius: 12px;
  padding: 10px 14px;
  margin: 18px 0;
}
.nx-filter-left { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.nx-active-cat-pill {
  font-size: 13px;
  font-weight: 800;
  color: #1E2022;
  background: #FAF9F5;
  padding: 3px 9px;
  border-radius: 6px;
  border: 1px solid #EBE8E1;
}
.nx-count-pill {
  font-size: 11px;
  font-family: monospace;
  font-weight: 700;
  background: #FF5200;
  color: #FFF;
  padding: 2px 7px;
  border-radius: 10px;
}
.nx-link-btn {
  background: none;
  border: none;
  font-size: 11.5px;
  font-weight: 700;
  color: #005885;
  cursor: pointer;
  text-decoration: underline;
}

.nx-workflows-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: 16px;
}
@media (max-width: 600px) { .nx-workflows-grid { grid-template-columns: 1fr; } }
.nx-workflow-card {
  background: #FFFFFF;
  border: 1px solid #EBE8E1;
  border-radius: 14px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.15s ease;
}
.nx-workflow-card:hover {
  border-color: rgba(255,82,0,0.5);
  box-shadow: 0 3px 10px rgba(0,0,0,0.04);
}
.nx-wf-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.nx-wf-id {
  font-size: 10px;
  font-family: monospace;
  font-weight: 800;
  color: #FF5200;
  background: rgba(255,82,0,0.1);
  padding: 2px 6px;
  border-radius: 4px;
}
.nx-wf-cat { font-size: 10.5px; color: #4A3B32; font-weight: 600; }
.nx-wf-title { font-size: 16px; font-weight: 800; color: #1E2022; margin: 0 0 10px 0; }

.nx-flow-pipeline-box {
  background: #1A1C1E;
  border: 1px solid #2B2F33;
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 12px;
}
.nx-flow-summary {
  font-size: 11px;
  font-family: monospace;
  color: #FF5200;
  font-weight: 700;
  margin-bottom: 8px;
}

.nx-detailed-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 8px;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 8px;
}
@media (max-width: 500px) { .nx-detailed-steps-grid { grid-template-columns: 1fr; } }
.nx-step-box {
  background: #22252A;
  border: 1px solid #343A42;
  border-radius: 8px;
  padding: 8px;
}
.nx-step-meta {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  font-family: monospace;
  color: #9CA3AF;
  text-transform: uppercase;
}
.nx-step-meta span:last-child { color: #FF5200; font-weight: 700; }
.nx-step-name {
  font-size: 11px;
  font-weight: 700;
  color: #FFF;
  margin: 3px 0 2px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nx-step-sys {
  font-size: 9.5px;
  color: #38BDF8;
  background: rgba(255,255,255,0.08);
  padding: 1px 4px;
  border-radius: 3px;
  display: inline-block;
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.nx-step-detail {
  font-size: 9.5px;
  color: #D1D5DB;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}

.nx-compact-steps-row {
  display: none;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 8px;
  font-size: 11px;
  font-family: monospace;
}
.nx-compact-pill {
  background: #22252A;
  border: 1px solid #343A42;
  color: #FFF;
  padding: 2px 7px;
  border-radius: 5px;
}
.nx-compact-arrow { color: #FF5200; font-weight: 700; }

.nx-workflows-grid.nx-compact-mode .nx-detailed-steps-grid { display: none !important; }
.nx-workflows-grid.nx-compact-mode .nx-compact-steps-row { display: flex !important; }

.nx-val-box {
  background: #FAF9F5;
  border: 1px solid #EBE8E1;
  border-radius: 10px;
  padding: 10px;
  font-size: 12px;
  color: #1E2022;
  line-height: 1.4;
  margin-bottom: 12px;
}
.nx-val-box strong { color: #005885; display: block; margin-bottom: 2px; }

.nx-wf-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #EBE8E1;
  padding-top: 12px;
  gap: 8px;
}
.nx-tags-flex { display: flex; flex-wrap: wrap; gap: 4px; }
.nx-tag-chip {
  font-size: 9.5px;
  background: #EBE8E1;
  color: #1E2022;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 500;
}
.nx-actions-right { display: flex; align-items: center; gap: 6px; }

/* 3-Slider ROI Calculator Styles */
.nx-pill-orange {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #FF5200;
  background: rgba(255, 82, 0, 0.1);
  padding: 4px 10px;
  border-radius: 9999px;
}
.nx-presets-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid #EBE8E1;
}
.nx-preset-label {
  font-size: 12px;
  font-weight: 600;
  color: #1E2022;
}
.nx-preset-btn {
  background: #FAF9F5;
  border: 1px solid #EBE8E1;
  color: #005885;
  border-radius: 8px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
}
.nx-preset-btn:hover {
  background: #EBE8E1;
  color: #FF5200;
}
.nx-calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 900px) {
  .nx-calc-grid {
    grid-template-columns: 1fr;
  }
}
.nx-calc-sliders-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.nx-slider-group {
  display: flex;
  flex-direction: column;
}
.nx-slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.nx-slider-title {
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #1E2022;
}
.nx-slider-badge {
  font-size: 13px;
  font-weight: 700;
  font-family: monospace;
  color: #005885;
  background: rgba(0, 88, 133, 0.1);
  padding: 2px 8px;
  border-radius: 6px;
}
.nx-range {
  width: 100%;
  accent-color: #FF5200;
  cursor: pointer;
  height: 6px;
  border-radius: 4px;
}
.nx-slider-ticks {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: rgba(74, 59, 50, 0.6);
  margin-top: 5px;
}
.nx-results-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}
.nx-metric-cards-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 500px) {
  .nx-metric-cards-row {
    grid-template-columns: 1fr;
  }
}
.nx-metric-card {
  background: #FAF9F5;
  border: 1px solid #EBE8E1;
  border-radius: 12px;
  padding: 16px;
}
.nx-metric-card-head {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #4A3B32;
  margin-bottom: 4px;
}
.nx-metric-card-num {
  font-size: 26px;
  font-weight: 900;
  color: #1E2022;
  line-height: 1.1;
}
.nx-metric-card-num span:last-child {
  font-size: 14px;
  font-weight: 400;
  color: #4A3B32;
}
.nx-metric-card-sub {
  font-size: 11px;
  color: rgba(74, 59, 50, 0.7);
  margin-top: 4px;
}
.nx-savings-card {
  background: #005885;
  border-radius: 14px;
  padding: 20px;
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(0, 88, 133, 0.15);
}
.nx-savings-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.nx-savings-kicker {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #FED7AA;
}
.nx-savings-amount {
  font-size: 38px;
  font-weight: 900;
  color: #FFFFFF;
  margin-top: 4px;
  line-height: 1.1;
}
.nx-savings-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nx-savings-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #DBEAFE;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 10px;
  margin-top: 12px;
}
.nx-savings-cost {
  font-weight: 700;
  color: #FDBA74;
}
.nx-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 600px) {
  .nx-form-row {
    grid-template-columns: 1fr;
  }
}

.nx-footer {
  margin-top: 24px;
  padding-top: 14px;
  border-top: 1px solid #EBE8E1;
  text-align: center;
  font-size: 11px;
  color: #4A3B32;
}
.nx-link { color: #005885; font-weight: 600; text-decoration: none; }
.nx-link:hover { text-decoration: underline; }
.nx-icon-14 { width: 14px; height: 14px; }
.nx-icon-16 { width: 16px; height: 16px; }

/* Responsive Media Queries */
@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .desktop-nav { display: none; }
  .header-burger-btn { display: block; }
  h1, .hero-title { font-size: 2.1rem; }
  h2 { font-size: 1.7rem; }
  .page-section { padding: 3.5rem 1rem; }
  .form-box { padding: 1.5rem; }
}
/* =========================================
   NEXANTARA LOGO SCALING OVERRIDE
   ========================================= */

/* Top Navigation Logo Scale */
.nav-logo {
  height: 90px !important; /* Increased from 38px for executive presence */
  width: auto !important;
  object-fit: contain;
}

/* Footer Logo Scale */
.footer-col .logo-link img {
  height: 100px !important; /* Increased from 34px to anchor the footer */
  width: auto !important;
  object-fit: contain;
  margin-bottom: 0.5rem;
}

/* Mobile Header Logo Adjustment */
@media only screen and (max-width: 768px) {
  .nav-logo {
    height: 48px !important; /* Safely scales down so it doesn't crowd the hamburger menu */
  }
}
