/* /public/css/pages/landing-shared.css
   =====================================================================
   Shared styles for ALL public landing pages.
   Loaded by: home.twig, brand/landing.twig, thumbnail-test/landing.twig

   This file is the SINGLE SOURCE OF TRUTH for section headers, final CTAs,
   section padding, and reveal animations on public-facing landing pages.
   Page-specific CSS files should NEVER redefine these patterns.
   ===================================================================== */

/* ==================================================================
   1. SECTION PADDING
   ================================================================== */
.home-section {
  padding: var(--space-20) 0;
  position: relative;
}

/* ==================================================================
   2. SECTION HEADERS
   ================================================================== */
.section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto var(--space-12);
}

.section-header__tag {
  display: inline-block;
  margin-bottom: var(--space-4);
  padding: var(--space-2) var(--space-4);
  background-color: var(--color-brand-purple-light);
  color: var(--color-brand-purple);
  border-radius: var(--radius-full);
  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-sm);
}

.section-header__title {
  font-size: clamp(2.25rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--color-slate-900);
  line-height: 1.2;
  margin-bottom: var(--space-4);
}

.section-header__subtitle {
  font-size: var(--font-size-lg);
  color: var(--color-slate-500);
  line-height: var(--line-height-loose);
}

/* ==================================================================
   3. FINAL CTA SECTION
   ================================================================== */
.final-cta {
  background-color: var(--color-slate-900);
  padding: var(--space-24) 0;
  color: var(--color-white);
}

.final-cta__content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.final-cta__title {
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  font-weight: 800;
  margin-bottom: var(--space-4);
  color: var(--color-white);
}

.final-cta__subtitle {
  font-size: var(--font-size-xl);
  color: var(--color-slate-300);
  margin-bottom: var(--space-8);
  line-height: 1.7;
}

.final-cta__buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}

/* ==================================================================
   4. REVEAL ANIMATIONS
   ================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==================================================================
   5. RESPONSIVE — Mobile
   ================================================================== */
@media (max-width: 767px) {
  .home-section {
    padding: var(--space-12) 0;
  }

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

  .section-header__title {
    font-size: 1.75rem;
  }

  .section-header__subtitle {
    font-size: var(--font-size-base);
  }

  .final-cta {
    padding: var(--space-16) 0;
  }

  .final-cta__subtitle {
    font-size: var(--font-size-lg);
  }

  .final-cta__buttons .button {
    width: 100%;
  }
}
