/* Web App Development Page Styles */

/* Hero Section */
.hero-web-app {
  background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-primary) 100%);
  color: #fff;
  padding: var(--space-16) 0 var(--space-12) 0;
  position: relative;
  overflow: hidden;
}

.hero-web-app .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: var(--space-8);
  flex-wrap: wrap;
}

.hero-content {
  flex: 1;
  min-width: 320px;
}

.hero-content h1 {
  font-size: var(--font-size-5xl);
  font-weight: 700;
  margin-bottom: var(--space-4);
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hero-subtitle {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-6);
  opacity: 0.95;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.hero-cta {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.hero-visual {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
}

.hero-image {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-2xl);
}

/* Decorative Blobs */
.decorative-blob {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  opacity: 0.1;
  border-radius: 50%;
}

.blob-1 {
  width: 400px;
  height: 400px;
  background: var(--color-accent);
  top: -200px;
  left: -200px;
  filter: blur(80px);
}

.blob-2 {
  width: 300px;
  height: 300px;
  background: var(--color-primary);
  bottom: -150px;
  right: -150px;
  filter: blur(60px);
}

.blob-3 {
  width: 350px;
  height: 350px;
  background: var(--color-accent);
  top: 50%;
  right: -175px;
  transform: translateY(-50%);
  filter: blur(100px);
}

/* Features Section */
.features-section {
  background: var(--color-neutral-50);
  padding: var(--space-16) 0;
}

.section-title {
  text-align: center;
  font-size: var(--font-size-4xl);
  font-weight: 700;
  margin-bottom: var(--space-12);
  color: var(--color-text);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-8);
}

.feature-card {
  background: #fff;
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--duration-normal) var(--ease-out), 
              box-shadow var(--duration-normal) var(--ease-out);
}

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

.feature-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-4) auto;
  color: #fff;
}

.feature-card h3 {
  font-size: var(--font-size-xl);
  font-weight: 600;
  margin-bottom: var(--space-3);
  color: var(--color-text);
}

.feature-card p {
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Process Section */
.process-section {
  background: var(--color-secondary);
  color: #fff;
  padding: var(--space-16) 0;
  position: relative;
}

.section-subtitle {
  text-align: center;
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-12);
  opacity: 0.9;
}

.process-timeline {
  max-width: 800px;
  margin: 0 auto;
}

.timeline-item {
  display: flex;
  gap: var(--space-6);
  margin-bottom: var(--space-10);
  align-items: flex-start;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-number {
  width: 60px;
  height: 60px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-xl);
  font-weight: 700;
  flex-shrink: 0;
  color: #fff;
}

.timeline-content h3 {
  font-size: var(--font-size-xl);
  font-weight: 600;
  margin-bottom: var(--space-3);
}

.timeline-content p {
  opacity: 0.9;
  line-height: 1.6;
}

/* Portfolio Section */
.portfolio-section {
  background: var(--color-neutral-50);
  padding: var(--space-16) 0;
  position: relative;
  overflow: hidden;
}

.portfolio-content {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  flex-wrap: wrap;
}

.portfolio-text {
  flex: 1;
  min-width: 320px;
}

.portfolio-text h2 {
  font-size: var(--font-size-4xl);
  font-weight: 700;
  margin-bottom: var(--space-4);
  color: var(--color-text);
}

.portfolio-text p {
  font-size: var(--font-size-lg);
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
  line-height: 1.6;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-bottom: var(--space-6);
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: var(--font-size-4xl);
  font-weight: 700;
  color: var(--color-primary);
  display: block;
}

.stat-label {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.portfolio-visual {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
}

.portfolio-image {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* FAQ Section */
.faq-section {
  background: #fff;
  padding: var(--space-16) 0;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-8);
}

.faq-item {
  background: var(--color-neutral-50);
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--color-primary);
}

.faq-item h3 {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: var(--space-3);
  color: var(--color-text);
}

.faq-item p {
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  color: #fff;
  padding: var(--space-16) 0;
  text-align: center;
}

.cta-content h2 {
  font-size: var(--font-size-4xl);
  font-weight: 700;
  margin-bottom: var(--space-4);
}

.cta-content p {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-6);
  opacity: 0.95;
}

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

/* Mobile Responsive */
@media (max-width: 768px) {
  .hero-web-app .container {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-content h1 {
    font-size: var(--font-size-4xl);
  }
  
  .hero-subtitle {
    font-size: var(--font-size-lg);
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .portfolio-content {
    flex-direction: column;
    text-align: center;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  
  .timeline-item {
    flex-direction: column;
    text-align: center;
  }
  
  .timeline-number {
    margin: 0 auto var(--space-4) auto;
  }
  
  .cta-actions {
    flex-direction: column;
    align-items: center;
  }
}