/* Enhanced Landing Page Styles */

/* Hero Badge */
.hero-badge {
  display: inline-block;
  animation: fadeInUp 0.8s ease-out;
}

.badge-text {
  background: #000000;
  color: white;
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.badge-text::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  animation: badge-shine 3s ease-in-out infinite;
}

@keyframes badge-shine {
  0% { left: -100%; }
  50% { left: 100%; }
  100% { left: 100%; }
}

/* Hero CTA Buttons */
.hero-cta-primary {
  background: #000000 !important;
  border: none !important;
  color: white !important;
  font-weight: 600 !important;
  padding: 1rem 2.5rem !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3) !important;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

.hero-cta-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
}

.hero-cta-primary:hover {
  transform: translateY(-3px) scale(1.05) !important;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4) !important;
  background: #333333 !important;
}

.hero-cta-primary:hover::before {
  left: 100%;
}

.hero-cta-secondary {
  border: 2px solid rgba(255, 255, 255, 0.8) !important;
  color: var(--dark) !important;
  background: rgba(255, 255, 255, 0.95) !important;
  font-weight: 600 !important;
  padding: 1rem 2.5rem !important;
  backdrop-filter: blur(10px);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

.hero-cta-secondary:hover {
  transform: translateY(-3px) scale(1.05) !important;
  background: white !important;
  border-color: #000000 !important;
  color: #000000 !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
}

.highlight-text {
  color: #000000;
  font-weight: 700;
  position: relative;
  display: inline-block;
}

.highlight-text::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 3px;
  background: #000000;
  border-radius: 2px;
  animation: underline-grow 2s ease-out 1s both;
}

@keyframes glow-pulse {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.2) drop-shadow(0 0 10px rgba(102, 126, 234, 0.3)); }
}

@keyframes underline-grow {
  from { width: 0; }
  to { width: 100%; }
}

/* Values Section */
.values-section {
  background: #f8f9fa;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.value-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
  transition: left 0.6s ease;
}

.value-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(102, 126, 234, 0.2);
}

.value-card:hover::before {
  left: 100%;
}

.value-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
  transition: transform 0.3s ease;
}

.value-card:hover .value-icon {
  transform: scale(1.1) rotate(5deg);
}

.value-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.value-desc {
  font-size: 0.875rem;
  color: var(--text-light);
  font-weight: 400;
}

/* Community Posts */
.community-post {
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.community-post:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}

.post-content {
  color: var(--text);
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

.post-meta {
  border-top: 1px solid var(--border-light);
  padding-top: 0.5rem;
}

/* Testimonials Section */
.testimonials-section {
  background: white;
}

.testimonial-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.testimonial-card:hover::before {
  transform: scaleX(1);
}

.testimonial-content {
  margin-bottom: 1.5rem;
}

.testimonial-content p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  font-style: italic;
  position: relative;
}

.testimonial-content p::before {
  content: '"';
  font-size: 3rem;
  color: var(--border);
  position: absolute;
  top: -10px;
  left: -20px;
  font-family: serif;
}

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

.author-info h5 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  color: var(--dark);
}

.author-info span {
  font-size: 0.875rem;
  color: var(--text-light);
}

/* Enhanced CTA Section */
.cta-section {
  background: linear-gradient(135deg, #000000 0%, #333333 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 300;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.cta-subtitle {
  font-size: 1.125rem;
  opacity: 0.9;
  margin-bottom: 2.5rem;
  font-weight: 400;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-buttons .btn {
  padding: 1rem 2rem;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.cta-buttons .btn-primary {
  background: white;
  color: var(--dark);
  border: 1px solid white;
}

.cta-buttons .btn-primary:hover {
  background: var(--border-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.cta-buttons .btn-outline-light {
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: white;
  background: transparent;
}

.cta-buttons .btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
  transform: translateY(-2px);
}

/* Animation for counting numbers */
@keyframes countUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.stat-number.animate {
  animation: countUp 0.8s ease-out;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .hero-badge {
    text-align: center;
    margin-bottom: 1rem;
  }
  
  .badge-text {
    font-size: 0.8rem;
    padding: 6px 16px;
  }
  
  .stat-number {
    font-size: 2.5rem;
  }
  
  .testimonial-card {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .testimonial-content p::before {
    font-size: 2rem;
    top: -5px;
    left: -15px;
  }
  
  .cta-title {
    font-size: 2rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-buttons .btn {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .stat-card {
    padding: 1.5rem 0.75rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .testimonial-card {
    padding: 1rem;
  }
  
  .cta-title {
    font-size: 1.75rem;
  }
  
  .cta-subtitle {
    font-size: 1rem;
  }
}