/* =========================
   RESET
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

html {
  scroll-behavior: smooth;
}

/* =========================
   VIDEO BACKGROUND
========================= */
#bg-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

/* DARK OVERLAY */
.overlay {
  position: fixed;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: -1;
}

/* =========================
   HEADER (FLOATING → ACTIVE)
========================= */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  padding: 0 40px;

  display: flex;
  justify-content: space-between;
  align-items: center;

  color: white;
  z-index: 9999;

  background: transparent;
  transition: all 0.4s ease;
}

/* ON SCROLL */
#navbar.active {
  height: 65px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

/* =========================
   NAV CONTENT
========================= */
.logo {
  font-size: 20px;
  font-weight: bold;
}

nav a {
  margin: 0 15px;
  text-decoration: none;
  color: white;
  transition: 0.3s;
}

nav a:hover {
  color: #2bb673;
}

/* BUTTONS */
/* =========================
   NAV BUTTON CONTAINER
========================= */
.right {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* LOGIN BUTTON */
.login {
  padding: 8px 18px;
  border-radius: 25px;

  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.3);
  color: white;

  backdrop-filter: blur(8px);
  cursor: pointer;

  transition: all 0.3s ease;
}

.login:hover {
  background: rgba(255,255,255,0.2);
  transform: scale(1.05);
}

/* GET STARTED BUTTON */
.cta-nav {
  position: relative;
  overflow: hidden;

  padding: 8px 20px;
  border-radius: 25px;
  border: none;

  background: linear-gradient(90deg, #2f80ed, #2bb673);
  color: white;

  cursor: pointer;
  transition: all 0.3s ease;

  box-shadow: 0 0 15px rgba(47,128,237,0.5);
}

/* SHINE EFFECT */
.cta-nav::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;

  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.4), transparent);
  transition: 0.6s;
}

.cta-nav:hover::before {
  left: 100%;
}

.cta-nav:hover {
  transform: scale(1.08);
  box-shadow: 0 0 30px rgba(43,182,115,0.8);
}

/* CTA BUTTON */
.cta-nav {
  border: none;
  background: linear-gradient(90deg, #2f80ed, #2bb673);
}

/* =========================
   HERO
========================= */
.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  text-align: center;
  color: white;
  padding: 0 20px;

  animation: fadeInUp 1s ease;
}

.hero h1 {
  font-size: 60px;
}

/* GRADIENT TEXT */
.hero span,
.features-section h1 span {
  background: linear-gradient(90deg, #2f80ed, #2bb673, #2f80ed);
  background-size: 200% auto;

  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  animation: gradientMove 4s linear infinite;
}

/* ANIMATION */
@keyframes gradientMove {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* HERO BUTTONS */
.hero-buttons {
  margin-top: 20px;
}

.primary {
  position: relative;
  overflow: hidden;

  padding: 12px 25px;
  border-radius: 25px;
  border: none;
  background: linear-gradient(90deg, #2f80ed, #2bb673);
  color: white;
  cursor: pointer;
  margin-right: 10px;

  box-shadow: 0 0 20px rgba(47,128,237,0.5);
  transition: 0.3s;
}

/* SHINE EFFECT */
.primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.4), transparent);
  transition: 0.6s;
}

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

.primary:hover {
  transform: scale(1.05);
}

.secondary {
  padding: 12px 25px;
  border-radius: 25px;
  border: 1px solid white;
  background: transparent;
  color: white;
}

.secondary:hover {
  background: white;
  color: black;
}

/* =========================
   FEATURES
========================= */
.features-section {
  background: #f5f7fa;
  padding: 100px 20px;
  text-align: center;
}

.tag {
  color: #2bb673;
  letter-spacing: 2px;
}

.subtitle {
  margin-top: 20px;
  color: #555;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  max-width: 1200px;
  margin: 40px auto;
  gap: 20px;
}

/* CARD */
.card {
  background: white;
  padding: 20px;
  border-radius: 12px;
  transition: all 0.4s ease;
}

.card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* ICON */
.icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #2f80ed, #2bb673);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  margin-bottom: 15px;
  color: white;
}

/* =========================
   CTA
========================= */
/* =========================
   CTA SECTION (PREMIUM FIX)
========================= */
.cta-section {
  padding: 140px 20px;
  text-align: center;
  color: white;

  /* PREMIUM GRADIENT */
  background: radial-gradient(circle at center, #2f80ed, #1c3f94);

  position: relative;
  overflow: hidden;
}

/* SOFT GLOW BACKGROUND */
.cta-section::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  top: -100px;
  left: -100px;

  background: radial-gradient(circle, rgba(43,182,115,0.4), transparent);
  filter: blur(120px);
}

/* TEXT */
.cta-section h1 {
  font-size: 50px;
  margin-bottom: 15px;
}

.cta-section p {
  font-size: 18px;
  opacity: 0.9;
}

/* BUTTON (FIXED 🔥) */
.cta-section button {
  margin-top: 30px;
  padding: 14px 35px;
  font-size: 16px;

  border-radius: 30px;
  border: none;

  background: linear-gradient(90deg, #2f80ed, #2bb673);
  color: white;

  cursor: pointer;
  transition: all 0.3s ease;

  box-shadow: 0 0 25px rgba(47,128,237,0.5);
}

/* HOVER EFFECT */
.cta-section button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 40px rgba(43,182,115,0.8);
}
/* =========================
   SCROLL ANIMATION
========================= */
.reveal {
  opacity: 0;
  transform: translateY(100px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}