/* ---------- GLOBAL ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }


body {
  display: flex;
  flex-direction: column;
  min-height: 100vh; /* Full viewport height */
  font-family: "Poppins", sans-serif;
  background: #0f172a;
  color: #f8fafc;
  margin: 0;
}


a { text-decoration: none; color: inherit; }
section { padding: 80px 5%; }


main {
  flex: 1; /* Fills remaining space above footer */
}


/* ---------- NAVBAR ---------- */
nav {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  backdrop-filter: blur(10px);
  background: rgba(15, 23, 42, 0.8);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 5%;
  z-index: 1000;
  animation: fadeSlide 1.5s ease;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #00c6ff;
  position: relative;
  animation: logoPulse 3s ease-in-out infinite;
}
@keyframes logoPulse {
  0%,100% { text-shadow: 0 0 5px #00c6ff; }
  50% { text-shadow: 0 0 20px #00c6ff, 0 0 40px #0061ff; }
}

.nav-links {
  display: flex;
  gap: 2rem;
}
.nav-links a {
  color: #f8fafc;
  font-weight: 500;
  transition: 0.3s;
}
.nav-links a:hover {
  color: #00c6ff;
}

/* Responsive Navbar */
.menu-toggle {
  display: none;
}
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    flex-direction: column;
    height: 100vh;
    width: 200px;
    background: rgba(15, 23, 42, 0.95);
    align-items: center;
    justify-content: center;
    transition: right 0.5s ease;
  }
  .nav-links a { font-size: 1.3rem; }
  input:checked ~ .nav-links {
    right: 0;
  }
  .menu-toggle {
    display: block;
    cursor: pointer;
  }
  .menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px;
    background: #fff;
    transition: 0.3s;
  }
}

/* ---------- HERO ---------- */
.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: linear-gradient(120deg, #0061ff, #00c6ff, #0061ff);
  background-size: 400% 400%;
  animation: gradientShift 8s ease infinite;
}
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  color: #fff;
}
.hero p {
  font-size: 1.2rem;
  margin: 1rem 0 2rem;
  max-width: 600px;
  color: #e2e8f0;
}
.cta-btn {
  padding: 0.8rem 1.6rem;
  background: #fff;
  color: #0061ff;
  border-radius: 50px;
  font-weight: 600;
  transition: 0.3s;
}
.cta-btn:hover {
  background: #00c6ff;
  color: #fff;
  transform: scale(1.05);
}

/* ---------- FOOTER ---------- */
footer {
  background: #0b1220;
  text-align: center;
  padding: 30px;
  color: #94a3b8;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}
footer a { color: #00c6ff; }
footer a:hover { text-decoration: underline; }


/* ---------- Animations ---------- */
@keyframes fadeSlide {
  0% { opacity: 0; transform: translateY(-20px); }
  100% { opacity: 1; transform: translateY(0); }
}
