/* ── lifi-nav-footer.css — Premium shared nav + footer for all sub-pages ── */

/* ════════════════════════════════════════
   NAV BASE
   ════════════════════════════════════════ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: all .5s cubic-bezier(.25,.46,.45,.94);
}

nav .nav-bg {
  position: absolute;
  inset: 0;
  background: rgba(8,11,20,0.95);
  backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid rgba(254,88,0,.08);
  box-shadow: 0 4px 30px rgba(0,0,0,.3);
}

nav .nav-bg::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(254,88,0,.15) 30%, rgba(8,145,178,.1) 70%, transparent);
}

.nav-container {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px clamp(20px, 5vw, 64px);
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ── Logo / Brand ── */
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-brand .logo {
  width: 44px;
  height: 44px;
  background: #fe5800;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  transition: transform .4s cubic-bezier(.34,1.56,.64,1), box-shadow .4s ease;
}

.nav-brand:hover .logo {
  transform: scale(1.06) rotate(-2deg);
  box-shadow: 0 0 24px rgba(254,88,0,.5), 0 0 0 3px rgba(254,88,0,.1);
}

.nav-brand .logo svg {
  width: 38px;
  height: 38px;
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav-brand-name {
  font-size: 15px;
  font-weight: 800;
  color: #f0f0ec;
  letter-spacing: -.02em;
}

.nav-brand-tagline {
  font-size: 10px;
  font-weight: 600;
  color: #8a8f9e;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: color .3s;
}

.nav-brand:hover .nav-brand-tagline { color: #fe5800; }

/* ── Desktop links ── */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0 0 0 auto;
  padding: 0;
}

.nav-links a {
  color: #9da1b0;
  text-decoration: none;
  font-weight: 500;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 8px;
  position: relative;
  transition: all .3s cubic-bezier(.25,.46,.45,.94);
  display: inline-flex;
  align-items: center;
  min-height: 36px;
}

.nav-links a:hover {
  color: #f0f0ec;
  background: rgba(240,240,236,.04);
}

.nav-links a.active,
.nav-links a[aria-current="page"] {
  color: #fe5800;
  background: rgba(254,88,0,.06);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 50%;
  width: 0; height: 3px;
  background: #fe5800;
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width .35s cubic-bezier(.25,.46,.45,.94);
}

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after { width: 24px; }

/* Override lifi-animations underline-grow to match this style */
nav .nav-links a:not(.nav-cta):not(.nav-cta-btn)::after {
  bottom: 2px;
  height: 3px;
  border-radius: 2px;
}

/* ── Right side controls ── */
.nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: 14px;
  flex-shrink: 0;
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #9da1b0;
  text-decoration: none;
  transition: color .3s;
  white-space: nowrap;
  line-height: 1;
}

.nav-phone:hover { color: #f0f0ec; }
.nav-phone svg { color: #fe5800; flex-shrink: 0; }

.nav-phone-dot {
  width: 6px;
  height: 6px;
  background: #22c55e;
  border-radius: 50%;
  flex-shrink: 0;
  animation: navDotPulse 2s ease infinite;
}

@keyframes navDotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .6; transform: scale(1.4); }
}

.nav-divider {
  width: 1px;
  height: 24px;
  background: rgba(255,255,255,.06);
}

.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fe5800;
  color: #fff !important;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 20px;
  border-radius: 50px;
  text-decoration: none !important;
  transition: all .35s cubic-bezier(.25,.46,.45,.94);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.nav-cta-btn:hover {
  background: #ff6b35;
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(254,88,0,.3), 0 8px 20px rgba(0,0,0,.2);
}

/* ── Hamburger toggle ── */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  background: none;
  border: none;
  z-index: 10;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #f0f0ec;
  border-radius: 2px;
  transition: all .4s cubic-bezier(.34,1.56,.64,1);
  transform-origin: center;
}

.nav-toggle.open span:first-child { transform: rotate(45deg) translate(5px,5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ════════════════════════════════════════
   MOBILE NAV
   ════════════════════════════════════════ */
@media (max-width: 900px) {
  .nav-phone,
  .nav-divider { display: none; }
  .nav-toggle { display: flex; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 0; right: -100%;
    width: 260px;
    max-width: 72vw;
    height: 100vh;
    background: rgba(8,11,20,.97);
    backdrop-filter: blur(24px) saturate(1.3);
    z-index: 999;
    padding: 80px 24px 32px;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    margin: 0;
    transition: right .4s cubic-bezier(.25,.46,.45,.94);
  }

  .nav-links.open {
    display: flex;
    right: 0;
  }

  .nav-links a {
    width: 100%;
    font-size: 15px;
    font-weight: 700;
    padding: 13px 0;
    border-bottom: 1px solid rgba(22,27,46,.4);
    border-radius: 0;
    min-height: 44px;
  }

  .nav-cta-btn {
    padding: 8px 16px;
    font-size: 12px;
  }

  .nav-brand-tagline { display: none; }
}

@media (max-width: 480px) {
  .nav-cta-btn { display: none; }
}

/* ════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════ */
footer {
  background: #080b14;
  color: #f0f0ec;
  padding: 80px 0 0;
  border-top: 1px solid rgba(254,88,0,.06);
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(254,88,0,.2) 30%, rgba(8,145,178,.12) 70%, transparent);
}

.footer-grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 0 clamp(20px, 5vw, 64px) 48px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  margin-bottom: 0;
}

.footer-logo {
  width: 52px;
  height: 52px;
  background: #fe5800;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  overflow: hidden;
}

.footer-logo svg { width: 44px; height: 44px; }

.footer-column h3 {
  font-size: 14px !important;
  font-weight: 700;
  color: #f0f0ec;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-column p {
  color: #8a8ea0;
  font-size: 13px;
  line-height: 1.8;
  margin-bottom: 8px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column li { margin-bottom: 4px; }

.footer-column a {
  color: #9da1b0;
  font-size: 13px;
  text-decoration: none;
  line-height: 1.8;
  transition: color .25s ease, transform .2s ease;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
}

.footer-column a:hover {
  color: #fe5800;
}

.footer-bottom {
  max-width: 1240px;
  margin: 0 auto;
  padding: 20px clamp(20px, 5vw, 64px) 32px;
  text-align: center;
  color: #8a8f9e;
  font-size: 12px;
  line-height: 1.8;
}

.footer-bottom a {
  color: #fe5800;
  font-weight: 700;
  text-decoration: underline;
}

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  footer { padding-top: 60px; }
}
