:root {
  --navy: #0a2342;
  --cyber-green: #00f5d4;
  --purple: #7209b7;
  --electric-blue: #4361ee;
  --alert-red: #e63946;
  --dark-bg: #050a1a;
  --light-text: #f5f5f7;
  --gradient-primary: linear-gradient(
    135deg,
    var(--electric-blue),
    var(--purple),
    var(--cyber-green)
  );
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

html::-webkit-scrollbar {
  display: none;
}

body {
  font-family: "Inter", sans-serif;
  background-color: var(--dark-bg);
  color: var(--light-text);
  overflow-x: hidden;
  line-height: 1.6;
  background-image:
    radial-gradient(
      circle at 25px 25px,
      rgba(0, 245, 212, 0.05) 2px,
      transparent 0
    ),
    radial-gradient(
      circle at 75px 75px,
      rgba(115, 9, 183, 0.05) 2px,
      transparent 0
    );
  background-size: 100px 100px;
  background-position:
    0 0,
    50px 50px;
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
}

body::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari and Opera */
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Orbitron", sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
header {
  position: fixed;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  padding: 20px 0;
  top: 0;
  left: 0;
  transition: background-color 0.3s ease;
}

header.scrolled {
  background-color: rgba(5, 10, 26, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px; /* Prevent elements from sticking */
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px;
  margin-right: 10px;
}

.logo-text {
  font-size: 1.2rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap; /* Prevent text wrapping */
  flex-shrink: 0;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 20px;
  align-items: center;
}

nav a {
  color: var(--light-text);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
  font-size: 0.9rem;
}

nav a.active {
  color: var(--cyber-green);
}

nav a:hover {
  color: var(--cyber-green);
}

nav a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
}

nav a:hover::after,
nav a.active::after {
  width: 100%;
}

/* Desktop Navigation - Show only on larger screens */
.desktop-nav {
  display: none;
}

@media (min-width: 1200px) {
  .desktop-nav {
    display: block;
  }
}

/* Menu Button Base Styles */
.menu-btn {
  background: rgba(10, 35, 66, 0.4);
  border: 1px solid var(--electric-blue);
  border-radius: 8px;
  padding: 12px 15px;
  transition: all 0.3s ease;
  color: var(--cyber-green);
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.menu-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 245, 212, 0.2),
    transparent
  );
  transition: left 0.5s ease;
  z-index: -1;
}

.menu-btn:hover::before {
  left: 100%;
}

.menu-btn:hover {
  background: rgba(67, 97, 238, 0.2);
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(0, 245, 212, 0.3);
}

.menu-btn i {
  animation: pulse 2s infinite;
}

/* Desktop Menu Button - Show only on larger screens */
.desktop-menu-btn {
  display: none;
}

@media (min-width: 1200px) {
  .desktop-menu-btn {
    display: flex;
    margin-left: 10px;
    flex-shrink: 0;
  }
}

/* Mobile Menu Button - Show only on smaller screens */
.mobile-menu-btn {
  display: flex;
}

@media (min-width: 1200px) {
  .mobile-menu-btn {
    display: none;
  }
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: 80%;
  height: 100vh;
  max-height: 100vh;
  background-color: rgba(5, 10, 26, 0.98);
  z-index: 1001;
  padding: 20px;
  transition: left 0.3s ease;
  overflow-y: auto;
  overflow-x: hidden;
  backdrop-filter: blur(10px);
  box-shadow: 5px 0 15px rgba(0, 0, 0, 0.3);
  scrollbar-width: thin;
  scrollbar-color: var(--cyber-green) transparent;
}

.mobile-menu::-webkit-scrollbar {
  width: 6px;
}

.mobile-menu::-webkit-scrollbar-track {
  background: rgba(10, 35, 66, 0.3);
  border-radius: 3px;
}

.mobile-menu::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, var(--cyber-green), var(--electric-blue));
  border-radius: 3px;
  transition: background 0.3s ease;
}

.mobile-menu::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, var(--electric-blue), var(--purple));
}

.mobile-menu.active {
  left: 0;
}

/* Enhanced mobile menu close button */
.mobile-menu-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(10, 35, 66, 0.5);
  border: 1px solid var(--electric-blue);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyber-green);
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 1002;
}

.mobile-menu-close:hover {
  transform: rotate(90deg);
  background: rgba(67, 97, 238, 0.2);
  box-shadow: 0 0 15px rgba(0, 245, 212, 0.5);
}

/* Enhanced menu items with staggered animations */
.mobile-menu ul {
  list-style: none;
  margin-top: 60px;
  padding-bottom: 80px;
  min-height: calc(100vh - 140px);
}

.mobile-menu li {
  margin-bottom: 15px;
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0s;
}

.mobile-menu.active li {
  opacity: 1;
  transform: translateX(0);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}

/* Staggered animation for menu items */
.mobile-menu.active li:nth-child(1) {
  transition-delay: 0.05s;
}

.mobile-menu.active li:nth-child(2) {
  transition-delay: 0.1s;
}

.mobile-menu.active li:nth-child(3) {
  transition-delay: 0.15s;
}

.mobile-menu.active li:nth-child(4) {
  transition-delay: 0.2s;
}

.mobile-menu.active li:nth-child(5) {
  transition-delay: 0.25s;
}

.mobile-menu.active li:nth-child(6) {
  transition-delay: 0.3s;
}

.mobile-menu.active li:nth-child(7) {
  transition-delay: 0.35s;
}

.mobile-menu.active li:nth-child(8) {
  transition-delay: 0.4s;
}

.mobile-menu.active li:nth-child(9) {
  transition-delay: 0.45s;
}

.mobile-menu.active li:nth-child(10) {
  transition-delay: 0.5s;
}

.mobile-menu.active li:nth-child(11) {
  transition-delay: 0.55s;
}

.mobile-menu.active li:nth-child(12) {
  transition-delay: 0.6s;
}

.mobile-menu.active li:nth-child(13) {
  transition-delay: 0.65s;
}

.mobile-menu.active li:nth-child(14) {
  transition-delay: 0.7s;
}

.mobile-menu.active li:nth-child(15) {
  transition-delay: 0.75s;
}

.mobile-menu.active li:nth-child(16) {
  transition-delay: 0.8s;
}

/* Enhanced menu links with glowing effect */
.mobile-menu a {
  color: var(--light-text);
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  display: block;
  padding: 10px 15px;
  border-radius: 8px;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
  overflow: hidden;
  background: rgba(10, 35, 66, 0.3);
}

.mobile-menu a::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 245, 212, 0.1),
    transparent
  );
  transition: left 0.5s ease;
  z-index: -1;
}

.mobile-menu a:hover::before {
  left: 100%;
}

.mobile-menu a:hover {
  color: var(--cyber-green);
  background: rgba(10, 35, 66, 0.6);
  transform: translateX(5px);
  box-shadow: 0 0 15px rgba(0, 245, 212, 0.3);
}

.mobile-menu a.active {
  color: var(--cyber-green);
  background: rgba(0, 245, 212, 0.1);
  border-left: 3px solid var(--cyber-green);
}

/* Custom badge styling */
.mobile-menu .update-badge::after {
  content: "Updated";
  background: linear-gradient(135deg, var(--electric-blue), var(--alert-red));
  color: white;
  font-size: 0.7rem;
  padding: 3px 8px;
  border-radius: 10px;
  margin-left: 10px;
  vertical-align: middle;
  box-shadow: 0 0 10px rgba(230, 57, 70, 0.5);
  animation: pulse 2s infinite;
}

.tools-menu-label-line {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.tools-menu-index {
  color: rgba(0, 245, 212, 0.7);
  font-family: "Courier New", monospace;
  font-size: 0.78rem;
  min-width: 2.2rem;
}

.tools-menu-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.55rem;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
  vertical-align: middle;
}

.tools-menu-badge.badge-new {
  background: rgba(0, 245, 212, 0.16);
  color: var(--cyber-green);
  border: 1px solid rgba(0, 245, 212, 0.35);
}

.tools-menu-badge.badge-updated {
  background: rgba(67, 97, 238, 0.16);
  color: #8ec5ff;
  border: 1px solid rgba(67, 97, 238, 0.35);
}

.tools-menu-badge.badge-db-updated {
  background: rgba(255, 191, 71, 0.16);
  color: #ffd37a;
  border: 1px solid rgba(255, 191, 71, 0.35);
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  z-index: 1000;
  display: none;
}

.mobile-menu-overlay.active {
  display: block;
}

/* Desktop Dropdown Menu - Glassmorphism Effect */
.desktop-dropdown-menu {
  position: fixed;
  top: 20px;
  right: -100%;
  width: 350px;
  max-width: 90vw;
  height: calc(100vh - 40px);
  max-height: calc(100vh - 40px);
  min-height: 600px;
  background: rgba(5, 10, 26, 0.85);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 245, 212, 0.2);
  border-radius: 16px;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  z-index: 1001;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  transform: translateY(-20px);
  opacity: 0;
}

.desktop-dropdown-menu.active {
  right: 20px;
  transform: translateY(0);
  opacity: 1;
}

.dropdown-content {
  padding: 20px;
  height: 100%;
  max-height: calc(100vh - 60px);
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE and Edge */
}

.dropdown-content::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari and Opera */
}

.dropdown-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(10, 35, 66, 0.8);
  border: 2px solid var(--electric-blue);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyber-green);
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  z-index: 1003;
  font-weight: bold;
}

.dropdown-close:hover {
  transform: rotate(90deg);
  background: rgba(67, 97, 238, 0.3);
  box-shadow: 0 0 15px rgba(0, 245, 212, 0.5);
}

.dropdown-header {
  margin-bottom: 25px;
  margin-top: 10px;
  text-align: center;
  padding-bottom: 15px;
  padding-right: 50px;
  border-bottom: 1px solid rgba(0, 245, 212, 0.2);
  position: relative;
  overflow: hidden;
}

.dropdown-header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--cyber-green),
    var(--electric-blue),
    var(--purple),
    transparent
  );
  animation: headerLineSlide 4s ease-in-out infinite;
}

@keyframes headerLineSlide {
  0% {
    left: -100%;
  }

  50% {
    left: 100%;
  }

  100% {
    left: 100%;
  }
}

.dropdown-header h3 {
  color: var(--cyber-green);
  margin-bottom: 5px;
  font-size: 1.4rem;
  background: linear-gradient(135deg, var(--cyber-green), var(--electric-blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.dropdown-header p {
  color: rgba(245, 245, 247, 0.7);
  font-size: 0.9rem;
  margin: 0;
}

.dropdown-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}

/* Single Column Layout for Dropdown */
.dropdown-single-column {
  max-width: 300px;
  margin: 0 auto;
  padding-bottom: 10px;
}

.dropdown-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dropdown-list li {
  margin-bottom: 0;
  flex-shrink: 0;
}

.dropdown-list a {
  color: var(--light-text);
  text-decoration: none;
  font-size: 0.95rem;
  display: block;
  padding: 12px 15px;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  background: rgba(10, 35, 66, 0.2);
  border: 1px solid rgba(67, 97, 238, 0.1);
}

.dropdown-list a::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 245, 212, 0.15),
    transparent
  );
  transition: left 0.5s ease;
  z-index: -1;
}

.dropdown-list a:hover::before {
  left: 100%;
}

.dropdown-list a:hover {
  color: var(--cyber-green);
  background: rgba(0, 245, 212, 0.1);
  transform: translateX(8px);
  box-shadow: 0 4px 15px rgba(0, 245, 212, 0.2);
  border-color: rgba(0, 245, 212, 0.3);
  font-weight: 600;
}

.dropdown-list .update-badge::after {
  content: "Updated";
  background: linear-gradient(135deg, var(--electric-blue), var(--alert-red));
  color: white;
  font-size: 0.65rem;
  padding: 3px 8px;
  border-radius: 10px;
  margin-left: 10px;
  vertical-align: middle;
  box-shadow: 0 0 10px rgba(230, 57, 70, 0.5);
  animation: pulse 2s infinite;
}

/* Animated Divider */
.dropdown-divider {
  position: relative;
  height: 1px;
  background: transparent;
  overflow: hidden;
  flex-shrink: 0;
}

.dropdown-divider::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--cyber-green),
    var(--electric-blue),
    var(--purple),
    transparent
  );
  animation: dividerSlide 3s ease-in-out infinite;
}

.dropdown-divider::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(67, 97, 238, 0.2);
}

/* Fix spacing for li elements that are dividers */
.dropdown-list li.dropdown-divider {
  margin-bottom: 0;
  height: 1px;
  display: flex;
  align-items: center;
}

@keyframes dividerSlide {
  0% {
    left: -100%;
  }

  50% {
    left: 100%;
  }

  100% {
    left: 100%;
  }
}

.dropdown-section {
  background: rgba(10, 35, 66, 0.3);
  border: 1px solid rgba(67, 97, 238, 0.2);
  border-radius: 12px;
  padding: 15px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.dropdown-section:hover {
  background: rgba(10, 35, 66, 0.5);
  border-color: rgba(0, 245, 212, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 245, 212, 0.1);
}

.dropdown-section h4 {
  color: var(--electric-blue);
  margin-bottom: 12px;
  font-size: 1rem;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(67, 97, 238, 0.3);
}

.dropdown-section ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dropdown-section li {
  margin-bottom: 8px;
}

.dropdown-section a {
  color: var(--light-text);
  text-decoration: none;
  font-size: 0.9rem;
  display: block;
  padding: 6px 10px;
  border-radius: 6px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.dropdown-section a::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 245, 212, 0.1),
    transparent
  );
  transition: left 0.5s ease;
  z-index: -1;
}

.dropdown-section a:hover::before {
  left: 100%;
}

.dropdown-section a:hover {
  color: var(--cyber-green);
  background: rgba(0, 245, 212, 0.1);
  transform: translateX(5px);
  box-shadow: 0 0 10px rgba(0, 245, 212, 0.2);
}

.dropdown-section .update-badge::after {
  content: "Updated";
  background: linear-gradient(135deg, var(--electric-blue), var(--alert-red));
  color: white;
  font-size: 0.6rem;
  padding: 2px 6px;
  border-radius: 8px;
  margin-left: 8px;
  vertical-align: middle;
  box-shadow: 0 0 8px rgba(230, 57, 70, 0.5);
  animation: pulse 2s infinite;
}

.desktop-dropdown-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.desktop-dropdown-overlay.active {
  display: block;
  opacity: 1;
}

/* Responsive adjustments for desktop dropdown */
@media (min-width: 1025px) {
  .desktop-dropdown-menu {
    width: 380px;
    height: calc(100vh - 40px);
    max-height: calc(100vh - 40px);
    min-height: 650px;
    top: 20px;
  }

  .dropdown-content {
    max-height: calc(100vh - 60px);
  }
}

@media (max-width: 768px) {
  .desktop-dropdown-menu {
    display: none;
  }
}

@media (max-width: 1024px) and (min-width: 769px) {
  .desktop-dropdown-menu {
    width: 320px;
    height: calc(100vh - 40px);
    max-height: calc(100vh - 40px);
    min-height: 550px;
    top: 20px;
  }

  .dropdown-content {
    max-height: calc(100vh - 60px);
  }
}

@media (max-height: 600px) {
  .desktop-dropdown-menu {
    height: calc(100vh - 30px);
    max-height: calc(100vh - 30px);
    min-height: 400px;
    top: 15px;
  }

  .dropdown-content {
    padding: 15px;
    max-height: calc(100vh - 50px);
  }

  .dropdown-header {
    margin-bottom: 15px;
    padding-bottom: 10px;
  }
}

@media (max-height: 500px) {
  .desktop-dropdown-menu {
    height: calc(100vh - 20px);
    max-height: calc(100vh - 20px);
    min-height: 350px;
    top: 10px;
  }

  .dropdown-content {
    padding: 10px;
    max-height: calc(100vh - 40px);
  }
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 80px 0;
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  width: 100%;
}

.hero-content {
  flex: 1;
  max-width: 800px;
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  background-color: rgba(67, 97, 238, 0.2);
  border: 1px solid var(--electric-blue);
  border-radius: 30px;
  padding: 8px 16px;
  font-size: 0.9rem;
  margin-top: 1rem;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}

.hero-badge span {
  color: var(--cyber-green);
  font-weight: 600;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s forwards 0.3s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slogan {
  font-size: clamp(1.5rem, 4vw, 3rem);
  margin: 1rem 0;
  background-image: linear-gradient(
    90deg,
    var(--electric-blue),
    var(--purple),
    var(--cyber-green),
    var(--electric-blue)
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 400% 100%;
  animation: gradientSlide 15s linear infinite;
}

@keyframes gradientSlide {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 400% 50%;
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s forwards 1.2s;
  max-width: 90%;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  margin-top: 30px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s forwards 1.5s;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 8px;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--light-text);
  border: none;
  box-shadow: 0 5px 15px rgba(0, 245, 212, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 245, 212, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--light-text);
  border: 2px solid var(--electric-blue);
}

.btn-secondary:hover {
  background: rgba(67, 97, 238, 0.1);
  transform: translateY(-3px);
}

/* Enhanced network globe container */
.network-globe-container {
  position: relative;
  flex: 1;
  max-width: 500px;
  aspect-ratio: 1;
  z-index: 1;
}

#globe-canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
  cursor: grab;
}

#globe-canvas:active {
  cursor: grabbing;
}

/* Features Section */
.features {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: "";
  position: absolute;
  width: 80px;
  height: 4px;
  background: var(--gradient-primary);
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

.section-header p {
  max-width: 600px;
  margin: 0 auto;
  color: rgba(245, 245, 247, 0.8);
}

/* ============================================
   SCI-FI HUD FEATURE CARDS
   ============================================ */

/* Features HUD Section */
.features-hud {
  padding: 80px 0;
  position: relative;
  background: linear-gradient(
    180deg,
    rgba(5, 15, 35, 0.95) 0%,
    rgba(8, 20, 45, 1) 50%,
    rgba(5, 15, 35, 0.95) 100%
  );
}

.hud-grid-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 245, 212, 0.03) 1px, transparent 1px),
    linear-gradient(rgba(0, 245, 212, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* HUD Title Frame */
.hud-title-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 10px;
}

.hud-bracket {
  font-size: 2.5rem;
  color: var(--cyber-green);
  font-weight: 200;
  text-shadow: 0 0 10px var(--cyber-green);
  animation: bracketPulse 2s ease-in-out infinite;
}

@keyframes bracketPulse {
  0%,
  100% {
    opacity: 0.6;
  }

  50% {
    opacity: 1;
  }
}

.hud-title-frame h2 {
  margin: 0;
  letter-spacing: 3px;
}

/* Features Grid HUD */
.features-grid-hud {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 35px;
  margin-top: 50px;
}

/* ============================================
   ADVANCED CIRCUIT-BOARD HUD CARD
   ============================================ */

.hud-card {
  position: relative;
  background: linear-gradient(
    145deg,
    rgba(8, 20, 40, 0.95) 0%,
    rgba(5, 12, 30, 0.98) 100%
  );
  padding: 25px 20px 20px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  min-height: 220px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  /* Angled corners using clip-path */
  clip-path: polygon(
    0 15px,
    /* top-left diagonal */ 15px 0,
    /* top-left point */ calc(100% - 15px) 0,
    /* top-right point */ 100% 15px,
    /* top-right diagonal */ 100% calc(100% - 15px),
    /* bottom-right point */ calc(100% - 15px) 100%,
    /* bottom-right diagonal */ 15px 100%,
    /* bottom-left point */ 0 calc(100% - 15px) /* bottom-left diagonal */
  );
  overflow: visible;
}

/* HUD Card - Main Border Frame */
.hud-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: transparent;
  border: 2px solid var(--cyber-green);
  opacity: 0.6;
  clip-path: polygon(
    0 15px,
    15px 0,
    calc(100% - 15px) 0,
    100% 15px,
    100% calc(100% - 15px),
    calc(100% - 15px) 100%,
    15px 100%,
    0 calc(100% - 15px)
  );
  transition: all 0.4s ease;
  pointer-events: none;
}

/* Inner glow effect */
.hud-card::after {
  content: "";
  position: absolute;
  inset: 3px;
  background: linear-gradient(
    145deg,
    rgba(0, 245, 212, 0.03) 0%,
    transparent 50%
  );
  clip-path: polygon(
    0 13px,
    13px 0,
    calc(100% - 13px) 0,
    100% 13px,
    100% calc(100% - 13px),
    calc(100% - 13px) 100%,
    13px 100%,
    0 calc(100% - 13px)
  );
  pointer-events: none;
  transition: all 0.4s ease;
}

/* HUD Card Hover */
.hud-card:hover {
  transform: translateY(-5px) scale(1.02);
}

.hud-card:hover::before {
  opacity: 1;
  box-shadow:
    0 0 20px rgba(0, 245, 212, 0.3),
    inset 0 0 30px rgba(0, 245, 212, 0.05);
}

.hud-card:hover::after {
  background: linear-gradient(
    145deg,
    rgba(0, 245, 212, 0.08) 0%,
    transparent 60%
  );
}

/* ============================================
   CIRCUIT CORNER NODES WITH LINES
   ============================================ */

/* Corner nodes - glowing dots */
.hud-card .hud-corner {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--cyber-green);
  border-radius: 50%;
  z-index: 10;
  box-shadow:
    0 0 6px var(--cyber-green),
    0 0 12px rgba(0, 245, 212, 0.5);
  transition: all 0.3s ease;
}

/* Top-left corner node */
.hud-card .hud-corner.tl {
  top: -4px;
  left: -4px;
}

/* Top-right corner node */
.hud-card .hud-corner.tr {
  top: -4px;
  right: -4px;
}

/* Bottom-left corner node */
.hud-card .hud-corner.bl {
  bottom: -4px;
  left: -4px;
}

/* Bottom-right corner node */
.hud-card .hud-corner.br {
  bottom: -4px;
  right: -4px;
}

/* Circuit lines extending from corners */
.hud-card .hud-corner::before,
.hud-card .hud-corner::after {
  content: "";
  position: absolute;
  background: var(--cyber-green);
  opacity: 0.4;
  transition: all 0.3s ease;
}

/* Top-left vertical line */
.hud-card .hud-corner.tl::before {
  width: 2px;
  height: 25px;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
}

/* Top-left horizontal line */
.hud-card .hud-corner.tl::after {
  width: 25px;
  height: 2px;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
}

/* Top-right lines */
.hud-card .hud-corner.tr::before {
  width: 2px;
  height: 25px;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
}

.hud-card .hud-corner.tr::after {
  width: 25px;
  height: 2px;
  right: 100%;
  top: 50%;
  transform: translateY(-50%);
}

/* Bottom-left lines */
.hud-card .hud-corner.bl::before {
  width: 2px;
  height: 25px;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
}

.hud-card .hud-corner.bl::after {
  width: 25px;
  height: 2px;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
}

/* Bottom-right lines */
.hud-card .hud-corner.br::before {
  width: 2px;
  height: 25px;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
}

.hud-card .hud-corner.br::after {
  width: 25px;
  height: 2px;
  right: 100%;
  top: 50%;
  transform: translateY(-50%);
}

/* Hover effects for corners */
.hud-card:hover .hud-corner {
  width: 10px;
  height: 10px;
  box-shadow:
    0 0 10px var(--cyber-green),
    0 0 20px rgba(0, 245, 212, 0.6),
    0 0 30px rgba(0, 245, 212, 0.3);
}

.hud-card:hover .hud-corner::before,
.hud-card:hover .hud-corner::after {
  opacity: 0.8;
  background: var(--cyber-green);
}

/* Diagonal accent lines inside card */
.hud-card .circuit-accent {
  position: absolute;
  width: 30px;
  height: 3px;
  background: linear-gradient(90deg, var(--cyber-green), transparent);
  opacity: 0.3;
  transform: rotate(-45deg);
}

.hud-card .circuit-accent.top {
  top: 30px;
  right: 15px;
}

.hud-card .circuit-accent.bottom {
  bottom: 30px;
  left: 15px;
  transform: rotate(135deg);
}

/* Card Scan Line */
.card-scan-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--cyber-green),
    transparent
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hud-card:hover .card-scan-line {
  opacity: 1;
  animation: cardScan 2s ease-in-out infinite;
}

@keyframes cardScan {
  0% {
    top: 0;
  }

  100% {
    top: calc(100% - 2px);
  }
}

/* Data Bar */
.hud-data-bar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-bottom: 15px;
  font-size: 0.7rem;
  font-family: "Courier New", monospace;
}

.hud-tag {
  background: rgba(0, 245, 212, 0.15);
  color: var(--cyber-green);
  padding: 3px 8px;
  border-radius: 2px;
  border: 1px solid rgba(0, 245, 212, 0.3);
  letter-spacing: 1px;
}

.hud-index {
  color: rgba(0, 245, 212, 0.5);
  font-size: 0.65rem;
}

/* HUD Card Header */
.hud-card-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

/* Icon Container */
.hud-icon-container {
  position: relative;
  width: 40px;
  height: 40px;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hud-icon-ring {
  position: absolute;
  inset: 0;
  border: 2px solid rgba(0, 245, 212, 0.3);
  border-radius: 50%;
  animation: ringRotate 8s linear infinite;
}

.hud-icon-ring::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 50%;
  width: 6px;
  height: 6px;
  background: var(--cyber-green);
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 10px var(--cyber-green);
}

@keyframes ringRotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.hud-icon-container i {
  font-size: 1.1rem;
  color: var(--cyber-green);
  z-index: 2;
  transition: all 0.3s ease;
}

.hud-card:hover .hud-icon-container i {
  transform: scale(1.2);
  text-shadow: 0 0 20px var(--cyber-green);
}

/* Card Content & Heading */
.hud-card-header h3 {
  color: #fff;
  font-size: 1.1rem;
  margin: 0;
  font-weight: 600;
  letter-spacing: 0.5px;
  line-height: 1.3;
}

.hud-card-content p {
  color: rgba(245, 245, 247, 0.65);
  font-size: 0.85rem;
  line-height: 1.5;
  flex-grow: 1;
  margin: 0;
}

/* Action Bar */
.hud-action-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 15px;
  padding-top: 12px;
  border-top: 1px solid rgba(0, 245, 212, 0.1);
  font-size: 0.75rem;
  font-family: "Courier New", monospace;
}

.hud-status {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(0, 245, 212, 0.7);
}

.status-dot {
  width: 6px;
  height: 6px;
  background: var(--cyber-green);
  border-radius: 50%;
  animation: statusBlink 2s ease-in-out infinite;
}

@keyframes statusBlink {
  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 5px var(--cyber-green);
  }

  50% {
    opacity: 0.4;
    box-shadow: none;
  }
}

.hud-access {
  color: rgba(0, 245, 212, 0.5);
  transition: all 0.3s ease;
}

.hud-card:hover .hud-access {
  color: var(--cyber-green);
  letter-spacing: 2px;
}

/* Responsive */
@media (max-width: 768px) {
  .features-grid-hud {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hud-title-frame {
    gap: 10px;
  }

  .hud-bracket {
    font-size: 1.8rem;
  }

  .hud-card {
    min-height: 180px;
  }
}

/* ============================================
   LEGACY FEATURE CARDS (kept for compatibility)
   ============================================ */

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 40px;
  padding: 5px;
}

/* Enhanced Feature Card - Compact Design */
.feature-card {
  background: linear-gradient(
    135deg,
    rgba(10, 35, 66, 0.5) 0%,
    rgba(14, 47, 89, 0.4) 50%,
    rgba(10, 35, 66, 0.5) 100%
  );
  border-radius: 16px;
  padding: 20px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(67, 97, 238, 0.15);
  backdrop-filter: blur(15px);
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

/* Animated Gradient Border */
.feature-card::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(
    45deg,
    var(--cyber-green),
    var(--electric-blue),
    var(--purple),
    var(--cyber-green)
  );
  background-size: 400% 400%;
  border-radius: 20px;
  opacity: 0;
  z-index: -1;
  transition: opacity 0.5s ease;
  animation: gradientShift 8s ease infinite;
}

@keyframes gradientShift {
  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

/* Shimmer Effect */
.feature-card::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.03) 50%,
    transparent 70%
  );
  transform: rotate(45deg);
  animation: shimmer 6s infinite;
  pointer-events: none;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }

  100% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
  }
}

/* Hover Effects */
.feature-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow:
    0 30px 60px rgba(0, 245, 212, 0.2),
    0 0 80px rgba(67, 97, 238, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border-color: rgba(0, 245, 212, 0.4);
}

.feature-card:hover::before {
  opacity: 0;
}

/* Feature Header - Compact */
.feature-header {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

/* Enhanced Icon - Compact */
.feature-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  margin-right: 14px;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(
    135deg,
    rgba(0, 245, 212, 0.15) 0%,
    rgba(67, 97, 238, 0.1) 100%
  );
  border: 1px solid rgba(0, 245, 212, 0.25);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 245, 212, 0.1);
}

.feature-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  padding: 2px;
  background: linear-gradient(135deg, var(--cyber-green), var(--electric-blue));
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.feature-icon i {
  font-size: 20px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all 0.3s ease;
  filter: drop-shadow(0 0 8px rgba(0, 245, 212, 0.3));
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
  border-color: var(--cyber-green);
  box-shadow:
    0 12px 24px rgba(0, 245, 212, 0.3),
    0 0 40px rgba(0, 245, 212, 0.2),
    inset 0 0 20px rgba(0, 245, 212, 0.1);
}

.feature-card:hover .feature-icon::before {
  opacity: 1;
}

.feature-card:hover .feature-icon i {
  transform: scale(1.1);
  filter: drop-shadow(0 0 20px rgba(0, 245, 212, 0.8));
}

/* Title Styling - Compact */
.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0;
  background: linear-gradient(135deg, var(--cyber-green) 0%, #00d4b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.feature-card:hover h3 {
  transform: translateX(5px);
  filter: drop-shadow(0 0 10px rgba(0, 245, 212, 0.5));
}

/* Description Text - Compact */
.feature-card p {
  color: rgba(245, 245, 247, 0.8);
  margin-bottom: 15px;
  line-height: 1.5;
  font-size: 0.85rem;
  flex-grow: 1;
  position: relative;
  z-index: 1;
}

/* Learn More Button - Compact */
.feature-card .learn-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--cyber-green);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 8px 16px;
  border-radius: 8px;
  background: rgba(0, 245, 212, 0.08);
  border: 1px solid rgba(0, 245, 212, 0.25);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.feature-card .learn-more::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 245, 212, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

.feature-card .learn-more:hover::before {
  left: 100%;
}

.feature-card .learn-more:hover {
  background: linear-gradient(
    135deg,
    rgba(0, 245, 212, 0.2) 0%,
    rgba(67, 97, 238, 0.2) 100%
  );
  border-color: var(--cyber-green);
  transform: translateX(5px);
  box-shadow:
    0 6px 20px rgba(0, 245, 212, 0.3),
    0 0 30px rgba(0, 245, 212, 0.2);
  color: #fff;
}

.feature-card .learn-more svg {
  transition: transform 0.3s ease;
  filter: drop-shadow(0 0 5px rgba(0, 245, 212, 0.5));
}

.feature-card .learn-more:hover svg {
  transform: translateX(5px);
}

/* Card 3D Tilt Effect on Hover */
@media (hover: hover) and (pointer: fine) {
  .feature-card {
    transform-style: preserve-3d;
    perspective: 1000px;
  }

  .feature-card:hover {
    transform: translateY(-15px) scale(1.02) rotateX(2deg);
  }
}

/* Staggered Entrance Animation */
.feature-card {
  animation: cardFadeIn 0.6s ease forwards;
  opacity: 0;
}

@keyframes cardFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.feature-card:nth-child(1) {
  animation-delay: 0.1s;
}

.feature-card:nth-child(2) {
  animation-delay: 0.15s;
}

.feature-card:nth-child(3) {
  animation-delay: 0.2s;
}

.feature-card:nth-child(4) {
  animation-delay: 0.25s;
}

.feature-card:nth-child(5) {
  animation-delay: 0.3s;
}

.feature-card:nth-child(6) {
  animation-delay: 0.35s;
}

.feature-card:nth-child(7) {
  animation-delay: 0.4s;
}

.feature-card:nth-child(8) {
  animation-delay: 0.45s;
}

.feature-card:nth-child(9) {
  animation-delay: 0.5s;
}

.feature-card:nth-child(10) {
  animation-delay: 0.55s;
}

.feature-card:nth-child(11) {
  animation-delay: 0.6s;
}

.feature-card:nth-child(12) {
  animation-delay: 0.65s;
}

.feature-card:nth-child(13) {
  animation-delay: 0.7s;
}

.feature-card:nth-child(14) {
  animation-delay: 0.75s;
}

.feature-card:nth-child(15) {
  animation-delay: 0.8s;
}

.feature-card:nth-child(16) {
  animation-delay: 0.85s;
}

.feature-card:nth-child(17) {
  animation-delay: 0.9s;
}

.feature-card:nth-child(18) {
  animation-delay: 0.95s;
}

/* Subtle Pulsing Glow for Featured Cards */
@keyframes subtlePulse {
  0%,
  100% {
    box-shadow:
      0 10px 30px rgba(0, 0, 0, 0.3),
      inset 0 1px 0 rgba(255, 255, 255, 0.05);
  }

  50% {
    box-shadow:
      0 10px 30px rgba(0, 0, 0, 0.3),
      0 0 20px rgba(0, 245, 212, 0.1),
      inset 0 1px 0 rgba(255, 255, 255, 0.05);
  }
}

/* Apply pulse to first 4 cards (featured tools) */
.feature-card:nth-child(-n + 4) {
  animation:
    cardFadeIn 0.6s ease forwards,
    subtlePulse 4s ease-in-out infinite;
}

/* Corner Accent for Special Cards */
.feature-card:nth-child(-n + 4)::after {
  display: none;
  /* Remove shimmer for featured cards */
}

.feature-card:nth-child(1)::after,
.feature-card:nth-child(2)::after,
.feature-card:nth-child(3)::after,
.feature-card:nth-child(4)::after {
  content: "✨";
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 20px;
  animation: sparkle 2s ease-in-out infinite;
  z-index: 10;
  display: block;
}

@keyframes sparkle {
  0%,
  100% {
    opacity: 0.3;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}

/* Social Media Icons Styles */
.social-icons {
  display: flex;
  gap: 15px;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(10, 35, 66, 0.6);
  border: 1px solid rgba(67, 97, 238, 0.3);
  color: var(--light-text);
  font-size: 18px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.social-icon::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}

.social-icon i {
  position: relative;
  z-index: 1;
}

.social-icon:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.social-icon:hover::before {
  opacity: 1;
}

/* YouTube specific hover */
.social-icon.youtube:hover {
  color: #ffffff;
  box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
}

/* Instagram specific hover */
.social-icon.instagram:hover {
  color: #ffffff;
  box-shadow: 0 5px 15px rgba(225, 48, 108, 0.3);
}

/* Facebook specific hover */
.social-icon.facebook:hover {
  color: #ffffff;
  box-shadow: 0 5px 15px rgba(66, 103, 178, 0.3);
}

/* LinkedIn specific hover */
.social-icon.linkedin:hover {
  color: #ffffff;
  box-shadow: 0 5px 15px rgba(0, 119, 181, 0.3);
}

/* Floating social bar */
.floating-social {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 99;
}

.floating-social .social-icon {
  width: 45px;
  height: 45px;
  background: rgba(5, 10, 26, 0.8);
  backdrop-filter: blur(5px);
}

@media (max-width: 768px) {
  .floating-social {
    display: none;
    /* Hide on mobile */
  }

  /* Header responsive */
  .header-container {
    padding: 0 15px;
  }

  .logo-text {
    font-size: 1.2rem;
  }

  /* Hero section responsive */
  .hero .container {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .hero-content {
    max-width: 100%;
    order: 2;
  }

  .network-globe-container {
    max-width: 300px;
    order: 1;
    margin-bottom: 2rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .slogan {
    font-size: 1.5rem;
  }

  .hero p {
    max-width: 100%;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  /* Features section responsive */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 5px;
  }

  .feature-card {
    padding: 28px;
  }

  .feature-header {
    flex-direction: row;
    text-align: left;
    margin-bottom: 18px;
  }

  .feature-icon {
    width: 55px;
    height: 55px;
    min-width: 55px;
    margin-right: 15px;
    margin-bottom: 0;
  }

  .feature-icon i {
    font-size: 24px;
  }

  .feature-card h3 {
    font-size: 1.3rem;
  }

  .feature-card p {
    font-size: 0.9rem;
  }

  .feature-card .learn-more {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
  }

  /* Developer section responsive */
  .developer-content {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .developer-photo {
    flex: none;
  }

  .developer-photo-container {
    width: 200px;
    height: 200px;
  }

  .developer-text h2 {
    font-size: 2rem;
  }

  .developer-text p {
    font-size: 0.95rem;
    line-height: 1.7;
    min-height: 2.5em;
  }

  .typing-cursor {
    font-size: 1.1em;
  }

  /* Stats responsive */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  /* Contact section responsive */
  .contact-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contact-info {
    padding-right: 0;
  }

  .contact-form {
    padding: 30px 20px;
  }
}

/* Additional Responsive Styles */
@media (max-width: 992px) {
  .container {
    padding: 0 15px;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .developer-content {
    gap: 40px;
  }

  .developer-photo-container {
    width: 220px;
    height: 220px;
  }
}

@media (max-width: 480px) {
  .modal-header h2 {
    font-size: 1.2rem;
  }

  .modal-slogan {
    font-size: 1rem;
  }

  .modal-body h3 {
    font-size: 1rem;
  }

  /* Hero section for very small screens */
  .hero h1 {
    font-size: 1.8rem;
  }

  .slogan {
    font-size: 1.2rem;
  }

  .hero-badge {
    font-size: 0.8rem;
    padding: 6px 12px;
  }

  /* Stats grid for mobile */
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .stat-value {
    font-size: 2.5rem;
  }

  /* Navigation improvements */
  .logo-text {
    font-size: 1rem;
  }

  /* Section spacing */
  .features,
  .developer,
  .initiative,
  .contact {
    padding: 80px 0;
  }

  .section-header {
    margin-bottom: 50px;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  /* Initiative section */
  .initiative-content {
    padding: 0 10px;
  }

  .ic-connect-features {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .feature-highlight {
    padding: 15px;
  }

  /* Footer responsive */
  .footer-top {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }
}

/* Large screens optimization */
@media (min-width: 1400px) {
  .container {
    max-width: 1300px;
  }

  .hero h1 {
    font-size: 4rem;
  }

  .slogan {
    font-size: 3.5rem;
  }
}

/* Developer Section */
/* ===== Sci-Fi HUD Developer Section ===== */
.developer-hud {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    180deg,
    var(--dark-bg) 0%,
    rgba(5, 15, 35, 1) 100%
  );
}

.hud-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse at 50% 50%,
      rgba(0, 245, 212, 0.03) 0%,
      transparent 70%
    ),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(0, 245, 212, 0.02) 2px,
      rgba(0, 245, 212, 0.02) 4px
    );
  pointer-events: none;
}

.hud-frame {
  position: relative;
  padding: 50px;
  border: 1px solid rgba(0, 245, 212, 0.2);
  border-radius: 20px;
  background: rgba(5, 15, 35, 0.7);
  backdrop-filter: blur(20px);
}

/* HUD Corners */
.hud-corner {
  position: absolute;
  width: 40px;
  height: 40px;
  border-color: var(--cyber-green);
  border-style: solid;
}

.hud-corner.top-left {
  top: -1px;
  left: -1px;
  border-width: 3px 0 0 3px;
  border-radius: 10px 0 0 0;
}

.hud-corner.top-right {
  top: -1px;
  right: -1px;
  border-width: 3px 3px 0 0;
  border-radius: 0 10px 0 0;
}

.hud-corner.bottom-left {
  bottom: -1px;
  left: -1px;
  border-width: 0 0 3px 3px;
  border-radius: 0 0 0 10px;
}

.hud-corner.bottom-right {
  bottom: -1px;
  right: -1px;
  border-width: 0 3px 3px 0;
  border-radius: 0 0 10px 0;
}

/* Scanning Line */
.scan-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--cyber-green),
    transparent
  );
  opacity: 0.5;
  animation: scanMove 4s linear infinite;
}

@keyframes scanMove {
  0% {
    top: 0;
    opacity: 0;
  }

  10% {
    opacity: 0.5;
  }

  90% {
    opacity: 0.5;
  }

  100% {
    top: 100%;
    opacity: 0;
  }
}

/* HUD Content Layout */
.hud-content {
  display: flex;
  align-items: flex-start;
  gap: 50px;
}

/* Photo Section */
.hud-photo-section {
  flex: 0 0 280px;
  text-align: center;
}

/* Passport Size HUD Photo with Dark Corner Borders */
.passport-hud {
  position: relative;
  width: 180px;
  height: 230px;
  margin: 0 auto 20px;
  background: linear-gradient(
    135deg,
    rgba(5, 15, 35, 0.95),
    rgba(10, 25, 50, 1)
  );
  border: 1px solid rgba(0, 245, 212, 0.4);
  border-radius: 4px;
  padding: 6px;
  box-shadow: 0 0 25px rgba(0, 245, 212, 0.15);
  overflow: visible;
}

/* Fixed Photo Corner Borders - L-shaped only (no fill, no shadow) */
.photo-corner {
  position: absolute;
  width: 22px;
  height: 22px;
  z-index: 10;
  pointer-events: none;
  background: none !important;
  box-sizing: border-box;
}

.photo-corner.tl {
  top: 0;
  left: 0;
  border-top: 2px solid var(--cyber-green);
  border-left: 2px solid var(--cyber-green);
}

.photo-corner.tr {
  top: 0;
  right: 0;
  border-top: 2px solid var(--cyber-green);
  border-right: 2px solid var(--cyber-green);
}

.photo-corner.bl {
  bottom: 0;
  left: 0;
  border-bottom: 2px solid var(--cyber-green);
  border-left: 2px solid var(--cyber-green);
}

.photo-corner.br {
  bottom: 0;
  right: 0;
  border-bottom: 2px solid var(--cyber-green);
  border-right: 2px solid var(--cyber-green);
}

.passport-hud img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2px;
  position: relative;
  z-index: 1;
}

/* HUD Scan Effect */
.hud-scan {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--cyber-green),
    var(--cyber-green),
    transparent
  );
  animation: hudScan 2.5s ease-in-out infinite;
  opacity: 0.8;
}

@keyframes hudScan {
  0% {
    top: 0;
    opacity: 0;
  }

  10% {
    opacity: 0.8;
  }

  90% {
    opacity: 0.8;
  }

  100% {
    top: calc(100% - 4px);
    opacity: 0;
  }
}

/* Word-by-Word Zoom Animation Container */
.word-zoom-container p {
  color: rgba(245, 245, 247, 0.9);
  line-height: 1.8;
  font-size: 0.95rem;
  margin-bottom: 18px;
}

.word-zoom-container .word {
  display: inline-block;
  transition: all 0.3s ease;
}

.word-zoom-container .word.active {
  color: var(--cyber-green);
  transform: scale(1.15);
  text-shadow: 0 0 10px var(--cyber-green);
}

/* Name Plate - Extended Info */
.hud-name-plate .location,
.hud-name-plate .state {
  font-size: 0.7rem;
  color: rgba(245, 245, 247, 0.5);
  letter-spacing: 0.5px;
}

/* Mobile Responsive */
@media (max-width: 992px) {
  .hud-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hud-photo-section {
    flex: none;
    width: 100%;
  }

  .hud-frame {
    padding: 30px 20px;
  }

  .panel-header {
    justify-content: center;
  }

  .panel-line {
    display: none;
  }

  .text-hud-frame {
    padding: 20px;
  }
}

@media (max-width: 600px) {
  .passport-hud {
    width: 150px;
    height: 190px;
  }

  .hud-name-plate .name {
    font-size: 1.1rem;
  }

  .panel-header h2 {
    font-size: 1.4rem;
  }

  .letter-zoom {
    font-size: 0.9rem;
    line-height: 1.7;
  }

  .hud-corner {
    width: 25px;
    height: 25px;
  }
}

/* Legacy styles (keeping for compatibility) */
.hud-photo-frame {
  position: relative;
  width: 220px;
  height: 220px;
  margin: 0 auto 25px;
}

.photo-hud-border {
  position: absolute;
  inset: -10px;
  border: 2px solid var(--cyber-green);
  border-radius: 12px;
  pointer-events: none;
}

/* HUD Border Corner Accents */
.hud-border-corner {
  position: absolute;
  width: 25px;
  height: 25px;
  border-color: var(--cyber-green);
  border-style: solid;
}

.hud-border-corner.tl {
  top: -3px;
  left: -3px;
  border-width: 3px 0 0 3px;
  animation: cornerPulse 2s infinite;
}

.hud-border-corner.tr {
  top: -3px;
  right: -3px;
  border-width: 3px 3px 0 0;
  animation: cornerPulse 2s infinite 0.5s;
}

.hud-border-corner.bl {
  bottom: -3px;
  left: -3px;
  border-width: 0 0 3px 3px;
  animation: cornerPulse 2s infinite 1s;
}

.hud-border-corner.br {
  bottom: -3px;
  right: -3px;
  border-width: 0 3px 3px 0;
  animation: cornerPulse 2s infinite 1.5s;
}

@keyframes cornerPulse {
  0%,
  100% {
    opacity: 1;
    filter: drop-shadow(0 0 5px var(--cyber-green));
  }

  50% {
    opacity: 0.6;
    filter: drop-shadow(0 0 15px var(--cyber-green));
  }
}

/* Scan Effect on Photo */
.hud-scan-effect {
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--cyber-green),
    transparent
  );
  animation: photoScan 3s linear infinite;
}

@keyframes photoScan {
  0% {
    top: 0;
    opacity: 0;
  }

  10% {
    opacity: 0.8;
  }

  90% {
    opacity: 0.8;
  }

  100% {
    top: 100%;
    opacity: 0;
  }
}

/* Text HUD Frame */
.text-hud-frame {
  position: relative;
  padding: 30px;
  border: 1px solid rgba(0, 245, 212, 0.3);
  border-radius: 15px;
  background: rgba(5, 15, 35, 0.5);
}

/* Word Zoom Animation */
.zoom-word {
  display: inline-block;
  color: var(--cyber-green);
  font-weight: 600;
  animation: wordZoom 3s ease-in-out infinite;
}

.zoom-word:nth-child(2n) {
  animation-delay: 0.5s;
}

.zoom-word:nth-child(3n) {
  animation-delay: 1s;
}

.zoom-word:nth-child(4n) {
  animation-delay: 1.5s;
}

@keyframes wordZoom {
  0%,
  100% {
    transform: scale(1);
    text-shadow: none;
  }

  50% {
    transform: scale(1.08);
    text-shadow: 0 0 10px var(--cyber-green);
  }
}

/* Animated Rings */
.photo-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px dashed rgba(0, 245, 212, 0.4);
}

.ring-1 {
  width: 200px;
  height: 200px;
  animation: rotateRing 15s linear infinite;
}

.ring-2 {
  width: 230px;
  height: 230px;
  border-color: rgba(67, 97, 238, 0.4);
  animation: rotateRing 20s linear infinite reverse;
}

.ring-3 {
  width: 260px;
  height: 260px;
  border-style: dotted;
  animation: rotateRing 25s linear infinite;
}

@keyframes rotateRing {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* Data Points */
.hud-data-points {
  position: absolute;
  inset: 0;
}

.data-point {
  position: absolute;
  color: var(--cyber-green);
  font-size: 12px;
  animation: blink 2s infinite;
  animation-delay: var(--delay);
}

.data-point:nth-child(1) {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.data-point:nth-child(2) {
  top: 50%;
  right: 0;
  transform: translateY(-50%);
}

.data-point:nth-child(3) {
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.data-point:nth-child(4) {
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

/* Name Plate */
.hud-name-plate {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 15px 25px;
  background: rgba(0, 245, 212, 0.05);
  border: 1px solid rgba(0, 245, 212, 0.2);
  border-radius: 10px;
}

.hud-name-plate .rank {
  font-size: 0.75rem;
  color: var(--cyber-green);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.hud-name-plate .name {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--light-text);
}

.hud-name-plate .unit {
  font-size: 0.8rem;
  color: rgba(245, 245, 247, 0.7);
}

/* Text Panel */
.hud-text-panel {
  flex: 1;
}

.panel-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}

.panel-icon {
  color: var(--cyber-green);
  font-size: 1.5rem;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

.panel-header h2 {
  font-size: 2rem;
  color: var(--light-text);
  margin: 0;
}

.panel-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--cyber-green), transparent);
}

.panel-content p {
  color: rgba(245, 245, 247, 0.85);
  line-height: 1.7;
  margin-bottom: 15px;
  font-size: 0.95rem;
}

/* Stats Bar */
.hud-stats-bar {
  display: flex;
  gap: 30px;
  margin-top: 30px;
  padding: 20px;
  background: rgba(0, 245, 212, 0.03);
  border: 1px solid rgba(0, 245, 212, 0.15);
  border-radius: 10px;
}

.hud-stats-bar .stat {
  text-align: center;
}

.hud-stats-bar .stat-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--cyber-green);
}

.hud-stats-bar .stat-label {
  font-size: 0.75rem;
  color: rgba(245, 245, 247, 0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Mobile Responsive */
@media (max-width: 992px) {
  .hud-content {
    flex-direction: column;
    text-align: center;
  }

  .hud-photo-section {
    flex: none;
  }

  .hud-frame {
    padding: 30px 20px;
  }

  .panel-header {
    justify-content: center;
  }

  .panel-line {
    display: none;
  }

  .hud-stats-bar {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .hud-photo-frame {
    width: 180px;
    height: 180px;
  }

  .photo-hexagon {
    width: 140px;
    height: 140px;
  }

  .ring-1 {
    width: 160px;
    height: 160px;
  }

  .ring-2 {
    width: 185px;
    height: 185px;
  }

  .ring-3 {
    width: 210px;
    height: 210px;
  }

  .panel-header h2 {
    font-size: 1.5rem;
  }
}

/* Legacy Developer Styles (backward compatibility) */
.developer {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.developer-content {
  display: flex;
  align-items: center;
  gap: 60px;
}

.developer-photo {
  flex: 0 0 300px;
  position: relative;
}

.developer-photo-container {
  position: relative;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--electric-blue);
  box-shadow: 0 10px 25px rgba(0, 245, 212, 0.3);
  margin: 0 auto;
}

.developer-photo img {
  width: 100%;
  height: 120%;
  object-fit: cover;
}

.developer-photo::before {
  content: "";
  position: absolute;
  top: -6%;
  left: 50%;
  transform: translateX(-50%);
  width: 280px;
  height: 280px;
  border: 2px dashed var(--purple);
  border-radius: 50%;
  z-index: -1;
  animation: rotate 15s linear infinite;
}

@keyframes rotate {
  from {
    transform: translateX(-50%) rotate(0deg);
  }

  to {
    transform: translateX(-50%) rotate(360deg);
  }
}

.developer-text {
  flex: 1;
}

.developer-text h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: var(--cyber-green);
}

.developer-text p {
  margin-bottom: 20px;
  color: rgba(245, 245, 247, 0.9);
  font-style: italic;
  position: relative;
  padding-left: 0;
  min-height: 3em;
  line-height: 1.8;
}

/* Typewriter Text Styling */
.typewriter-text {
  opacity: 0;
  transition: opacity 0.3s ease;
  text-shadow: 0 0 8px rgba(0, 245, 212, 0.1);
}

.typewriter-text.typing {
  opacity: 1;
}

/* Blinking Cursor Animation */
.typing-cursor {
  display: inline-block;
  color: var(--cyber-green);
  font-weight: bold;
  font-style: normal;
  animation:
    blink 1s step-end infinite,
    cursorGlow 2s ease-in-out infinite;
  margin-left: 2px;
  text-shadow: 0 0 10px rgba(0, 245, 212, 0.6);
}

@keyframes blink {
  0%,
  49% {
    opacity: 1;
  }

  50%,
  100% {
    opacity: 0;
  }
}

@keyframes cursorGlow {
  0%,
  100% {
    text-shadow: 0 0 10px rgba(0, 245, 212, 0.6);
  }

  50% {
    text-shadow:
      0 0 20px rgba(0, 245, 212, 1),
      0 0 30px rgba(0, 245, 212, 0.5);
  }
}

.developer-badge {
  display: flex;
  align-items: center;
  gap: 15px;
  background-color: rgba(0, 245, 212, 0.1);
  border: 1px solid var(--cyber-green);
  border-radius: 8px;
  padding: 10px 20px;
  margin-top: 20px;
}

/* Container for stars on each side */
.stars-container {
  display: flex;
  align-items: center;
  gap: 5px;
}

.police-star-container {
  position: relative;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.police-star {
  width: 32px;
  height: 32px;
  fill: gold;
  filter: drop-shadow(0 0 3px rgba(255, 215, 0, 0.7));
  z-index: 2;
}

.star-shine {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.8) 0%,
    rgba(255, 255, 255, 0) 70%
  );
  opacity: 0;
  z-index: 1;
  animation: starShine 3s infinite;
}

/* Staggered animations for all four stars */
.stars-container.left .police-star-container:nth-child(1) .star-shine {
  animation-delay: 0s;
}

.stars-container.left .police-star-container:nth-child(2) .star-shine {
  animation-delay: 1.5s;
}

.stars-container.right .police-star-container:nth-child(1) .star-shine {
  animation-delay: 0.75s;
}

.stars-container.right .police-star-container:nth-child(2) .star-shine {
  animation-delay: 2.25s;
}

@keyframes starShine {
  0%,
  100% {
    opacity: 0;
    transform: scale(0.5);
  }

  50% {
    opacity: 0.7;
    transform: scale(1.2);
  }
}

.developer-badge span {
  font-weight: 600;
  flex: 1;
  text-align: center;
}

/* Initiative Section - Professional Card Layout */
.initiative {
  padding: 100px 0;
  background: linear-gradient(
    180deg,
    var(--dark-bg) 0%,
    rgba(10, 35, 66, 0.8) 100%
  );
  text-align: center;
}

.initiatives-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.initiative-card {
  background: rgba(10, 35, 66, 0.6);
  border: 1px solid rgba(67, 97, 238, 0.2);
  border-radius: 20px;
  padding: 40px 30px;
  backdrop-filter: blur(15px);
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.initiative-card:hover {
  transform: translateY(-10px);
  border-color: var(--cyber-green);
  box-shadow: 0 20px 40px rgba(0, 245, 212, 0.15);
}

.initiative-card-logo {
  width: 120px;
  height: 120px;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 25px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.initiative-card-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.initiative-card h3 {
  font-size: 1.5rem;
  color: var(--light-text);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.live-badge {
  background: linear-gradient(135deg, #00f5d4, #43e97b);
  color: #000;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  animation: livePulse 2s ease-in-out infinite;
}

@keyframes livePulse {
  0%,
  100% {
    box-shadow: 0 0 10px rgba(0, 245, 212, 0.4);
  }

  50% {
    box-shadow: 0 0 20px rgba(0, 245, 212, 0.8);
  }
}

.initiative-card p {
  color: rgba(245, 245, 247, 0.8);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 25px;
  flex-grow: 1;
}

.initiative-btn {
  display: inline-block;
  padding: 12px 28px;
  background: transparent;
  border: 2px solid var(--cyber-green);
  color: var(--cyber-green);
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.initiative-btn:hover {
  background: var(--cyber-green);
  color: var(--dark-bg);
  box-shadow: 0 8px 25px rgba(0, 245, 212, 0.3);
}

/* Legacy styles kept for backward compatibility */
.initiative-content {
  max-width: 800px;
  margin: 0 auto;
}

.initiative h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: var(--light-text);
}

.initiative-logo {
  margin: 40px auto;
  max-width: 300px;
}

.initiative-logo img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

/* Mobile responsive */
@media (max-width: 768px) {
  .initiatives-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 0 20px;
  }

  .initiative-card {
    padding: 30px 20px;
  }

  .initiative-card-logo {
    width: 100px;
    height: 100px;
  }

  .initiative-card h3 {
    font-size: 1.3rem;
  }
}

/* Stats Section */
.stats {
  padding: 80px 0;
  background: linear-gradient(
    180deg,
    rgba(10, 35, 66, 0.8) 0%,
    var(--dark-bg) 100%
  );
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.stat-card {
  text-align: center;
  padding: 30px;
  background: rgba(10, 35, 66, 0.5);
  border-radius: 15px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(67, 97, 238, 0.2);
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-10px);
  border-color: rgba(0, 245, 212, 0.3);
}

.stat-value {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 10px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-label {
  font-size: 1.1rem;
  color: rgba(245, 245, 247, 0.9);
}

/* Contact Section */
.contact {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.contact-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 50px;
}

.contact-info {
  padding-right: 30px;
}

.contact-info h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
}

.contact-info p {
  margin-bottom: 20px;
  color: rgba(245, 245, 247, 0.9);
}

.contact-info-item {
  display: flex;
  margin-bottom: 20px;
  align-items: flex-start;
}

.contact-info-item svg {
  margin-right: 15px;
  min-width: 24px;
  color: var(--cyber-green);
}

.contact-info-text {
  color: rgba(245, 245, 247, 0.9);
}

.contact-form {
  background: rgba(10, 35, 66, 0.3);
  border-radius: 15px;
  padding: 40px;
  border: 1px solid rgba(67, 97, 238, 0.1);
  backdrop-filter: blur(10px);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  background: rgba(5, 10, 26, 0.5);
  border: 1px solid rgba(67, 97, 238, 0.2);
  border-radius: 8px;
  color: var(--light-text);
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--cyber-green);
  box-shadow: 0 0 0 3px rgba(0, 245, 212, 0.2);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.form-btn {
  background: var(--gradient-primary);
  color: var(--light-text);
  border: none;
  padding: 12px 30px;
  border-radius: 8px;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.form-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 245, 212, 0.2);
}

/* Form status message */
.form-status {
  margin-top: 20px;
  padding: 15px;
  border-radius: 8px;
  font-size: 0.95rem;
}

.form-status ul {
  margin-top: 10px;
  margin-left: 20px;
}

.form-status.success {
  background-color: rgba(0, 245, 212, 0.1);
  color: var(--cyber-green);
  border: 1px solid var(--cyber-green);
}

.form-status.error {
  background-color: rgba(230, 57, 70, 0.1);
  color: var(--alert-red);
  border: 1px solid var(--alert-red);
}

.form-status.loading {
  background-color: rgba(67, 97, 238, 0.1);
  color: var(--electric-blue);
  border: 1px solid var(--electric-blue);
}

/* Alert Messages */
.alert {
  padding: 1rem 2rem;
  margin: 1rem 0;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  position: relative;
  max-width: 600px;
  margin: 1rem auto;
}

.alert-success {
  background: linear-gradient(135deg, #004d40, #00796b);
  border-left: 4px solid var(--cyber-green);
  color: white;
}

.alert-error {
  background: linear-gradient(135deg, #7f0000, #c62828);
  border-left: 4px solid var(--alert-red);
  color: white;
}

.alert-loading {
  background: linear-gradient(135deg, #1a237e, #283593);
  border-left: 4px solid var(--electric-blue);
  color: white;
}

/* Hide form status when alert is visible */
.alert + .form-status {
  display: none !important;
}

/* Footer */
footer {
  padding: 80px 0 30px;
  position: relative;
  background: linear-gradient(0deg, var(--navy) 0%, var(--dark-bg) 100%);
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

.footer-info h3 {
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.footer-info p {
  margin-bottom: 20px;
  color: rgba(245, 245, 247, 0.7);
}

.footer-links h4 {
  margin-bottom: 20px;
  font-size: 1.2rem;
  color: var(--cyber-green);
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(245, 245, 247, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--cyber-green);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(245, 245, 247, 0.1);
}

.footer-bottom p {
  color: rgba(245, 245, 247, 0.6);
  font-size: 0.9rem;
}

/* Digital Rain Canvas */
#digital-rain {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  opacity: 0.15;
}

/* Police Star Badge Styles */
.developer-badge {
  display: flex;
  align-items: center;
  gap: 15px;
  background-color: rgba(0, 245, 212, 0.1);
  border: 1px solid var(--cyber-green);
  border-radius: 8px;
  padding: 10px 20px;
  margin-top: 20px;
}

/* Container for stars on each side */
.stars-container {
  display: flex;
  align-items: center;
  gap: 5px;
}

.police-star-container {
  position: relative;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.police-star {
  width: 32px;
  height: 32px;
  fill: gold;
  filter: drop-shadow(0 0 3px rgba(255, 215, 0, 0.7));
  z-index: 2;
}

.star-shine {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.8) 0%,
    rgba(255, 255, 255, 0) 70%
  );
  opacity: 0;
  z-index: 1;
  animation: starShine 3s infinite;
}

/* Staggered animations for all four stars */
.stars-container.left .police-star-container:nth-child(1) .star-shine {
  animation-delay: 0s;
}

.stars-container.left .police-star-container:nth-child(2) .star-shine {
  animation-delay: 1.5s;
}

.stars-container.right .police-star-container:nth-child(1) .star-shine {
  animation-delay: 0.75s;
}

.stars-container.right .police-star-container:nth-child(2) .star-shine {
  animation-delay: 2.25s;
}

@keyframes starShine {
  0%,
  100% {
    opacity: 0;
    transform: scale(0.5);
  }

  50% {
    opacity: 0.7;
    transform: scale(1.2);
  }
}

.developer-badge span {
  font-weight: 600;
  flex: 1;
  text-align: center;
}

/* Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.fade-in.active {
  opacity: 1;
  transform: translateY(0);
}

/* iC Connect Navigation Styles */
.ic-connect-link {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 6px 12px !important;
  border-radius: 20px !important;
  background: linear-gradient(
    45deg,
    var(--electric-blue),
    var(--cyber-green)
  ) !important;
  color: white !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 0 15px rgba(0, 245, 212, 0.3) !important;
  animation: icConnectPulse 3s infinite !important;
  font-size: 0.8rem !important;
}

.ic-connect-link:hover {
  transform: scale(1.05) !important;
  box-shadow: 0 0 25px rgba(0, 245, 212, 0.6) !important;
  color: white !important;
}

.ic-connect-text {
  font-size: 0.8rem;
  white-space: nowrap;
}

.new-feature-badge {
  background: var(--alert-red) !important;
  color: white !important;
  font-size: 0.6rem !important;
  padding: 2px 5px !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
  animation: badgePulse 2s infinite !important;
  white-space: nowrap;
}

/* Responsive iC Connect styles */
@media (max-width: 1200px) {
  .ic-connect-link {
    padding: 5px 10px !important;
    gap: 4px !important;
  }

  .ic-connect-text {
    font-size: 0.75rem;
  }

  .new-feature-badge {
    font-size: 0.55rem !important;
    padding: 1px 4px !important;
  }
}

@media (max-width: 992px) {
  .ic-connect-link {
    padding: 4px 8px !important;
    gap: 3px !important;
  }

  .ic-connect-text {
    font-size: 0.7rem;
  }

  .new-feature-badge {
    font-size: 0.5rem !important;
    padding: 1px 3px !important;
  }
}

@keyframes icConnectPulse {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(0, 245, 212, 0.3);
  }

  50% {
    box-shadow: 0 0 35px rgba(0, 245, 212, 0.7);
  }
}

@keyframes badgePulse {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }
}

/* iC Connect Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: linear-gradient(135deg, var(--dark-bg), var(--navy));
  border: 2px solid var(--cyber-green);
  border-radius: 20px;
  max-width: 800px;
  max-height: 90vh;
  width: 90%;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 0 50px rgba(0, 245, 212, 0.3);
  transform: scale(0.7);
  transition: transform 0.3s ease;
  scrollbar-width: none;
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 5px;
  right: 5px;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--cyber-green);
  cursor: pointer;
  z-index: 10001;
  transition: all 0.3s ease;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.modal-close:hover {
  background: rgba(0, 245, 212, 0.1);
  transform: rotate(90deg);
}

.modal-header {
  text-align: center;
  padding: 30px 30px 20px;
  border-bottom: 1px solid rgba(0, 245, 212, 0.2);
}

.modal-logo img {
  width: 80px;
  height: 80px;
  margin-bottom: 15px;
  border-radius: 50%;
  border: 3px solid var(--cyber-green);
  padding: 10px;
  background: rgba(0, 245, 212, 0.1);
}

.modal-header h2 {
  color: var(--cyber-green);
  margin-bottom: 10px;
  font-size: 1.8rem;
}

.modal-slogan {
  font-size: 1.1rem;
  color: var(--electric-blue);
  font-weight: 600;
  margin-bottom: 0;
}

.modal-body {
  padding: 20px 30px 30px;
}

.modal-body h3 {
  color: var(--cyber-green);
  margin-bottom: 15px;
  margin-top: 25px;
  font-size: 1.2rem;
}

.modal-body h3:first-child {
  margin-top: 0;
}

.modal-body p {
  margin-bottom: 15px;
  line-height: 1.6;
}

.modal-body ul {
  margin: 15px 0 15px 20px;
  color: var(--light-text);
}

.modal-body li {
  margin-bottom: 8px;
  position: relative;
}

.modal-body li::before {
  content: "→";
  color: var(--cyber-green);
  font-weight: bold;
  position: absolute;
  left: -20px;
}

.problem-section,
.limitations-section,
.gap-section,
.solution-section {
  margin-bottom: 25px;
  padding: 20px;
  border-radius: 10px;
  background: rgba(10, 35, 66, 0.3);
  border-left: 4px solid var(--cyber-green);
}

.solution-section {
  background: rgba(0, 245, 212, 0.05);
  border-left-color: var(--electric-blue);
}

.modal-footer {
  text-align: center;
  padding: 20px 30px 30px;
  border-top: 1px solid rgba(0, 245, 212, 0.2);
}

.modal-footer p {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--cyber-green);
  margin-bottom: 20px;
}

.modal-btn {
  display: inline-block;
  background: linear-gradient(45deg, var(--electric-blue), var(--cyber-green));
  color: white;
  padding: 12px 30px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(0, 245, 212, 0.3);
  margin-bottom: 15px;
}

.modal-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 245, 212, 0.5);
  color: white;
}

.coming-soon {
  font-size: 0.9rem;
  color: var(--purple);
  font-style: italic;
  margin-bottom: 0;
}

.live-now {
  font-size: 1rem;
  color: var(--cyber-green);
  font-weight: 700;
  margin-bottom: 15px;
  padding: 8px 16px;
  background: rgba(0, 245, 212, 0.1);
  border-radius: 20px;
  border: 1px solid var(--cyber-green);
  display: inline-block;
  animation: livePulse 2s infinite;
}

@keyframes livePulse {
  0%,
  100% {
    box-shadow: 0 0 10px rgba(0, 245, 212, 0.3);
  }

  50% {
    box-shadow: 0 0 20px rgba(0, 245, 212, 0.7);
  }
}

/* iC Connect Initiative Section Styles */
.ic-connect-slogan {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--cyber-green);
  text-align: center;
  margin: 15px 0 25px;
  position: relative;
}

.ic-connect-slogan::before,
.ic-connect-slogan::after {
  content: "🔗";
  position: absolute;
  font-size: 1.2rem;
  animation: pulse 2s infinite;
}

.ic-connect-slogan::before {
  left: -40px;
}

.ic-connect-slogan::after {
  right: -40px;
}

.live-status {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--cyber-green);
  text-align: center;
  margin: 15px 0 25px;
  padding: 10px 20px;
  background: rgba(0, 245, 212, 0.1);
  border-radius: 25px;
  border: 2px solid var(--cyber-green);
  display: inline-block;
  animation: livePulse 2s infinite;
  box-shadow: 0 0 15px rgba(0, 245, 212, 0.3);
}

.ic-connect-logo {
  position: relative;
}

.ic-connect-logo img {
  transition: transform 0.3s ease;
  border-radius: 20px;
  box-shadow: 0 0 30px rgba(0, 245, 212, 0.3);
}

.ic-connect-logo:hover img {
  transform: scale(1.05);
  box-shadow: 0 0 40px rgba(0, 245, 212, 0.6);
}

.ic-connect-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.feature-highlight {
  background: rgba(10, 35, 66, 0.3);
  padding: 20px;
  border-radius: 12px;
  border: 1px solid rgba(0, 245, 212, 0.2);
  transition: all 0.3s ease;
}

.feature-highlight:hover {
  background: rgba(0, 245, 212, 0.05);
  border-color: var(--cyber-green);
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 245, 212, 0.2);
}

.feature-highlight h4 {
  color: var(--cyber-green);
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.feature-highlight p {
  color: var(--light-text);
  margin: 0;
  line-height: 1.5;
}

.ic-connect-btn {
  position: relative;
  overflow: hidden;
}

.ic-connect-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

.ic-connect-btn:hover::before {
  left: 100%;
}

/* Mobile Responsive Styles for Modal */
@media (max-width: 768px) {
  .ic-connect-link {
    padding: 6px 12px !important;
    font-size: 0.8rem !important;
  }

  .ic-connect-text {
    font-size: 0.8rem;
  }

  .new-feature-badge {
    font-size: 0.6rem !important;
    padding: 1px 4px !important;
  }

  .modal-content {
    width: 95%;
    max-height: 95vh;
    margin: 10px;
  }

  .modal-header,
  .modal-body,
  .modal-footer {
    padding: 20px;
  }

  .modal-header h2 {
    font-size: 1.4rem;
  }

  .modal-logo img {
    width: 60px;
    height: 60px;
  }

  .ic-connect-features {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .ic-connect-slogan::before,
  .ic-connect-slogan::after {
    display: none;
  }
}

@media (max-width: 480px) {
  .modal-header h2 {
    font-size: 1.2rem;
  }

  .modal-slogan {
    font-size: 1rem;
  }

  .modal-body h3 {
    font-size: 1rem;
  }

  /* Hero section for very small screens */
  .hero h1 {
    font-size: 1.8rem;
  }

  .slogan {
    font-size: 1.2rem;
  }

  .hero-badge {
    font-size: 0.8rem;
    padding: 6px 12px;
  }

  /* Stats grid for mobile */
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .stat-value {
    font-size: 2.5rem;
  }

  /* Navigation improvements */
  .logo-text {
    font-size: 1rem;
  }

  /* Section spacing */
  .features,
  .developer,
  .initiative,
  .contact {
    padding: 80px 0;
  }

  .section-header {
    margin-bottom: 50px;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  /* Initiative section */
  .initiative-content {
    padding: 0 10px;
  }

  .ic-connect-features {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .feature-highlight {
    padding: 15px;
  }

  /* Footer responsive */
  .footer-top {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }
}

/* =========================================
   Galaxy Redesign & Premium UI
   ========================================= */

/* Hero Section Enhancements */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at center, #0a1128 0%, #000000 100%);
}

#galaxy-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  /* Below content but above background */
  pointer-events: none;
  /* Let clicks pass through */
}

/* Ensure content is above galaxy background */
.hero .container {
  position: relative;
  z-index: 10;
}

/* Premium Gradient Text - No Harsh Glow */
.text-glow {
  background: linear-gradient(135deg, #ffffff 0%, #00f5d4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 30px rgba(0, 245, 212, 0.3);
  /* Subtle, soft ambient glow */
  animation: none;
  /* Removed flicker */
}

/* Continuous Typewriter Animation for Slogan */
/* Slogan Container */
.slogan-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  text-align: center;
  margin-bottom: 20px;
  height: 48px;
  perspective: 1000px;
  /* For 3D effects */
}

/* Slogan Base Style - Gradient & No Cursor */
.slogan {
  display: inline-block;
  font-family: "Orbitron", sans-serif;
  font-size: 1.5rem;
  font-weight: 500;
  white-space: nowrap;

  /* Gradient Text */
  background: linear-gradient(90deg, #ffffff, #00f5d4, #4361ee);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;

  /* Remove Border/Cursor from base */
  border-right: none;
}

/* Animation 1: Typewriter */
.animate-typewriter {
  animation: typewriter-effect 4s steps(40) infinite alternate;
  border-right: 2px solid var(--cyber-green);
  /* Only show cursor here */
}

@keyframes typewriter-effect {
  0% {
    clip-path: polygon(0 0, 0 100%, 0 100%, 0 0);
  }

  40% {
    clip-path: polygon(0 0, 0 100%, 100% 100%, 100% 0);
  }

  60% {
    clip-path: polygon(0 0, 0 100%, 100% 100%, 100% 0);
  }

  100% {
    clip-path: polygon(0 0, 0 100%, 0 100%, 0 0);
  }
}

/* Animation 2: Blur Reveal */
.animate-blur-reveal {
  animation: blur-reveal-effect 5s ease-in-out infinite;
}

@keyframes blur-reveal-effect {
  0% {
    filter: blur(10px);
    opacity: 0;
    transform: scale(0.9);
  }

  20% {
    filter: blur(0);
    opacity: 1;
    transform: scale(1);
  }

  80% {
    filter: blur(0);
    opacity: 1;
    transform: scale(1);
  }

  100% {
    filter: blur(10px);
    opacity: 0;
    transform: scale(1.1);
  }
}

/* Animation 3: Glitch Shake */
.animate-glitch {
  animation: glitch-effect 4s infinite;
}

@keyframes glitch-effect {
  0% {
    transform: skew(0deg);
  }

  20% {
    transform: skew(0deg);
  }

  21% {
    transform: skew(-10deg);
    filter: hue-rotate(90deg);
  }

  22% {
    transform: skew(10deg);
    filter: hue-rotate(-90deg);
  }

  23% {
    transform: skew(0deg);
    filter: none;
  }

  100% {
    transform: skew(0deg);
  }
}

/* Animation 4: Fade Up */
.animate-fade-up {
  animation: fade-up-effect 4s ease-out infinite;
}

@keyframes fade-up-effect {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  20% {
    opacity: 1;
    transform: translateY(0);
  }

  80% {
    opacity: 1;
    transform: translateY(0);
  }

  100% {
    opacity: 0;
    transform: translateY(-20px);
  }
}

/* Animation 5: Spacing Breath */
.animate-spacing {
  animation: spacing-effect 5s ease-in-out infinite alternate;
}

@keyframes spacing-effect {
  0% {
    letter-spacing: 0px;
    opacity: 0;
  }

  20% {
    letter-spacing: 2px;
    opacity: 1;
  }

  80% {
    letter-spacing: 2px;
    opacity: 1;
  }

  100% {
    letter-spacing: 8px;
    opacity: 0;
  }
}

@keyframes typing {
  0% {
    width: 0;
  }

  20% {
    width: 0;
  }

  /* Stay at 0 at start */
  50% {
    width: 100%;
  }

  /* Type out */
  80% {
    width: 100%;
  }

  /* Stay visible */
  100% {
    width: 0;
  }

  /* Delete */
}

@keyframes blink {
  from,
  to {
    border-color: transparent;
  }

  50% {
    border-color: var(--cyber-green);
  }
}

/* Single Line Title Enforcement */
.hero h1 {
  white-space: nowrap;
  font-size: 3.5rem;
  margin-bottom: 0.5rem;
  letter-spacing: 2px;
  line-height: 1.2;
  padding: 0 10px;
  /* Prevent edge cutoff */
  display: inline-block;
  max-width: 100%;
}

.hero-content {
  z-index: 10;
  position: relative;
  max-width: 100%;
  overflow: visible;
  text-align: center;
  /* Prevent cutting off glow/badge */
}

/* Premium Badge styling fix */
.premium-badge {
  margin-top: 10px;
  display: inline-block;
  white-space: nowrap;
}

@media (max-width: 1200px) {
  .hero h1 {
    font-size: 2.8rem;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    white-space: normal;
    /* Back to normal on mobile */
    font-size: 2.5rem;
  }
}

/* Dud character style for text scramble */
.dud {
  color: #4361ee;
  opacity: 0.7;
}

/* Glassmorphism Button */
.glass-btn {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: white;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.glass-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 245, 212, 0.4);
  border-color: rgba(0, 245, 212, 0.5);
}

.glass-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: 0.5s;
}

.glass-btn:hover::after {
  left: 100%;
}

/* Premium Badge with Glassmorphism */
.premium-badge {
  background: rgba(67, 97, 238, 0.2);
  border: 1px solid rgba(0, 245, 212, 0.5);
  box-shadow:
    0 0 10px rgba(0, 245, 212, 0.3),
    inset 0 0 20px rgba(67, 97, 238, 0.2);
  backdrop-filter: blur(8px);
  padding: 8px 20px;
  border-radius: 4px;
  /* More techy, less round */
  font-family: "Orbitron", sans-serif;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 0 5px rgba(0, 245, 212, 0.8);
}

/* Feature Card Glassmorphism Enhancement */
.feature-card {
  background: rgba(10, 35, 66, 0.4);
  /* More transparent */
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.feature-card:hover {
  background: rgba(10, 35, 66, 0.6);
  border-color: rgba(0, 245, 212, 0.3);
  box-shadow:
    0 15px 40px rgba(0, 0, 0, 0.4),
    0 0 20px rgba(0, 245, 212, 0.1);
  /* Glow effect */
}

/* Section Header Enhancement */
.section-header h2 {
  background: linear-gradient(135deg, #fff 30%, var(--cyber-green) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* =========================================
   Hero Login Button Styles
   ========================================= */
.hero-login-wrapper {
  margin-top: 25px;
  display: flex;
  justify-content: center;
  perspective: 1000px;
}

.hero-login-btn {
  position: relative;
  background: linear-gradient(135deg, #4361ee, #3a0ca3);
  border: none;
  border-radius: 50px;
  /* Pill shape */
  padding: 12px 35px;
  color: white;
  font-family: "Orbitron", sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 1px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 25px rgba(67, 97, 238, 0.4);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
  z-index: 10;
}

.hero-login-btn:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 35px rgba(67, 97, 238, 0.6);
}

.hero-login-btn .btn-icon {
  font-size: 1.3rem;
}

.hero-login-btn .btn-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.4) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  animation: shine-effect 3s infinite;
}

@keyframes shine-effect {
  0% {
    left: -100%;
  }

  20% {
    left: 200%;
  }

  100% {
    left: 200%;
  }
}

/* =========================================
   Login Modal Styles (Glassmorphism)
   ========================================= */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 5, 16, 0.9);
  /* Darker backdrop */
  backdrop-filter: blur(15px);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  width: 90%;
  max-width: 380px;
  background: rgba(20, 25, 40, 0.75);
  border: 1px solid rgba(0, 245, 212, 0.2);
  border-top: 1px solid rgba(0, 245, 212, 0.4);
  border-radius: 20px;
  padding: 30px;
  position: relative;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.6),
    0 0 30px rgba(0, 245, 212, 0.1);
  transform: scale(0.9) translateY(30px);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.active .modal-container {
  transform: scale(1) translateY(0);
}

.modal-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  text-align: center;
  position: relative;
  width: 100%;
}

.modal-close {
  position: absolute;
  top: 5px;
  right: 5px;
  background: rgba(255, 255, 255, 0.05);
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
}

.branding-title {
  font-family: "Orbitron", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  color: #ffffff;
  letter-spacing: 1px;
}

.branding-subtitle {
  font-family: "Orbitron", sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 5px;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.modal-header h3 {
  color: white;
  margin: 5px 0;
  font-weight: 600;
  font-size: 1.2rem;
}

.modal-header p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

/* Form Styles */
.form-group {
  margin-bottom: 15px;
  text-align: left;
}

.form-group label {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 6px;
  font-size: 0.85rem;
  margin-left: 5px;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-wrapper input {
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 10px 15px 10px 40px;
  color: white;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.input-wrapper input:focus {
  background: rgba(0, 0, 0, 0.5);
  border-color: var(--cyber-green);
  box-shadow: 0 0 0 3px rgba(0, 245, 212, 0.1);
  outline: none;
}

.input-icon {
  position: absolute;
  left: 15px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 1.1rem;
  pointer-events: none;
}

.input-wrapper input:focus ~ .input-icon {
  color: var(--cyber-green);
}

/* Actions */
.form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  font-size: 0.85rem;
}

/* Custom Checkbox Styles */
.checkbox-container {
  display: flex;
  align-items: center;
  position: relative;
  padding-left: 28px;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.7);
  user-select: none;
}

.checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 18px;
  width: 18px;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  transition: all 0.2s ease;
}

.checkbox-container:hover input ~ .checkmark {
  background-color: rgba(255, 255, 255, 0.2);
}

.checkbox-container input:checked ~ .checkmark {
  background-color: var(--cyber-green);
  border-color: var(--cyber-green);
  box-shadow: 0 0 10px rgba(0, 245, 212, 0.4);
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
  display: block;
}

.checkbox-container .checkmark:after {
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid #050a1a;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.auth-links {
  display: flex;
  gap: 15px;
}

.forgot-link,
.register-link {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: all 0.3s ease;
}

.forgot-link:hover,
.register-link:hover {
  color: var(--cyber-green);
}

.forgot-link:hover {
  color: var(--cyber-green);
}

/* Login Button in Modal */
.btn-login-submit {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 10px;
  background: #4361ee;
  color: white;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(67, 97, 238, 0.4);
}

.btn-login-submit:hover {
  transform: translateY(-2px);
  background: #3b5bdb;
  box-shadow: 0 6px 20px rgba(67, 97, 238, 0.6);
}

.modal-footer {
  text-align: center;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}

.modal-footer a {
  color: var(--cyber-green);
  text-decoration: none;
  margin-left: 5px;
}
