/* ==========================================================================
   VN OFFICE BY VINCODE (https://vincode.xyz/)
   Companion Overrides on top of Original fdx-main.css + bootstrap.min.css
   Enforces Zero Box-Shadow & Interactive Slider / Video Controls
   ========================================================================== */

*,
*::before,
*::after {
  box-shadow: none !important;
}

html {
  scroll-behavior: smooth;
}

/* ==========================================================================
   1. Synchronized Light Header (.fdx-header & .menu-top) with Gilroy & System Navy/Blue
   Completely overrides legacy fdx-main.css floats, Bootstrap .row::before/after,
   and bg-text-contact.png dark background polygon
   ========================================================================== */
.fdx-header,
.fdx-header.active,
.fdx-header.is-home {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  float: none !important;
  display: block !important;
  z-index: 9999 !important;
  background-color: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid #e4ebf5 !important;
}

.fdx-header .menu-top,
.fdx-header.active .menu-top {
  float: none !important;
  width: 100% !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.fdx-header .menu-top .wrap {
  max-width: 1240px !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: 0 24px !important;
}

/* Remove Bootstrap .row::before / ::after pseudo-elements so Flexbox aligns cleanly */
.fdx-header .menu-top .row::before,
.fdx-header .menu-top .row::after {
  display: none !important;
  content: none !important;
}

.fdx-header .menu-top .row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: nowrap !important;
  margin: 0 !important;
  min-height: 68px !important;
  width: 100% !important;
}

/* Left Column: Brand Logo */
.fdx-header .menu-top .fdx-logo {
  width: auto !important;
  flex: 0 0 auto !important;
  float: none !important;
  padding: 0 !important;
  margin: 0 !important;
  position: relative;
  z-index: 2;
}

.fdx-header .menu-top .fdx-logo h1 {
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  line-height: 1 !important;
}

.fdx-logo h1 a.vnoffice-brand-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  color: #191918 !important;
  font-family: Gilroy, sans-serif !important;
  font-weight: 700 !important;
  font-size: 18px !important;
  text-decoration: none !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

.fdx-logo h1 a.vnoffice-brand-link img {
  width: 30px !important;
  height: 30px !important;
  max-width: 30px !important;
  max-height: 30px !important;
  border-radius: 7px !important;
  object-fit: cover !important;
  flex-shrink: 0 !important;
}

.fdx-logo h1 a.vnoffice-brand-link span {
  display: inline-flex !important;
  align-items: baseline !important;
  gap: 6px !important;
  white-space: nowrap !important;
}

.fdx-logo h1 a.vnoffice-brand-link small {
  font-family: Gilroy, sans-serif !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  color: #0647c9 !important;
  letter-spacing: 0.05em !important;
}

/* Center Column: Main Navigation Menu */
.fdx-header .menu-top .fdx-main-menu {
  width: auto !important;
  flex: 1 1 auto !important;
  float: none !important;
  padding: 0 16px !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.fdx-header .menu-top .fdx-main--menu {
  float: none !important;
  width: auto !important;
  padding: 0 !important;
  margin: 0 !important;
}

.fdx-header .menu-top .fdx-main--menu .menu {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: nowrap !important;
  gap: 4px !important;
  padding: 0 !important;
  margin: 0 !important;
  list-style: none !important;
}

.fdx-header .menu-top .fdx-main--menu .menu li {
  float: none !important;
  padding: 0 !important;
  margin: 0 !important;
  list-style: none !important;
  white-space: nowrap !important;
}

.fdx-header .menu-top .fdx-main--menu .menu li a {
  display: inline-block !important;
  padding: 8px 14px !important;
  font-family: Gilroy, sans-serif !important;
  color: #222222 !important;
  font-weight: 600 !important;
  font-size: 14.5px !important;
  line-height: 1.3 !important;
  letter-spacing: 0 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  transition: color 0.2s ease;
}

.fdx-header .menu-top .fdx-main--menu .menu li a:hover {
  color: #0647c9 !important;
}

/* Right Column: Download CTA Button & Mobile Hamburger */
.fdx-header .menu-top .fdx-main-menu-rightTop {
  width: auto !important;
  flex: 0 0 auto !important;
  float: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 10px !important;
}

/* Strip legacy bg-text-contact.png dark polygon from .fdx-custom-contact */
.fdx-header .menu-top .fdx-custom-contact {
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  background-image: none !important;
  display: flex !important;
  align-items: center !important;
}

.fdx-header .menu-top .fdx-main-menu-rightTop .fdx-custom-contact a#headerDownloadBtn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-family: Gilroy, sans-serif !important;
  background: #0647c9 !important;
  background-image: none !important;
  border: 1.5px solid #0647c9 !important;
  color: #ffffff !important;
  border-radius: 999px !important;
  padding: 9px 20px !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  white-space: nowrap !important;
  text-decoration: none !important;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease !important;
}

.fdx-header .menu-top .fdx-main-menu-rightTop .fdx-custom-contact a#headerDownloadBtn:hover {
  background-color: #162570 !important;
  border-color: #162570 !important;
  transform: translateY(-1px);
}

/* ==========================================================================
   2. Open Centered Hero (.wps-hero) — Same Layout as Screenshot, Synchronized
      with System Fonts (Gilroy + Graphik), System Colors (#222, #162570, #0647c9)
      & Clean Framed Cards (.svc-card / .dx-card style)
   ========================================================================== */
.wps-hero {
  position: relative;
  padding: 118px 20px 72px;
  /* Matches .svc-grid--ai soft ice-blue surface in fdx-main.css */
  background:
    radial-gradient(ellipse 42% 38% at 10% 6%, rgba(218, 230, 250, 0.7) 0%, rgba(218, 230, 250, 0) 100%),
    radial-gradient(ellipse 42% 38% at 90% 8%, rgba(231, 242, 248, 0.75) 0%, rgba(231, 242, 248, 0) 100%),
    linear-gradient(180deg, #f4f8fc 0%, #ffffff 68%, #ffffff 100%);
  text-align: center;
  border-bottom: 1px solid #eaeaea;
}

.wps-hero__container {
  max-width: 1220px;
  margin: 0 auto;
}

/* Eyebrow Pill — System Gilroy SemiBold + #162570 / #0647c9 */
.wps-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 20px;
  border-radius: 999px;
  background: #eff4fc;
  border: 1.5px solid #d0dff5;
  font-family: Gilroy, sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #162570;
  margin-bottom: 22px;
}

.wps-hero__eyebrow-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #0647c9;
  display: inline-block;
}

/* 1. Main H1 Headline — Matches .fdx-home-overviewTitle h2 (Gilroy 700, 56px, #222) */
.wps-hero__h1 {
  font-family: Gilroy, sans-serif;
  font-size: 56px;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: #222222;
  margin: 0 auto 18px;
  max-width: 960px;
}

.wps-hero__ai-text {
  position: relative;
  display: inline-block;
  color: #0647c9;
  padding-right: 24px;
}

.wps-hero__sparkle {
  position: absolute;
  top: -4px;
  right: 0;
  width: 22px;
  height: 22px;
  color: #1e5fe3;
}

/* 2. Sub-headline — System Royal Navy #162570 + Gilroy 600 */
.wps-hero__h2 {
  font-family: Gilroy, sans-serif;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.4;
  color: #162570;
  margin: 0 auto 18px;
}

/* 3. Centered 2-Line Description — System Graphik 400 (#3b3b3b) */
.wps-hero__p {
  max-width: 790px;
  margin: 0 auto 30px;
  font-family: Graphik, sans-serif;
  font-size: 16px;
  line-height: 1.72;
  color: #3b3b3b;
  font-weight: 400;
}

.wps-hero__p strong {
  font-family: Graphik, sans-serif;
  color: #222222;
  font-weight: 600;
}

/* 4. Dual OS Download CTA Buttons — Synchronized with System Colors (#0647c9 & #162570) */
.wps-hero__cta-wrap {
  margin-bottom: 42px;
}

.wps-hero__btn-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.wps-hero__cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 54px;
  padding: 0 34px;
  border-radius: 14px;
  font-family: Gilroy, sans-serif;
  font-size: 16.5px;
  font-weight: 700;
  text-decoration: none !important;
  transition: all 0.22s ease;
}

.wps-hero__cta-btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.wps-hero__cta-btn.is-primary {
  background-color: #0647c9;
  border: 1.5px solid #0647c9;
  color: #ffffff !important;
}

.wps-hero__cta-btn.is-primary:hover {
  background-color: #162570;
  border-color: #162570;
  transform: translateY(-2px);
}

.wps-hero__cta-btn.is-secondary {
  background-color: #ffffff;
  border: 1.5px solid #c5d3e8;
  color: #162570 !important;
}

.wps-hero__cta-btn.is-secondary:hover {
  border-color: #0647c9;
  color: #0647c9 !important;
  background-color: #f5f8ff;
  transform: translateY(-2px);
}

.wps-hero__cta-btn.is-disabled,
.wps-hero__cta-btn.is-disabled:hover {
  background-color: #f1f4f9 !important;
  border: 1.5px dashed #cbd5e1 !important;
  color: #94a3b8 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
  transform: none !important;
  user-select: none;
}

.dx-report-thumb.is-disabled,
.dx-report-thumb.is-disabled:hover {
  opacity: 0.55 !important;
  filter: grayscale(85%) !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
  transform: none !important;
  user-select: none;
}

.vno-link-disabled {
  color: #94a3b8 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
  font-family: Graphik, sans-serif;
  font-size: 14px;
  user-select: none;
}

.wps-hero__os-links {
  margin-top: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-family: Graphik, sans-serif;
  font-size: 13.5px;
  font-weight: 400;
  color: #555555;
}

/* 5. Framed Horizontal App & Platform Icon Strip (Single Row, Clean System Card Frame) */
.wps-hero__icon-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 14px;
  max-width: 1180px;
  margin: 0 auto 36px;
  padding: 22px 30px;
  background: #ffffff;
  border: 1.5px solid #e2e8f2;
  border-radius: 20px;
}

.wps-icon-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.wps-strip-divider {
  width: 1px;
  height: 36px;
  background-color: #dce4f0;
  flex-shrink: 0;
  display: inline-block;
}

.wps-icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none !important;
  min-width: 58px;
  transition: transform 0.2s ease;
}

.wps-icon-item:hover {
  transform: translateY(-3px);
}

.wps-sq-icon {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: Gilroy, sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
}

.wps-sq-icon svg {
  width: 19px;
  height: 19px;
}

/* System-harmonized icon palette (Deep Navy, Royal Blue, Slate, Teal, Indigo) */
.wps-sq-icon.is-docs     { background: #0647c9; }
.wps-sq-icon.is-sheets   { background: #0d9488; }
.wps-sq-icon.is-slides   { background: #d97706; }
.wps-sq-icon.is-pdf      { background: #dc2626; }
.wps-sq-icon.is-airpage  { background: #162570; }
.wps-sq-icon.is-forms    { background: #1e5fe3; }
.wps-sq-icon.is-dbsheet  { background: #0f766e; }
.wps-sq-icon.is-vnai     { background: #3d68ff; }
.wps-sq-icon.is-airsheet { background: #162570; }
.wps-sq-icon.is-aislides { background: #4338ca; }
.wps-sq-icon.is-mac      { background: #222222; }
.wps-sq-icon.is-win      { background: #0647c9; }
.wps-sq-icon.is-android  { background: #162570; }

.wps-icon-label {
  font-family: Graphik, sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: #222222;
  line-height: 1.2;
  white-space: nowrap;
}

/* 6. Three-Column Feature Row — Clean Framed Cards Matching .svc-card / .dx-card */
.wps-hero__features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto 32px;
  text-align: left;
}

.wps-feat-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #ffffff;
  border: 1.5px solid #e2e8f2;
  border-radius: 20px;
  padding: 28px 26px;
  transition: border-color 0.22s ease, transform 0.22s ease;
}

.wps-feat-item:hover {
  border-color: #0647c9;
  transform: translateY(-3px);
}

.wps-feat-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background-color: #eff4fc;
  border: 1px solid #d0dff5;
  color: #0647c9;
}

.wps-feat-icon svg {
  width: 21px;
  height: 21px;
}

.wps-feat-icon.is-purple {
  background-color: #eef2ff;
  border-color: #c7d2fe;
  color: #162570;
}

.wps-feat-icon.is-blue {
  background-color: #eff4fc;
  border-color: #d0dff5;
  color: #0647c9;
}

.wps-feat-icon.is-indigo {
  background-color: #eff4fc;
  border-color: #d0dff5;
  color: #1e5fe3;
}

.wps-feat-body h3 {
  font-family: Gilroy, sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  color: #222222;
  margin: 0 0 8px;
}

.wps-feat-body p {
  font-family: Graphik, sans-serif;
  font-size: 14px;
  line-height: 1.65;
  color: #3b3b3b;
  margin: 0;
}

/* 7. Bottom Rounded Trust Banner — Single Horizontal Line, System Surface (#f5f5f7) */
.wps-hero__trust-bar {
  max-width: 1180px;
  margin: 0 auto;
  padding: 26px 34px;
  border-radius: 20px;
  background-color: #f5f5f7;
  border: 1.5px solid #e2e8f2;
  display: grid;
  grid-template-columns: auto 1px 1fr;
  align-items: center;
  gap: 28px;
}

.wps-trust-title {
  font-family: Gilroy, sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #222222;
  white-space: nowrap;
}

.wps-trust-divider {
  width: 1px;
  height: 36px;
  background-color: #cbd5e1;
}

.wps-trust-logos {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: center;
  gap: 12px;
}

.wps-metric-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.wps-metric-badge strong {
  font-family: Gilroy, sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #162570;
  line-height: 1.2;
  white-space: nowrap;
}

.wps-metric-badge span {
  font-family: Graphik, sans-serif;
  font-size: 12.5px;
  font-weight: 400;
  color: #555555;
  margin-top: 4px;
  white-space: nowrap;
}

.wps-metric-badge.is-highlight strong {
  color: #0647c9;
}

@media screen and (max-width: 1140px) {
  .wps-hero__icon-strip {
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
  }
  .wps-strip-divider {
    display: none;
  }
  .wps-hero__trust-bar {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 18px;
  }
  .wps-trust-divider {
    display: none;
  }
  .wps-trust-logos {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

@media screen and (max-width: 991px) {
  .wps-hero__h1 {
    font-size: 38px;
  }
  .wps-hero__h2 {
    font-size: 19px;
  }
  .wps-hero__features {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .wps-trust-logos {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Intro Video Card (.intro-fpt) — Auto-Responsive 16:9 Desktop & 9:16 Mobile Cinema Frame */
.intro-fpt__photo {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: #0b0d13;
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  aspect-ratio: 16 / 9;
  cursor: pointer;
}

.intro-fpt__photo video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.intro-fpt__photo.is-reel {
  aspect-ratio: 9 / 16;
  max-width: 390px;
  margin-left: auto !important;
  margin-right: auto !important;
  border-radius: 28px;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.intro-fpt__controls {
  position: absolute;
  left: 26px;
  bottom: 26px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 4;
}

.intro-fpt__ctrl-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  background: rgba(18, 22, 33, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #ffffff;
  font-family: Gilroy, sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.intro-fpt__ctrl-btn .ctrl-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.intro-fpt__ctrl-btn:hover {
  background: #0647c9;
  border-color: #3d68ff;
  transform: translateY(-2px);
}

.intro-fpt__progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3.5px;
  background: rgba(255, 255, 255, 0.14);
  z-index: 4;
  pointer-events: none;
}

.intro-fpt__progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #0647c9 0%, #3d68ff 100%);
  transition: width 0.15s linear;
}

@media screen and (max-width: 768px) {
  .intro-fpt__photo {
    aspect-ratio: 9 / 16;
    max-width: 380px;
    margin-left: auto !important;
    margin-right: auto !important;
    border-radius: 26px;
  }
  .intro-fpt__controls {
    left: 16px;
    right: 16px;
    bottom: 18px;
    justify-content: center;
  }
  .intro-fpt__ctrl-btn {
    height: 40px;
    padding: 0 16px;
    font-size: 13px;
  }
}

/* Download CTA Pill inside DxSeries Cards */
.dx-download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0 28px;
}

.dx-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  background: #162570;
  color: #ffffff !important;
  font-family: Gilroy, sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none !important;
  transition: background 0.2s ease;
}

.dx-download-btn:hover {
  background: #1659ff;
}

/* ==========================================================================
   Core Office Suite (.svc-grid--pink) & AI Suite (.svc-grid--ai)
   Ultra-HD Crisp Rendering & 3D Interactive Hover Swap
   ========================================================================== */
.svc-grid--pink .svc-card,
.svc-grid--ai .svc-card {
  border: 1.5px solid transparent;
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.35s ease;
}

.svc-grid--pink .svc-card:hover,
.svc-grid--ai .svc-card:hover {
  transform: translateY(-6px);
}

.svc-card[data-core-app="docs"]:hover {
  border-color: #2563eb;
}

.svc-card[data-core-app="sheets"]:hover {
  border-color: #10b981;
}

.svc-card[data-core-app="slides"]:hover {
  border-color: #ea580c;
}

.svc-card[data-core-app="pdf"]:hover {
  border-color: #e11d48;
}

.svc-card[data-core-app="ai-docs"]:hover {
  border-color: #4f46e5;
}

.svc-card[data-core-app="ai-sheets"]:hover {
  border-color: #0d9488;
}

.svc-card[data-core-app="ai-pdf"]:hover {
  border-color: #9333ea;
}

.svc-card[data-core-app="calendar"]:hover {
  border-color: #0284c7;
}

.svc-card[data-core-app="admin"]:hover {
  border-color: #059669;
}

.svc-card__media.has-hover-swap {
  position: relative;
  overflow: hidden;
}

.svc-card__media.has-hover-swap img {
  image-rendering: -webkit-optimize-contrast;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: opacity, transform;
}

.svc-card__media.has-hover-swap .svc-img-default {
  position: relative;
  z-index: 1;
  opacity: 1;
  transform: scale(1) translateY(0);
  transition: opacity 0.36s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.svc-card__media.has-hover-swap .svc-img-hover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right bottom;
  z-index: 2;
  opacity: 0;
  transform: scale(0.96) translateY(12px);
  transition: opacity 0.38s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.44s cubic-bezier(0.22, 1, 0.36, 1);
}

.svc-card__media.left.has-hover-swap .svc-img-hover {
  object-position: left bottom;
}

.svc-grid--ai .svc-card__media.has-hover-swap img {
  width: 100%;
  object-fit: contain;
  object-position: center bottom;
}

.svc-grid--ai .svc-card__media.has-hover-swap .svc-img-hover {
  object-fit: contain;
  object-position: center bottom;
}

.svc-card:hover .svc-card__media.has-hover-swap .svc-img-default {
  opacity: 0;
  transform: scale(0.95) translateY(8px);
}

.svc-card:hover .svc-card__media.has-hover-swap .svc-img-hover {
  opacity: 1;
  transform: scale(1.02) translateY(0);
}

/* ==========================================================================
   3. 60FPS SCROLL-REVEAL & MICRO-INTERACTION CHOREOGRAPHY SYSTEM
   Smooth cubic-bezier(0.22, 1, 0.36, 1) entrance, Stagger Cascades & Parallax
   ========================================================================== */

/* Top Scroll Progress Indicator Bar */
.vno-scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2.5px;
  width: 0%;
  background: linear-gradient(90deg, #0647c9 0%, #3d68ff 60%, #162570 100%);
  z-index: 10000;
  transition: width 0.08s linear;
  pointer-events: none;
}

/* Active Navigation Link Highlight on Scroll */
.fdx-header .menu-top .fdx-main--menu .menu li a {
  position: relative;
}

.fdx-header .menu-top .fdx-main--menu .menu li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background-color: #0647c9;
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.fdx-header .menu-top .fdx-main--menu .menu li a:hover::after,
.fdx-header .menu-top .fdx-main--menu .menu li a.is-nav-active::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.fdx-header .menu-top .fdx-main--menu .menu li a.is-nav-active {
  color: #0647c9 !important;
}

/* Subtle AI Sparkle Float & Pulse in Hero */
@keyframes vnoSparklePulse {
  0%, 100% {
    transform: scale(1) rotate(0deg);
  }
  50% {
    transform: scale(1.16) rotate(12deg);
  }
}

.wps-hero__sparkle {
  animation: vnoSparklePulse 3.6s ease-in-out infinite;
}

/* Base Scroll-Reveal Primitives */
.vno-reveal {
  opacity: 0;
  will-change: opacity, transform, filter;
  transition:
    opacity 0.78s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.78s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.78s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--vno-delay, 0ms);
}

.vno-reveal--up {
  transform: translate3d(0, 36px, 0);
  filter: blur(4px);
}

.vno-reveal--scale {
  transform: translate3d(0, 32px, 0) scale(0.96);
  filter: blur(4px);
}

.vno-reveal--left {
  transform: translate3d(-34px, 0, 0);
  filter: blur(3px);
}

.vno-reveal--right {
  transform: translate3d(34px, 0, 0);
  filter: blur(3px);
}

.vno-reveal--pop {
  transform: translate3d(0, 18px, 0) scale(0.88);
  filter: blur(2px);
}

.vno-reveal.is-revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
}

/* Animated Number Line Draw in #overview (.numb) */
.fdx-home--overview .fdx-home-overviewContent .item .numb {
  position: relative;
}

.fdx-home--overview .fdx-home-overviewContent .item .numb::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 2px;
  width: 0%;
  background-color: #0647c9;
  transition: width 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--vno-delay, 0ms) + 220ms);
}

.fdx-home--overview .fdx-home-overviewContent .item .sub-item.is-revealed .numb::after {
  width: 100%;
}

/* Interactive Hover Polish for Overview Sub-items & Focus Items */
.fdx-home--overview .fdx-home-overviewContent .item .sub-item {
  transition:
    opacity 0.78s cubic-bezier(0.22, 1, 0.36, 1) var(--vno-delay, 0ms),
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.78s cubic-bezier(0.22, 1, 0.36, 1) var(--vno-delay, 0ms);
}

.fdx-home--overview .fdx-home-overviewContent .item .sub-item.is-revealed:hover {
  transform: translate3d(6px, 0, 0);
}

.fdx-home-focus--item {
  transition:
    opacity 0.78s cubic-bezier(0.22, 1, 0.36, 1) var(--vno-delay, 0ms),
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.78s cubic-bezier(0.22, 1, 0.36, 1) var(--vno-delay, 0ms);
}

.fdx-home-focus--item.is-revealed:hover {
  transform: translate3d(0, -6px, 0);
}

/* DxCard Smooth Reveal + Hover Lift Integration */
.dx-card.vno-reveal.is-revealed {
  transition:
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.6s ease;
  transition-delay: 0ms;
}

.dx-card.vno-reveal.is-revealed:hover {
  transform: translate3d(0, -6px, 0);
}

/* Svc-Card Smooth Reveal + Hover Lift Integration */
.svc-card.vno-reveal.is-revealed {
  transition:
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s ease,
    opacity 0.6s ease;
  transition-delay: 0ms;
}

.svc-card.vno-reveal.is-revealed:hover {
  transform: translate3d(0, -6px, 0);
}

/* MacBook Air Floating Parallax Wrapper in #focus */
.fdx-home-focus--businessGrowth img {
  will-change: transform;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Respect Reduced Motion Accessibility Preference */
@media (prefers-reduced-motion: reduce) {
  .vno-reveal {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
}

/* ==========================================================================
   4. COMPREHENSIVE MOBILE & TABLET RESPONSIVE SYSTEM
   Fixes fdx-main.css mobile bugs (.fdx-header hidden at 1185px, body table
   overflow, 4x3 mobile icon dock, #overview, #video-intro, #ecosystem,
   #focus, #download, #common-subscribe & .fdx-footer)
   ========================================================================== */

/* Prevent horizontal scroll caused by fdx-main.css body { display: table } */
html,
body {
  display: block !important;
  width: 100% !important;
  max-width: 100vw !important;
  overflow-x: hidden !important;
}

.div-fdx-wrap,
.site-content {
  width: 100% !important;
  max-width: 100vw !important;
  overflow-x: hidden !important;
}

/* Desktop default: hide mobile hamburger button */
.vno-mobile-toggle {
  display: none !important;
}

/* Keep Header visible across all breakpoints (fixes fdx-main.css max-width:1185px display:none) */
@media screen and (max-width: 1185px) {
  .fdx-header,
  .fdx-header.active,
  .fdx-header.is-home {
    display: block !important;
    top: 0 !important;
  }

  .fdx-header .menu-top .fdx-main--menu .menu li {
    padding: 0 !important;
  }

  .fdx-header .menu-top .fdx-main--menu .menu li a {
    padding: 8px 10px !important;
    font-size: 13.5px !important;
  }
}

/* Tablet & Mobile Navigation Drawer + Section Grids (<= 991px) */
@media screen and (max-width: 991px) {
  /* 1. Sticky Mobile Header Bar & Slide-Down Menu Drawer */
  .fdx-header .menu-top .wrap {
    padding: 0 16px !important;
  }

  .fdx-header .menu-top .row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    margin: 0 !important;
    min-height: 60px !important;
  }

  .fdx-header .menu-top .fdx-logo {
    order: 1 !important;
    width: auto !important;
    height: 60px !important;
    padding: 0 !important;
    float: none !important;
    flex: 0 0 auto !important;
    display: flex !important;
    align-items: center !important;
  }

  .fdx-header .menu-top .fdx-main-menu-rightTop {
    order: 2 !important;
    width: auto !important;
    height: 60px !important;
    padding: 0 !important;
    float: none !important;
    flex: 0 0 auto !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-left: auto !important;
  }

  .fdx-header .menu-top .fdx-main-menu-rightTop .fdx-custom-contact {
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    background-image: none !important;
  }

  .fdx-header .menu-top .fdx-main-menu-rightTop .fdx-custom-contact a#headerDownloadBtn {
    padding: 7px 14px !important;
    font-size: 12.5px !important;
    white-space: nowrap !important;
  }

  .vno-mobile-toggle {
    display: inline-flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4.5px;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1.5px solid #d0dff5;
    background: #eff4fc;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
  }

  .vno-mobile-toggle span {
    display: block;
    width: 17px;
    height: 2px;
    background-color: #162570;
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.2s ease;
  }

  .fdx-header.is-menu-open .vno-mobile-toggle span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
  }

  .fdx-header.is-menu-open .vno-mobile-toggle span:nth-child(2) {
    opacity: 0;
  }

  .fdx-header.is-menu-open .vno-mobile-toggle span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
  }

  .fdx-header .menu-top .fdx-main-menu {
    order: 3 !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    float: none !important;
    display: block !important;
    padding: 0 !important;
    margin: 0 !important;
    max-height: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none;
    transition: max-height 0.32s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.22s ease;
    border-top: 1px solid transparent;
  }

  .fdx-header.is-menu-open .menu-top .fdx-main-menu {
    max-height: 380px !important;
    opacity: 1 !important;
    pointer-events: auto;
    border-top-color: #e4ebf5;
    padding: 8px 0 14px !important;
  }

  .fdx-header .menu-top .fdx-main--menu {
    width: 100% !important;
    display: block !important;
  }

  .fdx-header .menu-top .fdx-main--menu .menu {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 2px !important;
    margin: 0 !important;
    width: 100% !important;
  }

  .fdx-header .menu-top .fdx-main--menu .menu li {
    width: 100% !important;
    padding: 0 !important;
    float: none !important;
  }

  .fdx-header .menu-top .fdx-main--menu .menu li a {
    display: block !important;
    padding: 10px 12px !important;
    border-radius: 10px;
    font-size: 15px !important;
  }

  .fdx-header .menu-top .fdx-main--menu .menu li a::after {
    display: none !important;
  }

  .fdx-header .menu-top .fdx-main--menu .menu li a:hover,
  .fdx-header .menu-top .fdx-main--menu .menu li a.is-nav-active {
    background-color: #eff4fc;
  }

  /* 2. Section 3 (#overview) Tablet/Mobile Layout Fix */
  .fdx-home--overview {
    padding: 56px 0 24px !important;
  }

  .fdx-home--overview .fdx-home-overviewTitle {
    margin-bottom: 32px !important;
  }

  .fdx-home--overview .fdx-home-overviewTitle h2 {
    font-size: 36px !important;
    line-height: 1.2 !important;
  }

  .fdx-home--overview .fdx-home-overviewContent {
    margin-bottom: 36px !important;
  }

  .fdx-home--overview .fdx-home-overviewContent .item {
    width: 100% !important;
    max-width: 100% !important;
    padding-right: 0 !important;
    float: none !important;
  }

  .fdx-home--overview .overviewBlockLeft {
    margin-top: 24px !important;
  }

  /* 3. Section 7 (#focus) Tablet/Mobile Stacking Fix */
  .fdx-home-focus .fdx-home-focus--post {
    padding: 0 16px !important;
    width: 100% !important;
  }

  .fdx-home-focus .fdx-home-focus--post_wrap {
    padding: 56px 0 24px !important;
    max-width: 100% !important;
  }

  .fdx-home-focus .fdx-home-focus--title span {
    font-size: 34px !important;
    line-height: 1.22 !important;
    max-width: 100% !important;
  }

  .fdx-home-focus .fdx-home-focus--wrapItem,
  .fdx-home-focus.home-new-focus .wrapItem,
  .fdx-home-focus.home-new-focus .wrapItemRight,
  .fdx-home-focus.home-new-focus .wrapItemLeft {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    float: none !important;
  }

  .fdx-home-focus .fdx-home-focus--item,
  .fdx-home-focus .fdx-home-focus--item.item-2 {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 16px 0 !important;
    padding: 26px 22px !important;
  }

  .fdx-home-focus .fdx-home-focus--businessGrowth {
    width: 100% !important;
    max-height: none !important;
    padding: 12px 16px 44px !important;
    position: relative !important;
    float: left !important;
  }

  .fdx-home-focus .fdx-home-focus--businessGrowth img {
    width: 100% !important;
    max-width: 460px !important;
    height: auto !important;
    margin: 0 auto !important;
    display: block !important;
    transform: none !important;
  }

  /* 4. Section 8 (#download .dx) Header Stack Fix */
  .dx__row-top {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 16px !important;
  }
}

/* Smartphone Viewport Optimization (<= 768px) */
@media screen and (max-width: 768px) {
  /* 0. Header Bar Smartphone Compact Sizing */
  .fdx-header .menu-top .wrap {
    padding: 0 12px !important;
  }

  .fdx-logo h1 a.vnoffice-brand-link {
    font-size: 16px !important;
    gap: 8px !important;
  }

  .fdx-logo h1 a.vnoffice-brand-link img {
    width: 26px !important;
    height: 26px !important;
    max-width: 26px !important;
    max-height: 26px !important;
  }

  .fdx-logo h1 a.vnoffice-brand-link small {
    font-size: 10px !important;
  }

  .fdx-header .menu-top .fdx-main-menu-rightTop .fdx-custom-contact a#headerDownloadBtn {
    padding: 6px 12px !important;
    font-size: 12px !important;
  }

  /* 1. Hero Section (.wps-hero) Smartphone Polish */
  .wps-hero {
    padding: 86px 14px 42px !important;
  }

  .wps-hero__eyebrow {
    font-size: 10.5px !important;
    letter-spacing: 0.5px !important;
    padding: 6px 12px !important;
    gap: 6px !important;
    max-width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    line-height: 1.35;
    margin-bottom: 16px !important;
  }

  .wps-hero__h1 {
    font-size: 31px !important;
    line-height: 1.22 !important;
    margin-bottom: 14px !important;
  }

  .wps-hero__h1 br {
    display: none;
  }

  .wps-hero__ai-text {
    display: inline;
    padding-right: 20px;
  }

  .wps-hero__sparkle {
    width: 17px;
    height: 17px;
    top: 0;
  }

  .wps-hero__h2 {
    font-size: 16px !important;
    line-height: 1.45 !important;
    margin-bottom: 12px !important;
  }

  .wps-hero__p {
    font-size: 14px !important;
    line-height: 1.6 !important;
    margin-bottom: 22px !important;
  }

  .wps-hero__cta-wrap {
    margin-bottom: 26px !important;
  }

  .wps-hero__btn-row {
    flex-direction: column !important;
    gap: 10px !important;
    width: 100%;
  }

  .wps-hero__cta-btn {
    width: 100% !important;
    height: 48px !important;
    padding: 0 16px !important;
    font-size: 14.5px !important;
    border-radius: 12px !important;
  }

  .wps-hero__os-links {
    flex-direction: column !important;
    gap: 4px !important;
    font-size: 12px !important;
    margin-top: 12px !important;
  }

  .wps-hero__os-links span:nth-child(even) {
    display: none !important;
  }

  /* Flatten 12 icons into a clean 4x3 iOS-style mobile grid */
  .wps-hero__icon-strip {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 16px 6px !important;
    padding: 18px 10px !important;
    margin-bottom: 22px !important;
    border-radius: 16px !important;
  }

  .wps-icon-group {
    display: contents !important;
  }

  .wps-strip-divider {
    display: none !important;
  }

  /* Hide 13th icon on small mobile so 12 icons form 3 exact rows of 4 */
  .wps-hero__icon-strip .wps-icon-group:last-child .wps-icon-item:last-child {
    display: none !important;
  }

  .wps-icon-item {
    min-width: 0 !important;
    gap: 6px !important;
  }

  .wps-sq-icon {
    width: 36px !important;
    height: 36px !important;
  }

  .wps-icon-label {
    font-size: 11px !important;
    white-space: normal !important;
    text-align: center;
  }

  .wps-hero__features {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    margin-bottom: 22px !important;
  }

  .wps-feat-item {
    padding: 18px 16px !important;
    border-radius: 16px !important;
    gap: 14px !important;
  }

  .wps-feat-icon {
    width: 40px !important;
    height: 40px !important;
    border-radius: 10px !important;
  }

  .wps-feat-body h3 {
    font-size: 16px !important;
    margin-bottom: 6px !important;
  }

  .wps-feat-body p {
    font-size: 13.5px !important;
    line-height: 1.55 !important;
  }

  .wps-hero__trust-bar {
    padding: 18px 14px !important;
    border-radius: 16px !important;
    gap: 14px !important;
  }

  .wps-trust-title {
    font-size: 15px !important;
    white-space: normal !important;
  }

  .wps-trust-logos {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px 8px !important;
  }

  .wps-metric-badge strong {
    font-size: 16px !important;
    white-space: normal !important;
  }

  .wps-metric-badge span {
    font-size: 11.5px !important;
    white-space: normal !important;
  }

  /* 2. Section 3 (#overview) Mobile Typography */
  .fdx-home--overview .fdx-home-overviewTitle h2 {
    font-size: 28px !important;
  }

  /* 3. Section 4 (#video-intro .intro-fpt) Mobile 9:16 Vertical Player Fix */
  .intro-fpt {
    padding: 12px 12px !important;
  }

  .intro-fpt__card {
    border-radius: 20px !important;
    padding: 26px 14px 20px !important;
  }

  .intro-fpt__card > .wrap {
    padding: 0 !important;
  }

  .intro-fpt__head {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 4px !important;
    margin-bottom: 16px !important;
  }

  .intro-fpt__eyebrow {
    font-size: 13px !important;
    letter-spacing: 1.5px !important;
    margin-bottom: 2px !important;
  }

  .intro-fpt__title {
    font-size: 28px !important;
  }

  .intro-fpt__tagline {
    font-size: 14px !important;
    text-align: left !important;
    color: rgba(255, 255, 255, 0.78) !important;
    margin: 0 !important;
  }

  .intro-fpt__photo,
  .intro-fpt__photo.is-reel {
    width: 100% !important;
    max-width: 330px !important;
    aspect-ratio: 9 / 16 !important;
    border-radius: 18px !important;
    margin: 0 auto !important;
  }

  .intro-fpt__controls {
    left: 10px !important;
    right: 10px !important;
    bottom: 14px !important;
    justify-content: center !important;
    gap: 8px !important;
    flex-wrap: nowrap !important;
  }

  .intro-fpt__ctrl-btn {
    height: 36px !important;
    padding: 0 12px !important;
    font-size: 12px !important;
    white-space: nowrap !important;
  }

  /* 4. Sections 5 & 6 (#ecosystem, .svc-grid--pink, #ai-suite) Mobile Cards */
  .fdx-home-consulting {
    margin-top: 40px !important;
  }

  .fdx-home-consulting--bigText .titleXS {
    font-size: 15px !important;
  }

  .fdx-home-consulting--bigText .titleSM {
    font-size: 28px !important;
    line-height: 1.22 !important;
  }

  .fdx-home-consulting--bigText .desc {
    font-size: 15px !important;
    line-height: 1.62 !important;
    margin: 14px 0 28px !important;
  }

  .svc-grid {
    padding: 40px 0 !important;
  }

  .svc-grid.svc-grid--pink {
    margin-top: 10px !important;
  }

  .svc-grid__title {
    font-size: 25px !important;
    line-height: 1.25 !important;
    margin-bottom: 20px !important;
  }

  .svc-grid__list--4,
  .svc-grid__list--5 {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .svc-grid--pink .svc-grid__list--4 {
    padding: 0 !important;
  }

  .svc-grid--ai .svc-grid__list--5 {
    padding: 0 16px !important;
  }

  .svc-card {
    min-height: 340px !important;
    padding: 22px 20px 0 !important;
    border-radius: 16px !important;
  }

  .svc-card__tag {
    font-size: 14px !important;
    margin-bottom: 8px !important;
  }

  .svc-card__title {
    font-size: 20px !important;
    line-height: 1.3 !important;
    margin-bottom: 8px !important;
  }

  .svc-card__media {
    margin: auto -20px 0 !important;
  }

  .svc-card__media.has-hover-swap img {
    max-height: 200px !important;
    width: 100% !important;
    object-fit: contain !important;
    object-position: center bottom !important;
  }

  /* 5. Section 8 (#download .dx) Smartphone Cards */
  .fdx-home-kaizen .dx {
    padding: 44px 14px !important;
  }

  .dx__row-top > div:first-child > div {
    font-size: 34px !important;
  }

  .dx__by {
    flex-wrap: wrap !important;
    gap: 4px !important;
  }

  .dx__by a {
    margin-left: 0 !important;
    font-size: 18px !important;
  }

  .dx__grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .dx-card {
    padding: 22px 18px !important;
    min-height: auto !important;
    border-radius: 16px !important;
  }

  .dx-download-btn {
    width: 100% !important;
    justify-content: center !important;
    font-size: 13.5px !important;
    padding: 0 14px !important;
  }

  .dx-reports__thumbs {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  /* 6. Section 9 & 10 (#common-subscribe, .fdx-explore, .fdx-footer) */
  .fdx-home-subscribe {
    margin-top: 20px !important;
    padding: 36px 0 !important;
  }

  .fdx-home-subscribe .fdx-home-subscribe--title {
    font-size: 24px !important;
    line-height: 1.3 !important;
  }

  .fdx-explore {
    padding: 40px 16px !important;
  }

  .fdx-explore .fdx-explore--title {
    font-size: 22px !important;
    line-height: 1.35 !important;
  }

  .fdx-footer-wrap .footer-top--logo a {
    font-size: 17px !important;
  }
}
