/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background: #0f172a;
  color: white;
  overflow-x: hidden;
}

/* Animated Background */
body::before {
  content: "";
  position: fixed;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #38bdf8, transparent 60%);
  top: -200px;
  left: -200px;
  animation: move 12s infinite alternate;
  filter: blur(120px);
  z-index: -1;
}

@keyframes move {
  to { transform: translate(400px, 300px); }
}

/* Navbar */
nav {
  position: fixed;
  width: 100%;
  padding: 20px 40px;
  backdrop-filter: blur(15px);
  background: rgba(255,255,255,0.05);
  display: flex;
  justify-content: space-between;
  z-index: 1000;
}

nav a {
  color: white;
  text-decoration: none;
  margin-left: 20px;
  transition: 0.3s;
}

nav a:hover {
  color: #38bdf8;
}

/* Container */
.container {
  padding: 140px 20px 80px;
  max-width: 1100px;
  margin: auto;
  text-align: center;
}

/* Headings */
h1 {
  font-size: 48px;
  margin-bottom: 20px;
  background: linear-gradient(90deg,#38bdf8,#818cf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
  padding: 12px 28px;
  border-radius: 50px;
  background: linear-gradient(90deg,#38bdf8,#6366f1);
  border: none;
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
  text-decoration: none;
  display: inline-block;
}

.btn:hover {
  transform: scale(1.1);
}

/* Cards */
.card {
  padding: 30px;
  border-radius: 20px;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(15px);
  transition: 0.4s;
  margin: 20px;
}

.card:hover {
  transform: scale(1.05);
}

/* Grid */
.grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

/* Forms */
input, textarea {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border-radius: 10px;
  border: none;
  outline: none;
}

form {
  max-width: 400px;
  margin: auto;
}

/* Footer */
footer {
  text-align: center;
  padding: 30px;
  opacity: 0.6;
}

/* Dashboard */
.dashboard-box {
  background: rgba(255,255,255,0.05);
  padding: 30px;
  border-radius: 20px;
  margin: 20px;
}

/* Responsive */
@media(max-width:768px){
  h1 { font-size: 32px; }
  nav { flex-direction: column; }
}

.logo {
    font-size: 28px;
    font-weight: bold;
    background: linear-gradient(90deg, #38bdf8, #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
}
