* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background: radial-gradient(circle at top left, #12003d, #000014);
  color: white;
  overflow-x: hidden;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 100;
  background: rgba(10, 0, 30, 0.7);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  width: 50px;
}

.logo h1 {
  font-size: 1.3rem;
  color: #00f6ff;
  text-shadow: 0 0 8px #00f6ff;
}

.nav-links {
  display: flex;
  gap: 25px;
  list-style: none;
}

.nav-links a {
  color: white;
  text-decoration: none;
  transition: color 0.3s, text-shadow 0.3s;
}

.nav-links a:hover {
  color: #00f6ff;
  text-shadow: 0 0 8px #00f6ff;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.burger span {
  width: 25px;
  height: 3px;
  background: white;
  border-radius: 2px;
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-content {
  z-index: 2;
  max-width: 700px;
  padding: 20px;
}

.hero h2 {
  font-size: 2.7rem;
  margin-bottom: 15px;
  color: #00e0ff;
  text-shadow: 0 0 20px #00f6ff;
}

.hero p {
  font-size: 1.1rem;
  color: #ddd;
  margin-bottom: 30px;
}

button {
  background: linear-gradient(90deg, #00f6ff, #460340);
  color: white;
  border: none;
  padding: 12px 28px;
  border-radius: 30px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px #00f6ff;
}

button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px #ff00ea;
}

/* Sections Container */
.sections-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 80px;
  padding: 120px 20px;
  background: radial-gradient(circle at center, #0b0025 0%, #000015 100%);
}

/* --- Refined Section Cards --- */
.section {
  background: linear-gradient(135deg, rgba(0,255,255,0.1), rgba(255,0,255,0.05));
  border: 1px solid rgba(0,255,255,0.2);
  border-radius: 20px;
  padding: 60px 40px;
  width: 80%;
  max-width: 900px;
  text-align: center;
  box-shadow: 0 0 25px rgba(0,255,255,0.1);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.section::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0,255,255,0.15) 0%, transparent 60%);
  transform: scale(0);
  transition: all 0.5s ease;
  z-index: 0;
}

.section:hover::before {
  transform: scale(1);
}

.section:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 40px rgba(0,255,255,0.3);
}

.section h2 {
  font-size: 2.2rem;
  color: #00ffff;
  text-shadow: 0 0 15px #00ffff;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.section p {
  font-size: 1.1rem;
  color: #ccc;
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.section h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #00ffff, #ff00ea);
  margin: 10px auto 25px;
  border-radius: 10px;
}

/* Footer */
footer {
  text-align: center;
  padding: 20px;
  background: rgba(10, 0, 30, 0.8);
  color: #777;
}

/* Canvas Background */
#bgCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background: rgba(15, 0, 40, 0.9);
    position: absolute;
    top: 60px;
    right: 0;
    width: 180px;
    padding: 20px;
    border-left: 1px solid #00f6ff;
  }

  .nav-links.active {
    display: flex;
  }

  .burger {
    display: flex;
  }

  .hero h2 {
    font-size: 2rem;
  }

  .section {
    width: 90%;
  }
}

/* Fade-in Animation */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
