/* Craxs RAT Landing Page Styles v=6.9 */

/* CSS Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  height: 100%;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #ffffff;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 25%, #16213e 50%, #0f3460 75%, #0a0a0a 100%);
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Loading Screen */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0a0a0a, #1a1a2e, #16213e);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  animation: fadeIn 0.5s ease-in;
}

.loading-logo {
  font-size: 3rem;
  font-weight: bold;
  background: linear-gradient(45deg, #00ff41, #00d4ff, #ff006e, #8b5cf6);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientFlow 2s ease-in-out infinite;
  margin-bottom: 2rem;
  text-shadow: 0 0 30px rgba(0, 255, 65, 0.5);
}

.loading-bar {
  width: 300px;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.loading-progress {
  height: 100%;
  background: linear-gradient(90deg, #00ff41, #00d4ff, #ff006e);
  width: 0%;
  transition: width 0.3s ease;
  border-radius: 4px;
  box-shadow: 0 0 20px rgba(0, 255, 65, 0.6);
}

/* Scroll Progress */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, #00ff41, #00d4ff, #ff006e);
  z-index: 1000;
  transition: width 0.1s ease;
  box-shadow: 0 0 10px rgba(0, 255, 65, 0.8);
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 255, 65, 0.2);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(0, 0, 0, 0.9);
  box-shadow: 0 4px 30px rgba(0, 255, 65, 0.1);
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.5rem;
  font-weight: bold;
  color: #00ff41;
  text-shadow: 0 0 20px rgba(0, 255, 65, 0.5);
}

.logo img {
  border-radius: 8px;
  filter: drop-shadow(0 0 10px rgba(0, 255, 65, 0.3));
}

.lang-switch {
  display: flex;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.lang-switch a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.lang-switch a:hover,
.lang-switch a.active {
  color: #00ff41;
  background: rgba(0, 255, 65, 0.1);
  border-color: rgba(0, 255, 65, 0.3);
  box-shadow: 0 0 15px rgba(0, 255, 65, 0.2);
}

/* Video Section */
.top-video-wrapper {
  width: 100%;
  height: 60vh;
  position: relative;
  overflow: hidden;
  margin-top: 80px;
  border-bottom: 2px solid rgba(0, 255, 65, 0.3);
}

.top-video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.8) contrast(1.2);
}

/* Hero Section */
.hero {
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
  background: rgba(0, 0, 0, 0.5);
  margin: 2rem 0;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 255, 65, 0.2);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: radial-gradient(circle at 20% 20%, rgba(0, 255, 65, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 40% 60%, rgba(255, 0, 110, 0.1) 0%, transparent 50%);
  animation: float 6s ease-in-out infinite;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(45deg, #00ff41, #00d4ff, #ff006e, #8b5cf6);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientFlow 3s ease-in-out infinite;
  text-shadow: 0 0 30px rgba(0, 255, 65, 0.5);
}

.hero h2 {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 300;
}

.typing {
  border-right: 2px solid #00ff41;
  animation: blink 1s infinite;
}

.license {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(0, 255, 65, 0.3);
  border-radius: 15px;
  padding: 2rem;
  margin: 2rem auto;
  max-width: 600px;
  backdrop-filter: blur(10px);
}

.badge {
  background: linear-gradient(45deg, #00ff41, #00d4ff);
  color: #000;
  padding: 0.5rem 1.5rem;
  border-radius: 25px;
  font-weight: bold;
  display: inline-block;
  margin-bottom: 1rem;
  box-shadow: 0 0 20px rgba(0, 255, 65, 0.4);
  animation: pulse 2s infinite;
}

.price {
  font-size: 2rem;
  color: #00ff41;
  font-weight: bold;
  margin: 1rem 0;
  text-shadow: 0 0 20px rgba(0, 255, 65, 0.5);
}

.contact-info {
  margin-top: 2rem;
  text-align: left;
}

.contact-info h3 {
  color: #00ff41;
  margin-bottom: 1rem;
  text-align: center;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  padding: 1rem;
  background: rgba(0, 255, 65, 0.1);
  border-radius: 10px;
  border: 1px solid rgba(0, 255, 65, 0.2);
}

.contact-label {
  flex-shrink: 0;
  margin-right: 1rem;
  color: rgba(255, 255, 255, 0.9);
}

.contact-link {
  color: #00ff41;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.contact-link:hover {
  color: #00d4ff;
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

/* Product Banner */
.product-banner {
  text-align: center;
  padding: 3rem 2rem;
  background: rgba(0, 0, 0, 0.4);
  margin: 2rem auto;
  border-radius: 20px;
  max-width: 1200px;
  border: 1px solid rgba(0, 255, 65, 0.2);
  backdrop-filter: blur(10px);
}

.product-banner h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.gradient-text {
  background: linear-gradient(45deg, #00ff41, #00d4ff, #ff006e, #8b5cf6);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientFlow 3s ease-in-out infinite;
}

.subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 1rem;
}

/* Bundle Banner */
.bundle-banner {
  background: linear-gradient(135deg, rgba(0, 255, 65, 0.1), rgba(0, 212, 255, 0.1));
  border: 1px solid rgba(0, 255, 65, 0.3);
  border-radius: 15px;
  padding: 2rem;
  margin: 2rem auto;
  max-width: 1200px;
  text-align: center;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.bundle-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(0, 255, 65, 0.1), transparent);
  animation: shimmer 3s ease-in-out infinite;
}

/* Wave Divider */
.wave-divider {
  margin: 3rem 0;
  opacity: 0.8;
}

/* Features Grid */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.feature {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(0, 255, 65, 0.2);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.feature::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 65, 0.1), transparent);
  transition: left 0.5s ease;
}

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

.feature:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 255, 65, 0.2);
  border-color: rgba(0, 255, 65, 0.4);
}

.feature h3 {
  color: #00ff41;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.feature p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.feature.visible {
  animation: fadeInUp 0.6s ease-out;
}

/* Footer */
footer {
  background: rgba(0, 0, 0, 0.8);
  padding: 3rem 2rem 1rem;
  border-top: 1px solid rgba(0, 255, 65, 0.2);
  backdrop-filter: blur(10px);
}

.footer-section {
  margin-bottom: 2rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.footer-section h3 {
  color: #00ff41;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
  padding-left: 1rem;
  position: relative;
}

.footer-section li::before {
  content: '▶';
  position: absolute;
  left: 0;
  color: #00ff41;
  font-size: 0.8rem;
}

.footer-declare {
  background: rgba(255, 0, 110, 0.1);
  border: 1px solid rgba(255, 0, 110, 0.3);
  border-radius: 10px;
  padding: 1.5rem;
  margin: 2rem auto;
  max-width: 1000px;
}

.footer-declare h3 {
  color: #ff006e;
}

.footer-content {
  text-align: center;
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  margin-top: 2rem;
}

/* Filing Information Section */
.footer-filing {
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(0, 255, 65, 0.3);
  border-radius: 15px;
  padding: 2rem;
  margin: 2rem auto;
  max-width: 1200px;
  backdrop-filter: blur(15px);
  position: relative;
  overflow: hidden;
}

.footer-filing::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #00ff41, #00d4ff, #ff006e, transparent);
  animation: scanLine 3s ease-in-out infinite;
}

.filing-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.filing-item {
  display: flex;
  align-items: center;
  padding: 1rem;
  background: rgba(0, 255, 65, 0.05);
  border: 1px solid rgba(0, 255, 65, 0.2);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.filing-item:hover {
  background: rgba(0, 255, 65, 0.1);
  box-shadow: 0 0 20px rgba(0, 255, 65, 0.1);
  transform: translateY(-2px);
}

.filing-label {
  flex-shrink: 0;
  margin-right: 1rem;
  color: #00ff41;
  font-weight: bold;
  min-width: 100px;
}

.filing-link {
  color: #00d4ff;
  text-decoration: none;
  transition: all 0.3s ease;
}

.filing-link:hover {
  color: #00ff41;
  text-shadow: 0 0 10px rgba(0, 255, 65, 0.5);
}

.filing-text {
  color: rgba(255, 255, 255, 0.8);
}

.filing-footer {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 255, 65, 0.2);
  text-align: center;
}

.filing-footer p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  width: 45px;
  height: 45px;
  background: linear-gradient(45deg, #00ff41, #00d4ff);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 255, 65, 0.3);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 255, 65, 0.5);
}

.arrow {
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 12px solid #000;
}

/* Modal Styles */
#disclaimer-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  backdrop-filter: blur(10px);
}

.disclaimer-modal-content {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.9), rgba(26, 26, 46, 0.9));
  border: 1px solid rgba(0, 255, 65, 0.3);
  border-radius: 20px;
  padding: 2rem;
  max-width: 500px;
  text-align: center;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 60px rgba(0, 255, 65, 0.2);
}

.disclaimer-title {
  color: #ff006e;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: bold;
}

.disclaimer-text {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.disclaimer-btn {
  background: linear-gradient(45deg, #00ff41, #00d4ff);
  color: #000;
  border: none;
  padding: 1rem 2rem;
  border-radius: 25px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 255, 65, 0.3);
}

.disclaimer-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 255, 65, 0.5);
}

/* Animations */
@keyframes gradientFlow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 20px rgba(0, 255, 65, 0.4); }
  50% { transform: scale(1.05); box-shadow: 0 0 30px rgba(0, 255, 65, 0.6); }
}

@keyframes blink {
  0%, 50% { border-color: #00ff41; }
  51%, 100% { border-color: transparent; }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@keyframes shimmer {
  0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
  100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

@keyframes scanLine {
  0%, 100% { transform: translateX(-100%); }
  50% { transform: translateX(100%); }
}

/* Responsive Design */
@media (max-width: 768px) {
  .navbar {
    padding: 1rem;
    flex-direction: column;
    gap: 1rem;
  }
  
  .logo {
    font-size: 1.2rem;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero {
    padding: 2rem 1rem;
    margin: 1rem;
  }
  
  .features {
    grid-template-columns: 1fr;
    padding: 1rem;
  }
  
  .product-banner h1 {
    font-size: 2rem;
  }
  
  .top-video-wrapper {
    height: 40vh;
  }
  
  .bundle-banner {
    margin: 1rem;
    padding: 1.5rem;
  }
  
  .filing-section {
    grid-template-columns: 1fr;
  }
  
  .filing-item {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
  
  .filing-label {
    min-width: auto;
    margin-right: 0;
  }
  
  .back-to-top {
    bottom: 1rem;
    right: 1rem;
    width: 45px;
    height: 45px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .product-banner h1 {
    font-size: 1.5rem;
  }
  
  .price {
    font-size: 1.5rem;
  }
  
  .disclaimer-modal-content {
    margin: 1rem;
    padding: 1.5rem;
  }
}

/* Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Focus Styles */
a:focus,
button:focus,
[tabindex]:focus {
  outline: 2px solid #00ff41;
  outline-offset: 2px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  .hero h1,
  .gradient-text {
    background: none;
    -webkit-text-fill-color: #00ff41;
    color: #00ff41;
  }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Bundle Title UI Enhancements */
.bundle-title-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  position: relative;
  padding: 1rem 0;
}

.bundle-main-title {
  position: relative;
  background: linear-gradient(135deg, #000, #1a1a2e, #000);
  border: 2px solid #00ff41;
  border-radius: 15px;
  padding: 1rem 2rem;
  margin: 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 
    0 0 30px rgba(0, 255, 65, 0.3),
    inset 0 0 20px rgba(0, 255, 65, 0.1);
  animation: titlePulse 3s ease-in-out infinite;
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.bundle-main-title::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 65, 0.3), transparent);
  animation: titleSweep 4s ease-in-out infinite;
}

.title-icon {
  font-size: 1.5rem;
  animation: iconBounce 2s ease-in-out infinite;
  filter: drop-shadow(0 0 10px #00ff41);
}

.title-text {
  background: linear-gradient(135deg, #00ff41, #00d4ff, #ff006e, #8b5cf6);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: titleGradient 3s ease-in-out infinite;
  font-weight: bold;
  font-size: 1.2rem;
}

.title-badge {
  background: linear-gradient(45deg, #ff006e, #8b5cf6);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.9rem;
  color: white;
  animation: badgeGlow 2s ease-in-out infinite;
  box-shadow: 0 0 15px rgba(255, 0, 110, 0.5);
}

.title-decoration-left,
.title-decoration-right {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, transparent, #00ff41, transparent);
  position: relative;
  animation: linePulse 2s ease-in-out infinite;
}

.title-decoration-left::after,
.title-decoration-right::after {
  content: '';
  position: absolute;
  top: -4px;
  width: 10px;
  height: 10px;
  background: #00ff41;
  border-radius: 50%;
  box-shadow: 0 0 20px #00ff41;
  animation: dotPulse 1.5s ease-in-out infinite;
}

.title-decoration-left::after {
  right: 0;
}

.title-decoration-right::after {
  left: 0;
}

@keyframes titlePulse {
  0%, 100% { 
    box-shadow: 
      0 0 30px rgba(0, 255, 65, 0.3),
      inset 0 0 20px rgba(0, 255, 65, 0.1);
  }
  50% { 
    box-shadow: 
      0 0 50px rgba(0, 255, 65, 0.6),
      inset 0 0 30px rgba(0, 255, 65, 0.2);
  }
}

@keyframes titleSweep {
  0% { left: -100%; }
  20%, 80% { left: 100%; }
  100% { left: 100%; }
}

@keyframes iconBounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}

@keyframes titleGradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes badgeGlow {
  0%, 100% { 
    box-shadow: 0 0 15px rgba(255, 0, 110, 0.5);
    transform: scale(1);
  }
  50% { 
    box-shadow: 0 0 25px rgba(255, 0, 110, 0.8);
    transform: scale(1.05);
  }
}

@keyframes linePulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

@keyframes dotPulse {
  0%, 100% { 
    transform: scale(1);
    opacity: 0.7;
  }
  50% { 
    transform: scale(1.5);
    opacity: 1;
  }
}

/* Language Switch Active State */
.lang-switch a.active {
  color: #00ff41;
  text-shadow: 0 0 10px #00ff41;
  font-weight: bold;
  background: rgba(0, 255, 65, 0.1);
  padding: 0.3rem 0.8rem;
  border-radius: 5px;
  border: 1px solid rgba(0, 255, 65, 0.3);
}

.lang-switch a {
  transition: all 0.3s ease;
  text-decoration: none;
  padding: 0.3rem 0.5rem;
  border-radius: 3px;
}

.lang-switch a:hover {
  color: #00d4ff;
  text-shadow: 0 0 8px #00d4ff;
  background: rgba(0, 212, 255, 0.1);
}