:root {
  --primary: #4B0082;
  --secondary: #FF6EC7;
  --background: #121212;
  --footer-bg: #1A1A1A;
  --button: #00FFFF;
  --section-1: #1E1E1E;
  --section-2: #252525;
  --section-3: #2A2A2A;
  --text-primary: #FFFFFF;
  --text-secondary: rgba(255, 255, 255, 0.7);
  --glitch-effect: 2px 2px 0 var(--secondary), -2px -2px 0 var(--button);
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v12/UcC73FwrK3iLTeHuS_fvQtMwCp50KnMa1ZL7.woff2) format('woff2');
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--background);
  color: var(--text-primary);
  line-height: 1.8;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 10px rgba(75, 0, 130, 0.3);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  position: relative;
  display: inline-block;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

p {
  color: var(--text-secondary);
  max-width: 65ch;
  margin-bottom: 2rem;
}

a {
  color: var(--button);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
}

a:hover {
  color: var(--secondary);
  text-shadow: 0 0 8px var(--secondary);
}

a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--secondary);
  transition: width 0.3s ease;
}

a:hover::after {
  width: 100%;
}

.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  background-color: transparent;
  color: var(--button);
  border: 2px solid var(--button);
  border-radius: 0;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
}

.btn:hover {
  color: var(--background);
  background-color: var(--button);
  box-shadow: 0 0 25px rgba(0, 255, 255, 0.6);
  transform: translateY(-3px);
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.2), transparent);
  transition: 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.section-bg-1 {
  background-color: var(--section-1);
  position: relative;
}

.section-bg-1::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 50%, rgba(75, 0, 130, 0.1) 0%, transparent 50%);
}

.section-bg-2 {
  background-color: var(--section-2);
  position: relative;
}

.section-bg-2::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent 65%, rgba(255, 110, 199, 0.05) 100%);
}

.section-bg-3 {
  background-color: var(--section-3);
  position: relative;
}

.section-bg-3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--primary));
}

.glitch-effect {
  animation: glitch 1s linear infinite;
}

@keyframes glitch {
  0% {
    text-shadow: var(--glitch-effect);
  }
  25% {
    text-shadow: -2px 2px 0 var(--secondary), 2px -2px 0 var(--button);
  }
  50% {
    text-shadow: 2px -2px 0 var(--secondary), -2px 2px 0 var(--button);
  }
  75% {
    text-shadow: -2px -2px 0 var(--secondary), 2px 2px 0 var(--button);
  }
  100% {
    text-shadow: var(--glitch-effect);
  }
}

.card {
  background-color: var(--section-2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0;
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border-color: var(--button);
}

.card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, var(--primary), var(--secondary), var(--button));
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover::before {
  opacity: 0.3;
}

footer {
  background-color: var(--footer-bg);
  padding: 3rem 0;
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .btn {
    padding: 0.6rem 1.5rem;
  }
}