/**
 * CSS files with the .module.css suffix will be treated as CSS modules
 * and scoped locally.
 */

.heroSection {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 100%);
  overflow: hidden;
}

.lightningBackground {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
  will-change: auto;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.lightningBolt {
  position: absolute;
  font-size: 24px;
  color: #e263a9;
  animation: float 20s infinite linear;
  filter: blur(0.5px);
}

.lightningBolt:nth-child(odd) {
  color: #ffd700;
  animation-duration: 25s;
}

.lightningBolt:nth-child(3n) {
  color: #87ceeb;
  animation-duration: 30s;
}

.lightningBolt:nth-child(5n) {
  color: #e263a9;
  font-size: 18px;
  animation-duration: 22s;
}

.lightningBolt:nth-child(7n) {
  font-size: 30px;
  animation-duration: 28s;
}

@keyframes float {
  from {
    transform: translateY(0) rotate(0deg);
    opacity: 0.3;
  }
  to {
    transform: translateY(-200vh) rotate(360deg);
    opacity: 0;
  }
}

.heroContent {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2rem;
  max-width: 1200px;
  width: 100%;
}

.heroTitle {
  font-size: 5rem;
  font-weight: 900;
  background: linear-gradient(135deg, #e263a9 0%, #ffd700 50%, #87ceeb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
  will-change: auto;
  backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
  transition: filter 0.3s ease;
}

.heroTitle.electric {
  animation: electricPulse 0.5s ease-in-out forwards;
}

@keyframes electricPulse {
  0% {
    filter: none;
  }
  20% {
    filter: drop-shadow(0 0 40px #ffd700) brightness(1.2);
  }
  40% {
    filter: drop-shadow(0 0 30px #87ceeb) brightness(0.95);
  }
  60% {
    filter: drop-shadow(0 0 50px #e263a9) brightness(1.3);
  }
  80% {
    filter: drop-shadow(0 0 35px #ffd700) brightness(1.1);
  }
  100% {
    filter: none;
  }
}

.heroSubtitle {
  font-size: 1.5rem;
  color: #b0b0b0;
  margin-bottom: 3rem;
  font-weight: 300;
  line-height: 1.6;
}

.logoContainer {
  width: 200px;
  height: 200px;
  margin: 3rem auto;
  perspective: 1000px;
  position: relative;
}

.logoCube {
  width: 150px;
  height: 150px;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.1s ease-out;
  margin: 25px auto;
}

.cubeFace {
  position: absolute;
  width: 150px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, rgba(226, 99, 169, 0.1), rgba(226, 99, 169, 0.05));
  border: 1px solid rgba(226, 99, 169, 0.3);
  backdrop-filter: blur(10px);
}

.cubeFace img {
  width: 120px;
  height: 120px;
  filter: drop-shadow(0 0 20px rgba(226, 99, 169, 0.6));
}

.cubeFace:nth-child(1) {
  transform: rotateY(0deg) translateZ(75px);
}

.cubeFace:nth-child(2) {
  transform: rotateY(90deg) translateZ(75px);
}

.cubeFace:nth-child(3) {
  transform: rotateY(180deg) translateZ(75px);
}

.cubeFace:nth-child(4) {
  transform: rotateY(270deg) translateZ(75px);
}

.cubeFace:nth-child(5) {
  transform: rotateX(90deg) translateZ(75px);
}

.cubeFace:nth-child(6) {
  transform: rotateX(-90deg) translateZ(75px);
}

.logoGlow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 250px;
  height: 250px;
  background: radial-gradient(circle at center, rgba(226, 99, 169, 0.4), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  animation: pulseGlow 3s ease-in-out infinite;
}

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

.installSection {
  margin: 4rem 0;
}

.sectionTitle {
  font-size: 2rem;
  color: #fefefe;
  margin-bottom: 1.5rem;
}

.codeBlock {
  display: inline-flex;
  align-items: center;
  border: 3px solid #e263a9;
  border-radius: 12px;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, rgba(226, 99, 169, 0.1) 0%, rgba(0, 0, 0, 0.9) 100%);
  font-size: 1.25rem;
  font-weight: bold;
  font-family: 'Courier New', monospace;
  box-shadow: 0 4px 20px rgba(226, 99, 169, 0.3);
  transition: all 0.3s ease;
}

.codeBlock:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(226, 99, 169, 0.5);
  border-color: #ffd700;
}

.codePrefix {
  color: #777;
  margin-right: 0.5rem;
}

.codeText {
  color: #fefefe;
}

.featuresGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 4rem 0;
  padding: 0 2rem;
}

.featureCard {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(226, 99, 169, 0.3);
  border-radius: 16px;
  padding: 2rem;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  will-change: auto;
  transform: translateZ(0);
}

.featureCard::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #e263a9 0%, #ffd700 50%, #87ceeb 100%);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.featureCard:hover {
  border-color: rgba(226, 99, 169, 0.6);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
  box-shadow: 0 10px 40px rgba(226, 99, 169, 0.2);
}

.featureCard:hover::before {
  transform: scaleX(1);
}

.featureIcon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.featureTitle {
  font-size: 1.5rem;
  color: #e263a9;
  margin-bottom: 1rem;
}

.featureDescription {
  color: #b0b0b0;
  line-height: 1.6;
}

.ctaSection {
  margin-top: 4rem;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, rgba(226, 99, 169, 0.1) 0%, transparent 100%);
  border-radius: 20px;
}

.ctaButtons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.primaryButton {
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, #e263a9 0%, #c74b8f 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.primaryButton:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(226, 99, 169, 0.4);
  color: white;
}

.secondaryButton {
  padding: 1rem 2.5rem;
  background: transparent;
  color: #e263a9;
  border: 2px solid #e263a9;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.secondaryButton:hover {
  background: rgba(226, 99, 169, 0.1);
  transform: translateY(-2px);
  color: #e263a9;
}

@media screen and (max-width: 768px) {
  .heroTitle {
    font-size: 3rem;
  }
  
  .heroSubtitle {
    font-size: 1.2rem;
  }
  
  .featuresGrid {
    grid-template-columns: 1fr;
    padding: 0 1rem;
  }
  
  .codeBlock {
    font-size: 1rem;
    padding: 0.8rem 1.5rem;
  }
}