/* Enhanced styles for the updated website */

/* Hero section improvements */
.hero-band {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1rem;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 50%, var(--primary-light) 100%);
  position: relative;
  overflow: hidden;
}

.hero-band::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.hero-subtitle {
  font-family: 'Gilroy-Bold', sans-serif;
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  color: rgba(255, 255, 255, 0.95);
  margin-top: 1.5rem;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 500;
  line-height: 1.5;
}

/* Features Section */
.features-section {
  padding: 6rem 1rem;
  background: linear-gradient(180deg, var(--cream-bg) 0%, #f8fafc 100%);
  position: relative;
}

.section-title {
  text-align: center;
  font-family: 'Chunko Bold', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4rem;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-orange) 0%, var(--accent-pink) 100%);
  border-radius: 2px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  text-align: center;
  padding: 3rem 2rem;
  border-radius: 20px;
  background: var(--card-bg);
  box-shadow: var(--shadow-soft);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(104, 140, 234, 0.1);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-orange) 50%, var(--accent-pink) 100%);
  border-radius: 20px 20px 0 0;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-strong);
  border-color: var(--primary-color);
}

.feature-card:nth-child(2) {
  transform: translateY(-20px);
}

.feature-card:nth-child(2):hover {
  transform: translateY(-28px);
}

.feature-icon {
  margin: 0 auto 2rem;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  border-radius: 20px;
  color: white;
  box-shadow: var(--shadow-medium);
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
  box-shadow: 0 12px 30px rgba(104, 140, 234, 0.3);
}

.feature-card h3 {
  font-family: 'Gilroy-Bold', sans-serif;
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.feature-card p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-light);
  font-weight: 500;
}

/* Download Section */
.download-section {
  padding: 6rem 1rem;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.download-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: float 20s ease-in-out infinite;
  opacity: 0.3;
}

.download-section .section-title {
  color: white;
  -webkit-text-fill-color: white;
  margin-bottom: 1.5rem;
}

.download-section .section-title::after {
  background: linear-gradient(90deg, var(--accent-orange) 0%, var(--accent-pink) 100%);
}

.download-subtitle {
  font-size: 1.3rem;
  margin-bottom: 3rem;
  opacity: 0.95;
  font-weight: 500;
}

.app-buttons {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.store-button {
  display: inline-block;
  width: 200px;
  height: 65px;
  background: rgba(0, 0, 0, 0.9);
  border-radius: 16px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-medium);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.store-button:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Enhanced visual elements */
.gradient-text {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.accent-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--accent-orange);
  border-radius: 50%;
  margin: 0 8px;
  animation: pulse 2s ease-in-out infinite;
}

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

/* Improved interactions */
.interactive-element {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.interactive-element:hover {
  transform: translateY(-2px);
}

/* Card hover effects */
.card-stack {
  position: relative;
}

.card-stack::before,
.card-stack::after {
  content: '';
  position: absolute;
  top: 4px;
  left: 4px;
  right: 4px;
  bottom: 4px;
  background: var(--card-bg);
  border-radius: 16px;
  z-index: -1;
  opacity: 0.7;
  transition: all 0.3s ease;
}

.card-stack::after {
  top: 8px;
  left: 8px;
  right: 8px;
  bottom: 8px;
  opacity: 0.4;
}

.card-stack:hover::before,
.card-stack:hover::after {
  opacity: 0;
  transform: translateY(4px);
}

/* Media queries for responsive design */
@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    gap: 2rem;
  }
  
  .feature-card:nth-child(2) {
    transform: translateY(0);
  }
  
  .feature-card:nth-child(2):hover {
    transform: translateY(-8px);
  }
  
  .download-section {
    padding: 4rem 1rem;
  }
  
  .store-button {
    width: 180px;
    height: 60px;
  }
  
  .app-buttons {
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .feature-card {
    padding: 2rem 1.5rem;
  }
  
  .feature-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 1.5rem;
  }
  
  .feature-icon svg {
    width: 40px;
    height: 40px;
  }
  
  .download-subtitle {
    font-size: 1.1rem;
  }
  
  .store-button {
    width: 160px;
    height: 55px;
  }
  
  .features-section {
    padding: 4rem 1rem;
  }
}