:root {
  --nx-bg: #07111f;
  --nx-bg-soft: #0d1b2e;
  --nx-card: rgba(255, 255, 255, 0.08);
  --nx-card-strong: rgba(255, 255, 255, 0.12);
  --nx-border: rgba(255, 255, 255, 0.12);
  --nx-text: #d8e5ff;
  --nx-muted: #a8b6d2;
  --nx-white: #ffffff;
  --nx-primary: #4f46e5;
  --nx-secondary: #06b6d4;
  --nx-accent: #f97316;
  --nx-light-surface: #f8fbff;
  --nx-dark-text: #0f172a;
  --nx-gradient: linear-gradient(135deg, #4f46e5 0%, #06b6d4 50%, #f97316 100%);
  --radius: 24px;
  --shadow: 0 24px 80px rgba(2, 8, 23, 0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--nx-text);
  background:
    radial-gradient(circle at 10% 10%, rgba(79, 70, 229, 0.26), transparent 30%),
    radial-gradient(circle at 90% 15%, rgba(6, 182, 212, 0.22), transparent 25%),
    linear-gradient(180deg, #07111f 0%, #0b1324 40%, #eef4ff 40%, #f8fbff 100%);
  font-family: Inter, sans-serif;
  line-height: 1.65;
}
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1rem; }
.container { width: min(1280px, calc(100% - 32px)); margin: 0 auto; }
.section { padding: 88px 0; }
.section-dark { background: linear-gradient(180deg, #0a1527, #0f223e); color: var(--nx-text); }
.section-soft { background: linear-gradient(180deg, #f8fbff, #eef4ff); color: var(--nx-dark-text); }
.page-shell, .site-main > .section:not(.hero-section):not(.trust-strip):not(.section-dark) { color: var(--nx-dark-text); }
.text-center { text-align: center; }

.topbar {
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(12px);
}
.topbar-inner {
  min-height: 44px;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  font-size: 0.92rem;
  color: var(--nx-muted);
}
.topbar-left, .topbar-right { display: flex; gap: 16px; flex-wrap: wrap; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(18px);
  background: rgba(7, 17, 31, 0.82);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 84px;
}
.brand-text {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--nx-white);
}
.brand-text strong {
  display: block;
  font-size: 1.1rem;
  font-family: Manrope, sans-serif;
}
.brand-text small { display: block; color: var(--nx-muted); font-size: 0.82rem; }
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--nx-gradient);
  box-shadow: 0 12px 24px rgba(79, 70, 229, 0.28);
  position: relative;
}
.brand-mark::before,
.brand-mark::after {
  content: '';
  position: absolute;
  border-radius: 999px;
  background: rgba(255,255,255,0.92);
}
.brand-mark::before { inset: 10px 17px 10px 17px; }
.brand-mark::after { inset: 17px 10px 17px 10px; }

.main-navigation {
  display: flex;
  align-items: center;
  gap: 20px;
}
.primary-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.primary-menu li { position: relative; }
.primary-menu a {
  padding: 12px 14px;
  border-radius: 999px;
  color: var(--nx-text);
  font-weight: 600;
  transition: 0.3s ease;
}
.primary-menu a:hover,
.primary-menu .current-menu-item > a {
  background: rgba(255,255,255,0.08);
  color: var(--nx-white);
}
.menu-toggle {
  display: none;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 0;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: #fff;
  transition: 0.25s ease;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 700;
  transition: 0.35s ease;
  border: 1px solid transparent;
}
.button:hover { transform: translateY(-2px); }
.button-primary {
  background: var(--nx-gradient);
  color: #fff;
  box-shadow: 0 14px 36px rgba(79, 70, 229, 0.28);
}
.button-secondary {
  border-color: rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
  color: inherit;
}
.header-cta { white-space: nowrap; }

.hero-section {
  padding: 110px 0 72px;
  color: var(--nx-white);
  position: relative;
  overflow: clip;
}
.hero-section::before,
.hero-section::after {
  content: '';
  position: absolute;
  border-radius: 999px;
  filter: blur(10px);
}
.hero-section::before {
  width: 320px; height: 320px;
  right: -60px; top: 20px;
  background: rgba(6, 182, 212, 0.22);
}
.hero-section::after {
  width: 260px; height: 260px;
  left: -40px; bottom: 30px;
  background: rgba(249, 115, 22, 0.18);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 42px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: #dce8ff;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hero-content h1,
.section-heading h2,
.entry-title,
.hero-main-card h3,
.info-card h3,
.cta-box h2 {
  font-family: Manrope, sans-serif;
  letter-spacing: -0.03em;
}
.hero-content h1 {
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 1.02;
  margin: 0 0 18px;
}
.hero-content p {
  font-size: 1.08rem;
  max-width: 720px;
  color: #cbd8f3;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.stat-chip {
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: #eff6ff;
  font-weight: 600;
}
.hero-visual {
  position: relative;
  min-height: 460px;
}
.glass-card,
.card {
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.28);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}
.hero-main-card,
.hero-mini-card {
  color: var(--nx-white);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.84), rgba(15, 23, 42, 0.68));
  border-color: rgba(255,255,255,0.12);
}
.hero-main-card {
  padding: 32px;
  max-width: 430px;
  position: absolute;
  top: 12px;
  right: 0;
}
.card-badge {
  display: inline-block;
  margin-bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(79,70,229,0.18);
  color: #dfe4ff;
  font-weight: 700;
}
.hero-main-card ul {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.hero-main-card li {
  padding: 11px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.hero-mini-card {
  position: absolute;
  left: 30px;
  bottom: 20px;
  padding: 24px;
  width: min(320px, 100%);
}
.hero-mini-card span { color: #9ed8ff; display: block; margin-bottom: 8px; }
.hero-mini-card strong { font-size: 1.3rem; }
.floating-card { animation: floatOne 5.4s ease-in-out infinite; }
.floating-card-delay { animation: floatTwo 6.2s ease-in-out infinite; }
@keyframes floatOne { 0%,100% { transform: translateY(0px); } 50% { transform: translateY(-14px); } }
@keyframes floatTwo { 0%,100% { transform: translateY(0px); } 50% { transform: translateY(-9px); } }

.trust-strip {
  padding: 22px 0 34px;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.trust-grid > div {
  padding: 18px 16px;
  text-align: center;
  color: #d6e1ff;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  font-weight: 700;
}

.section-heading { max-width: 760px; margin-bottom: 18px; }
.section-heading h2 { font-size: clamp(2rem, 3.8vw, 3.2rem); margin: 0; color: inherit; }
.section-intro {
  max-width: 760px;
  margin-bottom: 32px;
  color: #576177;
  font-size: 1.05rem;
}
.section-dark .section-intro,
.section-dark .section-heading .eyebrow,
.section-dark .section-heading h2 { color: var(--nx-text); }
.section-dark .section-intro { color: #bfd0ef; }

.card-grid {
  display: grid;
  gap: 22px;
}
.columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.service-card,
.reason-card,
.post-card,
.single-page-card,
.single-post-card,
.info-card,
.cta-box,
.widget {
  padding: 28px;
}
.service-card h3,
.reason-card h3,
.info-card h3 { margin: 0 0 12px; color: var(--nx-dark-text); }
.service-card p,
.reason-card p,
.info-card p,
.post-card p,
.single-page-card .entry-content,
.single-post-card .entry-content,
.widget,
.archive-header p { color: #58657c; }
.service-card a {
  display: inline-flex;
  margin-top: 12px;
  color: var(--nx-primary);
  font-weight: 700;
}

.solution-showcase {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 24px;
  align-items: stretch;
}
.solution-list {
  display: grid;
  gap: 16px;
}
.solution-item {
  padding: 24px;
  border-radius: 22px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
}
.solution-item strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.06rem;
  color: #fff;
}
.solution-item span { color: #c8d8f1; }
.solution-panel {
  padding: 30px;
  background: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.06));
  color: #fff;
}
.dashboard-line {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}
.progress-bar {
  width: 100%;
  height: 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
  margin-bottom: 18px;
  overflow: hidden;
}
.progress-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--nx-gradient);
}

.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}
.feature-split.reverse { grid-template-columns: 0.95fr 1.05fr; }
.stacked-cards { position: relative; min-height: 360px; }
.info-card {
  position: absolute;
  inset: 0 auto auto 0;
  max-width: 470px;
}
.info-card.offset {
  inset: auto 0 0 auto;
  max-width: 400px;
  background: linear-gradient(180deg, rgba(79, 70, 229, 0.1), rgba(6, 182, 212, 0.08));
}
.check-list,
.footer-links,
.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}
.check-list li {
  padding-left: 28px;
  position: relative;
  margin-bottom: 12px;
  color: #4e5d76;
}
.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--nx-primary);
  font-weight: 800;
}
.tool-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.tool-pills span {
  padding: 14px 18px;
  background: #fff;
  border-radius: 999px;
  border: 1px solid #dde8ff;
  color: var(--nx-dark-text);
  font-weight: 700;
  box-shadow: 0 16px 40px rgba(2,8,23,0.08);
}

.section-cta { padding-top: 20px; }
.cta-box {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: center;
  background: linear-gradient(135deg, rgba(79,70,229,0.12), rgba(6,182,212,0.08));
}
.cta-box h2 { margin: 0 0 12px; color: var(--nx-dark-text); font-size: clamp(2rem, 4vw, 3rem); }
.cta-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: start;
}
.page-single-shell { max-width: 1000px; }
.entry-title { margin: 0 0 16px; color: var(--nx-dark-text); }
.entry-title a { color: inherit; }
.entry-meta { color: #7b879d; margin-bottom: 12px; }
.featured-image { margin: 0 0 18px; }
.pagination-wrap { margin-top: 28px; }
.widget-title, .footer-title { margin: 0 0 16px; color: inherit; font-family: Manrope, sans-serif; }
.sidebar-area { display: grid; gap: 18px; }

.site-footer {
  color: #dbe7ff;
  background: linear-gradient(180deg, #09111f, #07111f);
  padding-top: 78px;
  margin-top: 90px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 24px;
}
.footer-brand p,
.footer-contact-list a,
.footer-links a,
.footer-menu a,
.social-links a { color: #aac0e4; }
.footer-brand-text { margin-bottom: 18px; }
.footer-contact-list,
.social-links,
.footer-links,
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}
.footer-links,
.footer-menu { flex-direction: column; }
.footer-bottom {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
  margin-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-reveal="left"] { transform: translateX(34px); }
[data-reveal].revealed {
  opacity: 1;
  transform: none;
}

@media (max-width: 1080px) {
  .hero-grid,
  .solution-showcase,
  .feature-split,
  .cta-box,
  .footer-grid,
  .content-grid,
  .trust-grid,
  .columns-4 { grid-template-columns: 1fr 1fr; }
  .columns-3 { grid-template-columns: 1fr 1fr; }
  .hero-visual { min-height: 380px; }
  .info-card { position: relative; margin-bottom: 16px; max-width: 100%; }
  .info-card.offset { inset: auto; }
  .stacked-cards { min-height: auto; }
}

@media (max-width: 820px) {
  .topbar { display: none; }
  .menu-toggle { display: block; }
  .main-navigation {
    position: fixed;
    inset: 84px 16px auto 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border-radius: 24px;
    background: rgba(9, 18, 34, 0.96);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: var(--shadow);
  }
  .main-navigation.is-open { display: flex; }
  .primary-menu {
    flex-direction: column;
    align-items: stretch;
  }
  .primary-menu a { display: block; }
  .header-cta { width: 100%; }
  .hero-grid,
  .solution-showcase,
  .feature-split,
  .cta-box,
  .footer-grid,
  .content-grid,
  .trust-grid,
  .columns-2,
  .columns-3,
  .columns-4 { grid-template-columns: 1fr; }
  .hero-section { padding-top: 90px; }
  .hero-visual {
    min-height: auto;
    display: grid;
    gap: 16px;
  }
  .hero-main-card,
  .hero-mini-card,
  .info-card,
  .info-card.offset {
    position: relative;
    inset: auto;
    width: 100%;
    max-width: none;
  }
  .cta-actions { justify-content: flex-start; }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

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