/* DummyFill Pro — Layout Scaffold */

/* Content container — centers content at max-width */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* Navigation bar — full-width with inner container */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border-light);
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) var(--space-lg);
}

.nav__logo {
  font-size: var(--text-heading);
  font-weight: var(--weight-extrabold);
  color: var(--color-text);
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  padding: var(--space-sm) var(--space-lg);
  background: linear-gradient(to top right, #3A87C2, #4A9BD9);
  color: #FFFFFF;
  font-weight: var(--weight-extrabold);
  font-size: var(--text-label);
  border: none;
  border-radius: var(--radius-xl);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.nav__cta:hover {
  background: #3A87C2;
  opacity: 1;
  transform: scale(1.03);
  text-decoration: none;
}

/* Hero section (per UI-SPEC focal point — headline is primary focal element) */
.hero {
  text-align: center;
  padding: var(--space-4xl) 0 var(--space-section);
}

.hero__headline {
  font-size: var(--text-display);
  font-weight: var(--weight-extrabold);
  line-height: var(--line-height-display);
  color: var(--color-text);
  margin-bottom: var(--space-lg);
}

.hero__subheadline {
  font-size: var(--text-heading);
  font-weight: var(--weight-regular);
  line-height: var(--line-height-heading);
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto var(--space-xl);
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  padding: var(--space-md) var(--space-xl);
  background: linear-gradient(to top right, #3A87C2, #4A9BD9);
  color: #FFFFFF;
  font-size: var(--text-body);
  font-weight: var(--weight-extrabold);
  border: none;
  border-radius: var(--radius-xl);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero__cta:hover {
  background: #3A87C2;
  opacity: 1;
  transform: scale(1.04);
  text-decoration: none;
}

/* Section scaffold (for Phase 2 content sections) */
.section {
  padding: var(--space-section) 0;
}

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

.section--light {
  background-color: var(--color-surface-light);
}

.section--dark {
  background-color: var(--color-surface-dark);
  color: #FFFFFF;
}

.section--dark .section__title {
  color: #FFFFFF;
}

.section__title {
  font-size: var(--text-section-title);
  font-weight: 700;
  line-height: var(--line-height-heading);
  color: var(--color-text);
  text-align: center;
  margin-bottom: var(--space-2xl);
}

/* Scroll fade-in animation utility */
.fade-in-section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.fade-in-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Footer scaffold */
.footer {
  padding: var(--space-2xl) 0;
  border-top: 1px solid var(--color-surface-alt);
  text-align: center;
  color: var(--color-text-muted);
  font-size: var(--text-label);
}

/* Parallax performance hint */
.browser-frame {
  will-change: transform;
}

/* Reduced-motion override */
@media (prefers-reduced-motion: reduce) {
  .fade-in-section {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ============================================================
   Responsive Breakpoints
   ============================================================ */

@media (max-width: 768px) {
  .hero {
    padding: var(--space-3xl) 0 var(--space-2xl);
  }

  .hero__subheadline {
    font-size: var(--text-body);
    max-width: 100%;
  }

  .hero__cta {
    width: 100%;
    justify-content: center;
    padding: var(--space-md) var(--space-lg);
  }

  .nav .container {
    padding: var(--space-sm) var(--space-md);
  }

  .nav__logo {
    font-size: 1.1rem;
  }

  .nav__cta {
    font-size: 0.8rem;
    padding: 6px 14px;
  }

  .section__title {
    margin-bottom: var(--space-xl);
  }
}

@media (max-width: 640px) {
  .hero {
    padding: var(--space-2xl) 0 var(--space-xl);
  }

  .container {
    padding: 0 var(--space-md);
  }

  .footer__links {
    flex-wrap: wrap;
    gap: var(--space-md);
    justify-content: center;
  }
}
