/* ==========================================================================
   NLP Cloud — Modern design system (2026 refresh)
   Loaded AFTER bulma-v0.9.1.min.css and after per-page inline styles.
   It re-skins Bulma components and rethemes legacy inline-styled sections
   via [style*=...] attribute selectors, so every page (including old blog
   posts in all languages) picks up the new look without markup changes.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Fonts — Inter variable, self-hosted (GDPR friendly)
   -------------------------------------------------------------------------- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/inter-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/inter-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/inter-greek-ext.woff2') format('woff2');
  unicode-range: U+1F00-1FFF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/inter-greek.woff2') format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/inter-vietnamese.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --------------------------------------------------------------------------
   2. Design tokens
   -------------------------------------------------------------------------- */
:root {
  --nc-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';
  --nc-mono: ui-monospace, 'SF Mono', SFMono-Regular, 'JetBrains Mono', Menlo, Consolas, monospace;

  /* Brand — refined take on the historic #00d1b2 teal */
  --nc-brand-300: #5eead4;
  --nc-brand-400: #2dd4bf;
  --nc-brand-500: #14b8a6;
  --nc-brand-600: #0d9488;
  --nc-brand-700: #0f766e;
  --nc-sky-400: #38bdf8;
  --nc-sky-500: #0ea5e9;
  --nc-cyan-600: #0891b2;
  --nc-grad: linear-gradient(135deg, #0d9488 0%, #0891b2 100%);
  --nc-grad-bright: linear-gradient(120deg, #2dd4bf 0%, #38bdf8 100%);

  /* Neutrals */
  --nc-ink: #0b1526;
  --nc-text: #3f4d63;
  --nc-muted: #64748b;
  --nc-faint: #94a3b8;
  --nc-border: #e4eaf2;
  --nc-border-strong: #d3dde8;
  --nc-bg-soft: #f6f9fc;
  --nc-bg-softer: #fbfcfe;

  /* Dark surfaces */
  --nc-dark: #0a1122;
  --nc-dark-2: #0e1830;
  --nc-dark-border: rgba(148, 163, 184, 0.16);
  --nc-dark-text: #aab7cc;

  /* Status */
  --nc-green: #10b981;
  --nc-green-soft: #ecfdf5;
  --nc-amber: #f59e0b;
  --nc-amber-soft: #fffbeb;
  --nc-rose: #f43f5e;
  --nc-rose-soft: #fff1f2;

  /* Shape & depth */
  --nc-r-sm: 8px;
  --nc-r: 12px;
  --nc-r-lg: 16px;
  --nc-r-xl: 22px;
  --nc-shadow-sm: 0 1px 2px rgba(11, 21, 38, 0.05), 0 4px 12px -6px rgba(11, 21, 38, 0.06);
  --nc-shadow: 0 1px 2px rgba(11, 21, 38, 0.05), 0 10px 28px -12px rgba(11, 21, 38, 0.14);
  --nc-shadow-lg: 0 2px 4px rgba(11, 21, 38, 0.05), 0 24px 48px -20px rgba(11, 21, 38, 0.22);
  --nc-glow-hero:
    radial-gradient(56rem 30rem at 82% -12%, rgba(20, 184, 166, 0.16), transparent 62%),
    radial-gradient(44rem 26rem at -8% 108%, rgba(56, 189, 248, 0.12), transparent 60%);
}

/* --------------------------------------------------------------------------
   3. Base
   -------------------------------------------------------------------------- */
html {
  scroll-behavior: smooth;
  background-color: #fff;
}

body {
  font-family: var(--nc-font) !important; /* beats per-page inline `body { font-family: helvetica }` */
  color: var(--nc-text);
  font-size: 1em;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.is-family-primary {
  font-family: var(--nc-font) !important;
}

::selection {
  background: rgba(45, 212, 191, 0.28);
  color: var(--nc-ink);
}

:focus-visible {
  outline: 2px solid var(--nc-brand-500);
  outline-offset: 2px;
  border-radius: 4px;
}

[id] {
  scroll-margin-top: 96px;
}

a {
  color: var(--nc-brand-600);
  transition: color 0.15s ease;
}

a:hover {
  color: var(--nc-brand-700);
}

strong, b {
  color: inherit;
  font-weight: 650;
}

hr {
  background-color: var(--nc-border);
  height: 1px;
}

img {
  border-radius: var(--nc-r);
}

/* Text helpers remapped to the new palette (Bulma uses !important on these) */
.has-text-link { color: var(--nc-brand-600) !important; }
a.has-text-link:hover { color: var(--nc-brand-700) !important; }
.has-text-primary, a.has-text-primary { color: var(--nc-brand-400) !important; }
a.has-text-primary:hover { color: var(--nc-brand-300) !important; }
.has-text-primary-light { color: #d5fdf6 !important; }
.has-text-info { color: var(--nc-sky-500) !important; }

/* --------------------------------------------------------------------------
   4. Typography — titles
   -------------------------------------------------------------------------- */
.title {
  color: var(--nc-ink);
  font-weight: 750;
  letter-spacing: -0.022em;
  line-height: 1.15;
}

.title.is-1 { font-size: clamp(2.5rem, 4.6vw, 3.5rem); letter-spacing: -0.03em; }
.title.is-2 { font-size: clamp(2rem, 3.4vw, 2.75rem); letter-spacing: -0.026em; }
.title.is-3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }

.subtitle {
  color: var(--nc-muted);
  line-height: 1.6;
}

.title .nc-gradient-text,
.nc-gradient-text {
  background: linear-gradient(115deg, var(--nc-brand-600) 10%, var(--nc-cyan-600) 55%, var(--nc-sky-500) 95%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.nc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--nc-brand-600);
  background: rgba(20, 184, 166, 0.09);
  border: 1px solid rgba(20, 184, 166, 0.22);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  margin-bottom: 1.25rem;
}

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.button {
  border-radius: 10px !important; /* beats per-page inline `border-radius: 3px` */
  font-weight: 600;
  height: 2.7em;
  padding-left: 1.15em;
  padding-right: 1.15em;
  border: 1px solid var(--nc-border-strong);
  color: var(--nc-ink);
  transition: transform 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease, border-color 0.16s ease, filter 0.16s ease;
}

.button:hover {
  border-color: #b9c7d6;
  color: var(--nc-ink);
}

.button:active {
  transform: translateY(0.5px);
}

.button.is-link,
.button.is-primary {
  background: var(--nc-grad);
  border: none;
  color: #fff;
  box-shadow: 0 1px 2px rgba(13, 148, 136, 0.35), 0 8px 18px -8px rgba(8, 145, 178, 0.55);
}

.button.is-link:hover,
.button.is-primary:hover {
  background: var(--nc-grad);
  color: #fff;
  filter: brightness(1.06) saturate(1.05);
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(13, 148, 136, 0.35), 0 12px 24px -8px rgba(8, 145, 178, 0.6);
}

.button.is-light {
  background: #fff;
  border: 1px solid var(--nc-border-strong);
  color: var(--nc-ink);
}

.button.is-light:hover {
  background: var(--nc-bg-softer);
  border-color: #b9c7d6;
  color: var(--nc-ink);
}

.button.is-dark {
  background: var(--nc-ink);
  border: none;
  color: #fff;
}

.button.is-dark:hover {
  background: #16233c;
  color: #fff;
  transform: translateY(-1px);
}

.button.is-info {
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.35);
  color: #0369a1;
}

.button.is-info:hover {
  background: rgba(14, 165, 233, 0.16);
  color: #0369a1;
}

/* --------------------------------------------------------------------------
   6. Cards / boxes
   -------------------------------------------------------------------------- */
.box {
  border-radius: var(--nc-r-lg) !important;
  border: 1px solid var(--nc-border);
  box-shadow: var(--nc-shadow-sm) !important;
  padding: 1.75rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.box.has-background-light {
  background-color: #fff !important;
}

.card {
  border-radius: var(--nc-r-lg);
  border: 1px solid var(--nc-border);
  box-shadow: var(--nc-shadow-sm);
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   7. Navbar
   -------------------------------------------------------------------------- */
.navbar.nc-navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid var(--nc-border);
  min-height: 4.25rem;
}

.nc-navbar .navbar-item,
.nc-navbar .navbar-link {
  font-weight: 550;
  color: #33415a;
}

.nc-navbar .navbar-item img {
  max-height: 2.1rem;
  border-radius: 0;
}

.nc-navbar .navbar-brand > .navbar-item {
  font-size: 1.08rem;
}

.nc-navbar a.navbar-item:hover,
.nc-navbar .navbar-link:hover,
.nc-navbar .navbar-item.has-dropdown:hover .navbar-link,
.nc-navbar .navbar-item.has-dropdown.is-active .navbar-link {
  background-color: transparent;
  color: var(--nc-brand-600);
}

.nc-navbar .navbar-link:not(.is-arrowless)::after {
  border-color: currentColor;
  border-width: 2px;
  height: 0.5em;
  width: 0.5em;
  margin-top: -0.45em;
  opacity: 0.55;
}

.navbar-dropdown {
  border: 1px solid var(--nc-border);
  border-radius: 14px;
  box-shadow: var(--nc-shadow-lg);
  padding: 0.5rem;
  margin-top: 0.4rem;
  max-height: 85vh;
  overflow-y: auto;
}

.navbar-dropdown .navbar-item {
  border-radius: 8px;
  padding: 0.5rem 0.85rem;
  color: #33415a;
}

.navbar-dropdown a.navbar-item:hover {
  background-color: var(--nc-bg-soft);
  color: var(--nc-brand-700);
}

@media screen and (min-width: 1024px) {
  .navbar-item.has-dropdown.is-active .navbar-dropdown {
    animation: nc-pop 0.16s ease both;
    transform-origin: top;
  }
}

@keyframes nc-pop {
  from { opacity: 0; transform: translateY(-5px) scale(0.99); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.navbar-burger {
  color: var(--nc-ink);
  height: 4.25rem;
  width: 4.25rem;
}

.navbar-burger span {
  height: 2px;
  width: 18px;
  border-radius: 2px;
}

.navbar-menu.is-active {
  border-radius: 0 0 var(--nc-r-lg) var(--nc-r-lg);
  box-shadow: var(--nc-shadow-lg);
  border: 1px solid var(--nc-border);
  border-top: none;
}

/* Language selector dropdown */
.dropdown-menu .dropdown-content {
  border: 1px solid var(--nc-border);
  border-radius: 14px;
  box-shadow: var(--nc-shadow-lg);
  padding: 0.5rem;
  max-height: 70vh;
  overflow-y: auto;
}

.dropdown-item {
  border-radius: 8px;
  color: #33415a;
}

a.dropdown-item:hover {
  background-color: var(--nc-bg-soft);
  color: var(--nc-brand-700);
}

a.dropdown-item.is-active {
  background: rgba(20, 184, 166, 0.12);
  color: var(--nc-brand-700);
}

/* Top announcement bar (rendered by nav.html) */
.nc-topbar {
  background: var(--nc-dark);
  color: #c8d3e6;
  font-size: 0.88rem;
  padding: 0.55rem 1.25rem;
  text-align: center;
}

.nc-topbar a {
  color: var(--nc-brand-300);
  font-weight: 650;
}

.nc-topbar a:hover {
  color: #8ff5e4;
}

.nc-topbar .nc-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 92rem;
  margin: 0 auto;
}

.nc-topbar svg {
  width: 17px;
  height: 17px;
  flex: none;
  color: var(--nc-brand-400);
}

/* --------------------------------------------------------------------------
   8. Hero sections
   -------------------------------------------------------------------------- */
.hero-body {
  padding: 4.5rem 1.5rem;
}

.hero.is-medium .hero-body {
  padding-top: 7rem;
  padding-bottom: 7rem;
}

/* Home hero */
.nc-hero {
  position: relative;
  background:
    var(--nc-glow-hero),
    linear-gradient(180deg, #fdfefe 0%, #f6fafc 100%);
  overflow: hidden;
}

.nc-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(11, 21, 38, 0.10) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(46rem 30rem at 72% 18%, rgba(0, 0, 0, 0.5), transparent 70%);
  mask-image: radial-gradient(46rem 30rem at 72% 18%, rgba(0, 0, 0, 0.5), transparent 70%);
  pointer-events: none;
}

.nc-hero .hero-body {
  position: relative;
}

/* Dark panels (new markup) */
.nc-dark {
  background:
    radial-gradient(52rem 30rem at 88% -14%, rgba(20, 184, 166, 0.17), transparent 62%),
    radial-gradient(44rem 26rem at -8% 112%, rgba(56, 189, 248, 0.11), transparent 62%),
    var(--nc-dark);
  color: var(--nc-dark-text);
}

.nc-dark .title,
.nc-dark .subtitle,
.nc-dark strong {
  color: #f2f6fc;
}

.nc-dark a:not(.button) {
  color: var(--nc-brand-300);
}

.nc-dark a:not(.button):hover {
  color: #96f4e5;
}

/* Bulma dark hero remap */
.hero.is-dark {
  background:
    radial-gradient(52rem 30rem at 88% -14%, rgba(20, 184, 166, 0.17), transparent 62%),
    radial-gradient(44rem 26rem at -8% 112%, rgba(56, 189, 248, 0.11), transparent 62%),
    var(--nc-dark);
  color: var(--nc-dark-text);
}

.hero.is-dark .title { color: #f2f6fc; }
.hero.is-dark .subtitle { color: var(--nc-dark-text); }

/* --------------------------------------------------------------------------
   9. Legacy retheme — overrides for inline-styled sections on old pages
   -------------------------------------------------------------------------- */
/* Old dark navy panels (`background-color: #232F3E`) */
section[style*="232F3E"],
.hero[style*="232F3E"] {
  background:
    radial-gradient(52rem 30rem at 88% -14%, rgba(20, 184, 166, 0.17), transparent 62%),
    radial-gradient(44rem 26rem at -8% 112%, rgba(56, 189, 248, 0.11), transparent 62%),
    var(--nc-dark) !important;
}

section[style*="232F3E"] .has-text-white,
.hero[style*="232F3E"] .has-text-white {
  color: #dbe4f2 !important;
}

section[style*="232F3E"] .title.has-text-white,
.hero[style*="232F3E"] .title.has-text-white,
section[style*="232F3E"] .subtitle.has-text-white,
.hero[style*="232F3E"] .subtitle.has-text-white {
  color: #f2f6fc !important;
}

/* Old photo/dark-image heroes */
.hero[style*="dark-background"],
.hero[style*="team.png"],
.hero[style*="classroom-dark"] {
  background:
    radial-gradient(46rem 26rem at 80% -20%, rgba(20, 184, 166, 0.22), transparent 60%),
    radial-gradient(40rem 24rem at 6% 120%, rgba(56, 189, 248, 0.14), transparent 60%),
    var(--nc-dark) !important;
}

/* Old light hero image (home) on any page still using it */
.hero[style*="main-bg"] {
  background:
    var(--nc-glow-hero),
    linear-gradient(180deg, #fdfefe 0%, #f4f9fb 100%) !important;
}

/* Old inline-styled terminal block (`pre` with navy background) */
pre[style*="232F3E"],
div[style*="232F3E"] {
  background: var(--nc-dark-2) !important;
}

pre[style*="232F3E"] {
  border-radius: var(--nc-r-lg) !important;
  border: 1px solid var(--nc-dark-border);
}

/* Old soft-gray sections — align with token */
section[style*="f6f9fc"],
.hero[style*="f6f9fc"] {
  background-color: var(--nc-bg-soft) !important;
}

/* --------------------------------------------------------------------------
   10. Code
   -------------------------------------------------------------------------- */
pre {
  background: var(--nc-dark-2);
  color: #d9e4f4;
  border-radius: var(--nc-r-lg);
  border: 1px solid var(--nc-dark-border);
  font-family: var(--nc-mono);
  font-size: 0.9rem;
  line-height: 1.6;
}

pre[class*="language-"] {
  background: var(--nc-dark-2);
  border-radius: var(--nc-r-lg);
  border: 1px solid var(--nc-dark-border);
  padding: 1.25rem 1.5rem;
}

code {
  font-family: var(--nc-mono);
  background: #eef3f9;
  color: var(--nc-brand-700);
  border-radius: 6px;
  padding: 0.15em 0.4em;
  font-size: 0.9em;
}

pre code {
  background: transparent;
  color: inherit;
  padding: 0;
  font-size: 1em;
}

.typed-cursor {
  color: var(--nc-brand-300);
}

/* --------------------------------------------------------------------------
   11. Tables
   -------------------------------------------------------------------------- */
.table {
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--nc-border);
  border-radius: var(--nc-r);
  overflow: hidden;
  color: var(--nc-text);
  background-color: #fff;
}

.table thead th {
  background: var(--nc-bg-soft);
  color: var(--nc-ink);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-color: var(--nc-border);
  padding: 0.85em 1em;
}

.table td,
.table th {
  border-color: var(--nc-border);
  vertical-align: middle;
  padding: 0.7em 1em;
}

.table.is-bordered td,
.table.is-bordered th {
  border-color: var(--nc-border);
}

.table.is-hoverable tbody tr:not(.is-selected):hover {
  background-color: var(--nc-bg-softer);
}

.table td.has-background-success-light {
  background-color: var(--nc-green-soft) !important;
  color: #047857;
  font-weight: 600;
  text-align: center;
}

.table td.has-background-danger-light {
  background-color: #fafbfd !important;
  text-align: center;
}

.table td.has-background-danger-light:empty::after {
  content: "—";
  color: #c2ccda;
}

.table td.has-background-warning-light {
  background-color: var(--nc-amber-soft) !important;
  color: #b45309;
  font-weight: 600;
  text-align: center;
}

.table-container {
  border-radius: var(--nc-r);
}

/* --------------------------------------------------------------------------
   12. Notifications, tags, blockquotes, forms
   -------------------------------------------------------------------------- */
.notification {
  border-radius: var(--nc-r) !important;
  border: 1px solid var(--nc-border);
  background-color: var(--nc-bg-soft);
  color: var(--nc-text);
}

.notification.is-info {
  background-color: #f0f9ff;
  border-color: #bae6fd;
  color: #075985;
}

.notification.is-info a {
  color: var(--nc-brand-600) !important;
  font-weight: 650;
}

.notification.is-warning {
  background-color: var(--nc-amber-soft);
  border-color: #fde68a;
  color: #92400e;
}

.notification.is-success {
  background-color: var(--nc-green-soft);
  border-color: #a7f3d0;
  color: #065f46;
}

.notification.is-danger {
  background-color: var(--nc-rose-soft);
  border-color: #fecdd3;
  color: #9f1239;
}

.tag {
  border-radius: 999px;
  font-weight: 600;
}

blockquote,
.content blockquote {
  background: var(--nc-bg-soft);
  border-left: 3px solid var(--nc-brand-500);
  border-radius: 0 var(--nc-r) var(--nc-r) 0;
  padding: 1.1em 1.4em;
  color: var(--nc-text);
}

.nc-dark blockquote,
section[style*="232F3E"] blockquote,
.hero[style*="232F3E"] blockquote,
.hero.is-dark blockquote {
  background: rgba(148, 163, 184, 0.09);
  border-left-color: var(--nc-brand-400);
  color: #dbe4f2;
}

.input,
.textarea,
.select select {
  border-radius: 10px;
  border-color: var(--nc-border-strong);
  box-shadow: none;
  color: var(--nc-ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.input::placeholder,
.textarea::placeholder {
  color: var(--nc-faint);
}

.input:focus,
.textarea:focus,
.select select:focus,
.input:active,
.textarea:active {
  border-color: var(--nc-brand-500);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.16);
}

.label {
  color: var(--nc-ink);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   13. Footer
   -------------------------------------------------------------------------- */
.footer.nc-footer {
  background:
    radial-gradient(44rem 22rem at 92% -30%, rgba(20, 184, 166, 0.12), transparent 60%),
    var(--nc-dark);
  color: var(--nc-dark-text);
  padding: 4.5rem 1.5rem 3rem;
}

.nc-footer .nc-footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #f2f6fc;
  font-weight: 750;
  font-size: 1.15rem;
  margin-bottom: 1rem;
}

.nc-footer .nc-footer-brand img {
  width: 30px;
  height: 30px;
  border-radius: 0;
}

.nc-footer-tagline {
  font-size: 0.92rem;
  color: #8494ad;
  max-width: 30ch;
}

.nc-footer h4 {
  color: #f2f6fc;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 1.1rem;
}

.nc-footer-link {
  display: block;
  color: var(--nc-dark-text);
  padding: 0.3rem 0;
  font-size: 0.95rem;
}

.nc-footer-link:hover {
  color: var(--nc-brand-300);
}

.nc-footer-meta {
  border-top: 1px solid var(--nc-dark-border);
  margin-top: 3rem;
  padding-top: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
}

.nc-footer-social {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.nc-footer-social img {
  width: 20px;
  height: 20px;
  border-radius: 0;
  filter: invert(72%) sepia(12%) saturate(500%) hue-rotate(182deg) brightness(95%);
  transition: filter 0.15s ease, transform 0.15s ease;
}

.nc-footer-social a:hover img {
  filter: invert(100%);
  transform: translateY(-1px);
}

.nc-status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #86efac;
  font-weight: 550;
}

.nc-status-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--nc-green);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.55);
  animation: nc-pulse 2.4s ease-out infinite;
}

@keyframes nc-pulse {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* --------------------------------------------------------------------------
   14. New components
   -------------------------------------------------------------------------- */
/* Feature card */
.nc-card {
  background: #fff;
  border: 1px solid var(--nc-border);
  border-radius: var(--nc-r-lg);
  box-shadow: var(--nc-shadow-sm);
  padding: 1.75rem;
  height: 100%;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.nc-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--nc-shadow);
  border-color: rgba(20, 184, 166, 0.35);
}

.nc-card h3.title {
  margin-bottom: 0.6rem !important;
}

.nc-card p {
  color: var(--nc-muted);
  font-size: 0.97rem;
}

/* Icon chip */
.nc-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.14), rgba(56, 189, 248, 0.14));
  border: 1px solid rgba(20, 184, 166, 0.25);
  color: var(--nc-brand-600);
  margin-bottom: 1.1rem;
}

.nc-chip svg {
  width: 23px;
  height: 23px;
}

/* Dark-context cards (used on dark panels) */
.nc-card-dark {
  background: rgba(148, 163, 184, 0.07);
  border: 1px solid var(--nc-dark-border);
  border-radius: var(--nc-r-lg);
  padding: 1.75rem;
  height: 100%;
}

/* Terminal window */
.nc-terminal {
  background: var(--nc-dark-2);
  border: 1px solid var(--nc-dark-border);
  border-radius: var(--nc-r-lg);
  box-shadow: var(--nc-shadow-lg);
  overflow: hidden;
}

.nc-terminal-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0.8rem 1.1rem;
  background: rgba(148, 163, 184, 0.07);
  border-bottom: 1px solid var(--nc-dark-border);
}

.nc-terminal-bar i {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  display: block;
}

.nc-terminal-bar i:nth-child(1) { background: #ff5f57; }
.nc-terminal-bar i:nth-child(2) { background: #febc2e; }
.nc-terminal-bar i:nth-child(3) { background: #28c840; }

.nc-terminal-bar span {
  margin-left: auto;
  font-family: var(--nc-mono);
  font-size: 0.72rem;
  color: #64748b;
}

.nc-terminal-body {
  padding: 1.25rem 1.4rem;
  height: 560px;
  overflow: hidden;
  font-family: var(--nc-mono);
  font-size: 0.85rem;
  line-height: 1.65;
  color: #d9e4f4;
  white-space: pre-wrap;
  word-break: break-word;
}

.nc-terminal-body .nc-prompt {
  color: #34d399;
}

/* Customer logo strip */
.nc-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2.75rem 3.5rem;
}

.nc-logos img {
  border-radius: 0;
  filter: grayscale(1) opacity(0.55);
  transition: filter 0.2s ease;
  max-height: 44px;
  width: auto;
}

.nc-logos img:hover {
  filter: grayscale(0) opacity(1);
}

/* Testimonial */
.nc-quote {
  position: relative;
  background: #fff;
  border: 1px solid var(--nc-border);
  border-radius: var(--nc-r-lg);
  box-shadow: var(--nc-shadow-sm);
  padding: 1.9rem 1.9rem 1.6rem;
}

.nc-quote::before {
  content: "\201C";
  position: absolute;
  top: 0.2rem;
  left: 1.4rem;
  font-size: 3.6rem;
  line-height: 1;
  font-family: Georgia, serif;
  color: rgba(20, 184, 166, 0.35);
}

.nc-quote p {
  color: var(--nc-text);
}

.nc-quote em, .nc-quote i {
  font-style: normal;
}

.nc-quote .nc-quote-author {
  margin-top: 1rem;
  color: var(--nc-ink);
  font-weight: 650;
  font-size: 0.92rem;
}

/* FAQ */
.nc-faq-item {
  border: 1px solid var(--nc-dark-border);
  background: rgba(148, 163, 184, 0.06);
  border-radius: var(--nc-r);
  padding: 1.4rem 1.6rem;
  margin-top: 1rem;
}

.nc-faq-item h3 {
  color: #f2f6fc !important;
  font-size: 1.02rem !important;
  font-weight: 650;
  margin: 0 !important;
}

.nc-faq-item > div > div {
  margin-top: 0.6rem !important;
  color: var(--nc-dark-text);
}

/* Pricing */
.nc-plan {
  background: #fff;
  border: 1px solid var(--nc-border);
  border-radius: var(--nc-r-xl);
  box-shadow: var(--nc-shadow-sm);
  padding: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.nc-plan--featured {
  border: 2px solid var(--nc-brand-500);
  box-shadow: 0 2px 4px rgba(13, 148, 136, 0.08), 0 24px 48px -20px rgba(13, 148, 136, 0.3);
  position: relative;
}

.nc-plan-name {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--nc-brand-600);
  margin-bottom: 0.75rem;
}

.nc-plan-price {
  color: var(--nc-ink);
  font-size: 2rem;
  font-weight: 780;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.nc-plan-price small {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--nc-muted);
  letter-spacing: 0;
}

.nc-check-list {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.nc-check-list li {
  position: relative;
  padding-left: 1.85rem;
  margin-bottom: 0.65rem;
  font-size: 0.96rem;
}

.nc-check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18em;
  width: 1.15em;
  height: 1.15em;
  border-radius: 999px;
  background: rgba(20, 184, 166, 0.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d9488' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center / 60% no-repeat;
}

/* Section helpers */
.nc-section-head {
  max-width: 46rem;
  margin-bottom: 3rem;
}

.nc-section-head.is-centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Reveal animation (hero only, subtle) */
.nc-rise {
  animation: nc-rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.nc-rise.nc-delay-1 { animation-delay: 0.08s; }
.nc-rise.nc-delay-2 { animation-delay: 0.16s; }
.nc-rise.nc-delay-3 { animation-delay: 0.24s; }

@keyframes nc-rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .nc-rise { animation: none; }
  .nc-status-dot { animation: none; }
  .nc-card, .nc-card:hover, .button, .button:hover { transform: none; transition: none; }
}

/* --------------------------------------------------------------------------
   15. Small screens
   -------------------------------------------------------------------------- */
@media screen and (max-width: 768px) {
  body {
    overflow-x: hidden;
  }

  .hero-body {
    padding: 3rem 1.25rem;
  }

  .hero.is-medium .hero-body {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }

  .nc-terminal-body {
    height: 420px;
    font-size: 0.78rem;
  }

  .nc-logos {
    gap: 1.75rem 2.25rem;
  }

  .nc-logos img {
    max-height: 32px;
  }
}
