/**
 * Module: Enterprise Features
 * Figma Node: 417:1358
 * Generated: 2025-12-11
 *
 * A Unified System for Global Operations
 * 3 feature cards with phone mockups
 */

/* ==========================================================================
   Variables
   ========================================================================== */

:root {
  /* Colors */
  --enterprise-dark-blue: #121C66;
  --enterprise-primary-blue: #2B388F;
  --enterprise-blue-grey: #E9EBF3;
  --enterprise-white: #FFFFFF;

  /* Typography */
  --enterprise-font-family: 'Avenir Next', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Border Radius */
  --enterprise-radius-medium: 20px;
  --enterprise-radius-large: 24px;
  --enterprise-radius-pill: 500px;

  /* Transitions */
  --enterprise-transition-fast: 150ms ease;
}

/* ==========================================================================
   Section Container
   ========================================================================== */

.enterprise-features {
  background-color: var(--enterprise-white);
  width: 100%;
  overflow: hidden;
  padding: 93px 80px;
}

.enterprise-features__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 48px;
  max-width: 1512px;
  margin: 0 auto;
}

/* ==========================================================================
   Section Header
   ========================================================================== */

.enterprise-features__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  text-align: center;
}

.enterprise-features__title {
  font-family: var(--enterprise-font-family);
  font-size: 48px;
  font-weight: 700;
  color: var(--enterprise-dark-blue);
  line-height: normal;
  max-width: 885px;
  margin: 0;
}

.enterprise-features__subtitle {
  font-family: var(--enterprise-font-family);
  font-size: 16px;
  font-weight: 400;
  color: var(--enterprise-dark-blue);
  line-height: normal;
  max-width: 792px;
  margin: 0;
}

/* ==========================================================================
   Feature Cards Grid
   ========================================================================== */

.enterprise-features__cards {
  display: flex;
  flex-wrap: wrap;
  gap: 45px;
  justify-content: center;
  align-items: stretch;
}

/* ==========================================================================
   Individual Card
   ========================================================================== */

.enterprise-features__card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1 1 30%;
  max-width: 433px;
  height: 786px;
  background-color: var(--enterprise-blue-grey);
  border-radius: var(--enterprise-radius-medium);
  padding: 24px 35px 51px 35px;
  overflow: hidden;
}

/* ==========================================================================
   Card Content Area
   ========================================================================== */

.enterprise-features__card-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
  text-align: center;
}

.enterprise-features__card-eyebrow {
  font-family: var(--enterprise-font-family);
  font-size: 16px;
  font-weight: 400;
  color: var(--enterprise-primary-blue);
  line-height: normal;
}

.enterprise-features__card-title {
  font-family: var(--enterprise-font-family);
  font-size: 30px;
  font-weight: 600;
  color: var(--enterprise-dark-blue);
  line-height: normal;
  max-width: 407px;
  margin: 0;
}

.enterprise-features__card-description {
  font-family: var(--enterprise-font-family);
  font-size: 16px;
  font-weight: 400;
  color: var(--enterprise-primary-blue);
  line-height: normal;
  max-width: 363px;
  margin: 0;
}

/* ==========================================================================
   Card Footer (CTA + Image)
   Uses global .workjam-cta-button class for button styling
   ========================================================================== */

.enterprise-features__card-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 35px;
}

/* ==========================================================================
   Card Image Area
   ========================================================================== */

.enterprise-features__card-image {
  display: flex;
  flex: 1 1 100%;
  width: 100%;
  max-width: 363px;
  margin: 0 auto;
  border-radius: var(--enterprise-radius-large);
  overflow: hidden;
}

/* Handle both direct img and picture wrapper (WordPress responsive images) */
.enterprise-features__card-img,
.enterprise-features__card-img img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--enterprise-radius-large);
}

/* ==========================================================================
   Responsive Styles
   ========================================================================== */

/* Large Desktop - reduce gaps */
@media (max-width: 1400px) {
  .enterprise-features__cards {
    gap: 30px;
  }

  .enterprise-features__card {
    max-width: 400px;
  }
}

/* Tablet Landscape - 2 columns */
@media (max-width: 1200px) {
  .enterprise-features__cards {
    max-width: 900px;
    gap: 30px;
  }

  .enterprise-features__card {
    flex: 1 1 45%;
    max-width: 420px;
    height: auto;
    min-height: 700px;
  }
}

/* Tablet Portrait - single column */
@media (max-width: 900px) {
  .enterprise-features {
    padding: 60px 45px;
  }

  .enterprise-features__container {
    gap: 40px;
  }

  .enterprise-features__title {
    font-size: 40px;
  }

  .enterprise-features__cards {
    flex-direction: column;
    align-items: center;
    max-width: 100%;
    gap: 30px;
  }

  .enterprise-features__card {
    flex: 1 1 100%;
    max-width: 500px;
    height: auto;
    min-height: auto;
  }

  .enterprise-features__card-image {
    width: 100%;
    max-width: 363px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .enterprise-features {
    padding: 40px 20px;
  }

  .enterprise-features__container {
    gap: 32px;
  }

  .enterprise-features__title {
    font-size: 32px;
  }

  .enterprise-features__subtitle {
    font-size: 14px;
  }

  .enterprise-features__card {
    padding: 20px 24px 32px 24px;
  }

  .enterprise-features__card-content {
    gap: 20px;
  }

  .enterprise-features__card-footer {
    gap: 24px;
  }

  .enterprise-features__card-title {
    font-size: 24px;
  }

  .enterprise-features__card-description {
    font-size: 14px;
    max-width: 90%;
  }

  .enterprise-features__card-image {
    width: 100%;
    max-width: 320px;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .enterprise-features__title {
    font-size: 28px;
  }

  .enterprise-features__card-title {
    font-size: 22px;
  }

  .enterprise-features__card-image {
    width: calc(100% - 40px);
    max-width: 280px;
  }
}
