/* Shared Page Styles */
.page-hero {
  background: var(--gradient-hero);
  color: var(--color-text-light);
  padding: var(--spacing-3xl) 0;
  text-align: center;
}

.page-hero h1 {
  color: var(--color-text-light);
  margin-bottom: var(--spacing-md);
}

.page-hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--font-size-lg);
  max-width: 800px;
  margin: 0 auto;
}

.section-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--spacing-3xl);
}

.section-intro p {
  font-size: var(--font-size-lg);
  color: var(--color-text-secondary);
}

/* Timeline Styles */
.timeline {
  position: relative;
  padding: var(--spacing-2xl) 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--color-border);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: var(--spacing-3xl);
  display: flex;
  align-items: center;
}

.timeline-item:nth-child(odd) {
  flex-direction: row;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-content {
  width: 45%;
  padding: var(--spacing-xl);
  background: var(--color-bg-primary);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
}

.timeline-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  background: var(--color-primary);
  border-radius: 50%;
  border: 4px solid var(--color-bg-primary);
  z-index: 1;
}

/* Accordion Styles */
.accordion {
  max-width: 800px;
  margin: 0 auto;
}

.accordion-item {
  border: var(--border-width) solid var(--color-border);
  border-radius: var(--border-radius-md);
  margin-bottom: var(--spacing-md);
  overflow: hidden;
}

.accordion-header {
  padding: var(--spacing-lg);
  background: var(--color-bg-secondary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background var(--transition-fast);
}

.accordion-header:hover {
  background: var(--color-bg-tertiary);
}

.accordion-header h3 {
  margin: 0;
  font-size: var(--font-size-lg);
}

.accordion-icon {
  transition: transform var(--transition-base);
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-base);
}

.accordion-item.active .accordion-content {
  max-height: 2000px;
}

.accordion-body {
  padding: var(--spacing-lg);
}

/* Comparison Table */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--spacing-xl) 0;
  box-shadow: var(--shadow-md);
}

.comparison-table th,
.comparison-table td {
  padding: var(--spacing-md);
  text-align: left;
  border-bottom: var(--border-width) solid var(--color-border);
}

.comparison-table th {
  background: var(--color-bg-dark);
  color: var(--color-text-light);
  font-weight: var(--font-weight-semibold);
}

.comparison-table tr:hover {
  background: var(--color-bg-secondary);
}

@media (max-width: 767px) {
  .timeline::before {
    left: 20px;
  }
  
  .timeline-item {
    flex-direction: row !important;
    padding-left: var(--spacing-3xl);
  }
  
  .timeline-content {
    width: 100%;
  }
  
  .timeline-dot {
    left: 20px;
  }
  
  .comparison-table {
    display: block;
    overflow-x: auto;
  }
}
