@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #000;
  color: #fff;
  overflow-x: hidden;
  line-height: 1.6;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Selection color */
::selection {
  background: rgba(139, 92, 246, 0.3);
  color: #00ffff;
}

/* ---------- NAVBAR ---------- */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 60px;
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(20px);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(139, 92, 246, 0.2);
  transition: all 0.3s ease;
}

nav.scrolled {
  padding: 12px 60px;
  background: rgba(20, 20, 20, 0.9);
  box-shadow: 0 10px 40px rgba(139, 92, 246, 0.2);
}

.logo {
  font-weight: 800;
  font-size: 1.4rem;
  background: linear-gradient(135deg, #00ffff, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.logo:hover {
  filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.6));
}

.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-links a {
  color: #9ca3af;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  padding: 5px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #00ffff, #8b5cf6);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: #00ffff;
}

.nav-links a:hover::after {
  width: 100%;
}

/* ---------- MOBILE NAV ---------- */
#menu-toggle {
  display: none;
}

.menu-icon {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #fff;
  transition: all 0.3s ease;
}

.menu-icon:hover {
  color: #00ffff;
}

@media (max-width: 768px) {
  nav {
    padding: 15px 30px;
  }

  .menu-icon {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 65px;
    right: 0;
    left: 0;
    flex-direction: column;
    align-items: center;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(30px);
    border-top: 1px solid rgba(139, 92, 246, 0.2);
    padding: 20px 0;
  }

  #menu-toggle:checked + .menu-icon + .nav-links {
    display: flex;
  }

  .nav-links a {
    padding: 12px 0;
    font-size: 1.1rem;
    width: 100%;
    text-align: center;
  }
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: 1rem;
  font-family: 'Poppins', sans-serif;
}

.btn.primary, .btn-primary {
  background: linear-gradient(135deg, #00ffff, #8b5cf6);
  color: #000;
  box-shadow: 0 4px 15px rgba(0, 255, 255, 0.3);
}

.btn.primary:hover, .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 255, 255, 0.5);
  color: #000;
}

.btn.alt {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border: 1px solid rgba(139, 92, 246, 0.5);
}

.btn.alt:hover {
  background: rgba(139, 92, 246, 0.2);
  border-color: #8b5cf6;
  transform: translateY(-2px);
  color: #fff;
}

.btn:active {
  transform: translateY(0);
}

/* ---------- CARDS ---------- */
.card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 25px;
  transition: all 0.4s ease;
}

.card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(139, 92, 246, 0.3);
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(139, 92, 246, 0.2);
}

/* ---------- FORMS ---------- */
input[type="text"],
input[type="email"],
input[type="number"],
input[type="password"],
textarea,
select {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: #fff;
  font-size: 1rem;
  font-family: 'Poppins', sans-serif;
  transition: all 0.3s ease;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: #8b5cf6;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

/* ---------- GRADIENTS ---------- */
.gradient-text {
  background: linear-gradient(135deg, #00ffff, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-border {
  border: 2px solid transparent;
  background: linear-gradient(#000, #000) padding-box,
              linear-gradient(135deg, #00ffff, #8b5cf6) border-box;
}

/* ---------- ANIMATIONS ---------- */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideIn {
  from {
    transform: translateX(-20px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.fade-in {
  animation: fadeIn 0.6s ease forwards;
}

.slide-in {
  animation: slideIn 0.6s ease forwards;
}

/* ---------- SCROLLBAR ---------- */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #00ffff, #8b5cf6);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #8b5cf6, #00ffff);
}

/* ---------- FOOTER ---------- */
footer {
  text-align: center;
  padding: 30px 60px;
  background: rgba(10, 10, 10, 0.8);
  border-top: 1px solid rgba(139, 92, 246, 0.2);
  color: #6b7280;
  font-size: 0.95rem;
}

footer span {
  background: linear-gradient(135deg, #00ffff, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

/* ---------- UTILITY CLASSES ---------- */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.text-center {
  text-align: center;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }
.p-5 { padding: 3rem; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
  footer {
    padding: 20px 30px;
  }
}

@media (max-width: 500px) {
  nav {
    padding: 12px 20px;
  }

  .logo {
    font-size: 1.2rem;
  }
}