/* WandaConnect Home Page Styles */

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--primary-white);
  padding: var(--space-4xl) 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.5;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  font-size: var(--text-5xl);
  font-weight: 700;
  color: var(--primary-white);
  margin-bottom: var(--space-lg);
  line-height: 1.2;
}

.hero .subtitle {
  font-size: var(--text-2xl);
  color: var(--deep-red);
  font-weight: 600;
  margin-bottom: var(--space-md);
}

.hero .description {
  font-size: var(--text-lg);
  color: var(--gray-300);
  margin-bottom: var(--space-3xl);
  line-height: 1.6;
}

/* Hero Search */
.hero-search {
  background: var(--primary-white);
  border-radius: var(--radius-xl);
  padding: var(--space-md);
  box-shadow: var(--shadow-2xl);
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-3xl);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-search input {
  flex: 1;
  padding: var(--space-md);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  font-size: var(--text-base);
}

.hero-search input:focus {
  outline: none;
  border-color: var(--deep-red);
}

.hero-search .btn {
  flex-shrink: 0;
}

/* Trust Indicators */
.trust-indicators {
  display: flex;
  justify-content: center;
  gap: var(--space-3xl);
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--gray-300);
  font-size: var(--text-sm);
}

.trust-item svg {
  color: var(--deep-red);
  flex-shrink: 0;
}

/* Section Styles */
.section {
  padding: var(--space-4xl) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-header h2 {
  font-size: var(--text-4xl);
  color: var(--navy);
  margin-bottom: var(--space-md);
}

.section-header p {
  font-size: var(--text-lg);
  color: var(--gray-600);
}

/* Categories Grid */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
}

.category-card {
  background: var(--primary-white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  text-align: center;
  transition: all var(--transition-normal);
  cursor: pointer;
}

.category-card:hover {
  border-color: var(--deep-red);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.category-icon {
  width: 70px;
  height: 70px;
  background: var(--deep-red);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  font-size: var(--text-3xl);
  color: var(--primary-white);
}

.category-card h3 {
  font-size: var(--text-xl);
  color: var(--navy);
  margin-bottom: var(--space-sm);
}

.category-card p {
  color: var(--gray-600);
  font-size: var(--text-sm);
  margin-bottom: var(--space-md);
}

.service-count {
  color: var(--deep-red);
  font-weight: 600;
  font-size: var(--text-sm);
}

/* Steps Grid */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-xl);
}

.step-card {
  background: var(--primary-white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  text-align: center;
  transition: all var(--transition-normal);
  position: relative;
}

.step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--deep-red);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.step-card:hover::before {
  opacity: 1;
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--deep-red);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--primary-white);
}

.step-card h3 {
  font-size: var(--text-xl);
  color: var(--navy);
  margin-bottom: var(--space-md);
}

.step-card p {
  color: var(--gray-600);
  line-height: 1.6;
}

/* Freelancers Grid */
.freelancers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
}

.freelancer-card {
  background: var(--primary-white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  text-align: center;
  transition: all var(--transition-normal);
  cursor: pointer;
}

.freelancer-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.freelancer-avatar {
  width: 100px;
  height: 100px;
  border-radius: var(--radius-full);
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  font-size: var(--text-3xl);
  color: var(--primary-white);
  font-weight: 700;
  border: 4px solid var(--gray-100);
}

.freelancer-avatar img {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-full);
  object-fit: cover;
}

.freelancer-name {
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--navy);
  margin-bottom: var(--space-xs);
}

.freelancer-title {
  color: var(--gray-600);
  font-size: var(--text-base);
  margin-bottom: var(--space-md);
}

.freelancer-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
  color: #F59E0B;
  font-weight: 600;
}

.freelancer-skills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  justify-content: center;
  margin-bottom: var(--space-md);
}

.skill-tag {
  background: var(--gray-100);
  color: var(--navy);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-md);
  font-size: var(--text-xs);
  font-weight: 500;
}

.freelancer-rate {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--deep-red);
}

/* Stats Section */
.stats-section {
  background: var(--navy);
  color: var(--primary-white);
  padding: var(--space-4xl) 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-3xl);
  text-align: center;
}

.stat-item h3 {
  font-size: var(--text-5xl);
  font-weight: 700;
  color: var(--deep-red);
  margin-bottom: var(--space-sm);
}

.stat-item p {
  font-size: var(--text-lg);
  color: var(--gray-300);
}

/* Testimonials Grid */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-xl);
}

.testimonial-card {
  background: var(--primary-white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  transition: all var(--transition-normal);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-white);
  font-size: var(--text-xl);
  font-weight: 700;
  flex-shrink: 0;
}

.testimonial-info h4 {
  font-size: var(--text-lg);
  color: var(--navy);
  margin-bottom: var(--space-xs);
}

.testimonial-info p {
  color: var(--gray-600);
  font-size: var(--text-sm);
  margin: 0;
}

.testimonial-content {
  color: var(--gray-700);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: var(--space-md);
}

.testimonial-rating {
  color: #F59E0B;
  font-size: var(--text-lg);
}

/* Payment Section */
.payment-section {
  background: var(--deep-red);
  color: var(--primary-white);
  padding: var(--space-4xl) 0;
  text-align: center;
}

.payment-section h2 {
  color: var(--primary-white);
  margin-bottom: var(--space-md);
}

.payment-section p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-3xl);
  font-size: var(--text-lg);
}

.payment-methods {
  display: flex;
  justify-content: center;
  gap: var(--space-xl);
  flex-wrap: wrap;
}

.payment-method {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: var(--space-2xl);
  border-radius: var(--radius-xl);
  border: 2px solid rgba(255, 255, 255, 0.2);
  min-width: 250px;
  transition: all var(--transition-normal);
}

.payment-method:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-5px);
}

.payment-method h4 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-sm);
  color: var(--primary-white);
}

.payment-method p {
  font-size: var(--text-base);
  margin: 0;
}

/* CTA Section */
.cta-section {
  background: var(--navy);
  color: var(--primary-white);
  padding: var(--space-4xl) 0;
  text-align: center;
}

.cta-section h2 {
  font-size: var(--text-4xl);
  color: var(--primary-white);
  margin-bottom: var(--space-md);
}

.cta-section p {
  font-size: var(--text-xl);
  color: var(--gray-300);
  margin-bottom: var(--space-3xl);
}

.cta-actions {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero {
    padding: var(--space-3xl) 0;
  }
  
  .hero h1 {
    font-size: var(--text-3xl);
  }
  
  .hero .subtitle {
    font-size: var(--text-xl);
  }
  
  .hero-search {
    flex-direction: column;
  }
  
  .trust-indicators {
    flex-direction: column;
    gap: var(--space-md);
  }
  
  .categories-grid,
  .freelancers-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .section-header h2 {
    font-size: var(--text-3xl);
  }
  
  .cta-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-actions .btn {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: var(--text-2xl);
  }
  
  .stat-item h3 {
    font-size: var(--text-4xl);
  }
  
  .freelancer-avatar {
    width: 80px;
    height: 80px;
    font-size: var(--text-2xl);
  }
}
