@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&family=Space+Grotesk:wght@400;500;700;900&display=swap');

:root {
  --primary: #C042FF;
  --secondary: #7ed1f2;
  --bg-color: #0e0e0e;
  --surface: #131313;
  --surface-light: #1f1f1f;
  --text-primary: #e2e2e2;
  --text-secondary: rgba(226, 226, 226, 0.6);
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
}

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

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

h1, h2, h3, h4, h5, h6, .font-display {
  font-family: 'Space Grotesk', sans-serif;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Utilities */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 8rem 0;
}

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

.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-glow-purple {
  text-shadow: 0 0 20px rgba(192, 66, 255, 0.8);
}

.neon-glow-purple {
  box-shadow: 0 0 30px rgba(192, 66, 255, 0.4);
}

.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 2rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  border-radius: 9999px;
  transition: all 0.5s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  transform: scale(1.05);
}

.btn-outline {
  background: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.05);
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 1.5rem 1rem;
  display: flex;
  justify-content: center;
  transition: all 0.3s ease;
}

.nav-inner {
  width: 100%;
  max-width: 1280px;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 2rem;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.8);
}

.logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  color: white;
  font-style: italic;
  text-shadow: 0 0 10px rgba(192, 66, 255, 0.8);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-link {
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
}

.nav-link:hover {
  color: white;
  text-shadow: 0 0 5px rgba(192, 66, 255, 0.5);
}

.nav-cta {
  padding: 0.6rem 1.5rem;
  border-radius: 9999px;
  background: var(--primary);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: transform 0.3s;
  box-shadow: 0 0 15px rgba(192, 66, 255, 0.4);
}

.nav-cta:hover {
  transform: scale(1.05);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Footer */
.footer {
  background: #000;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 4rem 2rem;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-links {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.footer-link {
  font-size: 0.875rem;
  color: #6b7280;
}

.footer-link:hover {
  color: white;
}

.back-to-top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  opacity: 0.6;
  cursor: pointer;
  transition: opacity 0.3s;
  background: none;
  border: none;
  color: white;
}

.back-to-top:hover {
  opacity: 1;
}

.back-to-top-text {
  font-size: 0.625rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Scroll Progress Bar */
.scroll-progress-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: transparent;
  z-index: 9999;
}

.scroll-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  width: 0%;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links, .nav-cta {
    display: none;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .nav-inner {
    padding: 0.75rem 1.5rem;
  }
  
  .section {
    padding: 5rem 0;
  }
}
