/* Page-specific styles for secondary pages */

/* Icon Box - Reusable green gradient icon style */
.icon-box {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.icon-box svg {
  width: 32px;
  height: 32px;
  color: white;
  stroke: white;
}

.icon-box--small {
  width: 56px;
  height: 56px;
  border-radius: 12px;
}

.icon-box--small svg {
  width: 28px;
  height: 28px;
}

/* Page Hero */
.page-hero {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, var(--primary) 0%, #1f2937 100%);
  color: white;
  text-align: center;
}

.page-hero .section-tag {
  background: rgba(255, 255, 255, 0.15);
  color: white;
}

.page-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.15;
  color: white;
}

.page-subtitle {
  font-size: 1.25rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
  color: white;
}

/* Steps Section */
.steps-section {
  padding: 80px 0;
  background: var(--background);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.step-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  position: relative;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.step-number {
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--primary);
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
}

.step-icon {
  width: 48px;
  height: 48px;
  background: var(--background);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.step-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--primary);
}

.step-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--primary);
}

.step-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 0.9375rem;
}

/* Centered Step Cards (for driver pages) */
.steps-centered .step-card {
  background: transparent;
  border: none;
  box-shadow: none;
  text-align: center;
  padding: 1.5rem;
}

.steps-centered .step-card:hover {
  transform: none;
  box-shadow: none;
}

.steps-centered .step-number {
  position: static;
  width: 48px;
  height: 48px;
  font-size: 1.25rem;
  margin: 0 auto 1.5rem;
}

.steps-centered .step-card h3 {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.steps-centered .step-card p {
  font-size: 0.95rem;
}

/* Features Highlight */
.features-highlight {
  padding: 80px 0;
  background: white;
}

.features-highlight .section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.highlight-card {
  text-align: center;
  padding: 2rem 1.5rem;
}

.highlight-icon {
  width: 64px;
  height: 64px;
  background: var(--background);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.highlight-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--success);
}

.highlight-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--primary);
}

.highlight-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 0.9375rem;
}

/* FAQ Section */
.faq-section {
  padding: 80px 0;
  background: var(--background);
}

.faq-section .section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  border-radius: 12px;
  padding: 1.75rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.faq-item h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--primary);
}

.faq-item p {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 0.9375rem;
}

/* Page CTA */
.page-cta {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary) 0%, #1f2937 100%);
  color: white;
  text-align: center;
}

.page-cta h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: white;
}

.page-cta p {
  font-size: 1.25rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  color: white;
}

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

.cta-buttons .btn-secondary {
  background: white;
  color: var(--primary);
  border-color: white;
}

.cta-buttons .btn-secondary:hover {
  background: var(--background);
  border-color: var(--background);
}

/* Responsive */
@media (max-width: 1024px) {
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .highlight-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .page-hero {
    padding: 120px 0 60px;
  }

  .page-title {
    font-size: 2rem;
  }

  .page-subtitle {
    font-size: 1.0625rem;
  }

  .steps-section,
  .features-highlight,
  .faq-section,
  .page-cta {
    padding: 60px 0;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .step-card {
    padding: 2rem 1.5rem;
  }

  .highlight-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .highlight-card {
    padding: 1.5rem;
  }

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

  .page-cta h2 {
    font-size: 1.75rem;
  }

  .page-cta p {
    font-size: 1.0625rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-buttons .btn {
    width: 100%;
    max-width: 280px;
  }
}
