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

/* Manrope font loaded via shared google-fonts-manrope dependency in enqueue-styles.php */

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

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

/* ============================================
   Font Antialiasing
   ============================================ */

.product-feature-section,
.infrastructure-trust-section,
.cta-testimonials-section {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

.product-feature-section,
.product-feature-section__media,
.product-feature-section__media img,
.product-feature-section__media .custom-block-wrapper,
.product-feature-section__media .dual-media,
.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 {
  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 - */
.product-feature-section h2 strong,
.product-feature-section h2 b {
  font-weight: 700;
  color: #0B9B8A;
}

/* 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;
  line-height: 1.6 !important;
  color: #000 !important;
  margin: 0 !important;
}

/* 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: 'Inter', 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;
}

/* Keep the same colors on hover, slight bounce instead of recolor. */
@keyframes nylas-btn-bounce {
  0%   { transform: translateY(0); }
  30%  { transform: translateY(-4px); }
  55%  { transform: translateY(0); }
  75%  { transform: translateY(-2px); }
  100% { transform: translateY(0); }
}

.product-feature-section__buttons .btn-primary:hover {
  background-color: #000000;
  color: #ffffff;
  animation: nylas-btn-bounce .45s ease;
}

/* Secondary Button (Transparent, border) - Smaller and more rounded */
.product-feature-section__buttons .btn-secondary {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 14px;
  padding: 5px;
  background-color: transparent;
  color: #000000;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  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);
}

/* Arrow icon for secondary buttons */
.btn-secondary .btn-arrow-icon {
  flex-shrink: 0;
  width: 14px;
  height: 12px;
  transition: transform 0.2s ease;
}

.btn-secondary:hover .btn-arrow-icon {
  transform: translateX(3px);
}

/* 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 - only for direct image children */
.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;
  padding: 8px;
}

/* 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;
}

/* Dual Media (Images/Videos side by side) */
.product-feature-section__media .dual-media {
  display: flex;
  gap: 0px;
  align-items: stretch;
  background: #FFFFFF;
  border: 1px solid #D8D8D8;
}

.product-feature-section__media .dual-media__item {
  flex: 1;
  width: 50%;
  padding: 8px;
  display: flex;
  flex-direction: column;
}

.product-feature-section__media .dual-media__item:first-child {
  padding-right: 3px;
}

.product-feature-section__media .dual-media__item:last-child {
  padding-left: 3px;
}

.product-feature-section__media .dual-media__item img,
.product-feature-section__media .dual-media__item video {
  width: 100%;
  height: 100%;
  display: block;
  background: #FFFFFF;
  object-fit: cover;
}

/* Dual Media Video Wrapper with Lazy Loading */
.product-feature-section__media .dual-media__video-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  flex: 1;
  overflow: hidden;
  background: #FFFFFF;
}

.product-feature-section__media .dual-media__poster {
  width: 100%;
  height: auto;
  display: block;
  transition: opacity 0.5s ease;
  padding: 0;
  border: none;
  border-radius: 0;
}

.product-feature-section__media .dual-media__poster.hidden {
  opacity: 0;
  pointer-events: none;
}

.product-feature-section__media .dual-media__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease;
  border: none;
  padding: 0;
  background: transparent;
}

.product-feature-section__media .dual-media__video.loaded {
  opacity: 1;
}

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

.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 !important;
  max-height: 50px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 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;
  border-left: 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;
  font-size: 20px;
}

/* 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;
  font-family: 'Manrope', sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 800;
  line-height: 40px;
  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;
  font-family: 'Manrope', sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 800;
  line-height: 40px;
  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: 20px;
  /* Control all elements of your email data to make it AI-ready */
  font-style: normal;
  font-weight: 400;
  line-height: 40px;
  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: 9;
}

/* 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%;
}

/* ============================================
   SECTION SNAPPING (Desktop only)
   Each product-feature-section fills the viewport
   and content is vertically centered.
   Snap behavior is driven by JS (wheel events).
   ============================================ */

@media screen and (min-width: 901px) {
  .product-feature-section {
    /* min-height: 100vh; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
  }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media screen and (max-width: 1100px) {
  .product-feature-section.line-continue .product-feature-section__media::after {
    z-index: 8;
  }
}

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

  .product-feature-section__media {
    flex: 0 0 60%;
    max-width: 60%;
  }
}

@media screen and (max-width: 1024px) {
  .product-feature-section__text {
    flex: 0 0 40%;
  }

  .product-feature-section__media {
    flex: 0 0 60%;
    max-width: 60%;
  }

  .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%;
    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__media {
    padding-bottom: 40px;
  }

  .product-feature-section h2 {
    font-size: 32px;
  }

  .product-feature-section h2 p {
    font-size: 30px !important;
  }


  .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;
    min-height: 80px;
  }

  .product-feature-section__media .icon-grid__cell img {
    max-width: 45px !important;
    max-height: 40px !important;
  }

  /* Dual Media stacked on mobile */
  .product-feature-section__media .dual-media {
    flex-direction: column;
    gap: 16px;
  }

  .product-feature-section__media .dual-media__item {
    width: 100%;
  }



  .product-feature-section__media .icon-grid {
    width: 100%;
  }
}

/* ============================================
   Calendar Widget (Product Feature Section)
   ============================================ */

.calendar-widget {
  display: flex;
  gap: 0;
  background: #FFFFFF;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.calendar-widget__left {
  min-width: 0;
  flex: 1;
  padding: 8px;
  padding-right: 4px;
  background: #FFFFFF;
  border-top: 1px solid #D8D8D8;
  border-bottom: 1px solid #D8D8D8;
  border-left: 1px solid #D8D8D8;
}

.calendar-widget__right {
  flex: 1;
  padding: 8px;
  padding-left: 4px;
  background: #FFFFFF;
  border-top: 1px solid #D8D8D8;
  border-bottom: 1px solid #D8D8D8;
  border-right: 1px solid #D8D8D8;
  min-width: 0;
}

.calendar-widget__left-inner {
  border: 1px solid #D8D8D8;
  padding: 14px;
  background: #FFFFFF;
  height: 100%;
}

.calendar-widget__right-inner {
  border: 1px solid #D8D8D8;
  padding: 14px;
  background: #FFFFFF;
  height: 100%;
}

.calendar-widget__title {
  font-family: 'Poppins', sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 150%;
  color: #000000;
  margin: 0 0 14px 0;
  flex: none;
  order: 0;
  flex-grow: 0;
}

.calendar-widget__tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid #E5E7EB;
  padding-bottom: 8px;
  margin-bottom: 16px;
  width: 100%;
}

.calendar-widget__tabs .calendar-widget__tab {
  flex: 1;
  text-align: center;
}

.calendar-widget__tab {
  font-family: 'Poppins', sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  line-height: 150%;
  color: #5A5A5B;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  position: relative;
  transition: color 0.2s ease;
}

.calendar-widget__tab:hover {
  color: #3A3A3B;
}

.calendar-widget__tab.active {
  color: #0B9B8A;
}

.calendar-widget__tab.active::after {
  content: '';
  position: absolute;
  bottom: -13px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #0B9B8A, #FF02FF);
  border-radius: 2px;
}

.calendar-widget__events-title {
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #212121;
  margin: 0 0 10px 0;
  padding-left: 12px;
}

.calendar-widget__events-list {
  display: flex;
  flex-direction: column;
  gap: 0px;
}

.calendar-widget__event {
  display: flex;
  align-items: flex-start;
  padding: 10px;
  padding-left: 14px;
  background: #F9FAFB;
  border-radius: 12px;
  position: relative;
}

.calendar-widget__event::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 10px;
  bottom: 10px;
  width: 3px;
  border-radius: 6px;
  background: #0B9B8A;
}

.calendar-widget__event--magenta::before {
  background: #0B9B8A;
}

.calendar-widget__event--blue::before {
  background: #0175D5;
}

.calendar-widget__event--pink::before {
  background: #EC4899;
}

.calendar-widget__event-content {
  flex: 1;
}

.calendar-widget__event-title {
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #2B2B2B;
  margin: 0 0 4px 0;
}

.calendar-widget__event-meta {
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #5A5A5B;
  margin: 0;
}

.calendar-widget__no-events {
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  color: #9CA3AF;
  text-align: center;
  padding: 16px;
  margin: 0;
}

/* Right Panel - Form Styles */
.calendar-widget__form {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.calendar-widget__input {
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  color: #374151;
  padding: 8px 12px;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  background: #FFFFFF;
  width: 100%;
  box-sizing: border-box;
}

.calendar-widget__input--title {
  font-size: 16px;
  font-weight: 500;
  padding: 10px;
}

.calendar-widget__input::placeholder {
  color: #9CA3AF;
}

.calendar-widget__row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.calendar-widget__row--icon {
  padding: 6px 0;
}

.calendar-widget__row--icon svg {
  flex-shrink: 0;
}

.calendar-widget__row--icon .calendar-widget__input {
  flex: 1;
  border: none;
  padding: 8px 0;
}

.calendar-widget__field {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.calendar-widget__field--icon svg {
  flex-shrink: 0;
}

.calendar-widget__date-inputs {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  background: #FFFFFF;
}

.calendar-widget__date-value {
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  color: #374151;
}

.calendar-widget__checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  color: #374151;
  cursor: pointer;
  margin-left: auto;
}

.calendar-widget__checkbox input {
  width: 16px;
  height: 16px;
  border: 1px solid #D1D5DB;
  border-radius: 4px;
}

.calendar-widget__time-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.calendar-widget__time-input {
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  color: #374151;
  padding: 7px 10px;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  background: #FFFFFF;
}

.calendar-widget__time-separator {
  color: #9CA3AF;
}

.calendar-widget__repeat {
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  color: #374151;
  margin-left: auto;
  padding: 7px 10px;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  background: #FFFFFF;
}

.calendar-widget__meeting {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  padding: 7px 10px;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  background: #FFFFFF;
}

.calendar-widget__meeting img {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.calendar-widget__meeting span {
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  color: #374151;
}

.calendar-widget__notetaker {
  padding: 8px 0;
  border-top: 1px solid #E5E7EB;
}

.calendar-widget__notetaker>span:first-child {
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  color: #374151;
}

.calendar-widget__toggle {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  margin-left: auto;
}

.calendar-widget__toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.calendar-widget__toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #3B82F6;
  border-radius: 24px;
  transition: 0.3s;
}

.calendar-widget__toggle-slider::before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  border-radius: 50%;
  transition: 0.3s;
  transform: translateX(20px);
}

.calendar-widget__toggle input:not(:checked)+.calendar-widget__toggle-slider {
  background-color: #D1D5DB;
}

.calendar-widget__toggle input:not(:checked)+.calendar-widget__toggle-slider::before {
  transform: translateX(0);
}

.calendar-widget__toggle-label {
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  color: #3B82F6;
  margin-left: 12px;
}

.calendar-widget__organizer {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.calendar-widget__organizer span:first-child {
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
}

.calendar-widget__organizer-meta {
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  color: #9CA3AF;
}

.calendar-widget__submit {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #FFFFFF;
  background: #3B82F6;
  border: none;
  border-radius: 8px;
  padding: 14px 24px;
  cursor: default;
  pointer-events: none;
  user-select: none;
  margin-top: 8px;
}

/* Calendar Widget Responsive */
@media (max-width: 991px) {
  .calendar-widget {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }

  .calendar-widget__left {
    border-right: 1px solid #D8D8D8;
  }

  .calendar-widget__right {
    overflow: hidden;
  }

  .calendar-widget__right-inner {
    overflow: hidden;
  }

  .calendar-widget__tabs {
    gap: 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .calendar-widget__tabs::-webkit-scrollbar {
    display: none;
  }

  .calendar-widget__tab {
    white-space: nowrap;
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .calendar-widget {
    display: flex;
    flex-direction: column;
    border: 1px solid #D8D8D8;
  }

  .calendar-widget__left,
  .calendar-widget__right {
    border: none !important;
    padding: 8px;
  }

  .calendar-widget__left-inner,
  .calendar-widget__right-inner {
    padding: 16px;
  }

  .calendar-widget__title {
    font-size: 20px;
  }

  .calendar-widget__tabs {
    gap: 12px;
  }

  .calendar-widget__row {
    flex-wrap: nowrap;
  }

  .calendar-widget__time-group {
    flex-shrink: 0;
  }

  .calendar-widget__repeat {
    flex-shrink: 0;
    margin-left: 8px;
  }

  .calendar-widget__checkbox {
    margin-left: auto;
  }
}


/* ============================================
   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: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 14px;
  padding: 10px 24px;
  border-radius: 24px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.infrastructure-trust__header-buttons .btn-primary {
  background: #000000;
  color: #ffffff;
  border: 1.5px solid #000000;
  position: relative;
}

.infrastructure-trust__header-buttons .btn-primary:hover {
  opacity: 1;
  background: #000000;
  color: #ffffff;
  border-color: #000000;
  animation: nylas-btn-bounce .45s ease;
}

.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;
  margin: 0;
  letter-spacing: -1px;
}

.infrastructure-trust__intro p {
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.6;
  color: #5F6368;
  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: 12px !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* Preserve rainbow border when enabled (2px padding shows the gradient) */
.infrastructure-trust__custom-block .api-code-showcase-block.has-rainbow-border {
  padding: 2px !important;
}

/* 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', sans-serif !important;
  font-style: normal;
  font-weight: 700;
  font-size: 35px;
  line-height: 30px;
  /* identical to box height, or 86% */
  color: #0B9B8A;
  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;
  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;
  color: #000000;
  margin: 0;
}

.infrastructure-trust__security p {
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  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__grid .grid-item {
    padding-top: 60px;
  }

  .infrastructure-trust__header-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .product-feature-section__buttons a,
  .cta-testimonials__header-buttons a,
  .infrastructure-trust__header-buttons a {
    display: flex;
    justify-content: center;
  }

  .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: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 14px;
  padding: 10px 24px;
  border-radius: 24px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.cta-testimonials__header-buttons .btn-primary {
  background: #000000;
  color: #ffffff;
  border: 1.5px solid #000000;
  position: relative;
}

.cta-testimonials__header-buttons .btn-primary:hover {
  opacity: 1;
  background: #000000;
  color: #ffffff;
  border-color: #000000;
  animation: nylas-btn-bounce .45s ease;
}

.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;
}

/* 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;
  align-self: baseline;
}

/* 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;
  white-space: nowrap;
}

.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__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 image switching for logo sections */
.dark-mode-img {
  display: none !important;
}

.dark-mode .light-mode-img {
  display: none !important;
}

.dark-mode .dark-mode-img {
  display: block !important;
}


.dark-mode .api-code-showcase-block:not(.has-rainbow-border),
.dark-mode .api-code-showcase-block:not(.has-rainbow-border) * {
  background-color: #2b2b2b !important;
}

/* Preserve rainbow gradient border in dark mode */
.dark-mode .api-code-showcase-block.has-rainbow-border {
  background: linear-gradient(90deg,
      #ff0080 0%,
      #ff4d4d 12%,
      #ff9500 25%,
      #ffcc00 37%,
      #00ff88 50%,
      #00bfff 62%,
      #8000ff 75%,
      #ff0080 87%,
      #ff0080 100%) !important;
}

.dark-mode .api-code-showcase-block.has-rainbow-border .api-code-tabs,
.dark-mode .api-code-showcase-block.has-rainbow-border .api-code-tabs-nav,
.dark-mode .api-code-showcase-block.has-rainbow-border .api-code-pre {
  background-color: #212121 !important;
}

.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;
}

.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-color: #ffffff;
  color: #000000;
  border-color: #ffffff;
}

.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;
}

.dark-mode .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,
.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 - Invert dark logos / icons so they stay visible */
/* .dark-mode .product-feature-section__media .icon-grid__cell img,
.dark-mode .infrastructure-trust__logos img,
.dark-mode .infrastructure-trust__grid .grid-item__icon img,
.dark-mode .cta-testimonials__grid .testimonial-logo img:not(.light-mode-img):not(.dark-mode-img) {
  filter: invert(1) brightness(1.1);
  transition: filter 0.5s ease;
} */

/* Don't invert dedicated dark mode images - they're already designed for dark backgrounds */
.dark-mode .dark-mode-img {
  filter: none !important;
}

/* 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;
}

/* Dark mode - Dual Media */
.dark-mode .product-feature-section__media .dual-media {
  background: #000000;
  border-color: #2B2B2B;
}

.dark-mode .product-feature-section__media .dual-media__item img,
.dark-mode .product-feature-section__media .dual-media__item video {
  background: #000000;
  border-color: #2B2B2B;
}

.dark-mode .product-feature-section__media .dual-media__video-wrapper {
  background: #000000;
  border-color: #2B2B2B;
}

/* Dark mode - Calendar Widget */
.dark-mode .calendar-widget {
  background: #151515;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.dark-mode .calendar-widget__left {
  background: transparent;
  border-color: #2B2B2B;
}

.dark-mode .calendar-widget__right {
  background: transparent;
  border-color: #2B2B2B;
}

.dark-mode .calendar-widget__left-inner {
  background: transparent;
  border-color: #2B2B2B;
}

.dark-mode .calendar-widget__right-inner {
  background: transparent;
  border-color: #2B2B2B;
}

.dark-mode .calendar-widget__title {
  color: #FFFFFF;
}

.dark-mode .calendar-widget__events-title {
  color: #FFFFFF;
}

.dark-mode .calendar-widget__event-title {
  color: #C4C4C4;
}

.dark-mode .calendar-widget__tab {
  color: #8E8E8E;
}

.dark-mode .calendar-widget__tab:hover {
  color: #AAAAAA;
}

.dark-mode .calendar-widget__tab.active {
  color: #FFFFFF;
}

.dark-mode .calendar-widget__tab.active::after {
  background: #FFFFFF;
}

.dark-mode .calendar-widget__tabs {
  border-bottom-color: #2B2B2B;
}

.dark-mode .calendar-widget__event {
  background: transparent;
}

.dark-mode .calendar-widget__event-meta {
  color: #D8D8D8;
}

.dark-mode .calendar-widget__input {
  background: #252525;
  border-color: #3B3B3B;
  color: #FFFFFF;
}

.dark-mode .calendar-widget__input::placeholder {
  color: #6B7280;
}

.dark-mode .calendar-widget__date-inputs,
.dark-mode .calendar-widget__time-input,
.dark-mode .calendar-widget__repeat,
.dark-mode .calendar-widget__meeting {
  background: #252525;
  border-color: #3B3B3B;
  color: #FFFFFF;
}

.dark-mode .calendar-widget__date-value,
.dark-mode .calendar-widget__meeting span,
.dark-mode .calendar-widget__organizer span:first-child,
.dark-mode .calendar-widget__notetaker>span:first-child,
.dark-mode .calendar-widget__checkbox span {
  color: #FFFFFF;
}

.dark-mode .calendar-widget__notetaker {
  border-top-color: #2B2B2B;
}

.dark-mode .calendar-widget__organizer-meta,
.dark-mode .calendar-widget__no-events {
  color: #6B7280;
}

@media (max-width: 991px) {
  .dark-mode .calendar-widget__left {
    border-right-color: #2B2B2B;
  }
}

@media (max-width: 768px) {
  .dark-mode .calendar-widget {
    border: 1px solid #2B2B2B;
  }

  .dark-mode .calendar-widget__left,
  .dark-mode .calendar-widget__right {
    border: none !important;
  }
}



/***.variant-b-homepage**/
/* .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;
}
.variant-b-homepage .infrastructure-trust__stats .stat-number{
  color: #1EA482;
} */


.home-page-presentation__code {
  z-index: 9;
}


/**homepage codeblock**/

/* home-page-presentation: h1, p, buttons from hero-cta-banner data */
.home-page-presentation .home-page-presentation__title h1,
.home-page-presentation .home-page-presentation__title h2,
.home-page-presentation .home-page-presentation__title h3 {
  font-family: 'Manrope', sans-serif !important;
  font-style: normal !important;
  font-weight: 500 !important;
  font-size: 64px !important;
  color: #FFFFFF !important;
  margin: 0 0 20px 0 !important;
  line-height: 1.15 !important;
  -webkit-text-fill-color: #FFFFFF !important;
}

.home-page-presentation .home-page-presentation__subtitle,
.home-page-presentation .home-page-presentation__subtitle p {
  font-family: 'Manrope', sans-serif !important;
  font-style: normal !important;
  font-weight: 400 !important;
  font-size: 18px !important;
  line-height: 28px !important;
  color: #FFFFFF !important;
  margin: 0 auto 50px !important;
  max-width: 600px !important;
}

/* ============================================
   Homepage Nav Bar Buttons (border-radius & bg)
   Applies to both :not(.sticky) and .sticky states
   NOTE: li#menu-item-12073 is a WP-generated ID — fragile but
   matches the convention used across other block stylesheets.
   ============================================ */

@media screen and (min-width: 1024px) {
  .menu-item-12073 {
    border-radius: 50px !important;
  }
}


/* hero-cta-banner__buttons */
.home-page-presentation .home-page-presentation__buttons,
.home-page-presentation__buttons {
  display: flex;
  gap: 26px;
  justify-content: center;
  flex-wrap: wrap;
}

/* hero-cta-banner__btn - base */
.home-page-presentation .home-page-presentation__button a,
.home-page-presentation__buttons .home-page-presentation__button a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 35px;
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
  text-decoration: none;
  border-radius: 55px !important;
  transition: all 0.2s ease;
  cursor: pointer;
}

/* hero-cta-banner__btn--primary */
.home-page-presentation .home-page-presentation__button--filled a,
.home-page-presentation__buttons .home-page-presentation__button--filled a {
  background: #ffffff;
  color: #000000;
  border: none;
  border-radius: 55px !important;
}

.home-page-presentation .home-page-presentation__button--filled a:hover,
.home-page-presentation__buttons .home-page-presentation__button--filled a:hover {
  background: #ffffff;
  color: #000000;
  animation: nylas-btn-bounce .45s ease;
}

/* hero-cta-banner__btn--secondary */
.home-page-presentation .home-page-presentation__button:not(.home-page-presentation__button--filled) a,
.home-page-presentation__buttons .home-page-presentation__button:not(.home-page-presentation__button--filled) a {
  background: #000000;
  color: #ffffff;
  border: none;
  border-radius: 55px !important;
}

.home-page-presentation .home-page-presentation__button:not(.home-page-presentation__button--filled) a:hover,
.home-page-presentation__buttons .home-page-presentation__button:not(.home-page-presentation__button--filled) a:hover {
  background: #222222;
  color: #ffffff;
}

@media (max-width: 1024px) {

  .home-page-presentation .home-page-presentation__title h1,
  .home-page-presentation .home-page-presentation__title h2,
  .home-page-presentation .home-page-presentation__title h3 {
    font-size: 48px !important;
  }

  .home-page-presentation .home-page-presentation__subtitle,
  .home-page-presentation .home-page-presentation__subtitle p {
    font-size: 17px !important;
    max-width: 570px;
  }
}

@media (max-width: 768px) {

  .home-page-presentation .home-page-presentation__title h1,
  .home-page-presentation .home-page-presentation__title h2,
  .home-page-presentation .home-page-presentation__title h3 {
    font-size: 36px !important;
  }

  .home-page-presentation .home-page-presentation__subtitle,
  .home-page-presentation .home-page-presentation__subtitle p {
    font-size: 16px !important;
    line-height: 24px !important;
  }

  .home-page-presentation .home-page-presentation__buttons {
    flex-direction: column;
  }

  .home-page-presentation .home-page-presentation__button a {
    width: 100%;
  }
}

@media (max-width: 480px) {

  .home-page-presentation .home-page-presentation__title h1,
  .home-page-presentation .home-page-presentation__title h2,
  .home-page-presentation .home-page-presentation__title h3 {
    font-size: 32px !important;
  }

  .home-page-presentation .home-page-presentation__subtitle,
  .home-page-presentation .home-page-presentation__subtitle p {
    font-size: 15px !important;
  }
}




.main-header:not(.sticky) .menu-item-12073 {
  border: black;
}

.main-header:not(.sticky) .menu-header_additional_menu-container+a.button-link {
  background: white !important;
  color: black;
  border-radius: 50px;
}



.main-header .menu-header_additional_menu-container+a.button-link {
  border-radius: 50px;
}





/* ============================================
   Homepage Nav Bar Buttons (border-radius & bg)
   Applies to both :not(.sticky) and .sticky states
   NOTE: li#menu-item-12073 is a WP-generated ID — fragile but
   matches the convention used across other block stylesheets.
   ============================================ */

@media screen and (min-width: 1024px) {
  .menu-item-12073 {
    border-radius: 50px !important;
  }
}