/* 🌌 RESET + BASE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Arial', sans-serif;
}

body {
  background: #070b14;
  color: white;
  overflow-x: hidden;
}

/* 🌠 ANIMATED BACKGROUND */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 20% 20%, #1b2a4a, transparent 40%),
              radial-gradient(circle at 80% 70%, #14213d, transparent 40%);
  animation: bgMove 20s linear infinite;
  z-index: -1;
  opacity: 0.8;
}

@keyframes bgMove {
  0% { transform: translate(0,0); }
  50% { transform: translate(-10%, -10%); }
  100% { transform: translate(0,0); }
}

/* 🔝 NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 15px 50px;
  background: rgba(10, 15, 28, 0.6);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  z-index: 999;
}

.navbar nav a {
  color: white;
  margin-left: 20px;
  text-decoration: none;
  position: relative;
  transition: 0.3s;
}

.navbar nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0%;
  height: 2px;
  background: #4da3ff;
  transition: 0.3s;
}

.navbar nav a:hover {
  color: #4da3ff;
}

.navbar nav a:hover::after {
  width: 100%;
}

/* 🏠 HERO */
.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: radial-gradient(circle, #0f1c33, #070b14);
  position: relative;
  overflow: hidden;
}

.hero h1 {
  font-size: 3.5rem;
  animation: fadeUp 1s ease;
}

.hero p {
  opacity: 0.8;
  margin-top: 10px;
  animation: fadeUp 1.5s ease;
}

/* 📦 SECTIONS */
.section {
  padding: 120px 20px;
  text-align: center;
}

/* 📊 GRID */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 50px;
}

/* 🧩 CARDS */
.card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 25px;
  transition: 0.4s;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(77,163,255,0.2), transparent 60%);
  transform: rotate(25deg);
  transition: 0.5s;
}

.card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: #4da3ff;
}

.card:hover::before {
  transform: rotate(0deg);
}

/* ⚡ HIGHLIGHT CARD */
.highlight {
  border: 1px solid #4da3ff;
  box-shadow: 0 0 20px rgba(77,163,255,0.3);
}

/* 🔘 BUTTONS (FULL PREMIUM) */
.btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 25px;
  background: linear-gradient(90deg, #4da3ff, #6ee7ff);
  color: black;
  font-weight: bold;
  border-radius: 10px;
  text-decoration: none;
  transition: 0.4s;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.3);
  transition: 0.4s;
}

.btn:hover::before {
  left: 100%;
}

.btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px #4da3ff;
}

/* 🌊 ANIMATIONS */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 📜 FOOTER */
.footer {
  padding: 40px;
  text-align: center;
  background: #05070f;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 80px;
}