/* ============================================================================
   MasterClass AI Video - Custom Styles
   ============================================================================ */

/* Base Styles */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #010a1f 0%, #031b3b 100%);
  min-height: 100vh;
}

/* ============================================================================
   Navigation
   ============================================================================ */

.nav-link {
  transition: all 0.3s ease;
}

.nav-link:hover {
  background: rgba(0, 229, 255, 0.1);
  border-color: #00e5ff;
  transform: translateY(-2px);
}

/* Sticky Header */
.sticky-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(1, 10, 31, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 229, 255, 0.1);
  transition: all 0.3s ease;
}

/* ============================================================================
   Mobile Menu
   ============================================================================ */

.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(1, 10, 31, 0.98);
  border-bottom: 1px solid rgba(0, 229, 255, 0.2);
  padding: 1rem;
  animation: slideDown 0.3s ease;
}

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

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hamburger Menu */
.hamburger {
  cursor: pointer;
  width: 30px;
  height: 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, #00e5ff 0%, #00c853 100%);
  border-radius: 3px;
  transition: all 0.3s ease;
  pointer-events: none;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

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

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* ============================================================================
   Utility Classes
   ============================================================================ */

.gradient-text {
  background: linear-gradient(90deg, #00e5ff 0%, #00c853 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-bg {
  background: linear-gradient(135deg, #00e5ff 0%, #00c853 100%);
}

.gradient-border {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid transparent;
  background-clip: padding-box;
}

.gradient-border::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: -1;
  margin: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, #00e5ff 0%, #00c853 100%);
}

/* ============================================================================
   Guide Cards
   ============================================================================ */

.guide-card {
  transition: all 0.3s ease;
  cursor: pointer;
}

.guide-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 229, 255, 0.2);
}

.guide-card.active {
  background: rgba(0, 229, 255, 0.1);
  border-color: #00e5ff;
}

/* ============================================================================
   Filter Pills
   ============================================================================ */

.filter-pill {
  transition: all 0.2s ease;
  cursor: pointer;
}

.filter-pill:hover {
  transform: scale(1.05);
}

.filter-pill.active {
  background: linear-gradient(135deg, #00e5ff 0%, #00c853 100%);
  color: #010a1f;
  font-weight: 600;
}

/* ============================================================================
   Tab Buttons
   ============================================================================ */

.tab-button {
  transition: all 0.3s ease;
  cursor: pointer;
}

.tab-button.active {
  background: linear-gradient(135deg, #00e5ff 0%, #00c853 100%);
  color: #010a1f;
  font-weight: 600;
}

/* ============================================================================
   Badges
   ============================================================================ */

.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
  background: rgba(0, 229, 255, 0.2);
  color: #00e5ff;
  border: 1px solid rgba(0, 229, 255, 0.3);
}

.badge.green {
  background: rgba(0, 200, 83, 0.2);
  color: #00c853;
  border-color: rgba(0, 200, 83, 0.3);
}

.badge.purple {
  background: rgba(168, 85, 247, 0.2);
  color: #a855f7;
  border-color: rgba(168, 85, 247, 0.3);
}
