/* Reset */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Nunito', sans-serif; }

body {
  height: 100vh;
  overflow-x: hidden;
  background: linear-gradient(135deg, #6a11cb, #2575fc);
  display: flex;
  flex-direction: column;
  color: #fff;
}

/* Navbar */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 3rem;
  position: relative;
  z-index: 10;
}
nav .logo { font-family: 'Poppins', sans-serif; font-size: 1.8rem; font-weight: 700; letter-spacing: 1px; }
nav ul { list-style: none; display: flex; gap: 2rem; }
nav ul li { cursor: pointer; transition: transform 0.2s; }
nav ul li:hover { transform: scale(1.1); }

/* Hero */
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 3rem;
  margin-bottom: 1rem;
  text-shadow: 0 0 10px rgba(0,0,0,0.4);
}
.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 600px;
  text-shadow: 0 0 6px rgba(0,0,0,0.4);
}
.hero .cta {
  padding: 1rem 2rem;
  font-size: 1.2rem;
  font-weight: 700;
  border: none;
  border-radius: 50px;
  background: linear-gradient(45deg, #ff9a9e, #fad0c4);
  color: #222;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.3s;
}
.hero .cta:hover {
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(255,255,255,0.5);
}

/* Floating elements */
.floating {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
  100% { transform: translateY(0) rotate(360deg); }
}

/* Features section */
.features {
  background: rgba(0,0,0,0.1);
  padding: 4rem 2rem;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 2rem;
}
.feature-card {
  background: rgba(255,255,255,0.1);
  border-radius: 15px;
  padding: 2rem;
  flex: 1 1 250px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}
.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.feature-card h3 { margin-bottom: 1rem; font-family: 'Poppins', sans-serif; }
.feature-card p { font-size: 0.95rem; }

/* Footer */
footer {
  text-align: center;
  padding: 1.5rem;
  background: rgba(0,0,0,0.2);
  font-size: 0.9rem;
}

/* Responsive */
@media(max-width: 768px){
  .hero h1 { font-size: 2.2rem; }
  nav ul { gap: 1rem; font-size: 0.9rem; }
}
/* dashboard Button in Navbar */
.dashboard-btn {
  display: inline-block;
  padding: 0.6rem 1.5rem;
  background: linear-gradient(45deg, #ff9a9e, #fad0c4);
  color: #222;
  font-weight: 700;
  border-radius: 50px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.3s;
}

.dashboard-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
}
