* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-family: "Poppins", sans-serif;
}

body {
  background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
  color: white;
  overflow-x: hidden;
}

/* ---------- Layout ---------- */

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  padding: 80px 0;
}

/* ---------- Navbar ---------- */

header {
  position: fixed;
  width: 100%;
  backdrop-filter: blur(10px);
  background: rgba(0, 0, 0, 0.4);
  z-index: 1000;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo {
  display: flex;
  align-items: center;
  font-weight: 600;
  font-size: 18px;
}

.logo img {
  width: 38px;
  margin-right: 10px;
}

nav {
  display: flex;
  gap: 20px;
}

nav a {
  color: white;
  text-decoration: none;
  font-size: 14px;
  transition: 0.3s;
}

nav a:hover {
  color: #ff4ecd;
}

/* ---------- Hero Section ---------- */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  text-align: center;
  padding-top: 120px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero p {
  max-width: 600px;
  margin: 0 auto 30px auto;
  opacity: 0.8;
  font-size: 16px;
}

.btn {
  display: inline-block;
  background: linear-gradient(90deg, #ff4ecd, #6c63ff);
  padding: 14px 30px;
  border-radius: 50px;
  text-decoration: none;
  color: white;
  font-weight: 600;
  transition: 0.3s;
}

.btn:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* ---------- Features ---------- */

.features h2,
.about h2 {
  text-align: center;
  margin-bottom: 40px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.card {
  background: rgba(255, 255, 255, 0.06);
  padding: 25px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.12);
}

/* ---------- About ---------- */

.about {
  text-align: center;
  max-width: 800px;
  margin: auto;
}

/* ---------- Content Pages (Privacy/Terms) ---------- */

.content {
  padding-top: 150px;
  max-width: 900px;
  margin: auto;
  line-height: 1.8;
}

.content h1,
.content h2 {
  margin-bottom: 15px;
}

.content p,
.content li {
  opacity: 0.85;
  margin-bottom: 12px;
}

/* ---------- Footer ---------- */

footer {
  text-align: center;
  padding: 30px 0;
  background: rgba(0, 0, 0, 0.4);
  margin-top: 60px;
  font-size: 14px;
}

/* ========================= */
/* ===== RESPONSIVE ======== */
/* ========================= */

/* Tablet */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .container {
    padding: 60px 0;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .nav {
    flex-direction: column;
    gap: 15px;
  }

  nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero {
    padding-top: 140px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 14px;
  }

  .btn {
    padding: 12px 25px;
    font-size: 14px;
  }

  .card {
    padding: 20px;
  }

  .content {
    padding-top: 180px;
  }
}

/* Small Phones */
@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.7rem;
  }

  nav a {
    font-size: 13px;
  }

  .logo span {
    font-size: 16px;
  }
}
