/* ============================================================
   NEURAL EDGE CONSULTING — SHARED STYLESHEET
   Style: Dark Minimalist Glow (Option 2)
   Brand: Deep Naval Blue / Electric Edge Blue / Signal Cyan
   ============================================================ */

:root {
  --blue:    #1F6BFF;
  --cyan:    #00D4FF;
  --dark:    #0B1F3A;
  --darker:  #0F172A;
  --slate:   #334155;
  --soft:    #E2E8F0;
  --white:   #ffffff;
  --text:    rgba(255,255,255,0.7);
  --text-dim:rgba(255,255,255,0.45);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', 'Inter', system-ui, sans-serif;
  background: var(--darker);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── BACKGROUND ── */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    linear-gradient(145deg, #0B1F3A 0%, #0F172A 55%, #0B1F3A 100%);
}
body::after {
  content: '';
  position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: 0.055;
  background-image:
    linear-gradient(rgba(31,107,255,1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31,107,255,1) 1px, transparent 1px);
  background-size: 58px 58px;
}

/* ── GLOW ORBS ── */
.glow-orb-1 {
  position: fixed; width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(31,107,255,0.18) 0%, transparent 70%);
  top: -200px; right: -200px; pointer-events: none; z-index: 0;
  animation: orbFloat 12s ease-in-out infinite alternate;
}
.glow-orb-2 {
  position: fixed; width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,212,255,0.1) 0%, transparent 70%);
  bottom: -100px; left: -150px; pointer-events: none; z-index: 0;
  animation: orbFloat 16s ease-in-out infinite alternate-reverse;
}
@keyframes orbFloat {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(30px, 40px) scale(1.08); }
}

/* ── PARTICLES ── */
.particles {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    radial-gradient(2px 2px at 8%  15%, rgba(0,212,255,0.7), transparent),
    radial-gradient(2px 2px at 22% 68%, rgba(31,107,255,0.8), transparent),
    radial-gradient(2px 2px at 37% 28%, rgba(0,212,255,0.5), transparent),
    radial-gradient(2px 2px at 53% 82%, rgba(31,107,255,0.6), transparent),
    radial-gradient(2px 2px at 67% 12%, rgba(0,212,255,0.7), transparent),
    radial-gradient(2px 2px at 78% 55%, rgba(31,107,255,0.5), transparent),
    radial-gradient(3px 3px at 91% 35%, rgba(0,212,255,0.6), transparent),
    radial-gradient(2px 2px at 14% 88%, rgba(31,107,255,0.4), transparent),
    radial-gradient(1.5px 1.5px at 46% 50%, rgba(255,255,255,0.3), transparent),
    radial-gradient(2px 2px at 85% 78%, rgba(0,212,255,0.45), transparent);
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 52px; height: 76px;
  background: rgba(11,31,58,0.8);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(31,107,255,0.12);
  transition: background 0.3s;
}
nav.scrolled {
  background: rgba(11,31,58,0.96);
  border-bottom-color: rgba(31,107,255,0.2);
  box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}
.nav-logo img {
  height: 46px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(31,107,255,0.4));
}
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  color: var(--text); font-size: 13px; font-weight: 500;
  text-decoration: none; letter-spacing: 0.5px;
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 1px; background: var(--blue);
  transform: scaleX(0); transition: transform 0.25s;
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active { color: var(--white); }
.nav-links a.active::after { transform: scaleX(1); }
.nav-cta {
  padding: 9px 22px; background: var(--blue); color: white;
  border-radius: 6px; font-size: 13px; font-weight: 700;
  text-decoration: none; letter-spacing: 0.5px;
  transition: all 0.25s;
  box-shadow: 0 2px 12px rgba(31,107,255,0.3);
}
.nav-cta:hover { background: #1a5de0; transform: translateY(-1px); box-shadow: 0 4px 20px rgba(31,107,255,0.5); }
.nav-cta::after { display: none !important; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { display: block; width: 24px; height: 2px; background: white; border-radius: 2px; transition: all 0.3s; }

/* ── PAGE WRAPPER ── */
.page { position: relative; z-index: 1; }

/* ── SECTIONS ── */
section { padding: 96px 52px; position: relative; }
.container { max-width: 1100px; margin: 0 auto; }
.container-sm { max-width: 760px; margin: 0 auto; }

/* ── HERO ── */
.hero {
  min-height: 100vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: 130px 52px 80px;
}
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 20px; border-radius: 24px;
  border: 1px solid rgba(0,212,255,0.35);
  color: var(--cyan); font-size: 11px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  margin-bottom: 32px;
  background: rgba(0,212,255,0.06);
}
.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(0.7); } }

h1.hero-title {
  font-size: clamp(40px, 6vw, 80px); font-weight: 800;
  line-height: 1.05; letter-spacing: -2px;
  margin-bottom: 28px; color: var(--white);
}
h1.hero-title em { font-style: normal; color: var(--blue); }
h1.hero-title span.cyan { color: var(--cyan); }

.hero-sub {
  font-size: 19px; color: var(--text); max-width: 580px;
  line-height: 1.75; margin-bottom: 48px;
}
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 15px 34px; border-radius: 7px; font-size: 14px;
  font-weight: 700; cursor: pointer; letter-spacing: 0.5px;
  text-decoration: none; border: none; transition: all 0.3s;
}
.btn-primary {
  background: var(--blue); color: white;
  box-shadow: 0 4px 20px rgba(31,107,255,0.35);
}
.btn-primary:hover { background: #1a5de0; transform: translateY(-2px); box-shadow: 0 8px 32px rgba(31,107,255,0.55); }
.btn-outline {
  background: transparent; color: white;
  border: 1px solid rgba(255,255,255,0.25);
}
.btn-outline:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }

/* ── SECTION LABELS ── */
.section-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--cyan);
  margin-bottom: 14px; display: block;
}
h2.section-title {
  font-size: clamp(28px, 4vw, 48px); font-weight: 800;
  line-height: 1.15; letter-spacing: -1px; margin-bottom: 18px;
}
h2.section-title em { font-style: normal; color: var(--blue); }
.section-lead { font-size: 17px; color: var(--text); max-width: 600px; line-height: 1.75; margin-bottom: 56px; }

/* ── DIVIDER ── */
.divider { width: 56px; height: 2px; background: linear-gradient(90deg, var(--blue), var(--cyan)); margin: 20px 0 48px; }
.divider-center { margin: 20px auto 48px; }

/* ── CARDS ── */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.card {
  padding: 32px 28px; border-radius: 14px;
  background: rgba(11,31,58,0.6); backdrop-filter: blur(12px);
  border: 1px solid rgba(31,107,255,0.1);
  transition: all 0.3s;
}
.card:hover { transform: translateY(-6px); border-color: rgba(31,107,255,0.4); box-shadow: 0 20px 48px rgba(31,107,255,0.15); }
.card-icon { font-size: 32px; margin-bottom: 16px; }
.card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; color: white; }
.card p { color: var(--text); font-size: 14px; line-height: 1.7; }
.card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; color: var(--blue); font-size: 13px; font-weight: 700; text-decoration: none; transition: gap 0.2s; }
.card-link:hover { gap: 10px; }

/* ── STATS ROW ── */
.stats-row { display: flex; gap: 0; flex-wrap: wrap; }
.stat {
  flex: 1; min-width: 180px; padding: 40px 32px;
  border-right: 1px solid rgba(31,107,255,0.12);
  text-align: center;
}
.stat:last-child { border-right: none; }
.stat-number { font-size: 52px; font-weight: 800; color: var(--blue); line-height: 1; margin-bottom: 8px; letter-spacing: -2px; }
.stat-label { font-size: 13px; color: var(--text-dim); letter-spacing: 0.5px; }

/* ── CTA BANNER ── */
.cta-banner {
  background: linear-gradient(135deg, rgba(31,107,255,0.12) 0%, rgba(0,212,255,0.06) 100%);
  border: 1px solid rgba(31,107,255,0.2);
  border-radius: 16px; padding: 64px 52px;
  text-align: center;
}
.cta-banner h2 { font-size: clamp(26px,3.5vw,44px); font-weight: 800; margin-bottom: 16px; letter-spacing: -1px; }
.cta-banner p { font-size: 17px; color: var(--text); max-width: 520px; margin: 0 auto 40px; line-height: 1.7; }

/* ── SCROLL ANIMATIONS ── */
.fade-up { opacity: 0; transform: translateY(36px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4 { transition-delay: 0.4s; }

/* ── FOOTER ── */
footer {
  position: relative; z-index: 1;
  padding: 52px; border-top: 1px solid rgba(31,107,255,0.1);
  background: rgba(11,31,58,0.5);
}
.footer-inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: gap; gap: 24px; }
.footer-logo img { height: 40px; filter: drop-shadow(0 0 6px rgba(31,107,255,0.3)); }
.footer-links { display: flex; gap: 28px; }
.footer-links a { color: var(--text-dim); font-size: 13px; text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: white; }
.footer-copy { color: var(--text-dim); font-size: 12px; }

/* ── BLOG POST PAGE ── */
.blog-hero { padding: 140px 52px 60px; text-align: center; }
.blog-meta { display: flex; align-items: center; justify-content: center; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.blog-tag { padding: 5px 14px; border-radius: 20px; background: rgba(31,107,255,0.15); border: 1px solid rgba(31,107,255,0.3); color: var(--blue); font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; }
.blog-date { color: var(--text-dim); font-size: 13px; }
.blog-hero h1 { font-size: clamp(28px, 4.5vw, 58px); font-weight: 800; line-height: 1.1; letter-spacing: -1.5px; max-width: 820px; margin: 0 auto 24px; }
.blog-hero .lead { font-size: 19px; color: var(--text); max-width: 640px; margin: 0 auto; line-height: 1.75; }

.blog-body { padding: 0 52px 80px; }
.blog-content { max-width: 760px; margin: 0 auto; }
.blog-content h2 { font-size: clamp(22px, 3vw, 32px); font-weight: 800; margin: 52px 0 18px; letter-spacing: -0.5px; color: white; }
.blog-content h3 { font-size: 20px; font-weight: 700; margin: 36px 0 14px; color: var(--soft); }
.blog-content p { font-size: 16px; line-height: 1.85; color: var(--text); margin-bottom: 22px; }
.blog-content p strong { color: white; font-weight: 700; }
.blog-content ul, .blog-content ol { margin: 0 0 22px 24px; }
.blog-content li { font-size: 16px; line-height: 1.85; color: var(--text); margin-bottom: 8px; }
.blog-content li strong { color: white; }
.blog-divider { width: 48px; height: 2px; background: linear-gradient(90deg, var(--blue), var(--cyan)); margin: 48px 0; }
.blog-callout {
  padding: 28px 32px; border-left: 3px solid var(--blue);
  background: rgba(31,107,255,0.07); border-radius: 0 10px 10px 0;
  margin: 32px 0;
}
.blog-callout p { margin: 0; color: rgba(255,255,255,0.85); font-size: 16px; font-style: italic; }

/* ── MOBILE ── */
@media (max-width: 768px) {
  nav { padding: 0 24px; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 76px; left: 0; right: 0; background: rgba(11,31,58,0.98); padding: 24px; gap: 20px; border-bottom: 1px solid rgba(31,107,255,0.15); }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  section { padding: 72px 24px; }
  .hero { padding: 110px 24px 60px; }
  .blog-hero, .blog-body { padding-left: 24px; padding-right: 24px; }
  .stats-row { flex-direction: column; }
  .stat { border-right: none; border-bottom: 1px solid rgba(31,107,255,0.12); }
  .stat:last-child { border-bottom: none; }
  footer { padding: 36px 24px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .cta-banner { padding: 48px 24px; }
}
