/* CSS Variables */
:root {
  --neon-red: #ff0040;
  --neon-violet: #8b5cf6;
  --neon-cyan: #00ffff;
  --dark-bg: #0a0a0a;
  --dark-secondary: #111111;
  --dark-tertiary: #1a1a1a;
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --text-primary: #ffffff;
  --text-secondary: #b0b0b0;
  --text-muted: #666666;
  --gradient-neon: linear-gradient(135deg, var(--neon-red), var(--neon-violet));
  --gradient-cyber: linear-gradient(45deg, var(--neon-violet), var(--neon-cyan));
  --shadow-neon: 0 0 30px rgba(255, 0, 64, 0.5);
  --shadow-violet: 0 0 30px rgba(139, 92, 246, 0.5);
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Rajdhani', sans-serif;
  background: var(--dark-bg);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
}

/* Sticky CTA */
.sticky-cta {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.sticky-cta.visible {
  opacity: 1;
  transform: translateY(0);
}

.cta-button-sticky {
  position: relative;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  padding: 12px 24px;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s ease;
}

.cta-button-sticky:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-neon);
  border-color: var(--neon-red);
}

.cta-glow {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-neon);
  transition: left 0.4s ease;
  z-index: -1;
}

.cta-button-sticky:hover .cta-glow {
  left: 0;
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('opera__gx_back.webp') center/cover no-repeat;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, 
    rgba(10, 10, 10, 0.8) 0%, 
    rgba(255, 0, 64, 0.1) 30%, 
    rgba(139, 92, 246, 0.1) 70%, 
    rgba(10, 10, 10, 0.8) 100%);
  z-index: 2;
}

.cyber-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(255, 0, 64, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 0, 64, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: gridMove 20s linear infinite;
  z-index: 2;
}

.floating-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(2px 2px at 20px 30px, var(--neon-red), transparent),
    radial-gradient(2px 2px at 40px 70px, var(--neon-violet), transparent),
    radial-gradient(1px 1px at 90px 40px, var(--neon-cyan), transparent);
  background-repeat: repeat;
  background-size: 200px 150px;
  animation: particleFloat 15s linear infinite;
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  padding: 2rem;
}

.logo-wrapper {
  position: relative;
  display: inline-block;
}

.hero-logo {
  height: 120px;
  filter: drop-shadow(0 0 20px rgba(255, 0, 64, 0.8));
  animation: logoFloat 3s ease-in-out infinite;
}

.logo-aura {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 150%;
  height: 150%;
  background: radial-gradient(circle, rgba(255, 0, 64, 0.3), transparent);
  transform: translate(-50%, -50%);
  animation: logoAura 4s ease-in-out infinite alternate;
  z-index: -1;
}

.hero-title {
  font-family: 'Orbitron', monospace;
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 900;
  line-height: 0.9;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.title-line {
  display: block;
  color: var(--text-primary);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.neon-text {
  background: var(--gradient-neon);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 30px var(--neon-red);
  animation: neonPulse 2s ease-in-out infinite alternate;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--text-secondary);
  font-weight: 300;
  margin-bottom: 3rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.cta-button-primary {
  position: relative;
  background: transparent;
  border: 2px solid var(--neon-red);
  border-radius: 50px;
  padding: 18px 40px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  cursor: pointer;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.btn-bg-effect {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-neon);
  transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}

.cta-button-primary:hover .btn-bg-effect {
  left: 0;
}

.cta-button-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-neon);
  border-color: transparent;
}

.btn-text {
  position: relative;
  z-index: 2;
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: var(--text-muted);
  z-index: 3;
  cursor: pointer;
}

.scroll-text {
  font-size: 0.9rem;
  margin-bottom: 10px;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.scroll-arrow {
  font-size: 1.2rem;
  animation: scrollBounce 2s ease-in-out infinite;
}

/* Features Section */
.features-section {
  background: var(--dark-secondary);
}

.feature-card {
  position: relative;
  height: 500px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card[data-feature="cpu"] .feature-bg {
  background: url('opera__gx_back.webp') center/cover;
}

.feature-card[data-feature="network"] .feature-bg {
  background: url('https://images.pexels.com/photos/1181675/pexels-photo-1181675.jpeg?auto=compress&cs=tinysrgb&w=800&h=600&fit=crop') center/cover;
}

.feature-card[data-feature="corner"] .feature-bg {
  background: url('https://images.pexels.com/photos/442576/pexels-photo-442576.jpeg?auto=compress&cs=tinysrgb&w=800&h=600&fit=crop') center/cover;
}

.feature-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, 
    rgba(255, 0, 64, 0.8), 
    rgba(139, 92, 246, 0.6));
  opacity: 0.9;
  transition: opacity 0.4s ease;
}

.feature-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 3rem 2rem;
}

.feature-icon-container {
  position: relative;
  margin-bottom: 2rem;
}

.feature-icon {
  font-size: 4rem;
  color: var(--text-primary);
  transition: all 0.3s ease;
}

.icon-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100px;
  height: 100px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: iconOrbit 3s linear infinite;
}

.feature-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
  text-transform: uppercase;
}

.feature-description {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
}

.feature-metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 15px 25px;
  border: 1px solid var(--glass-border);
}

.metric-value {
  font-size: 2rem;
  font-weight: 900;
  color: var(--neon-cyan);
  text-shadow: 0 0 10px var(--neon-cyan);
}

.metric-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.feature-card:hover {
  transform: scale(1.02);
}

.feature-card:hover .feature-bg {
  transform: scale(1.1);
}

.feature-card:hover .feature-overlay {
  opacity: 0.7;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
  animation: iconSpin 1s ease-in-out;
}

/* Performance Section */
.performance-section {
  background: var(--dark-bg);
  padding: 120px 0;
}

.performance-header {
  margin-bottom: 4rem;
}

.section-title {
  font-family: 'Orbitron', monospace;
  font-size: 3rem;
  font-weight: 900;
  background: var(--gradient-neon);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  font-weight: 300;
}

.performance-metrics {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.metric-item {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.metric-label {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  min-width: 120px;
  text-transform: uppercase;
}

.metric-bars {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
}

.bar-wrapper {
  position: relative;
  flex: 1;
  height: 35px;
  background: var(--dark-tertiary);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
}

.progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 15px;
  font-weight: 700;
  font-size: 0.9rem;
  transition: width 2s cubic-bezier(0.4, 0, 0.2, 1);
  width: 0;
}

.progress-bar.before {
  background: linear-gradient(90deg, var(--neon-red), rgba(255, 0, 64, 0.7));
  color: var(--text-primary);
  box-shadow: 0 0 15px rgba(255, 0, 64, 0.3);
}

.progress-bar.after {
  background: linear-gradient(90deg, #00ff88, rgba(0, 255, 136, 0.7));
  color: var(--text-primary);
  box-shadow: 0 0 15px rgba(0, 255, 136, 0.3);
}

.vs-icon {
  font-size: 1.5rem;
  color: var(--text-secondary);
  font-weight: bold;
}

.performance-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.gaming-setup {
  position: relative;
  width: 400px;
  height: 300px;
  background: url('opera__gx_back.webp') center/cover;
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid var(--glass-border);
}

.gaming-setup::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, 
    rgba(255, 0, 64, 0.2), 
    rgba(139, 92, 246, 0.2));
}

.setup-glow {
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  background: var(--gradient-neon);
  border-radius: 25px;
  opacity: 0.3;
  animation: setupGlow 3s ease-in-out infinite alternate;
  z-index: -1;
}

.performance-indicator {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  z-index: 2;
}

.indicator-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00ff88;
  animation: indicatorPulse 2s ease-in-out infinite;
}

.indicator-text {
  color: var(--text-primary);
  text-transform: uppercase;
}

/* Testimonials Section */
.testimonials-section {
  background: var(--dark-secondary);
  padding: 120px 0;
}

.testimonials-section .section-title {
  margin-bottom: 4rem;
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 3rem;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;
}

.testimonial-avatar {
  position: relative;
  flex-shrink: 0;
}

.testimonial-avatar img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--neon-red);
}

.avatar-glow {
  position: absolute;
  top: -10px;
  left: -10px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: var(--gradient-neon);
  opacity: 0.3;
  animation: avatarGlow 3s ease-in-out infinite alternate;
  z-index: -1;
}

.testimonial-content {
  flex: 1;
}

.quote-icon {
  font-size: 4rem;
  color: var(--neon-red);
  font-family: serif;
  line-height: 1;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-size: 1.3rem;
  color: var(--text-primary);
  line-height: 1.6;
  margin-bottom: 2rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  text-transform: uppercase;
}

.author-rating {
  color: #ffd700;
  font-size: 0.9rem;
}

.carousel-indicators {
  bottom: -60px;
}

.carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--text-muted);
  border: none;
  margin: 0 8px;
  transition: all 0.3s ease;
}

.carousel-indicators button.active {
  background: var(--neon-red);
  transform: scale(1.3);
  box-shadow: 0 0 10px var(--neon-red);
}

/* Footer */
.main-footer {
  background: var(--dark-bg);
  border-top: 1px solid var(--dark-tertiary);
  padding: 60px 0 40px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo {
  height: 50px;
  width: auto;
}

.footer-copyright {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  color: var(--neon-red);
  border-color: var(--neon-red);
  transform: translateY(-2px);
  box-shadow: 0 0 15px rgba(255, 0, 64, 0.3);
}

.legal-links {
  display: flex;
  gap: 2rem;
}

.legal-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.legal-link:hover {
  color: var(--neon-red);
}

/* Animations */
@keyframes gridMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(50px, 50px); }
}

@keyframes particleFloat {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-100px); }
}

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

@keyframes logoAura {
  0% { opacity: 0.2; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 0.4; transform: translate(-50%, -50%) scale(1.1); }
}

@keyframes neonPulse {
  0% { text-shadow: 0 0 20px var(--neon-red); }
  100% { text-shadow: 0 0 40px var(--neon-red), 0 0 60px var(--neon-violet); }
}

@keyframes scrollBounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-8px); }
  60% { transform: translateY(-4px); }
}

@keyframes iconOrbit {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes iconSpin {
  0% { transform: scale(1.1) rotate(0deg); }
  100% { transform: scale(1.1) rotate(360deg); }
}

@keyframes setupGlow {
  0% { opacity: 0.2; }
  100% { opacity: 0.5; }
}

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

@keyframes avatarGlow {
  0% { opacity: 0.2; }
  100% { opacity: 0.4; }
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
  }
  
  .feature-card {
    height: 400px;
  }
  
  .testimonial-card {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }
  
  .metric-item {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }
  
  .metric-label {
    min-width: auto;
    text-align: center;
  }
  
  .footer-content {
    align-items: flex-start;
    margin-top: 2rem;
  }
  
  .gaming-setup {
    width: 100%;
    max-width: 350px;
    height: 250px;
  }
}

@media (max-width: 768px) {
  .sticky-cta {
    top: 15px;
    right: 15px;
  }
  
  .cta-button-sticky {
    padding: 10px 20px;
    font-size: 12px;
  }
  
  .hero-logo {
    height: 80px;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .cta-button-primary {
    padding: 16px 32px;
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 2.5rem;
  }
  
  .feature-content {
    padding: 2rem 1.5rem;
  }
  
  .feature-icon {
    font-size: 3rem;
  }
  
  .feature-title {
    font-size: 1.5rem;
  }
  
  .performance-section,
  .testimonials-section {
    padding: 80px 0;
  }
  
  .testimonial-text {
    font-size: 1.1rem;
  }
}

@media (max-width: 576px) {
  .hero-content {
    padding: 1rem;
  }
  
  .feature-card {
    height: 350px;
  }
  
  .legal-links {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .social-links {
    justify-content: center;
  }
  
  .metric-bars {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .vs-icon {
    transform: rotate(90deg);
  }
}