/* Custom styles to complement Tailwind CSS */

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Animation classes */
.fade-in {
  animation: fadeIn 1s ease-in-out;
}

.pulse {
  animation: pulse 2s infinite;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* Custom gradient backgrounds */
.ninja-gradient {
  background: linear-gradient(135deg, #1A1A1A 0%, #000000 100%);
}

.accent-gradient {
  background: linear-gradient(135deg, #375F7C 0%, #2F414F 100%);
}

/* Neon text effect */
.neon-text {
  text-shadow: 0 0 10px rgba(55, 95, 124, 0.7), 0 0 20px rgba(55, 95, 124, 0.5);
}

.neon-blue-text {
  text-shadow: 0 0 10px rgba(86, 120, 144, 0.7), 0 0 20px rgba(86, 120, 144, 0.5);
}

.neon-red-text {
  text-shadow: 0 0 10px rgba(47, 65, 79, 0.7), 0 0 20px rgba(47, 65, 79, 0.5);
}

/* Custom border glow */
.glow-border {
  box-shadow: 0 0 10px rgba(55, 95, 124, 0.5);
}

.glow-border-blue {
  box-shadow: 0 0 10px rgba(86, 120, 144, 0.5);
}

.glow-border-red {
  box-shadow: 0 0 10px rgba(74, 99, 120, 0.5);
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #1A1A1A;
}

::-webkit-scrollbar-thumb {
  background: #375F7C;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #567890;
}

/* Back to top button */
.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: none;
  z-index: 99;
  transition: all 0.3s ease;
}

.back-to-top.visible {
  display: flex;
}

/* Mobile menu transition */
.mobile-menu {
  transition: all 0.3s ease-in-out;
  transform: translateY(-100%);
  opacity: 0;
}

.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
}

/* Custom card hover effects */
.plan-card {
  transition: all 0.3s ease;
}

.plan-card:hover {
  transform: translateY(-5px);
}

/* Toast notification for copied text */
.copy-toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #375F7C;
  color: #E0E0E0;
  padding: 8px 16px;
  border-radius: 4px;
  z-index: 100;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.copy-toast.visible {
  opacity: 1;
}

/* Fixed header styles for scroll behavior */
.fixed-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background-color: rgba(10, 15, 20, 0.95); /* Slightly transparent dark background */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

/* Section divider */
.section-divider {
  height: 2px;
  background: linear-gradient(90deg, transparent, #375F7C, transparent);
  margin: 40px 0;
}

/* FAQ Accordion Styles */
.faq-item {
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.faq-question {
  transition: all 0.3s ease;
  cursor: pointer;
}

.faq-question:hover {
  background: rgba(0, 200, 255, 0.05);
}

.faq-answer {
  transition: all 0.3s ease;
  max-height: 0;
  overflow: hidden;
}

.faq-answer:not(.hidden) {
  max-height: 500px;
  transition: max-height 0.5s ease;
}

.active-faq {
  box-shadow: 0 0 25px rgba(0, 200, 255, 0.15);
  border-color: rgba(0, 200, 255, 0.3) !important;
}

.faq-icon {
  transition: transform 0.3s ease;
}

.faq-item .faq-question:hover .faq-icon {
  color: #00c8ff;
}
