@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

/* ================= RESET ================= */

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

body {
  font-family: 'Inter', sans-serif;
  background: #0b0d10;
  color: #ffffff;
  padding-top: 80px; /* Prevent fixed header overlap */
}

/* ================= HEADER ================= */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: rgba(11, 13, 16, 0.85);
  backdrop-filter: blur(10px);
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
}

.logo {
  height: 56px;
  transition: height 0.3s ease;
}

/* ================= NAV ================= */

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  color: #e5e7eb;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
}

.nav-link:hover {
  color: #4da3ff;
}

/* ================= DROPDOWN ================= */

.nav-dropdown {
  position: relative;
}

.dropdown {
  position: absolute;
  top: 130%;
  left: 0;
  min-width: 260px;
  background: #11141a;
  padding: 10px 0;
  border-radius: 12px;
  display: none;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.dropdown a {
  display: block;
  padding: 12px 18px;
  font-size: 14px;
  color: #e5e7eb;
  text-decoration: none;
}

.dropdown a:hover {
  background: rgba(77, 163, 255, 0.15);
  color: #4da3ff;
}

.nav-dropdown:hover .dropdown {
  display: block;
}

/* ================= HERO ================= */

.hero {
  min-height: 85vh;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;   /* center horizontally */
  text-align: center;
  background: radial-gradient(
    circle at center,
    rgba(77,163,255,0.18),
    #0b0d10 70%
  );
}

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.15;
}

.hero span {
  color: #4da3ff;
}

.hero p {
  margin-top: 16px;
  font-size: 1.2rem;
  opacity: 0.85;
}

/* ================= CTA BUTTON ================= */

.cta {
  margin-top: 2.5rem;
  padding: 14px 36px;
  border-radius: 40px;
  background: #4da3ff;
  color: #000;
  font-weight: 600;
  text-decoration: none;
  
  display: inline-block;   /* NOT flex */
  width: auto;             /* force auto width */
  align-self: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 45px rgba(77, 163, 255, 0.45);
}

/* ================= SECTIONS ================= */

.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2rem;
}

.dark {
  background: #11141a;
}

/* ================= CARDS ================= */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.card {
  background: #151a26;
  padding: 2rem;
  border-radius: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.45);
}

/* ================= FOOTER ================= */

footer {
  text-align: center;
  padding: 24px;
  font-size: 0.9rem;
  opacity: 0.6;
}
