/*
 * _shared.css — DataCloud OS navContent design system
 * Imported by all navContent/*.html pages.
 *
 * Mirrors the EquityMint navContent structure (same class names, same JS
 * selectors) but uses a sober Business-Operations-Cloud palette — navy /
 * steel-blue / teal — instead of the indigo/purple/magenta gradient of
 * the EquityMint brand. Class names are kept identical so the same
 * page-level templates work on either domain.
 *
 *  EquityMint -> indigo / purple / magenta (RWA, crypto, finance)
 *  DataCloud OS -> navy / steel / teal      (enterprise operations cloud)
 */

:root {
  --nc-bg:        #07101f;
  --nc-bg-2:      #0b1a3d;
  --nc-panel:     rgba(11, 26, 61, 0.78);
  --nc-panel-strong: rgba(15, 35, 78, 0.94);
  --nc-text:      #e7eefc;
  --nc-text-dim:  #aebcd8;
  --nc-text-charcoal: #cbd5e1;
  --nc-accent:    #4a7bff;          /* steel blue */
  --nc-accent-2:  #36c5b8;          /* teal */
  --nc-border:    rgba(110, 150, 230, 0.28);
  --nc-shadow:    0 18px 45px rgba(3, 8, 22, 0.45);
  --nc-font-sans: 'Inter', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

:where(.nc-page),
:where(.nc-page) *,
:where(.nc-page) *::before,
:where(.nc-page) *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.nc-page {
  position: relative;
  isolation: isolate;
  min-height: 60vh;
  padding: 0 0 92px;
  font-family: var(--nc-font-sans);
  font-feature-settings: 'cv11', 'ss01', 'ss03';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.62;
  color: var(--nc-text);
  background:
    radial-gradient(900px 380px at 12% 0%, rgba(74, 123, 255, 0.17), transparent 68%),
    radial-gradient(820px 330px at 100% 18%, rgba(54, 197, 184, 0.12), transparent 70%),
    linear-gradient(180deg, #050b1a 0%, #07142b 42%, #061121 100%);
}

.nc-page::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.05) 1px, transparent 0);
  background-size: 22px 22px;
  opacity: 0.18;
  pointer-events: none;
  z-index: -1;
}

.nc-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 8vw, 112px) 24px clamp(52px, 6vw, 84px);
  text-align: center;
  background:
    radial-gradient(700px 300px at 10% 0%, rgba(255, 255, 255, 0.2), transparent 70%),
    linear-gradient(135deg, #0b1a3d 0%, #1f3a8a 45%, #14b1a8 100%);
  background-size: 180% 180%;
  animation: ncGradientShift 16s ease infinite;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 -24px 45px rgba(4, 10, 24, 0.32);
}

.nc-hero::after {
  content: "";
  position: absolute;
  inset: auto -20% -45% -20%;
  height: 70%;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.18), transparent 62%);
  pointer-events: none;
}

@keyframes ncGradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.nc-hero h1 {
  font-size: clamp(2.1rem, 5.2vw, 4rem);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.035em;
  margin-bottom: 16px;
  text-shadow: 0 8px 28px rgba(4, 12, 30, 0.36);
}

.nc-hero .nc-overline {
  display: inline-block;
  margin-bottom: 15px;
  padding: 7px 14px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: rgba(245, 248, 255, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  background: rgba(8, 18, 40, 0.22);
  backdrop-filter: blur(6px);
}

.nc-hero .nc-tagline {
  max-width: 880px;
  margin: 0 auto 26px;
  font-size: clamp(1.05rem, 2.2vw, 1.4rem);
  line-height: 1.52;
  letter-spacing: -0.005em;
  color: rgba(240, 245, 255, 0.96);
  font-weight: 400;
}

.nc-section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 62px 26px 0;
}

.nc-section-title {
  font-size: clamp(1.55rem, 3.2vw, 2.6rem);
  line-height: 1.12;
  letter-spacing: -0.028em;
  color: #f0f5ff;
  margin-bottom: 10px;
  font-weight: 700;
}

.nc-section-subtitle {
  max-width: 820px;
  margin-bottom: 34px;
  color: var(--nc-text-dim);
  font-size: 1.04rem;
  line-height: 1.7;
  font-weight: 400;
  letter-spacing: -0.005em;
}

.nc-stats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 36px;
}

.nc-stat {
  min-width: 160px;
  padding: 14px 20px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(6, 14, 32, 0.26);
  backdrop-filter: blur(7px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.24);
  text-align: center;
}

.nc-stat-number {
  display: block;
  font-size: clamp(2rem, 3vw, 2.5rem);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.28);
}

.nc-stat-label {
  margin-top: 7px;
  display: block;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(232, 240, 255, 0.84);
}

.nc-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  margin-top: 22px;
}

.nc-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  padding: 24px 22px;
  border: 1px solid var(--nc-border);
  background: linear-gradient(165deg, rgba(18, 38, 80, 0.9), rgba(8, 18, 42, 0.96));
  box-shadow: var(--nc-shadow);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.nc-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px 150px at -2% -8%, rgba(255, 255, 255, 0.18), transparent 62%);
  opacity: 0.7;
  pointer-events: none;
}

.nc-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 52px rgba(2, 6, 18, 0.55);
  border-color: rgba(130, 175, 255, 0.5);
}

.nc-card h3 {
  position: relative;
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 10px;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.nc-card p {
  position: relative;
  color: #c2cee6;
  font-size: 0.95rem;
  line-height: 1.66;
  font-weight: 400;
}

.nc-card .nc-card-icon {
  position: relative;
  display: inline-block;
  margin-bottom: 12px;
  font-size: 1.85rem;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.25));
}

.nc-card--gold   { border-color: rgba(255, 213, 87, 0.5); }
.nc-card--green  { border-color: rgba(70, 200, 152, 0.5); }
.nc-card--cyan   { border-color: rgba(54, 197, 184, 0.55); }
.nc-card--red    { border-color: rgba(255, 120, 132, 0.52); }
.nc-card--purple { border-color: rgba(160, 130, 230, 0.5); }
.nc-card--blue   { border-color: rgba(74, 123, 255, 0.6); }

.nc-flow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
  margin-top: 26px;
  counter-reset: step;
}

.nc-flow-step {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(110, 150, 230, 0.35);
  background: linear-gradient(165deg, rgba(15, 30, 64, 0.92), rgba(8, 17, 40, 0.95));
  padding: 22px 18px;
  text-align: center;
}

.nc-flow-step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  margin-bottom: 12px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 800;
  background: linear-gradient(135deg, #4a7bff, #36c5b8);
  box-shadow: 0 6px 15px rgba(74, 123, 255, 0.35);
}

.nc-flow-step h4 {
  color: #eaf0ff;
  font-size: 0.96rem;
  margin-bottom: 8px;
  font-weight: 700;
}

.nc-flow-step p {
  color: #a8b4d0;
  font-size: 0.87rem;
  line-height: 1.56;
}

.nc-callout {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(110, 150, 230, 0.42);
  background: linear-gradient(145deg, rgba(18, 36, 80, 0.88), rgba(8, 18, 40, 0.94));
  padding: clamp(24px, 4vw, 34px) clamp(20px, 3.2vw, 34px);
  margin: 30px 0;
  box-shadow: var(--nc-shadow);
  text-align: center;
}

.nc-callout::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(620px 150px at 50% 0%, rgba(255, 255, 255, 0.16), transparent 62%);
  opacity: 0.78;
  pointer-events: none;
}

.nc-callout h3 {
  position: relative;
  margin-bottom: 10px;
  color: #ffe899;
  font-size: clamp(1.12rem, 2.3vw, 1.45rem);
  font-weight: 600;
  letter-spacing: -0.015em;
}

.nc-callout p {
  position: relative;
  color: #dce5fb;
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 400;
}

.nc-callout--gold {
  border-color: rgba(255, 213, 87, 0.54);
  background: linear-gradient(145deg, rgba(54, 42, 14, 0.7), rgba(16, 28, 60, 0.92));
}

.nc-callout--green {
  border-color: rgba(70, 200, 152, 0.55);
  background: linear-gradient(145deg, rgba(8, 50, 42, 0.72), rgba(12, 26, 58, 0.92));
}

.nc-callout--blue {
  border-color: rgba(74, 123, 255, 0.55);
  background: linear-gradient(145deg, rgba(14, 32, 78, 0.72), rgba(8, 18, 40, 0.92));
}

.nc-callout--red {
  border-color: rgba(255, 120, 132, 0.58);
  background: linear-gradient(145deg, rgba(58, 16, 24, 0.75), rgba(16, 24, 52, 0.94));
}

.nc-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 32px rgba(2, 6, 20, 0.4);
}

.nc-table th {
  padding: 13px 16px;
  text-align: left;
  color: #f8faff;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  background: linear-gradient(135deg, rgba(74, 123, 255, 0.7), rgba(54, 197, 184, 0.6));
}

.nc-table td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(11, 22, 48, 0.82);
  color: #c8d2eb;
  font-size: 0.92rem;
}

.nc-table tr:hover td {
  background: rgba(22, 40, 84, 0.86);
}

.nc-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.1;
}

.nc-badge--blue  { border: 1px solid rgba(74, 123, 255, 0.55); color: #c0d2ff; background: rgba(74, 123, 255, 0.22); }
.nc-badge--gold  { border: 1px solid rgba(255, 213, 87, 0.52); color: #ffe082; background: rgba(255, 213, 87, 0.18); }
.nc-badge--green { border: 1px solid rgba(70, 200, 152, 0.52); color: #a4eecb; background: rgba(70, 200, 152, 0.18); }
.nc-badge--red   { border: 1px solid rgba(255, 120, 132, 0.56); color: #ffbec7; background: rgba(255, 120, 132, 0.18); }
.nc-badge--cyan  { border: 1px solid rgba(54, 197, 184, 0.6);  color: #aaf0e8; background: rgba(54, 197, 184, 0.2);  }
.nc-badge--new   { border: 1px solid rgba(54, 197, 184, 0.6);  color: #aaf0e8; background: rgba(54, 197, 184, 0.2);  }

.nc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 22px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.nc-btn--primary {
  color: #ffffff;
  background: linear-gradient(135deg, #4a7bff, #36c5b8);
  box-shadow: 0 10px 24px rgba(54, 110, 230, 0.42);
}

.nc-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(54, 110, 230, 0.54);
}

.nc-btn--outline {
  color: #d6deff;
  border-color: rgba(110, 150, 230, 0.62);
  background: rgba(15, 30, 64, 0.46);
}

.nc-btn--outline:hover {
  transform: translateY(-2px);
  background: rgba(28, 52, 110, 0.65);
  border-color: rgba(168, 196, 255, 0.82);
}

.nc-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.nc-code {
  margin-top: 18px;
  padding: 18px 18px;
  border-radius: 12px;
  border: 1px solid rgba(110, 150, 230, 0.35);
  background: linear-gradient(165deg, rgba(6, 12, 28, 0.96), rgba(4, 8, 20, 0.98));
  color: #d4dffb;
  font-family: "Fira Code", "Cascadia Code", "Consolas", "Courier New", monospace;
  font-size: 0.86rem;
  line-height: 1.67;
  overflow-x: auto;
  box-shadow: 0 10px 28px rgba(2, 4, 14, 0.5);
}

.nc-code .kw { color: #ff9aa7; }
.nc-code .fn { color: #94c5ff; }
.nc-code .cm { color: #8a98ba; font-style: italic; }
.nc-code .str { color: #8de3d6; }

.nc-subnav {
  position: sticky;
  top: 12px;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px;
  margin: 0 0 18px;
  border-radius: 12px;
  border: 1px solid rgba(110, 150, 230, 0.26);
  background: rgba(8, 18, 40, 0.6);
  backdrop-filter: blur(6px);
}

.nc-subnav-item {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(110, 150, 230, 0.36);
  color: #c4d0f0;
  background: rgba(24, 44, 92, 0.42);
  font-size: 0.83rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

.nc-subnav-item:hover,
.nc-subnav-item.active {
  color: #ffffff;
  border-color: rgba(170, 200, 255, 0.76);
  background: linear-gradient(135deg, rgba(74, 123, 255, 0.4), rgba(54, 197, 184, 0.32));
}

.nc-divider {
  border: none;
  border-top: 1px solid rgba(200, 215, 255, 0.16);
  margin: 42px 0;
}

@media (max-width: 768px) {
  .nc-page { padding-bottom: 74px; }
  .nc-hero { padding: 58px 16px 50px; }
  .nc-section { padding: 42px 16px 0; }
  .nc-stats { gap: 10px; }
  .nc-stat { min-width: 140px; padding: 12px 14px; }
  .nc-card-grid { gap: 14px; }
  .nc-flow { grid-template-columns: 1fr; }
  .nc-btn { width: 100%; }
  .nc-btn-group { gap: 10px; }
  .nc-subnav { top: 6px; padding: 8px; }
}
