/* CSS Variables */
:root {
  --primary: #5B5BF7;
  --accent: #8E80FF;
  --bg: #f7f8fa;
  --card-bg: #fff;
  --text: #232326;
  --muted: #6b6b7a;
  --pink: #FF8EDB;
  --cyan: #A0FFF9;
  --shadow: 0 4px 24px 0 rgba(91,91,247,0.08);
  --radius: 1.25rem;
  --nav-underline: #8E80FF;
  --nav-underline-active: #FF8EDB;
}

/* Override any Tailwind CSS resets that might affect navbar */
.top-menu-bar *,
.top-menu-content *,
.top-menu-nav *,
.top-menu-brand,
.top-menu-link {
  box-sizing: border-box !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Container */
.container {
  max-width: 1440px !important;
  margin: 0 auto !important;
  padding-left: 3vw !important;
  padding-right: 3vw !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* Top Menu Bar */
.top-menu-bar {
  background: rgba(255,255,255,0.75) !important;
  box-shadow: var(--shadow) !important;
  border-radius: 0 0 var(--radius) var(--radius) !important;
  margin: 0 auto 1.2rem auto !important;
  max-width: 1440px !important;
  padding: 0.5rem 2.5rem 0.5rem 2.5rem !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 100 !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  transition: background 0.3s !important;
  box-sizing: border-box !important;
  font-size: 16px !important;
  line-height: 1.5 !important;
}

.top-menu-content {
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  max-width: 1400px !important;
  box-sizing: border-box !important;
}

.top-menu-brand {
  font-size: 1.3rem !important;
  font-weight: 700 !important;
  color: var(--primary) !important;
  letter-spacing: -0.02em !important;
  margin-right: 2.5rem !important;
  text-decoration: none !important;
  box-sizing: border-box !important;
  line-height: 1.5 !important;
}

.top-menu-nav {
  display: flex !important;
  gap: 2rem !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  padding: 0 !important;
}

.top-menu-link {
  position: relative !important;
  color: var(--primary) !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  padding: 0.25em 0.5em !important;
  border-radius: 0.5em !important;
  transition: background 0.2s, color 0.2s !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  font-size: 16px !important;
  line-height: 1.5 !important;
  margin: 0 !important;
}

.top-menu-link::after {
  content: '';
  display: block;
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 3px;
  background: linear-gradient(90deg, var(--nav-underline), var(--nav-underline-active));
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform 0.35s cubic-bezier(.7,.2,.1,1);
  pointer-events: none;
}

.top-menu-link:focus::after, .top-menu-link.active::after, .top-menu-link:hover::after {
  transform: scaleX(1);
}

.top-menu-link.active, .top-menu-link[aria-current="page"] {
  color: var(--primary);
}

/* Footer */
.footer-wide {
  max-width: 1440px !important;
  width: 100%;
  background: #23243a;
  color: #fff;
  border-radius: 1.5rem 1.5rem 0 0;
  margin: 2.5rem auto 0 auto;
  box-shadow: 0 2px 24px 0 #8e80ff22;
  padding: 1.4rem 1.4rem 0.8rem 1.4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  padding: 0.9rem 0 0.5rem 0;
  border-top: 1.5px solid #e6e8fa;
  width: 100%;
}

.footer-logo {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 90px;
}

.footer-nav-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  min-width: 90px;
}

.footer-socials-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.4rem;
  min-width: 90px;
}

.footer-nav-link {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-bottom {
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  padding: 0.7rem 0 0.1rem 0;
}

/* Footer RunSync Holographic Effect */
.footer-runsync-text {
  position: relative;
  display: inline-block;
  background: linear-gradient(120deg, #5B5BF7 0%, #8E80FF 50%, #A0A0FF 100%);
  background-size: 200% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 16px rgba(91,91,247,0.18), 0 1px 8px rgba(142,128,255,0.22), 0 0px 2px #fff2;
  will-change: background-position;
  transition: background-position 0.7s cubic-bezier(.7,.2,.1,1);
}

.footer-runsync-text.holographic-shine {
  background: linear-gradient(120deg, #8E80FF 0%, #FF8EDB 16%, #A0FFF9 33%, #8E80FF 50%, #FF8EDB 66%, #A0FFF9 83%, #8E80FF 100%);
  text-shadow: 0 2px 16px rgba(160,255,249,0.18), 0 1px 8px rgba(142,128,255,0.22), 0 0px 2px #fff2;
  animation: footer-holographic-shine 2s ease-in-out;
}

@keyframes footer-holographic-shine {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}

/* Responsive Design */
@media (max-width: 1440px) {
  .container, .top-menu-bar, .footer-wide {
    max-width: 100vw;
  }
}

@media (max-width: 900px) {
  .top-menu-content {
    flex-direction: column;
    gap: 0.7rem;
  }
  .top-menu-nav {
    gap: 1.1rem;
  }
}

@media (max-width: 600px) {
  .top-menu-bar, .footer-wide {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
} 