/* Services Pages Modern Styles */

/* Hero Section */
.services-hero {
  padding-top: var(--space-20);
  padding-bottom: var(--space-16);
  background: var(--color-bg-secondary);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.services-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(9, 105, 218, 0.03) 0%, 
    rgba(124, 58, 237, 0.02) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.services-hero h1 {
  font-size: var(--text-5xl);
  font-weight: 700;
  margin-bottom: var(--space-6);
  line-height: 1.1;
  color: var(--color-text-primary);
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: var(--text-xl);
  color: var(--color-text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Overview Section */
.overview-section {
  padding: var(--space-24) 0;
  background: var(--color-bg-primary);
}

.overview-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}

.overview-text h2 {
  font-size: var(--text-3xl);
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: var(--space-6);
}

.overview-text p {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-4);
}

.overview-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.overview-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Features Grid */
.features-section {
  padding: var(--space-24) 0;
  background: var(--color-bg-secondary);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-16);
}

.section-header h2 {
  font-size: var(--text-4xl);
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: var(--space-4);
}

.section-header p {
  font-size: var(--text-xl);
  color: var(--color-text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-8);
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border-light);
  transition: all 0.3s ease;
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-6);
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent-purple) 100%);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-3xl);
  color: white;
}

.feature-card h3 {
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: var(--space-3);
}

.feature-card p {
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* Modules Section */
.modules-section {
  padding: var(--space-24) 0;
  background: var(--color-bg-primary);
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-8);
  max-width: 1200px;
  margin: 0 auto;
}

.module-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border-light);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.module-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.module-header {
  padding: var(--space-8);
  background: linear-gradient(135deg, #f8faff 0%, #fff5f7 100%);
  border-bottom: 1px solid var(--color-border-light);
}

.module-header h3 {
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: var(--space-2);
}

.module-header p {
  color: var(--color-text-secondary);
  font-size: var(--text-sm);
}

.module-content {
  padding: var(--space-8);
  flex-grow: 1;
}

.module-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.module-features li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
  color: var(--color-text-secondary);
}

.module-features li i {
  color: var(--color-primary);
  margin-top: 4px;
  flex-shrink: 0;
}

/* Benefits Section */
.benefits-section {
  padding: var(--space-24) 0;
  background: linear-gradient(135deg, #f8faff 0%, #fff5f7 100%);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-8);
  max-width: 1000px;
  margin: 0 auto;
}

.benefit-item {
  text-align: center;
}

.benefit-number {
  font-size: var(--text-5xl);
  font-weight: 700;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-2);
}

.benefit-label {
  font-size: var(--text-lg);
  color: var(--color-text-primary);
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.benefit-description {
  color: var(--color-text-secondary);
  font-size: var(--text-sm);
}

/* Process Section */
.process-section {
  padding: var(--space-24) 0;
  background: var(--color-bg-secondary);
}

.process-timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.process-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--color-border);
  transform: translateX(-50%);
}

.process-step {
  display: flex;
  align-items: center;
  margin-bottom: var(--space-12);
  position: relative;
}

.process-step:nth-child(even) {
  flex-direction: row-reverse;
}

.step-content {
  flex: 1;
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-md);
  margin: 0 var(--space-8);
}

.step-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent-purple) 100%);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: var(--text-2xl);
  font-weight: 700;
  position: relative;
  z-index: 2;
}

.step-content h3 {
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: var(--space-2);
}

.step-content p {
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* CTA Section */
.services-cta {
  padding: var(--space-20) 0;
  background: var(--color-bg-primary);
  text-align: center;
}

.cta-content {
  max-width: 600px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: var(--text-3xl);
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: var(--space-4);
}

.cta-content p {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-8);
}

.cta-buttons {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .overview-content {
    grid-template-columns: 1fr;
  }
  
  .process-timeline::before {
    left: 30px;
  }
  
  .process-step,
  .process-step:nth-child(even) {
    flex-direction: row;
  }
  
  .step-content {
    margin-left: var(--space-12);
    margin-right: 0;
  }
}

@media (max-width: 768px) {
  .services-hero h1 {
    font-size: var(--text-4xl);
  }
  
  .hero-subtitle {
    font-size: var(--text-lg);
  }
  
  .features-grid,
  .modules-grid {
    grid-template-columns: 1fr;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}

/* Animations */
.hero-content > * {
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
}

.services-hero h1 {
  animation-delay: 0.2s;
}

.hero-subtitle {
  animation-delay: 0.4s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
