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

body, html {
  height: 100%;
  font-family: 'Inter', sans-serif;
  color: #cadcfc;
  overflow-x: hidden; /* only hides horizontal scroll */
  overflow-y: auto;   /* enables vertical scrolling */
}

/* Custom Scrollbar (Webkit Browsers) */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: rgba(0, 10, 30, 0.8); /* dark background */
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #8ab6f9, #cadcfc); /* neon gradient */
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(138, 182, 249, 0.6); /* glowing effect */
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #cadcfc, #8ab6f9);
  box-shadow: 0 0 15px rgba(202, 220, 252, 0.9);
}

/* Firefox Scrollbar */
* {
  scrollbar-width: thin;
  scrollbar-color: #8ab6f9 rgba(0, 10, 30, 0.8);
}


/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.5rem;
  background: rgba(0, 36, 107, 0.6);
  backdrop-filter: blur(12px);
  z-index: 100;
}

/* Hamburger */
.nav-hamburger {
  position: absolute;
  left: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.nav-hamburger span {
  width: 25px;
  height: 3px;
  background: #8ab6f9;
  border-radius: 2px;
  transition: 0.3s;
}

/* Logo */
.nav-logo img {
  height: 40px;
  width: auto;
  transform: scale(1.85);
}

/* Profile */
.nav-profile {
  position: absolute;
  right: 1.5rem;
}
.nav-profile svg {
  width: 28px;
  height: 28px;
  color: #8ab6f9;
  transition: transform 0.3s ease, color 0.3s ease;
}
.nav-profile svg:hover {
  transform: scale(1.1);
  color: #cadcfc;
}


/* Side Menu Base */
.side-menu {
  position: fixed;
  top: 0;
  left: -100%;
  height: 100%;
  width: 100%;
  max-width: 40vw; /* Desktop limit */
  background: rgba(0, 20, 60, 0.9);
  backdrop-filter: blur(15px);
  box-shadow: 0 0 40px rgba(138, 182, 249, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 1.5rem;
  transition: left 0.4s ease;
  z-index: 300;
}



/* Active states */
.side-menu.active {
  left: 0;
}
.overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Close Button */
.close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 2rem;
  color: #cadcfc;
  cursor: pointer;
  transition: transform 0.2s ease, color 0.2s ease;
}
.close-btn:hover {
  transform: scale(1.2);
  color: #8ab6f9;
}

/* Logo */
.menu-logo img {
  width: 120px;
  transform: scale(2);
  margin-bottom: 4rem;
  margin-top: 3rem;
}

/* Divider */
.divider {
  width: 80%;
  border: none;
  height: 1px;
  background: linear-gradient(to right, transparent, #8ab6f9, transparent);
  margin: 1rem 0;
}

/* Links */
.menu-links {
  display: flex;
  padding: 5rem;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}
.menu-links a {
  font-family: 'Exo 2', sans-serif;
  font-size: 1.3rem;
  color: #cadcfc;
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: color 0.3s, transform 0.3s;
}
.menu-links a:hover {
  color: #8ab6f9;
  transform: translateX(5px);
}

/* Brand Name */
.menu-brand {
  margin-top: auto;
  font-size: 3rem;
  font-weight: 100;
  font-family: 'Exo 2', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #8ab6f9;
  text-align: center;
  width: 100%;
  padding: 1rem;
  border-top: 1px solid rgba(202, 220, 252, 0.2);
  background: rgba(0, 36, 107, 0.2);
  box-shadow: inset 0 0 20px rgba(138, 182, 249, 0.2);
}

/* Mobile → Full Width */
@media (max-width: 768px) {
  .side-menu {
    max-width: 100%;
  }
}


/* Fullscreen Matrix Canvas */
#matrixCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

/* Overlay (subtle glow/fade) */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at center,
    rgba(0, 36, 107, 0.2) 20%,
    rgba(0, 0, 20, 0.9) 95%
  );
  z-index: -1;
  pointer-events: none;
}




/* Responsive */
@media (max-width: 600px) {
  .nav-logo img {
    height: 32px;
  }
  .nav-profile svg {
    width: 24px;
    height: 24px;
  }
}

/* Hero Section */
.hero-section {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 40vh; /* adjust depending on navbar */
  width: 100%;
  text-align: center;
  position: relative;
  z-index: 2;
  padding: 0rem;
}

/* Main Title */
.hero-title {
  font-family: 'Exo 2', sans-serif;
  font-size: clamp(3rem, 12vw, 12rem); /* full width but responsive */
  font-weight: 100;
  text-transform: uppercase;
  color: #cadcfc;
  text-shadow: 
    0 0 1px #8ab6f9,
    0 0 2px #8ab6f9,
    0 0 4px #00246b;
  letter-spacing: 0.1em;
}


@media (max-width: 468px){
    .hero-section{
        height: 30vh;
    }
}

/* Pricing Section */
.pricing {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 2rem;
  padding: 2rem 1rem;
  flex-wrap: wrap;
}

/* Card Base */
.card {
  flex: 1 1 300px;
  max-width: 400px;
  padding: 2rem;
  border-radius: 12px;
  background: rgba(0, 36, 107, 0.55);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(202, 220, 252, 0.2);
  box-shadow: 0 0 25px rgba(138, 182, 249, 0.2),
              inset 0 0 20px rgba(202, 220, 252, 0.1);
  text-align: center;
  font-family: 'Exo 2', sans-serif;
  position: relative;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 0 35px rgba(138, 182, 249, 0.5),
              inset 0 0 25px rgba(202, 220, 252, 0.2);
}

/* Card Titles */
.card h2 {
  font-size: clamp(1.5rem, 5vw, 2rem);
  margin-bottom: 1rem;
  color: #cadcfc;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Price */
.card .price {
  font-size: clamp(2rem, 6vw, 2.5rem);
  font-weight: 700;
  color: #8ab6f9;
  margin-bottom: 2rem;
}
.card .price span {
  font-size: clamp(0.9rem, 3vw, 1rem);
  color: #cadcfc;
}

/* Features */
.card .features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}
.card .features li {
  margin: 0.75rem 0;
  font-size: clamp(0.9rem, 3vw, 1rem);
  color: #cadcfc;
  position: relative;
}
.card .features li::before {
  content: "✦";
  color: #8ab6f9;
  margin-right: 0.5rem;
}

/* Card Footer */
.card-footer {
  margin-top: auto;
}

/* Subscribe Button */
.subscribe-btn {
  padding: 0.8rem 2rem;
  font-size: clamp(1rem, 4vw, 1.1rem);
  border: none;
  border-radius: 30px;
  background: linear-gradient(135deg, #8ab6f9, #cadcfc);
  color: #00246b;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 15px rgba(138, 182, 249, 0.6);
  width: 100%; /* full width on small screens */
  max-width: 250px;
}
.subscribe-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(202, 220, 252, 0.8);
}

/* Free card label */
.no-button {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(202, 220, 252, 0.2);
  border-radius: 20px;
  color: #cadcfc;
  font-size: clamp(0.8rem, 2.5vw, 0.9rem);
  font-style: italic;
}

/* Premium highlight */
.premium {
  border: 2px solid #8ab6f9;
  box-shadow: 0 0 40px rgba(138, 182, 249, 0.4);
  transform: scale(1.05);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .pricing {
    flex-direction: column;
    align-items: center;
  }

  .card {
    width: 100%;
    max-width: 90%;
  }
}
