/* =============================================================
   SHARED NAV + FOOTER STYLES
   Used by all pages via <link rel="stylesheet" href="/components/shared.css">
   Single source of truth — edit here, applies everywhere.
============================================================= */

/* ── NAV WRAP ── */
.nav-wrap {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: auto;
  max-width: calc(100vw - 40px);
}
.nav-glass {
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(230,224,216,0.9);
  border-radius: 999px;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  gap: 40px;
  box-shadow: 0 8px 32px rgba(26,26,46,0.12), 0 2px 8px rgba(26,26,46,0.06);
}
[data-theme="dark"] .nav-glass {
  background: rgba(20,20,36,0.94);
  border-color: rgba(255,255,255,0.09);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

/* ── NAV LOGO ── */
.nav-logo {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.5px;
  white-space: nowrap;
  padding-right: 28px;
  border-right: 1.5px solid var(--border);
  text-decoration: none;
}

/* ── NAV LINKS ── */
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-2);
  transition: color 0.2s;
  position: relative;
  white-space: nowrap;
  text-decoration: none;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 2px;
  background: var(--grad-text, linear-gradient(135deg,#FF6B35,#7C3AED));
  border-radius: 2px;
  transition: width 0.25s ease;
}
.nav-links a:hover,
.nav-links a.active { color: var(--text-1, #1A1A2E); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

/* ── NAV ACTIONS ── */
.nav-actions { display: flex; align-items: center; gap: 10px; }

.nav-btn-cta {
  font-size: 13px;
  font-weight: 700;
  background: var(--grad-btn, linear-gradient(135deg,#FF6B35,#FF8C5A));
  color: #fff;
  padding: 10px 22px;
  border-radius: 999px;
  border: none;
  box-shadow: 0 4px 14px rgba(255,107,53,0.22);
  transition: all 0.2s;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
}
.nav-btn-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(255,107,53,0.3); }

.nav-icon-btn {
  width: 36px; height: 36px;
  border-radius: 999px;
  border: 1.5px solid var(--border, #E6E0D8);
  background: transparent;
  color: var(--text-2, #4B5563);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
  cursor: pointer;
}
.nav-icon-btn:hover { border-color: var(--orange, #FF6B35); color: var(--orange, #FF6B35); }

/* ── HAMBURGER ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 38px; height: 38px;
  border: 1.5px solid var(--border, #E6E0D8);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: border-color 0.2s;
}
.nav-hamburger:hover { border-color: var(--orange, #FF6B35); }
.nav-hamburger span {
  display: block;
  width: 16px; height: 2px;
  background: var(--text-2, #4B5563);
  border-radius: 2px;
  transition: all 0.25s ease;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE MENU ── */
.mobile-menu {
  display: none;
  position: fixed;
  top: 80px;
  left: 16px; right: 16px;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(230,224,216,0.9);
  border-radius: 24px;
  padding: 12px;
  z-index: 999;
  box-shadow: 0 16px 48px rgba(26,26,46,0.18);
  flex-direction: column;
  gap: 2px;
}
[data-theme="dark"] .mobile-menu {
  background: rgba(18,18,32,0.97);
  border-color: rgba(255,255,255,0.1);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 15px; font-weight: 600;
  color: var(--text-1, #1A1A2E);
  padding: 13px 16px;
  border-radius: 12px;
  transition: background 0.15s, color 0.15s;
  text-decoration: none;
}
.mobile-menu a:hover,
.mobile-menu a.active {
  background: rgba(255,107,53,0.08);
  color: var(--orange, #FF6B35);
}
.mobile-menu-divider { height: 1px; background: var(--border, #E6E0D8); margin: 8px 4px; }
.mobile-menu-cta {
  background: var(--grad-btn, linear-gradient(135deg,#FF6B35,#FF8C5A)) !important;
  color: #fff !important;
  text-align: center;
  padding: 14px 16px !important;
  border-radius: 999px !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  margin-top: 4px;
  box-shadow: 0 4px 14px rgba(255,107,53,0.22);
}

/* ── DARK MODE TOGGLE (floating button) ── */
.theme-toggle {
  position: fixed;
  bottom: 20px; left: 20px;
  z-index: 1100;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 16px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border, #E6E0D8);
  border-radius: 999px;
  box-shadow: 0 8px 32px rgba(26,26,46,0.12);
  font-size: 12px; font-weight: 700;
  color: var(--text-1, #1A1A2E);
  transition: all 0.2s;
  cursor: pointer;
}
[data-theme="dark"] .theme-toggle { background: rgba(20,20,36,0.95); }
.theme-toggle:hover { transform: translateY(-1px); }
.toggle-icon {
  width: 22px; height: 22px;
  background: var(--grad-btn, linear-gradient(135deg,#FF6B35,#FF8C5A));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; color: #fff;
}

/* ── FOOTER ── */
.footer {
  background: #101021;
  color: #fff;
  padding: 60px 40px 32px;
  margin-top: 80px;
}
.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-brand-name { font-size: 18px; font-weight: 900; margin-bottom: 12px; }
.footer-brand-desc { font-size: 13px; color: rgba(255,255,255,0.44); line-height: 1.65; margin-bottom: 20px; }
.footer-socials { display: flex; gap: 8px; }
.footer-social {
  width: 38px; height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5);
  transition: background 0.6s ease, border-color 0.6s ease, color 0.6s ease, transform 0.6s ease;
  text-decoration: none;
}
.footer-social:hover { color: #fff; transform: translateY(-2px); }
.footer-social--fb:hover { background: #1877F2; border-color: #1877F2; }
.footer-social--ig:hover { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); border-color: #d6249f; }
.footer-social--pt:hover { background: #E60023; border-color: #E60023; }
.footer-social--yt:hover { background: #FF0000; border-color: #FF0000; }
.footer-col-title { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.7px; color: rgba(255,255,255,0.35); margin-bottom: 16px; }
.footer-links-list { display: flex; flex-direction: column; gap: 10px; }
.footer-link { font-size: 13px; color: rgba(255,255,255,0.48); transition: color 0.15s; text-decoration: none; }
.footer-link:hover { color: rgba(255,255,255,0.9); }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.22); }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: 12px; color: rgba(255,255,255,0.22); transition: color 0.15s; text-decoration: none; }
.footer-legal a:hover { color: rgba(255,255,255,0.6); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-btn-cta { display: none; }
  .nav-icon-btn { display: none; }
  .nav-hamburger { display: flex; }
  .nav-glass { gap: 12px; padding: 10px 18px; }
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer { padding: 40px 20px 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
