/* Section Container */
.section-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: 2rem;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.section-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background-color: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
}

.navbar-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 1rem 1.5rem;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-primary);
  text-decoration: none;
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.navbar-link {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0;
}

.navbar-link:hover,
.navbar-link.active {
  color: var(--text-primary);
}

.navbar-cta {
  padding: 0.5rem 1.5rem;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  color: white;
  border-radius: var(--radius-md);
  font-weight: 600;
  transition: all 0.2s ease;
  text-decoration: none;
}

.navbar-cta:hover {
  box-shadow: var(--shadow-glow);
}

/* Mobile menu toggle */
.navbar-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 0;
}

.navbar-toggle svg {
  width: 1.5rem;
  height: 1.5rem;
}

/* Mobile menu */
.navbar-mobile {
  display: none;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--border-color);
}

.navbar-mobile.active {
  display: flex;
}

.navbar-mobile .navbar-link {
  text-align: left;
}

.navbar-mobile .navbar-cta {
  text-align: center;
}

@media (max-width: 768px) {
  .navbar-menu {
    display: none;
  }

  .navbar-toggle {
    display: block;
  }
}

/* Footer */
.footer {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 2rem 0;
}

.footer-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.footer-links {
  display: flex;
  gap: 3rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.footer-column-title {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 0.75rem;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.footer-column a {
  color: var(--text-secondary);
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-column a:hover {
  color: var(--accent-primary);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-copyright {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  font-size: 0.875rem;
}

.footer-legal a {
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.footer-legal a:hover {
  color: var(--accent-primary);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
  }
}

/* Global Mobile Optimizations */
@media (max-width: 768px) {
  .section-container {
    padding: 0 var(--container-padding-mobile);
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

  .section-title {
    margin-bottom: 1rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }
}
