/*
Theme Name: NIAODUN JinDun Style
Theme URI: https://www.niaodun.com/
Author: NIAODUN
Author URI: https://www.niaodun.com/
Description: A WordPress theme for NIAODUN, matching the dark enterprise security layout style of jindun.com while preserving WordPress posts, archives, pages, and menus.
Version: 1.2.53
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: niaodun
Tags: custom-logo, custom-menu, featured-images, blog, one-column, dark, wide-blocks
*/

:root {
  --nd-bg: #0a0c10;
  --nd-bg-2: #0d1118;
  --nd-panel: rgba(255, 255, 255, 0.035);
  --nd-panel-strong: rgba(255, 255, 255, 0.065);
  --nd-line: rgba(255, 255, 255, 0.075);
  --nd-line-strong: rgba(255, 255, 255, 0.14);
  --nd-text: #f4f7fb;
  --nd-muted: #a1a1aa;
  --nd-dim: #71717a;
  --nd-blue: #3b82f6;
  --nd-blue-2: #2563eb;
  --nd-sky: #7dd3fc;
  --nd-rose: #fb7185;
  --nd-emerald: #34d399;
  --nd-amber: #fbbf24;
  --nd-radius: 12px;
  --nd-max: 1280px;
  --nd-font: Geist, "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --nd-mono: "Geist Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--nd-bg);
  color: var(--nd-text);
  font-family: var(--nd-font);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}

body.admin-bar .nd-header {
  top: 32px;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

.nd-container {
  width: min(100% - 32px, 1280px);
  margin-inline: auto;
}

.nd-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.96), rgba(17, 24, 39, 0.95), rgba(0, 0, 0, 0.96));
  backdrop-filter: blur(18px);
}

.nd-header__inner {
  display: flex;
  min-height: 56px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nd-brand {
  display: inline-flex;
  min-width: 100px;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0;
}

.nd-brand__mark {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #fff;
}

.nd-brand__mark svg {
  width: 28px;
  height: 28px;
}

.nd-brand__text {
  font-size: 18px;
  line-height: 1;
}

.nd-nav {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(12px, 2vw, 28px);
}

.nd-nav__item {
  position: relative;
}

.nd-nav__link,
.nd-dropdown-toggle {
  display: inline-flex;
  height: 40px;
  align-items: center;
  gap: 7px;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 8px;
  background: transparent;
  padding: 0 10px;
  color: #a1a1aa;
  cursor: pointer;
  font: 500 15px/20px var(--nd-font);
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.nd-nav__link:hover,
.nd-dropdown-toggle:hover,
.nd-nav__item:hover .nd-dropdown-toggle {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.nd-nav__item:hover .nd-dropdown-toggle {
  border-bottom-color: var(--nd-blue);
  color: #bfdbfe;
}

.nd-icon {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
}

.nd-chevron {
  width: 14px;
  height: 14px;
  opacity: 0.75;
  transition: transform 160ms ease;
}

.nd-nav__item:hover .nd-chevron,
.nd-nav__item.is-open .nd-chevron {
  transform: rotate(180deg);
}

.nd-mega {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  display: grid;
  width: min(780px, calc(100vw - 32px));
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  background: rgba(10, 12, 16, 0.98);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
  padding: 12px;
  opacity: 0;
  transform: translateY(8px);
  visibility: hidden;
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.nd-nav__item:hover .nd-mega,
.nd-nav__item.is-open .nd-mega {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.nd-nav__item:nth-last-child(-n+2) .nd-mega {
  right: 0;
  left: auto;
}

.nd-mega a {
  display: flex;
  gap: 12px;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 12px;
  transition: background 160ms ease, border-color 160ms ease;
}

.nd-mega a:hover {
  border-color: rgba(96, 165, 250, 0.18);
  background: rgba(255, 255, 255, 0.04);
}

.nd-mega__icon {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(var(--nd-nav-rgb, 96, 165, 250), 0.32);
  border-radius: 9px;
  background: rgba(var(--nd-nav-rgb, 96, 165, 250), 0.1);
  color: rgb(var(--nd-nav-rgb, 96, 165, 250));
}

.nd-mega__icon .nd-nav-card-icon {
  width: 20px;
  height: 20px;
  margin: 0;
}

.nd-mega strong {
  display: block;
  color: #f8fafc;
  font-size: 14px;
  line-height: 1.25;
}

.nd-mega span {
  display: block;
  margin-top: 4px;
  color: #71717a;
  font-size: 12px;
  line-height: 1.45;
}

.nd-header__actions {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.nd-lang {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #a1a1aa;
  cursor: pointer;
}

.nd-lang svg {
  width: 22px;
  height: 22px;
}

.nd-lang:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.nd-login,
.nd-cta {
  display: inline-flex;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 14px;
  font-size: 14px;
  font-weight: 500;
  transition: background 160ms ease, color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.nd-login {
  color: #d4d4d8;
}

.nd-login:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.nd-cta,
.nd-button--primary {
  background: linear-gradient(135deg, #198cff, #0b72ff);
  color: #fff;
  box-shadow: 0 14px 34px rgba(37, 99, 235, 0.34);
}

.nd-cta:hover,
.nd-button--primary:hover {
  transform: translateY(-1px);
  background: linear-gradient(90deg, #60a5fa, #3b82f6);
}

.nd-menu-button {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #d4d4d8;
}

.nd-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 0;
  background: #030508;
}

.nd-hero::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 42px 42px;
  content: "";
  mask-image: linear-gradient(to bottom, #000, transparent 82%);
  pointer-events: none;
}

.nd-hero-slider {
  position: relative;
  min-height: 720px;
}

.nd-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 520ms ease;
}

.nd-hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.nd-hero__inner {
  position: relative;
  display: grid;
  min-height: 720px;
  align-items: center;
  grid-template-columns: minmax(0, 0.95fr) minmax(520px, 1.05fr);
  gap: clamp(32px, 5vw, 72px);
  padding: 92px 0 48px;
}

@media (min-width: 1100px) {
  .nd-hero .nd-container {
    width: min(100% - 120px, 1700px);
  }
}

.nd-pill,
.nd-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  padding: 8px 22px;
  color: #93c5fd;
  font-size: 16px;
  font-weight: 600;
}

.nd-pill::before,
.nd-eyebrow::before {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--nd-blue);
  box-shadow: 0 0 22px rgba(59, 130, 246, 0.9);
  content: "";
}

.nd-hero h1 {
  max-width: 640px;
  margin: 28px 0 0;
  color: #fff;
  font-size: clamp(40px, 4.45vw, 56px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.15;
}

.nd-hero h1 span {
  background: linear-gradient(90deg, #0ea5ff 0%, #2f7fff 48%, #9b72ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nd-hero p {
  max-width: 576px;
  margin: 24px 0 0;
  color: rgba(212, 212, 216, 0.85);
  font-size: 18px;
  line-height: 1.625;
}

.nd-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.nd-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9px;
  padding: 0 18px;
  color: #f4f4f5;
  font-size: 14px;
  font-weight: 750;
}

.nd-button--ghost {
  background: rgba(255, 255, 255, 0.035);
}

.nd-button--ghost:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.07);
}

.nd-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 610px;
  margin-top: 44px;
}

.nd-stat {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0 18px 0 0;
}

.nd-stat strong {
  display: block;
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
}

.nd-stat span {
  color: #71717a;
  font-size: 14px;
}

.nd-hero-visual {
  position: relative;
  min-height: 520px;
}

.nd-network {
  position: absolute;
  top: 50%;
  right: -2%;
  width: min(640px, 106%);
  aspect-ratio: 1;
  transform: translateY(-50%);
}

.nd-network svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 54px rgba(37, 99, 235, 0.24));
}

.nd-svg-ring {
  fill: none;
  stroke: rgba(96, 165, 250, 0.16);
  stroke-width: 2;
}

.nd-svg-dash {
  stroke-dasharray: 8 12;
}

.nd-svg-line {
  fill: none;
  stroke: rgba(148, 163, 184, 0.22);
  stroke-width: 2;
}

.nd-svg-line--soft {
  stroke: rgba(96, 165, 250, 0.14);
}

.nd-svg-nodes circle {
  fill: rgba(148, 163, 184, 0.68);
  stroke: rgba(255, 255, 255, 0.12);
  stroke-width: 7;
}

.nd-network__core {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 92px;
  height: 92px;
  place-items: center;
  border: 1px solid rgba(96, 165, 250, 0.25);
  border-radius: 24px;
  background: rgba(2, 6, 23, 0.82);
  color: #60a5fa;
  font-weight: 800;
  font-size: 0;
  transform: translate(-50%, -50%);
}

.nd-network__core::before {
  width: 54px;
  height: 54px;
  border: 4px solid currentColor;
  border-radius: 50%;
  content: "";
  box-shadow: inset 0 0 0 2px rgba(96, 165, 250, 0.18);
}

.nd-network__core::after {
  position: absolute;
  width: 26px;
  height: 42px;
  border: 3px solid currentColor;
  border-block-color: transparent;
  border-radius: 50%;
  content: "";
}

.nd-hero-slide.is-compute .nd-network__core {
  color: #00f0a8;
}

.nd-hero-slide.is-compute .nd-svg-ring {
  stroke: rgba(16, 185, 129, 0.18);
}

.nd-hero-slide.is-compute .nd-float strong {
  color: #00f0a8;
}

.nd-hero-slide.is-compute .nd-svg-nodes circle {
  fill: rgba(148, 163, 184, 0.7);
}

.nd-float {
  position: absolute;
  min-width: 128px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.64);
  padding: 12px 15px 12px 48px;
  color: #64748b;
  font-family: var(--nd-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  line-height: 1.45;
}

.nd-float::before {
  position: absolute;
  top: 15px;
  left: 16px;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  color: #60a5fa;
  font-family: var(--nd-font);
  font-size: 24px;
  line-height: 1;
  content: "⌁";
}

.nd-float--b::before {
  color: #00f0a8;
  content: "▥";
  font-size: 20px;
}

.nd-float--c::before {
  color: #60a5fa;
  content: "▤";
  font-size: 20px;
}

.nd-float strong {
  color: #93c5fd;
}

.nd-float--a { top: 20%; right: 6%; }
.nd-float--b { bottom: 20%; left: 8%; }
.nd-float--c { right: 8%; bottom: 10%; }

.nd-hero-controls {
  position: absolute;
  right: 0;
  bottom: 42px;
  left: 0;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.nd-hero-progress,
.nd-hero-arrows {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  pointer-events: auto;
  margin-right: 96px;
}

.nd-hero-progress button {
  width: 34px;
  height: 6px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  padding: 0;
  cursor: pointer;
}

.nd-hero-progress button span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2f8fff, #7dd3fc);
}

.nd-hero-progress button.is-active {
  width: 78px;
}

.nd-hero-progress button.is-active span {
  width: 100%;
  transition: width 11.8s linear;
}

.nd-hero-arrows button {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.032);
  color: #d4d4d8;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
  backdrop-filter: blur(12px);
}

.nd-hero-arrows button:hover {
  border-color: rgba(96, 165, 250, 0.45);
  color: #fff;
}

.nd-chat {
  position: absolute;
  right: 30px;
  bottom: 42px;
  z-index: 7;
  display: grid;
  width: 78px;
  height: 78px;
  place-items: center;
  border-radius: 50%;
  background: #0718ff;
  color: #fff;
  box-shadow: 0 0 60px rgba(7, 24, 255, 0.42);
}

.nd-chat svg {
  width: 32px;
  height: 32px;
}

.nd-trust-strip {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: #05060b;
  padding: 40px 0 24px;
  text-align: center;
}

.nd-trust-strip p {
  margin: 0;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}

.nd-threat-section {
  background: #04060b;
}

.nd-threat-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(520px, 1.1fr);
  gap: 28px;
  align-items: start;
}

.nd-threat-card {
  border: 1px solid var(--nd-line-strong);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025));
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.46);
  overflow: hidden;
  max-width: 760px;
  margin-left: auto;
}

.nd-threat-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--nd-line);
  padding: 16px 18px;
  color: #93c5fd;
  font-size: 12px;
  font-weight: 800;
}

.nd-live {
  color: #22c55e;
}

.nd-threat-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 18px;
}

.nd-threat-metric {
  border: 1px solid var(--nd-line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  padding: 15px;
}

.nd-threat-metric span {
  display: block;
  color: #71717a;
  font-size: 12px;
}

.nd-threat-metric strong {
  display: block;
  margin-top: 6px;
  color: #fff;
  font-size: clamp(26px, 3.2vw, 42px);
  line-height: 1;
}

.nd-radar {
  display: grid;
  align-items: center;
  grid-template-columns: 0.92fr 1fr;
  gap: 16px;
  margin: 0 18px 18px;
  border: 1px solid var(--nd-line);
  border-radius: 16px;
  background: radial-gradient(circle at 35% 50%, rgba(59, 130, 246, 0.18), transparent 35%);
  padding: 18px;
}

.nd-radar__screen {
  position: relative;
  aspect-ratio: 1;
  min-height: 190px;
  overflow: hidden;
  border: 1px solid rgba(96, 165, 250, 0.22);
  border-radius: 50%;
  background:
    linear-gradient(rgba(96, 165, 250, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(96, 165, 250, 0.14) 1px, transparent 1px),
    radial-gradient(circle, rgba(59, 130, 246, 0.22), transparent 64%);
  background-size: 26px 26px, 26px 26px, auto;
}

.nd-radar__screen::before {
  position: absolute;
  inset: 50% 0 0 50%;
  width: 50%;
  height: 50%;
  background: linear-gradient(45deg, rgba(59, 130, 246, 0.56), transparent 68%);
  content: "";
  transform-origin: 0 0;
  animation: nd-sweep 3.4s linear infinite;
}

.nd-radar__dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--nd-sky);
  box-shadow: 0 0 18px var(--nd-sky);
}

.nd-radar__dot:nth-child(1) { top: 29%; left: 63%; }
.nd-radar__dot:nth-child(2) { top: 58%; left: 73%; background: var(--nd-rose); }
.nd-radar__dot:nth-child(3) { top: 68%; left: 34%; background: var(--nd-amber); }

.nd-radar__copy strong {
  display: block;
  color: #60a5fa;
  font-size: clamp(46px, 6vw, 76px);
  font-weight: 850;
  line-height: 0.9;
}

.nd-radar__copy span,
.nd-radar__copy small {
  display: block;
  color: #71717a;
  font-size: 12px;
}

.nd-log {
  display: grid;
  max-height: 142px;
  gap: 8px;
  margin: 0 18px 18px;
  overflow: hidden;
  border-top: 1px solid var(--nd-line);
  padding-top: 14px;
  mask-image: linear-gradient(to bottom, #000 75%, transparent);
}

.nd-log code {
  color: #a1a1aa;
  font-family: var(--nd-mono);
  font-size: 12px;
}

.nd-section {
  padding: 80px 0;
}

.nd-section__head {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.nd-section__head.is-left {
  margin-left: 0;
  text-align: left;
}

.nd-kicker {
  color: #60a5fa;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.nd-section h2 {
  margin: 12px 0 12px;
  color: #fff;
  font-size: clamp(30px, 3.2vw, 48px);
  font-weight: 700;
  line-height: 1;
}

.nd-section__head p,
.nd-card p,
.nd-post-card p {
  color: #a1a1aa;
}

.nd-product-grid,
.nd-solution-grid,
.nd-post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.nd-pricing {
  background: #050507;
}

.nd-pricing .nd-section__head h2 {
  font-size: clamp(30px, 3.8vw, 48px);
  font-weight: 600;
}

.nd-pricing-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 22px;
}

.nd-pricing-tabs span {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  padding: 8px 14px;
  color: #d4d4d8;
  font-size: 13px;
}

.nd-pricing-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.nd-price-card {
  position: relative;
  min-height: 360px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025));
  padding: 20px;
}

.nd-price-card.is-popular {
  border-color: rgba(96, 165, 250, 0.42);
  box-shadow: 0 24px 70px rgba(37, 99, 235, 0.16);
}

.nd-price-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  border-radius: 999px;
  background: #2563eb;
  padding: 4px 8px;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.nd-price-card h3 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 18px;
  line-height: 28px;
}

.nd-price-card p {
  min-height: 70px;
  color: #a1a1aa;
  font-size: 13px;
}

.nd-price strong {
  display: block;
  color: #fff;
  font-size: 30px;
  line-height: 1;
}

.nd-price span {
  color: #71717a;
  font-size: 12px;
}

.nd-price-card > a {
  display: inline-flex;
  width: 100%;
  height: 38px;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  border-radius: 9px;
  background: rgba(59, 130, 246, 0.14);
  color: #bfdbfe;
  font-size: 13px;
  font-weight: 700;
}

.nd-card,
.nd-post-card,
.nd-content-card {
  border: 1px solid var(--nd-line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025));
  padding: 22px;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.nd-card:hover,
.nd-post-card:hover {
  border-color: rgba(96, 165, 250, 0.22);
  background: rgba(255, 255, 255, 0.055);
  transform: translateY(-4px);
}

.nd-card__icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(96, 165, 250, 0.28);
  border-radius: 12px;
  background: rgba(96, 165, 250, 0.1);
  color: #93c5fd;
}

.nd-card h3,
.nd-post-card h2,
.nd-content-card h1,
.nd-content-card h2 {
  color: #fff;
}

.nd-card h3 {
  margin: 18px 0 8px;
  font-size: 22px;
}

.nd-feature-list {
  display: grid;
  gap: 9px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.nd-feature-list li {
  position: relative;
  padding-left: 18px;
  color: #d4d4d8;
  font-size: 14px;
}

.nd-feature-list li::before {
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #60a5fa;
  content: "";
}

.nd-solution-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.nd-solution {
  min-height: 230px;
}

.nd-solution h3 {
  font-size: 18px;
  line-height: 28px;
}

.nd-code-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 16px;
}

.nd-code-card {
  overflow: hidden;
  border: 1px solid var(--nd-line);
  border-radius: 18px;
  background: #07090d;
}

.nd-code-head {
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--nd-line);
  padding: 14px 18px;
}

.nd-code-head span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #ef4444;
}

.nd-code-head span:nth-child(2) {
  background: #f59e0b;
}

.nd-code-head span:nth-child(3) {
  background: #22c55e;
}

.nd-code-head strong {
  margin-left: 8px;
  color: #71717a;
  font-family: var(--nd-mono);
  font-size: 12px;
}

.nd-code-card pre {
  margin: 0;
  overflow-x: auto;
  padding: 26px;
}

.nd-code-card code {
  color: #cbd5e1;
  font-family: var(--nd-mono);
  font-size: 14px;
  line-height: 1.75;
}

.nd-trust-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.nd-trust {
  border: 1px solid var(--nd-line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
  padding: 22px;
}

.nd-trust strong {
  display: block;
  color: #60a5fa;
  font-size: 34px;
  line-height: 1;
}

.nd-trust h3 {
  margin: 14px 0 8px;
  color: #fff;
  font-size: 16px;
}

.nd-trust span {
  display: block;
  margin-top: 10px;
  color: #a1a1aa;
}

.nd-news {
  border-top: 1px solid var(--nd-line);
  background: #0a0c10;
}

.nd-post-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
}

.nd-post-card__meta,
.nd-entry-meta {
  color: #71717a;
  font-size: 13px;
}

.nd-post-card h2 {
  margin: 10px 0 8px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.375;
}

.nd-news-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.nd-link {
  display: inline-flex;
  margin-top: 10px;
  color: #93c5fd;
  font-size: 14px;
  font-weight: 700;
}

.nd-faq {
  background: linear-gradient(180deg, #0d0f14, #0a0c10);
}

.nd-faq-list {
  display: grid;
  max-width: 900px;
  gap: 12px;
  margin: 0 auto;
}

.nd-faq-list details {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
  padding: 18px 20px;
}

.nd-faq-list summary {
  display: flex;
  gap: 14px;
  color: #fff;
  cursor: pointer;
  font-weight: 700;
}

.nd-faq-list summary span {
  color: #60a5fa;
  font-family: var(--nd-mono);
}

.nd-faq-list p {
  margin: 14px 0 0 42px;
  color: #a1a1aa;
}

.nd-cta-section {
  position: relative;
  overflow: hidden;
  padding: 96px 0;
  background:
    radial-gradient(circle at 50% 40%, rgba(37, 99, 235, 0.2), transparent 34rem),
    #05060b;
  text-align: center;
}

.nd-cta-section h2 {
  margin: 24px auto 18px;
  max-width: 850px;
  color: #fff;
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 700;
  line-height: 1;
}

.nd-cta-section p {
  max-width: 680px;
  margin: 0 auto;
  color: #a1a1aa;
  font-size: 18px;
}

.nd-cta-section .nd-hero__actions {
  justify-content: center;
}

.nd-cta-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}

.nd-cta-stats span {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  padding: 9px 14px;
  color: #d4d4d8;
  font-size: 13px;
}

.nd-post-card__more {
  margin-top: auto;
  color: #93c5fd;
  font-weight: 750;
}

.nd-page-hero {
  border-bottom: 1px solid var(--nd-line);
  padding: 70px 0 42px;
}

.nd-page-hero h1 {
  max-width: 900px;
  margin: 8px 0 0;
  color: #fff;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
}

.nd-main {
  padding: 56px 0 86px;
}

.nd-content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
}

.nd-content-card {
  padding: clamp(22px, 4vw, 40px);
}

.nd-content-card :where(p, li) {
  color: #d4d4d8;
}

.nd-content-card a {
  color: #93c5fd;
}

.nd-content-card blockquote {
  margin: 28px 0;
  border-left: 3px solid #60a5fa;
  background: rgba(96, 165, 250, 0.08);
  padding: 18px 20px;
  color: #dbeafe;
}

.nd-sidebar {
  display: grid;
  align-content: start;
  gap: 16px;
}

.nd-widget {
  border: 1px solid var(--nd-line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  padding: 20px;
}

.nd-widget h2,
.nd-widget h3 {
  margin-top: 0;
  color: #fff;
  font-size: 18px;
}

.nd-widget ul {
  margin: 0;
  padding-left: 18px;
  color: #a1a1aa;
}

.nd-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 34px;
}

.nd-pagination .page-numbers {
  display: inline-flex;
  min-width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--nd-line);
  border-radius: 9px;
  color: #a1a1aa;
}

.nd-pagination .current,
.nd-pagination a:hover {
  border-color: rgba(96, 165, 250, 0.35);
  background: rgba(96, 165, 250, 0.12);
  color: #fff;
}

.nd-footer {
  border-top: 1px solid var(--nd-line);
  background: #07090d;
  padding: 54px 0 26px;
}

.nd-footer__top {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1.5fr);
  gap: 42px;
}

.nd-footer p {
  color: #71717a;
}

.nd-footer__cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.nd-footer h3 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 14px;
}

.nd-footer ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nd-footer a {
  color: #71717a;
  font-size: 13px;
}

.nd-footer a:hover {
  color: #fff;
}

.nd-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 38px;
  border-top: 1px solid var(--nd-line);
  padding-top: 22px;
  color: #52525b;
  font-size: 12px;
}

.nd-beian {
  width: auto;
  margin: 0;
  border: 0;
  padding: 0;
  flex: 0 0 auto;
}

.nd-beian__inner {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 8px 22px;
}

.nd-beian__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #71717a !important;
  font-size: 12px !important;
  line-height: 1.5;
  text-decoration: none !important;
  white-space: nowrap;
  transition: color 180ms ease;
}

.nd-beian__link svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}

.nd-beian__link--police svg {
  color: #f59e0b;
}

.nd-beian__link--icp svg {
  color: #60a5fa;
}

.nd-beian__link:hover,
.nd-beian__link:focus-visible {
  color: #d4d4d8 !important;
}

.nd-beian__link:focus-visible {
  border-radius: 4px;
  outline: 2px solid rgba(96, 165, 250, 0.55);
  outline-offset: 4px;
}

@media (max-width: 980px) {
  footer div:has(> .nd-beian) {
    flex-wrap: wrap;
  }

  .nd-beian {
    order: 3;
    width: 100%;
    flex-basis: 100%;
    margin-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.055);
    padding-top: 15px;
  }
}

@media (max-width: 560px) {

  .nd-beian__inner {
    flex-direction: column;
    gap: 8px;
  }

  .nd-beian__link {
    justify-content: center;
    white-space: normal;
    text-align: center;
  }
}

@keyframes nd-sweep {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 1080px) {
  body.admin-bar .nd-header {
    top: 46px;
  }

  .nd-header__inner {
    flex-wrap: wrap;
  }

  .nd-menu-button {
    display: inline-flex;
  }

  .nd-nav {
    display: none;
    order: 3;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    border-top: 1px solid var(--nd-line);
    padding: 10px 0;
  }

  .nd-nav.is-open {
    display: flex;
  }

  .nd-nav__link,
  .nd-dropdown-toggle {
    width: 100%;
    justify-content: flex-start;
  }

  .nd-mega {
    position: static;
    display: none;
    width: 100%;
    grid-template-columns: 1fr;
    margin: 4px 0 8px;
    opacity: 1;
    transform: none;
    visibility: visible;
  }

  .nd-nav__item.is-open .nd-mega {
    display: grid;
  }

  .nd-hero__inner,
  .nd-threat-layout,
  .nd-code-grid,
  .nd-content-layout,
  .nd-footer__top {
    grid-template-columns: 1fr;
  }

  .nd-product-grid,
  .nd-post-grid,
  .nd-pricing-grid,
  .nd-news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nd-solution-grid,
  .nd-footer__cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .nd-login {
    display: none;
  }

  .nd-brand__text {
    font-size: 16px;
  }

  .nd-hero__inner {
    min-height: auto;
    padding: 56px 0;
  }

  .nd-hero h1 {
    font-size: clamp(36px, 10.8vw, 48px);
    line-height: 1.12;
  }

  .nd-hero p {
    font-size: 16px;
  }

  .nd-hero__stats,
  .nd-threat-metrics,
  .nd-radar,
  .nd-product-grid,
  .nd-solution-grid,
  .nd-post-grid,
  .nd-pricing-grid,
  .nd-news-grid,
  .nd-trust-grid,
  .nd-footer__cols {
    grid-template-columns: 1fr;
  }

  .nd-hero-visual {
    min-height: 360px;
  }

  .nd-section {
    padding: 64px 0;
  }

  .nd-section h2 {
    font-size: 34px;
    line-height: 40px;
  }

  .nd-radar__screen {
    min-height: 240px;
  }

  .nd-footer__bottom {
    flex-direction: column;
  }
}

/* Source-site hero alignment overrides. Keep this block last. */
@keyframes hero-banner-grid-pan {
  from { transform: translate(0); }
  to { transform: translate(60px, 60px); }
}

@keyframes hero-banner-progress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.nd-hero {
  min-height: 700px;
  isolation: isolate;
  background: #030508;
}

.nd-hero::before {
  inset: -2px;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(at 50% 35%, #000 0%, transparent 75%);
  animation: hero-banner-grid-pan 24s linear infinite;
}

.nd-hero::after {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 120%, rgba(5, 7, 15, 0) 0%, #030508 75%);
  content: "";
  pointer-events: none;
}

.nd-hero-slider {
  z-index: 1;
  min-height: 700px;
}

.nd-hero__inner {
  z-index: 2;
  min-height: 700px;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 64px;
  padding: 80px 0 112px;
}

@media (min-width: 1100px) {
  .nd-hero .nd-container {
    width: min(100% - 64px, 1280px);
  }
}

.nd-pill {
  border-color: rgba(96, 165, 250, 0.3);
  background: rgba(48, 128, 255, 0.08);
  padding: 6px 16px;
  color: #bfdbfe;
  font-size: 12px;
  font-weight: 500;
}

.nd-pill::before {
  width: 6px;
  height: 6px;
  background: #90c5ff;
}

.nd-hero h1 {
  max-width: 672px;
  margin-top: 28px;
  font-size: clamp(36px, 4.45vw, 56px);
  line-height: 1.15;
}

.nd-hero p {
  max-width: 576px;
  margin-top: 24px;
  font-size: 18px;
  line-height: 1.625;
}

.nd-hero__actions {
  gap: 12px;
  margin-top: 32px;
}

.nd-button {
  min-height: 48px;
  border-radius: 12px;
  padding-inline: 24px;
  font-size: 14px;
  font-weight: 600;
}

.nd-hero__stats {
  gap: 24px;
  max-width: 576px;
  margin-top: 40px;
}

.nd-stat {
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0 0 0 16px;
}

.nd-stat:first-child {
  border-left-color: transparent;
  padding-left: 0;
}

.nd-stat strong {
  font-family: var(--nd-mono);
  font-size: 30px;
  letter-spacing: -0.01em;
}

.nd-stat span {
  margin-top: 6px;
  font-size: 14px;
}

.nd-hero-visual {
  min-height: 480px;
}

.nd-network {
  right: 0;
  width: 480px;
}

.nd-network svg {
  filter: drop-shadow(0 0 54px rgba(37, 99, 235, 0.24));
}

.nd-svg-ring {
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 1;
}

.nd-svg-line {
  stroke: rgba(255, 255, 255, 0.1);
  stroke-width: 1;
}

.nd-svg-nodes circle {
  fill: rgba(255, 255, 255, 0.3);
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 4;
}

.nd-network__core {
  width: 96px;
  height: 96px;
  border-radius: 16px;
  background: rgba(11, 16, 32, 0.9);
}

.nd-network__core::before {
  width: 54px;
  height: 54px;
  border-width: 4px;
  border-color: currentColor;
}

.nd-network__core::after {
  width: 26px;
  height: 54px;
  border: 3px solid currentColor;
  border-block-color: transparent;
}

.nd-hero-slide:not(.is-compute) .nd-network__core {
  color: #38a6ff;
}

.nd-hero-slide:not(.is-compute) .nd-network__core::before {
  border-width: 4px;
}

.nd-hero-slide:not(.is-compute) .nd-network__core::after {
  width: 22px;
  height: 54px;
  border: 3px solid currentColor;
  border-block-color: transparent;
}

.nd-float {
  min-width: 0;
  min-height: 56px;
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(12, 21, 48, 0.85);
  padding: 8px 12px;
  color: #71717b;
  font-size: 10px;
  letter-spacing: 0.15em;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3);
}

.nd-float::before,
.nd-float--b::before,
.nd-float--c::before {
  content: none;
}

.nd-float--a { top: 6%; right: 4px; width: 101px; }
.nd-float--b { bottom: 13.6%; left: 0; width: 129px; }
.nd-float--c { right: 22px; bottom: 4%; width: 89px; }

.nd-hero-controls {
  bottom: 40px;
  z-index: 20;
  gap: 16px;
}

.nd-hero-progress,
.nd-hero-arrows {
  margin-right: 0;
}

.nd-hero-progress {
  gap: 12px;
}

.nd-hero-progress button {
  width: 24px;
  height: 6px;
  background: rgba(255, 255, 255, 0.12);
}

.nd-hero-progress button.is-active {
  width: 56px;
}

.nd-hero-progress button span {
  transform-origin: left center;
  background: linear-gradient(90deg, #54a2ff, #fe6e00, #90c5ff);
}

.nd-hero-progress button.is-active span {
  transition: width 6s linear;
}

.nd-hero-arrows {
  gap: 8px;
}

.nd-hero-arrows button {
  width: 36px;
  height: 36px;
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #e4e4e7;
  font-size: 0;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.nd-hero-arrows button svg,
.nd-hero-arrows button[data-nd-play] svg {
  width: 16px;
  height: 16px;
}

.nd-hero-arrows button:hover {
  background: rgba(255, 255, 255, 0.1);
}

.nd-chat {
  right: 28px;
  bottom: 40px;
  width: 68px;
  height: 68px;
}

.nd-chat {
  display: none !important;
}

@media (min-width: 1280px) {
  .nd-hero .nd-container {
    width: min(100% - 64px, 1280px);
  }

  .nd-hero__inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 64px;
  }

  .nd-hero__copy {
    max-width: 672px;
  }

  .nd-hero h1 {
    max-width: 640px;
    font-size: 56px;
  }

  .nd-hero p {
    max-width: 576px;
    font-size: 18px;
    line-height: 1.625;
  }

  .nd-button {
    min-height: 48px;
    padding-inline: 24px;
    font-size: 14px;
    border-radius: 12px;
  }

  .nd-hero__stats {
    max-width: 576px;
    gap: 24px;
  }

  .nd-stat strong {
    font-size: 30px;
  }

  .nd-stat span {
    font-size: 14px;
  }

  .nd-network {
    right: 0;
    width: 480px;
  }

  .nd-float {
    padding: 8px 12px;
    border-radius: 12px;
    font-size: 10px;
  }

  .nd-float strong {
    font-size: 14px;
  }

  .nd-float--a { top: 6%; right: 4px; width: 101px; }
  .nd-float--b { bottom: 13.6%; left: 0; width: 129px; }
  .nd-float--c { right: 22px; bottom: 4%; width: 89px; }
}

@media (min-width: 1024px) {
  .nd-hero,
  .nd-hero-slider,
  .nd-hero__inner {
    min-height: 720px;
  }
}

@media (max-width: 1080px) {
  .nd-hero__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 700px) {
  .nd-hero,
  .nd-hero-slider {
    min-height: 946px;
  }

  .nd-hero__inner {
    display: flex;
    min-height: 946px;
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    padding: 64px 0 112px;
  }

  .nd-pill {
    padding: 6px 14px;
    font-size: 12px;
  }

  .nd-hero h1 {
    margin-top: 28px;
    font-size: 36px;
    line-height: 1.15;
  }

  .nd-hero p {
    font-size: 16px;
  }

  .nd-hero__stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 36px;
  }

  .nd-stat {
    padding-left: 10px;
  }

  .nd-stat strong {
    font-size: 24px;
  }

  .nd-stat span {
    font-size: 12px;
  }

  .nd-hero-visual {
    min-height: 340px;
    width: 100%;
    margin-top: 0;
  }

  .nd-network {
    position: relative;
    top: auto;
    right: auto;
    width: min(340px, 100%);
    margin: 0 auto;
    transform: none;
  }

  .nd-float {
    display: none;
  }

  .nd-hero-controls {
    bottom: 24px;
    display: flex;
    width: min(100% - 32px, 1280px);
  }

  .nd-hero-arrows {
    position: static;
    right: auto;
    bottom: auto;
  }

  .nd-hero-arrows button {
    width: 36px;
    height: 36px;
  }

  .nd-chat {
    right: 16px;
    bottom: 84px;
    width: 58px;
    height: 58px;
  }
}

/* Final responsive correction against jindun.com hero breakpoints. */
@media (min-width: 701px) {
  .nd-hero .nd-container {
    width: min(100% - 64px, 1280px);
  }

  .nd-hero__inner {
    min-height: 720px;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 64px;
    padding: 80px 0 112px;
  }

  .nd-hero__copy {
    max-width: 672px;
  }

  .nd-pill {
    height: 29px;
    padding: 6px 16px;
  }

  .nd-hero h1 {
    max-width: 640px;
    margin-top: 28px;
    font-size: 36px;
    line-height: 1.15;
  }

  .nd-hero p {
    max-width: 576px;
    margin-top: 24px;
    font-size: 16px;
    line-height: 1.625;
  }

  .nd-hero__actions {
    margin-top: 32px;
  }

  .nd-button {
    min-height: 48px;
    border-radius: 12px;
    padding-inline: 24px;
    font-size: 14px;
  }

  .nd-hero__stats {
    max-width: 576px;
    gap: 24px;
    margin-top: 40px;
  }

  .nd-stat strong {
    font-size: 24px;
  }

  .nd-stat span {
    font-size: 12px;
  }

  .nd-hero-visual {
    min-height: 340px;
  }

  .nd-network {
    right: 0;
    width: 340px;
  }

  .nd-float {
    min-height: 56px;
    padding: 8px 12px;
    border-radius: 12px;
    font-size: 10px;
  }

  .nd-float strong {
    font-size: 14px;
  }

  .nd-float--a { top: 6%; right: 4px; width: 101px; }
  .nd-float--b { bottom: 13.6%; left: 0; width: 129px; }
  .nd-float--c { right: 22px; bottom: 4%; width: 89px; }

  .nd-hero-controls {
    bottom: 40px;
  }
}

@media (min-width: 640px) {
  .nd-hero h1 {
    font-size: 48px;
  }

  .nd-hero p {
    font-size: 18px;
  }

  .nd-stat strong {
    font-size: 30px;
  }

  .nd-stat span {
    font-size: 14px;
  }

  .nd-hero-visual {
    min-height: 400px;
  }

  .nd-network {
    width: 400px;
  }
}

@media (min-width: 1024px) {
  .nd-hero h1 {
    font-size: 56px;
  }

  .nd-hero-visual {
    min-height: 480px;
  }

  .nd-network {
    width: 480px;
  }
}

/* Final source-like responsive hero rules: base -> sm -> lg, no fixed wide-screen scaling. */
.nd-hero .nd-container {
  width: min(100% - 32px, 1280px);
}

.nd-hero,
.nd-hero-slider {
  min-height: 700px;
}

.nd-hero__inner {
  display: flex;
  min-height: 700px;
  flex-direction: column;
  justify-content: center;
  gap: 40px;
  padding: 64px 0 112px;
}

.nd-hero h1 {
  max-width: 640px;
  font-size: 36px;
  line-height: 1.15;
}

.nd-hero p {
  max-width: 576px;
  font-size: 16px;
  line-height: 1.625;
}

.nd-hero__stats {
  max-width: 576px;
}

.nd-stat strong {
  font-size: 24px;
}

.nd-stat span {
  font-size: 12px;
}

.nd-hero-visual {
  width: 100%;
  min-height: 340px;
}

.nd-network {
  position: relative;
  top: auto;
  right: auto;
  width: min(340px, 100%);
  margin: 0 auto;
  transform: none;
}

.nd-float {
  display: none;
}

.nd-chat {
  display: none !important;
}

@media (min-width: 640px) {
  .nd-hero .nd-container {
    width: min(100% - 48px, 1280px);
  }

  .nd-hero h1 {
    font-size: 48px;
  }

  .nd-hero p {
    font-size: 18px;
  }

  .nd-stat strong {
    font-size: 30px;
  }

  .nd-stat span {
    font-size: 14px;
  }

  .nd-hero-visual {
    min-height: 400px;
  }

  .nd-network {
    width: 400px;
  }

  .nd-float {
    display: block;
  }
}

@media (min-width: 1024px) {
  .nd-hero .nd-container {
    width: min(100% - 64px, 1280px);
  }

  .nd-hero,
  .nd-hero-slider,
  .nd-hero__inner {
    min-height: 720px;
  }

  .nd-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 64px;
    padding: 80px 0 112px;
  }

  .nd-hero h1 {
    font-size: 56px;
  }

  .nd-hero-visual {
    min-height: 480px;
  }

  .nd-network {
    position: absolute;
    top: 50%;
    right: 0;
    width: 480px;
    margin: 0;
    transform: translateY(-50%);
  }
}
