/* Typography utilities - Montserrat */
.heading-xl {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.heading-lg {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.label-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* Section containers */
.section-container {
  max-width: 1400px;
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (min-width: 768px) {
  .section-container {
    padding-left: 3rem;
    padding-right: 3rem;
  }
}

@media (min-width: 1024px) {
  .section-container {
    padding-left: 6rem;
    padding-right: 6rem;
  }
}

/* Grid borders pattern */
.grid-bordered > * {
  border-bottom: 1px solid #E5E7EB;
  border-right: 1px solid #E5E7EB;
}

.grid-bordered > *:nth-child(4n) {
  border-right: none;
}

@media (max-width: 1023px) {
  .grid-bordered > *:nth-child(2n) {
    border-right: none;
  }
  .grid-bordered > *:nth-child(4n) {
    border-right: 1px solid #E5E7EB;
  }
}

@media (max-width: 639px) {
  .grid-bordered > * {
    border-right: none;
  }
}

/* Industries grid borders */
.industries-grid > * {
  border-bottom: 1px solid #E5E7EB;
  border-right: 1px solid #E5E7EB;
}

@media (min-width: 1024px) {
  .industries-grid > *:nth-child(4n) {
    border-right: none;
  }
}

@media (min-width: 640px) and (max-width: 1023px) {
  .industries-grid > *:nth-child(3n) {
    border-right: none;
  }
}

@media (max-width: 639px) {
  .industries-grid > *:nth-child(2n) {
    border-right: none;
  }
}

/* Smooth transitions */
.transition-smooth {
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Black stripe animation */
.black-stripe {
  background-color: #0A0A0A;
  transform-origin: left center;
  transform: translate3d(0, 0, 0) scaleX(1);
  will-change: transform;
  backface-visibility: hidden;
}

/* Button styles */
.btn-primary {
  background-color: #0A0A0A;
  color: #FFFFFF;
  padding: 0.875rem 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.025em;
  transition: background-color 0.2s ease;
}

.btn-primary:hover {
  background-color: rgba(10, 10, 10, 0.9);
}

.btn-secondary {
  background-color: #FFFFFF;
  color: #0A0A0A;
  padding: 0.875rem 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.025em;
  border: 1px solid #E5E7EB;
  transition: border-color 0.2s ease;
}

.btn-secondary:hover {
  border-color: #0A0A0A;
}

/* Card hover effects */
.card-hover {
  transition: background-color 0.2s ease;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translate3d(0, 32px, 0);
  will-change: opacity, transform;
}

.reveal-on-scroll.reveal-visible {
  animation: slideUp 0.35s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.card-hover:hover {
  background-color: #F9FAFB;
}

/* Navbar styles */
.navbar-glass {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Animation keyframes */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

.animate-fade-in {
  animation: fadeIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.animate-slide-up {
  animation: slideUp 0.35s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* Stagger delays */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll {
    opacity: 1;
    transform: none;
    animation: none;
    will-change: auto;
  }
}
