/* Industrial Automation Page Styles */

/* Hero Section */
.hero.service-hero {
  padding: 8rem 0 4rem;
  background: linear-gradient(135deg, #0f1422 0%, #121826 100%);
  position: relative;
  overflow: hidden;
}

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

.hero h1 {
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: #fff;
  font-weight: 700;
}

.hero-text {
  font-size: 1.25rem;
  color: #8b97b1;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.cta-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
  flex-wrap: wrap;
}

/* Benefits Grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 3rem 0;
}

.benefit-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border-color: rgba(139, 92, 246, 0.3);
}

.benefit-card h3 {
  color: #fff;
  margin-top: 0;
  margin-bottom: 1.25rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.benefit-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.benefit-card li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.75rem;
  color: #8b97b1;
  font-size: 0.95rem;
  line-height: 1.6;
}

.benefit-card li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 0.5em;
  height: 0.5em;
  border-radius: 50%;
  background: linear-gradient(135deg, #8b5cf6 0%, #2563eb 100%);
}

/* Process Steps */
.process-steps {
  max-width: 1000px;
  margin: 3rem auto 0;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.process-step {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto 3rem;
  padding: 2.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  transition: all 0.3s ease;
  text-align: center;
}

.process-step:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-color: rgba(139, 92, 246, 0.3);
}

.process-step:last-child {
  margin-bottom: 0;
}

.step-number {
  position: absolute;
  left: 50%;
  top: -1.5rem;
  transform: translateX(-50%);
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #8b5cf6 0%, #2563eb 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 2;
  border: 3px solid #0f1422;
}

.step-content {
  width: 100%;
}

.step-content h3 {
  margin: 0.5rem 0 1.25rem;
  color: #fff;
  font-size: 1.75rem;
  font-weight: 700;
  text-align: center;
}

.step-content p {
  color: #8b97b1;
  margin: 0 auto 1.5rem;
  line-height: 1.7;
  max-width: 700px;
  text-align: center;
  font-size: 1.1rem;
}

.step-content ul {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: inline-block;
  text-align: left;
  max-width: 600px;
  width: 100%;
}

.step-content li {
  position: relative;
  padding: 0.5rem 0 0.5rem 2rem;
  margin-bottom: 0.5rem;
  color: #8b97b1;
  font-size: 1.05rem;
  line-height: 1.6;
}

.step-content li:before {
  content: "•";
  position: absolute;
  left: 0.5rem;
  color: #8b5cf6;
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1;
}

@media (max-width: 768px) {
  .process-step {
    padding: 2rem 1.5rem;
    margin-bottom: 2.5rem;
  }
  
  .step-content h3 {
    font-size: 1.5rem;
  }
  
  .step-content p {
    font-size: 1rem;
  }
  
  .step-content li {
    font-size: 1rem;
    padding-left: 1.75rem;
  }
}

/* Industry Tabs */
.solutions-tabs {
  margin-top: 3rem;
}

.tab-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 1.25rem;
  justify-content: center;
  width: 100%;
}

.tab-button {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #8b97b1;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 1rem;
  font-weight: 500;
  min-width: 140px;
  text-align: center;
  white-space: nowrap;
}

.tab-button:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transform: translateY(-2px);
}

.tab-button.active {
  background: linear-gradient(135deg, #8b5cf6 0%, #2563eb 100%);
  color: white;
  border-color: transparent;
  font-weight: 600;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .tab-buttons {
    gap: 0.75rem;
    padding-bottom: 1rem;
  }
  
  .tab-button {
    min-width: 140px;
    padding: 0.7rem 1.25rem;
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .tab-button {
    min-width: 120px;
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
  }
}

.tab-content {
  display: none;
  animation: fadeIn 0.3s ease;
}

.tab-content.active {
  display: block;
}

.solution-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.solution-features h4 {
  color: #fff;
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.solution-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.solution-features li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  color: #8b97b1;
}

.solution-features li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #8b5cf6;
  font-weight: 700;
}

.solution-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.solution-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.solution-image:hover img {
  transform: scale(1.02);
}

/* Case Studies */
.case-studies {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.case-study {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-study:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border-color: rgba(139, 92, 246, 0.3);
}

.case-study h3 {
  margin: 0 0 0.5rem;
  color: #fff;
  font-size: 1.25rem;
}

.industry {
  display: inline-block;
  background: rgba(139, 92, 246, 0.1);
  color: #8b5cf6;
  font-size: 0.85rem;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  margin-bottom: 1.5rem;
}

.results {
  display: flex;
  gap: 1.5rem;
  margin: 1.5rem 0;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.result-number {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  color: #8b5cf6;
  line-height: 1.2;
  margin-bottom: 0.25rem;
}

.result-label {
  font-size: 0.85rem;
  color: #8b97b1;
}

.read-more {
  display: inline-flex;
  align-items: center;
  color: #8b5cf6;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.read-more:hover {
  color: #a78bfa;
}

.read-more:after {
  content: "→";
  margin-left: 0.5rem;
  transition: transform 0.2s ease;
}

.read-more:hover:after {
  transform: translateX(3px);
}

/* CTA Section */
.cta-section {
  text-align: center;
  padding: 4rem 2rem;
  background: linear-gradient(135deg, #0f1422 0%, #121826 100%);
  border-radius: 16px;
  margin: 4rem 0;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.cta-section h2 {
  font-size: 2rem;
  margin: 0 0 1rem;
  color: #fff;
}

.cta-section p {
  color: #8b97b1;
  max-width: 600px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
  line-height: 1.7;
}

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

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .solution-details {
    grid-template-columns: 1fr;
  }
  
  .solution-image {
    max-width: 600px;
    margin: 2rem auto 0;
  }
}

@media (max-width: 768px) {
  .hero.service-hero {
    padding: 6rem 0 3rem;
  }
  
  .hero h1 {
    font-size: 2.25rem;
  }
  
  .hero-text {
    font-size: 1.1rem;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  
  .process-step {
    padding-left: 2.5rem;
  }
  
  .step-number {
    left: -0.75rem;
    width: 2rem;
    height: 2rem;
    font-size: 1rem;
  }
  
  .cta-section {
    padding: 3rem 1.5rem;
    margin: 3rem 0;
  }
  
  .cta-section h2 {
    font-size: 1.75rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
  
  .cta-buttons .btn {
    width: 100%;
  }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
