/* ============================================
   ENTERPRISE SERVICES EXTENSIONS
   B2B-specific sections extending existing design system
   ============================================ */

/* Section Light Background */
.section-light {
  background: var(--grey-50, #f9fafb);
}

/* Section Headers for Enterprise Pages */
.challenge-solution-section .section-header,
.services-section .section-header,
.process-timeline .section-header,
.tech-stack-section .section-header,
.use-cases-section .section-header,
.faq-section .section-header {
  max-width: 800px;
  margin: 0 auto 80px;
  text-align: center;
}

.challenge-solution-section .section-overline,
.services-section .section-overline,
.process-timeline .section-overline,
.tech-stack-section .section-overline,
.use-cases-section .section-overline,
.faq-section .section-overline {
  font-size: 13px;
  font-weight: 600;
  color: var(--grey-600);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 16px;
}

.challenge-solution-section .section-title,
.services-section .section-title,
.process-timeline .section-title,
.tech-stack-section .section-title,
.use-cases-section .section-title,
.faq-section .section-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  color: var(--grey-900);
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.challenge-solution-section .section-subtitle,
.services-section .section-subtitle,
.process-timeline .section-subtitle,
.tech-stack-section .section-subtitle,
.use-cases-section .section-subtitle,
.faq-section .section-subtitle {
  font-size: clamp(16px, 2.5vw, 20px);
  color: var(--grey-600);
  line-height: 1.7;
}

/* Container for enterprise sections */
.challenge-solution-section .services-container,
.process-timeline .services-container,
.tech-stack-section .services-container,
.use-cases-section .services-container,
.faq-section .services-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Challenge/Solution Section */
.challenge-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 80px;
}

.challenge-card,
.solution-card {
  padding: 48px;
  border-radius: 16px;
  border: 1px solid var(--grey-200);
  background: var(--white);
}

.challenge-card {
  border-left: 4px solid #ef4444;
}

.solution-card {
  border-left: 4px solid #10b981;
}

.challenge-title,
.solution-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--grey-900);
  margin-bottom: 32px;
  letter-spacing: -0.02em;
}

.challenge-list,
.solution-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.challenge-list li,
.solution-list li {
  padding: 16px 0;
  padding-left: 40px;
  position: relative;
  color: var(--grey-700);
  line-height: 1.7;
  font-size: 16px;
}

.challenge-list li:before {
  content: "×";
  position: absolute;
  left: 0;
  font-size: 24px;
  color: #ef4444;
  font-weight: 700;
}

.solution-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  font-size: 20px;
  color: #10b981;
  font-weight: 700;
}

/* Service Offerings Grid */
.offerings-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 80px;
}

.offering-card {
  padding: 48px;
  background: var(--white);
  border-radius: 16px;
  border: 1px solid var(--grey-200);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.offering-card:hover {
  transform: translateY(-4px);
  border-color: var(--grey-300);
  box-shadow: 0 16px 48px rgba(23, 23, 23, 0.1);
}

.offering-icon {
  font-size: 48px;
  margin-bottom: 24px;
  display: block;
}

.offering-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--grey-900);
  letter-spacing: -0.02em;
}

.offering-description {
  color: var(--grey-600);
  line-height: 1.7;
  margin-bottom: 16px;
  font-size: 16px;
}

.offering-tech {
  font-size: 13px;
  color: var(--grey-500);
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Process Timeline */
.process-timeline {
  padding: 120px 24px;
  background: var(--white);
}

.tech-stack-section {
  padding: 120px 24px;
  background: var(--grey-50, #f9fafb);
}

.use-cases-section {
  padding: 120px 24px;
  background: var(--white);
}

.faq-section {
  padding: 120px 24px;
  background: var(--grey-50, #f9fafb);
}

.timeline-container {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  margin-top: 80px;
  position: relative;
}

.timeline-step {
  text-align: center;
  position: relative;
}

.timeline-icon-wrapper {
  width: 96px;
  height: 96px;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, var(--grey-900) 0%, var(--grey-700) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 8px 24px rgba(23, 23, 23, 0.12);
}

.timeline-icon {
  font-size: 40px;
}

.timeline-step-number {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 32px;
  height: 32px;
  background: var(--white);
  color: var(--grey-900);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  border: 2px solid var(--grey-900);
}

.timeline-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--grey-900);
  letter-spacing: -0.02em;
}

.timeline-description {
  font-size: 14px;
  color: var(--grey-600);
  line-height: 1.6;
}

/* Tech Stack Grid */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 16px;
  margin-top: 80px;
}

.tech-item {
  padding: 32px;
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--grey-200);
  text-align: center;
  transition: all 0.3s ease;
}

.tech-item:hover {
  transform: translateY(-2px);
  border-color: var(--grey-300);
  box-shadow: 0 8px 16px rgba(23, 23, 23, 0.08);
}

.tech-icon {
  font-size: 32px;
  margin-bottom: 12px;
  display: block;
}

.tech-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--grey-700);
}

/* Use Cases Grid */
.use-case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 80px;
}

.use-case-card {
  padding: 40px;
  background: var(--white);
  border-radius: 16px;
  border: 1px solid var(--grey-200);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.use-case-card:hover {
  transform: translateY(-4px);
  border-color: var(--grey-300);
  box-shadow: 0 16px 48px rgba(23, 23, 23, 0.1);
}

.use-case-icon {
  font-size: 48px;
  margin-bottom: 16px;
  display: block;
}

.use-case-industry {
  display: inline-block;
  padding: 6px 12px;
  background: var(--grey-100);
  color: var(--grey-700);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.use-case-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--grey-900);
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.use-case-description {
  color: var(--grey-600);
  line-height: 1.7;
  margin-bottom: 16px;
  font-size: 15px;
}

.use-case-result {
  padding-top: 16px;
  border-top: 1px solid var(--grey-200);
  font-size: 14px;
  color: #10b981;
  font-weight: 600;
}

/* FAQ Section */
.faq-list {
  max-width: 900px;
  margin: 80px auto 0;
}

.faq-item {
  background: var(--white);
  border-radius: 12px;
  padding: 40px;
  margin-bottom: 16px;
  border: 1px solid var(--grey-200);
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: var(--grey-300);
  box-shadow: 0 8px 16px rgba(23, 23, 23, 0.06);
}

.faq-question {
  font-size: 18px;
  font-weight: 700;
  color: var(--grey-900);
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  letter-spacing: -0.02em;
}

.faq-question:before {
  content: "Q";
  color: var(--grey-900);
  font-weight: 700;
  margin-right: 16px;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: var(--grey-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.faq-answer {
  color: var(--grey-600);
  line-height: 1.7;
  padding-left: 48px;
  font-size: 16px;
}

/* Enterprise CTA - Uses same styling as .cta-final */
/* Just add wrapper for proper spacing */
.cta-enterprise {
  padding: 120px 24px;
  background: var(--white);
}

.cta-enterprise .cta-content {
  text-align: center;
}

.cta-enterprise .cta-label {
  display: inline-block;
}

.cta-enterprise .cta-title {
  text-align: center;
}

.cta-enterprise .cta-subtitle {
  text-align: center;
}

/* Business features grid variant */
.cta-features-business {
  display: flex;
  gap: 40px;
  justify-content: center;
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid #E5E5E5;
  flex-wrap: wrap;
}

.cta-features-business .cta-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #737373;
  font-size: 15px;
}

.cta-features-business .cta-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 107, 74, 0.08);
  border: 1px solid rgba(255, 107, 74, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.cta-features-business .cta-feature-text {
  text-align: left;
}

.cta-features-business .cta-feature-label {
  font-weight: 600;
  color: #171717;
  margin-bottom: 4px;
}

.cta-features-business .cta-feature-value {
  font-size: 13px;
  color: #737373;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .challenge-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .offerings-grid {
    grid-template-columns: 1fr;
  }

  .timeline-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .use-case-grid {
    grid-template-columns: 1fr;
  }

  .cta-features-business {
    gap: 24px;
  }
}

@media (max-width: 640px) {
  .cta-features-business {
    flex-direction: column;
    gap: 20px;
  }

  .cta-features-business .cta-feature {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .challenge-card,
  .solution-card,
  .offering-card,
  .use-case-card {
    padding: 32px;
  }

  .faq-item {
    padding: 24px;
  }

  .tech-grid {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  }
}
