.hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 20px;
}

.parallax-layer {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--surface), var(--background));
  opacity: 0.8;
}

/* Animated background pattern */
.hero-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 30% 20%, rgba(187, 134, 252, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(3, 218, 198, 0.1) 0%, transparent 50%);
  animation: pulseBackground 10s ease-in-out infinite;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeIn 1s ease-out forwards;
  animation-delay: 1.2s;
}

.hero-buttons .cta-button {
  width: 200px !important;
  text-align: center;
  flex: 0 0 auto;
  padding: 1rem 1.5rem !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}

@keyframes pulseBackground {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease-out forwards;
  animation-delay: 0.5s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero h1 {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}

/* Glowing effect behind the title */
.hero h1::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: blur(15px);
  opacity: 0.5;
  animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.5; filter: blur(15px); }
  50% { opacity: 0.8; filter: blur(20px); }
}

.hero p {
  font-size: 1.25rem;
  max-width: 850px;
  margin: 0 auto 2rem;
  color: var(--text-secondary);
  opacity: 0;
  animation: fadeIn 1s ease-out forwards;
  animation-delay: 1s;
  line-height: 1.6;
  white-space: nowrap; /* Add this for first line */
}

.hero p br {
  display: block;
  content: "";
  margin-top: 0.5rem;
}

.hero p::first-line {
  white-space: nowrap;
}

@keyframes fadeIn {
  to { opacity: 1; }
}

/* Floating particles effect */
.hero::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 50% 50%, var(--primary) 1px, transparent 1px),
    radial-gradient(circle at 50% 50%, var(--secondary) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: 0 0, 20px 20px;
  animation: particleFloat 20s linear infinite;
  opacity: 0.1;
}

@keyframes particleFloat {
  from { transform: translateY(0); }
  to { transform: translateY(-40px); }
}

@media (max-width: 850px) {
  .hero h1 {
    font-size: 3rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
}