:root {
  --primary: #0ff;
  --secondary: #f0f;
  --accent: #0f0;
  --bg-color: #0a0a0a;
  --glass-bg: rgba(255, 255, 255, 0.05);
  --border-glow: rgba(0, 255, 255, 0.4);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-color);
  font-family: 'Segoe UI', sans-serif;
  color: white;
  line-height: 1.6;
}

/* Background Effects */
.bg-blur {
  position: absolute;
  width: 400px;
  height: 400px;
  filter: blur(120px);
  z-index: -1;
}

.neon-blue {
  background: #0ff;
  top: 10%;
  left: 10%;
}

.neon-pink {
  background: #f0f;
  top: 50%;
  right: 10%;
}

.neon-green {
  background: #0f0;
  bottom: 10%;
  left: 40%;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: -2;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glow);
  z-index: 10;
  transition: 0.3s;
}

.navbar.scrolled {
  background-color: rgba(0, 0, 0, 0.7);
}

.nav-container {
  max-width: 1200px;
  margin: auto;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary);
}

.logo span {
  color: var(--secondary);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  text-decoration: none;
  color: white;
  transition: 0.3s;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.connect-button {
  background: var(--primary);
  color: black;
  padding: 0.5rem 1.2rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: 0.3s;
}

.connect-button:hover {
  background: var(--secondary);
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: white;
  transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
  height: 0;
  overflow: hidden;
  background: var(--glass-bg);
  display: flex;
  flex-direction: column;
  padding: 0 1rem;
  transition: height 0.3s;
}

.mobile-nav-link {
  padding: 1rem 0;
  text-decoration: none;
  color: white;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mobile-nav-link.active {
  color: var(--primary);
}

/* Section Styles */
.section {
  padding: 120px 20px;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.section-content {
  max-width: 800px;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.gradient-text {
  background: linear-gradient(45deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  color: transparent;
}

.section-desc,
.hero-subtitle {
  font-size: 1.1rem;
  opacity: 0.8;
}

.features {
  list-style: none;
  padding: 0;
}

.features li {
  margin: 0.5rem 0;
}

/* Animations */
.section-hidden {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.section-visible {
  opacity: 1;
  transform: translateY(0);
}

.section-highlight {
  outline: 3px solid var(--accent);
  transition: outline 0.3s ease-in-out;
}

/* Footer */
.footer {
  background: #111;
  padding: 2rem 1rem;
  text-align: center;
}

.footer-content {
  max-width: 1200px;
  margin: auto;
}

.footer-links a {
  margin: 0 1rem;
  color: white;
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--primary);
}

.social-icons img {
  width: 24px;
  margin: 0 0.5rem;
  opacity: 0.7;
  transition: 0.3s;
}

.social-icons img:hover {
  opacity: 1;
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.contact-form input,
.contact-form textarea {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 1rem;
  color: white;
  font-size: 1rem;
  border-radius: 8px;
  width: 100%;
}

.send-button {
  background: var(--primary);
  border: none;
  padding: 0.8rem 1.5rem;
  font-weight: bold;
  cursor: pointer;
  border-radius: 50px;
  transition: 0.3s;
}

.send-button:hover {
  background: var(--secondary);
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .hamburger {
    display: flex;
  }
}
