/* ═══════════════════════════════════════════════════════
   FIREFLYS TECHNO — Navbar + Footer CSS  (v3 — fixed)
═══════════════════════════════════════════════════════ */

/* ── NAVBAR ─────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: 70px;
  transition: background .3s, box-shadow .3s;
}
.navbar.scrolled {
  background: rgba(7,11,20,.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 1px 0 rgba(79,142,247,.12), 0 8px 40px rgba(0,0,0,.55);
}

.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  height: 100%;
  padding: 0 36px;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 0;
}

/* LOGO */
.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  margin-right: 32px;
  flex-shrink: 0;
}
.nav-logo img {
  height: 40px;
  width: auto;
  display: block;
  filter: brightness(1.05) drop-shadow(0 0 8px rgba(79,142,247,.15));
  transition: opacity .2s;
}
.nav-logo:hover img { opacity: .85; }

/* NAV LINKS */
.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  flex-wrap: nowrap;
  overflow: hidden;
}
.nav-links a {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255,255,255,.72);          /* WHITE text */
  text-decoration: none;
  padding: 7px 12px;
  border-radius: 8px;
  white-space: nowrap;
  transition: color .2s, background .2s;
  position: relative;
}
.nav-links a:hover {
  color: #ffffff;
  background: rgba(79,142,247,.1);
}
.nav-links a.active {
  color: #4F8EF7;
  background: rgba(79,142,247,.12);
  font-weight: 600;
}
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 3px; left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 4px;
  background: #4F8EF7;
  border-radius: 50%;
}

/* NAV ACTIONS */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  margin-left: 24px;
}
.nav-phone {
  font-size: 13px;
  color: rgba(255,255,255,.5);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 5px;
}
.nav-phone strong {
  color: rgba(255,255,255,.82);
  font-weight: 600;
}
.nav-demo-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(90deg, #4F8EF7, #3B82F6);
  color: #ffffff !important;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 20px;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: .01em;
  box-shadow: 0 0 20px rgba(79,142,247,.3);
  transition: opacity .2s, transform .15s, box-shadow .2s;
}
.nav-demo-btn:hover {
  opacity: .9;
  transform: translateY(-1px);
  box-shadow: 0 0 32px rgba(79,142,247,.5);
}

/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: rgba(79,142,247,.08);
  border: 1px solid rgba(79,142,247,.2);
  border-radius: 8px;
  cursor: pointer;
  padding: 0;
  margin-left: 12px;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 18px; height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: all .3s;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* MOBILE DRAWER */
.mobile-nav {
  position: fixed;
  top: 0; right: 0;
  width: 300px; height: 100vh;
  background: rgba(8,13,26,.99);
  backdrop-filter: blur(24px);
  border-left: 1px solid rgba(79,142,247,.12);
  z-index: 1100;
  padding: 20px;
  display: flex; flex-direction: column; gap: 3px;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  overflow-y: auto;
}
.mobile-nav.open { transform: translateX(0); }

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(79,142,247,.1);
}
.mobile-nav-logo img {
  height: 34px;
  width: auto;
}
.mobile-close {
  width: 34px; height: 34px;
  background: rgba(79,142,247,.08);
  border: 1px solid rgba(79,142,247,.18);
  border-radius: 8px;
  color: rgba(255,255,255,.6);
  font-size: 15px;
  cursor: pointer;
  display: grid; place-items: center;
  transition: all .2s;
}
.mobile-close:hover { background: rgba(79,142,247,.2); color: #fff; }

.mobile-nav a {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14.5px; font-weight: 500;
  color: rgba(255,255,255,.65);          /* WHITE text */
  text-decoration: none;
  padding: 11px 14px;
  border-radius: 10px;
  transition: all .2s;
}
.mobile-nav a:hover { color: #fff; background: rgba(79,142,247,.1); }
.mobile-nav a.active { color: #4F8EF7; background: rgba(79,142,247,.12); font-weight: 600; }

.mobile-nav-footer {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(79,142,247,.1);
  display: flex; flex-direction: column; gap: 10px;
}
.mobile-phone-link {
  font-size: 13px; color: rgba(255,255,255,.45) !important;
  background: none !important; padding: 6px 0 !important;
}
.mobile-demo-btn {
  display: block;
  background: linear-gradient(90deg,#4F8EF7,#3B82F6) !important;
  color: #fff !important;
  text-align: center;
  font-weight: 700 !important;
  padding: 13px !important;
  border-radius: 10px !important;
  font-size: 14px !important;
  box-shadow: 0 0 20px rgba(79,142,247,.3);
}

/* OVERLAY */
.nav-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.65);
  z-index: 1050;
  opacity: 0; pointer-events: none;
  transition: opacity .35s;
}
.nav-overlay.show { opacity: 1; pointer-events: all; }

/* ── FOOTER LOGO ─────────────────────────────────────── */
.footer-logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  margin-bottom: 4px;
}
.footer-logo {
  height: 38px;
  width: auto;
  filter: brightness(1.05);
}

/* ── FONT COLOR FIXES — Force white text everywhere ──── */
h1, h2, h3, h4, h5, h6 {
  color: #E8EDF7 !important;
}
p {
  color: #8896B0;
}
body {
  color: #E8EDF7;
}
/* Hero headings extra bright */
.hero-title,
.page-hero h1,
.section-title,
.prod-title,
.card-title,
.plan-name,
.testi-name,
.blog-title,
.sidebar-title {
  color: #FFFFFF !important;
}
/* Subtle text stays muted */
.hero-desc,
.section-sub,
.card-body,
.footer-brand-text,
.testi-text,
.blog-excerpt {
  color: #8896B0 !important;
}

/* ── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 1100px) {
  .nav-phone { display: none; }
  .nav-links a { padding: 7px 9px; font-size: 13px; }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-inner { grid-template-columns: auto 1fr auto; padding: 0 20px; }
  .nav-actions .nav-phone { display: none; }
}
@media (max-width: 520px) {
  .navbar { height: 62px; }
  .nav-logo img { height: 34px; }
  .nav-demo-btn { padding: 8px 14px; font-size: 12px; }
}
