.section {
  padding: var(--space-20) 0;
  position: relative;
}

.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
  opacity: 0.4;
}

.section:first-of-type::before {
  display: none;
}

.section--alt {
  background: var(--color-bg-subtle);
}

.section--apps {
  background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-subtle) 100%);
}

.section__header {
  text-align: center;
  margin-bottom: 56px;
}

.section__eyebrow {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-accent);
  margin-bottom: var(--space-3);
  padding: var(--space-1) var(--space-4);
  border: 1px solid rgba(201, 144, 43, 0.2);
  border-radius: var(--radius-full);
  background: rgba(201, 144, 43, 0.05);
}

.section__title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-3);
  color: var(--color-primary-dark);
}

.section__title span {
  color: var(--color-accent);
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-warm));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section__description {
  color: var(--color-text-muted);
  font-size: var(--text-lg);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

.section__title--light {
  color: var(--color-text-inverse);
}

.section__description--light {
  color: rgba(255, 255, 255, 0.55);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.container--narrow {
  max-width: var(--container-narrow);
}

@media (prefers-reduced-motion: no-preference) {
  .section--visible .section__header {
    animation: sectionFadeUp 0.7s 0.1s both;
  }

  .section--visible .apps-grid {
    animation: sectionFadeUp 0.7s 0.2s both;
  }

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

@media (max-width: 768px) {
  .section {
    padding: var(--space-12) 0;
  }

  .section__header {
    margin-bottom: var(--space-8);
  }

  .section::before {
    width: 56px;
  }
}
