/* Custom CSS for NullShield landing page */

/* General styles and utilities */
html {
  scroll-behavior: smooth;
}

body {
  background-color: #121212;
  background-image: 
    radial-gradient(circle at 25px 25px, rgba(0, 255, 170, 0.15) 2px, transparent 0),
    radial-gradient(circle at 75px 75px, rgba(0, 153, 255, 0.1) 2px, transparent 0);
  background-size: 100px 100px;
}

/* Grid background */
.bg-grid {
  background-size: 50px 50px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  z-index: 0;
}

/* Enhanced section separators */
.section-divider {
  height: 4px;
  background: linear-gradient(90deg, rgba(0,153,255,0.1) 0%, rgba(0,255,170,0.5) 50%, rgba(0,153,255,0.1) 100%);
  margin: 0 auto;
  width: 80%;
  border-radius: 2px;
}

/* Section background enhancements */
.features-bg {
    background-color: #121212;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(0, 255, 170, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(0, 153, 255, 0.03) 0%, transparent 50%);
    position: relative;
} 
.featus-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 170, 0.3), transparent);
}

.features-bg::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 170, 0.3), transparent);
}

/* Pricing section background */
.pricing-bg {
  background-color: #0c0c0c;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(0, 153, 255, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 85% 85%, rgba(255, 51, 102, 0.03) 0%, transparent 50%);
  position: relative;
  overflow: hidden;
}

.pricing-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 153, 255, 0.3), transparent);
}

.pricing-bg::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 153, 255, 0.3), transparent);
}

/* Feature heading effect */
.section-heading {
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

.section-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 25%;
  width: 50%;
  height: 3px;
  background: linear-gradient(90deg, rgba(0,153,255,0.3), rgba(0,255,170,0.8), rgba(0,153,255,0.3));
  border-radius: 3px;
}

/* Text effects */
.text-glitch {
  position: relative;
  display: inline-block;
}

.text-glitch::before,
.text-glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.text-glitch::before {
  left: 2px;
  text-shadow: -1px 0 #00FFAA;
  animation: glitch-animation 3s infinite linear alternate-reverse;
  clip: rect(44px, 450px, 56px, 0);
}

.text-glitch::after {
  left: -2px;
  text-shadow: -1px 0 #0099FF;
  animation: glitch-animation 2s infinite linear alternate-reverse;
  clip: rect(44px, 450px, 56px, 0);
}

@keyframes glitch-animation {
  0% {
    clip: rect(31px, 9999px, 94px, 0);
  }
  10% {
    clip: rect(112px, 9999px, 76px, 0);
  }
  20% {
    clip: rect(85px, 9999px, 214px, 0);
  }
  30% {
    clip: rect(61px, 9999px, 122px, 0);
  }
  40% {
    clip: rect(24px, 9999px, 118px, 0);
  }
  50% {
    clip: rect(7px, 9999px, 97px, 0);
  }
  60% {
    clip: rect(120px, 9999px, 366px, 0);
  }
  70% {
    clip: rect(7px, 9999px, 41px, 0);
  }
  80% {
    clip: rect(20px, 9999px, 92px, 0);
  }
  90% {
    clip: rect(103px, 9999px, 323px, 0);
  }
  100% {
    clip: rect(91px, 9999px, 46px, 0);
  }
}

/* Enhanced glitch effect */
.glitch-effect {
  position: relative;
  display: inline-block;
}

.glitch-effect::before,
.glitch-effect::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.glitch-effect::before {
  left: 2px;
  text-shadow: -1px 0 #0099FF;
  animation: glitch-anim-1 2s linear infinite alternate-reverse;
  clip: rect(44px, 450px, 56px, 0);
}

.glitch-effect::after {
  left: -2px;
  text-shadow: -1px 0 #FF3366;
  animation: glitch-anim-2 3s linear infinite alternate-reverse;
  clip: rect(34px, 450px, 66px, 0);
}

@keyframes glitch-anim-1 {
  0% { clip: rect(2px, 450px, 38px, 0); }
  20% { clip: rect(12px, 450px, 18px, 0); }
  40% { clip: rect(42px, 450px, 78px, 0); }
  60% { clip: rect(22px, 450px, 8px, 0); }
  80% { clip: rect(52px, 450px, 88px, 0); }
  100% { clip: rect(32px, 450px, 58px, 0); }
}

@keyframes glitch-anim-2 {
  0% { clip: rect(5px, 450px, 35px, 0); }
  20% { clip: rect(15px, 450px, 25px, 0); }
  40% { clip: rect(45px, 450px, 85px, 0); }
  60% { clip: rect(25px, 450px, 5px, 0); }
  80% { clip: rect(55px, 450px, 95px, 0); }
  100% { clip: rect(35px, 450px, 65px, 0); }
}

/* Animated glow effects */
.glow-button {
  box-shadow: 0 0 10px rgba(0, 255, 170, 0.5);
  animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        filter: drop-shadow(0 0 0px rgba(0, 153, 255, 0.8));
    }
    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 15px rgba(0, 153, 255, 0.8));
    }
    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 0px rgba(0, 153, 255, 0.8));
    }
}

/* Cards hover effects */
.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* Section transitions */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Shield logo animation */
.shield-logo {
  position: relative;
  display: inline-block;
}

.shield-logo::after {
  content: "";
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  border: 2px solid #0099FF;
  border-radius: 50%;
  animation: shield-pulse 3s infinite;
  opacity: 0;
}

@keyframes shield-pulse {
  0% {
    transform: scale(0.8);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.2);
    opacity: 0;
  }
  100% {
    transform: scale(0.8);
    opacity: 0;
  }
}

/* Badge styles */
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
  border-radius: 0.25rem;
}

/* Button styles */
.btn-primary {
  background-color: #0099FF;
  color: white;
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #0077CC;
  transform: translateY(-0.25rem);
  box-shadow: 0 10px 15px -3px rgba(0, 153, 255, 0.3);
}

.btn-secondary {
  background-color: #4A5568;
  color: white;
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background-color: #2D3748;
}

/* Feature card styles - IMPROVED */
.feature-card {
  background-color: #080808;
  padding: 2rem;
  border-radius: 0.5rem;
  border: 1px solid #1a1a1a;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.5), 0 2px 4px -1px rgba(0, 0, 0, 0.4);
}

.feature-card:hover {
  border-color: #00FFAA;
  transform: translateY(-0.5rem);
  box-shadow: 0 20px 25px -5px rgba(0, 255, 170, 0.1), 0 10px 10px -5px rgba(0, 255, 170, 0.08);
}
/* Enhanced feature card styles */
.feature-card {
    @apply bg-darker p-8 rounded-lg border border-gray-800 transform transition-all duration-300;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.5), 0 2px 4px -1px rgba(0, 0, 0, 0.4);
}
.feature-card:hover {
    @apply border-primary -translate-y-2;
    box-shadow: 0 20px 25px -5px rgba(0, 255, 170, 0.1), 0 10px 10px -5px rgba(0, 255, 170, 0.08);
}
/* Feature icon styles - IMPROVED */
.feature-icon {
  filter: drop-shadow(0 0 8px rgba(0, 255, 170, 0.6));
  background: radial-gradient(circle at center, rgba(0,0,0,0.2) 0%, transparent 70%);
  padding: 15px;
  border-radius: 50%;
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 2.5rem !important;
}

/* IMPROVED key features banner */
.key-features-banner {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 1.5rem 0;
  background: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0, 255, 170, 0.05) 50%, rgba(0,0,0,0) 100%);
  border-top: 1px solid rgba(0, 255, 170, 0.1);
  border-bottom: 1px solid rgba(0, 255, 170, 0.1);
  margin: 2rem 0;
}

.key-features-banner span {
  display: inline-flex;
  align-items: center;
  font-weight: bold;
  color: #e0e0e0;
  position: relative;
}

.key-features-banner span i {
  color: #00FFAA;
  margin-right: 0.75rem;
  filter: drop-shadow(0 0 5px rgba(0, 255, 170, 0.5));
}

.key-features-banner span::after {
  content: '•';
  display: inline-block;
  margin-left: 2rem;
  color: #666;
}

.key-features-banner span:last-child::after {
  display: none;
}

/* Tier card styles */
.tier-card {
  background-color: #121212;
  border: 1px solid #1a1a1a;
  border-radius: 0.5rem;
  padding: 1.5rem;
  transition: all 0.5s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.tier-card:hover {
  transform: translateY(-0.5rem);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.9);
  z-index: 20;
}

.tier-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 170, 0.8), transparent);
  transform: translateX(-100%);
  transition: transform 0.7s ease;
}

.tier-card:hover::before {
  transform: translateX(100%);
}

.tier-card.popular {
  transform: scale(1.05);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.8), 0 10px 10px -5px rgba(0, 0, 0, 0.4);
  border-color: #00FFAA;
  z-index: 10;
}

.tier-card.popular:hover {
  transform: translateY(-0.5rem) scale(1.05);
}

.tier-card.popular::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(0, 255, 170, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.tier-header {
  background: linear-gradient(135deg, #121212 0%, #1a1a1a 100%);
  margin: -1.5rem;
  margin-bottom: 0;
  padding: 1.5rem;
  border-bottom: 1px solid #333;
}

.tier-badge {
  position: absolute;
  top: 0;
  right: 0;
  padding: 0.25rem 1rem;
  font-weight: 700;
  font-size: 0.75rem;
}

.tier-badge-basic {
  background-color: #0099FF;
  color: white;
  border-bottom-left-radius: 0.25rem;
}

.tier-badge-popular {
  background-color: #00FFAA;
  color: #121212;
  border-bottom-left-radius: 0.5rem;
  font-size: 0.875rem;
  padding: 0.25rem 1rem;
}

.tier-badge-premium {
  background-color: #FF3366;
  color: white;
  border-bottom-left-radius: 0.25rem;
}

.tier-price {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
}

.tier-price-suffix {
  font-size: 1rem;
  color: #a0aec0;
}

.tier-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.tier-btn-basic {
  background-color: #0099FF;
  color: white;
  border-radius: 0.5rem;
  padding: 0.75rem;
  font-weight: 700;
  transition: all 0.3s ease;
  text-align: center;
  display: block;
  width: 100%;
}

.tier-btn-basic:hover {
  background-color: #0077cc;
  box-shadow: 0 10px 15px -3px rgba(0, 153, 255, 0.4);
  transform: translateY(-0.25rem);
}

.tier-btn-popular {
  background-color: #00FFAA;
  color: #121212;
  border-radius: 0.5rem;
  padding: 0.75rem;
  font-weight: 700;
  transition: all 0.3s ease;
  text-align: center;
  display: block;
  width: 100%;
}

.tier-btn-popular:hover {
  background-color: #00cc88;
  box-shadow: 0 10px 15px -3px rgba(0, 255, 170, 0.4);
  transform: translateY(-0.25rem);
}

.tier-btn-premium {
  background-color: #FF3366;
  color: white;
  border-radius: 0.5rem;
  padding: 0.75rem;
  font-weight: 700;
  transition: all 0.3s ease;
  text-align: center;
  display: block;
  width: 100%;
}

.tier-btn-premium:hover {
  background-color: #ff0044;
  box-shadow: 0 10px 15px -3px rgba(255, 51, 102, 0.4);
  transform: translateY(-0.25rem);
}

.tier-features {
  margin-bottom: 2rem;
  flex-grow: 1;
}

.tier-feature-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

.tier-feature-icon {
  margin-right: 0.5rem;
  margin-top: 0.25rem;
}

/* Logo styling */
.logo-container {
  display: flex;
  align-items: center;
}

.shield-logo-wrapper {
  width: 40px;
  height: 40px;
  margin-right: 10px;
  animation: pulse 3s infinite ease-in-out;
}

.hero-logo-wrapper {
  width: 150px;
  height: 150px;
  margin: 0 auto 20px;
  animation: pulse 3s infinite ease-in-out;
}

.footer-logo-wrapper {
  width: 50px;
  height: 50px;
  margin-right: 12px;
}

/* Animated hero background */
.hero-bg {
  background: linear-gradient(45deg, #121212, #242424);
  background-size: 400% 400%;
  animation: gradient 15s ease infinite;
  position: relative;
}

@keyframes gradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Loading animation */
.loading {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}

.loading div {
  display: inline-block;
  position: absolute;
  left: 8px;
  width: 16px;
  background: #00FFAA;
  animation: loading 1.2s cubic-bezier(0, 0.5, 0.5, 1) infinite;
}

.loading div:nth-child(1) {
  left: 8px;
  animation-delay: -0.24s;
}

.loading div:nth-child(2) {
  left: 32px;
  animation-delay: -0.12s;
}

.loading div:nth-child(3) {
  left: 56px;
  animation-delay: 0;
}

@keyframes loading {
  0% {
    top: 8px;
    height: 64px;
  }
  50%, 100% {
    top: 24px;
    height: 32px;
  }
}

/* Animation for pulse */
@keyframes pulse {
  0% {
    transform: scale(1);
    filter: drop-shadow(0 0 0px rgba(0, 153, 255, 0.8));
  }
  50% {
    transform: scale(1.05);
    filter: drop-shadow(0 0 15px rgba(0, 153, 255, 0.8));
  }
  100% {
    transform: scale(1);
    filter: drop-shadow(0 0 0px rgba(0, 153, 255, 0.8));
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-content {
    padding: 0 20px;
  }
  
  .tier-card.popular {
    transform: scale(1);
    margin-top: 2rem;
    margin-bottom: 2rem;
  }
  
  .tier-card.popular:hover {
    transform: translateY(-0.5rem);
  }
  
  .key-features-banner {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 0;
  }
  
  .key-features-banner span::after {
    display: none;
  }
}