/* ==========================================================================
   ZFUTURE UNIFIED GLOBAL LAYOUT CSS
   Provides the unified Navbar, Apple-style liquid glass frost, 
   unclipped glowing Zfuture logo, and full Zfuture Digital Studio footer.
   ========================================================================== */

/* Universal box-sizing reset for injected elements */
.zf-global-navbar *,
.zf-global-navbar *::before,
.zf-global-navbar *::after,
.zf-glow-logo-section *,
.zf-glow-logo-section *::before,
.zf-glow-logo-section *::after,
.zf-global-footer-wrap *,
.zf-global-footer-wrap *::before,
.zf-global-footer-wrap *::after {
  box-sizing: border-box;
}

/* --------------------------------------------------------------------------
   1. NAVBAR
   -------------------------------------------------------------------------- */
.zf-global-navbar {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 60px;
  z-index: 99990;
  background: transparent;
  pointer-events: auto;
  transition: background-color 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease, -webkit-backdrop-filter 0.3s ease;
  border-bottom: 1px solid transparent;
}

/* Liquid Glass Frost on Scroll */
.zf-global-navbar.zf-scrolled {
  background: rgba(8, 8, 10, 0.65) !important;
  backdrop-filter: blur(24px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

/* Light mode overrides (for light heroes like Showcase 2) */
.zf-global-navbar.zf-light-mode:not(.zf-scrolled) .zf-nav-link {
  color: #1f1c2b !important;
  font-weight: 600 !important;
}
.zf-global-navbar.zf-light-mode:not(.zf-scrolled) .zf-nav-logo-link {
  color: #1f1c2b !important;
}
.zf-global-navbar.zf-light-mode:not(.zf-scrolled) .zf-showcase-switcher {
  background: rgba(0, 0, 0, 0.06) !important;
  border-color: rgba(0, 0, 0, 0.12) !important;
}
.zf-global-navbar.zf-light-mode:not(.zf-scrolled) .zf-switcher-arrow {
  color: #1f1c2b !important;
}
.zf-global-navbar.zf-light-mode:not(.zf-scrolled) .zf-switcher-arrow:hover {
  background: rgba(0, 0, 0, 0.08) !important;
}
.zf-global-navbar.zf-light-mode:not(.zf-scrolled) .zf-switcher-dot {
  background: rgba(0, 0, 0, 0.25) !important;
}
.zf-global-navbar.zf-light-mode:not(.zf-scrolled) .zf-switcher-dot.active {
  background: #1f1c2b !important;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3) !important;
}

.zf-nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  position: relative;
}

.zf-nav-left {
  display: flex;
  align-items: center;
  gap: 24px;
}

.zf-nav-logo-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: #ffffff;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
  transition: opacity 0.2s ease;
}

.zf-nav-demo-badge {
  position: absolute;
  top: -6px;
  right: 0;
  font-size: 7.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1;
  color: rgba(255, 255, 255, 0.9);
  pointer-events: none;
}

.zf-nav-logo-link:hover {
  opacity: 0.85;
}

.zf-nav-logo-svg {
  width: 86px;
  height: auto;
  display: block;
}

/* Context Menu on Logo */
.zf-logo-context-menu {
  position: fixed;
  background: rgba(18, 18, 22, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 6px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  gap: 2px;
  z-index: 1000000;
  min-width: 200px;
  opacity: 0;
  transform: scale(0.95) translateY(-4px);
  pointer-events: none;
  transition: opacity 0.18s cubic-bezier(0.16, 1, 0.3, 1), transform 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

.zf-logo-context-menu.active {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: auto;
}

.zf-context-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 500;
  color: #e2e8f0;
  text-decoration: none;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s ease, color 0.15s ease;
  width: 100%;
}

.zf-context-item:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.zf-context-item svg {
  color: #94a3b8;
  flex-shrink: 0;
}

/* Nav Menu Links */
.zf-nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (max-width: 768px) {
  .zf-nav-links {
    display: none;
  }
}

.zf-nav-link-item {
  position: relative;
}

.zf-nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: #94a3b8;
  text-decoration: none;
  border-radius: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}

.zf-nav-link:hover,
.zf-nav-link:focus-visible {
  color: #ffffff;
}

.zf-nav-link.has-build-tooltip {
  position: relative;
}

.zf-nav-build-tooltip {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: rgba(24, 24, 27, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 4px 8px;
  font-size: 11px;
  color: #cbd5e1;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

.zf-nav-link.has-build-tooltip:hover .zf-nav-build-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(4px);
}

.zf-nav-build-tooltip kbd {
  background: rgba(255, 255, 255, 0.1);
  padding: 1px 4px;
  border-radius: 4px;
  font-family: inherit;
  font-size: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* --------------------------------------------------------------------------
   Our Work Dropdown Menu & Hit-Test Hover Bridge
   -------------------------------------------------------------------------- */
.zf-work-item {
  position: relative;
}

/* Hover bridge projecting downward from the button */
.zf-work-item::after {
  content: "";
  position: absolute;
  top: 100%;
  left: -20px;
  right: -20px;
  height: 25px;
  background: transparent;
  pointer-events: none;
  z-index: 999998;
}

.zf-work-item:hover::after,
.zf-work-item.is-hovered::after,
.zf-work-item.active::after {
  pointer-events: auto;
}

.zf-work-dropdown {
  white-space: normal !important;
  position: absolute;
  top: calc(100% + 10px);
  left: -80px;
  transform: translateY(-6px) scale(0.96);
  background: rgba(14, 15, 18, 0.96);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 20px;
  width: 640px;
  max-width: 94vw;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.05);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: 0.18s;
  z-index: 99999;
}

/* Hover bridge projecting upward from the dropdown card */
.zf-work-dropdown::before {
  content: "";
  position: absolute;
  top: -24px;
  left: 0;
  right: 0;
  height: 24px;
  background: transparent;
  pointer-events: auto;
}

/* Top Triangle Caret */
.zf-work-dropdown-triangle {
  position: absolute;
  top: -6px;
  left: 114px;
  transform: rotate(45deg);
  width: 12px;
  height: 12px;
  background: rgba(14, 15, 18, 0.96);
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

.zf-work-item:hover .zf-work-dropdown,
.zf-work-item.is-hovered .zf-work-dropdown,
.zf-work-item.active .zf-work-dropdown,
.zf-work-dropdown:hover {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  transition-delay: 0s;
}

/* Dropdown Header & Badge */
.zf-work-dropdown-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.zf-work-dropdown-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
}

.zf-work-dropdown-badge {
  font-size: 11px;
  font-weight: 600;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 2px 8px;
  border-radius: 9999px;
}

.zf-work-dropdown-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
  margin-bottom: 12px;
}

.zf-work-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 12px !important;
  margin-bottom: 14px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  white-space: normal !important;
}

@media (max-width: 860px) {
  .zf-work-dropdown {
    width: 580px;
  }
}

.zf-work-card {
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  aspect-ratio: 1 / 1 !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  padding: 13px !important;
  border-radius: 14px !important;
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  text-decoration: none !important;
  color: inherit !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-sizing: border-box !important;
  white-space: normal !important;
  overflow: hidden !important;
  position: relative !important;
}

.zf-work-card:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.24) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45) !important;
}

.zf-work-card-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 4px !important;
  width: 100% !important;
}

.zf-work-card-title {
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #f8fafc !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.zf-work-card-pill {
  font-size: 9.5px !important;
  font-weight: 600 !important;
  padding: 1px 6px !important;
  border-radius: 4px !important;
  background: rgba(255, 255, 255, 0.08) !important;
  color: #94a3b8 !important;
  white-space: nowrap !important;
}

.zf-work-card-desc {
  font-size: 11px !important;
  line-height: 1.35 !important;
  color: #94a3b8 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  margin: auto 0 !important;
  white-space: normal !important;
}

.zf-work-card-cta {
  font-size: 11px !important;
  font-weight: 600 !important;
  color: #38bdf8 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 3px !important;
  white-space: nowrap !important;
  margin-top: 4px !important;
}

/* Before / After Redesign Card - Compact */
.zf-before-after-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 12px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(225, 29, 72, 0.12) 0%, rgba(147, 51, 234, 0.12) 100%);
  border: 1px solid rgba(225, 29, 72, 0.25);
  text-decoration: none;
  color: inherit;
  margin-bottom: 8px;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.zf-before-after-banner:hover {
  border-color: rgba(225, 29, 72, 0.45);
  background: linear-gradient(135deg, rgba(225, 29, 72, 0.18) 0%, rgba(147, 51, 234, 0.18) 100%);
  transform: translateY(-2px);
}

.zf-before-after-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  color: #fb7185;
  margin-bottom: 2px;
}

.zf-before-after-badge .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #f43f5e;
  box-shadow: 0 0 6px #f43f5e;
}

.zf-before-after-title {
  font-size: 12.5px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 2px;
}

.zf-before-after-desc {
  font-size: 10.5px;
  color: #cbd5e1;
  line-height: 1.35;
  max-width: 440px;
}

.zf-before-after-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 11px;
  border-radius: 6px;
  background: #e11d48;
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Builder Card in Dropdown */
.zf-builder-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.zf-builder-banner:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.15);
}

.zf-builder-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #f8fafc;
}

.zf-builder-sub {
  font-size: 11px;
  color: #94a3b8;
  margin-top: 2px;
}

.zf-builder-cta {
  font-size: 11px;
  font-weight: 600;
  color: #38bdf8;
  white-space: nowrap;
}

/* Showcase Switcher in Navbar */
.zf-showcase-switcher {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  user-select: none;
}

.zf-switcher-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  color: #94a3b8;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.zf-switcher-arrow:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.zf-switcher-dots {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 2px;
}

.zf-switcher-dot {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.zf-switcher-dot:hover {
  background: rgba(255, 255, 255, 0.55);
}

.zf-switcher-dot.active {
  width: 18px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
}

/* --------------------------------------------------------------------------
   2. BOTTOM GIANT GLOWING LOGO SECTION
   -------------------------------------------------------------------------- */
.zf-glow-logo-section {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 80px 24px 0 !important;
  text-align: center;
  position: relative;
  box-sizing: border-box;
  background: #000000 !important;
  border-top: none !important;
  overflow: visible !important;
}

.zf-glow-logo-inner {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  overflow: visible !important;
}

.zf-glow-logo-title {
  font-family: 'Domaine Display', Georgia, serif;
  font-size: clamp(2.4rem, 5.5vw, 4.8rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.05;
  margin: 0 auto 28px;
  text-align: center;
  background: linear-gradient(180deg, #FFFFFF 0%, rgba(255, 255, 255, 0.72) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.zf-glow-logo-container {
  position: relative;
  width: 100%;
  aspect-ratio: 377 / 81;
  background: #000000;
  overflow: visible !important;
  margin: 0 auto;
}

.zf-glow-logo-container svg,
.aspect-377\/81 svg,
[class*="aspect-377"] svg {
  overflow: visible !important;
}

.zf-glow-svg-static {
  pointer-events: none;
  width: 100%;
  height: 100%;
  user-select: none;
  display: block;
  overflow: visible !important;
}

.zf-glow-svg-interactive {
  pointer-events: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-out;
  display: block;
  overflow: visible !important;
}

/* --------------------------------------------------------------------------
   3. FULL ZFUTURE DIGITAL STUDIO FOOTER
   -------------------------------------------------------------------------- */
.zf-global-footer-wrap {
  position: relative;
  z-index: 20;
  margin-top: -9vh !important;
  padding-top: 20px;
  overflow: hidden !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  background: #000000 !important;
  width: 100%;
}

.zf-footer-top-line {
  display: block !important;
  position: absolute;
  top: 0;
  left: 50%;
  width: 40%;
  max-width: 100%;
  height: 1px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(255, 255, 255, 0) 0%, rgba(143, 143, 143, 0.67) 50%, rgba(0, 0, 0, 0) 100%);
}

.zf-footer-radial-flare {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70%;
  height: 300px;
  max-width: 100%;
  pointer-events: none;
  background: conic-gradient(from 90deg at 50% 50%, #00000000 50%, #000 50%), radial-gradient(rgba(200, 200, 200, 0.1) 0%, transparent 80%);
}

.zf-global-footer {
  max-width: 1280px;
  margin: 0 auto;
  padding: 60px 24px 120px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

@media (min-width: 768px) {
  .zf-global-footer {
    flex-direction: row;
    gap: 32px;
  }
}

.zf-footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 200px;
}

@media (min-width: 768px) {
  .zf-footer-brand-col {
    min-width: 280px;
  }
}

.zf-footer-tagline {
  font-size: 13px;
  line-height: 1.6;
  color: #94a3b8;
  margin: 0;
}

/* Removed social icons and nav items completely sitewide */
.zf-social-icons-row,
.zf-social-icon-btn,
.footer-social-links,
[class*="social-icons"],
[class*="social-links"],
header li:has(> a[href*="social"]),
header a[href*="social"],
#sitewide-header a[href*="social"],
#nav-main-track li:has(> a[href*="social"]),
header button[data-menu-name="Social"],
#sitewide-header button[data-menu-name="Social"],
nav a[href*="social"],
nav button[data-menu-name="Social"],
a[href="/social"] {
  display: none !important;
}

/* Status Pill */
.zf-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
  color: #cbd5e1;
  text-decoration: none;
  width: fit-content;
  transition: all 0.2s ease;
}

.zf-status-pill:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.zf-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6997ff;
  box-shadow: 0 0 10px #6997ff;
}

/* Footer Link Columns */
.zf-footer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  width: 100%;
}

@media (min-width: 1024px) {
  .zf-footer-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.zf-footer-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.zf-footer-col-title {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
}

.zf-footer-col-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.zf-footer-link {
  font-size: 13.5px;
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.15s ease;
  width: fit-content;
}

.zf-footer-link:hover {
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   4. GLOBAL REVIEWS FIXES & HOVER ZOOM
   -------------------------------------------------------------------------- */
/* Eliminate black gradient overlay that cuts off review text and avatars */
#reviews li div[style*="linear-gradient(rgba(0, 0, 0, 0)"],
#reviews li div[style*="rgba(0, 0, 0, 1)"],
#reviews li div[style*="rgb(0, 0, 0)"],
#reviews li div.dark\:block,
.reviews-track li > blockquote > div[aria-hidden="true"],
.reviews-marquee-outer li > blockquote > div[aria-hidden="true"] {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Uniform, compact review card styling matching across all pages */
#reviews li,
.review-card-dark,
.review-card-light {
  width: 310px !important;
  max-width: 82vw !important;
  flex-shrink: 0 !important;
  border-radius: 14px !important;
  padding: 20px 20px 22px !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 8px 22px rgba(0, 0, 0, 0.3) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  box-sizing: border-box !important;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease, border-color 0.28s ease !important;
  cursor: pointer !important;
  position: relative !important;
  transform-origin: center center !important;
  overflow: visible !important;
}

/* Hover Zoom on all review cards */
#reviews li:hover,
.review-card-dark:hover,
.review-card-light:hover {
  transform: scale(1.045) translateY(-3px) !important;
  z-index: 50 !important;
  border-color: rgba(255, 255, 255, 0.35) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 18px 36px rgba(0, 0, 0, 0.55), 0 0 24px rgba(16, 91, 255, 0.25) !important;
}

/* Ensure review text & author details remain completely unobstructed */
#reviews li blockquote,
.review-card-dark blockquote,
.review-card-light blockquote {
  position: relative !important;
  z-index: 10 !important;
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  justify-content: space-between !important;
  margin: 0 !important;
}

#reviews li span.text-gray-12,
#reviews li span.text-gray-11,
.review-name-dark,
.review-role-dark,
.review-quote-dark {
  position: relative !important;
  z-index: 15 !important;
  opacity: 1 !important;
}

/* Prevent abrupt cutoff lines on sides of review marquee */
.reviews-marquee-outer,
#reviews div[class*="overflow-hidden"] {
  mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%) !important;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%) !important;
}

/* Reviews section seamless blending - remove weird dark lines and prevent bottom cutoff */
.reviews-section,
#reviews {
  background: transparent !important;
  border: none !important;
  border-top: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
  padding-top: 56px !important;
  padding-bottom: 110px !important;
  margin-bottom: 0 !important;
  position: relative !important;
  z-index: 10 !important;
}

/* Ensure review tracks have generous vertical padding for hover zoom without clipping */
.reviews-track,
.reviews-marquee-outer {
  padding-top: 14px !important;
  padding-bottom: 28px !important;
  overflow: visible !important;
}

/* Remove any bottom black gradient overlay on reviews that creates hard black cutoffs */
.reviews-section::after,
#reviews::after {
  display: none !important;
  content: none !important;
}

/* --------------------------------------------------------------------------
   5. DEMO BUTTON SPLIT ROW & POPUP INFO BUBBLE
   -------------------------------------------------------------------------- */
.demo-btn-row {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  width: 100% !important;
  position: relative !important;
}

.demo-btn-main {
  flex: 1 1 0% !important;
  min-width: 0 !important;
}

.demo-info-wrapper {
  position: relative !important;
  flex-shrink: 0 !important;
}

.demo-info-btn {
  width: 42px !important;
  height: 42px !important;
  border-radius: 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  user-select: none !important;
  font-family: inherit !important;
}

.demo-info-bubble {
  position: absolute !important;
  bottom: calc(100% + 12px) !important;
  right: 0 !important;
  width: 260px !important;
  padding: 14px 16px !important;
  border-radius: 14px !important;
  background: rgba(13, 16, 26, 0.96) !important;
  border: 1px solid rgba(106, 155, 255, 0.35) !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.65), 0 0 20px rgba(16, 91, 255, 0.2) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translateY(8px) scale(0.96) !important;
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.2s !important;
  pointer-events: none !important;
  z-index: 9999 !important;
  text-align: left !important;
}

/* Show on hover, focus, or active click */
.demo-info-wrapper:hover .demo-info-bubble,
.demo-info-wrapper:focus-within .demo-info-bubble,
.demo-info-wrapper.active .demo-info-bubble {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) scale(1) !important;
  pointer-events: auto !important;
}

.demo-info-bubble-title {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #67e8f9 !important;
  margin-bottom: 6px !important;
}

.demo-info-bubble-desc {
  font-size: 11.5px !important;
  line-height: 1.55 !important;
  color: #cbd5e1 !important;
  margin: 0 !important;
  font-weight: 400 !important;
}

.demo-info-bubble-arrow {
  position: absolute !important;
  bottom: -6px !important;
  right: 15px !important;
  width: 12px !important;
  height: 12px !important;
  background: rgba(13, 16, 26, 0.96) !important;
  border-right: 1px solid rgba(106, 155, 255, 0.35) !important;
  border-bottom: 1px solid rgba(106, 155, 255, 0.35) !important;
  transform: rotate(45deg) !important;
}

/* Light mode overrides for Showcase 2 */
.demo-info-btn-light {
  background: rgba(0, 0, 0, 0.04) !important;
  border: 1px solid rgba(0, 0, 0, 0.12) !important;
  color: #4A3CF7 !important;
  box-shadow: none !important;
}
.demo-info-btn-light:hover {
  background: rgba(74, 60, 247, 0.08) !important;
  border-color: #4A3CF7 !important;
}
.demo-info-bubble-light {
  background: rgba(255, 255, 255, 0.96) !important;
  border-color: rgba(74, 60, 247, 0.25) !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06) !important;
}
.demo-info-bubble-light .demo-info-bubble-title {
  color: #4A3CF7 !important;
}
.demo-info-bubble-light .demo-info-bubble-desc {
  color: #374151 !important;
}
.demo-info-bubble-light .demo-info-bubble-arrow {
  background: rgba(255, 255, 255, 0.96) !important;
  border-right-color: rgba(74, 60, 247, 0.25) !important;
  border-bottom-color: rgba(74, 60, 247, 0.25) !important;
}

/* ============================================================
   PAST WORK SECTION & WEBSITE PREVIEWS
   ============================================================ */
.zf-past-work-section {
  position: relative;
  width: 100%;
  padding-top: 80px;
  padding-bottom: 80px;
  box-sizing: border-box;
}

.zf-past-work-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 52px;
}

.zf-past-work-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 4px 12px;
  border-radius: 9999px;
  margin-bottom: 16px;
}

.zf-past-work-title {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.zf-past-work-sub {
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  line-height: 1.6;
  color: #94a3b8;
  margin: 0 auto;
}

.zf-past-work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 960px) {
  .zf-past-work-grid {
    grid-template-columns: 1fr;
    max-width: 540px;
    margin: 0 auto;
  }
}

.zf-pw-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: rgba(18, 20, 26, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.35s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.zf-pw-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65), 0 0 30px rgba(255, 255, 255, 0.05);
}

.zf-pw-visual-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #090a0d;
}

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

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

.zf-pw-hover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(4, 5, 8, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
  z-index: 2;
}

.zf-pw-card:hover .zf-pw-hover-overlay {
  opacity: 1;
  pointer-events: auto;
}

.zf-pw-hover-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: #050608;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 11px 22px;
  border-radius: 9999px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 255, 255, 0.4);
  transform: translateY(12px) scale(0.94);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s ease, box-shadow 0.25s ease;
  text-decoration: none;
  cursor: pointer;
}

.zf-pw-card:hover .zf-pw-hover-btn {
  transform: translateY(0) scale(1);
}

.zf-pw-hover-btn:hover {
  background: #ffffff;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.6), 0 0 28px rgba(255, 255, 255, 0.6);
  transform: translateY(-2px) scale(1.03);
}

/* Arrow points straight to the right by default, tilts up and enlarges on hover */
.zf-pw-hover-btn svg {
  display: inline-block;
  transform: rotate(45deg) scale(1);
  transform-origin: center center;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.zf-pw-hover-btn:hover svg {
  transform: rotate(0deg) scale(1.22);
}

.zf-pw-card-body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  text-align: left;
}

.zf-pw-badge-row,
.zf-pw-header-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
}

.zf-pw-badge {
  font-size: 11px;
  font-weight: 600;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.08);
  padding: 3px 9px;
  border-radius: 9999px;
  letter-spacing: 0.03em;
}

.zf-pw-year {
  font-family: 'JetBrains Mono', monospace, monospace;
  font-size: 11px;
  color: #64748b;
  font-variant-numeric: tabular-nums;
}

.zf-pw-card-title {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  display: flex;
  align-items: center;
  letter-spacing: -0.01em;
}

.zf-pw-card-desc {
  font-size: 13.5px;
  line-height: 1.6;
  color: #94a3b8;
  margin-bottom: 18px;
  flex-grow: 1;
}

.zf-pw-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.zf-pw-inline-link {
  font-size: 12.5px;
  font-weight: 600;
  color: #38bdf8;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.zf-pw-inline-link svg {
  display: inline-block;
  transform: rotate(45deg) scale(1);
  transform-origin: center center;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.zf-pw-card:hover .zf-pw-inline-link {
  color: #7dd3fc;
  transform: translateX(2px);
}

.zf-pw-inline-link:hover svg {
  transform: rotate(0deg) scale(1.22);
}

.zf-pw-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: #475569;
}

/* Placeholder card design */
.zf-pw-card-placeholder {
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.12);
  cursor: default;
}

.zf-pw-card-placeholder:hover {
  transform: none;
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.zf-pw-placeholder-art {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, rgba(30, 41, 59, 0.3) 0%, rgba(9, 10, 14, 0.95) 100%);
  gap: 12px;
  position: relative;
}

.zf-pw-placeholder-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
}

.zf-pw-disabled-btn {
  background: rgba(30, 41, 59, 0.85);
  color: #94a3b8;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: none;
}


/* Unified Dropdown Full-Width Cards (Aligned with Top 3 Cards) */
.zf-work-full-card,
.zf-before-after-banner,
.zf-builder-banner {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 5px !important;
  padding: 12px 14px !important;
  border-radius: 12px !important;
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  text-decoration: none !important;
  color: inherit !important;
  margin-bottom: 8px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  cursor: pointer !important;
  transition: all 0.18s ease !important;
}

.zf-work-full-card:hover,
.zf-before-after-banner:hover,
.zf-builder-banner:hover {
  background: rgba(255, 255, 255, 0.07) !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4) !important;
}

.zf-work-full-title,
.zf-before-after-title,
.zf-builder-heading {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #ffffff !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.zf-work-full-desc,
.zf-before-after-desc,
.zf-builder-sub {
  font-size: 11px !important;
  color: #94a3b8 !important;
  line-height: 1.4 !important;
  margin: 0 !important;
  max-width: 100% !important;
}

.zf-work-full-btn,
.zf-before-after-btn,
.zf-builder-cta {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  color: #38bdf8 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin-top: 4px !important;
  white-space: nowrap !important;
  cursor: pointer !important;
  transition: color 0.15s ease, transform 0.15s ease !important;
}

.zf-work-full-card:hover .zf-work-full-btn,
.zf-before-after-banner:hover .zf-before-after-btn,
.zf-builder-banner:hover .zf-builder-cta {
  color: #67e8f9 !important;
  transform: translateX(2px) !important;
}
