/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* BODY */
body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: radial-gradient(circle at top, #15152b 0, #050509 45%, #000000 100%);
  color: #e3e7ff;
  line-height: 1.6;
  min-height: 100vh;
}

/* Simple background grid overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image:
    linear-gradient(transparent 0 23px, rgba(255,255,255,0.06) 24px),
    linear-gradient(90deg, transparent 0 23px, rgba(255,255,255,0.06) 24px);
  background-size: 24px 24px;
  z-index: -1;
}

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2.5rem;
  background: rgba(3, 5, 15, 0.9);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(120, 255, 255, 0.25);
  box-shadow: 0 0 18px rgba(0, 255, 255, 0.18);
}

.brand {
  font-family: "Orbitron", system-ui, sans-serif;
  font-size: 1.4rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7df9ff;
}

.nav a {
  margin-left: 1.5rem;
  text-decoration: none;
  font-size: 0.95rem;
  color: #d0d7ff;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  position: relative;
  padding-bottom: 0.2rem;
  transition: color 0.2s;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #ff47c1, #00f6ff);
  transition: width 0.2s ease-out;
}

.nav a:hover {
  color: #ffffff;
}

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

/* HERO */
.hero {
  text-align: center;
  padding: 5rem 2rem 4rem;
  max-width: 900px;
  margin: 0 auto;
}

.hero h1 {
  font-family: "Orbitron", system-ui, sans-serif;
  font-size: 2.7rem;
  margin-bottom: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #f5f5ff;
  text-shadow:
    0 0 6px rgba(0, 255, 255, 0.7),
    0 0 20px rgba(255, 71, 193, 0.4);
}

.hero p {
  font-size: 1rem;
  color: #c3c9ff;
}

.hero-sub {
  margin-top: 0.3rem;
  font-size: 0.9rem;
  opacity: 0.85;
}

.hero-buttons {
  margin-top: 2rem;
}

/* BUTTONS */
.btn {
  display: inline-block;
  margin: 0.5rem;
  padding: 0.75rem 1.7rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.btn.primary {
  background: linear-gradient(135deg, #ff47c1, #00f6ff);
  color: #050509;
  box-shadow: 0 0 18px rgba(0, 255, 255, 0.4);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 26px rgba(0, 255, 255, 0.65);
}

.btn.ghost {
  background: transparent;
  border-color: #7df9ff;
  color: #e3e7ff;
}

.btn.ghost:hover {
  background: rgba(0, 249, 255, 0.12);
  box-shadow: 0 0 16px rgba(0, 249, 255, 0.35);
  transform: translateY(-1px);
}

/* GRID SECTION */
.grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  padding: 2rem 2.5rem 4rem;
  max-width: 1100px;
  margin: 0 auto;
}

/* CARDS */
.card {
  background: radial-gradient(circle at top left, #1d1233 0, #070713 40%, #050509 100%);
  padding: 2rem;
  border-radius: 14px;
  border: 1px solid rgba(133, 255, 255, 0.25);
  box-shadow:
    0 0 16px rgba(0, 251, 255, 0.15),
    0 0 32px rgba(255, 71, 193, 0.15);
  position: relative;
  overflow: hidden;
}

/* subtle inner glow accent */
.card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at top, rgba(0, 255, 255, 0.18), transparent 55%);
  opacity: 0;
  transition: opacity 0.25s ease-out;
  pointer-events: none;
}

.card:hover::before {
  opacity: 1;
}

.card h2 {
  font-family: "Orbitron", system-ui, sans-serif;
  color: #fdf0ff;
  margin-bottom: 0.5rem;
  font-size: 1.35rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card p {
  font-size: 0.95rem;
  color: #cbd1ff;
}

.card-btn {
  display: inline-block;
  margin-top: 1.2rem;
  color: #7df9ff;
  text-decoration: none;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.card-btn::after {
  content: "?";
  margin-left: 0.4rem;
  font-size: 0.9rem;
}

.card-btn:hover {
  color: #ff8df0;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 2rem 1rem 2.5rem;
  color: #8087b5;
  font-size: 0.85rem;
  border-top: 1px solid rgba(100, 150, 255, 0.22);
  margin-top: 1rem;
}
