/* ═══════════════════════════════════════════════
   AXIS DIGITAL — Navigation & Footer Styles
═══════════════════════════════════════════════ */

/* ─── NAV ─── */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0 48px;
  height: 72px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(8,10,15,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s ease;
}
#nav.scrolled { background: rgba(8,10,15,0.97); }

.nav-logo {
  font-family: var(--font-display);
  font-size: 28px; letter-spacing: 4px;
  color: var(--text);
  display: flex; align-items: center; gap: 2px;
}
.nav-logo .dot { color: var(--accent); }

.nav-links {
  display: flex; align-items: center; gap: 32px;
}
.nav-links a {
  font-size: 12px; font-weight: 500;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--transition);
  position: relative;
  padding-bottom: 2px;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: -2px; left: 0;
  width: 0; height: 1px; background: var(--accent);
  transition: width var(--transition);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--text); }

.nav-right {
  display: flex; align-items: center; gap: 16px;
}
.nav-cta {
  font-size: 11px; font-weight: 500;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--bg); background: var(--accent);
  padding: 9px 22px;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  transition: background var(--transition), transform var(--transition);
}
.nav-cta:hover { background: #00ffb3; transform: translateY(-1px); }

/* Mobile nav */
.nav-hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-hamburger span {
  display: block; width: 24px; height: 1.5px;
  background: var(--text); transition: var(--transition);
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed; inset: 72px 0 0 0; z-index: 999;
  background: var(--bg2);
  flex-direction: column;
  padding: 40px 24px;
  gap: 8px;
  border-top: 1px solid var(--border);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 32px; letter-spacing: 2px;
  color: var(--text); padding: 8px 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--transition);
}
.mobile-menu a:hover { color: var(--accent); }

/* ─── FOOTER ─── */
footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
}
.footer-main {
  max-width: var(--max-w); margin: 0 auto;
  padding: 72px 48px 48px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer-brand {}
.footer-logo-big {
  font-family: var(--font-display);
  font-size: 42px; letter-spacing: 4px;
  color: var(--text); margin-bottom: 16px;
  display: block;
}
.footer-logo-big span { color: var(--accent); }
.footer-tagline {
  font-size: 14px; color: var(--text-muted);
  line-height: 1.7; max-width: 280px;
  margin-bottom: 28px;
}
.footer-socials {
  display: flex; gap: 12px;
}
.footer-social {
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: var(--text-muted);
  transition: border-color var(--transition), color var(--transition);
}
.footer-social:hover { border-color: var(--accent); color: var(--accent); }

.footer-col h4 {
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a {
  font-size: 14px; color: var(--text-muted);
  transition: color var(--transition);
}
.footer-col ul a:hover { color: var(--accent); }

.footer-bottom {
  max-width: var(--max-w); margin: 0 auto;
  padding: 20px 48px;
  border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12px; color: var(--text-dim);
}
.footer-bottom a { color: var(--text-muted); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--accent); }

/* ─── Loading Screen ─── */
#page-loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 24px;
  transition: opacity 0.8s ease, visibility 0.8s;
}
#page-loader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-logo {
  font-family: var(--font-display);
  font-size: 48px; letter-spacing: 8px; color: var(--text);
}
.loader-logo span { color: var(--accent); }
.loader-progress-wrap {
  width: 220px; height: 2px;
  background: rgba(255,255,255,0.08);
}
.loader-progress-bar {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  transition: width 0.2s ease;
}
.loader-text {
  font-size: 10px; letter-spacing: 4px; text-transform: uppercase;
  color: var(--text-dim);
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  #nav { padding: 0 24px; }
  .nav-links, .nav-right { display: none; }
  .nav-hamburger { display: flex; }
  .footer-main { grid-template-columns: 1fr; padding: 48px 24px; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; padding: 20px 24px; text-align: center; }
}
