/* ========================================
   NEW LANDING PAGE STYLES
   Mobile-first hero section with video background
   Requires: header.css (for variables)
   ======================================== */

/* Header colors: Uses default dark text theme from header.css */
/* No overrides needed - dark text is now the default */

/* ========================================
   HERO VIDEO SECTION
   Full-screen hero with video background
   ======================================== */

.hero-video-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 40px;
  margin-top: calc(var(--header-height) * -1);
  overflow: hidden;
}

/* Video Background Container */
.hero-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Video Elements */
.hero-video {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
}

/* Pre-reserve video dimensions to prevent CLS */
.hero-video--mobile {
  display: block;
  aspect-ratio: 9 / 16;
}

.hero-video--desktop {
  display: none;
  aspect-ratio: 16 / 9;
}


/* Content Container */
.hero-video-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}


/* ----------------------------------------
   Trust Rating Badge (Top)
   Glassmorphic badge with platform icons + rating
   ---------------------------------------- */

.hero-trust-badge {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(239, 246, 255, 0.5); /* bg-blue-50/50 */
  border-radius: 40px;
  outline: 1.25px solid #ffffff;
  outline-offset: -1.25px;
  backdrop-filter: blur(77.5px);
  -webkit-backdrop-filter: blur(77.5px);
}

/* Platform Icons Container */
.hero-trust-platforms {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Platform Icon */
.hero-trust-platform {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  object-fit: contain;
}

/* Rating Container */
.hero-trust-rating {
  display: flex;
  align-items: center;
  gap: 4px;
}

.hero-trust-star {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  object-fit: contain;
}

.hero-trust-score {
  font-size: 14px;
  font-weight: 700;
  color: #000000;
  line-height: 1;
}

.hero-trust-reviews {
  font-size: 12px;
  font-weight: 500;
  color: #737373;
  line-height: 1;
}


/* ----------------------------------------
   Hero Headlines
   ---------------------------------------- */

.hero-video-headline {
  font-size: 32px;
  font-weight: 400;
  line-height: 1.15;
  color: var(--color-text);
  margin: 0;
  max-width: 600px;
}

.hero-video-subheadline-wrap {
  position: relative;
}

.hero-video-subheadline {
  font-size: 24px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-text-muted);
  margin: 0;
  max-width: 600px;
}

/* Decorative Elements - Hidden on mobile, shown on desktop */
.hero-handwritten-arrow,
.hero-brand-element {
  display: none;
}

@media (min-width: 992px) {
  .hero-handwritten-arrow {
    display: block;
    position: absolute;
    bottom: -65px;
    inset-inline-start: -67px;
    pointer-events: none;
  }

  .hero-brand-element {
    display: block;
    position: absolute;
    top: -36px;
    inset-inline-start: -178px;
    pointer-events: none;
  }

  /* RTL: Flip handwritten arrow */
  [dir="rtl"] .hero-handwritten-arrow {
    transform: scaleX(-1);
  }

  /* RTL: Adjust brand element position */
  [dir="rtl"] .hero-brand-element {
    top: 36px;
  }
}


/* ----------------------------------------
   CTA Buttons
   ---------------------------------------- */

.hero-video-ctas {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 280px;
  margin-top: 8px;
}

/* CTA buttons use unified .cta-btn from components.css */


/* ----------------------------------------
   Trust Features (3 checkmarks)
   ---------------------------------------- */

.hero-trust-features {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}

.hero-trust-feature {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-trust-feature-icon {
  width: 24px;
  height: 24px;
  padding: 3px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 24px;
  border: 0.75px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-trust-feature-icon svg {
  width: 16px;
  height: 16px;
  color: var(--color-primary);
}

.hero-trust-feature-text {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-primary);
}


/* ----------------------------------------
   Trusted By Section (Logos)
   ---------------------------------------- */

.hero-trusted-by {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: 32px;
  width: 100%;
}

.hero-trusted-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
}

/* Logos Carousel */
.hero-trusted-by .trusted-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 1) 10%,
    rgba(0, 0, 0, 1) 90%,
    rgba(0, 0, 0, 0.3) 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 1) 10%,
    rgba(0, 0, 0, 1) 90%,
    rgba(0, 0, 0, 0.3) 100%
  );
}

.hero-trusted-by .trusted-carousel-track {
  display: flex;
  align-items: center;
  gap: 4px;
  width: max-content;
  animation: trusted-scroll 60s linear infinite;
}

/* Pause on hover (desktop) */
@media (hover: hover) {
  .hero-trusted-by .trusted-carousel:hover .trusted-carousel-track {
    animation-play-state: paused;
  }
}

.hero-trusted-by a.trusted-logo-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  text-decoration: none;
}

.hero-trusted-by .trusted-logo-img {
  height: 100%;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.hero-trusted-by .trusted-logo-item:hover .trusted-logo-img {
  filter: grayscale(0%);
  opacity: 1;
}

/* Infinite scroll animation */
@keyframes trusted-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* RTL: Reverse scroll direction */
@keyframes trusted-scroll-rtl {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(50%);
  }
}

[dir="rtl"] .hero-trusted-by .trusted-carousel-track {
  animation-name: trusted-scroll-rtl;
}


/* ========================================
   TABLET BREAKPOINT (768px+)
   ======================================== */

@media (min-width: 768px) {
  .hero-video-section {
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: 60px;
  }

  .hero-video-inner {
    gap: 28px;
  }

  /* Trust Badge */
  .hero-trust-badge {
    padding: 4px 8px;
    gap: 12px;
  }

  .hero-trust-platform {
    width: 24px;
    height: 24px;
  }

  .hero-trust-star {
    width: 16px;
    height: 16px;
  }

  .hero-trust-score {
    font-size: 15px;
  }

  .hero-trust-reviews {
    font-size: 13px;
  }

  /* Headlines */
  .hero-video-headline {
    font-size: 48px;
    max-width: 700px;
  }

  .hero-video-subheadline {
    font-size: 20px;
    max-width: 560px;
  }

  /* CTAs - Side by side */
  .hero-video-ctas {
    flex-direction: row;
    max-width: none;
    width: auto;
  }

  /* Trust Features - Row layout */
  .hero-trust-features {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
  }

  .hero-trust-feature-text {
    font-size: 14px;
  }

  /* Trusted By */
  .hero-trusted-by {
    gap: 24px;
    margin-top: 40px;
  }

  .hero-trusted-title {
    font-size: 14px;
  }

  .hero-trusted-by .trusted-carousel-track {
    gap: 4px;
  }

  .hero-trusted-by .trusted-logo-img {
    max-width: 140px;
  }
}


/* ========================================
   DESKTOP BREAKPOINT (992px+)
   ======================================== */

@media (min-width: 992px) {
  .hero-video-section {
    padding-top: calc(var(--header-height) + 80px);
    padding-bottom: 80px;
  }

  /* Video swap */
  .hero-video--mobile {
    display: none;
  }

  .hero-video--desktop {
    display: block;
  }

  .hero-video-inner {
    gap: 32px;
  }

  /* Trust Badge */
  .hero-trust-badge {
    padding: 4px 8px;
    gap: 12px;
  }

  .hero-trust-platforms {
    gap: 10px;
  }

  .hero-trust-platform {
    width: 28px;
    height: 28px;
  }

  .hero-trust-score {
    font-size: 16px;
  }

  .hero-trust-reviews {
    font-size: 14px;
  }

  /* Headlines */
  .hero-video-headline {
    font-size: 80px;
    max-width: 978px;
  }

  .hero-video-subheadline {
    font-size: 24px;
    max-width: 572px;
  }

  /* Trust Features */
  .hero-trust-features {
    gap: 32px;
    margin-top: 20px;
  }

  .hero-trust-feature-icon {
    width: 28px;
    height: 28px;
  }

  .hero-trust-feature-icon svg {
    width: 18px;
    height: 18px;
  }

  .hero-trust-feature-text {
    font-size: 15px;
  }

  /* Trusted By */
  .hero-trusted-by {
    margin-top: 48px;
  }

  .hero-trusted-by .trusted-carousel-track {
    gap: 4px;
  }

  .hero-trusted-by .trusted-logo-img {
    max-width: 160px;
  }
}


/* ========================================
   ACCESSIBILITY & MOTION
   ======================================== */

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .hero-video {
    display: none;
  }

  .hero-video-bg {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  }
}

/* Focus states */
.hero-trusted-logo:focus-visible {
  outline: 2px solid var(--color-white);
  outline-offset: 2px;
  opacity: 1;
}


/* ========================================
   COMPLIANCE CAROUSEL SECTION
   ======================================== */

.compliance-section {
  position: relative;
  padding: 60px 0;
  background-color: #F8FAFC;
  overflow: hidden;
}

/* Background Images */
.compliance-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.compliance-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.compliance-bg-img--mobile {
  display: block;
  aspect-ratio: 400 / 1094; /* Prevent CLS */
}

.compliance-bg-img--desktop {
  display: none;
  aspect-ratio: 1440 / 716; /* Prevent CLS */
}

.compliance-inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.compliance-header {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 32px;
}

.compliance-header-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.compliance-eyebrow {
  font-size: 14px;
  font-weight: 500;
  color: #2D7577;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0;
}

.compliance-title {
  font-size: 28px;
  font-weight: 700;
  color: #2A303B;
  margin: 0;
  line-height: 1.2;
}

/* Navigation Buttons */
.compliance-nav {
  display: flex;
  gap: 12px;
}

.compliance-nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #0f172a;
  cursor: pointer;
  transition: all 0.2s ease;
}

/* RTL: Flip arrow icons to match visual direction */
[dir="rtl"] .compliance-nav-btn svg {
  transform: scaleX(-1);
}

.compliance-nav-btn:hover {
  background: #0f172a;
  border-color: #0f172a;
  color: #fff;
}

.compliance-nav-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.compliance-nav-btn:disabled:hover {
  background: #fff;
  border-color: #e2e8f0;
  color: #0f172a;
}

/* Carousel */
.compliance-carousel {
  overflow: visible;
}

.compliance-carousel-track {
  display: flex;
  align-items: stretch;
  gap: 12px;
  transition: transform 0.4s ease;
}

/* Cards */
.compliance-card {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  width: 300px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 1);
}

.compliance-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.compliance-flag {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.compliance-country {
  font-size: 14px;
  font-weight: 600;
  color: #2A303B;
}

.compliance-card-title {
  font-size: 18px;
  font-weight: 700;
  color: #2A303B;
  margin: 0 0 28px 0;
  line-height: 1.3;
}

.compliance-card-list {
  margin: 0;
  margin-bottom: 24px; /* Space before CTA */
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 10px;
}

.compliance-card-list li {
  position: relative;
  padding-left: 20px;
  font-size: 12px;
  color: #3E537C;
  line-height: 1.5;
}

.compliance-card-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 5px;
  height: 5px;
  background: #3E537C;
  border-radius: 50%;
}

/* Card CTA - Button style with outline */
.compliance-card-cta {
  margin-top: auto;
  align-self: stretch;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  border-radius: 32px;
  border: 1px solid #94A3B8; /* slate-400 */
  background: transparent;
  text-decoration: none;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.compliance-card-cta-text {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  color: #1F2937; /* gray-800 */
  text-align: center;
}

.compliance-card-cta svg,
.compliance-card-cta img {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: #1F2937;
  transition: transform var(--transition-fast);
}

.compliance-card-cta:hover {
  background: rgba(148, 163, 184, 0.1);
  border-color: #64748B; /* slate-500 */
}

.compliance-card-cta:hover svg,
.compliance-card-cta:hover img {
  transform: translateX(4px);
}

/* RTL Support for compliance CTA */
[dir="rtl"] .compliance-card-cta svg,
[dir="rtl"] .compliance-card-cta img {
  transform: scaleX(-1);
}

[dir="rtl"] .compliance-card-cta:hover svg,
[dir="rtl"] .compliance-card-cta:hover img {
  transform: scaleX(-1) translateX(4px);
}

/* RTL Support */
[dir="rtl"] .compliance-header-text {
  text-align: right;
}


[dir="rtl"] .compliance-card-list li {
  padding-left: 0;
  padding-right: 20px;
  text-align: right;
}

[dir="rtl"] .compliance-card-list li::before {
  left: auto;
  right: 0;
}

/* ========================================
   COMPLIANCE - TABLET (768px+)
   ======================================== */

@media (min-width: 768px) {
  .compliance-section {
    padding: 80px 0;
  }

  .compliance-bg-img--mobile {
    display: none;
  }

  .compliance-bg-img--desktop {
    display: block;
  }

  .compliance-inner {
    padding: 0 40px;
  }

  .compliance-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
  }

  .compliance-title {
    font-size: 36px;
  }

  .compliance-carousel-track {
    gap: 12px;
  }

  .compliance-card {
    width: 340px;
    padding: 28px;
    border-radius: 24px;
  }

  .compliance-card-title {
    font-size: 20px;
  }

  .compliance-card-list li {
    font-size: 12px;
  }
}

/* ========================================
   COMPLIANCE - DESKTOP (992px+)
   ======================================== */

@media (min-width: 992px) {
  .compliance-section {
    padding: 100px 0;
  }

  .compliance-inner {
    padding: 0 60px;
  }

  .compliance-title {
    font-size: 42px;
  }

  .compliance-eyebrow {
    font-size: 15px;
  }

  .compliance-carousel-track {
    gap: 12px;
  }

  .compliance-card {
    width: 380px;
    padding: 32px;
    border-radius: 32px;
  }

  .compliance-flag {
    width: 32px;
    height: 32px;
  }

  .compliance-country {
    font-size: 14px;
  }

  .compliance-card-title {
    font-size: 22px;
    margin-bottom: 28px;
  }

  .compliance-card-list {
    gap: 12px;
  }

  .compliance-card-list li {
    font-size: 12px;
  }
}


/* ========================================
   USER-FRIENDLY BY DESIGN SECTION
   Mobile-first approach
   ======================================== */

.user-friendly-section {
  padding-block-start: 60px;
  padding-block-end: 60px;
  background: linear-gradient(180deg, #F8FAFC 0%, #EEF4F8 100%);
  overflow-x: clip;
}

.user-friendly-inner {
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Header: Title + CTA */
.user-friendly-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin-bottom: 40px;
  text-align: center;
}

.user-friendly-title {
  font-size: 28px;
  font-weight: 700;
  color: #1E293B;
  line-height: 1.2;
  margin: 0;
}

/* Main Content Area */
.user-friendly-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  min-height: 400px;
  padding-block-end: 40px;
}

/* Background 3D Landscape */
.user-friendly-landscape {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1170px;
  z-index: 1;
  pointer-events: none;
}

.user-friendly-landscape-img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 1320 / 834; /* Prevent CLS: reserve space before image loads */
}

/* Feature Menu */
.user-friendly-menu {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: row;
  gap: 8px;
  padding: 6px;
  background: #EDF5FF;
  border: 1px solid #FFFFFF;
  border-radius: 100px;
  overflow-x: auto;
  width: calc(100% + 30px);
  margin-inline-end: -30px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-mask-image: linear-gradient(to right, #000 85%, transparent 100%);
  mask-image: linear-gradient(to right, #000 85%, transparent 100%);
}

.user-friendly-menu::-webkit-scrollbar {
  display: none;
}

.user-friendly-menu-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding: 8px 16px;
  background: #F5F8FF;
  border: 1px solid #C9D3E6;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  color: #1D2027;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.user-friendly-menu-item:hover {
  background: #E8EEFF;
}

.user-friendly-menu-item.is-active {
  background: #2A303B;
  border-color: #2A303B;
  color: #fff;
}

/* Dashboard Mockup */
.user-friendly-dashboard {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 600px;
}

.user-friendly-dashboard-img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 1096 / 783; /* Prevent CLS: reserve space before image loads */
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

/* ----------------------------------------
   Tablet: 768px+
   ---------------------------------------- */
@media (min-width: 768px) {
  .user-friendly-section {
    padding-block-start: 80px;
    padding-block-end: 80px;
  }

  .user-friendly-inner {
    padding: 0 15px;
  }

  .user-friendly-header {
    gap: 28px;
    margin-bottom: 50px;
  }

  .user-friendly-title {
    font-size: 36px;
  }

  .user-friendly-content {
    min-height: 500px;
    padding-block-end: 60px;
  }

  .user-friendly-menu {
    flex-direction: column;
    position: absolute;
    inset-inline-start: 0;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    max-width: 220px;
    gap: 8px;
    padding: 16px 24px;
    overflow-x: visible;
    border-radius: 20px;
    margin-inline-start: -30px;
    margin-inline-end: 0;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .user-friendly-dashboard {
    max-width: 80%;
    margin-inline-start: auto;
    margin-inline-end: -40px;
  }

  .user-friendly-dashboard-img {
    border-radius: 20px;
  }
}

/* ----------------------------------------
   Desktop: 992px+
   ---------------------------------------- */
@media (min-width: 992px) {
  .user-friendly-section {
    padding-block-start: 100px;
    padding-block-end: 100px;
  }

  .user-friendly-inner {
    padding: 0 15px;
  }

  .user-friendly-header {
    gap: 32px;
    margin-bottom: 60px;
  }

  .user-friendly-title {
    font-size: 42px;
  }

  .user-friendly-content {
    min-height: 600px;
    padding-block-end: 80px;
  }

  .user-friendly-menu {
    max-width: 258px;
    inset-inline-start: 0;
    gap: 10px;
    padding: 20px 24px;
    border-radius: 24px;
    margin-inline-start: -30px;
  }

  .user-friendly-menu-item {
    font-size: 15px;
  }

  .user-friendly-dashboard {
    max-width: 82%;
    margin-inline-end: -60px;
  }

  .user-friendly-dashboard-img {
    border-radius: 40px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.18);
  }
}


/* ========================================
   MODULES SECTION
   Two-column sticky-scroll layout (desktop)
   Stacked layout (mobile)
   ======================================== */

.nl-modules-section {
  position: relative;
  padding: 60px 0;
  background-color: #F8FAFC;
  /* Note: overflow:hidden breaks position:sticky - removed for sticky to work */
}

/* Background Images */
.nl-modules-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.nl-modules-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

/* RTL: No transform needed - using inset:0 for full coverage */

.nl-modules-bg-img--mobile {
  display: block;
  aspect-ratio: 400 / 1784; /* Prevent CLS: match mobile bg dimensions */
}

.nl-modules-bg-img--desktop {
  display: none;
  aspect-ratio: 1440 / 1190; /* Prevent CLS: match desktop bg dimensions */
}

/* Inner Container */
.nl-modules-inner {
  position: relative;
  z-index: 1;
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Layout Wrapper - Mobile: stacked */
.nl-modules-layout {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* Content Column */
.nl-modules-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.nl-modules-title {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-dark);
  margin: 0;
}

.nl-modules-subtitle {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-text-secondary, #64748B);
  margin: 0;
  max-width: 560px;
  text-align: start;
}

/* Cards Column - Mobile: stacked single column */
.nl-modules-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}


/* ========================================
   MODULE CARD STYLES (from Webflow component)
   zenhr-uae-module-* classes
   ======================================== */

/* Card Base Styles */
.zenhr-uae-module-card {
  position: relative;
  border-radius: 28px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform 0.3s ease,
              box-shadow 0.3s ease;
  cursor: pointer;
}

/* Card Gradients via custom attribute */
[card-color="payroll"] {
  background: linear-gradient(180deg, #125A66 0%, #258698 100%);
}

[card-color="attendance-and-time-tracking"] {
  background: linear-gradient(180deg, #494AB4 0%, #6F6FD1 100%);
}

[card-color="employee-self-service"] {
  background: linear-gradient(180deg, #1D3144 0%, #42556A 100%);
}

[card-color="employee-management"] {
  background: linear-gradient(180deg, #121C66 0%, #256698 100%);
}

[card-color="performance-and-evaluation"] {
  background: linear-gradient(180deg, #965B0A 0%, #B67E30 100%);
}

[card-color="reporting-and-analytics"] {
  background: linear-gradient(180deg, #772D51 0%, #9F6581 100%);
}

[card-color="applicant-tracking-system"] {
  background: linear-gradient(180deg, #3b0764 0%, #86198f 100%);
  background-blend-mode: soft-light;
}

/* Card Header */
.zenhr-uae-module-card-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.zenhr-uae-module-card-icon-wrap {
  order: -1;
  flex-shrink: 0;
  width: 140px;
  height: 70px;
  aspect-ratio: 2 / 1; /* Prevent CLS: reserve space before image loads */
}

.zenhr-uae-module-card-icon {
  width: 100%;
  aspect-ratio: 2 / 1; /* Prevent CLS: match 200x100 dimensions */
  height: 100%;
  object-fit: contain;
  opacity: 0.9;
  transform: scaleX(-1);
}

/* RTL: Double-flip to show original orientation */
[dir="rtl"] .zenhr-uae-module-card-icon {
  transform: scaleX(1);
}

.zenhr-uae-module-card-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: start;
  gap: 8px;
  flex: 1;
}

.zenhr-uae-module-card-title {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  color: #FFFFFF;
  margin: 0;
}

.zenhr-uae-module-card-desc {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

/* Card Body - CTA only (features removed) */
.zenhr-uae-module-card-body {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  margin-block-start: auto;
}

/* Card Features */
.zenhr-uae-module-card-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.zenhr-uae-module-feature {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.zenhr-uae-module-feature img {
  width: 20px;
  height: 20px;
  min-width: 20px;
  min-height: 20px;
  flex-shrink: 0;
  opacity: 0.9;
  aspect-ratio: 1 / 1;
}

.zenhr-uae-module-feature p {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

/* Card CTA */
.zenhr-uae-module-card-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  color: #FFFFFF;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.25s ease,
              border-color 0.25s ease,
              transform 0.25s ease;
}

.zenhr-uae-module-card-cta:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.4);
  color: #FFFFFF;
}

/* Card Hover State */
.zenhr-uae-module-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2),
              0 4px 12px rgba(0, 0, 0, 0.1);
}


/* ----------------------------------------
   MODULES SECTION - Tablet (768px+)
   ---------------------------------------- */
@media (min-width: 768px) {
  .nl-modules-section {
    padding: 80px 0;
  }

  .nl-modules-bg-img--mobile {
    display: none;
  }

  .nl-modules-bg-img--desktop {
    display: block;
  }

  .nl-modules-layout {
    gap: 40px;
  }

  .nl-modules-content {
    gap: 20px;
  }

  .nl-modules-title {
    font-size: 36px;
  }

  .nl-modules-subtitle {
    font-size: 18px;
    max-width: 640px;
  }

  .nl-modules-cards {
    gap: 20px;
  }

  /* Card tablet styles */
  .zenhr-uae-module-card {
    border-radius: 32px;
    padding: 28px;
    gap: 20px;
  }

  .zenhr-uae-module-card-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }

  .zenhr-uae-module-card-icon-wrap {
    order: 0;
    width: 120px;
    height: 60px;
  }

  .zenhr-uae-module-card-icon {
    transform: scaleX(1);
  }

  .zenhr-uae-module-card-title {
    font-size: 20px;
  }

  .zenhr-uae-module-card-desc {
    font-size: 14px;
  }

  .zenhr-uae-module-card-body {
    align-items: flex-start;
  }

  .zenhr-uae-module-card-cta {
    display: inline-flex;
    width: auto;
    padding: 14px 24px;
    font-size: 15px;
  }
}


/* ----------------------------------------
   MODULES SECTION - Desktop (992px+)
   Flexbox layout with negative margin technique for full-width expansion
   ---------------------------------------- */
@media (min-width: 992px) {
  .nl-modules-section {
    padding: 100px 0;
  }

  /* Layout: Flexbox for sticky sidebar */
  .nl-modules-layout {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 42px;
  }

  /* Left Column: Sticky sidebar */
  .nl-modules-content {
    flex: 0 0 40%;
    max-width: 40%;
    position: sticky;
    top: calc(var(--header-height, 80px) + 40px);
    align-items: flex-start;
    text-align: left;
    gap: 24px;
    height: fit-content;
  }

  .nl-modules-title {
    font-size: 42px;
  }

  .nl-modules-subtitle {
    font-size: 18px;
    max-width: 100%;
  }

  /* Cards wrapper: flex column */
  .nl-modules-cards {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  /* Cards: default styling */
  .zenhr-uae-module-card {
    border-radius: 36px;
    padding: 32px;
  }

  /* Expanded card: break out to full width using negative margins */
  .zenhr-uae-module-card.is-expanded {
    /* Calculate: left column (40%) + gap (42px) */
    margin-inline-start: calc(-40% - 42px - (42px * 0.666));
    width: calc(100% + 40% + 42px + (42px * 0.666));
  }

  .zenhr-uae-module-card-title {
    font-size: 22px;
  }

  .zenhr-uae-module-card-desc {
    font-size: 15px;
  }

  .zenhr-uae-module-card-icon-wrap {
    width: 140px;
    height: 70px;
  }

  .zenhr-uae-module-feature img {
    width: 24px;
    height: 24px;
    min-width: 24px;
    min-height: 24px;
  }
}


/* ----------------------------------------
   MODULES SECTION - Large Desktop (1200px+)
   ---------------------------------------- */
@media (min-width: 1200px) {
  .nl-modules-content {
    flex: 0 0 38%;
    max-width: 38%;
  }

  .nl-modules-cards {
    gap: 28px;
  }

  /* Expanded card: recalculate for 38% left column */
  .zenhr-uae-module-card.is-expanded {
    margin-inline-start: calc(-38% - 42px - (42px * 0.612));
    width: calc(100% + 38% + 42px + (42px * 0.612));
  }

  .nl-modules-title {
    font-size: 48px;
  }

  .nl-modules-subtitle {
    font-size: 20px;
  }

  .zenhr-uae-module-card {
    border-radius: 40px;
    padding: 36px;
  }

  .zenhr-uae-module-card-title {
    font-size: 24px;
  }

  .zenhr-uae-module-card-desc {
    font-size: 16px;
  }

  .zenhr-uae-module-card-icon-wrap {
    width: 160px;
    height: 80px;
  }

  .zenhr-uae-module-card-cta {
    padding: 14px 28px;
    font-size: 15px;
  }
}


/* ========================================
   MODULE CARD EXPANDED STATE
   Inline expandable card (accordion-style)
   Card expands in place, other cards shift down
   ======================================== */

/* Close Button (img) - Hidden by default */
.zenhr-uae-module-card-close {
  display: none;
  width: 36px;
  height: 36px;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.2s ease, transform 0.2s ease;
  flex-shrink: 0;
}

.zenhr-uae-module-card-close:hover {
  opacity: 1;
  transform: scale(1.1);
}

/* Expanded Card State - Inline expansion */
.zenhr-uae-module-card.is-expanded {
  cursor: default;
  transform: none;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
}

.zenhr-uae-module-card.is-expanded:hover {
  transform: none;
}

/* Focus styles for keyboard navigation */
.zenhr-uae-module-card:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.8);
  outline-offset: 4px;
}

.zenhr-uae-module-card-close:focus-visible {
  outline: 2px solid #FFFFFF;
  outline-offset: 2px;
  border-radius: 50%;
}

/* Show close button when expanded */
.zenhr-uae-module-card.is-expanded .zenhr-uae-module-card-close {
  display: block;
}

/* Expanded card header - Mobile: icon + close on top row, info below */
.zenhr-uae-module-card.is-expanded .zenhr-uae-module-card-header {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

/* Mobile expanded: icon first, close button last (same row), info full width below */
.zenhr-uae-module-card.is-expanded .zenhr-uae-module-card-icon-wrap {
  order: -2;
}

.zenhr-uae-module-card.is-expanded .zenhr-uae-module-card-close {
  order: -1;
}

.zenhr-uae-module-card.is-expanded .zenhr-uae-module-card-info {
  order: 0;
  flex-basis: 100%;
}

/* Expanded card body - flex column for CTA + feature cards wrapper */
.zenhr-uae-module-card.is-expanded .zenhr-uae-module-card-body {
  display: flex;
  flex-direction: column;
  margin-block-start: 20px;
}

/* Feature cards wrapper - Grid layout for feature cards */
.zenhr-uae-module-feature-cards {
  display: none;
}

.zenhr-uae-module-card.is-expanded .zenhr-uae-module-feature-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

/* Hide CTA when expanded */
.zenhr-uae-module-card.is-expanded .zenhr-uae-module-card-cta {
  display: none;
}

/* Feature Card Styles */
.zenhr-uae-module-feature-card {
  display: flex;
  padding: 16px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  outline: 1px solid rgba(255, 255, 255, 0.15);
  outline-offset: -1px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  flex-direction: column;
  gap: 8px;
  /* Equal height: grid align-items:stretch (default) + height:100% */
  height: 100%;
}

.zenhr-uae-module-feature-card-title {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
  color: #FFFFFF;
  margin: 0;
}

.zenhr-uae-module-feature-card-desc {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}


/* ----------------------------------------
   EXPANDED CARD - Tablet (768px+)
   ---------------------------------------- */
@media (min-width: 768px) {
  .zenhr-uae-module-card.is-expanded .zenhr-uae-module-card-body {
    margin-block-start: 24px;
  }

  .zenhr-uae-module-card.is-expanded .zenhr-uae-module-feature-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .zenhr-uae-module-feature-card {
    padding: 20px;
    border-radius: 24px;
    gap: 10px;
  }

  .zenhr-uae-module-feature-card-title {
    font-size: 16px;
  }

  .zenhr-uae-module-feature-card-desc {
    font-size: 14px;
  }
}


/* ----------------------------------------
   EXPANDED CARD - Desktop (992px+)
   Full-width card spanning both columns
   ---------------------------------------- */
@media (min-width: 992px) {
  /* Expanded card header - horizontal layout for full width */
  .zenhr-uae-module-card.is-expanded .zenhr-uae-module-card-header {
    flex-wrap: nowrap;
    gap: 24px;
  }

  /* Reset order for desktop - info first, icon, then close */
  .zenhr-uae-module-card.is-expanded .zenhr-uae-module-card-icon-wrap {
    order: 0;
  }

  .zenhr-uae-module-card.is-expanded .zenhr-uae-module-card-close {
    order: 0;
  }

  .zenhr-uae-module-card.is-expanded .zenhr-uae-module-card-info {
    order: 0;
    flex-basis: auto;
    flex: 1;
    min-width: 300px;
    /* No max-width - let it breathe at full width */
  }

  .zenhr-uae-module-card.is-expanded .zenhr-uae-module-feature-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .zenhr-uae-module-feature-card {
    padding: 24px;
    border-radius: 28px;
    gap: 12px;
  }

  .zenhr-uae-module-feature-card-title {
    font-size: 18px;
  }

  .zenhr-uae-module-feature-card-desc {
    font-size: 14px;
  }
}


/* ----------------------------------------
   REDUCED MOTION - Accessibility
   ---------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .zenhr-uae-module-card {
    transition: none;
  }

  .zenhr-uae-module-feature-card {
    animation: none;
  }

  .zenhr-uae-module-card-close {
    transition: none;
  }
}


/* ========================================
   ESS MOBILE APP SECTION
   Employee Self-Service app promotion
   Mobile-first approach
   ======================================== */

.ess-app-section {
  position: relative;
  padding: 60px 0;
  overflow: hidden;
}

/* Background Images */
.ess-app-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.ess-app-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.ess-app-bg-img--mobile {
  display: block;
  aspect-ratio: 400 / 1223; /* Prevent CLS: match mobile bg dimensions */
}

.ess-app-bg-img--desktop {
  display: none;
  aspect-ratio: 1440 / 1248; /* Prevent CLS: match desktop bg dimensions */
}

/* Inner Container */
.ess-app-inner {
  position: relative;
  z-index: 1;
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

/* Text Content */
.ess-app-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  max-width: 800px;
}

.ess-app-title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  color: #2A303B;
  margin: 0;
}

.ess-app-subtitle {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: #62769D;
  margin: 0;
}

/* Mockups */
.ess-app-mockups {
  width: 100%;
}

.ess-app-mockups-img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 1271 / 803; /* Prevent CLS: reserve space before image loads */
}

/* App Store Badges */
.ess-app-badges {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

.ess-app-badge {
  display: block;
  transition: transform 0.2s ease, opacity 0.2s ease;
  will-change: transform; /* GPU acceleration */
}

.ess-app-badge:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

.ess-app-badge-img {
  display: block;
  height: auto;
  max-height: 48px;
  width: auto;
  aspect-ratio: 171 / 51; /* Prevent CLS */
}


/* ----------------------------------------
   ESS SECTION - Tablet (768px+)
   ---------------------------------------- */
@media (min-width: 768px) {
  .ess-app-section {
    padding: 80px 0;
  }

  .ess-app-inner {
    gap: 40px;
  }

  .ess-app-title {
    font-size: 36px;
  }

  .ess-app-subtitle {
    font-size: 18px;
  }

  .ess-app-badges {
    gap: 16px;
  }

  .ess-app-badge-img {
    max-height: 52px;
  }
}


/* ----------------------------------------
   ESS SECTION - Desktop (992px+)
   ---------------------------------------- */
@media (min-width: 992px) {
  .ess-app-section {
    padding: 100px 0;
  }

  .ess-app-bg-img--mobile {
    display: none;
  }

  .ess-app-bg-img--desktop {
    display: block;
  }

  .ess-app-inner {
    gap: 48px;
  }

  .ess-app-title {
    font-size: 42px;
  }

  .ess-app-subtitle {
    font-size: 18px;
    max-width: 700px;
  }
}


/* ========================================
   ROI SECTION
   Proven ROI statistics with card layout
   Mobile-first approach
   ======================================== */

.roi-section {
  padding: 60px 0;
}

.roi-inner {
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

/* Header */
.roi-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  max-width: 700px;
}

.roi-title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  color: #2A303B;
  margin: 0;
}

.roi-subtitle {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: #62769D;
  margin: 0;
}

/* Cards Container */
.roi-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

/* Card Base Styles */
.roi-card {
  position: relative;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 24px;
  outline: 1px solid rgba(203, 213, 225, 0.6);
  outline-offset: -1px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  overflow: hidden;
}

/* Primary Card (Large) */
.roi-card--primary {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.roi-card-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 320px;
}

.roi-card-value {
  font-size: 44px;
  font-weight: 500;
  line-height: 1.2;
  color: #1E293B;
  margin: 0;
}

.roi-card--primary .roi-card-text {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.4;
  color: #1E293B;
  margin: 0;
}

.roi-card-bg {
  position: absolute;
  inset-inline-end: 0;
  inset-block-start: 0;
  inset-block-end: 0;
  width: auto;
  height: 100%;
  mix-blend-mode: luminosity;
  opacity: 0.8;
  object-fit: cover;
  object-position: center;
}

.roi-card-bg--mobile {
  display: block;
}

.roi-card-bg--desktop {
  display: none;
}

[dir="rtl"] .roi-card-bg {
  transform: scaleX(-1);
}

/* Secondary Cards Container */
.roi-cards-secondary {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Secondary Cards */
.roi-card--secondary {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.roi-card-label {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: #64748B;
  margin: 0;
}

.roi-card--secondary .roi-card-value {
  font-size: 52px;
}

.roi-card--secondary .roi-card-text {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: #1E293B;
  margin: 0;
}


/* ----------------------------------------
   ROI SECTION - Tablet (768px+)
   ---------------------------------------- */
@media (min-width: 768px) {
  .roi-section {
    padding: 80px 0;
  }

  .roi-inner {
    gap: 40px;
  }

  .roi-title {
    font-size: 36px;
  }

  .roi-subtitle {
    font-size: 18px;
  }

  .roi-card--primary {
    padding: 32px;
  }

  .roi-card-value {
    font-size: 50px;
  }

  .roi-card--primary .roi-card-text {
    font-size: 24px;
  }

  /* Secondary cards in row */
  .roi-cards-secondary {
    flex-direction: row;
    gap: 12px;
  }

  .roi-card--secondary {
    flex: 1;
    padding: 24px;
  }

  .roi-card--secondary .roi-card-value {
    font-size: 60px;
  }

  .roi-card--secondary .roi-card-text {
    font-size: 15px;
  }
}


/* ----------------------------------------
   ROI SECTION - Desktop (992px+)
   ---------------------------------------- */
@media (min-width: 992px) {
  .roi-section {
    padding: 100px 0;
  }

  .roi-inner {
    gap: 48px;
  }

  .roi-title {
    font-size: 42px;
  }

  /* Cards in single row: primary 45.3%, secondary fills rest */
  .roi-cards {
    flex-direction: row;
    gap: 12px;
  }

  .roi-card--primary {
    flex: 0 0 45.3%;
    padding: 40px;
  }

  .roi-card-content {
    max-width: 380px;
  }

  .roi-card-value {
    font-size: 58px;
  }

  .roi-card--primary .roi-card-text {
    font-size: 22px;
  }

  .roi-card-bg--mobile {
    display: none;
  }

  .roi-card-bg--desktop {
    display: block;
  }

  /* Secondary cards container fills remaining space */
  .roi-cards-secondary {
    flex: 1;
    gap: 12px;
  }

  .roi-card--secondary {
    padding: 24px 32px;
    gap: 16px;
  }

  .roi-card-label {
    font-size: 16px;
  }

  .roi-card--secondary .roi-card-value {
    font-size: 68px;
  }

  .roi-card--secondary .roi-card-text {
    font-size: 16px;
  }
}


/* ========================================
   SUPPORT SECTION
   World-class support with SLA details
   Mobile-first approach
   ======================================== */

.support-section {
  position: relative;
  padding: 0; /* No padding on section - padding on inner */
  overflow: hidden;
}

/* Background Images */
.support-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.support-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.support-bg-img--mobile {
  display: block;
  aspect-ratio: 400 / 1202; /* Prevent CLS */
}

.support-bg-img--desktop {
  display: none;
  aspect-ratio: 1440 / 900; /* Prevent CLS */
}

/* Inner Container */
.support-inner {
  position: relative;
  z-index: 1;
  max-width: 1440px;
  margin: 0 auto;
  padding: 60px 15px;
  display: flex;
  flex-direction: column-reverse;
  gap: 40px;
}

/* Content Column */
.support-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.support-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.support-title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.15;
  color: #2A303B;
  margin: 0;
}

.support-subtitle {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: #64748B;
  margin: 0;
}

/* Features List */
.support-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.support-feature {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
}

.support-feature-icon {
  flex-shrink: 0;
  margin-top: 2px;
  width: 20px;
  height: 20px;
}

.support-feature-text {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5 !important;
  color: #475569;
  margin: 0;
}

/* Link Styles */
.support-feature-text a,
.support-note a {
  color: #475569;
  text-decoration: underline;
  transition: color var(--transition-fast);
}

.support-feature-text a:hover,
.support-note a:hover {
  color: var(--color-primary);
}

/* Knowledge Base Note */
.support-note {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: #475569;
  margin: 0;
}

/* CTAs Container */
.support-ctas {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Image Column */
.support-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.support-img {
  width: 100%;
  max-width: 400px;
  height: auto;
  aspect-ratio: 720 / 800; /* Prevent CLS */
  border-radius: 24px 0 0 0; /* Top-left corner rounded only (RTL: top-start) */
}

/* RTL Support */
[dir="rtl"] .support-img {
  border-radius: 0 24px 0 0; /* Top-right corner in RTL */
}


/* ----------------------------------------
   SUPPORT SECTION - Tablet (768px+)
   ---------------------------------------- */
@media (min-width: 768px) {
  .support-inner {
    padding: 80px 15px;
    gap: 48px;
  }

  .support-content {
    gap: 28px;
  }

  .support-header {
    gap: 16px;
  }

  .support-title {
    font-size: 36px;
  }

  .support-subtitle {
    font-size: 18px;
    line-height: 1.6;
  }

  .support-ctas {
    flex-direction: row;
    gap: 16px;
  }

  .support-img {
    max-width: 450px;
  }
}


/* ----------------------------------------
   SUPPORT SECTION - Desktop (992px+)
   ---------------------------------------- */
@media (min-width: 992px) {
  .support-inner {
    padding: 0;
    padding-inline-start: max(15px, calc((100vw - 1170px) / 2 + 15px));
    flex-direction: row;
    align-items: stretch;
    justify-content: space-between;
    gap: 60px;
    min-height: 600px;
  }

  .support-bg-img--mobile {
    display: none;
  }

  .support-bg-img--desktop {
    display: block;
  }

  .support-content {
    flex: 0 0 50%;
    max-width: 560px;
    gap: 32px;
    padding: 80px 0;
    justify-content: center;
  }

  .support-header {
    gap: 20px;
  }

  .support-title {
    font-size: 42px;
    line-height: 1.15;
  }

  .support-subtitle {
    font-size: 18px;
    line-height: 1.6;
  }

  .support-features {
    max-width: 572px;
  }

  .support-feature {
    gap: 16px;
  }

  /* Image Column - Full height, cut by screen edge */
  .support-image {
    flex: 1;
    position: relative;
    align-self: stretch;
    justify-content: flex-end;
    align-items: stretch;
    /* Extend to screen edge */
    margin-inline-end: calc(-1 * max(15px, (100vw - 1170px) / 2));
    overflow: hidden;
  }

  .support-img {
    width: 100%;
    max-width: none;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    border-radius: 24px 0 0 0; /* Top-left corner rounded only */
  }

  /* RTL Support - flip image and corner */
  [dir="rtl"] .support-img {
    border-radius: 0 24px 0 0; /* Top-right corner in RTL */
    transform: scaleX(-1); /* Flip image horizontally */
  }
}


/* ----------------------------------------
   SUPPORT SECTION - Large Desktop (1200px+)
   ---------------------------------------- */
@media (min-width: 1200px) {
  .support-inner {
    gap: 80px;
  }

  .support-content {
    max-width: 580px;
    padding: 100px 0;
  }

  .support-title {
    font-size: 48px;
  }
}


/* ========================================
   EMPOWER SECTION
   ZenHR empowers every role in the organization
   Mobile-first approach
   ======================================== */

/* Section Container */
.empower-section {
  padding: 60px 0;
  background: rgba(255, 255, 255, 0.6);
  border-top: 1px solid #FFFFFF;
  border-bottom: 1px solid #FFFFFF;
}

.empower-inner {
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

/* Header */
.empower-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  max-width: 700px;
}

.empower-title {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  color: #2A303B;
}

.empower-subtitle {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: #62769D;
}

/* Cards Grid */
.empower-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

/* Card */
.empower-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: rgba(229, 236, 255, 0.6);
  border-radius: 32px;
  backdrop-filter: blur(48px);
  -webkit-backdrop-filter: blur(48px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.empower-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05),
              0 16px 40px rgba(0, 0, 0, 0.08);
}

.empower-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 32px;
  pointer-events: none;
  z-index: 2;
}

/* Card Image */
.empower-card-image {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 0;
  aspect-ratio: 780 / 720;
}

.empower-card-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.3s ease;
}

.empower-card:hover .empower-card-img {
  transform: scale(1.05);
}

.empower-card-gradient {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 50%;
  background: linear-gradient(
    to top,
    rgba(229, 236, 255, 1) 0%,
    rgba(229, 236, 255, 0.85) 25%,
    rgba(229, 236, 255, 0.4) 60%,
    rgba(229, 236, 255, 0) 100%
  );
  transition: bottom 0.3s ease;
}

.empower-card:hover .empower-card-gradient {
  bottom: -5%;
}

/* Card Content */
.empower-card-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 50%;
  padding: 20px 16px 24px;
}

.empower-card-badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 8px 16px;
  background: #FFFFFF;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  color: #1F2937;
}

.empower-card-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 0;
  padding-inline-start: 16px;
}

.empower-card-list li {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  color: #475569;
}


/* ----------------------------------------
   Tablet (768px+)
   ---------------------------------------- */
@media (min-width: 768px) {
  .empower-section {
    padding: 80px 0;
  }

  .empower-inner {
    gap: 40px;
  }

  .empower-header {
    gap: 16px;
  }

  .empower-title {
    font-size: 36px;
  }

  .empower-subtitle {
    font-size: 17px;
  }

  .empower-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .empower-card-badge {
    padding: 10px 20px;
    font-size: 15px;
  }

  .empower-card-list li {
    font-size: 14px;
  }
}


/* ----------------------------------------
   Desktop (992px+)
   ---------------------------------------- */
@media (min-width: 992px) {
  .empower-section {
    padding: 100px 0;
  }

  .empower-inner {
    align-items: flex-start;
    gap: 48px;
  }

  .empower-header {
    align-items: flex-start;
    text-align: start;
    gap: 20px;
    max-width: 800px;
  }

  .empower-title {
    font-size: 42px;
  }

  .empower-subtitle {
    font-size: 18px;
  }

  .empower-cards {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }

  .empower-card-content {
    gap: 10px;
    padding: 16px 16px 20px;
  }

  .empower-card-badge {
    padding: 8px 12px;
    font-size: 13px;
  }

  .empower-card-list li {
    font-size: 12px;
  }
}


/* ----------------------------------------
   Large Desktop (1200px+)
   ---------------------------------------- */
@media (min-width: 1200px) {
  .empower-cards {
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
  }

  .empower-card-content {
    gap: 12px;
    padding: 20px 10px 24px;
  }

  .empower-card-badge {
    padding: 10px 16px;
    font-size: 14px;
  }

  .empower-card-list li {
    font-size: 13px;
  }
}


/* ========================================
   TESTIMONIALS SECTION
   Trusted by businesses carousel
   Mobile-first approach
   ======================================== */

.nl-testimonials-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  padding: 60px 0;
  overflow: hidden;
}

/* Header - Constrained width */
.nl-testimonials-header {
  max-width: 1170px;
  width: 100%;
  padding: 0 15px;
  text-align: center;
}

/* Title */
.nl-testimonials-title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  color: #2A303B;
  margin: 0;
}

/* Footer - Constrained width */
.nl-testimonials-footer {
  max-width: 1170px;
  width: 100%;
  padding: 0 15px;
  display: flex;
  justify-content: center;
}

/* Carousel Container - Full width */
.nl-testimonials-carousel {
  position: relative;
  width: 100%;
  overflow: clip;
  /* Padding to prevent hover lift clipping */
  padding: 8px 0;
  margin: -8px 0;
  /* Fade edges for peek effect */
  mask-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 1) 10%,
    rgba(0, 0, 0, 1) 90%,
    rgba(0, 0, 0, 0.3) 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 1) 10%,
    rgba(0, 0, 0, 1) 90%,
    rgba(0, 0, 0, 0.3) 100%
  );
}

/* Carousel Track - Infinite scroll */
.nl-testimonials-carousel-track {
  display: flex;
  align-items: stretch;
  gap: 12px;
  width: max-content;
  animation: nl-testimonials-scroll 90s linear infinite;
}

/* Pause on hover (desktop) */
@media (hover: hover) {
  .nl-testimonials-carousel:hover .nl-testimonials-carousel-track {
    animation-play-state: paused;
  }
}

/* Scroll Animation */
@keyframes nl-testimonials-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* RTL: Reverse scroll direction */
@keyframes nl-testimonials-scroll-rtl {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(50%);
  }
}

[dir="rtl"] .nl-testimonials-carousel-track {
  animation-name: nl-testimonials-scroll-rtl;
}

/* Testimonial Card (Link) */
.nl-testimonials-card {
  flex-shrink: 0;
  width: 320px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 24px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.nl-testimonials-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.nl-testimonials-card:focus-visible {
  outline: 2px solid var(--color-primary, #2D7577);
  outline-offset: 2px;
}

/* Quote */
.nl-testimonials-quote {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.55;
  color: #475569;
  margin: 0;
  flex: 1;
}

/* Card Footer - Company + Logo */
.nl-testimonials-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(203, 213, 225, 0.4);
}

/* Company Name */
.nl-testimonials-company {
  font-size: 11px;
  font-weight: 700;
  color: #1F2937;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* Company Logo */
.nl-testimonials-logo {
  height: 36px;
  width: auto;
  max-width: 88px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.nl-testimonials-card:hover .nl-testimonials-logo {
  filter: grayscale(0%);
  opacity: 1;
}


/* ----------------------------------------
   TESTIMONIALS - Tablet (768px+)
   ---------------------------------------- */
@media (min-width: 768px) {
  .nl-testimonials-section {
    padding: 80px 0;
    gap: 36px;
  }

  .nl-testimonials-title {
    font-size: 36px;
  }

  .nl-testimonials-carousel-track {
    gap: 16px;
  }

  .nl-testimonials-card {
    width: 360px;
    padding: 24px;
    gap: 16px;
    border-radius: 28px;
  }

  .nl-testimonials-quote {
    font-size: 14px;
    line-height: 1.6;
  }

  .nl-testimonials-company {
    font-size: 12px;
  }

  .nl-testimonials-card-footer {
    gap: 14px;
    padding-top: 14px;
  }

  .nl-testimonials-logo {
    height: 40px;
    max-width: 96px;
  }
}


/* ----------------------------------------
   TESTIMONIALS - Desktop (992px+)
   ---------------------------------------- */
@media (min-width: 992px) {
  .nl-testimonials-section {
    padding: 100px 0;
    gap: 44px;
  }

  .nl-testimonials-title {
    font-size: 42px;
  }

  .nl-testimonials-carousel-track {
    gap: 20px;
  }

  .nl-testimonials-card {
    width: 400px;
    padding: 28px;
    gap: 20px;
    border-radius: 32px;
  }

  .nl-testimonials-quote {
    font-size: 15px;
  }

  .nl-testimonials-company {
    font-size: 13px;
  }

  .nl-testimonials-card-footer {
    gap: 16px;
    padding-top: 16px;
  }

  .nl-testimonials-logo {
    height: 44px;
    max-width: 104px;
  }
}


/* ----------------------------------------
   TESTIMONIALS - Reduced Motion
   ---------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .nl-testimonials-carousel-track {
    animation: none;
  }
}


/* ========================================
   INTEGRATIONS SECTION
   Marketplace integrations showcase
   Single CSS Grid for Webflow compatibility
   Mobile-first approach
   ======================================== */

.integrations-section {
  padding: 60px 0;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(64px);
  -webkit-backdrop-filter: blur(64px);
}

.integrations-inner {
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

/* Header */
.integrations-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  max-width: 700px;
}

.integrations-title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  color: #2A303B;
  margin: 0;
  max-width: 934px;
}

.integrations-subtitle {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: #62769D;
  margin: 0;
}

/* Rows Container */
.integrations-rows {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

/* Individual Row - grid on mobile */
.integrations-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

/* Hide featured on mobile */
.integrations-featured {
  display: none;
}

/* Edge cards - hidden on mobile, shown on desktop */
.integrations-edge-card {
  display: none;
}

/* Integration Card */
.integrations-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: rgba(219, 234, 254, 0.6);
  border: 1px solid #FFFFFF;
  border-radius: 16px;
  backdrop-filter: blur(48px);
  -webkit-backdrop-filter: blur(48px);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.integrations-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

/* Card Logo Container */
.integrations-card-logo {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.integrations-card-logo-img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

/* Card Text */
.integrations-card-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.integrations-card-title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  color: #1E293B;
  margin: 0;
}

.integrations-card-desc {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  color: #64748B;
  margin: 0;
}

/* Featured Element Base Styles */
.integrations-featured-glow {
  position: absolute;
  width: 120px;
  height: 120px;
  background: rgba(0, 205, 202, 0.2);
  border-radius: 50%;
  filter: blur(30px);
  z-index: 0;
}

.integrations-featured-icon {
  position: relative;
  z-index: 1;
  width: 72px;
  height: 72px;
  background: var(--color-accent, #00CDCA);
  border: 2px solid #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(0, 205, 202, 0.3);
}

.integrations-featured-icon-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}


/* ----------------------------------------
   INTEGRATIONS - Tablet (768px+)
   ---------------------------------------- */
@media (min-width: 768px) {
  .integrations-section {
    padding: 80px 0;
  }

  .integrations-inner {
    gap: 40px;
  }

  .integrations-header {
    gap: 20px;
  }

  .integrations-title {
    font-size: 36px;
  }

  .integrations-subtitle {
    font-size: 17px;
  }

  /* 2-column grid on tablet */
  .integrations-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .integrations-card {
    padding: 16px 20px;
    border-radius: 20px;
  }

  .integrations-card-logo {
    width: 64px;
    height: 64px;
  }

  .integrations-card-logo-img {
    width: 52px;
    height: 52px;
  }

  .integrations-card-title {
    font-size: 16px;
  }

  .integrations-card-desc {
    font-size: 13px;
  }

}


/* ----------------------------------------
   INTEGRATIONS - Desktop (992px+)
   Flexbox rows: Row 1 & 3 have 4 cards, Row 2 has 4 cards + featured
   Edge cards extend beyond viewport for cutoff effect
   ---------------------------------------- */
@media (min-width: 992px) {
  .integrations-section {
    padding: 100px 0;
    overflow: hidden; /* Hide overflow for edge card cutoff */
  }

  .integrations-inner {
    gap: 48px;
    max-width: 100%;
    padding: 0;
  }

  .integrations-header {
    gap: 24px;
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 15px;
  }

  .integrations-title {
    font-size: 42px;
  }

  .integrations-subtitle {
    font-size: 18px;
  }

  /* Rows container - normal width, with edge fade mask */
  .integrations-rows {
    gap: 14px;
    width: 100%;
    overflow: visible;
    /* Edge fade mask for smooth cutoff effect */
    mask-image: linear-gradient(
      to right,
      transparent 0%,
      black 8%,
      black 92%,
      transparent 100%
    );
    -webkit-mask-image: linear-gradient(
      to right,
      transparent 0%,
      black 8%,
      black 92%,
      transparent 100%
    );
  }

  /* Each row extends beyond container, centered with transform */
  .integrations-row {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 14px;
    width: calc(100% + 120px);
    position: relative;
    left: 50%;
    transform: translateX(-50%);
  }

  /* Cards grow equally */
  .integrations-card {
    flex: 1 1 0;
    min-width: 200px;
    max-width: 280px;
    padding: 16px 20px;
    border-radius: 16px;
  }

  /* Edge cards - same style as regular cards */
  .integrations-edge-card {
    display: block;
    flex: 1 1 0;
    min-width: 200px;
    max-width: 280px;
    padding: 16px 20px;
    border-radius: 16px;
    background: rgba(219, 234, 254, 0.6); /* Same as regular cards */
    border: 1px solid #FFFFFF;
    backdrop-filter: blur(48px);
    -webkit-backdrop-filter: blur(48px);
    box-sizing: border-box;
  }

  /* Featured element - fixed small size, does NOT grow */
  .integrations-featured {
    display: flex;
    position: relative;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto; /* Don't grow, don't shrink */
    z-index: 2;
  }

  .integrations-featured-glow {
    width: 160px;
    height: 160px;
    filter: blur(40px);
  }

  .integrations-featured-icon {
    width: 88px;
    height: 88px;
  }

  .integrations-featured-icon-img {
    width: 44px;
    height: 44px;
  }

  .integrations-card-logo {
    width: 52px;
    height: 52px;
  }

  .integrations-card-logo-img {
    width: 52px;
    height: 52px;
  }

  .integrations-card-text {
    gap: 3px;
  }

  .integrations-card-title {
    font-size: 14px;
  }

  .integrations-card-desc {
    font-size: 12px;
  }
}


/* ----------------------------------------
   INTEGRATIONS - Large Desktop (1200px+)
   Wider cards, more overflow for edge cutoff
   ---------------------------------------- */
@media (min-width: 1200px) {
  .integrations-rows {
    gap: 14px;
  }

  .integrations-row {
    gap: 14px;
    width: calc(100% + 180px);
  }

  .integrations-card {
    max-width: 300px;
    padding: 20px 24px;
    border-radius: 20px;
  }

  .integrations-card-logo {
    width: 56px;
    height: 56px;
  }

  .integrations-card-logo-img {
    width: 52px;
    height: 52px;
  }

  .integrations-card-text {
    gap: 4px;
  }

  .integrations-card-title {
    font-size: 15px;
  }

  .integrations-card-desc {
    font-size: 13px;
  }

  /* Featured element */
  .integrations-featured-glow {
    width: 200px;
    height: 200px;
    filter: blur(50px);
  }

  .integrations-featured-icon {
    width: 90px;
    height: 90px;
  }

  .integrations-featured-icon-img {
    width: 44px;
    height: 44px;
  }
}


/* ----------------------------------------
   INTEGRATIONS - Extra Large Desktop (1400px+)
   Maximum card width, strong edge cutoff effect
   ---------------------------------------- */
@media (min-width: 1400px) {
  .integrations-rows {
    gap: 14px;
  }

  .integrations-row {
    gap: 14px;
    width: calc(100% + 240px);
  }

  .integrations-card {
    max-width: 320px;
    padding: 24px 28px;
    border-radius: 24px;
  }

  .integrations-card-logo {
    width: 64px;
    height: 64px;
  }

  .integrations-card-logo-img {
    width: 52px;
    height: 52px;
  }

  .integrations-card-title {
    font-size: 16px;
  }

  .integrations-card-desc {
    font-size: 14px;
  }

  /* Featured element */
  .integrations-featured-glow {
    width: 220px;
    height: 220px;
    filter: blur(60px);
  }

  .integrations-featured-icon {
    width: 100px;
    height: 100px;
  }

  .integrations-featured-icon-img {
    width: 48px;
    height: 48px;
  }
}


/* ----------------------------------------
   INTEGRATIONS - Reduced Motion
   ---------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .integrations-card {
    transition: none;
  }
}
