/* Header styles extracted from landing pages */
:root {
  --primary: #3498db;
  --secondary: #2ecc71;
  --accent: #9b59b6;
  --background: #f9f9f9;
  --text: #333;
  --light-text: #666;
  --card: #fff;
  --shadow: rgba(0, 0, 0, 0.1);
  --yeti-blue: #a0d2eb;
  --snow-white: #f1f1f1;
--glow: rgba(138, 43, 226, 0.5);
}

.landing-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 3rem;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  z-index: 1000;
  transition: all 0.3s ease;
}

.landing-header.scrolled {
  padding: 0.8rem 3rem;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.logo img {
  height: 40px;
  margin-right: 10px;
  animation: bounce 2s infinite alternate;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--primary);
}

.auth-buttons {
  display: flex;
  gap: 1rem;
}

.theme-toggle {
  margin-left: 1rem;
}

.theme-switch {
  padding: 0.5rem 1rem;
  border-radius: 50px;
  color: #333;
  text-decoration: none;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
  background-color: rgba(0, 0, 0, 0.05);
}

.theme-switch:hover {
  transform: translateY(-2px);
  background-color: rgba(0, 0, 0, 0.1);
}

.menu-toggle {
  display: none !important;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--primary);
  border-radius: 3px;
  transition: all 0.3s ease;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.98);
  z-index: 999;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  padding: 2rem;
  transform: translateY(-100%);
  transition: transform 0.4s ease;
}

@media (max-width: 768px) {
  .mobile-menu {
    display: flex;
    transform: translateY(-100%);
  }

  .mobile-menu.active {
    transform: translateY(0);
  }
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
  box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-primary:hover {
  background-color: #2980b9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

.btn-secondary:hover {
  background-color: rgba(52, 152, 219, 0.1);
  transform: translateY(-2px);
}

/* Dark mode variable overrides */
.dark-mode,
[data-theme="dark"],
body.dark {
  --primary: #8a2be2;
  --secondary: #ff6b6b;
  --accent: #00b4d8;
  --background: #121212;
  --text: #e0e0e0;
  --light-text: #9e9e9e;
  --card: #252525;
  --shadow: rgba(0,0,0,0.4);
  --glow: rgba(138, 43, 226, 0.5);
}

[data-theme="dark"] body {
  background-color: var(--background);
  color: var(--text);
}

/* Dark mode overrides */
.dark-mode .landing-header,
[data-theme="dark"] .landing-header,
body.dark .landing-header {
  background-color: rgba(14, 14, 14, 0.95);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
}

.dark-mode .logo,
[data-theme="dark"] .logo,
body.dark .logo {
  color: var(--primary);
  text-shadow: 0 0 10px var(--glow);
}

.dark-mode .logo img,
[data-theme="dark"] .logo img,
body.dark .logo img {
  filter: drop-shadow(0 0 8px var(--glow));
}

.dark-mode .nav-links a:hover,
[data-theme="dark"] .nav-links a:hover,
body.dark .nav-links a:hover {
  text-shadow: 0 0 8px var(--glow);
  transform: translateY(-2px);
}

.dark-mode .theme-switch,
[data-theme="dark"] .theme-switch,
body.dark .theme-switch {
  color: #ffd700;
}

.dark-mode .theme-switch:hover,
[data-theme="dark"] .theme-switch:hover,
body.dark .theme-switch:hover {
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.7);
}

.dark-mode .mobile-menu,
[data-theme="dark"] .mobile-menu,
body.dark .mobile-menu {
  background-color: rgba(10, 10, 10, 0.98);
}

.dark-mode .btn-secondary,
[data-theme="dark"] .btn-secondary,
body.dark .btn-secondary {
  box-shadow: 0 0 10px rgba(138, 43, 226, 0.3);
}

.dark-mode .btn-primary,
[data-theme="dark"] .btn-primary,
body.dark .btn-primary {
  box-shadow: 0 0 15px var(--glow);
}

.dark-mode .btn-primary:hover,
[data-theme="dark"] .btn-primary:hover,
body.dark .btn-primary:hover {
  background-color: #7b27c9;
  box-shadow: 0 0 20px var(--glow);
}

.dark-mode .btn-secondary:hover,
[data-theme="dark"] .btn-secondary:hover,
body.dark .btn-secondary:hover {
  background-color: rgba(138, 43, 226, 0.1);
  box-shadow: 0 0 15px rgba(138, 43, 226, 0.4);
}
