/* ==================== HEADER COMPONENT - SCOPED STYLES ==================== */
/* Version: 1.0 - Based on COMPLETE_DESIGN_SPEC_v4.md */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: rgba(10, 14, 26, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  z-index: 10000;
  isolation: isolate;
}

.site-header-content {
  max-width: 1400px;
  height: 100%;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo + Brand */
.site-header-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.site-header-brand:hover {
  opacity: 0.8;
}

.site-header-logo {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.site-header-name {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Desktop Navigation */
.site-header-nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.site-header-nav-link {
  color: #c4d4e8;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: color 0.2s ease;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.site-header-nav-link:hover {
  color: #ffffff;
}

/* CTA Button */
.site-header-cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: linear-gradient(135deg, #00D4FF, #825AFF);
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  border-radius: 6px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 212, 255, 0.3);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  cursor: pointer;
  border: none;
}

.site-header-cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 212, 255, 0.4);
}

/* Mobile Toggle */
.site-header-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.site-header-mobile-toggle span {
  width: 24px;
  height: 2px;
  background: #c4d4e8;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.site-header-mobile-toggle:hover span {
  background: #ffffff;
}

/* Mobile Menu */
.site-header-mobile-menu {
  display: none;
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 14, 26, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 9999;
  padding: 2rem;
  overflow-y: auto;
}

.site-header-mobile-menu.active {
  display: block;
}

.site-header-mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.site-header-mobile-nav-link {
  color: #ffffff;
  text-decoration: none;
  font-size: 20px;
  font-weight: 600;
  padding: 1rem;
  border-radius: 8px;
  transition: background 0.2s ease;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.site-header-mobile-nav-link:hover {
  background: rgba(255, 255, 255, 0.05);
}

.site-header-mobile-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, #00D4FF, #825AFF);
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  margin-top: 1rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
  .site-header-content {
    padding: 0 1.5rem;
  }

  .site-header-logo {
    width: 28px;
    height: 28px;
  }

  .site-header-name {
    font-size: 18px;
  }

  .site-header-nav {
    display: none;
  }

  .site-header-mobile-toggle {
    display: flex;
  }
}

@media (max-width: 375px) {
  .site-header-content {
    padding: 0 1rem;
  }

  .site-header-name {
    font-size: 16px;
  }
}
