/* Home page specific styles */

/* Hero trust indicators row */
.hero-trust-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #6b7280;
  font-size: 0.9375rem;
}

.hero-trust-item svg {
  flex-shrink: 0;
}

@media screen and (max-width: 767px) {
  #file-access-cards-grid,
  #secure-access-cards-grid,
  #built-for-work-cards-grid,
  #deploy-cards-grid,
  #pricing-cards-grid {
    display: flex !important;
    flex-direction: column;
    gap: 1.5rem;
  }

  #deploy-cards-grid > .product-card {
    grid-column: auto !important;
  }
}

/* Deploy section: Row 1 = 2/5 + 3/5, Row 2 = 3/5 + 2/5 */
#deploy-cards-grid {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 1.5rem;
}

#deploy-cards-grid > .product-card:nth-child(1) {
  grid-column: span 4; /* 2/5 = 4/10 */
}

#deploy-cards-grid > .product-card:nth-child(2) {
  grid-column: span 6; /* 3/5 = 6/10 */
}

#deploy-cards-grid > .product-card:nth-child(3) {
  grid-column: span 6; /* 3/5 = 6/10 */
}

#deploy-cards-grid > .product-card:nth-child(4) {
  grid-column: span 4; /* 2/5 = 4/10 */
}

/* Built for how you actually work - quote styling */
#built-for-work-cards-grid .testimonial-card-v3 > .text-size-small:first-child,
.efoo-why-matters-grid .testimonial-card-v3 > .text-size-small:first-child {
  color: #3388FF;
  border-left: 3px solid #3388FF;
  padding-left: 1rem;
}

/* Bottom align content in efoo-why-matters-grid card */
.efoo-why-matters-grid {
  align-items: stretch;
}

.efoo-why-matters-grid > .testimonial-card-v3:first-child {
  display: flex;
  align-items: center;
  justify-content: center;
}

.efoo-why-matters-grid > .testimonial-card-v3:last-child {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  justify-content: space-between !important;
}

.efoo-why-matters-grid > .testimonial-card-v3:last-child > div {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.efoo-why-matters-grid > .testimonial-card-v3:last-child > div > .button-group {
  margin-top: auto;
}

#secure-access-cards-grid ul {
  list-style: none;
  padding-left: 0;
}

#secure-access-cards-grid ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
}

#secure-access-cards-grid ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.25rem;
  width: 1rem;
  height: 1rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000000'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

/* The Difference is Immediate section - card layout fixes */
#difference-without-mwd,
#difference-with-mwd {
  display: block !important;
  align-items: initial !important;
  justify-content: initial !important;
  text-align: left !important;
}

#difference-without-mwd .text-size-large,
#difference-with-mwd .text-size-large {
  display: block;
  text-align: left;
}

/* The Difference is Immediate section - custom bullet icons */
#difference-without-mwd ul,
#difference-with-mwd ul {
  list-style: none;
  padding-left: 0;
}

#difference-without-mwd ul li,
#difference-with-mwd ul li {
  display: flex;
  align-items: center;
  padding-left: 0;
  margin-bottom: 0.85rem;
}

#difference-without-mwd ul li::before,
#difference-with-mwd ul li::before {
  content: '';
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  margin-right: 0.75rem;
  background-size: contain;
  background-repeat: no-repeat;
}

#difference-without-mwd ul li::before {
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='24' height='24' rx='4' fill='%23272727'/%3E%3Cpath d='M16 16L12 12M12 12L8 8M12 12L16 8M12 12L8 16' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

#difference-with-mwd ul li::before {
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='24' height='24' rx='4' fill='%233388FF'/%3E%3Cpath d='M6 12L10.2426 16.2426L18.727 7.75732' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* Security That Satisfies Auditors - benefits content layout */
.benefits-row-gray {
  display: flex;
  align-items: stretch;
}

.benefits-row-gray > .benefits-content {
  display: flex;
  flex-direction: column;
  flex: 0 0 40%;
}

.benefits-row-gray > .benefits-list {
  flex: 1;
}

.benefits-content .image-2 {
  display: block;
  margin: 0 auto;
  object-fit: contain;
  max-height: 300px;
  flex: 1 1 0;
  min-height: 0;
}

.benefits-content > .spacer-small:first-of-type {
  flex-shrink: 0;
}

.benefits-content > div:nth-last-child(1),
.benefits-content > div:nth-last-child(2) {
  flex-shrink: 0;
}

/* Simple pricing section - left and right image cards */
#pricing-cards-grid > .testimonial-card-v3:first-child,
#pricing-cards-grid > .testimonial-card-v3:last-child {
  padding: 0;
  overflow: hidden;
}

#pricing-cards-grid > .testimonial-card-v3:first-child img,
#pricing-cards-grid > .testimonial-card-v3:last-child img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Simple pricing section - middle card styling */
#pricing-cards-grid > .testimonial-card-v3:nth-child(2) .text-align-center {
  text-align: center;
}

#pricing-cards-grid > .testimonial-card-v3:nth-child(2) ul {
  list-style: none;
  padding-left: 0;
}

#pricing-cards-grid > .testimonial-card-v3:nth-child(2) ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
}

#pricing-cards-grid > .testimonial-card-v3:nth-child(2) ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.25rem;
  width: 1rem;
  height: 1rem;
  background-size: contain;
  background-repeat: no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000000'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z'/%3E%3C/svg%3E");
}

#pricing-cards-grid > .testimonial-card-v3:nth-child(2) .button-group {
  width: 100%;
}

#pricing-cards-grid > .testimonial-card-v3:nth-child(2) .button-group .button-3 {
  width: 100%;
  text-align: center;
}

/* Ready to Simplify File Access section - override centering */
#ready-to-simplify-grid > .testimonial-card-v3:first-child,
#ready-to-simplify-grid > .testimonial-card-v3:last-child {
  align-items: flex-start !important;
  justify-content: flex-start !important;
}

/* Security That Satisfies Auditors - compliance tags */
.compliance-tags-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.compliance-tag {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  border: 1px solid #ECECEC;
  border-radius: 8px;
  color: #7B7B7B;
  font-size: 0.9375rem;
}
