/* ============================================
   Homepage 2025 Custom Styles
   Product Feature Section Block
   ============================================ */

/* Import Manrope Font */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;600;700;800&display=swap');

/* Import shared 2025 footer styles */
@import url('footer-2025.css');

/* Import shared sponsor logos styles */
@import url('sponsor-logos.css');

/* ============================================
   Light/Dark Mode Transitions (0.5s fade)
   ============================================ */

.product-feature-section,
.product-feature-section__media img,
.product-feature-section__media .custom-block-wrapper,
.product-feature-section__caption-row,
.product-feature-section__buttons .btn-primary,
.product-feature-section__buttons .btn-secondary,
.product-feature-section__media .icon-grid,
.product-feature-section__media .icon-grid__cell,
.infrastructure-trust-section,
.infrastructure-trust__stats,
.infrastructure-trust__stats .stat-item,
.infrastructure-trust__security,
.infrastructure-trust__logos,
.cta-testimonials-section,
.cta-testimonials__grid .testimonial-card,
.sponsor-logo-item,
.sponsor-logos-section {
  transition: background-color 0.5s ease, border-color 0.5s ease;
}

.product-feature-section__text h2,
.product-feature-section h2 p,
.product-feature-section h2 strong,
.product-feature-section h2 b,
.product-feature-section__text > p,
.product-feature-section__text .body-copy,
.product-feature-section__text .body-copy > p,
.product-feature-section__caption-row,
.product-feature-section__caption-row strong,
.product-feature-section__caption-row b,
.infrastructure-trust__header h2,
.infrastructure-trust__grid .grid-item h4,
.infrastructure-trust__grid .grid-item p,
.infrastructure-trust__stats .stat-item p,
.infrastructure-trust__security h4,
.infrastructure-trust__security p,
.infrastructure-trust__intro h3,
.infrastructure-trust__intro p,
.infrastructure-trust__header-buttons .btn-secondary,
.cta-testimonials__header h2,
.cta-testimonials__header .subtitle,
.cta-testimonials__trusted p,
.cta-testimonials__features .feature-item span,
.cta-testimonials__header-buttons .btn-secondary,
.cta-testimonials__grid blockquote,
.cta-testimonials__grid .author-info strong,
.cta-testimonials__grid .author-info span {
  transition: color 0.5s ease;
}

.product-feature-section.line-start .product-feature-section__media::before,
.product-feature-section.line-continue .product-feature-section__media::before,
.product-feature-section.line-end .product-feature-section__media::before,
.product-feature-section.line-start .product-feature-section__media::after,
.product-feature-section.line-continue .product-feature-section__media::after,
.product-feature-section.line-end .product-feature-section__media::after,
.cta-testimonials-section .container::before,
.cta-testimonials-section .container::after,
.cta-testimonials-section .container > *::before {
  transition: background-color 0.5s ease;
}

/* ============================================
   Product Feature Section
   ============================================ */

.product-feature-section {
  padding: 50px 0 80px!important;
  background-color: #FAFAFA;
}

.product-feature-section__wrapper {
  display: flex;

  align-items: flex-start;
}

/* LEFT COLUMN - TEXT AREA (40%) */
.product-feature-section__text {
  flex: 0 0 40%;
  padding-right: 10px;
}


/* Override WYSIWYG heading styles */
.product-feature-section__text h2,
.product-feature-section h2 p {
  font-family: 'Manrope', sans-serif !important;
  font-weight: 600 !important;
  font-size: 39px !important;
  line-height: 1.2 !important;
  color: #000000 !important;
  margin: 0 0 14px 0 !important;
}

/* Remove paragraph wrapping in heading if WYSIWYG adds it */
.product-feature-section h2 p {
  display: inline;
  margin: 0 !important;
}

/* Bold words in heading - solid pink #FF009C */
.product-feature-section h2 strong,
.product-feature-section h2 b {
  font-weight: 700;
  color: #FF009C;
}

/* Break-before utility class */
.break-before::before {
  content: "\a";
  white-space: pre;
}

/* Apply break-before to strong elements in first and second product-feature-section */
.product-feature-section:nth-of-type(2) h2 strong,
.product-feature-section:nth-of-type(3) h2 strong {
  display: inline;
}

.product-feature-section:nth-of-type(2) h2 strong::before,
.product-feature-section:nth-of-type(3) h2 strong::before {
  content: "\a";
  white-space: pre;
}



/* Body paragraphs */
.product-feature-section__text > p,
.product-feature-section__text .body-copy,
.product-feature-section__text .body-copy > p {
  font-family: 'Manrope', sans-serif !important;
  font-weight: 400 !important;
  font-size: 18px !important;
  line-height: 1.6 !important;
  color: #000 !important;
  margin: 0!important;
  letter-spacing: -0.7px;
}

/* Buttons Container */
.product-feature-section__buttons {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.product-feature-section:nth-of-type(2) .body-copy > p{
  margin-right: 70px!important;
}
.product-feature-section:nth-of-type(3) .body-copy > p{
  margin-right: 10px!important;
}
.product-feature-section:nth-of-type(4) .body-copy > p{
  margin-right: 15px!important;
}
.product-feature-section:nth-of-type(5) h2,
.product-feature-section:nth-of-type(5) h2 > p{
  font-size: 35px!important;
}
/* Primary Button (Black bg, white text) - Smaller and more rounded */
.product-feature-section__buttons .btn-primary {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  background-color: #000000;
  color: #ffffff;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.5s ease, color 0.5s ease;
padding: 7px 25px;
font-weight: 500;
font-size: 16px;
border-radius: 55px;
}

.product-feature-section__buttons .btn-primary:hover {
  background-color: #212121;
}

/* Secondary Button (Transparent, border) - Smaller and more rounded */
.product-feature-section__buttons .btn-secondary {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 14px;
  padding: 5px ;
  background-color: transparent;
  color: #000000;
  text-decoration: none;
  display: inline-block;
  margin-left:15px;
  transition: color 0.5s ease;
}
.home-page-presentation{
  position: relative;
  z-index:11!important;
}
.product-feature-section__buttons .btn-secondary:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

/* RIGHT COLUMN - MEDIA AREA (60%) */
.product-feature-section__media {
  flex: 0 0 60%;
  position: relative;
  max-width: 60%;
}

.product-feature-section__media .api-code-title{
  font-size: 18px!important;
}

/* Single Image */
.product-feature-section__media img {
  width: 100%;
  height: auto;
  display: block;
  background: #FFFFFF;
  padding: 10px;
  border: 1px solid #D8D8D8;
}

/* Custom Block Wrapper */
.product-feature-section__media .custom-block-wrapper {
  background: #FFFFFF;
  border: 1px solid #D8D8D8;
}
.product-feature-section__media img
/* Dual Images (side by side) */
.product-feature-section__media .dual-images {
  display: flex;
  gap: 20px;
}

.product-feature-section__media .dual-images img {
  width: 50%;
  flex: 1;
  background: #FFFFFF;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid #D8D8D8;
}

/* Icon Grid (3x3) */
.product-feature-section__media .icon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #FFFFFF;
  border: 1px solid #D8D8D8;
}

.product-feature-section__media .icon-grid__cell {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
  border-right: 1px solid #D8D8D8;
  border-bottom: 1px solid #D8D8D8;
  min-height: 100px;
}

/* Remove right border on last column */
.product-feature-section__media .icon-grid__cell:nth-child(3n) {
  border-right: none;
}

/* Remove bottom border on last row */
.product-feature-section__media .icon-grid__cell:nth-last-child(-n+3) {
  border-bottom: none;
}

.product-feature-section__media .icon-grid__cell img {
  max-width: 60px;
  max-height: 50px;
  width: auto;
  height: auto;
  object-fit: contain;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
}

/* Iframe */
.product-feature-section__media iframe {
  width: 100%;
  height: 500px;
  border: none;
  border-radius: 12px;
}

/* Caption Rows (below media) */
.product-feature-section__caption-row {
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.5;
  color: #5F6368;
  background: #FFFFFF;
  padding: 12px 20px;
  text-align: center;
  border-bottom: 1px solid #D8D8D8;
  border-right: 1px solid #D8D8D8;
}

/* Bold words in caption rows (regular bold) */
.product-feature-section__caption-row strong,
.product-feature-section__caption-row b {
  font-weight: 700;
  color: #000000;
}

/* AI Gradient for **word** syntax */
.product-feature-section__caption-row .gradient {
  background: linear-gradient(180deg, #FF02FF 0%, #8222FF 26.44%, #FF009C 68.75%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  /* text-fill-color: transparent; */
  font-weight: 600;
  position: relative;
  display: inline-block;
  padding-right: 22px; /* Space for sparkles icon */
}

/* Sparkles icon on gradient text */
.product-feature-section__caption-row .gradient::after {
  content: '';
  position: absolute;
  top: -4px;
  right: 0;
  width: 16px;
  height: 18px;
  background-image: url('../images/sparkles.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* Badge/Link with gradient */
.product-feature-section__caption-row a.gradient {
  text-decoration: none;
  background: linear-gradient(180deg, #FF02FF 0%, #8222FF 26.44%, #FF009C 68.75%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  /* text-fill-color: transparent; */
  font-weight: 600;
  position: relative;
  display: inline-block;
  padding-right: 22px; /* Space for sparkles icon */
}

/* Sparkles icon on gradient links */
.product-feature-section__caption-row a.gradient::after {
  content: '';
  position: absolute;
  top: -4px;
  right: 0;
  width: 16px;
  height: 18px;
  background-image: url('../images/sparkles.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.product-feature-section__caption-row p {
  font-size: 24px;/* Control all elements of your email data to make it AI-ready */
  font-style: normal;
  font-weight: 400;
  line-height: 40px;
  letter-spacing: -0.018em;
  color: #5F6368;  
  margin: 10px 0;
}


/* 2nd and 4th sections - remove right padding on images */
.product-feature-section:nth-of-type(3) .product-feature-section__media img{
  padding-right: 0;
}
.product-feature-section:nth-of-type(5) .product-feature-section__media img {
  padding: 0;
}

/* 2nd and 4th sections - make the subtext smaller */
.product-feature-section:nth-of-type(4) .product-feature-section__caption-row p{
  font-size: 20px;
}
.product-feature-section:nth-of-type(4) .product-feature-section__caption-row p strong{
  font-size: 25px;
}



  .product-feature-section__caption-row a.gradient:hover {
  opacity: 0.8;
}

/* Badge inline styling */
.product-feature-section__caption-row .badge {
  margin-left: 8px;
}

/* ============================================
   VERTICAL LINE CONNECTOR SYSTEM
   ============================================ */

/* Left line positioned at left edge of media column */
.product-feature-section.line-start .product-feature-section__media::before,
.product-feature-section.line-continue .product-feature-section__media::before,
.product-feature-section.line-end .product-feature-section__media::before {
  content: '';
  position: absolute;
  left: 0;
  width: 1px;
  background-color: #D8D8D8;
  box-shadow: none;
}

/* Right line positioned at right edge of media column */
.product-feature-section.line-start .product-feature-section__media::after,
.product-feature-section.line-continue .product-feature-section__media::after,
.product-feature-section.line-end .product-feature-section__media::after {
  content: '';
  position: absolute;
  right: 0;
  width: 1px;
  background-color: #D8D8D8;
  box-shadow: none;
  z-index:10;
}

/* Left line starts halfway down (first section) */
.product-feature-section.line-start .product-feature-section__media::before {
  top: 50%;
  bottom: -80px; /* Extends beyond section to connect */
}

/* Right line starts halfway down (first section) */
.product-feature-section.line-start .product-feature-section__media::after {
  top: 50%;
  bottom: -80px; /* Extends beyond section to connect */
}

/* Left line runs full height (middle sections) */
.product-feature-section.line-continue .product-feature-section__media::before {
  top: -150px; /* Extends from previous section */
  bottom: 0px; /* Extends to next section */
  z-index: 10;
}

/* Right line runs full height (middle sections) */
.product-feature-section.line-continue .product-feature-section__media::after {
  top: -150px; /* Extends from previous section */
  bottom: 0px; /* Extends to next section */
}

/* Left line ends halfway up (last section) */
.product-feature-section.line-end .product-feature-section__media::before {
  top: -80px; /* Extends from previous section */
  bottom: 50%;
}

/* Right line ends halfway up (last section) */
.product-feature-section.line-end .product-feature-section__media::after {
  top: -80px; /* Extends from previous section */
  bottom: 50%;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media screen and (max-width: 1200px) {
  .product-feature-section__text {
    flex: 0 0 45%;
  }
  
  .product-feature-section__media {
    flex: 0 0 55%;
    max-width: 55%;
  }
}

@media screen and (max-width: 1024px) {
  .product-feature-section__text {
    flex: 0 0 50%;
  }
  
  .product-feature-section__media {
    flex: 0 0 50%;
    max-width: 50%;
  }
  
  .product-feature-section h2 {
    font-size: 40px;
  }
  
  .product-feature-section__text p,
  .product-feature-section__text .body-copy p {
    font-size: 16px;
  }
}

@media screen and (max-width: 900px) {
  .product-feature-section__wrapper {
    flex-direction: column;
    gap: 40px;
  }
  
  .product-feature-section__text,
  .product-feature-section__media {
    flex: 0 0 100%;
    max-width: 100%;
  }
  
  .product-feature-section__text {
    padding-right: 0;
  }
  
  /* Hide vertical line on tablet */
  .product-feature-section__media::before,
  .product-feature-section__media::after {
    display: none;
  }
}

@media screen and (max-width: 768px) {
  .product-feature-section {
    padding: 60px 0;
  }
  
  .product-feature-section__wrapper {
    flex-direction: column;
    gap: 40px;
  }
  
  .product-feature-section__text,
  .product-feature-section__media {
    flex: 0 0 100%;
    max-width: 100%;
  }
  
  .product-feature-section h2 {
    font-size: 32px;
  }
  
  .product-feature-section__text p,
  .product-feature-section__text .body-copy p {
    font-size: 16px;
  }
  
  .product-feature-section__buttons {
    flex-direction: column;
    gap: 12px;
  }
  
  .product-feature-section__buttons a {
    text-align: center;
    width: 100%;
  }
  
  /* Hide vertical line on mobile */
  .product-feature-section__media::before,
  .product-feature-section__media::after {
    display: none;
  }
  
  /* Icon Grid responsive */
  .product-feature-section__media .icon-grid__cell {
    padding: 20px 15px;
    min-height: 80px;
  }
  
  .product-feature-section__media .icon-grid__cell img {
    max-width: 45px;
    max-height: 40px;
  }
  
  /* Full width media on mobile */
  .product-feature-section__media {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
  }
  
  .product-feature-section__media .icon-grid {
    width: 100%;
  }
}



/* ============================================
   Infrastructure Trust Section
   ============================================ */

.infrastructure-trust-section {
  padding: 80px 0;
  background-color: #FAFAFA;
}

/* Centered Header */
.infrastructure-trust__header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}

.infrastructure-trust__header h2 {
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 48px;
  line-height: 1.2;
  color: #000000;
  margin: 0 0 16px 0;
}

.infrastructure-trust__header .subtitle {
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.6;
  color: #5F6368;
  margin: 0 0 32px 0;
}

.infrastructure-trust__header-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
}

.infrastructure-trust__header-buttons .btn-primary,
.infrastructure-trust__header-buttons .btn-secondary {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 14px;
  padding: 10px 24px;
  border-radius: 24px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}

.infrastructure-trust__header-buttons .btn-primary {
  background: transparent;
  color: #000000;
  border: 2px solid transparent;
  background-image: linear-gradient(white, white), 
                    linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #4facfe 75%, #00f2fe 100%);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  position: relative;
}

.infrastructure-trust__header-buttons .btn-primary:hover {
  opacity: 0.8;
}

.infrastructure-trust__header-buttons .btn-secondary {
  background-color: transparent;
  color: #000000;
  border: none;
}

.infrastructure-trust__header-buttons .btn-secondary:hover {
  opacity: 0.7;
}

/* Two Column Content */
.infrastructure-trust__content {
  display: flex;
  align-items: flex-start;
}

/* Left Column (~50%) */
.infrastructure-trust__left {
  flex: 0 0 40%;
  min-width: 0;
  padding-right: 99px;
}

.infrastructure-trust__intro {
  margin-bottom: 40px;
}

.infrastructure-trust__intro h3 {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.3;
  color: #000000;
  letter-spacing: -1px;
  margin: 0;
}
.infrastructure-trust__intro p {
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.6;
  color: #5F6368;
  letter-spacing: -1px;
  margin: 0;
  margin-right: 30px;
}

/* Grid (2 columns x 3 rows) */
.infrastructure-trust__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.infrastructure-trust__grid .grid-item {
  padding: 0;
  background: transparent;
  border: none;
}

.infrastructure-trust__grid .grid-item__icon {
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

.infrastructure-trust__grid .grid-item__icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
}

.infrastructure-trust__grid .grid-item h4 {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.4;
  color: #000000;
  margin: 0 0 8px 0;
}

.infrastructure-trust__grid .grid-item p {
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: #5F6368;
  margin: 0;
}

/* Right Column (~50%) */
.infrastructure-trust__right {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.infrastructure-trust__image {
  background: transparent;
  padding: 0;
  border-radius: 0;
  border: none;
  box-shadow: none;
  margin-bottom: 15px;
}

.infrastructure-trust__image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
}

/* Custom Block (for API Code Showcase) */
.infrastructure-trust__custom-block {
  width: 100%;
  margin-bottom: 15px;
}

.infrastructure-trust__custom-block .api-code-showcase-block {
  margin: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* Stats Bar (3 columns) */
.infrastructure-trust__stats {
  display: flex;
  gap: 0;
  background: #FFFFFF;
  border-radius: 0;
  border: 1px solid #D8D8D8;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.infrastructure-trust__stats .stat-item {
  flex: 1;
  padding: 44px 24px;
  border-right: 1px solid #D8D8D8;
}

.infrastructure-trust__stats .stat-item:last-child {
  border-right: none;
}

.infrastructure-trust__stats .stat-number {



  
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-size: 35px;
  line-height: 30px;
  /* identical to box height, or 86% */
  letter-spacing: -0.01em;

  color: #FF009C;
  margin-bottom: 8px;
  
}

.infrastructure-trust__stats .stat-item p {
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.4;
  color: #5F6368;
  letter-spacing: -0.9px;
  margin: 0;
}

/* Security Text */
.infrastructure-trust__security {
  text-align: center;
  padding: 16px 24px;
  background: #FFFFFF;
  border-radius: 0;
  border: 1px solid #D8D8D8;
  border-top: none;
}

.infrastructure-trust__security h4 {
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 1.5;
  letter-spacing: -0.018em;
  color: #000000;
  margin: 0;
}

.infrastructure-trust__security p {
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.018em;
  color: #5F6368;
  margin: 0;
}

/* Logo Row (5 items - full width) */
.infrastructure-trust__logos {
  display: flex;
  gap: 0;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  width: 100%;
  background: #FFFFFF;
  border: 1px solid #D8D8D8;
  border-top: none;
  padding: 20px 24px;
}

.infrastructure-trust__logos .logo-item {
  flex: 0 0 20%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}

.infrastructure-trust__logos .logo-item:hover {
  opacity: 0.7;
}

.infrastructure-trust__logos img {
  max-height: 64px;
  width: auto;
  display: block;
}

/* Responsive - Infrastructure Trust */
@media (max-width: 1023px) {
  .infrastructure-trust__content {
    flex-direction: column;
    gap: 40px;
  }
  
  .infrastructure-trust__left,
  .infrastructure-trust__right {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
  }
  
  .infrastructure-trust__left {
    padding-right: 0;
  }
}

@media (max-width: 767px) {
  .infrastructure-trust__header h2 {
    font-size: 36px;
  }
  
  .infrastructure-trust__header-buttons {
    flex-direction: column;
    gap: 10px;
  }
  
  .infrastructure-trust__header-buttons .btn-primary,
  .infrastructure-trust__header-buttons .btn-secondary {
    width: 100%;
    text-align: center;
  }
  
  .infrastructure-trust__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .infrastructure-trust__grid .grid-item:last-of-type{
    margin-right: -1px;
  }
  
  .infrastructure-trust__stats {
    flex-direction: row;
    gap: 0;
  }
  
  .infrastructure-trust__stats .stat-item {
    border-right: 1px solid #D8D8D8;
    border-bottom: none;
    padding: 24px 10px;
  }
  
  .infrastructure-trust__stats .stat-item:last-child {
    border-right: none;
  }
  

  .infrastructure-trust__logos img {
    max-height: 42px;
  }
}


/* ============================================
   CTA Testimonials Section
   ============================================ */

.cta-testimonials-section {
  padding: 80px 0;
  background-color: #FAFAFA;
  overflow: hidden;
  border-top: 1px solid #D8D8D8;
}

.cta-testimonials-section .container{
  position: relative;
}

/* Vertical line on left side extending to top and bottom margins */
.cta-testimonials-section .container::before {
  content: '';
  position: absolute;
  left: 0;
  top: -200px; /* Extends to section padding/margin */
  bottom: -200px; /* Extends to section padding/margin */
  width: 1px;
  background-color: #D8D8D8;
  z-index: 10;
}

/* Vertical line on right side extending to top and bottom margins */
.cta-testimonials-section .container::after {
  content: '';
  position: absolute;
  right: 0;
  top: -200px; /* Extends to section padding/margin */
  bottom: -200px; /* Extends to section padding/margin */
  width: 1px;
  background-color: #D8D8D8;
  z-index: 10;
}

/* Full-width lines at top of all container children */
.cta-testimonials-section .container > * {
  position: relative;
}

.cta-testimonials-section .container > *::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  top: 0;
  height: 1px;
  background-color: #D8D8D8;
  z-index: 5;
}

/* Centered Header */
.cta-testimonials__header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 0;
}

.cta-testimonials__header h2 {
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 48px;
  line-height: 1.2;
  color: #000000;
  margin: 0 0 16px 0;
}

.cta-testimonials__header .subtitle {
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.6;
  color: #5F6368;
  margin: 0 0 32px 0;
}

.cta-testimonials__header-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
}

.cta-testimonials__header-buttons .btn-primary,
.cta-testimonials__header-buttons .btn-secondary {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 14px;
  padding: 10px 24px;
  border-radius: 24px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}

.cta-testimonials__header-buttons .btn-primary {
  background: transparent;
  color: #000000;
  border: 2px solid transparent;
  background-image: linear-gradient(white, white), 
                    linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #4facfe 75%, #00f2fe 100%);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  position: relative;
}

.cta-testimonials__header-buttons .btn-primary:hover {
  opacity: 0.8;
}

.cta-testimonials__header-buttons .btn-secondary {
  background-color: transparent;
  color: #000000;
  border: none;
}

.cta-testimonials__header-buttons .btn-secondary:hover {
  opacity: 0.7;
}

/* Features Row (4 items) */
.cta-testimonials__features {
  display: flex;
  gap: 32px;
  justify-content: center;
  align-items: center;
  padding-top:20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.cta-testimonials__features .feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  padding-left: 28px;
}

.cta-testimonials__features .feature-item::before {
  content: '';
  position: absolute;
  left: 0;
  width: 16px;
  height: 11px;
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='11' viewBox='0 0 16 11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M5.29744 10.7131L0.292893 5.7546C-0.0976311 5.36082 -0.0976311 4.72236 0.292893 4.32857C0.683418 3.93478 1.31658 3.93478 1.70711 4.32857L6.00068 8.55347L14.2889 0.295342C14.6794 -0.0984472 15.3126 -0.0984472 15.7031 0.295342C16.0936 0.68913 16.0936 1.32759 15.7031 1.72138L6.69941 10.7085C6.31158 11.0954 5.68777 11.0974 5.29744 10.7131Z' fill='black'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  filter: invert(0);
  transition: filter 0.5s ease;
}

.cta-testimonials__features .feature-icon {
  width: 24px;
  height: 24px;
  display: none;
}

.cta-testimonials__features .feature-item span {
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.5;
  color: #000;
  letter-spacing: -1px;
}

/* Trusted By Text */
.cta-testimonials__trusted {
  text-align: center;
  padding-top:20px;
  margin-bottom: 20px;
}

.cta-testimonials__trusted p {
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.5;
  color: #000000;
  margin: 0;
}

/* Testimonials Grid (3 columns, 2 rows) */
.cta-testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.cta-testimonials__grid .testimonial-card {
  background: #FFFFFF;
  padding: 24px 8px 16px 24px;
  border-radius: 0;
  border: 1px solid #D8D8D8;
  border-right: none;
  border-bottom: none;
  box-shadow: none;
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: flex-end;
}

.cta-testimonials__grid .testimonial-card:nth-child(3n) {
  border-right: 1px solid #D8D8D8;
}

.cta-testimonials__grid .testimonial-card:nth-last-child(-n+3) {
  border-bottom: 1px solid #D8D8D8;
}

/* Left side: Company logo and quote */
.testimonial-card__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

/* Company Logo */
.cta-testimonials__grid .testimonial-logo {
  height: 32px;
  display: flex;
  align-items: center;
}

.cta-testimonials__grid .testimonial-logo img {
  max-height: 32px;
  width: auto;
  display: block;
}

.cta-testimonials__grid .testimonial-logo a {
  display: flex;
  align-items: center;
  transition: opacity 0.3s ease;
}

.cta-testimonials__grid .testimonial-logo a:hover {
  opacity: 0.7;
}

/* Quote */
.cta-testimonials__grid blockquote {
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  font-size: 13px;
  line-height: 1.6;
  color: #212121;
  margin: 0;
  padding: 0;
  border: none;
  flex-grow: 0;
}

/* Right side: Author Info */
.cta-testimonials__grid .testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
  flex-shrink: 0;
  width: 84px;
}

.cta-testimonials__grid .author-photo {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.cta-testimonials__grid .author-info {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.cta-testimonials__grid .author-info strong {
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 11px;
  line-height: 1.4;
  color: #000000;
}

.cta-testimonials__grid .author-info span {
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  font-size: 8px;
  line-height: 1.4;
  color: #5F6368;
}

/* Responsive - CTA Testimonials */
@media (max-width: 1023px) {
  .cta-testimonials__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .cta-testimonials__header h2 {
    font-size: 36px;
  }

  .infrastructure-trust__stats .stat-number{
    font-size: 25px;
  }
  .infrastructure-trust__stats .stat-item p{
    font-size: 14px;
  }

  .container
  .cta-testimonials__header-buttons {
    flex-direction: column;
    gap: 10px;
  }
  
  .cta-testimonials__header-buttons .btn-primary,
  .cta-testimonials__header-buttons .btn-secondary {
    width: 100%;
    text-align: center;
  }
  
  .cta-testimonials__features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  
  .cta-testimonials__grid {
    grid-template-columns: 1fr;
    margin: 0 -30px;
  }
  .infrastructure-trust__right{
    margin-left: -30px;
    margin-right: -30px;
  }
  .infrastructure-trust__image{
    padding: 0 10px;
  }
  .infrastructure-trust__left{
    padding: 0;
  }
}

.dark-mode footer,
.dark-mode .cta-testimonials-section,
.dark-mode .product-feature-section__media img,
.dark-mode .product-feature-section__media .custom-block-wrapper,
.dark-mode .product-feature-section__caption-row,
.dark-mode .product-feature-section {
  background-color: #000000;
}


.dark-mode .sponsor-logo-item, 
.dark-mode .sponsor-logos-section {
  border-color: #404040!important;
  background-color: #151515!important;
}


.dark-mode .api-code-showcase-block,
.dark-mode .api-code-showcase-block *{
  background-color: #2b2b2b!important;
}
.variant-b-homepage .product-feature-section h2 strong, 
.variant-b-homepage .product-feature-section h2 b,
.variant-b-homepage .api-code-line code .string{
  color: #1ABC9C;
}
.dark-mode .infrastructure-trust-section,
.dark-mode .product-feature-section__caption-row strong, 
.dark-mode .product-feature-section__caption-row b,
.dark-mode .product-feature-section__text > p, 
.dark-mode .product-feature-section__text .body-copy, 
.dark-mode .product-feature-section__text .body-copy > p,
.dark-mode .product-feature-section__text h2, 
.dark-mode .product-feature-section h2 p{
  color: #ffffff!important;
}

.dark-mode .product-feature-section__buttons .btn-primary{
  background-color: #ffffff;
  color: #000000;
}

.dark-mode .infrastructure-trust__header-buttons .btn-secondary,
.dark-mode .cta-testimonials__header h2,
.dark-mode .cta-testimonials__header .subtitle,
.dark-mode .infrastructure-trust__grid .grid-item h4,
.dark-mode .infrastructure-trust__stats .stat-item p,
.dark-mode .infrastructure-trust__security h4,
.dark-mode .infrastructure-trust__security p,
.dark-mode .infrastructure-trust__header h2,
.dark-mode .the-infrastructure-trusted-by-the-worlds-best-builders,
.dark-mode .product-feature-section__buttons .btn-secondary{
  color: #ffffff;
}

.dark-mode .product-feature-section.line-start .product-feature-section__media::after, 
.dark-mode .product-feature-section.line-continue .product-feature-section__media::after, 
.dark-mode .product-feature-section.line-end .product-feature-section__media::after,
.dark-mode .cta-testimonials-section .container::after,
.dark-mode .cta-testimonials-section .container::before,
.dark-mode .product-feature-section.line-start .product-feature-section__media::before, 
.dark-mode .product-feature-section.line-continue .product-feature-section__media::before, 
.dark-mode .product-feature-section.line-end .product-feature-section__media::before{
  background-color: #2b2b2b;
}

.dark-mode .cta-testimonials__grid .testimonial-card,
.dark-mode .infrastructure-trust__stats,
.dark-mode .infrastructure-trust__security,
.dark-mode .infrastructure-trust__logos,
.dark-mode .infrastructure-trust-section{
  background-color: #000000;
}

.variant-b-homepage .infrastructure-trust__stats .stat-number{
  color: #1EA482;
}
.dark-mode .infrastructure-trust__grid .grid-item p{
  color: #C4C4C4
}
.dark-mode .cta-testimonials__grid .author-info span,
.dark-mode .cta-testimonials__grid .author-info strong,
.dark-mode .cta-testimonials__grid blockquote{
  color: #F5F5F5;
}
.dark-mode .cta-testimonials__header-buttons .btn-primary,
.dark-mode .infrastructure-trust__header-buttons .btn-primary {
  background-image: none;
  background-color: #ffffff;
  color: #000000;
}
.dark-mode .cta-testimonials__header-buttons .btn-secondary{
  background-color: #000000;
  color: #ffffff;
}

.dark-mode .cta-testimonials__trusted p,
.dark-mode .cta-testimonials__features .feature-item span,
.dark-mode .infrastructure-trust__intro h3{
  color: #ffffff;
}

.dark-mode .cta-testimonials__features .feature-item::before {
  filter: invert(1);
  transition: filter 0.5s ease;
}
.infrastructure-trust__intro p {
  color: #c4c4c4;
}




.dark-mode .cta-testimonials-section .container > *::before ,
.dark-mode .product-feature-section.line-start .product-feature-section__media::before,
.dark-mode .product-feature-section.line-continue .product-feature-section__media::before,
.dark-mode .product-feature-section.line-end .product-feature-section__media::before,
.dark-mode .product-feature-section.line-start .product-feature-section__media::after,
.dark-mode .product-feature-section.line-continue .product-feature-section__media::after,
.dark-mode .product-feature-section.line-end .product-feature-section__media::after,
.dark-mode .cta-testimonials-section .container::before ,
.dark-mode .cta-testimonials-section .container::after {
  content: '';
  background-color: #2B2B2B;
}

.dark-mode .product-feature-section__media img,
.dark-mode .product-feature-section__media .custom-block-wrapper,
.dark-mode .product-feature-section__caption-row,
.dark-mode .infrastructure-trust__logos,
.dark-mode .infrastructure-trust__security,
.dark-mode .infrastructure-trust__stats ,
.dark-mode .infrastructure-trust__stats .stat-item,
.dark-mode .cta-testimonials-section,
.dark-mode .cta-testimonials__grid .testimonial-card ,
.dark-mode .cta-testimonials__grid .testimonial-card:nth-child(3n) ,
.dark-mode .cta-testimonials__grid .testimonial-card:nth-last-child(-n+3) {
  border-color: #2B2B2B;
}

/* Dark mode - Icon Grid */
.dark-mode .product-feature-section__media .icon-grid {
  background: #000000;
  border-color: #2B2B2B;
}

.dark-mode .product-feature-section__media .icon-grid__cell {
  border-color: #2B2B2B;
}