/* --- PC GLOBAL NAVIGATION & FOOTER STYLES --- */

/* --- SITE HEADER --- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--pc-nav-h);
  background: rgba(2, 6, 23, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(24px) saturate(1.8);
  display: flex;
  align-items: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
}

.site-header.header-scrolled {
  background: rgba(2, 6, 23, 0.95);
  backdrop-filter: blur(32px);
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-brand .mark {
  background: #fff;
  color: var(--primary);
  font-weight: 950;
  border-radius: 12px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 16px rgba(239, 68, 68, 0.2);
  font-size: 1.15rem;
  transition: transform 0.3s ease;
}
.nav-brand:hover .mark { transform: scale(1.05); }

.brand-details h2 { 
  font-size: 1.05rem; 
  font-weight: 900; 
  letter-spacing: -0.04em; 
  color: #fff; 
  margin: 0;
  line-height: 1.1;
}
.brand-details p { 
  font-size: 0.55rem; 
  color: var(--primary); 
  text-transform: uppercase; 
  letter-spacing: 0.2em; 
  font-weight: 900; 
  margin-top: 2px; 
}

/* --- NAV LINKS --- */
.nav-links { 
  display: flex; 
  align-items: center;
  gap: 2rem; 
}

.nav-link { 
  font-size: 0.75rem; 
  font-weight: 800; 
  text-transform: uppercase; 
  letter-spacing: 0.12em; 
  color: var(--text-muted);
  transition: all 0.3s ease;
  position: relative;
  padding: 4px 0;
}

.nav-link:hover { color: #fff; }

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary-glow);
}

.nav-btn-highlight-premium {
  background: var(--primary);
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 99px;
  font-size: 0.7rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.25);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-btn-highlight-premium:hover {
  background: #ff3b3b;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(239, 68, 68, 0.4);
}

/* --- MOBILE TOGGLE --- */
.mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

@media (max-width: 900px) {
  .mobile-toggle { display: flex; }
  
  body.pc-portal .nav-links {
    position: fixed;
    top: var(--pc-nav-h);
    left: 0; right: 0;
    background: rgba(2, 6, 23, 0.98);
    backdrop-filter: blur(32px);
    border-bottom: 1px solid var(--border);
    flex-direction: column !important;
    padding: 2rem;
    gap: 1.5rem;
    transform: translateY(-110%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1500;
    display: flex !important;
  }
  
  body.menu-open .nav-links {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  body.menu-open {
    overflow: hidden;
  }
}

/* --- PREMIUM FOOTER V2 --- */
.pc-site-footer-v2 {
  background: #01040f;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 5rem 0 3rem;
  margin-top: 6rem;
  position: relative;
  overflow: hidden;
}

.pc-site-footer-v2::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(239, 68, 68, 0.3), transparent);
}

.footer-main-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.brand-lockup { display: flex; align-items: center; gap: 12px; margin-bottom: 1rem; }
.brand-lockup .mark {
  background: #fff; color: var(--primary); font-weight: 950; border-radius: 8px;
  width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
}
.brand-lockup h3 { font-size: 0.95rem; font-weight: 950; letter-spacing: 0.05em; margin: 0; }

.footer-motto {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 1.25rem 0;
  max-width: 320px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-nav a {
  font-size: 0.85rem;
  color: #94a3b8;
  font-weight: 600;
  transition: color 0.2s ease;
}
.footer-nav a:hover { color: #fff; }

.footer-social-simple a {
  color: #94a3b8;
  transition: color 0.2s ease;
}
.footer-social-simple a:hover { color: var(--primary); }

.contact-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}
.contact-link i { width: 16px; height: 16px; color: var(--primary); }

.contact-note {
  font-size: 0.7rem;
  color: #475569;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.legal-links { display: flex; gap: 2rem; }
.legal-links a { font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: #475569; }
.legal-links a:hover { color: #fff; }

.copyright-line {
  font-size: 0.65rem;
  font-weight: 800;
  color: #475569;
  text-transform: uppercase;
  display: flex;
  gap: 1.5rem;
}
.sys-version { opacity: 0.5; font-family: monospace; }

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

@media (max-width: 640px) {
  .footer-main-grid { grid-template-columns: 1fr; gap: 2.5rem; text-align: center; }
  .footer-motto { margin-inline: auto; }
  .contact-link { justify-content: center; }
  .brand-lockup { justify-content: center; }
  .footer-bottom-bar { flex-direction: column; gap: 1.5rem; text-align: center; }
  .legal-links { justify-content: center; }
  .copyright-line { justify-content: center; flex-direction: column; gap: 0.5rem; }
}