/* Scoped styles for EasyPURL Homepage.
   Shared brand values come from /assets/css/tokens.css. */

/* Global Container Definition for the Homepage (replaces legacy style.css container) */
.container {
  max-width: var(--ep-container-xl, 1240px);
  margin: 0 auto;
  padding: 0 var(--ep-space-5, 20px);
  position: relative;
  width: 100%;
}

.home-hero-title {
  text-shadow: 0 4px 16px rgba(15, 23, 42, 0.6);
  font-family: var(--ep-type-heading-family);
}

.home-hero-subtitle {
  text-shadow: 0 2px 10px rgba(15, 23, 42, 0.6);
  font-family: var(--ep-type-body-family);
}

/* Hero Button Styles */
.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  font-family: var(--ep-type-body-family);
  font-size: var(--ep-font-size-button);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--ep-radius-lg);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  text-decoration: none;
  box-shadow: var(--ep-shadow-button);
}

.hero-btn-primary {
  background-color: var(--ep-brand-accent);
  border: 2px solid var(--ep-brand-accent);
  color: var(--ep-white);
}

.hero-btn-primary:hover {
  background-color: var(--ep-brand-primary);
  border-color: var(--ep-brand-primary);
  color: var(--ep-white);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(37, 170, 225, 0.25);
}

.hero-btn-secondary {
  background-color: transparent;
  border: 2px solid rgba(255, 255, 255, 0.6);
  color: var(--ep-white);
}

.hero-btn-secondary:hover {
  background-color: var(--ep-white);
  border-color: var(--ep-white);
  color: var(--ep-brand-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.15);
}

.bg-radial-gradient {
  background: radial-gradient(circle, rgba(15, 23, 42, 0.2) 0%, rgba(15, 23, 42, 0.85) 100%);
}

.qr-code-right-image {
  float: right;
  max-width: 60%;
}

section.integrated-solutions img {
  max-width: 100%;
}

.add_plus::after {
  content: "+";
}

.container-twelve .three.columns {
  width: 160px;
}

.fright, .fRight {
  float: right;
}

.column, .columns {
  float: left;
  display: inline;
  margin-left: 10px;
  margin-right: 10px;
}

.align-right {
  text-align: right;
}

.form_div {
  margin-top: 60px;
}

.revolution-sec {
  padding: 60px 0px 0px 0px;
}

ul li.no_menu.only_mob {
  display: none;
}

.home_menu span {
  border-bottom: 3px solid #31276b;
}

.main-navigation ul li a:hover.home_menu span {
  border: none;
}

#rev_redirect {
  min-height: 260px;
}

@media screen and (max-width: 768px) {
  ul.cmp {
    float: none;
    margin: 3px 0 0 0;
  }
  .hdscl {
    float: left;
    width: 100%;
  }
  .container-twelve .three.columns {
    width: 160px;
    float: left;
  }
  .align-right {
    text-align: left;
  }
}

@media screen and (max-width: 480px) {
  .personalised-items-wrapper li span {
    padding: 5px;
  }
}

.footer_form_dummy_row {
  width: 100%;
  height: 1px;
  float: left;
}

/* Accessibility contrast overrides and custom homepage styles, completely bypassing legacy-bridge.css */
a {
  text-underline-offset: 0.15em;
}

#copyrights a,
.fcopy a,
p a[href^="mailto:"],
p a[href$="privacypolicy.html"] {
  color: var(--ep-white);
  text-decoration: underline;
}

.blue_button,
.purple_btn,
.cyan_btn,
.marketfree-purls-btn,
.free-purls-btn,
.creat_purl_button,
.features_more_btn a,
.start-here-btn a,
.estimateSec a.click,
a.get_qute,
.rDemo a,
.rDemo2 a,
.scroll-to-section,
.basic_bot,
.gotobutton,
input[type="submit"],
button[type="submit"] {
  background-color: var(--ep-blue-800);
  color: var(--ep-white);
}

input[type="button"],
input.button {
  background-color: var(--ep-blue-800);
  color: var(--ep-white);
}

.agency-partner .start-here-btn a,
.third a {
  background-color: var(--ep-cyan-700);
}

.blueSection {
  background-color: var(--ep-blue-800);
}

.blueSection h2 span,
.blueSection h2 {
  color: var(--ep-white);
}

.ratingBarInner2 h4 {
  color: var(--ep-blue-800);
}

img[src*="multichannel-icon_"] {
  height: auto;
  max-height: 80px;
  object-fit: contain;
}

h1, h2, h3, h4, h5,
.header-strip h5,
.header-strip h3,
.header-strip h2,
.how-it-box h3,
.how-it-box h5,
.erc-explained-content h3 {
  color: var(--ep-slate-950);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

input,
textarea,
select,
input.text,
textarea.text,
select.select {
  color: var(--ep-slate-800);
}

input::placeholder,
textarea::placeholder,
input.text::placeholder,
textarea.text::placeholder {
  color: var(--ep-slate-575);
  opacity: 1;
}

#copyrights p,
#copyrights .align-center,
.fcopy p {
  color: var(--ep-white);
}

#footer h3 {
  color: var(--ep-white);
}

.klaro .cm-link,
.klaro .cn-learn-more {
  color: var(--ep-white);
  text-decoration: underline;
}

iframe[src="about:blank"] {
  display: block;
}

/* Responsive visibility for consolidated desktop/mobile contact sections */
.mobile_form_show {
  display: none;
}

@media screen and (max-width: 1024px) {
  .mobile_form_hide {
    display: none;
  }
  .mobile_form_show {
    display: block;
  }
}

/* Center all section divider lines across the homepage (overriding Tailwind's display: block preflight) */
.secHeading img,
.resellers_p_support .container > img,
.footer_form > img,
.priceSection .secHeading img {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Modernized Industries Section Header */
.case_study_heading {
  background-color: var(--ep-color-surface-subtle); /* Match the industries grid background below it for a unified section */
  padding: var(--ep-space-24) 0 var(--ep-space-12) 0;
  position: relative;
  z-index: 10; /* Ensure it stacks cleanly above the sticky features section */
}

.case_study_heading .secHeading {
  text-align: center;
  max-width: var(--ep-content-readable);
  margin: 0 auto;
}

.case_study_heading .secHeading h3 {
  font-family: var(--ep-type-heading-family);
  font-size: var(--ep-font-size-4xl);
  font-weight: 800;
  color: var(--ep-brand-primary); /* #2a296c */
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--ep-space-4);
}

.case_study_heading .secHeading p {
  font-family: var(--ep-type-body-family);
  font-size: var(--ep-font-size-lg);
  color: var(--ep-color-text-muted); /* or var(--ep-gray-600) */
  line-height: var(--ep-line-height-relaxed);
  margin-bottom: var(--ep-space-6);
}

.section-divider {
  width: 80px;
  height: 3px;
  background-color: var(--ep-brand-accent);
  margin: 0 auto;
  border-radius: var(--ep-radius-pill);
}

/* Modernized Industries Section */
.industries_section_outer {
  padding: 0 0 var(--ep-space-20) 0; /* Removed top padding since the header block above now provides it */
  background-color: var(--ep-color-surface-subtle);
}

.industries_grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--ep-space-6);
  max-width: var(--ep-container-xl);
  margin: 0 auto;
  padding: 0 var(--ep-space-5);
}

.industry_card {
  position: relative;
  height: 380px;
  border-radius: var(--ep-radius-xl);
  overflow: hidden;
  box-shadow: var(--ep-card-shadow);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--ep-space-8) var(--ep-space-6);
  background-color: var(--ep-slate-900);
}

.industry_card_bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transform: scale(1.05); /* Slightly scaled up to hide blurred edges */
  filter: blur(4px); /* Defocus background text to eliminate visual clutter */
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

.industry_card_overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--overlay-color, rgba(0, 0, 0, 0.6));
  transition: background 0.4s ease, backdrop-filter 0.4s ease;
  backdrop-filter: blur(0px);
  z-index: 2;
}

/* Industry Card Overlay Colors (Reconciled with Design Tokens & Stylesheet) */
.industry_card.automotive {
  --overlay-color: rgba(241, 89, 70, 0.75);
  --overlay-hover-color: rgba(241, 89, 70, 0.9);
}
.industry_card.travel {
  --overlay-color: rgba(37, 170, 225, 0.75);
  --overlay-hover-color: rgba(37, 170, 225, 0.9);
}
.industry_card.education {
  --overlay-color: rgba(215, 38, 56, 0.75);
  --overlay-hover-color: rgba(215, 38, 56, 0.9);
}
.industry_card.b2b {
  --overlay-color: rgba(67, 103, 115, 0.75);
  --overlay-hover-color: rgba(67, 103, 115, 0.9);
}
.industry_card.healthcare {
  --overlay-color: rgba(39, 118, 174, 0.75);
  --overlay-hover-color: rgba(39, 118, 174, 0.9);
}
.industry_card.retail {
  --overlay-color: rgba(249, 73, 91, 0.75);
  --overlay-hover-color: rgba(249, 73, 91, 0.9);
}
.industry_card.finance {
  --overlay-color: rgba(0, 159, 147, 0.75);
  --overlay-hover-color: rgba(0, 159, 147, 0.9);
}
.industry_card.nonprofit {
  --overlay-color: rgba(221, 106, 66, 0.75);
  --overlay-hover-color: rgba(221, 106, 66, 0.9);
}

.industry_card_content {
  position: relative;
  z-index: 3;
  color: var(--ep-color-text-inverse);
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: flex-end;
}

.industry_card_kicker {
  font-size: var(--ep-font-size-xs);
  font-weight: 700;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--ep-space-2);
  text-transform: uppercase;
}

.industry_card_title {
  font-size: var(--ep-font-size-2xl);
  font-weight: 800;
  line-height: var(--ep-line-height-tight);
  color: var(--ep-color-text-inverse);
  margin: 0 0 var(--ep-space-3) 0;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.industry_card_desc {
  font-size: 14px;
  line-height: var(--ep-line-height-normal);
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 var(--ep-space-6) 0;
  opacity: 0.85; /* Always visible for better context/usability, but slightly softer */
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.industry_card_btn {
  font-size: 14px;
  font-weight: 600;
  color: var(--ep-color-text-inverse);
  display: inline-flex;
  align-items: center;
  gap: var(--ep-space-2);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--ep-radius-pill);
  padding: var(--ep-space-2) var(--ep-space-4);
  width: fit-content;
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.industry_btn_arrow {
  width: var(--ep-space-4);
  height: var(--ep-space-4);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.industry_card_link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 4;
}

/* Hover States */
.industry_card:hover {
  transform: translateY(-8px);
  box-shadow: var(--ep-shadow-soft);
}

.industry_card:hover .industry_card_bg {
  transform: scale(1.12);
  filter: blur(0px); /* Smoothly clear the blur on hover for a premium focus effect! */
}

.industry_card:hover .industry_card_overlay {
  background: var(--overlay-hover-color);
  backdrop-filter: blur(1px);
}

.industry_card:hover .industry_card_desc {
  opacity: 1;
  color: var(--ep-color-text-inverse);
}

.industry_card:hover .industry_card_btn {
  background-color: var(--ep-color-text-inverse);
  border-color: var(--ep-color-text-inverse);
  color: var(--ep-slate-950);
}

.industry_card:hover .industry_btn_arrow {
  transform: translateX(4px);
}

/* Responsive Breakpoints */
@media screen and (max-width: 1024px) {
  .industries_grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--ep-space-5);
  }
}

@media screen and (max-width: 640px) {
  .industries_grid {
    grid-template-columns: 1fr;
    gap: var(--ep-space-4);
  }
  .industry_card {
    height: 320px;
  }
  .industry_card_desc {
    opacity: 1;
    margin-bottom: var(--ep-space-4);
  }
}

/* Modernized Partner Hub Section */
.partner_hub_section {
  background-color: var(--ep-slate-900);
  padding: var(--ep-space-20) 0;
  position: relative;
  overflow: hidden;
}

.partner_hub_container {
  max-width: var(--ep-container-xl);
  margin: 0 auto;
  padding: 0 var(--ep-space-5);
  position: relative;
  z-index: 2;
}

.partner_hub_header {
  text-align: center;
  margin-bottom: var(--ep-space-12);
}

.partner_hub_kicker {
  font-size: var(--ep-font-size-xs);
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--ep-brand-accent);
  text-transform: uppercase;
  display: block;
  margin-bottom: var(--ep-space-2);
}

.partner_hub_title {
  font-size: var(--ep-font-size-4xl);
  font-weight: 800;
  color: var(--ep-color-text-inverse);
  margin: 0 0 var(--ep-space-4) 0;
  letter-spacing: -0.02em;
}

.partner_hub_subtitle {
  font-size: var(--ep-font-size-lg);
  color: var(--ep-gray-400);
  max-width: var(--ep-content-readable);
  margin: 0 auto var(--ep-space-6) auto;
  line-height: var(--ep-line-height-relaxed);
}

.partner_hub_divider {
  width: 80px;
  height: 3px;
  background-color: var(--ep-brand-accent);
  margin: 0 auto;
}

.partner_hub_tabs {
  display: flex;
  justify-content: center;
  gap: var(--ep-space-3);
  margin-bottom: var(--ep-space-12);
  flex-wrap: wrap;
}

.partner_hub_tab {
  font-size: var(--ep-font-size-base);
  font-weight: 600;
  color: var(--ep-gray-400);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 24px;
  border-radius: var(--ep-radius-pill);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.partner_hub_tab:hover {
  color: var(--ep-color-text-inverse);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
}

.partner_hub_tab.active {
  color: var(--ep-color-text-inverse);
  background-color: var(--ep-brand-accent);
  border-color: var(--ep-brand-accent);
  box-shadow: var(--ep-shadow-button-blue);
}

.partner_hub_panels {
  position: relative;
}

.partner_hub_panel {
  animation: partnerPanelFadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes partnerPanelFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.partner_hub_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--ep-space-6);
}

.partner_card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--ep-radius-xl);
  padding: var(--ep-space-8) var(--ep-space-6);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease, background-color 0.4s ease;
}

.partner_card:hover {
  transform: translateY(-6px);
  border-color: rgba(37, 170, 225, 0.4);
  background-color: rgba(255, 255, 255, 0.04);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.partner_card_icon_wrapper {
  width: 56px;
  height: 56px;
  background-color: rgba(37, 170, 225, 0.08);
  border-radius: var(--ep-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--ep-space-5);
  color: var(--ep-brand-accent);
  transition: transform 0.3s ease;
}

.partner_card:hover .partner_card_icon_wrapper {
  transform: scale(1.1);
}

.partner_card_icon {
  width: 28px;
  height: 28px;
}

.partner_card_title {
  font-size: var(--ep-font-size-xl);
  font-weight: 700;
  color: var(--ep-color-text-inverse);
  margin: 0 0 var(--ep-space-3) 0;
  letter-spacing: -0.01em;
}

.partner_card_desc {
  font-size: var(--ep-font-size-sm);
  line-height: var(--ep-line-height-normal);
  color: var(--ep-gray-400);
  margin: 0 0 var(--ep-space-6) 0;
  flex-grow: 1;
}

.partner_card_link_btn {
  font-size: var(--ep-font-size-sm);
  font-weight: 600;
  color: var(--ep-brand-accent);
  display: inline-flex;
  align-items: center;
  gap: var(--ep-space-2);
  transition: color 0.3s ease;
  text-decoration: none;
}

.partner_card_link_btn:hover {
  color: var(--ep-color-text-inverse);
}

.partner_card_btn_arrow {
  width: 16px;
  height: 16px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.partner_card_link_btn:hover .partner_card_btn_arrow {
  transform: translateX(4px);
}

/* Responsive Breakpoints */
@media screen and (max-width: 1024px) {
  .partner_hub_grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--ep-space-5);
  }
}

@media screen and (max-width: 640px) {
  .partner_hub_grid {
    grid-template-columns: 1fr;
    gap: var(--ep-space-4);
  }
  .partner_hub_tabs {
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: var(--ep-space-3);
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: var(--ep-space-2) var(--ep-space-5);
    margin-left: calc(-1 * var(--ep-space-5));
    margin-right: calc(-1 * var(--ep-space-5));
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
  }
  .partner_hub_tabs::-webkit-scrollbar {
    display: none;
  }
  .partner_hub_tab {
    flex-shrink: 0;
    text-align: center;
    padding: 10px 20px;
    font-size: var(--ep-font-size-sm);
  }
}

/* Hide obsolete section dividers across the homepage as they are no longer needed in the modern layout */
.section-divider,
.integrated-solutions-divider,
.partner_hub_divider,
.client-logo-marquee__rule {
  display: none !important;
}

/* Modernized Stats Section */
.client-logo-marquee {
  padding-bottom: 160px !important; /* Safe buffer zone to accommodate the straddling stats cards without collisions */
}

.partner_hub_section {
  padding-top: 160px; /* Safe buffer zone to accommodate the straddling stats cards without collisions */
}

.stats_straddle_section {
  position: relative;
  z-index: 30;
  margin-top: -100px; /* Lowered from -120px to start lower and prevent logo overlap */
  margin-bottom: -100px;
  background: transparent;
  pointer-events: none; /* Let clicks pass through the section container */
}

.stats_straddle_container {
  max-width: var(--ep-container-xl);
  margin: 0 auto;
  padding: 0 var(--ep-space-5);
  pointer-events: auto; /* Enable hover/clicks on the container and cards */
}

.stats_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--ep-space-8);
  justify-items: center;
}

.stat_card {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: var(--ep-color-text-inverse); /* Solid white circular card */
  border: 1px solid var(--ep-gray-200);
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08), 0 5px 15px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  padding: var(--ep-space-6);
  text-align: center;
}

.stat_card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(37, 170, 225, 0.06) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 1;
}

.stat_card:hover {
  transform: translateY(-8px) scale(1.05);
  border-color: var(--ep-brand-accent);
  box-shadow: 0 25px 50px rgba(15, 23, 42, 0.15), 0 0 20px rgba(37, 170, 225, 0.2);
}

.stat_card:hover::before {
  opacity: 1;
}

.stat_card_content {
  position: relative;
  z-index: 2;
}

.stat_number_wrapper {
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin-bottom: var(--ep-space-2);
}

.stat_number {
  font-size: var(--ep-font-size-4xl);
  font-weight: 800;
  color: var(--ep-brand-purple); /* Deep premium purple for high contrast on white */
  letter-spacing: -0.02em;
  font-family: var(--ep-font-family-sans);
}

.stat_suffix {
  font-size: var(--ep-font-size-2xl);
  font-weight: 700;
  color: var(--ep-brand-blue); /* Vibrant blue suffix */
  margin-left: 2px;
}

.stat_text {
  font-size: var(--ep-font-size-4xl);
  font-weight: 800;
  color: var(--ep-brand-purple);
  letter-spacing: -0.02em;
}

.stat_label {
  font-size: var(--ep-font-size-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ep-gray-500);
  margin: 0;
  line-height: var(--ep-line-height-normal);
}

.stat_card:hover .stat_label {
  color: var(--ep-brand-blue);
}

/* Responsive Breakpoints */
@media screen and (max-width: 1024px) {
  .client-logo-marquee {
    padding-bottom: 120px !important;
  }
  .partner_hub_section {
    padding-top: 120px;
  }
  .stats_straddle_section {
    margin-top: -80px; /* Lowered from -100px on tablet */
    margin-bottom: -80px;
  }
  .stats_grid {
    gap: var(--ep-space-4);
  }
  .stat_card {
    width: 200px;
    height: 200px;
  }
  .stat_number {
    font-size: var(--ep-font-size-3xl);
  }
  .stat_text {
    font-size: var(--ep-font-size-3xl);
  }
}

@media screen and (max-width: 640px) {
  .client-logo-marquee {
    padding-bottom: 72px !important;
  }
  .partner_hub_section {
    padding-top: 72px;
  }
  .stats_straddle_section {
    margin-top: var(--ep-space-8);
    margin-bottom: var(--ep-space-8);
    background: transparent;
  }
  .stats_grid {
    grid-template-columns: 1fr;
    gap: var(--ep-space-6);
  }
  .stat_card {
    width: 220px;
    height: 220px;
  }
}

/* Modernized Footer Contact Form Section */
.footer_form {
  background-color: var(--ep-color-surface-subtle); /* Beautiful light background to alternate from the dark Partner Hub */
  padding: var(--ep-space-20) var(--ep-space-5); /* Force padding to prevent legacy .row overrides */
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--ep-gray-200);
}

.footer_form h3 {
  font-size: var(--ep-font-size-3xl);
  font-weight: 800;
  color: var(--ep-brand-purple); /* Deep purple for high contrast on light background */
  margin: 0 auto var(--ep-space-3) auto;
  text-transform: none; /* Reconciled to modern sentence case */
  letter-spacing: -0.02em;
  max-width: var(--ep-container-md);
  line-height: var(--ep-line-height-tight);
}

.footer_form p {
  font-size: var(--ep-font-size-lg);
  color: var(--ep-color-text-muted); /* Soft dark gray for readability */
  margin: 0 auto var(--ep-space-6) auto;
  max-width: var(--ep-content-readable);
  line-height: var(--ep-line-height-relaxed);
}

.footer_form > img {
  display: block;
  margin: 0 auto var(--ep-space-12) auto;
  opacity: 0.8;
}

/* Beautified Lead Form Embed Shell */
/* Beautified Lead Form Embed Shell */
.footer_form .easypurl-form-mount {
  max-width: 680px;
  margin: 0 auto;
  background: var(--ep-color-text-inverse); /* Crisp white card */
  border: 1px solid var(--ep-gray-200);
  border-radius: var(--ep-radius-2xl);
  padding: var(--ep-space-10) var(--ep-space-8);
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.06), 0 5px 15px rgba(15, 23, 42, 0.03);
  text-align: left;
}

.footer_form .easypurl-lead-form {
  background: transparent;
  border: none;
  padding: 0;
  box-shadow: none;
  max-width: none;
  margin: 0;
}

.footer_form .easypurl-lead-form .easypurl-form-heading {
  text-align: center;
  margin-bottom: var(--ep-space-8);
}

.footer_form .easypurl-lead-form .easypurl-form-heading h3 {
  font-size: var(--ep-font-size-2xl);
  font-weight: 700;
  color: var(--ep-brand-purple); /* Deep purple form title */
  margin-bottom: var(--ep-space-2);
  letter-spacing: -0.01em;
  text-align: center;
}

.footer_form .easypurl-lead-form .easypurl-form-heading p {
  font-size: var(--ep-font-size-sm);
  color: var(--ep-color-text-muted);
  width: 100%;
  max-width: 52ch;
  margin: 0 auto;
  text-align: center;
  line-height: var(--ep-line-height-normal);
}

/* Form Inputs & Labels */
.footer_form .easypurl-lead-form label {
  font-size: var(--ep-font-size-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ep-color-text-secondary); /* Dark gray labels for high contrast */
  margin-bottom: var(--ep-space-2);
  display: block;
}

.footer_form .easypurl-lead-form input,
.footer_form .easypurl-lead-form select,
.footer_form .easypurl-lead-form textarea {
  width: 100%;
  background-color: var(--ep-color-text-inverse); /* White inputs */
  border: 1px solid var(--ep-gray-300); /* Clean light gray borders */
  border-radius: var(--ep-radius-lg);
  padding: 12px 16px;
  font-size: var(--ep-font-size-base);
  color: var(--ep-color-text-strong); /* Dark text */
  transition: all 0.3s ease;
  margin-bottom: var(--ep-space-5);
  outline: none;
}

.footer_form .easypurl-lead-form input:focus,
.footer_form .easypurl-lead-form select:focus,
.footer_form .easypurl-lead-form textarea:focus {
  border-color: var(--ep-brand-accent);
  background-color: var(--ep-color-text-inverse);
  box-shadow: 0 0 0 3px rgba(37, 170, 225, 0.15);
}

/* Submit Button */
.footer_form .easypurl-lead-form button,
.footer_form .easypurl-lead-form input[type="submit"] {
  width: 100%;
  background-color: var(--ep-brand-accent);
  border: 1px solid var(--ep-brand-accent);
  border-radius: var(--ep-radius-lg);
  padding: 14px 28px;
  font-size: var(--ep-font-size-base);
  font-weight: 700;
  color: var(--ep-color-text-inverse);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--ep-shadow-button-blue);
  margin-top: var(--ep-space-4);
}

.footer_form .easypurl-lead-form button:hover,
.footer_form .easypurl-lead-form input[type="submit"]:hover {
  background-color: var(--ep-brand-purple);
  border-color: var(--ep-brand-purple);
  color: var(--ep-color-text-inverse);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(49, 39, 107, 0.25);
}

/* Responsive Form Adjustments */
@media screen and (max-width: 640px) {
  .footer_form {
    padding: var(--ep-space-12) var(--ep-space-4); /* Force padding on mobile */
  }
  .footer_form h3 {
    font-size: var(--ep-font-size-2xl);
  }
  .footer_form .easypurl-form-mount {
    padding: var(--ep-space-6) var(--ep-space-5);
  }
}

/* Modernized Free PURLs CTA Section */
.free-purls-section {
  background: linear-gradient(135deg, var(--ep-blue-800) 0%, var(--ep-brand-accent-dark) 100%);
  padding: var(--ep-space-8) 0;
  display: block; /* Overriding inline-block */
  width: 100%;
  color: var(--ep-white);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 4px 20px rgba(15, 23, 42, 0.08);
}

.free-purls-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--ep-space-6);
  flex-wrap: wrap;
}

.free-purls-text {
  font-family: var(--ep-type-heading-family);
  font-size: var(--ep-font-size-xl);
  font-weight: 700;
  color: var(--ep-white);
  margin: 0;
  line-height: var(--ep-line-height-tight);
  letter-spacing: -0.01em;
  flex: 1 1 400px;
  float: none; /* Reset legacy float */
}

.free-purls-actions {
  display: flex;
  gap: var(--ep-space-4);
  align-items: center;
  flex-wrap: wrap;
}

/* Base button style for this section */
.free-purls-section .free-purls-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: var(--ep-button-height);
  padding: 0 var(--ep-button-padding-x);
  font-family: var(--ep-type-body-family);
  font-size: var(--ep-font-size-button);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--ep-radius-lg);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  text-decoration: none;
  float: none; /* Reset legacy float */
  margin: 0; /* Reset legacy margin */
  width: auto; /* Reset legacy width */
}

/* Primary CTA Button (Request Demo) */
.free-purls-section .free-purls-btn-primary {
  background-color: var(--ep-brand-primary);
  border: 2px solid var(--ep-brand-primary);
  color: var(--ep-white);
  box-shadow: var(--ep-shadow-button);
}

.free-purls-section .free-purls-btn-primary:hover {
  background-color: var(--ep-white);
  border-color: var(--ep-white);
  color: var(--ep-brand-primary);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(33, 31, 87, 0.25);
}

/* Secondary CTA Buttons (Contact Us, Free Ebook) */
.free-purls-section .free-purls-btn-secondary {
  background-color: transparent;
  border: 2px solid rgba(255, 255, 255, 0.6);
  color: var(--ep-white);
}

.free-purls-section .free-purls-btn-secondary:hover {
  background-color: var(--ep-white);
  border-color: var(--ep-white);
  color: var(--ep-blue-800);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.1);
}

/* Free Ebook: white resting state; primary EasyPURL blue for interaction. */
.free-purls-section #demo.free-purls-btn {
  background-color: var(--ep-white) !important;
  border-color: var(--ep-white);
  color: var(--ep-blue-800) !important;
}

.free-purls-section #demo.free-purls-btn:hover,
.free-purls-section #demo.free-purls-btn:focus-visible {
  background-color: rgb(37, 170, 225) !important;
  border-color: rgb(37, 170, 225);
  color: var(--ep-white) !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.18);
}

.free-purls-section #demo.free-purls-btn:active {
  background-color: rgb(22, 143, 202) !important;
  border-color: rgb(22, 143, 202);
  transform: translateY(0);
}

/* Responsive Styles */
@media screen and (max-width: 901px) {
  .free-purls-container {
    flex-direction: column;
    text-align: center;
    gap: var(--ep-space-5);
  }
  .free-purls-text {
    flex: none;
    width: 100%;
    text-align: center;
  }
  .free-purls-actions {
    justify-content: center;
    width: 100%;
    gap: var(--ep-space-3);
  }
}

@media screen and (max-width: 541px) {
  .free-purls-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .free-purls-section .free-purls-btn {
    width: 100%;
  }
}

/* Modernized Integrated Solutions Section */
.integrated-solutions {
  background-color: var(--ep-slate-950);
  padding: var(--ep-space-24) 0;
  position: relative;
  overflow: hidden;
}

.integrated-solutions-container {
  max-width: var(--ep-container-xl);
  margin: 0 auto;
  padding: 0 var(--ep-space-5);
}

.integrated-solutions-header {
  text-align: center;
  margin-bottom: var(--ep-space-16);
}

.integrated-solutions-header h3 {
  font-family: var(--ep-type-heading-family);
  font-size: var(--ep-font-size-4xl);
  font-weight: 800;
  color: var(--ep-white);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--ep-space-4);
}

.integrated-solutions-header p {
  font-family: var(--ep-type-body-family);
  font-size: var(--ep-font-size-lg);
  color: var(--ep-gray-400);
  max-width: var(--ep-content-readable);
  margin: 0 auto var(--ep-space-6) auto;
  line-height: var(--ep-line-height-relaxed);
}

.integrated-solutions-divider {
  width: 80px;
  height: 3px;
  background-color: var(--ep-brand-accent);
  margin: 0 auto;
  border-radius: var(--ep-radius-pill);
}

/* Grid Layout */
.integrated-solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--ep-space-8);
  align-items: stretch; /* Changed from start to stretch to enable equal column heights */
}

.integrated-solutions-col {
  display: flex;
  flex-direction: column;
  gap: var(--ep-space-8);
  float: none; /* Reset legacy floats */
  width: auto; /* Reset legacy widths */
  margin: 0; /* Reset legacy margins */
}

/* Modern Card Design */
.solutions-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--ep-radius-2xl);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  text-align: left;
}

.solutions-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(37, 170, 225, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.solutions-card-image-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.solutions-card-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.solutions-card-image-wrapper--contain img {
  object-fit: contain;
  object-position: center;
}

.solutions-card-image-wrapper--direct-mail img {
  transform: scale(1.3) rotate(-3.5deg);
}

.solutions-card-image-wrapper--email img {
  transform: scale(1.1);
  transform-origin: center top;
}

.solutions-card-image-wrapper--email {
  aspect-ratio: 1.74 / 1;
  padding-top: 9px;
}

.solutions-card-image-wrapper--reporting img {
  object-fit: contain;
  transform: none;
}

.solutions-card-image-wrapper--reporting {
  aspect-ratio: 1.6 / 1;
}

.solutions-card-image-wrapper--landing img {
  object-fit: contain;
  object-position: center;
}

.solutions-card-image-wrapper--call-tracking img {
  object-fit: contain;
  object-position: center;
  transform: scale(.9);
}

@media (min-width: 901px) {
  .solutions-card-image-wrapper--reporting img {
    width: 136.3%;
  }

}

.solutions-card:hover .solutions-card-image-wrapper img {
  transform: scale(1.05);
}

.solutions-card:hover .solutions-card-image-wrapper--contain img {
  transform: none;
}

.solutions-card:hover .solutions-card-image-wrapper--direct-mail img {
  transform: scale(1.3) rotate(-3.5deg);
}

.solutions-card:hover .solutions-card-image-wrapper--email img {
  transform: scale(1.1);
}

.solutions-card:hover .solutions-card-image-wrapper--reporting img {
  transform: none;
}

.solutions-card:hover .solutions-card-image-wrapper--landing img {
  transform: none;
}

.solutions-card:hover .solutions-card-image-wrapper--call-tracking img {
  transform: scale(.9);
}

.solutions-card-content {
  padding: var(--ep-space-6);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.solutions-card-content h4 {
  font-family: var(--ep-type-heading-family);
  font-size: var(--ep-font-size-xl);
  font-weight: 700;
  color: var(--ep-white);
  margin-bottom: var(--ep-space-3);
  line-height: var(--ep-line-height-tight);
  letter-spacing: -0.01em;
  transition: color 0.3s ease;
  text-transform: none; /* Reset legacy uppercase if any */
}

.solutions-card:hover .solutions-card-content h4 {
  color: var(--ep-brand-accent);
}

.solutions-card-content p {
  font-family: var(--ep-type-body-family);
  font-size: var(--ep-font-size-base);
  color: var(--ep-gray-400);
  line-height: var(--ep-line-height-relaxed);
  margin-bottom: var(--ep-space-5);
  flex-grow: 1;
}

/* Learn More Link */
.solutions-card-content .learn-more {
  display: inline-flex;
  align-items: center;
  gap: var(--ep-space-2);
  color: var(--ep-brand-accent);
  font-weight: 700;
  font-size: var(--ep-font-size-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  text-decoration: none;
  margin-top: auto;
}

.solutions-card-content .learn-more:hover {
  color: var(--ep-white);
}

.learn-more-arrow {
  width: 14px;
  height: 14px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.solutions-card-content .learn-more:hover .learn-more-arrow {
  transform: translateX(4px);
}

/* Central Column & Mockup */
.central-col {
  align-items: center;
  align-self: stretch; /* Stretch to align with adjacent columns */
}

.solutions-mobile-mockup-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-end; /* Align mockup to bottom */
  width: 100%;
  margin-top: auto; /* Push mockup to the bottom of the column */
  margin-bottom: calc(-1 * var(--ep-space-24)); /* Pull flush to the section bottom, offsetting the section's padding-bottom */
  padding: var(--ep-space-4) 0 0 0; /* Remove bottom padding to sit flush */
  position: relative;
  z-index: 10;
}

.solutions-mobile-mockup {
  max-width: 310px; /* Enlarged from 260px */
  filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.5));
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.solutions-mobile-mockup img {
  width: 100%;
  height: auto;
  display: block;
}

.solutions-mobile-mockup:hover {
  transform: translateY(-6px) scale(1.02);
}

/* Responsive Grid Breakpoints */
@media screen and (max-width: 1024px) {
  .integrated-solutions-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--ep-space-6);
  }
  
  /* Span the central column (and mockup) across 2 columns on tablet for a balanced layout */
  .central-col {
    grid-column: span 2;
    flex-direction: row;
    gap: var(--ep-space-6);
    align-items: stretch;
  }
  
  .central-card {
    flex: 1;
    margin-bottom: 0;
  }
  
  .solutions-mobile-mockup-wrapper {
    flex: 1;
    padding: 0;
    margin-bottom: 0; /* Reset negative margin on tablet/mobile to prevent overlap */
  }
}

@media screen and (max-width: 768px) {
  .integrated-solutions {
    padding: var(--ep-space-16) 0;
  }
  
  .integrated-solutions-header h3 {
    font-size: var(--ep-font-size-3xl);
  }
  
  /* Flatten the columns on mobile so all cards and the mockup participate in a single grid flow */
  .integrated-solutions-col {
    display: contents;
  }
  
  .integrated-solutions-grid {
    grid-template-columns: 1fr;
    gap: var(--ep-space-6);
  }
  
  .solutions-mobile-mockup-wrapper {
    order: 10; /* Force the mobile mockup to the absolute bottom of the entire grid (below all 5 cards) */
    margin-top: var(--ep-space-4) !important;
    margin-bottom: calc(-1 * var(--ep-space-16)) !important; /* Align perfectly flush with the bottom of the section */
    padding-top: var(--ep-space-4);
  }
}

/* Modernized Homepage Services Section */
.homepage-services-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.service-card {
  position: relative;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  text-align: center;
  padding: var(--ep-space-10) var(--ep-space-6);
  float: none; /* Reset legacy floats */
  width: auto; /* Reset legacy width */
  height: auto; /* Reset legacy height */
}

.service-card-bg {
  position: absolute;
  inset: 0;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

.service-card:hover .service-card-bg {
  transform: scale(1.05);
}

/* Background Images */
.bg-self-service {
  background-image: image-set(url("/images/self-services.webp") type("image/webp"), url("/images/self-services.jpg") type("image/jpeg"));
}

.bg-full-service {
  background-image: image-set(url("/images/full-service.webp") type("image/webp"), url("/images/full-service.jpg") type("image/jpeg"));
}

.bg-agency-partner {
  background-image: image-set(url("/images/agency-printer.webp") type("image/webp"), url("/images/agency-printer.png") type("image/png"));
}

/* Overlays with brand-aligned solid colors initially */
.service-card-overlay {
  position: absolute;
  inset: 0;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
  opacity: 1; /* Completely solid initially to hide busy stock images */
}

.overlay-self-service {
  background: var(--ep-brand-primary-alt); /* Premium Brand Purple */
}

.overlay-full-service {
  /* Match the primary Request Demo CTA blue. */
  background: rgb(37, 170, 225);
}

.overlay-agency-partner {
  /* Experiture logo-mark green. */
  background: var(--ep-green-500);
}

/* Hover Overlay: Fade slightly to elegantly reveal the zoomed stock image underneath */
.service-card:hover .overlay-self-service {
  background: var(--ep-brand-primary-dark);
  opacity: 0.82; /* Reveal image underneath with high contrast */
}

.service-card:hover .overlay-full-service {
  background: rgb(22, 143, 202);
  opacity: 0.82; /* Reveal image underneath with high contrast */
}

.service-card:hover .overlay-agency-partner {
  background: var(--ep-green-600);
  opacity: 0.82; /* Reveal image underneath with high contrast */
}

/* Content */
.service-card-content {
  position: relative;
  z-index: 3;
  color: var(--ep-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
}

.service-card .service-kicker {
  font-family: var(--ep-type-body-family);
  font-size: 30px;
  font-style: italic;
  font-weight: 300;
  color: var(--ep-white);
  margin: 0 0 var(--ep-space-2) 0;
  padding: 0;
  line-height: 1.2;
  text-transform: none;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.service-card h2 {
  font-family: var(--ep-type-heading-family);
  font-size: 42px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--ep-white);
  margin: 0 0 var(--ep-space-4) 0;
  padding: 0;
  line-height: 1.1;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.service-desc {
  font-family: var(--ep-type-body-family);
  font-size: var(--ep-font-size-base);
  color: rgba(255, 255, 255, 0.9);
  line-height: var(--ep-line-height-relaxed);
  margin: 0 0 var(--ep-space-6) 0;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

/* Modernized Buttons */
.service-btn-wrapper {
  margin-top: auto;
}

.service-card .service-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 var(--ep-space-8);
  font-family: var(--ep-type-body-family);
  font-size: var(--ep-font-size-button);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ep-white);
  background-color: transparent;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--ep-radius-lg);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Hover states with corresponding brand colors */
.service-card:hover .btn-self-service {
  background-color: var(--ep-white);
  border-color: var(--ep-white);
  color: var(--ep-brand-primary-alt);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.service-card:hover .btn-full-service {
  background-color: var(--ep-white);
  border-color: var(--ep-white);
  color: var(--ep-blue-800);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.service-card:hover .btn-agency-partner {
  background-color: var(--ep-white);
  border-color: var(--ep-white);
  color: var(--ep-green-600);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Responsive Breakpoints */
@media screen and (max-width: 900px) {
  .homepage-services-section {
    grid-template-columns: 1fr;
  }
  
  .service-card {
    min-height: 360px;
    padding: var(--ep-space-12) var(--ep-space-6);
  }
}

/* ==========================================================================
   FEATURES SHOWCASE (Sticky Showcase)
   ========================================================================== */
.showcase-scroll-wrapper {
  position: relative;
  height: 450vh;
}

/* Below this height there is not enough usable room for the complete scene.
   Let the section return to normal page flow instead of pinning and clipping it. */
@media (max-width: 900px), (min-width: 901px) and (max-height: 699px) {
  .showcase-scroll-wrapper {
    height: auto;
  }
}

.features-showcase-section {
  background: radial-gradient(circle at 50% 0%, var(--ep-purple-900) 0%, var(--ep-slate-950) 100%);
  padding: var(--ep-section-padding-lg) 0;
  color: var(--ep-white);
  position: relative;
  overflow: hidden;
}

/* Reserve the sticky site header (36px utility bar + 76px navigation) so the
   showcase scene is never hidden behind it. The JavaScript uses the matching
   scroll distance: wrapper height minus the browser viewport height. */
@media (min-width: 901px) and (min-height: 700px) {
  .features-showcase-section {
    position: sticky;
    top: 112px;
    height: calc(100svh - 112px);
    display: flex;
    align-items: center;
    padding: 0;
  }
  
  /* Ensure the container inside sticky section takes full width */
  .features-showcase-section .container {
    width: 100%;
  }

}

/* Compact, but complete, desktop scene for laptop-height viewports. These
   adjustments keep the heading, all six tabs, visual, caption, and skip link
   inside the available sticky area without changing the scroll sequence. */
@media (min-width: 901px) and (min-height: 700px) and (max-height: 899px) {
  .features-showcase-section .secHeading h3 {
    font-size: var(--ep-font-size-2xl);
    margin-bottom: var(--ep-space-1);
  }

  .features-showcase-section .secHeading p {
    font-size: var(--ep-font-size-sm);
    line-height: 1.35;
    margin-bottom: var(--ep-space-2);
  }

  .features-showcase-section .section-divider {
    margin-top: var(--ep-space-2);
  }

  .showcase-grid {
    grid-template-columns: minmax(240px, 320px) 1fr;
    gap: var(--ep-space-6);
    margin-top: var(--ep-space-4);
  }

  .showcase-tabs {
    gap: var(--ep-space-2);
  }

  .showcase-tab {
    gap: var(--ep-space-3);
    padding: var(--ep-space-2) var(--ep-space-4);
  }

  .showcase-icon-wrapper {
    width: 30px;
    height: 30px;
  }

  .showcase-tab-icon {
    width: 16px;
    height: 16px;
  }

  .showcase-tab-title {
    font-size: var(--ep-font-size-sm);
  }

  .showcase-tab-sub {
    font-size: var(--ep-font-size-xs);
  }

  .showcase-visual {
    aspect-ratio: 16 / 9;
  }

  .showcase-caption {
    margin-top: var(--ep-space-3);
  }

  .showcase-cap-head {
    font-size: var(--ep-font-size-xl);
    margin-bottom: var(--ep-space-1);
  }

  .showcase-cap-body {
    font-size: var(--ep-font-size-sm);
    line-height: 1.4;
    margin-bottom: var(--ep-space-2);
  }

  .showcase-cta {
    font-size: var(--ep-font-size-sm);
  }

  .showcase-skip-btn {
    bottom: var(--ep-space-3);
  }
}

@media (min-width: 901px) and (max-height: 699px) {
  .showcase-skip-btn {
    display: none;
  }
}

.features-showcase-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 80% 20%, rgba(37, 170, 225, 0.08) 0%, transparent 50%),
                    radial-gradient(circle at 20% 80%, rgba(42, 41, 108, 0.15) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}

.features-showcase-section .secHeading h3 {
  color: var(--ep-white);
  font-family: var(--ep-type-heading-family);
  font-size: var(--ep-font-size-3xl);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--ep-space-3);
  text-align: center;
}

.features-showcase-section .secHeading p {
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--ep-type-body-family);
  font-size: var(--ep-font-size-lg);
  max-width: var(--ep-content-narrow);
  margin: 0 auto var(--ep-space-4) auto;
  line-height: var(--ep-line-height-relaxed);
  text-align: center;
}

.features-showcase-section .secHeading img {
  display: block;
  margin: 0 auto;
}

.showcase-grid {
  display: grid;
  grid-template-columns: minmax(280px, 360px) 1fr;
  gap: var(--ep-space-12);
  align-items: start;
  position: relative;
  z-index: 2;
  margin-top: var(--ep-space-10);
}

@media (max-width: 900px) {
  .showcase-grid {
    grid-template-columns: 1fr;
    gap: var(--ep-space-6);
  }
}

.showcase-tabs {
  position: static;
  display: flex;
  flex-direction: column;
  gap: var(--ep-space-3);
  list-style: none;
  padding: 0;
  margin: 0;
}

@media (max-width: 900px) {
  .showcase-tabs {
    position: static;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: var(--ep-space-3);
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: var(--ep-space-2) var(--ep-space-5);
    margin-left: calc(-1 * var(--ep-space-5));
    margin-right: calc(-1 * var(--ep-space-5));
    scrollbar-width: none; /* Hide scrollbar on Firefox */
    -ms-overflow-style: none; /* Hide scrollbar on IE/Edge */
    -webkit-overflow-scrolling: touch;
  }
  .showcase-tabs::-webkit-scrollbar {
    display: none; /* Hide scrollbar on Chrome/Safari */
  }
}

.showcase-tab {
  all: unset;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: var(--ep-space-4);
  padding: var(--ep-space-4) var(--ep-space-5);
  border-radius: var(--ep-radius-xl);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 900px) {
  .showcase-tab {
    flex: 0 0 auto;
    width: auto;
    padding: var(--ep-space-3) var(--ep-space-4);
  }
}

.showcase-tab:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
}

.showcase-tab:focus-visible {
  outline: 2px solid var(--ep-brand-accent);
  outline-offset: 2px;
}

.showcase-tab[aria-selected="true"] {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.3);
}

.showcase-tab[aria-selected="true"] .showcase-icon-wrapper {
  background: var(--ep-brand-accent);
  color: var(--ep-white);
  box-shadow: 0 0 12px rgba(37, 170, 225, 0.4);
}

.showcase-icon-wrapper {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: var(--ep-radius-md);
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}

.showcase-tab-icon {
  width: 18px;
  height: 18px;
}

.showcase-tab-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  text-align: left;
}

.showcase-tab-title {
  font-family: var(--ep-type-heading-family);
  font-size: var(--ep-font-size-base);
  font-weight: 700;
  color: var(--ep-white);
}

.showcase-tab-sub {
  font-family: var(--ep-type-body-family);
  font-size: var(--ep-font-size-sm);
  color: rgba(255, 255, 255, 0.6);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.showcase-stage {
  position: relative;
  background: transparent;
  box-shadow: none;
  border: 0;
}

.showcase-visual {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.showcase-pane {
  display: none;
  height: 100%;
  width: 100%;
}

.showcase-pane[data-active="true"] {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: showcaseFade 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.showcase-pane picture,
.showcase-pane img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
  padding: 0;
}

.showcase-caption {
  display: flex;
  flex-direction: column;
  margin-top: var(--ep-space-6);
  text-align: left;
}

.showcase-cap-head {
  font-family: var(--ep-type-heading-family);
  font-size: var(--ep-font-size-2xl);
  font-weight: 800;
  color: var(--ep-white);
  margin: 0 0 var(--ep-space-2) 0;
  letter-spacing: 0.02em;
}

.showcase-cap-body {
  font-family: var(--ep-type-body-family);
  font-size: var(--ep-font-size-base);
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 var(--ep-space-4) 0;
  line-height: var(--ep-line-height-relaxed);
  max-width: 80ch;
}

.showcase-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--ep-space-2);
  color: var(--ep-brand-accent);
  text-decoration: none;
  font-family: var(--ep-type-body-family);
  font-size: var(--ep-font-size-base);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  align-self: flex-start;
}

.showcase-cta:hover {
  color: var(--ep-white);
}

.showcase-btn-arrow {
  width: 18px;
  height: 18px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.showcase-cta:hover .showcase-btn-arrow {
  transform: translateX(4px);
}

@keyframes showcaseFade {
  from {
    opacity: 0;
    transform: scale(0.98) translateY(4px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Floating Skip / Scroll Down Button */
.showcase-skip-btn {
  position: absolute;
  bottom: var(--ep-space-6);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--ep-space-1);
  color: rgba(255, 255, 255, 0.4);
  font-family: var(--ep-type-body-family);
  font-size: var(--ep-font-size-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 30;
}

.showcase-skip-btn:hover {
  color: var(--ep-brand-accent);
}

.showcase-skip-text {
  font-size: 10px;
  opacity: 0.8;
}

.showcase-skip-icon {
  width: 18px;
  height: 18px;
  animation: showcaseBounce 2s infinite;
}

@keyframes showcaseBounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(6px);
  }
  60% {
    transform: translateY(3px);
  }
}

@media (max-width: 900px) {
  .showcase-skip-btn {
    display: none; /* Hide on mobile since scroll snapping isn't active */
  }
}

/* Mobile Carousel Indicators (Dots) */
.showcase-dots {
  display: none; /* Hidden on desktop */
  position: absolute;
  right: 0;
  bottom: var(--ep-space-3);
  left: 0;
  z-index: 2;
  justify-content: center;
  align-items: center;
  gap: var(--ep-space-2, 8px);
  margin-top: var(--ep-space-4, 16px);
  width: 100%;
}

.showcase-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.showcase-dot.active {
  background: var(--ep-brand-accent, #25aae1);
  transform: scale(1.2);
  box-shadow: 0 0 8px rgba(37, 170, 225, 0.6);
}

@media (max-width: 900px) {
  .showcase-dots {
    display: flex; /* Display dots on mobile/tablet */
  }
}
