@import url("https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,400..900&display=swap");
* {
  box-sizing: border-box;
}

:root {
  --ink: #071735;
  --muted: #64748b;
  --line: rgba(148, 163, 184, 0.22);
  --card: rgba(255, 255, 255, 0.78);
  --blue: #2563eb;
  --cyan: #06b6d4;
  --violet: #6d5dfc;
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.10);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: #f8fbff;
  overflow-x: hidden;
}

a {
  color: inherit;
}

.site-bg {
  position: fixed;
  inset: 0;
  z-index: -5;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 18%, rgba(109, 93, 252, 0.16), transparent 30%),
    radial-gradient(circle at 82% 20%, rgba(6, 182, 212, 0.16), transparent 28%),
    linear-gradient(180deg, #f8fbff 0%, #eef7ff 54%, #f9fbff 100%);
}

.grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(79, 70, 229, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79, 70, 229, 0.06) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, black, transparent 78%);
}

.glow {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 999px;
  filter: blur(20px);
  opacity: 0.45;
  animation: floatGlow 9s ease-in-out infinite;
}

.glow-one {
  left: -130px;
  top: 120px;
  background: rgba(109, 93, 252, 0.20);
}

.glow-two {
  right: -120px;
  top: 300px;
  background: rgba(6, 182, 212, 0.20);
  animation-delay: -4s;
}

@keyframes floatGlow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(34px); }
}

.home-header {
  position: sticky;
  top: 18px;
  z-index: 100;
  width: min(1180px, calc(100% - 32px));
  margin: 18px auto 0;
  min-height: 72px;
  padding: 0 16px 0 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand img {
  width: 112px;
  height: auto;
  display: block;
}

.home-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.home-nav a {
  color: #1e2b4a;
  text-decoration: none;
  font-size: 14px;
  font-weight: 750;
}

.header-cta,
.btn,
.launcher button {
  border: 0;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
}

.header-cta {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  color: #fff;
  font-size: 14px;
  font-weight: 850;
  background: linear-gradient(135deg, var(--violet), var(--cyan));
  box-shadow: 0 14px 30px rgba(79, 70, 229, 0.22);
}

.hero {
  width: min(1180px, calc(100% - 32px));
  margin: 74px auto 0;
  min-height: 640px;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 54px;
  align-items: center;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #4f46e5;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.live-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 7px rgba(34, 197, 94, 0.12);
}

.hero h1 {
  margin: 18px 0 22px;
  max-width: 760px;
  font-size: clamp(46px, 6.2vw, 84px);
  line-height: 0.95;
  letter-spacing: -4px;
}

.hero p,
.section-head p,
.quick-launch p,
.story-copy p,
.guides-section p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.hero-actions {
  margin-top: 32px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  min-height: 52px;
  padding: 0 22px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 850;
}

.btn.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--violet), var(--cyan));
  box-shadow: 0 18px 34px rgba(79, 70, 229, 0.24);
}

.btn.secondary {
  color: #0b1f4d;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
}

.trust-row {
  margin-top: 34px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.trust-row span {
  padding: 9px 12px;
  border-radius: 999px;
  color: #334155;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 900;
}

.hero-visual {
  position: relative;
  min-height: 520px;
  border-radius: 36px;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.70), rgba(255,255,255,0.36));
  box-shadow: var(--shadow);
  overflow: hidden;
}

#networkCanvas {
  width: 100%;
  height: 100%;
  min-height: 520px;
  display: block;
}

.terminal-card {
  position: absolute;
  left: 34px;
  bottom: 34px;
  width: min(420px, calc(100% - 68px));
  padding: 18px;
  border-radius: 22px;
  color: #dbeafe;
  background: rgba(7, 23, 53, 0.88);
  backdrop-filter: blur(16px);
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.25);
}

.terminal-top {
  display: flex;
  gap: 7px;
  margin-bottom: 16px;
}

.terminal-top span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #22c55e;
}

.terminal-top span:nth-child(2) { background: #f59e0b; }
.terminal-top span:nth-child(3) { background: #ef4444; }

.terminal-line {
  margin: 9px 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
}

.terminal-line.muted {
  color: #93c5fd;
}

.terminal-status {
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 14px;
  color: #dcfce7;
  background: rgba(34, 197, 94, 0.16);
  font-size: 13px;
  font-weight: 800;
}

.floating-pill {
  position: absolute;
  padding: 10px 14px;
  border-radius: 999px;
  color: #0b1f4d;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.08);
  font-size: 12px;
  font-weight: 900;
  animation: pillFloat 5s ease-in-out infinite;
}

.pill-one { top: 54px; left: 48px; }
.pill-two { top: 118px; right: 48px; animation-delay: -1.4s; }
.pill-three { top: 230px; right: 86px; animation-delay: -2.7s; }

@keyframes pillFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-13px); }
}

.quick-launch,
.tools-section,
.story-section,
.guides-section,
.home-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 42px auto 0;
}

.quick-launch {
  padding: 28px;
  border-radius: 30px;
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 24px;
  align-items: center;
}

.quick-launch h2,
.section-head h2,
.story-copy h2,
.guides-section h2 {
  margin: 10px 0 10px;
  font-size: clamp(34px, 4.5vw, 58px);
  line-height: 1.02;
  letter-spacing: -2px;
}

.launcher {
  display: grid;
  grid-template-columns: 1fr 190px 110px;
  gap: 12px;
}

.launcher input,
.launcher select {
  min-height: 54px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0 15px;
  color: #0b1f4d;
  background: rgba(255,255,255,0.88);
  font: inherit;
  outline: none;
}

.launcher button {
  min-height: 54px;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--violet), var(--cyan));
  font-weight: 900;
}

.tools-section {
  padding-top: 80px;
}

.section-head {
  max-width: 760px;
  margin-bottom: 30px;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.tool-card {
  position: relative;
  min-height: 260px;
  padding: 24px;
  border-radius: 28px;
  border: 1px solid var(--line);
  color: #0b1f4d;
  background: rgba(255,255,255,0.76);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.07);
  text-decoration: none;
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.tool-card::before {
  content: "";
  position: absolute;
  inset: auto -80px -90px auto;
  width: 190px;
  height: 190px;
  border-radius: 999px;
  background: rgba(109, 93, 252, 0.10);
}

.tool-card.available::before {
  background: rgba(6, 182, 212, 0.16);
}

.tool-card:hover {
  transform: translateY(-7px);
  border-color: rgba(79, 70, 229, 0.30);
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.12);
}

.tool-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--violet), var(--cyan));
  font-size: 13px;
  font-weight: 950;
  letter-spacing: -0.6px;
}

.tool-status {
  position: absolute;
  top: 24px;
  right: 24px;
  padding: 7px 10px;
  border-radius: 999px;
  color: #047857;
  background: rgba(16, 185, 129, 0.12);
  font-size: 12px;
  font-weight: 900;
}

.tool-status.soon {
  color: #4f46e5;
  background: rgba(79, 70, 229, 0.10);
}

.tool-card h3 {
  margin: 50px 0 10px;
  font-size: 24px;
  letter-spacing: -0.8px;
}

.tool-card p {
  color: var(--muted);
  line-height: 1.7;
}

.story-section {
  padding: 110px 0 30px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  align-items: start;
}

.signal-timeline {
  display: grid;
  gap: 16px;
}

.signal-step {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255,255,255,0.76);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.06);
}

.signal-step span {
  color: #6d5dfc;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.signal-step h3 {
  margin: 10px 0;
  font-size: 28px;
  letter-spacing: -1px;
}

.signal-step p {
  color: var(--muted);
  line-height: 1.7;
}

.guides-section {
  margin-top: 60px;
  padding: 34px;
  border-radius: 32px;
  border: 1px solid var(--line);
  background: rgba(7, 23, 53, 0.92);
  color: #fff;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.16);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
}

.guides-section p {
  color: #cbd5e1;
}

.guide-cards {
  display: grid;
  gap: 12px;
}

.guide-cards a {
  padding: 18px;
  border-radius: 18px;
  color: #dbeafe;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  text-decoration: none;
  font-weight: 850;
}

.home-footer {
  margin-top: 42px;
  margin-bottom: 28px;
  padding: 28px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.78);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}

.home-footer img {
  width: 112px;
}

.home-footer p {
  color: var(--muted);
  margin: 12px 0 0;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links a {
  text-decoration: none;
  color: #334155;
  font-weight: 800;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .home-nav {
    display: none;
  }

  .hero,
  .quick-launch,
  .story-section,
  .guides-section {
    grid-template-columns: 1fr;
  }

  .hero {
    margin-top: 48px;
  }

  .tools-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .launcher {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .home-header {
    top: 10px;
    min-height: 64px;
  }

  .brand img {
    width: 96px;
  }

  .header-cta {
    display: none;
  }

  .hero h1 {
    letter-spacing: -2.4px;
  }

  .hero-visual {
    min-height: 460px;
  }

  .tools-grid {
    grid-template-columns: 1fr;
  }

  .home-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* NETWORKMASTER HOME TYPOGRAPHY NAVBAR TUNE START */

:root {
  --font-main: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

html {
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

/* Bigger, cleaner premium navbar */
.home-header {
  width: min(1320px, calc(100% - 40px)) !important;
  min-height: 96px !important;
  top: 22px !important;
  margin-top: 22px !important;
  padding: 0 22px 0 34px !important;
  border-radius: 30px !important;
  background: rgba(255, 255, 255, 0.84) !important;
  box-shadow:
    0 22px 70px rgba(15, 23, 42, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.72) !important;
}

.brand {
  min-width: 210px;
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: 166px !important;
  max-width: 166px !important;
  height: auto !important;
  display: block !important;
}

.home-nav {
  gap: 34px !important;
}

.home-nav a {
  font-size: 15.5px !important;
  font-weight: 760 !important;
  letter-spacing: -0.25px !important;
  color: #111b37 !important;
}

.header-cta {
  min-height: 54px !important;
  padding: 0 24px !important;
  border-radius: 17px !important;
  font-size: 15.5px !important;
  font-weight: 850 !important;
}

/* More polished hero typography */
.hero {
  margin-top: 82px !important;
  min-height: 680px !important;
  gap: 66px !important;
}

.eyebrow,
.section-kicker {
  font-size: 13.5px !important;
  letter-spacing: 0.075em !important;
  font-weight: 900 !important;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(54px, 5.25vw, 88px) !important;
  line-height: 0.98 !important;
  letter-spacing: -5.2px !important;
  font-weight: 860 !important;
}

.hero p {
  max-width: 690px;
  font-size: 19px !important;
  line-height: 1.75 !important;
  letter-spacing: -0.15px;
}

.btn {
  min-height: 56px !important;
  padding: 0 26px !important;
  border-radius: 17px !important;
  font-size: 15.5px !important;
}

.trust-row span {
  font-size: 13px !important;
  padding: 10px 14px !important;
}

/* Better section headings */
.quick-launch h2,
.section-head h2,
.story-copy h2,
.guides-section h2 {
  font-size: clamp(38px, 4.4vw, 64px) !important;
  line-height: 1.02 !important;
  letter-spacing: -3px !important;
  font-weight: 850 !important;
}

.quick-launch p,
.section-head p,
.story-copy p,
.guides-section p {
  font-size: 18px !important;
  line-height: 1.75 !important;
}

/* Bigger tool cards typography */
.tool-card h3 {
  font-size: 25px !important;
  font-weight: 840 !important;
}

.tool-card p {
  font-size: 15.5px !important;
  line-height: 1.75 !important;
}

.tool-icon {
  width: 62px !important;
  height: 62px !important;
  border-radius: 20px !important;
  font-size: 13.5px !important;
}

.tool-status {
  font-size: 12.5px !important;
}

/* Larger footer logo */
.home-footer img {
  width: 140px !important;
}

/* Responsive tune */
@media (max-width: 980px) {
  .home-header {
    min-height: 82px !important;
    padding: 0 18px 0 24px !important;
  }

  .brand {
    min-width: auto;
  }

  .brand img {
    width: 136px !important;
    max-width: 136px !important;
  }

  .hero {
    gap: 36px !important;
  }

  .hero h1 {
    letter-spacing: -3.6px !important;
  }
}

@media (max-width: 640px) {
  .home-header {
    width: min(100% - 24px, 1320px) !important;
    min-height: 70px !important;
    border-radius: 22px !important;
  }

  .brand img {
    width: 116px !important;
    max-width: 116px !important;
  }

  .hero h1 {
    font-size: clamp(44px, 13vw, 60px) !important;
    letter-spacing: -2.6px !important;
  }
}

/* NETWORKMASTER HOME TYPOGRAPHY NAVBAR TUNE END */


/* NETWORKMASTER HOME NAVBAR COMPACT TUNE START */

.home-header {
  min-height: 80px !important;
  top: 18px !important;
  margin-top: 18px !important;
  padding: 0 18px 0 28px !important;
  border-radius: 24px !important;
  width: min(1240px, calc(100% - 40px)) !important;
}

.brand {
  min-width: 160px !important;
}

.brand img {
  width: 132px !important;
  max-width: 132px !important;
}

.home-nav {
  gap: 28px !important;
}

.home-nav a {
  font-size: 15px !important;
  font-weight: 760 !important;
}

.home-header .header-cta {
  min-height: 50px !important;
  padding: 0 24px !important;
  border-radius: 14px !important;
  font-size: 15.5px !important;
}

.hero {
  margin-top: 68px !important;
}

/* چون navbar کوچک‌تر شد، فاصله hero هم کمی طبیعی‌تر می‌شود */
@media (max-width: 980px) {
  .home-header {
    min-height: 74px !important;
    padding: 0 16px 0 22px !important;
  }

  .brand img {
    width: 118px !important;
    max-width: 118px !important;
  }
}

@media (max-width: 640px) {
  .home-header {
    min-height: 66px !important;
    border-radius: 20px !important;
  }

  .brand img {
    width: 104px !important;
    max-width: 104px !important;
  }
}

/* NETWORKMASTER HOME NAVBAR COMPACT TUNE END */

/* ===== HOME LANGUAGE SWITCHER - FINAL COMPACT VERSION START ===== */

.home-nav .home-inline-language,
.home-nav .language-switcher {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin: 0;
  flex: 0 0 auto;
}

.home-nav {
  gap: 34px;
}

.home-nav .language-trigger {
  height: 46px;
  padding: 0 14px;
  border: 1px solid #e7eaf4;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #f4f6ff;
  color: #18243d;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.2px;
  cursor: pointer;
  box-shadow: none;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

.home-nav .language-trigger:hover {
  background: #eef2ff;
  border-color: #dde3f3;
}

.home-nav .language-switcher.is-open .language-trigger {
  background: #eef2ff;
  border-color: #dde3f3;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.07);
}

.home-nav .flag-box {
  min-width: 34px;
  height: 30px;
  padding: 0 8px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid #d8deeb;
  color: #334155;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.home-nav .language-trigger #currentLangName {
  line-height: 1;
  white-space: nowrap;
}

.home-nav .language-trigger .nav-icon {
  width: 14px;
  height: 14px;
  color: #8a94b2;
  flex: 0 0 auto;
  transition: transform 160ms ease, color 160ms ease;
}

.home-nav .language-switcher.is-open .language-trigger .nav-icon {
  transform: rotate(180deg);
  color: #7c86a8;
}

.home-nav .language-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 188px;
  padding: 8px;
  border-radius: 18px;
  border: 1px solid #e7eaf2;
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition:
    opacity 160ms ease,
    visibility 160ms ease,
    transform 160ms ease;
  z-index: 999;
}

.home-nav .language-switcher.is-open .language-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.home-nav .language-option {
  min-height: 52px;
  padding: 0 12px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  background: transparent;
  color: #2a3954;
  font-size: 15px;
  font-weight: 700;
  transition: background 160ms ease;
}

.home-nav .language-option:hover {
  background: #f5f7fd;
}

.home-nav .language-option .flag-box {
  min-width: 32px;
  height: 28px;
  font-size: 13px;
}

/* ===== HOME LANGUAGE SWITCHER - FINAL COMPACT VERSION END ===== */

/* COPY DNS CHECKER LANGUAGE BUTTON TO HOME START */

/* حذف اثر همه مدل‌های قبلی زبان در Home */
.home-language-switcher,
.compact-language,
.home-inline-language.compact-language {
  all: unset !important;
}

/* خود آیتم زبان مثل DNS Checker داخل nav */
.home-header .language-switcher {
  position: relative !important;
  margin-left: 6px !important;
  display: inline-flex !important;
  align-items: center !important;
}

/* دکمه زبان، همان حالت nav-link صفحه DNS Checker */
.home-header .nav-link.language.language-trigger {
  height: 44px !important;
  padding: 0 14px !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 9px !important;

  border: 0 !important;
  border-radius: 999px !important;
  background: transparent !important;
  cursor: pointer !important;

  color: var(--nm-text-soft, #334155) !important;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  letter-spacing: -0.15px !important;
  line-height: 1 !important;
  white-space: nowrap !important;

  box-shadow: none !important;
  transform: none !important;

  transition:
    background-color 0.22s ease,
    color 0.22s ease,
    transform 0.22s ease,
    box-shadow 0.22s ease !important;
}

.home-header .nav-link.language.language-trigger:hover {
  color: var(--nm-primary-dark, #3730a3) !important;
  background: var(--nm-primary-soft, #eef2ff) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 8px 18px rgba(79, 70, 229, 0.07) !important;
}

.home-header .language-switcher.is-open .language-trigger {
  color: var(--nm-primary-dark, #3730a3) !important;
  background: var(--nm-primary-soft, #eef2ff) !important;
}

/* US / FA box دقیقاً مثل DNS Checker */
.home-header .language-switcher .flag-box {
  width: 31px !important;
  min-width: 31px !important;
  height: 21px !important;
  padding: 0 !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  border-radius: 6px !important;
  overflow: hidden !important;

  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  color: #334155 !important;
  background: #f8fafc !important;

  border: 0 !important;
  box-shadow:
    0 0 0 1px rgba(17, 24, 39, 0.08),
    0 5px 12px rgba(17, 24, 39, 0.06) !important;
}

/* آیکون فلش مثل DNS Checker */
.home-header .language-trigger .nav-icon {
  width: 12px !important;
  height: 12px !important;
  color: #7b8493 !important;
  opacity: 0.55 !important;
  stroke-width: 2.35 !important;

  transition:
    transform 0.22s ease,
    color 0.22s ease !important;
}

.home-header .language-trigger:hover .nav-icon,
.home-header .language-switcher.is-open .language-trigger .nav-icon {
  color: var(--nm-primary, #4f46e5) !important;
  transform: rotate(180deg) !important;
}

/* Dropdown دقیقاً در اندازه و فرم DNS Checker */
.home-header .language-menu {
  position: absolute !important;
  top: calc(100% + 8px) !important;
  right: 0 !important;
  z-index: 1000 !important;

  min-width: 150px !important;
  width: auto !important;
  padding: 8px !important;

  display: none !important;

  background: rgba(255, 255, 255, 0.96) !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  border-radius: 14px !important;

  box-shadow:
    0 20px 45px rgba(15, 23, 42, 0.12),
    0 8px 18px rgba(15, 23, 42, 0.06) !important;

  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;

  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

.home-header .language-switcher.is-open .language-menu {
  display: block !important;
}

/* آیتم داخل Dropdown مثل DNS Checker */
.home-header .language-option {
  width: 100% !important;
  height: 42px !important;
  min-height: 42px !important;
  padding: 0 10px !important;

  display: flex !important;
  align-items: center !important;
  gap: 10px !important;

  border-radius: 10px !important;

  color: var(--nm-text-soft, #334155) !important;
  background: transparent !important;
  text-decoration: none !important;

  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  letter-spacing: -0.15px !important;
  line-height: 1 !important;
  white-space: nowrap !important;

  box-shadow: none !important;
  transform: none !important;

  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease !important;
}

.home-header .language-option:hover {
  color: var(--nm-primary-dark, #3730a3) !important;
  background: var(--nm-primary-soft, #eef2ff) !important;
  transform: translateY(-1px) !important;
}

/* فاصله زبان با آیتم‌ها مثل یک آیتم عادی nav */
.home-header .home-nav {
  gap: 28px !important;
  align-items: center !important;
}

/* COPY DNS CHECKER LANGUAGE BUTTON TO HOME END */

/* NM HOME FULL FOOTER START */

.nm-home-footer {
  width: min(1180px, calc(100% - 32px)) !important;
  margin: 96px auto 34px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  display: block !important;
}

.nm-home-footer-inner {
  width: 100% !important;
  padding: 38px 38px 24px !important;
  border: 1px solid rgba(148, 163, 184, 0.24) !important;
  border-radius: 34px !important;
  background:
    radial-gradient(circle at 12% 0%, rgba(109, 93, 252, 0.10), transparent 32%),
    radial-gradient(circle at 88% 0%, rgba(6, 182, 212, 0.10), transparent 30%),
    rgba(255, 255, 255, 0.78) !important;
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.08) !important;
  backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;
}

.nm-home-footer-top {
  display: grid !important;
  grid-template-columns: minmax(230px, 310px) 1fr !important;
  gap: 48px !important;
  align-items: start !important;
}

.nm-home-footer-brand {
  max-width: 310px !important;
}

.nm-home-footer-logo {
  width: 118px !important;
  height: auto !important;
  display: block !important;
  margin: 0 0 18px !important;
}

.nm-home-footer-brand p {
  margin: 0 !important;
  color: #64748b !important;
  font-size: 14.5px !important;
  line-height: 1.9 !important;
  letter-spacing: -0.15px !important;
}

.nm-home-footer-grid {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(120px, 1fr)) !important;
  gap: 28px !important;
}

.nm-home-footer-col h3 {
  margin: 0 0 15px !important;
  color: #071735 !important;
  font-size: 15.5px !important;
  font-weight: 850 !important;
  letter-spacing: -0.25px !important;
  line-height: 1.2 !important;
}

.nm-home-footer-col ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.nm-home-footer-col li {
  margin: 0 0 10px !important;
}

.nm-home-footer-col a {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  color: #536179 !important;
  font-size: 14px !important;
  font-weight: 560 !important;
  line-height: 1.45 !important;
  text-decoration: none !important;
  letter-spacing: -0.15px !important;
  transition:
    color 180ms ease,
    transform 180ms ease !important;
}

.nm-home-footer-col a span {
  width: 7px !important;
  height: 7px !important;
  border-radius: 999px !important;
  flex: 0 0 auto !important;
  background: linear-gradient(135deg, #6366f1, #06b6d4) !important;
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.08) !important;
}

.nm-home-footer-col a:hover {
  color: #4f46e5 !important;
  transform: translateX(2px) !important;
}

.nm-home-footer-bottom {
  margin-top: 34px !important;
  padding-top: 18px !important;
  border-top: 1px solid rgba(148, 163, 184, 0.28) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 18px !important;
}

.nm-home-footer-bottom p {
  margin: 0 !important;
  color: #64748b !important;
  font-size: 13.5px !important;
  line-height: 1.5 !important;
}

.nm-home-footer-bottom-links {
  display: flex !important;
  align-items: center !important;
  gap: 18px !important;
  flex-wrap: wrap !important;
}

.nm-home-footer-bottom-links a {
  color: #475569 !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  transition:
    color 180ms ease,
    transform 180ms ease !important;
}

.nm-home-footer-bottom-links a:hover {
  color: #4f46e5 !important;
  transform: translateY(-1px) !important;
}

@media (max-width: 1100px) {
  .nm-home-footer-top {
    grid-template-columns: 1fr !important;
    gap: 34px !important;
  }

  .nm-home-footer-brand {
    max-width: 680px !important;
  }

  .nm-home-footer-grid {
    grid-template-columns: repeat(3, minmax(140px, 1fr)) !important;
  }
}

@media (max-width: 760px) {
  .nm-home-footer {
    width: min(100% - 28px, 1180px) !important;
    margin-top: 68px !important;
  }

  .nm-home-footer-inner {
    padding: 30px 24px 22px !important;
    border-radius: 26px !important;
  }

  .nm-home-footer-grid {
    grid-template-columns: repeat(2, minmax(130px, 1fr)) !important;
    gap: 24px 18px !important;
  }

  .nm-home-footer-bottom {
    align-items: flex-start !important;
    flex-direction: column !important;
  }
}

@media (max-width: 520px) {
  .nm-home-footer-grid {
    grid-template-columns: 1fr !important;
  }
}

/* NM HOME FULL FOOTER END */


/* CLEAN DEFAULT NAVBAR HOVER START */

.home-header .home-nav > a,
.home-header .language-trigger {
  position: relative;
  transition:
    color 180ms ease,
    background 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease !important;
}

.home-header .home-nav > a:hover,
.home-header .language-trigger:hover,
.home-header .language-switcher.is-open .language-trigger {
  color: #4f46e5 !important;
  background: rgba(238, 242, 255, 0.78) !important;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(79, 70, 229, 0.08) !important;
}

.home-header .home-nav > a {
  min-height: 42px;
  padding: 0 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
}

.home-header .header-cta {
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    filter 180ms ease !important;
}

.home-header .header-cta:hover {
  transform: translateY(-2px) !important;
  filter: saturate(1.08) brightness(1.03);
  box-shadow:
    0 24px 48px rgba(79, 70, 229, 0.30),
    0 8px 18px rgba(6, 182, 212, 0.16) !important;
}

.home-header .header-cta:active {
  transform: translateY(0) scale(0.99) !important;
}

/* CLEAN DEFAULT NAVBAR HOVER END */


/* ===============================
   TOOL COMMAND CENTER
================================ */

.tool-command-center {
    margin: 80px auto;
    padding: 42px;
    max-width: 1200px;
    border-radius: 28px;
    background:
    radial-gradient(circle at top right,
    rgba(79,70,229,.15),
    transparent 40%),
    rgba(255,255,255,.72);

    border:1px solid rgba(99,102,241,.15);

    backdrop-filter: blur(18px);
}


.tool-center-header {
    text-align:center;
    margin-bottom:30px;
}


.tool-center-header h2 {
    font-size:42px;
    margin:12px 0;
}


.tool-center-header p {
    color:#64748b;
    font-size:18px;
}



.tool-search-box {
    display:flex;
    justify-content:center;
    margin-bottom:28px;
}


.tool-search-box input {

    width:min(520px,100%);

    padding:16px 22px;

    border-radius:18px;

    border:1px solid #dbeafe;

    font-size:16px;

    outline:none;

    background:white;

}



.tool-categories {

    display:flex;

    justify-content:center;

    flex-wrap:wrap;

    gap:10px;

    margin-bottom:35px;

}



.tool-category {

    border:none;

    padding:10px 20px;

    border-radius:999px;

    background:#eef2ff;

    color:#4338ca;

    cursor:pointer;

    transition:.25s;

}



.tool-category:hover,
.tool-category.active {

    background:#4f46e5;

    color:white;

}



.tool-results {

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(240px,1fr));

    gap:18px;

}



.mini-tool-card {

    display:flex;

    align-items:center;

    justify-content:space-between;

    padding:22px;

    background:white;

    border-radius:20px;

    text-decoration:none;

    color:#0f172a;

    border:1px solid #e2e8f0;

    transition:.25s;

}



.mini-tool-card:hover {

    transform:translateY(-5px);

    border-color:#818cf8;

    box-shadow:
    0 20px 40px rgba(79,70,229,.12);

}



.mini-tool-card h3 {

    margin:0 0 8px;

    font-size:18px;

}



.mini-tool-card p {

    margin:0;

    color:#64748b;

    font-size:14px;

}



.mini-tool-card span {

    font-size:22px;

    color:#4f46e5;

}



@media(max-width:700px){

.tool-command-center{

padding:25px;

}


.tool-center-header h2{

font-size:30px;

}

}




/* TOOL CARDS GRID FIX */

.tool-results {

    display:grid;

    grid-template-columns:
    repeat(3, minmax(0, 1fr));

    gap:18px;

    align-items:stretch;

}



.mini-tool-card {

    width:100%;

    min-height:110px;

    height:110px;

    box-sizing:border-box;

    display:flex;

    flex-direction:row;

    align-items:center;

    justify-content:space-between;

    padding:22px;

    border-radius:22px;

}



.mini-tool-card h3 {

    margin:0 0 8px;

}



.mini-tool-card p {

    margin:0;

}



@media(max-width:1000px){

    .tool-results {

        grid-template-columns:
        repeat(2, minmax(0,1fr));

    }

}



@media(max-width:650px){

    .tool-results {

        grid-template-columns:1fr;

    }

}




/* TOOL EXPLORER FOOTER CTA */

.tool-explorer-footer{
    margin-top:28px;
    padding-top:8px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
}

.tool-explorer-footer-copy{
    display:flex;
    flex-direction:column;
    gap:6px;
}

.tool-explorer-footer-copy span{
    color:#0f172a;
    font-size:15px;
    font-weight:800;
    letter-spacing:-0.2px;
}

.tool-explorer-footer-copy p{
    margin:0;
    color:#64748b;
    font-size:14px;
    line-height:1.6;
}

.show-more-tools{
    margin-left:auto;
    min-height:54px;
    padding:0 12px 0 22px;
    display:inline-flex;
    align-items:center;
    gap:12px;
    border-radius:999px;
    text-decoration:none;
    color:#ffffff;
    font-size:15px;
    font-weight:800;
    letter-spacing:-0.2px;
    background:linear-gradient(135deg,#6d5dfc 0%, #06b6d4 100%);
    box-shadow:0 16px 38px rgba(79,70,229,.18);
    transition:
        transform .22s ease,
        box-shadow .22s ease,
        filter .22s ease;
}

.show-more-tools:hover{
    transform:translateY(-2px);
    filter:brightness(1.02);
    box-shadow:0 22px 44px rgba(79,70,229,.24);
}

.show-more-tools-arrow{
    width:32px;
    height:32px;
    border-radius:999px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    background:rgba(255,255,255,.18);
    font-size:18px;
    line-height:1;
}

@media(max-width:760px){

    .tool-explorer-footer{
        flex-direction:column;
        align-items:stretch;
    }

    .show-more-tools{
        margin-left:0;
        align-self:flex-end;
    }
}



/* HERO REMOVED - TOOL EXPLORER FIRST */
.tool-command-center{
    margin-top:36px !important;
}

@media(max-width:760px){
    .tool-command-center{
        margin-top:24px !important;
    }
}



/* =========================================================
   NETWORKMASTER — NEW HOME SECTIONS
========================================================= */

.nm-trust-section,
.nm-platform-section,
.nm-articles-section{
  width:min(1500px,calc(100% - 64px));
  margin:72px auto 0;
}

.nm-section-shell{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,.92fr) minmax(540px,1.08fr);
  min-height:720px;
  overflow:hidden;
  border:1px solid rgba(92,101,255,.16);
  border-radius:36px;
  background:
    radial-gradient(circle at 86% 18%,rgba(53,201,255,.14),transparent 30%),
    radial-gradient(circle at 18% 75%,rgba(100,77,255,.12),transparent 34%),
    linear-gradient(135deg,#f9fbff 0%,#f4f7ff 48%,#eefcff 100%);
  box-shadow:
    0 35px 100px rgba(30,48,98,.08),
    inset 0 1px 0 rgba(255,255,255,.9);
}

.nm-section-shell::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  opacity:.42;
  background-image:
    linear-gradient(rgba(74,91,145,.08) 1px,transparent 1px),
    linear-gradient(90deg,rgba(74,91,145,.08) 1px,transparent 1px);
  background-size:46px 46px;
  mask-image:linear-gradient(to right,#000,transparent 74%);
}

.nm-trust-copy{
  position:relative;
  z-index:3;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:84px 22px 84px 76px;
}

.nm-eyebrow{
  display:inline-flex;
  width:max-content;
  align-items:center;
  gap:9px;
  color:#5043ee;
  font-size:13px;
  line-height:1;
  font-weight:850;
  letter-spacing:.12em;
}

.nm-eyebrow-dot{
  width:8px;
  height:8px;
  border-radius:50%;
  background:#35d183;
  box-shadow:0 0 0 7px rgba(53,209,131,.13);
}

.nm-trust-copy h2,
.nm-section-heading h2,
.nm-articles-header h2{
  margin:28px 0 22px;
  max-width:760px;
  color:#071a3d;
  font-size:clamp(48px,5vw,78px);
  line-height:.98;
  letter-spacing:-.058em;
}

.nm-trust-lead{
  max-width:620px;
  margin:0;
  color:#637492;
  font-size:20px;
  line-height:1.7;
}

.nm-trust-points{
  display:grid;
  gap:18px;
  margin-top:42px;
}

.nm-trust-point{
  display:grid;
  grid-template-columns:48px 1fr;
  gap:16px;
  align-items:start;
  max-width:650px;
  padding:18px 20px;
  border:1px solid rgba(112,125,176,.12);
  border-radius:20px;
  background:rgba(255,255,255,.62);
  backdrop-filter:blur(16px);
  transition:
    transform .25s ease,
    border-color .25s ease,
    box-shadow .25s ease;
}

.nm-trust-point:hover{
  transform:translateX(7px);
  border-color:rgba(87,75,255,.24);
  box-shadow:0 18px 40px rgba(44,64,116,.08);
}

.nm-point-number{
  display:grid;
  width:42px;
  height:42px;
  place-items:center;
  border-radius:14px;
  color:#5647ef;
  background:#eeefff;
  font-size:12px;
  font-weight:900;
}

.nm-trust-point strong{
  display:block;
  margin-bottom:6px;
  color:#0a1c3c;
  font-size:16px;
}

.nm-trust-point p{
  margin:0;
  color:#71809a;
  font-size:14px;
  line-height:1.6;
}


/* NETWORK VISUAL */

.nm-network-visual{
  position:relative;
  min-height:720px;
  overflow:hidden;
}

.nm-visual-grid{
  position:absolute;
  inset:0;
  opacity:.32;
  background-image:
    radial-gradient(circle,rgba(71,78,255,.28) 1.2px,transparent 1.5px);
  background-size:24px 24px;
  mask-image:radial-gradient(circle at center,#000 0%,transparent 73%);
}

.nm-globe-core{
  position:absolute;
  top:50%;
  left:52%;
  width:min(42vw,510px);
  aspect-ratio:1;
  transform:translate(-50%,-50%);
  overflow:hidden;
  border:1px solid rgba(52,91,219,.17);
  border-radius:50%;
  background:
    radial-gradient(circle at 36% 34%,rgba(101,83,255,.19),transparent 28%),
    radial-gradient(circle at 65% 64%,rgba(36,196,240,.2),transparent 34%),
    rgba(255,255,255,.42);
  box-shadow:
    0 45px 100px rgba(58,68,160,.17),
    inset 0 0 70px rgba(78,91,255,.08);
  backdrop-filter:blur(20px);
}

.nm-globe-core::before,
.nm-globe-core::after{
  content:"";
  position:absolute;
  border:1px solid rgba(55,90,190,.15);
  border-radius:50%;
}

.nm-globe-core::before{
  inset:12%;
}

.nm-globe-core::after{
  inset:28%;
}

.nm-globe-latitude,
.nm-globe-longitude{
  position:absolute;
  inset:50% 5% auto;
  height:34%;
  border:1px solid rgba(66,93,186,.15);
  border-radius:50%;
  transform:translateY(-50%);
}

.nm-lat-one{
  transform:translateY(-50%) rotate(13deg);
}

.nm-lat-two{
  transform:translateY(-50%) rotate(-15deg) scale(.78);
}

.nm-globe-longitude{
  inset:7% auto 7% 50%;
  width:32%;
  height:auto;
  transform:translateX(-50%);
}

.nm-long-one{
  transform:translateX(-50%) rotate(13deg);
}

.nm-long-two{
  transform:translateX(-50%) rotate(-13deg);
}

.nm-network-node{
  position:absolute;
  width:12px;
  height:12px;
  z-index:5;
  border:3px solid rgba(255,255,255,.9);
  border-radius:50%;
  background:#16bde7;
  box-shadow:
    0 0 0 7px rgba(22,189,231,.12),
    0 0 26px rgba(22,189,231,.8);
  animation:nmNodePulse 2.8s ease-in-out infinite;
}

.nm-node-one{top:22%;left:30%}
.nm-node-two{top:36%;right:20%;animation-delay:.5s}
.nm-node-three{top:57%;left:21%;animation-delay:1.2s}
.nm-node-four{right:28%;bottom:20%;animation-delay:1.8s}
.nm-node-five{left:48%;bottom:33%;animation-delay:2.2s}

.nm-network-line{
  position:absolute;
  z-index:2;
  height:1px;
  opacity:.48;
  transform-origin:left center;
  background:linear-gradient(90deg,#5b4dff,#1dc5e9);
}

.nm-line-one{
  top:31%;
  left:31%;
  width:45%;
  transform:rotate(18deg);
}

.nm-line-two{
  top:58%;
  left:22%;
  width:42%;
  transform:rotate(-26deg);
}

.nm-line-three{
  top:47%;
  left:49%;
  width:32%;
  transform:rotate(54deg);
}

.nm-orbit{
  position:absolute;
  top:50%;
  left:52%;
  z-index:1;
  border:1px solid rgba(80,79,235,.12);
  border-radius:50%;
  transform:translate(-50%,-50%);
}

.nm-orbit-one{
  width:610px;
  height:390px;
  animation:nmOrbitSpin 22s linear infinite;
}

.nm-orbit-two{
  width:650px;
  height:470px;
  transform:translate(-50%,-50%) rotate(58deg);
  animation:nmOrbitSpinTwo 28s linear infinite reverse;
}

.nm-orbit-three{
  width:560px;
  height:650px;
  transform:translate(-50%,-50%) rotate(-28deg);
}

.nm-floating-card,
.nm-terminal-card{
  position:absolute;
  z-index:8;
  border:1px solid rgba(119,132,181,.16);
  background:rgba(255,255,255,.78);
  box-shadow:0 24px 55px rgba(34,51,95,.14);
  backdrop-filter:blur(20px);
}

.nm-floating-card{
  display:flex;
  gap:11px;
  align-items:center;
  min-width:178px;
  padding:15px 18px;
  border-radius:18px;
  animation:nmFloat 5s ease-in-out infinite;
}

.nm-floating-card small{
  display:block;
  margin-bottom:4px;
  color:#7a88a3;
  font-size:9px;
  font-weight:900;
  letter-spacing:.13em;
}

.nm-floating-card strong{
  color:#102347;
  font-size:13px;
}

.nm-floating-card-top{
  top:13%;
  left:32%;
}

.nm-floating-card-left{
  top:51%;
  left:2%;
  animation-delay:1.2s;
}

.nm-floating-card-right{
  top:34%;
  right:0;
  animation-delay:2.3s;
}

.nm-status-pulse{
  width:11px;
  height:11px;
  flex:0 0 auto;
  border-radius:50%;
  background:#35d183;
  box-shadow:0 0 0 7px rgba(53,209,131,.13);
}

.nm-terminal-card{
  right:6%;
  bottom:9%;
  width:min(360px,48%);
  padding:17px;
  border-radius:22px;
  color:#d7e3ff;
  background:rgba(7,23,55,.91);
  box-shadow:0 28px 70px rgba(13,27,65,.28);
}

.nm-terminal-bar{
  display:flex;
  gap:6px;
  margin-bottom:18px;
}

.nm-terminal-bar span{
  width:8px;
  height:8px;
  border-radius:50%;
}

.nm-terminal-bar span:nth-child(1){background:#35d183}
.nm-terminal-bar span:nth-child(2){background:#f8c84c}
.nm-terminal-bar span:nth-child(3){background:#ff6a5f}

.nm-terminal-card code{
  display:block;
  margin-bottom:18px;
  color:#8fbcff;
  font-size:11px;
  white-space:normal;
}

.nm-terminal-row{
  display:flex;
  justify-content:space-between;
  margin-top:10px;
  font-size:11px;
}

.nm-terminal-row span{
  color:#8193b6;
}

.nm-terminal-row strong{
  color:#d9e7ff;
}

.nm-terminal-success{
  margin-top:17px;
  padding:10px 12px;
  border-radius:11px;
  color:#cbffe7;
  background:rgba(53,209,131,.16);
  font-size:11px;
  font-weight:800;
}


/* CREDIBILITY STRIP */

.nm-credibility-strip{
  display:grid;
  width:min(1500px,calc(100% - 64px));
  grid-template-columns:repeat(4,1fr);
  margin:22px auto 0;
  overflow:hidden;
  border:1px solid rgba(96,110,169,.15);
  border-radius:24px;
  background:rgba(255,255,255,.74);
  box-shadow:0 20px 50px rgba(36,53,102,.06);
  backdrop-filter:blur(18px);
}

.nm-credibility-item{
  display:flex;
  gap:15px;
  align-items:center;
  padding:24px 26px;
}

.nm-credibility-item + .nm-credibility-item{
  border-left:1px solid rgba(96,110,169,.12);
}

.nm-credibility-item > span{
  display:grid;
  width:38px;
  height:38px;
  flex:0 0 auto;
  place-items:center;
  border-radius:12px;
  color:#5447ed;
  background:#eff0ff;
  font-size:11px;
  font-weight:900;
}

.nm-credibility-item strong{
  display:block;
  color:#102143;
  font-size:14px;
}

.nm-credibility-item small{
  display:block;
  margin-top:4px;
  color:#7a88a1;
  font-size:11px;
}


/* PLATFORM */

.nm-platform-section{
  padding-top:55px;
}

.nm-section-heading{
  max-width:880px;
  margin:0 auto 48px;
  text-align:center;
}

.nm-section-heading .nm-eyebrow{
  margin:auto;
}

.nm-section-heading h2{
  margin-right:auto;
  margin-left:auto;
}

.nm-section-heading p{
  margin:0;
  color:#6f7f9b;
  font-size:19px;
}

.nm-bento-grid{
  display:grid;
  grid-template-columns:1.3fr .7fr;
  gap:20px;
}

.nm-bento-card{
  position:relative;
  min-height:310px;
  overflow:hidden;
  padding:38px;
  border:1px solid rgba(94,108,165,.14);
  border-radius:30px;
  background:
    radial-gradient(circle at 92% 10%,rgba(85,73,255,.1),transparent 34%),
    rgba(255,255,255,.82);
  box-shadow:0 24px 70px rgba(35,52,99,.07);
  transition:
    transform .3s ease,
    box-shadow .3s ease,
    border-color .3s ease;
}

.nm-bento-card:hover{
  transform:translateY(-7px);
  border-color:rgba(80,67,238,.25);
  box-shadow:0 34px 85px rgba(35,52,99,.12);
}

.nm-bento-large{
  min-height:430px;
}

.nm-bento-dark{
  color:#fff;
  background:
    radial-gradient(circle at 50% 38%,rgba(33,201,238,.22),transparent 30%),
    radial-gradient(circle at 82% 12%,rgba(103,79,255,.35),transparent 28%),
    #071a3c;
}

.nm-card-label{
  color:#584beb;
  font-size:11px;
  font-weight:900;
  letter-spacing:.12em;
}

.nm-bento-dark .nm-card-label{
  color:#62d9ff;
}

.nm-bento-card h3{
  max-width:700px;
  margin:23px 0 15px;
  color:#0b1e40;
  font-size:clamp(25px,2.4vw,41px);
  line-height:1.08;
  letter-spacing:-.035em;
}

.nm-bento-dark h3{
  color:#fff;
}

.nm-bento-card p{
  max-width:650px;
  margin:0;
  color:#72819a;
  font-size:15px;
  line-height:1.7;
}

.nm-bento-dark p{
  color:#9eacc6;
}

.nm-command-preview{
  display:flex;
  flex-wrap:wrap;
  gap:9px;
  margin-top:37px;
}

.nm-command-preview span{
  padding:9px 13px;
  border:1px solid rgba(84,71,237,.13);
  border-radius:999px;
  color:#5447ed;
  background:#f2f2ff;
  font-size:11px;
  font-weight:850;
}

.nm-command-line{
  display:grid;
  grid-template-columns:auto 1fr auto;
  gap:12px;
  align-items:center;
  margin-top:19px;
  padding:16px 17px;
  border:1px solid rgba(90,103,159,.13);
  border-radius:16px;
  color:#8390a8;
  background:#fff;
  box-shadow:0 18px 35px rgba(32,50,99,.06);
  font-size:13px;
}

.nm-command-symbol{
  color:#5547ef;
  font-size:22px;
  font-weight:900;
}

.nm-command-line strong{
  padding:5px 8px;
  border-radius:8px;
  color:#53617c;
  background:#eff2f8;
  font-size:10px;
}

.nm-signal-ring{
  position:relative;
  display:grid;
  width:160px;
  height:160px;
  place-items:center;
  margin:16px auto 26px;
  border:1px solid rgba(96,218,255,.22);
  border-radius:50%;
  box-shadow:
    0 0 0 22px rgba(80,84,255,.06),
    0 0 0 46px rgba(40,193,240,.035);
}

.nm-signal-ring::before,
.nm-signal-ring::after{
  content:"";
  position:absolute;
  border-radius:50%;
}

.nm-signal-ring::before{
  inset:17px;
  border:1px dashed rgba(90,215,255,.35);
  animation:nmOrbitSpin 12s linear infinite;
}

.nm-signal-ring::after{
  width:10px;
  height:10px;
  top:17px;
  background:#31d9f1;
  box-shadow:0 0 19px #31d9f1;
}

.nm-signal-center{
  text-align:center;
}

.nm-signal-center span{
  display:block;
  color:#65dfff;
  font-size:10px;
  font-weight:900;
  letter-spacing:.17em;
}

.nm-signal-center strong{
  display:block;
  margin-top:5px;
  font-size:19px;
}

.nm-flow-map{
  display:flex;
  align-items:center;
  margin-top:50px;
}

.nm-flow-map span{
  display:grid;
  min-width:64px;
  height:42px;
  place-items:center;
  border:1px solid rgba(85,72,237,.16);
  border-radius:13px;
  color:#5749ee;
  background:#f0f1ff;
  font-size:10px;
  font-weight:900;
}

.nm-flow-map i{
  width:35px;
  height:1px;
  background:linear-gradient(90deg,#6c5cff,#26c8e8);
}

.nm-roadmap{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:8px;
  margin-top:45px;
}

.nm-roadmap div{
  position:relative;
  padding-top:22px;
}

.nm-roadmap div::before{
  content:"";
  position:absolute;
  top:5px;
  right:50%;
  left:-50%;
  height:2px;
  background:#e3e8f2;
}

.nm-roadmap div:first-child::before{
  display:none;
}

.nm-roadmap span{
  position:absolute;
  top:0;
  left:50%;
  z-index:2;
  width:12px;
  height:12px;
  transform:translateX(-50%);
  border:3px solid #fff;
  border-radius:50%;
  background:#bdc5d5;
  box-shadow:0 0 0 1px #d4dae5;
}

.nm-roadmap span.is-active{
  background:#4f45ed;
  box-shadow:0 0 0 6px rgba(79,69,237,.1);
}

.nm-roadmap strong{
  display:block;
  color:#66748d;
  font-size:11px;
  text-align:center;
}


/* ARTICLES */

.nm-articles-section{
  margin-bottom:90px;
  padding-top:55px;
}

.nm-articles-header{
  display:flex;
  gap:40px;
  align-items:end;
  justify-content:space-between;
  margin-bottom:42px;
}

.nm-articles-header h2{
  margin-bottom:16px;
}

.nm-articles-header p{
  max-width:760px;
  margin:0;
  color:#71809b;
  font-size:18px;
  line-height:1.6;
}

.nm-articles-link{
  display:inline-flex;
  flex:0 0 auto;
  gap:18px;
  align-items:center;
  padding:15px 20px;
  border:1px solid rgba(82,70,237,.16);
  border-radius:15px;
  color:#5144ec;
  background:#f3f3ff;
  font-size:13px;
  font-weight:850;
  text-decoration:none;
  transition:transform .25s ease,background .25s ease;
}

.nm-articles-link:hover{
  transform:translateY(-3px);
  background:#e9e9ff;
}

.nm-articles-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:20px;
}

.nm-featured-article{
  display:grid;
  grid-column:1/-1;
  grid-template-columns:.9fr 1.1fr;
  min-height:420px;
  overflow:hidden;
  border:1px solid rgba(93,107,165,.14);
  border-radius:32px;
  background:#fff;
  box-shadow:0 24px 70px rgba(31,47,92,.07);
}

.nm-article-visual{
  position:relative;
  display:grid;
  min-height:400px;
  place-items:center;
  overflow:hidden;
  background:
    radial-gradient(circle at 47% 48%,rgba(45,201,234,.22),transparent 19%),
    radial-gradient(circle at 28% 26%,rgba(102,78,255,.18),transparent 24%),
    #071a3c;
}

.nm-article-visual::before{
  content:"";
  position:absolute;
  inset:0;
  opacity:.22;
  background-image:
    linear-gradient(rgba(111,151,223,.2) 1px,transparent 1px),
    linear-gradient(90deg,rgba(111,151,223,.2) 1px,transparent 1px);
  background-size:36px 36px;
}

.nm-dns-diagram{
  position:relative;
  width:78%;
  height:220px;
}

.nm-dns-point{
  position:absolute;
  z-index:3;
  display:grid;
  width:80px;
  height:80px;
  place-items:center;
  border:1px solid rgba(102,224,255,.28);
  border-radius:50%;
  color:#bceeff;
  background:rgba(17,47,87,.84);
  box-shadow:
    0 0 0 12px rgba(61,205,240,.05),
    0 0 35px rgba(61,205,240,.2);
  font-size:10px;
  font-weight:900;
  letter-spacing:.11em;
}

.nm-dns-a{
  top:73px;
  left:0;
}

.nm-dns-b{
  top:0;
  left:50%;
  transform:translateX(-50%);
}

.nm-dns-c{
  right:0;
  bottom:0;
}

.nm-dns-path{
  position:absolute;
  height:1px;
  z-index:1;
  transform-origin:left center;
  background:linear-gradient(90deg,#56deff,#6c55ff);
  box-shadow:0 0 15px rgba(62,207,242,.5);
}

.nm-dns-path-one{
  top:111px;
  left:73px;
  width:42%;
  transform:rotate(-18deg);
}

.nm-dns-path-two{
  top:72px;
  left:54%;
  width:38%;
  transform:rotate(29deg);
}

.nm-coming-badge{
  position:absolute;
  right:24px;
  bottom:24px;
  z-index:4;
  padding:9px 12px;
  border:1px solid rgba(97,221,255,.22);
  border-radius:999px;
  color:#82e6ff;
  background:rgba(12,35,70,.75);
  font-size:9px;
  font-weight:900;
  letter-spacing:.12em;
}

.nm-featured-article-copy{
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:55px;
}

.nm-article-category{
  color:#5548ed;
  font-size:11px;
  font-weight:900;
  letter-spacing:.12em;
}

.nm-featured-article-copy h3{
  margin:22px 0 18px;
  color:#0a1d40;
  font-size:clamp(30px,3.3vw,49px);
  line-height:1.08;
  letter-spacing:-.045em;
}

.nm-featured-article-copy p{
  margin:0;
  color:#72809a;
  font-size:16px;
  line-height:1.75;
}

.nm-featured-article-copy a,
.nm-article-card a{
  display:inline-flex;
  width:max-content;
  gap:14px;
  align-items:center;
  margin-top:26px;
  color:#5144ed;
  font-size:13px;
  font-weight:850;
  text-decoration:none;
}

.nm-article-card{
  min-height:280px;
  padding:34px;
  border:1px solid rgba(94,108,165,.14);
  border-radius:26px;
  background:
    radial-gradient(circle at 92% 8%,rgba(83,70,237,.08),transparent 30%),
    #fff;
  box-shadow:0 20px 55px rgba(32,48,94,.055);
  transition:
    transform .3s ease,
    box-shadow .3s ease,
    border-color .3s ease;
}

.nm-article-card:hover{
  transform:translateY(-7px);
  border-color:rgba(80,68,237,.24);
  box-shadow:0 30px 75px rgba(32,48,94,.1);
}

.nm-article-top{
  display:flex;
  gap:20px;
  align-items:center;
  justify-content:space-between;
}

.nm-article-top span{
  color:#5144ec;
  font-size:10px;
  font-weight:900;
  letter-spacing:.12em;
}

.nm-article-top small{
  padding:7px 9px;
  border-radius:999px;
  color:#75829b;
  background:#f1f3f8;
  font-size:8px;
  font-weight:900;
  letter-spacing:.1em;
}

.nm-article-card h3{
  max-width:600px;
  margin:27px 0 15px;
  color:#0b1d3e;
  font-size:26px;
  line-height:1.2;
  letter-spacing:-.025em;
}

.nm-article-card p{
  margin:0;
  color:#74829a;
  font-size:14px;
  line-height:1.7;
}


/* ANIMATIONS */

@keyframes nmNodePulse{
  0%,100%{
    transform:scale(1);
    opacity:1;
  }

  50%{
    transform:scale(1.35);
    opacity:.65;
  }
}

@keyframes nmFloat{
  0%,100%{
    transform:translateY(0);
  }

  50%{
    transform:translateY(-10px);
  }
}

@keyframes nmOrbitSpin{
  from{
    transform:translate(-50%,-50%) rotate(0deg);
  }

  to{
    transform:translate(-50%,-50%) rotate(360deg);
  }
}

@keyframes nmOrbitSpinTwo{
  from{
    transform:translate(-50%,-50%) rotate(58deg);
  }

  to{
    transform:translate(-50%,-50%) rotate(418deg);
  }
}


/* RESPONSIVE */

@media(max-width:1180px){

  .nm-section-shell{
    grid-template-columns:1fr;
  }

  .nm-trust-copy{
    padding:70px 60px 25px;
  }

  .nm-network-visual{
    min-height:650px;
  }

  .nm-globe-core{
    width:min(520px,65vw);
  }

  .nm-credibility-strip{
    grid-template-columns:repeat(2,1fr);
  }

  .nm-credibility-item:nth-child(3){
    border-left:0;
    border-top:1px solid rgba(96,110,169,.12);
  }

  .nm-credibility-item:nth-child(4){
    border-top:1px solid rgba(96,110,169,.12);
  }

}

@media(max-width:850px){

  .nm-trust-section,
  .nm-platform-section,
  .nm-articles-section,
  .nm-credibility-strip{
    width:min(100% - 28px,1500px);
  }

  .nm-section-shell{
    border-radius:26px;
  }

  .nm-trust-copy{
    padding:54px 28px 12px;
  }

  .nm-trust-copy h2,
  .nm-section-heading h2,
  .nm-articles-header h2{
    font-size:45px;
  }

  .nm-network-visual{
    min-height:570px;
  }

  .nm-floating-card-left{
    left:3%;
  }

  .nm-floating-card-right{
    right:3%;
  }

  .nm-terminal-card{
    right:5%;
    width:52%;
  }

  .nm-bento-grid,
  .nm-articles-grid{
    grid-template-columns:1fr;
  }

  .nm-featured-article{
    grid-template-columns:1fr;
  }

  .nm-articles-header{
    align-items:start;
    flex-direction:column;
  }

}

@media(max-width:620px){

  .nm-trust-section,
  .nm-platform-section,
  .nm-articles-section{
    margin-top:42px;
  }

  .nm-trust-copy{
    padding:46px 20px 5px;
  }

  .nm-trust-copy h2,
  .nm-section-heading h2,
  .nm-articles-header h2{
    margin-top:23px;
    font-size:38px;
  }

  .nm-trust-lead,
  .nm-section-heading p,
  .nm-articles-header p{
    font-size:16px;
  }

  .nm-trust-point{
    grid-template-columns:1fr;
  }

  .nm-network-visual{
    min-height:510px;
  }

  .nm-globe-core{
    width:340px;
  }

  .nm-orbit{
    display:none;
  }

  .nm-floating-card{
    min-width:145px;
    padding:12px;
  }

  .nm-floating-card-top{
    top:8%;
    left:7%;
  }

  .nm-floating-card-left{
    top:42%;
    left:2%;
  }

  .nm-floating-card-right{
    top:27%;
    right:2%;
  }

  .nm-terminal-card{
    right:4%;
    bottom:5%;
    width:76%;
  }

  .nm-credibility-strip{
    grid-template-columns:1fr;
  }

  .nm-credibility-item + .nm-credibility-item{
    border-top:1px solid rgba(96,110,169,.12);
    border-left:0;
  }

  .nm-bento-card{
    min-height:auto;
    padding:28px 22px;
    border-radius:23px;
  }

  .nm-flow-map{
    flex-wrap:wrap;
    gap:7px;
  }

  .nm-flow-map i{
    width:14px;
  }

  .nm-roadmap{
    margin-top:35px;
  }

  .nm-featured-article-copy{
    padding:35px 25px;
  }

  .nm-featured-article-copy h3{
    font-size:32px;
  }

  .nm-article-card{
    padding:27px 22px;
  }

  .nm-article-card h3{
    font-size:23px;
  }

}

@media(prefers-reduced-motion:reduce){

  .nm-network-node,
  .nm-orbit,
  .nm-floating-card,
  .nm-signal-ring::before{
    animation:none !important;
  }

}



/* =========================================================
   NETWORKMASTER MODERN FOOTER
========================================================= */

.nm-footer{
  position:relative;
  overflow:hidden;
  margin-top:90px;
  color:#dce7ff;
  background:
    radial-gradient(
      circle at 15% 0%,
      rgba(91,73,255,.24),
      transparent 31%
    ),
    radial-gradient(
      circle at 88% 18%,
      rgba(28,193,231,.16),
      transparent 29%
    ),
    #061630;
}

.nm-footer::before{
  content:"";
  position:absolute;
  inset:0;
  opacity:.11;
  pointer-events:none;
  background-image:
    linear-gradient(
      rgba(132,159,218,.25) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(132,159,218,.25) 1px,
      transparent 1px
    );
  background-size:52px 52px;
  mask-image:
    linear-gradient(
      to bottom,
      #000,
      transparent 72%
    );
}

.nm-footer-glow{
  position:absolute;
  pointer-events:none;
  border-radius:50%;
  filter:blur(80px);
}

.nm-footer-glow-one{
  top:-150px;
  left:-120px;
  width:380px;
  height:380px;
  background:rgba(88,72,255,.18);
}

.nm-footer-glow-two{
  right:-130px;
  bottom:-160px;
  width:430px;
  height:430px;
  background:rgba(24,199,232,.12);
}

.nm-footer-shell{
  position:relative;
  z-index:2;
  width:min(
    1500px,
    calc(100% - 64px)
  );
  margin:auto;
  padding:
    82px 0
    28px;
}

.nm-footer-top{
  display:grid;
  grid-template-columns:
    minmax(280px,.88fr)
    minmax(650px,1.7fr);
  gap:85px;
}

.nm-footer-logo{
  display:inline-flex;
  gap:13px;
  align-items:center;
  color:#fff;
  font-size:22px;
  font-weight:900;
  letter-spacing:-.035em;
  text-decoration:none;
}

.nm-footer-logo-mark{
  position:relative;
  display:grid;
  width:42px;
  height:42px;
  place-items:center;
  overflow:hidden;
  border:
    1px solid
    rgba(129,184,255,.25);
  border-radius:14px;
  background:
    linear-gradient(
      145deg,
      rgba(105,83,255,.8),
      rgba(26,190,227,.8)
    );
  box-shadow:
    0 13px 35px
    rgba(31,113,217,.23);
}

.nm-footer-logo-mark i{
  position:absolute;
  width:7px;
  height:7px;
  border:
    2px solid
    rgba(255,255,255,.92);
  border-radius:50%;
}

.nm-footer-logo-mark i:nth-child(1){
  top:10px;
  left:10px;
}

.nm-footer-logo-mark i:nth-child(2){
  top:17px;
  right:9px;
}

.nm-footer-logo-mark i:nth-child(3){
  right:16px;
  bottom:8px;
}

.nm-footer-logo-mark::before,
.nm-footer-logo-mark::after{
  content:"";
  position:absolute;
  width:19px;
  height:1px;
  background:
    rgba(255,255,255,.72);
}

.nm-footer-logo-mark::before{
  top:17px;
  left:13px;
  transform:rotate(21deg);
}

.nm-footer-logo-mark::after{
  right:10px;
  bottom:15px;
  transform:rotate(-61deg);
}

.nm-footer-brand > p{
  max-width:430px;
  margin:
    25px 0
    32px;
  color:#93a6c9;
  font-size:15px;
  line-height:1.8;
}

.nm-footer-status{
  display:flex;
  width:max-content;
  gap:14px;
  align-items:center;
  padding:
    13px
    17px;
  border:
    1px solid
    rgba(92,222,166,.14);
  border-radius:16px;
  background:
    rgba(48,205,143,.07);
}

.nm-footer-status-dot{
  width:10px;
  height:10px;
  flex:0 0 auto;
  border-radius:50%;
  background:#39dc91;
  box-shadow:
    0 0 0 7px
    rgba(57,220,145,.1),
    0 0 22px
    rgba(57,220,145,.45);
  animation:
    nmFooterPulse
    2.3s
    ease-in-out
    infinite;
}

.nm-footer-status strong{
  display:block;
  color:#d8ffec;
  font-size:12px;
}

.nm-footer-status small{
  display:block;
  margin-top:4px;
  color:#7fa895;
  font-size:10px;
}

.nm-footer-links{
  display:grid;
  grid-template-columns:
    repeat(
      4,
      minmax(0,1fr)
    );
  gap:38px;
}

.nm-footer-column h3{
  position:relative;
  margin:
    0 0
    24px;
  padding-bottom:14px;
  color:#fff;
  font-size:13px;
  font-weight:900;
  letter-spacing:.04em;
}

.nm-footer-column h3::after{
  content:"";
  position:absolute;
  bottom:0;
  left:0;
  width:28px;
  height:2px;
  border-radius:999px;
  background:
    linear-gradient(
      90deg,
      #6150ff,
      #24c7e8
    );
}

.nm-footer-column a{
  display:block;
  width:max-content;
  max-width:100%;
  margin-top:15px;
  color:#91a5c8;
  font-size:13px;
  text-decoration:none;
  transition:
    color .2s ease,
    transform .2s ease;
}

.nm-footer-column a:hover{
  color:#fff;
  transform:
    translateX(5px);
}

.nm-footer-command{
  display:flex;
  gap:40px;
  align-items:center;
  justify-content:space-between;
  margin-top:72px;
  padding:
    28px
    31px;
  border:
    1px solid
    rgba(119,151,218,.14);
  border-radius:24px;
  background:
    linear-gradient(
      105deg,
      rgba(97,78,255,.13),
      rgba(23,193,227,.07)
    );
  box-shadow:
    inset 0 1px 0
    rgba(255,255,255,.04);
  backdrop-filter:
    blur(20px);
}

.nm-footer-command-label{
  display:block;
  margin-bottom:9px;
  color:#6cceff;
  font-size:9px;
  font-weight:900;
  letter-spacing:.15em;
}

.nm-footer-command strong{
  color:#fff;
  font-size:
    clamp(
      20px,
      2vw,
      29px
    );
  letter-spacing:-.035em;
}

.nm-footer-tools-button{
  display:inline-flex;
  flex:0 0 auto;
  gap:17px;
  align-items:center;
  padding:
    15px
    18px
    15px
    22px;
  border-radius:15px;
  color:#fff;
  background:
    linear-gradient(
      110deg,
      #6352ff,
      #17bfe2
    );
  box-shadow:
    0 18px 40px
    rgba(43,95,222,.23);
  font-size:13px;
  font-weight:850;
  text-decoration:none;
  transition:
    transform .25s ease,
    box-shadow .25s ease;
}

.nm-footer-tools-button span{
  display:grid;
  width:30px;
  height:30px;
  place-items:center;
  border-radius:10px;
  background:
    rgba(255,255,255,.13);
}

.nm-footer-tools-button:hover{
  transform:
    translateY(-4px);
  box-shadow:
    0 25px 55px
    rgba(43,95,222,.3);
}

.nm-footer-bottom{
  display:flex;
  gap:35px;
  align-items:center;
  justify-content:space-between;
  margin-top:28px;
  padding-top:27px;
  border-top:
    1px solid
    rgba(116,144,201,.12);
}

.nm-footer-bottom p{
  margin:0;
  color:#7185a8;
  font-size:11px;
}

.nm-footer-bottom-links{
  display:flex;
  gap:13px;
  align-items:center;
}

.nm-footer-bottom-links a{
  color:#7e92b5;
  font-size:11px;
  text-decoration:none;
  transition:
    color .2s ease;
}

.nm-footer-bottom-links a:hover{
  color:#fff;
}

.nm-footer-bottom-links span{
  width:3px;
  height:3px;
  border-radius:50%;
  background:#465c82;
}

@keyframes nmFooterPulse{

  0%,
  100%{
    opacity:1;
    transform:scale(1);
  }

  50%{
    opacity:.55;
    transform:scale(1.25);
  }

}

@media(max-width:1100px){

  .nm-footer-top{
    grid-template-columns:1fr;
    gap:60px;
  }

}

@media(max-width:760px){

  .nm-footer{
    margin-top:60px;
  }

  .nm-footer-shell{
    width:
      min(
        100% - 28px,
        1500px
      );
    padding-top:60px;
  }

  .nm-footer-links{
    grid-template-columns:
      repeat(
        2,
        minmax(0,1fr)
      );
    gap:45px 25px;
  }

  .nm-footer-command{
    align-items:flex-start;
    flex-direction:column;
  }

  .nm-footer-bottom{
    align-items:flex-start;
    flex-direction:column;
  }

}

@media(max-width:470px){

  .nm-footer-links{
    grid-template-columns:1fr;
  }

  .nm-footer-tools-button{
    width:100%;
    justify-content:space-between;
  }

}

@media(prefers-reduced-motion:reduce){

  .nm-footer-status-dot{
    animation:none;
  }

}



/* =========================================================
   NETWORKMASTER THEME SYSTEM
========================================================= */

:root{

  --nm-theme-bg:
    #f5f8ff;

  --nm-theme-surface:
    rgba(
      255,
      255,
      255,
      .86
    );

  --nm-theme-surface-solid:
    #ffffff;

  --nm-theme-surface-soft:
    #f1f4ff;

  --nm-theme-text:
    #071a3d;

  --nm-theme-muted:
    #6f7f9b;

  --nm-theme-border:
    rgba(
      84,
      101,
      164,
      .15
    );

  --nm-theme-shadow:
    0 24px 70px
    rgba(
      33,
      50,
      98,
      .08
    );

}


html{

  background:
    var(
      --nm-theme-bg
    );

}


body{

  color:
    var(
      --nm-theme-text
    );

  background-color:
    var(
      --nm-theme-bg
    );

  transition:
    color .3s ease,
    background-color .3s ease;

}


/* THEME SWITCHER */

.nm-theme-switcher{

  position:relative;

  z-index:999;

  margin-left:8px;

}


.nm-theme-button{

  display:inline-flex;

  min-height:42px;

  gap:8px;

  align-items:center;

  padding:
    8px
    12px;

  border:
    1px solid
    rgba(
      93,
      107,
      166,
      .15
    );

  border-radius:13px;

  color:#17294b;

  background:
    rgba(
      255,
      255,
      255,
      .72
    );

  box-shadow:
    0 10px 28px
    rgba(
      38,
      55,
      101,
      .07
    );

  backdrop-filter:
    blur(
      18px
    );

  cursor:pointer;

  transition:
    transform .2s ease,
    border-color .2s ease,
    background .2s ease;

}


.nm-theme-button:hover{

  transform:
    translateY(
      -2px
    );

  border-color:
    rgba(
      87,
      72,
      238,
      .26
    );

}


.nm-theme-main-icon{

  display:grid;

  width:25px;

  height:25px;

  place-items:center;

  border-radius:8px;

  color:#5547ed;

  background:#eeeeff;

  font-size:15px;

}


.nm-theme-current{

  font-size:12px;

  font-weight:800;

}


.nm-theme-chevron{

  color:#7b88a1;

  font-size:10px;

  transition:
    transform .2s ease;

}


.nm-theme-switcher.is-open
.nm-theme-chevron{

  transform:
    rotate(
      180deg
    );

}


.nm-theme-menu{

  position:absolute;

  top:calc(
    100% + 12px
  );

  right:0;

  width:235px;

  padding:10px;

  visibility:hidden;

  opacity:0;

  transform:
    translateY(
      -7px
    )
    scale(
      .98
    );

  border:
    1px solid
    rgba(
      93,
      107,
      166,
      .15
    );

  border-radius:18px;

  background:
    rgba(
      255,
      255,
      255,
      .94
    );

  box-shadow:
    0 25px 65px
    rgba(
      22,
      39,
      84,
      .17
    );

  backdrop-filter:
    blur(
      24px
    );

  transition:
    opacity .2s ease,
    visibility .2s ease,
    transform .2s ease;

}


.nm-theme-switcher.is-open
.nm-theme-menu{

  visibility:visible;

  opacity:1;

  transform:
    translateY(
      0
    )
    scale(
      1
    );

}


.nm-theme-menu-title{

  padding:
    8px
    10px
    10px;

  color:#8290a8;

  font-size:9px;

  font-weight:900;

  letter-spacing:.13em;

  text-transform:uppercase;

}


.nm-theme-option{

  display:grid;

  width:100%;

  grid-template-columns:
    36px
    1fr
    16px;

  gap:10px;

  align-items:center;

  padding:
    11px
    10px;

  border:0;

  border-radius:13px;

  color:#13264a;

  background:
    transparent;

  cursor:pointer;

  text-align:left;

  transition:
    background .2s ease;

}


.nm-theme-option:hover{

  background:#f1f3ff;

}


.nm-theme-option.is-active{

  background:#ececff;

}


.nm-theme-option-icon{

  display:grid;

  width:34px;

  height:34px;

  place-items:center;

  border-radius:11px;

  color:#5446ed;

  background:#f0efff;

  font-size:17px;

}


.nm-theme-option strong{

  display:block;

  font-size:15px;

  line-height:20px;

  font-weight:700;

}


.nm-theme-option small{

  display:block;

  margin-top:2px;

  color:#7e8ba2;

  font-size:12px;

  line-height:16px;

  font-weight:500;

}


.nm-theme-option i{

  width:8px;

  height:8px;

  border:
    2px solid
    transparent;

  border-radius:50%;

}


.nm-theme-option.is-active i{

  border-color:#fff;

  background:#5547ed;

  box-shadow:
    0 0 0 2px
    #5547ed;

}


/* =========================================================
   DARK MODE
========================================================= */

html[data-theme="dark"]{

  --nm-theme-bg:
    #050b18;

  --nm-theme-surface:
    rgba(
      12,
      23,
      45,
      .83
    );

  --nm-theme-surface-solid:
    #0b162b;

  --nm-theme-surface-soft:
    #101d35;

  --nm-theme-text:
    #edf4ff;

  --nm-theme-muted:
    #91a2c2;

  --nm-theme-border:
    rgba(
      123,
      151,
      214,
      .16
    );

  --nm-theme-shadow:
    0 28px 85px
    rgba(
      0,
      0,
      0,
      .3
    );

}


html[data-theme="dark"] body{

  color:#edf4ff;

  background:

    radial-gradient(
      circle at 12% 5%,
      rgba(
        89,
        68,
        255,
        .13
      ),
      transparent 27%
    ),

    radial-gradient(
      circle at 89% 11%,
      rgba(
        17,
        194,
        231,
        .1
      ),
      transparent 28%
    ),

    #050b18;

}


/* NAVBAR */

html[data-theme="dark"]
header,

html[data-theme="dark"]
.navbar,

html[data-theme="dark"]
.site-header{

  border-color:
    rgba(
      125,
      150,
      207,
      .13
    );

  color:#edf4ff;

  background:
    rgba(
      6,
      14,
      29,
      .78
    );

  box-shadow:
    0 14px 40px
    rgba(
      0,
      0,
      0,
      .18
    );

  backdrop-filter:
    blur(
      24px
    );

}


html[data-theme="dark"]
header a,

html[data-theme="dark"]
.navbar a,

html[data-theme="dark"]
.site-header a{

  color:#c8d5ec;

}


html[data-theme="dark"]
.nm-theme-button{

  border-color:
    rgba(
      123,
      151,
      214,
      .18
    );

  color:#e7efff;

  background:
    rgba(
      15,
      28,
      52,
      .88
    );

  box-shadow:
    0 15px 35px
    rgba(
      0,
      0,
      0,
      .23
    );

}


html[data-theme="dark"]
.nm-theme-main-icon{

  color:#93e4ff;

  background:
    rgba(
      42,
      196,
      233,
      .12
    );

}


html[data-theme="dark"]
.nm-theme-menu{

  border-color:
    rgba(
      122,
      151,
      215,
      .18
    );

  background:
    rgba(
      8,
      18,
      36,
      .96
    );

  box-shadow:
    0 30px 70px
    rgba(
      0,
      0,
      0,
      .48
    );

}


html[data-theme="dark"]
.nm-theme-option{

  color:#e8efff;

}


html[data-theme="dark"]
.nm-theme-option:hover{

  background:
    rgba(
      91,
      76,
      238,
      .12
    );

}


html[data-theme="dark"]
.nm-theme-option.is-active{

  background:
    rgba(
      91,
      76,
      238,
      .19
    );

}


html[data-theme="dark"]
.nm-theme-option-icon{

  color:#8de2ff;

  background:
    rgba(
      39,
      194,
      232,
      .1
    );

}


/* TOOL EXPLORER */

html[data-theme="dark"]
.tool-command-center{

  border-color:
    rgba(
      121,
      148,
      210,
      .16
    );

  background:

    radial-gradient(
      circle at 85% 12%,
      rgba(
        26,
        192,
        229,
        .12
      ),
      transparent 32%
    ),

    radial-gradient(
      circle at 12% 4%,
      rgba(
        98,
        74,
        255,
        .18
      ),
      transparent 35%
    ),

    rgba(
      8,
      18,
      36,
      .88
    );

  box-shadow:
    0 35px 100px
    rgba(
      0,
      0,
      0,
      .27
    );

}


html[data-theme="dark"]
.tool-command-center h1,

html[data-theme="dark"]
.tool-command-center h2,

html[data-theme="dark"]
.tool-command-center h3{

  color:#f0f5ff;

}


html[data-theme="dark"]
.tool-command-center p{

  color:#91a2c0;

}


html[data-theme="dark"]
#toolSearch,

html[data-theme="dark"]
.tool-search input,

html[data-theme="dark"]
.tool-search{

  border-color:
    rgba(
      125,
      153,
      216,
      .18
    );

  color:#eaf2ff;

  background:
    rgba(
      13,
      25,
      47,
      .85
    );

}


html[data-theme="dark"]
#toolSearch::placeholder{

  color:#6f82a6;

}


html[data-theme="dark"]
.tool-category{

  border-color:
    rgba(
      126,
      151,
      207,
      .1
    );

  color:#aebddd;

  background:
    rgba(
      19,
      32,
      58,
      .84
    );

}


html[data-theme="dark"]
.tool-category:hover{

  color:#fff;

  background:
    rgba(
      87,
      72,
      238,
      .22
    );

}


html[data-theme="dark"]
.tool-category.active{

  color:#fff;

  background:
    linear-gradient(
      110deg,
      #6552ff,
      #1abfe2
    );

}


html[data-theme="dark"]
.mini-tool-card{

  border-color:
    rgba(
      122,
      150,
      213,
      .15
    );

  background:
    rgba(
      13,
      25,
      47,
      .84
    );

  box-shadow:
    0 20px 50px
    rgba(
      0,
      0,
      0,
      .18
    );

}


html[data-theme="dark"]
.mini-tool-card:hover{

  border-color:
    rgba(
      91,
      214,
      255,
      .3
    );

  background:
    rgba(
      17,
      32,
      60,
      .97
    );

  box-shadow:
    0 28px 65px
    rgba(
      0,
      0,
      0,
      .3
    );

}


html[data-theme="dark"]
.mini-tool-card h3{

  color:#edf4ff;

}


html[data-theme="dark"]
.mini-tool-card p{

  color:#899bbd;

}


html[data-theme="dark"]
.tool-explorer-footer{

  border-color:
    rgba(
      120,
      147,
      207,
      .12
    );

}


html[data-theme="dark"]
.tool-explorer-footer strong{

  color:#edf4ff;

}


html[data-theme="dark"]
.tool-explorer-footer p{

  color:#8fa0be;

}


/* TRUST */

html[data-theme="dark"]
.nm-section-shell{

  border-color:
    rgba(
      122,
      151,
      215,
      .16
    );

  background:

    radial-gradient(
      circle at 84% 15%,
      rgba(
        25,
        194,
        230,
        .14
      ),
      transparent 30%
    ),

    radial-gradient(
      circle at 17% 78%,
      rgba(
        98,
        75,
        255,
        .16
      ),
      transparent 34%
    ),

    linear-gradient(
      135deg,
      #081326,
      #0b172c 50%,
      #081929
    );

  box-shadow:
    0 40px 110px
    rgba(
      0,
      0,
      0,
      .31
    );

}


html[data-theme="dark"]
.nm-section-shell::before{

  opacity:.18;

}


html[data-theme="dark"]
.nm-trust-copy h2,

html[data-theme="dark"]
.nm-section-heading h2,

html[data-theme="dark"]
.nm-articles-header h2{

  color:#f1f6ff;

}


html[data-theme="dark"]
.nm-trust-lead,

html[data-theme="dark"]
.nm-section-heading p,

html[data-theme="dark"]
.nm-articles-header p{

  color:#91a2c0;

}


html[data-theme="dark"]
.nm-trust-point{

  border-color:
    rgba(
      122,
      150,
      213,
      .13
    );

  background:
    rgba(
      14,
      27,
      50,
      .7
    );

}


html[data-theme="dark"]
.nm-trust-point strong{

  color:#edf4ff;

}


html[data-theme="dark"]
.nm-trust-point p{

  color:#8c9dbc;

}


html[data-theme="dark"]
.nm-point-number{

  color:#9ae7ff;

  background:
    rgba(
      35,
      193,
      229,
      .1
    );

}


html[data-theme="dark"]
.nm-globe-core{

  border-color:
    rgba(
      96,
      202,
      244,
      .17
    );

  background:

    radial-gradient(
      circle at 36% 34%,
      rgba(
        102,
        77,
        255,
        .23
      ),
      transparent 30%
    ),

    radial-gradient(
      circle at 67% 65%,
      rgba(
        28,
        197,
        232,
        .2
      ),
      transparent 35%
    ),

    rgba(
      9,
      23,
      46,
      .69
    );

  box-shadow:
    0 45px 100px
    rgba(
      0,
      0,
      0,
      .28
    ),
    inset
    0 0 80px
    rgba(
      55,
      164,
      235,
      .08
    );

}


html[data-theme="dark"]
.nm-floating-card{

  border-color:
    rgba(
      120,
      152,
      216,
      .16
    );

  background:
    rgba(
      10,
      23,
      46,
      .84
    );

  box-shadow:
    0 24px 60px
    rgba(
      0,
      0,
      0,
      .26
    );

}


html[data-theme="dark"]
.nm-floating-card strong{

  color:#e9f1ff;

}


/* CREDIBILITY */

html[data-theme="dark"]
.nm-credibility-strip{

  border-color:
    rgba(
      121,
      150,
      212,
      .15
    );

  background:
    rgba(
      10,
      22,
      43,
      .84
    );

  box-shadow:
    0 25px 70px
    rgba(
      0,
      0,
      0,
      .22
    );

}


html[data-theme="dark"]
.nm-credibility-item{

  border-color:
    rgba(
      120,
      148,
      208,
      .12
    ) !important;

}


html[data-theme="dark"]
.nm-credibility-item strong{

  color:#edf4ff;

}


html[data-theme="dark"]
.nm-credibility-item small{

  color:#8496b7;

}


/* BENTO */

html[data-theme="dark"]
.nm-bento-card{

  border-color:
    rgba(
      121,
      149,
      211,
      .15
    );

  background:

    radial-gradient(
      circle at 91% 9%,
      rgba(
        94,
        74,
        255,
        .14
      ),
      transparent 34%
    ),

    rgba(
      10,
      22,
      43,
      .87
    );

  box-shadow:
    0 26px 75px
    rgba(
      0,
      0,
      0,
      .22
    );

}


html[data-theme="dark"]
.nm-bento-card h3{

  color:#edf4ff;

}


html[data-theme="dark"]
.nm-bento-card p{

  color:#8d9fbe;

}


html[data-theme="dark"]
.nm-bento-dark{

  background:

    radial-gradient(
      circle at 50% 38%,
      rgba(
        33,
        201,
        238,
        .22
      ),
      transparent 30%
    ),

    radial-gradient(
      circle at 82% 12%,
      rgba(
        103,
        79,
        255,
        .35
      ),
      transparent 28%
    ),

    #071a3c;

}


html[data-theme="dark"]
.nm-command-line{

  border-color:
    rgba(
      121,
      149,
      211,
      .15
    );

  color:#8294b4;

  background:#0f1e39;

}


html[data-theme="dark"]
.nm-command-preview span,

html[data-theme="dark"]
.nm-flow-map span{

  border-color:
    rgba(
      94,
      212,
      248,
      .16
    );

  color:#91e4ff;

  background:
    rgba(
      30,
      193,
      229,
      .09
    );

}


/* ARTICLES */

html[data-theme="dark"]
.nm-featured-article,

html[data-theme="dark"]
.nm-article-card{

  border-color:
    rgba(
      122,
      151,
      214,
      .15
    );

  background:
    rgba(
      10,
      22,
      43,
      .88
    );

  box-shadow:
    0 25px 75px
    rgba(
      0,
      0,
      0,
      .22
    );

}


html[data-theme="dark"]
.nm-featured-article-copy h3,

html[data-theme="dark"]
.nm-article-card h3{

  color:#edf4ff;

}


html[data-theme="dark"]
.nm-featured-article-copy p,

html[data-theme="dark"]
.nm-article-card p{

  color:#8e9fbd;

}


html[data-theme="dark"]
.nm-article-top small{

  color:#91a2c2;

  background:
    rgba(
      125,
      149,
      202,
      .1
    );

}


/* FOOTER */

html[data-theme="dark"]
.nm-footer{

  border-top:
    1px solid
    rgba(
      119,
      149,
      211,
      .12
    );

}


/* MOBILE */

@media(max-width:760px){

  .nm-theme-switcher{

    margin-left:0;

  }


  .nm-theme-current{

    display:none;

  }


  .nm-theme-button{

    width:42px;

    padding:7px;

    justify-content:center;

  }


  .nm-theme-chevron{

    display:none;

  }


  .nm-theme-menu{

    position:fixed;

    top:74px;

    right:14px;

  }

}


/* REDUCED MOTION */

@media(
  prefers-reduced-motion:
  reduce
){

  body,

  .nm-theme-button,

  .nm-theme-menu{

    transition:none;

  }

}





/* RESTORE NAVBAR TOP SPACING */

.home-header{
  top:22px !important;
  margin-top:22px !important;
}



/* DARK MODE PAGE BACKGROUND FIX */

html[data-theme="dark"] .site-bg{
  background:
    radial-gradient(
      circle at 20% 18%,
      rgba(109, 93, 252, 0.16),
      transparent 30%
    ),
    radial-gradient(
      circle at 82% 20%,
      rgba(6, 182, 212, 0.12),
      transparent 28%
    ),
    linear-gradient(
      180deg,
      #050b18 0%,
      #071225 54%,
      #050b18 100%
    );
}



/* MATCH TOP GAP WITH PAGE BACKGROUND */

/* Light mode */
html[data-theme="light"],
html[data-theme="light"] body,
html[data-theme="light"] .site-bg{
  background:
    radial-gradient(
      circle at 20% 18%,
      rgba(109, 93, 252, 0.16),
      transparent 30%
    ),
    radial-gradient(
      circle at 82% 20%,
      rgba(6, 182, 212, 0.16),
      transparent 28%
    ),
    linear-gradient(
      180deg,
      #f8fbff 0%,
      #eef7ff 54%,
      #f9fbff 100%
    ) !important;
}


/* Dark mode */
html[data-theme="dark"],
html[data-theme="dark"] body,
html[data-theme="dark"] .site-bg{
  background:
    radial-gradient(
      circle at 20% 18%,
      rgba(109, 93, 252, 0.16),
      transparent 30%
    ),
    radial-gradient(
      circle at 82% 20%,
      rgba(6, 182, 212, 0.12),
      transparent 28%
    ),
    linear-gradient(
      180deg,
      #050b18 0%,
      #071225 54%,
      #050b18 100%
    ) !important;
}



/* FOOTER USES HEADER LOGO */

.nm-footer-logo{
  display:inline-flex;
  align-items:center;
  width:max-content;
  text-decoration:none;
}

.nm-footer-logo-image{
  display:block;
  width:170px;
  max-width:100%;
  height:auto;
  object-fit:contain;
}

.nm-footer-logo-mark{
  display:none !important;
}

@media(max-width:620px){

  .nm-footer-logo-image{
    width:150px;
  }

}



/* FOOTER LOGO VISIBILITY FIX */

.nm-footer-logo{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:max-content;
  padding:14px 18px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:18px;
  background:rgba(255,255,255,.92);
  box-shadow:
    0 18px 45px rgba(0,0,0,.18),
    inset 0 1px 0 rgba(255,255,255,.95);
  backdrop-filter:blur(16px);
}

.nm-footer-logo-image{
  display:block;
  width:175px;
  height:auto;
  object-fit:contain;
}

@media(max-width:620px){

  .nm-footer-logo{
    padding:12px 15px;
  }

  .nm-footer-logo-image{
    width:150px;
  }

}

EOFcat >> /var/www/networkmaster-main/main.css <<'EOF'


/* FOOTER LOGO VISIBILITY FIX */

.nm-footer-logo{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:max-content;
  padding:14px 18px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:18px;
  background:rgba(255,255,255,.92);
  box-shadow:
    0 18px 45px rgba(0,0,0,.18),
    inset 0 1px 0 rgba(255,255,255,.95);
  backdrop-filter:blur(16px);
}

.nm-footer-logo-image{
  display:block;
  width:175px;
  height:auto;
  object-fit:contain;
}

@media(max-width:620px){

  .nm-footer-logo{
    padding:12px 15px;
  }

  .nm-footer-logo-image{
    width:150px;
  }

}

EOFcat >> /var/www/networkmaster-main/main.css <<'EOF'


/* FOOTER LOGO VISIBILITY FIX */

.nm-footer-logo{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:max-content;
  padding:14px 18px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:18px;
  background:rgba(255,255,255,.92);
  box-shadow:
    0 18px 45px rgba(0,0,0,.18),
    inset 0 1px 0 rgba(255,255,255,.95);
  backdrop-filter:blur(16px);
}

.nm-footer-logo-image{
  display:block;
  width:175px;
  height:auto;
  object-fit:contain;
}

@media(max-width:620px){

  .nm-footer-logo{
    padding:12px 15px;
  }

  .nm-footer-logo-image{
    width:150px;
  }

}

EOFcat >> /var/www/networkmaster-main/main.css <<'EOF'


/* FOOTER LOGO VISIBILITY FIX */

.nm-footer-logo{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:max-content;
  padding:14px 18px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:18px;
  background:rgba(255,255,255,.92);
  box-shadow:
    0 18px 45px rgba(0,0,0,.18),
    inset 0 1px 0 rgba(255,255,255,.95);
  backdrop-filter:blur(16px);
}

.nm-footer-logo-image{
  display:block;
  width:175px;
  height:auto;
  object-fit:contain;
}

@media(max-width:620px){

  .nm-footer-logo{
    padding:12px 15px;
  }

  .nm-footer-logo-image{
    width:150px;
  }

}



/* FOOTER LOGO VISIBILITY FIX */

.nm-footer-logo{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:max-content;
  padding:14px 18px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:18px;
  background:rgba(255,255,255,.92);
  box-shadow:
    0 18px 45px rgba(0,0,0,.18),
    inset 0 1px 0 rgba(255,255,255,.95);
  backdrop-filter:blur(16px);
}

.nm-footer-logo-image{
  display:block;
  width:175px;
  height:auto;
  object-fit:contain;
}

@media(max-width:620px){

  .nm-footer-logo{
    padding:12px 15px;
  }

  .nm-footer-logo-image{
    width:150px;
  }

}



/* NAVBAR TYPOGRAPHY MATCH THEME MENU */

.home-header .home-nav > a,
.home-header .language-trigger,
.home-header .header-cta,
.nm-theme-button{

    font-family: Inter, ui-sans-serif, system-ui, sans-serif;

    font-size:15px;

    line-height:20px;

    font-weight:700;

    letter-spacing:-0.01em;

}


.home-header .home-nav > a{

    color:#13264a;

}


.home-header .language-trigger{

    font-weight:700;

}


.nm-theme-button{

    font-weight:700;

}



/* Premium Auto Theme Button */

.nm-theme-button{

    min-width:140px;

    justify-content:center;

    gap:10px;

    font-weight:700;

}


.nm-theme-button .nm-theme-main-icon{

    width:30px;

    height:30px;

    display:grid;

    place-items:center;

    border-radius:10px;

}



.home-header .home-nav > a{
    white-space:nowrap;
}

.home-header .home-nav{
    flex-wrap:nowrap;
}

.nm-theme-button{
    white-space:nowrap;
}



/* Remove manual theme switcher */
.nm-theme-switcher{
  display:none !important;
}



/* =========================================================
   NETWORKMASTER BLOG SECTION
   ========================================================= */

.nm-blog-section {
  width: min(1320px, calc(100% - 48px));
  margin: 88px auto 96px;
}

.nm-blog-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 30px;
}

.nm-blog-eyebrow {
  display: block;
  margin-bottom: 10px;
  color: #536cff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.nm-blog-heading h2 {
  margin: 0;
  color: #101c3b;
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.nm-blog-heading p {
  max-width: 660px;
  margin: 14px 0 0;
  color: #6b7896;
  font-size: 16px;
  line-height: 1.75;
}

.nm-blog-top-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  color: #3757ed;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.nm-blog-top-link span,
.nm-blog-all-button span {
  transition: transform 180ms ease;
}

.nm-blog-top-link:hover span,
.nm-blog-all-button:hover span {
  transform: translateX(4px);
}

.nm-blog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.nm-blog-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(122, 139, 177, 0.22);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 46px rgba(35, 55, 100, 0.08);
  transition:
    transform 200ms ease,
    border-color 200ms ease,
    box-shadow 200ms ease;
}

.nm-blog-card:hover {
  transform: translateY(-6px);
  border-color: rgba(84, 105, 255, 0.38);
  box-shadow: 0 24px 58px rgba(35, 55, 100, 0.14);
}

.nm-blog-visual {
  position: relative;
  display: block;
  height: 210px;
  overflow: hidden;
  text-decoration: none;
  isolation: isolate;
}

.nm-blog-visual::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.55;
}

.nm-blog-visual::after {
  position: absolute;
  width: 210px;
  height: 210px;
  right: -70px;
  bottom: -100px;
  border-radius: 50%;
  content: "";
  background: rgba(255,255,255,0.13);
  filter: blur(2px);
}

.nm-blog-visual-dns {
  background:
    radial-gradient(circle at 25% 25%, rgba(86, 222, 255, 0.55), transparent 32%),
    linear-gradient(135deg, #182866 0%, #515cff 54%, #19aede 100%);
}

.nm-blog-visual-ip {
  background:
    radial-gradient(circle at 75% 25%, rgba(160, 255, 238, 0.45), transparent 32%),
    linear-gradient(135deg, #063f56 0%, #087d8d 52%, #22bba8 100%);
}

.nm-blog-visual-route {
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 190, 110, 0.5), transparent 30%),
    linear-gradient(135deg, #43246f 0%, #8a42be 50%, #f08072 100%);
}

.nm-blog-visual-security {
  background:
    radial-gradient(circle at 70% 20%, rgba(116, 227, 255, 0.42), transparent 30%),
    linear-gradient(135deg, #071b40 0%, #174b7c 52%, #147c99 100%);
}

.nm-blog-visual-label {
  position: absolute;
  z-index: 5;
  top: 20px;
  left: 20px;
  padding: 7px 11px;
  border: 1px solid rgba(255,255,255,0.24);
  border-radius: 999px;
  color: #fff;
  background: rgba(8, 18, 54, 0.22);
  backdrop-filter: blur(12px);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.nm-blog-node {
  position: absolute;
  z-index: 3;
  width: 22px;
  height: 22px;
  border: 5px solid rgba(255,255,255,0.4);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.nm-blog-node-a {
  top: 82px;
  left: 54px;
}

.nm-blog-node-b {
  top: 125px;
  left: 145px;
}

.nm-blog-node-c {
  top: 66px;
  right: 48px;
}

.nm-blog-line {
  position: absolute;
  z-index: 2;
  height: 3px;
  border-radius: 20px;
  background: rgba(255,255,255,0.7);
  transform-origin: left center;
}

.nm-blog-line-a {
  top: 102px;
  left: 71px;
  width: 92px;
  transform: rotate(24deg);
}

.nm-blog-line-b {
  top: 137px;
  left: 163px;
  width: 90px;
  transform: rotate(-38deg);
}

.nm-blog-ipv4,
.nm-blog-ipv6 {
  position: absolute;
  z-index: 3;
  left: 28px;
  right: 28px;
  padding: 14px 17px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 14px;
  color: #fff;
  background: rgba(3, 27, 42, 0.24);
  backdrop-filter: blur(10px);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 14px;
  font-weight: 700;
}

.nm-blog-ipv4 {
  top: 78px;
}

.nm-blog-ipv6 {
  top: 134px;
}

.nm-route-point {
  position: absolute;
  z-index: 4;
  width: 16px;
  height: 16px;
  border: 4px solid rgba(255,255,255,0.38);
  border-radius: 50%;
  background: #fff;
}

.nm-route-point-1 {
  left: 34px;
  top: 145px;
}

.nm-route-point-2 {
  left: 100px;
  top: 92px;
}

.nm-route-point-3 {
  right: 96px;
  top: 126px;
}

.nm-route-point-4 {
  right: 32px;
  top: 68px;
}

.nm-route-path {
  position: absolute;
  z-index: 3;
  left: 44px;
  right: 42px;
  top: 105px;
  height: 68px;
  border-top: 3px dashed rgba(255,255,255,0.78);
  border-radius: 50%;
  transform: rotate(-9deg);
}

.nm-blog-lock {
  position: absolute;
  z-index: 3;
  top: 66px;
  left: 50%;
  width: 92px;
  height: 108px;
  transform: translateX(-50%);
}

.nm-blog-lock-top {
  position: absolute;
  top: 0;
  left: 19px;
  width: 54px;
  height: 60px;
  border: 10px solid rgba(255,255,255,0.9);
  border-bottom: 0;
  border-radius: 30px 30px 0 0;
}

.nm-blog-lock-body {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 68px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 18px;
  background: rgba(255,255,255,0.88);
  box-shadow: 0 15px 35px rgba(0,0,0,0.18);
}

.nm-blog-lock-body::after {
  position: absolute;
  top: 21px;
  left: 50%;
  width: 10px;
  height: 22px;
  border-radius: 10px;
  content: "";
  background: #174b7c;
  transform: translateX(-50%);
}

.nm-blog-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 23px 23px 21px;
}

.nm-blog-category {
  align-self: flex-start;
  margin-bottom: 13px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #4057d8;
  background: rgba(82, 102, 255, 0.1);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.nm-blog-content h3 {
  margin: 0;
  font-size: 19px;
  line-height: 1.42;
  letter-spacing: -0.02em;
}

.nm-blog-content h3 a {
  color: #13203f;
  text-decoration: none;
}

.nm-blog-content p {
  display: -webkit-box;
  min-height: 72px;
  margin: 13px 0 21px;
  overflow: hidden;
  color: #72809d;
  font-size: 14px;
  line-height: 1.72;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.nm-blog-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(122, 139, 177, 0.16);
  font-size: 12px;
}

.nm-blog-meta > span {
  color: #8a96ae;
}

.nm-blog-meta a {
  color: #4058dc;
  font-weight: 800;
  text-decoration: none;
}

.nm-blog-bottom-action {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

.nm-blog-all-button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 24px;
  border: 1px solid rgba(83, 105, 255, 0.24);
  border-radius: 16px;
  color: #324ed7;
  background: rgba(255,255,255,0.72);
  box-shadow: 0 12px 32px rgba(43, 62, 119, 0.08);
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.nm-blog-all-button:hover {
  transform: translateY(-2px);
  border-color: rgba(83, 105, 255, 0.46);
  box-shadow: 0 17px 38px rgba(43, 62, 119, 0.13);
}


/* Dark theme */

html[data-theme="dark"] .nm-blog-heading h2 {
  color: #f5f7ff;
}

html[data-theme="dark"] .nm-blog-heading p {
  color: #9ca9c8;
}

html[data-theme="dark"] .nm-blog-card {
  border-color: rgba(123, 147, 203, 0.18);
  background: rgba(15, 28, 57, 0.82);
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.22);
}

html[data-theme="dark"] .nm-blog-card:hover {
  border-color: rgba(103, 128, 255, 0.42);
  box-shadow: 0 26px 62px rgba(0, 0, 0, 0.32);
}

html[data-theme="dark"] .nm-blog-content h3 a {
  color: #f2f5ff;
}

html[data-theme="dark"] .nm-blog-content p {
  color: #9ba8c5;
}

html[data-theme="dark"] .nm-blog-category {
  color: #aebaff;
  background: rgba(91, 110, 255, 0.16);
}

html[data-theme="dark"] .nm-blog-meta {
  border-top-color: rgba(132, 150, 194, 0.15);
}

html[data-theme="dark"] .nm-blog-meta a,
html[data-theme="dark"] .nm-blog-top-link {
  color: #9cacff;
}

html[data-theme="dark"] .nm-blog-all-button {
  border-color: rgba(110, 132, 255, 0.26);
  color: #c0caff;
  background: rgba(20, 34, 67, 0.78);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.22);
}


/* Responsive */

@media (max-width: 1120px) {
  .nm-blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .nm-blog-section {
    width: min(100% - 28px, 1320px);
    margin-top: 64px;
    margin-bottom: 70px;
  }

  .nm-blog-heading {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 24px;
  }

  .nm-blog-top-link {
    display: none;
  }

  .nm-blog-grid {
    grid-template-columns: 1fr;
  }

  .nm-blog-visual {
    height: 200px;
  }
}



/* NETWORKMASTER ARTICLE TEMPLATE START */

.nm-article-template {
  width: 100%;
}

.nm-article {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
  padding: 58px 0 40px;
}

.nm-article-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 42px;
  color: #8792aa;
  font-size: 13px;
}

.nm-article-breadcrumb a {
  color: #6072db;
  font-weight: 700;
  text-decoration: none;
}

.nm-article-header {
  max-width: 920px;
  margin-bottom: 42px;
}

.nm-article-category {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 7px 12px;
  border-radius: 999px;
  color: #4359da;
  background: rgba(82, 103, 255, 0.1);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.11em;
}

.nm-article-header h1 {
  max-width: 900px;
  margin: 0;
  color: #111d3a;
  font-size: clamp(42px, 6vw, 74px);
  line-height: 1.03;
  letter-spacing: -0.055em;
}

.nm-article-summary {
  max-width: 790px;
  margin: 24px 0 0;
  color: #687791;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.75;
}

.nm-article-information {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 25px;
  color: #8792a8;
  font-size: 13px;
}

.nm-article-cover {
  position: relative;
  height: clamp(300px, 42vw, 500px);
  overflow: hidden;
  margin-bottom: 64px;
  border: 1px solid rgba(114, 131, 177, 0.22);
  border-radius: 30px;
  background:
    radial-gradient(circle at 25% 20%, rgba(76, 218, 255, 0.38), transparent 31%),
    radial-gradient(circle at 80% 80%, rgba(140, 89, 255, 0.4), transparent 34%),
    linear-gradient(135deg, #0b1d4b 0%, #283f9b 50%, #5363ed 100%);
  box-shadow: 0 28px 70px rgba(28, 47, 106, 0.18);
}

.nm-article-cover-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255,255,255,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 38px 38px;
}

.nm-article-cover-content {
  position: absolute;
  right: 42px;
  bottom: 38px;
  left: 42px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  color: #fff;
}

.nm-article-cover-content span {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.nm-article-cover-content strong {
  font-size: clamp(24px, 4vw, 46px);
  letter-spacing: -0.04em;
}

.nm-article-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 760px);
  justify-content: center;
  gap: 70px;
}

.nm-article-toc {
  position: sticky;
  top: 110px;
  display: flex;
  align-self: start;
  flex-direction: column;
  gap: 13px;
  padding: 22px;
  border: 1px solid rgba(118, 135, 177, 0.2);
  border-radius: 20px;
  background: rgba(255,255,255,0.68);
}

.nm-article-toc strong {
  margin-bottom: 7px;
  color: #192541;
  font-size: 13px;
}

.nm-article-toc a {
  color: #75819a;
  font-size: 13px;
  line-height: 1.45;
  text-decoration: none;
}

.nm-article-toc a:hover {
  color: #4d62de;
}

.nm-article-body {
  min-width: 0;
  color: #44516a;
  font-size: 17px;
  line-height: 1.9;
}

.nm-article-body section {
  scroll-margin-top: 120px;
  margin-bottom: 52px;
}

.nm-article-body h2 {
  margin: 0 0 20px;
  color: #17233f;
  font-size: clamp(27px, 3vw, 38px);
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.nm-article-body h3 {
  margin: 35px 0 14px;
  color: #202c47;
  font-size: 23px;
  line-height: 1.35;
}

.nm-article-body p {
  margin: 0 0 22px;
}

.nm-article-body ul,
.nm-article-body ol {
  margin: 0 0 25px;
  padding-left: 25px;
}

.nm-article-body li {
  margin-bottom: 9px;
  padding-left: 5px;
}

.nm-article-body pre {
  margin: 26px 0;
  overflow-x: auto;
  padding: 24px;
  border: 1px solid rgba(115, 137, 190, 0.18);
  border-radius: 18px;
  color: #dbe4ff;
  background: #101b35;
  font-size: 14px;
  line-height: 1.75;
}

.nm-article-body code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.nm-article-note {
  margin: 30px 0;
  padding: 21px 23px;
  border: 1px solid rgba(80, 104, 231, 0.2);
  border-left: 4px solid #5267e8;
  border-radius: 16px;
  background: rgba(81, 104, 232, 0.07);
}

.nm-article-note strong {
  display: block;
  margin-bottom: 6px;
  color: #3148c9;
  font-size: 14px;
}

.nm-article-note p {
  margin: 0;
}

.nm-article-tool-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 65px;
  padding: 28px;
  border: 1px solid rgba(93, 112, 226, 0.2);
  border-radius: 23px;
  background:
    radial-gradient(circle at 90% 0%, rgba(91, 115, 255, 0.14), transparent 38%),
    rgba(255,255,255,0.72);
}

.nm-article-tool-cta div {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.nm-article-tool-cta div span {
  color: #6372bd;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.11em;
}

.nm-article-tool-cta div strong {
  color: #172441;
  font-size: 18px;
}

.nm-article-tool-cta > a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex: 0 0 auto;
  padding: 0 19px;
  border-radius: 14px;
  color: #fff;
  background: #4d61de;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}


/* Article dark mode */

html[data-theme="dark"] .nm-article-header h1,
html[data-theme="dark"] .nm-article-body h2,
html[data-theme="dark"] .nm-article-body h3 {
  color: #f2f5ff;
}

html[data-theme="dark"] .nm-article-summary,
html[data-theme="dark"] .nm-article-body {
  color: #a5b0ca;
}

html[data-theme="dark"] .nm-article-toc {
  border-color: rgba(125, 145, 194, 0.18);
  background: rgba(15, 28, 57, 0.76);
}

html[data-theme="dark"] .nm-article-toc strong,
html[data-theme="dark"] .nm-article-tool-cta div strong {
  color: #eff3ff;
}

html[data-theme="dark"] .nm-article-toc a {
  color: #96a4c5;
}

html[data-theme="dark"] .nm-article-note {
  border-color: rgba(103, 126, 255, 0.22);
  border-left-color: #7385ff;
  background: rgba(79, 101, 222, 0.1);
}

html[data-theme="dark"] .nm-article-note strong {
  color: #aab6ff;
}

html[data-theme="dark"] .nm-article-tool-cta {
  border-color: rgba(113, 135, 229, 0.18);
  background:
    radial-gradient(circle at 90% 0%, rgba(91, 115, 255, 0.14), transparent 38%),
    rgba(15, 28, 57, 0.78);
}


/* Article responsive */

@media (max-width: 940px) {
  .nm-article-layout {
    grid-template-columns: minmax(0, 760px);
  }

  .nm-article-toc {
    position: static;
  }
}

@media (max-width: 720px) {
  .nm-article {
    width: min(100% - 28px, 1160px);
    padding-top: 38px;
  }

  .nm-article-breadcrumb {
    margin-bottom: 30px;
  }

  .nm-article-cover {
    margin-bottom: 42px;
    border-radius: 22px;
  }

  .nm-article-cover-content {
    right: 24px;
    bottom: 24px;
    left: 24px;
    align-items: flex-start;
    flex-direction: column;
  }

  .nm-article-layout {
    gap: 40px;
  }

  .nm-article-body {
    font-size: 16px;
  }

  .nm-article-tool-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* NETWORKMASTER ARTICLE TEMPLATE END */


/* Empty reusable page content */
.nm-empty-page-content {
  width: min(1160px, calc(100% - 48px));
  min-height: 520px;
  margin: 0 auto;
  padding: 60px 0;
}

@media (max-width: 720px) {
  .nm-empty-page-content {
    width: min(100% - 28px, 1160px);
    min-height: 360px;
    padding: 40px 0;
  }
}

