/* ==========================================================================
   Wageio — Landing Page Stylesheet
   Modern, Dark, Premium SaaS Aesthetic
   ========================================================================== */

/* --- CSS Variables & Design Tokens --- */
:root {
  /* Colors */
  --bg-dark: #02040a;
  --bg-card: #070f0b;
  --bg-card-hover: #0c1a12;
  --bg-input: #050d09;
  --border-card: #1a2d23;
  --border-card-hover: #2a4a38;
  --border-focus: #2f9e63;
  
  --text-primary: #ffffff;
  --text-muted: #8b93a7;
  --text-dimmed: #50586c;
  
  /* Green Accent Spectrum */
  --accent-blue-start: #2f9e63;
  --accent-blue-end: #167a4a;
  --accent-blue-glow: rgba(47, 158, 99, 0.35);
  --accent-blue-glow-strong: rgba(47, 158, 99, 0.65);
  --accent-highlight-card-from: #238b57;
  --accent-highlight-card-to: #0b4d32;
  --accent-border-highlight: #42b879;

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Instrument Serif', Georgia, serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Spacing & Layout */
  --container-max-width: 1200px;
  --header-height: 76px;
  --card-radius: 18px;
  
  /* Transitions */
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --- Global Reset & Box Sizing --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  color-scheme: dark;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--bg-dark);
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

/* Utility to hide labels accessibly */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Container */
.section-container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 2;
}

/* --- Header & Floating Pill Navigation --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1005;
  pointer-events: none;
  background: transparent;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
}

.nav-container {
  max-width: min(var(--container-max-width), calc(100% - 72px));
  margin: 56px auto 0;
  height: 102px;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: auto;
  background: rgba(4, 8, 18, 0.56);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(47, 158, 99, 0.45);
  border-radius: 9999px;
  box-shadow: 0 0 24px rgba(47, 158, 99, 0.14);
  transition: 
    transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.35s ease,
    max-width 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    height 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    padding 0.35s ease,
    margin 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    background-color 0.35s ease,
    border-color 0.35s ease,
    border-radius 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.35s ease;
}

/* Keep the hero header clean; the pill returns once the header becomes floating. */
.site-header:not(.nav-floating-pill) .nav-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  height: 100%;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-color: transparent;
  border-radius: 0;
  box-shadow: none;
}

/* State 2: Hidden on scroll down through Hero */
.site-header.nav-hidden .nav-container {
  transform: translateY(-130%);
  opacity: 0;
  pointer-events: none;
}

/* State 3: Locked Floating Glass Pill over Middle Section & beyond */
.site-header.nav-floating-pill {
  height: auto;
}

.site-header.nav-floating-pill .nav-container {
  max-width: 580px;
  height: 52px;
  margin: 18px auto 0;
  padding: 0 10px 0 20px;
  background: rgba(6, 10, 20, 0.82);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(47, 158, 99, 0.32);
  border-radius: 9999px;
  box-shadow: 
    0 16px 36px -6px rgba(0, 0, 0, 0.85),
    0 0 22px rgba(47, 158, 99, 0.2);
  transform: translateY(0);
  opacity: 1;
}

.site-header.nav-floating-pill .nav-container:hover {
  border-color: rgba(47, 158, 99, 0.55);
  box-shadow: 
    0 20px 42px -6px rgba(0, 0, 0, 0.9),
    0 0 28px rgba(47, 158, 99, 0.32);
}

.site-header.nav-floating-pill .brand-logo-img {
  width: 48px;
  height: 48px;
  margin-left: -14px;
}

.site-header.nav-floating-pill .nav-logo {
  font-size: 1.34rem;
}

.site-header.nav-floating-pill .nav-links {
  gap: 22px;
}

.site-header.nav-floating-pill .nav-link {
  font-size: 0.86rem;
  padding: 4px 0;
}

.site-header.nav-floating-pill .nav-cta-btn {
  padding: 7px 15px;
  font-size: 0.82rem;
  border-radius: 9999px;
  background: rgba(47, 158, 99, 0.22);
  border-color: rgba(47, 158, 99, 0.55);
}

.site-header.nav-floating-pill .nav-cta-btn:hover {
  background: rgba(47, 158, 99, 0.36);
  box-shadow: 0 0 14px rgba(47, 158, 99, 0.45);
}

/* Logo */
.nav-logo {
  display: inline-flex;
  align-items: center;
  position: relative;
  top: 0;
  gap: 0;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1.9rem;
  letter-spacing: -0.035em;
  color: var(--text-primary);
  user-select: none;
  transition: none;
}

.nav-logo:hover {
  opacity: 1;
  transform: none;
}

.brand-logo-img {
  width: 62px;
  height: 62px;
  align-self: center;
  margin-left: 0;
  object-fit: contain;
  transition: none;
}

.nav-logo:hover .brand-logo-img {
  transform: none;
  box-shadow: none;
}

.logo-text {
  color: #ffffff;
}

.nav-logo .logo-text {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.wageio-wordmark .wageio-wage,
.wageio-wordmark .wageio-io {
  font-weight: inherit;
}

.wageio-wordmark .wageio-wage,
.badge-text .wageio-wage {
  font-weight: 100;
}

.wageio-wordmark .wageio-io,
.badge-text .wageio-io {
  font-weight: 500;
}

/* Nav Links */
.desktop-nav {
  display: block;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--text-muted);
  text-decoration: none;
  position: relative;
  transition: color 0.25s ease;
  padding: 6px 0;
}

.nav-link:hover {
  color: #d1d6e2;
}

.nav-link.active {
  color: #ffffff;
  font-weight: 500;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #2f9e63, #78d39d);
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(47, 158, 99, 0.7);
  animation: nav-line-expand 0.3s var(--ease-smooth);
}

@keyframes nav-line-expand {
  from { width: 0; opacity: 0; }
  to { width: 100%; opacity: 1; }
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  position: relative;
  top: 0;
  gap: 16px;
}

.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  font-size: 0.86rem;
  font-weight: 500;
  color: #ffffff;
  background: rgba(47, 158, 99, 0.16);
  border: 1px solid rgba(47, 158, 99, 0.45);
  padding: 8px 16px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.nav-cta-btn:hover {
  background: rgba(47, 158, 99, 0.28);
  border-color: #2f9e63;
  box-shadow: 0 0 16px rgba(47, 158, 99, 0.3);
  transform: translateY(-1px);
}

/* Mobile Toggle Hamburger */
.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-direction: column;
  justify-content: space-around;
  width: 32px;
  height: 32px;
  z-index: 110;
}

.hamburger-line {
  width: 22px;
  height: 2px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu Overlay Drawer */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 100%;
  background: rgba(2, 4, 10, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-card);
  padding: 24px 28px 36px;
  flex-direction: column;
  gap: 20px;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s var(--ease-smooth), opacity 0.35s ease;
}

.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-nav-link {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text-muted);
  text-decoration: none;
  display: block;
  padding: 8px 0;
  transition: color 0.2s ease, transform 0.2s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: #ffffff;
  transform: translateX(4px);
}

.mobile-menu-cta {
  padding-top: 12px;
}


/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: 12px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s var(--ease-smooth);
  border: none;
  outline: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-blue-start) 0%, var(--accent-blue-end) 100%);
  color: #ffffff;
  padding: 14px 26px;
  box-shadow: 0 4px 20px -2px rgba(47, 158, 99, 0.45);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  transition: left 0.6s ease;
}

.btn-primary:hover {
  box-shadow: 0 6px 28px rgba(47, 158, 99, 0.65);
  transform: translateY(-2px);
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 3px 12px rgba(47, 158, 99, 0.5);
}

.btn-primary .arrow-icon {
  display: inline-block;
  transition: transform 0.25s ease;
}

.btn-primary:hover .arrow-icon {
  transform: translateX(4px);
}

.full-width {
  width: 100%;
}

.btn-text-link {
  background: none;
  border: none;
  color: var(--accent-blue-start);
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px;
  margin-top: 12px;
  display: inline-block;
}

.btn-text-link:hover {
  color: #78d39d;
}

/* --- Pill Button with Circular Arrow Badge (from user design reference) --- */
.btn-pill-arrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background-color: #ffffff;
  color: #000000;
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: -0.012em;
  text-decoration: none;
  border: none;
  outline: none;
  border-radius: 9999px;
  padding: 6px 6px 6px 26px;
  height: 54px;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
  box-shadow: 
    0 4px 20px rgba(255, 255, 255, 0.12),
    0 0 1px rgba(255, 255, 255, 0.7);
  transition: 
    transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.28s ease,
    background-color 0.2s ease;
}

.btn-pill-arrow:hover {
  transform: translateY(-2px);
  background-color: #ffffff;
  box-shadow: 
    0 10px 30px -4px rgba(255, 255, 255, 0.32),
    0 0 24px rgba(47, 158, 99, 0.25);
}

.btn-pill-arrow:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.18);
}

.btn-pill-arrow .btn-text {
  display: inline-flex;
  align-items: center;
  color: #000000;
  font-weight: 500;
  line-height: 1;
  pointer-events: none;
}

.btn-pill-arrow .btn-icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: #000000;
  color: #ffffff;
  flex-shrink: 0;
  pointer-events: none;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease;
}

.btn-pill-arrow:hover .btn-icon-circle {
  transform: scale(1.05);
}

.btn-pill-arrow .btn-arrow-svg {
  width: 17px;
  height: 17px;
  stroke: #ffffff;
  stroke-width: 2.4;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-pill-arrow:hover .btn-arrow-svg {
  transform: translate(2px, -2px);
}

/* Loading state for waitlist form submission */
.btn-pill-arrow.loading .btn-label-text {
  display: none;
}

.btn-pill-arrow.loading .btn-loader {
  display: inline-block;
}

.btn-pill-arrow.loading .btn-icon-circle {
  opacity: 0.5;
}

.btn-pill-arrow .btn-loader .spinner .path {
  stroke: #000000;
}

/* Legacy Expandable Circle Arrow Button (kept for backward compatibility) */
.btn-circle-expand {
  position: relative;
  display: inline-block;
  cursor: pointer;
  outline: none;
  border: 0;
  vertical-align: middle;
  text-decoration: none;
  background: transparent;
  padding: 0;
  font-size: inherit;
  font-family: var(--font-body);
  width: 14.5rem;
  height: 3rem;
  user-select: none;
}

.btn-circle-expand.learn-more {
  width: 14.5rem;
  height: 3rem;
}

.btn-circle-expand .circle,
.btn-circle-expand .button-text {
  pointer-events: none;
}

.btn-circle-expand .circle {
  transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
  position: relative;
  display: block;
  margin: 0;
  width: 3rem;
  height: 3rem;
  background: linear-gradient(135deg, #2f9e63 0%, #167a4a 100%);
  border-radius: 1.625rem;
  box-shadow: 0 4px 18px rgba(47, 158, 99, 0.45);
}

.btn-circle-expand .circle .icon {
  transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  background: #fff;
}

.btn-circle-expand .circle .icon.arrow {
  transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
  left: 0.625rem;
  width: 1.125rem;
  height: 0.125rem;
  background: none;
}

.btn-circle-expand .circle .icon.arrow::before {
  position: absolute;
  content: "";
  top: -0.29rem;
  right: 0.0625rem;
  width: 0.625rem;
  height: 0.625rem;
  border-top: 0.125rem solid #fff;
  border-right: 0.125rem solid #fff;
  transform: rotate(45deg);
}

.btn-circle-expand .button-text {
  transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.75rem 0;
  margin: 0 0 0 1.85rem;
  color: #ffffff;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.btn-circle-expand:hover .circle {
  width: 100%;
  box-shadow: 0 6px 26px rgba(47, 158, 99, 0.75);
}

.btn-circle-expand:hover .circle .icon.arrow {
  background: #fff;
  transform: translate(1rem, 0);
}

.btn-circle-expand:hover .button-text {
  color: #fff;
}

.btn-circle-expand.loading .btn-label-text {
  display: none;
}

.btn-circle-expand.loading .btn-loader {
  display: inline-block;
}


/* ==========================================================================
   SECTION 1: HERO
   ========================================================================== */
.hero-section {
  position: relative;
  width: 100%;
  max-width: 100vw;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 70px;
  overflow: hidden;
  background: linear-gradient(180deg, #245f43 0%, #123d2d 48%, #09251b 100%);
}

/* Ambient Fluid Aurora WebGL Shader Background */
.aurora-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(109, 105, 204, 0.28) 0%, rgba(31, 39, 112, 0.22) 52%, rgba(11, 18, 56, 0.16) 100%);
}

.aurora-container canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  display: block;
}

.hero-ireland-map {
  position: absolute;
  z-index: 1;
  top: 8%;
  right: 3vw;
  width: min(38vw, 520px);
  height: 78%;
  object-fit: contain;
  object-position: center;
  opacity: 0.11;
  filter: drop-shadow(0 0 28px rgba(84, 201, 134, 0.3));
  pointer-events: none;
  user-select: none;
}

.hero-content-wrapper {
  max-width: var(--container-max-width);
  width: 100%;
  margin: 0 auto;
  align-self: flex-start;
  height: calc(100svh - var(--header-height) - 110px);
  padding: 0 28px;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 120px;
}

/* Headline */
.hero-headline-container {
  margin-top: 40px;
}

@media (min-width: 768px) {
  .hero-headline-container {
    margin-top: auto;
    margin-bottom: auto;
  }
}

.hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(3.2rem, 8.2vw, 5.6rem); /* ~88px desktop */
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: #ffffff;
  max-width: 900px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

/* Hero Bottom Bar */
.hero-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding-top: 24px;
  position: relative;
}

.hero-description-block {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 580px;
}

.hero-avatar-badge {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(7, 11, 22, 0.75);
  border: 1px solid var(--border-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #42b879;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.hero-lead-text {
  font-size: 1.05rem;
  color: #c0c6d4;
  line-height: 1.45;
  font-weight: 400;
}

.hero-action-block {
  display: flex;
  align-items: center;
  gap: 20px;
}

.hero-btn {
  flex-shrink: 0;
}

.badge-circular-text {
  width: 100%;
  height: 100%;
  animation: rotate-badge 24s linear infinite;
}

.badge-text {
  font-family: var(--font-heading);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  fill: #8590a8;
}

.badge-center-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 62px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  box-shadow: 0 0 14px rgba(47, 158, 99, 0.6);
}

@keyframes rotate-badge {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}


/* ==========================================================================
   SECTION 1 CONTINUED: CORE CAPABILITIES & OVERVIEW
   ========================================================================== */
.overview-section {
  padding: 110px 0 130px;
  background-color: var(--bg-dark);
  position: relative;
  border-top: 1px solid rgba(26, 34, 51, 0.35);
}

.section-header {
  margin-bottom: 54px;
}

.section-header.centered {
  text-align: center;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #42b879;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4.4vw, 3.2rem);
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 1.15;
  color: #ffffff;
}

.section-subtext {
  margin-top: 16px;
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.55;
  font-weight: 400;
}

/* ==========================================================================
   SECTION: EDITORIAL ASYMMETRICAL FEATURES (UNITED CARRIERS SPEC)
   ========================================================================== */
.features-editorial-section {
  position: relative;
  background-color: #02040a;
  width: 100%;
  min-height: 320vh;
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.features-grid-overlay {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 72px 72px;
  pointer-events: none;
  z-index: 0;
}

.features-sticky-track {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 1;
}

.features-editorial-container {
  width: 100%;
  max-width: 1540px;
  margin: 0 auto;
  padding: 0 4rem;
  display: grid;
  grid-template-columns: 130px 240px 1fr;
  align-items: center;
  position: relative;
  z-index: 2;
  height: 100vh;
}

/* Far-left Category Indicator (Horizontal clean monospace matching Image 1) */
.features-left-indicator {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  user-select: none;
}

.features-category-text {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  font-weight: 600;
  white-space: nowrap;
}

/* Center-left Technical Circular Motif (Stays stable at vertical center) */
.features-graphic-col {
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
}

.features-technical-motif {
  position: relative;
  width: 200px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tech-motif-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.compliance-harp-icon {
  opacity: 0;
  pointer-events: none;
  transition: opacity 260ms ease;
}

.compliance-harp-icon image {
  filter: none;
  opacity: 1;
}

.features-technical-motif.is-compliance .compliance-harp-icon {
  opacity: 1 !important;
  visibility: visible;
}

.features-technical-motif.is-compliance .tech-matrix-wrapper {
  opacity: 0;
}

/* Dynamic Radial Ticks Progress Bar (Instant scroll sync) */
.tech-radial-tick {
  transition: none;
  will-change: stroke, opacity;
}

.tech-radial-tick.lit {
  stroke: #ffffff !important;
  opacity: 1 !important;
  filter: drop-shadow(0 0 1.5px rgba(255, 255, 255, 0.7));
}

/* Centered minimal capability icon wrapper */
.tech-matrix-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 92px;
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: opacity 260ms ease;
}

.feature-static-icon {
  position: absolute;
  width: 76px;
  height: 76px;
  fill: none;
  stroke: rgba(255, 255, 255, 0.9);
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
  transform: scale(0.82);
  transition: opacity 260ms ease, transform 260ms ease;
}

.feature-static-icon.is-active {
  opacity: 1;
  transform: scale(1);
}

/* Right-side Feature List Column (Moves vertically on scroll) */
.features-content-col {
  display: flex;
  align-items: center;
  padding-left: 5.5vw;
  width: 100%;
  height: 100%;
  position: relative;
  overflow: visible;
}

.features-list-viewport {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.features-items-list {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 5.5rem;
  will-change: transform;
}

.feature-editorial-item {
  display: grid;
  grid-template-columns: minmax(360px, 480px) minmax(260px, 400px);
  align-items: center;
  gap: 3.5rem;
  cursor: pointer;
  outline: none;
  user-select: none;
  opacity: var(--item-opacity, 0.24);
  will-change: opacity;
}

.feature-editorial-item:hover {
  opacity: calc(var(--item-opacity, 0.24) + 0.15);
}

/* Compact, Bold, Uppercase Typography with Gradual Light Formation */
.feature-headline-text {
  font-family: var(--font-heading);
  font-size: clamp(2.3rem, 3.8vw, 3.2rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin: 0;
  will-change: transform, color, text-shadow;
  color: var(--headline-color, #242933);
  transform: translate3d(0, var(--headline-y, 0px), 0);
  text-shadow: var(--headline-glow, none);
}

.feature-desc-col {
  pointer-events: none;
  overflow: visible;
}

.feature-editorial-item.active .feature-desc-col {
  pointer-events: auto;
}

.feature-desc-text {
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: #d1d5db;
  line-height: 1.55;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin: 0;
  overflow: visible;
}

/* Individual word in the dynamic wave reveal with spring overshoot */
.desc-word {
  display: inline-block;
  opacity: 0;
  transform: translate3d(0, 24px, 0) scale(0.95);
  color: rgba(255, 255, 255, 0.15);
  will-change: transform, opacity, color;
  transition: 
    opacity 0.48s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.62s cubic-bezier(0.34, 1.55, 0.64, 1),
    color 0.45s ease;
  transition-delay: calc(0.04s + var(--word-index, 0) * 0.035s);
}

.feature-editorial-item.active .desc-word {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  color: #d1d5db;
}

.feature-editorial-item:not(.active) .desc-word {
  opacity: 0;
  transform: translate3d(0, 16px, 0) scale(0.96);
  color: rgba(255, 255, 255, 0.1);
  transition: opacity 0.22s ease-out, transform 0.22s ease-out;
  transition-delay: calc(var(--word-index, 0) * 0.012s);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .features-editorial-container {
    padding: 0 2rem;
    grid-template-columns: 50px 180px 1fr;
  }
  .features-content-col {
    padding-left: 2rem;
  }
  .feature-editorial-item {
    grid-template-columns: minmax(260px, 340px) 1fr;
    gap: 2rem;
  }
  .feature-headline-text {
    font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  }
}

@media (max-width: 768px) {
  .features-editorial-section {
    min-height: auto;
  }
  .features-sticky-track {
    position: relative;
    height: auto;
    padding: 80px 0;
  }
  .features-editorial-container {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 0 1.5rem;
  }
  .features-left-indicator {
    display: none;
  }
  .features-graphic-col {
    justify-content: center;
    padding-left: 0;
  }
  .features-content-col {
    padding-left: 0;
    height: auto;
  }
  .features-list-viewport {
    height: auto;
  }
  .features-items-list {
    position: relative;
    top: auto;
    left: auto;
    transform: none !important;
    gap: 2.8rem;
  }
  .feature-editorial-item {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
  .feature-editorial-item:not(.active) {
    opacity: 0.32;
  }
  .feature-editorial-item:not(.active) .feature-desc-col {
    display: none;
  }
  .feature-headline-text {
    font-size: 1.85rem;
  }
}


/* ==========================================================================
   SECTION 2: INTEGRATIONS (MINIMAL JOURNAL CREATIVE)
   ========================================================================== */
.integrations-section.journal-section {
  position: relative;
  background-color: #02040a;
  padding: 120px 0 160px;
  overflow: hidden;
  z-index: 2;
  border-top: none;
}

/* Arch Gradient matching the Footer Radial Glow exactly without section cutoff lines */
.integrations-arch-gradient {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  filter: blur(40px);
  background: radial-gradient(
    130% 90% at 50% 0%,
    rgba(47, 158, 99, 0) 0%,
    rgba(47, 158, 99, 0) 40%,
    rgba(47, 158, 99, 0.1125) 58%,
    rgba(47, 158, 99, 0.225) 74%,
    rgba(47, 158, 99, 0.28125) 90%,
    rgba(47, 158, 99, 0.28125) 100%
  );
  mask-image: linear-gradient(to bottom, transparent 0%, transparent 70px, black 200px);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, transparent 70px, black 200px);
}

/* Subtle Ambient Micro-Stars Canvas in Integrations Arch */
.integrations-stars-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  mask-image: linear-gradient(to bottom, transparent 0%, transparent 70px, black 180px, black 82%, transparent 98%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, transparent 70px, black 180px, black 82%, transparent 98%);
}

.integrations-section .section-container {
  position: relative;
  z-index: 2;
  max-width: 1440px;
}

/* Subtly Masked Technical Wireframe Grid Background */
.journal-grid-overlay {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 72px 72px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(circle at 50% 45%, black 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at 50% 45%, black 0%, transparent 75%);
}

/* Journal Headline & Serif Accent with Dynamic Wave Animation */
.section-header.centered.reveal-item {
  transform: none !important;
  filter: none !important;
  opacity: 1 !important;
}

.journal-title {
  font-family: var(--font-heading);
  font-size: clamp(2.3rem, 4.8vw, 3.6rem);
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 1.12;
  color: #ffffff;
  overflow: visible;
}

/* Individual word in the heading wave reveal with spring overshoot */
.journal-title .wave-word {
  display: inline-block;
  opacity: 0;
  transform: translate3d(0, 26px, 0) scale(0.94);
  color: rgba(255, 255, 255, 0.15);
  will-change: transform, opacity, color;
  transition: 
    opacity 0.48s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.62s cubic-bezier(0.34, 1.55, 0.64, 1),
    color 0.45s ease;
  transition-delay: calc(0.06s + var(--word-index, 0) * 0.052s);
}

.section-header.revealed .journal-title .wave-word {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  color: #ffffff;
}

.journal-serif-italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  padding-right: 4px;
}

.journal-serif-italic .wave-word {
  background: linear-gradient(135deg, #ffffff 30%, #8ee0ad 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent !important;
}

.journal-subtext {
  font-family: var(--font-body);
  max-width: 640px;
  margin: 18px auto 0;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #94a3b8;
  opacity: 0;
  transform: translate3d(0, 16px, 0);
  transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1), transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: 0.42s;
  will-change: opacity, transform;
}

.section-header.revealed .journal-subtext {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* 5 Minimal Cards Grid (Original Options) */
.integrations-grid.journal-grid-minimal {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  margin-top: 50px;
  position: relative;
  z-index: 2;
}

@media (max-width: 1024px) {
  .integrations-grid.journal-grid-minimal {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .integrations-grid.journal-grid-minimal {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Minimal & Pretty Glass Card Aesthetics */
.journal-card-minimal {
  position: relative;
  background: rgba(7, 11, 22, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  padding: 38px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 185px;
  text-align: center;
  transition: transform 0.4s var(--ease-smooth), border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.4s ease;
  user-select: none;
  cursor: pointer;
}

.journal-card-minimal .integration-icon-wrapper {
  width: auto;
  min-width: 0;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 36px;
  transition: transform 0.4s var(--ease-smooth);
}

.journal-card-minimal .integration-logo {
  display: block;
  width: auto;
  height: 56px;
  max-width: 144px;
  max-height: 56px;
  object-fit: contain;
}

.journal-card-minimal .integration-icon {
  display: block;
  width: auto;
  height: 56px;
  max-width: 144px;
  max-height: 56px;
}

.journal-card-minimal .quickbooks-logo,
.journal-card-minimal .xero-logo,
.journal-card-minimal .odoo-logo,
.journal-card-minimal .square-icon {
  width: 64px;
  height: 64px;
  max-width: 64px;
  max-height: 64px;
}

.journal-card-minimal .sage-icon {
  width: 116px;
  height: 44px;
  max-width: 116px;
  max-height: 44px;
  transform: translateX(4px);
}

.journal-card-minimal .zoho-books-logo {
  width: 128px;
  height: 45px;
  max-width: 128px;
  max-height: 45px;
}

.journal-card-minimal:hover .integration-icon-wrapper {
  transform: scale(1.12);
}

.journal-card-minimal .integration-name {
  min-height: 1.25em;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: 400;
  line-height: 1.25;
  color: #ffffff;
  letter-spacing: -0.01em;
  transition: color 0.3s ease;
}

.journal-card-minimal .integration-name.dim-text {
  color: var(--text-muted);
}

/* "+ And more" icon hover rotation */
.integration-card-more .more-icon {
  color: var(--text-dimmed);
  transition: color 0.3s ease, transform 0.4s var(--ease-smooth);
}

.integration-card-more:hover .more-icon {
  color: #ffffff;
  transform: rotate(90deg) scale(1.1);
}


.ticker-green-dot {
  color: #10b981;
  margin-right: 6px;
  font-size: 0.7rem;
  text-shadow: 0 0 8px #10b981;
}

.ticker-divider {
  color: rgba(255, 255, 255, 0.15);
}



/* ==========================================================================
   SECTION: PRICING (AWWWARDS MINIMAL DARK)
   ========================================================================== */
.pricing-section {
  position: relative;
  background-color: #08080a;
  padding: 110px 24px 120px;
  font-family: 'Outfit', sans-serif;
  color: #ffffff;
  overflow: hidden;
  z-index: 2;
  scroll-margin-top: 120px; /* Defect 5: prevents fixed nav from covering header/offer pill */
}

.pricing-container {
  max-width: 1120px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 2;
}

/* Centred Header */
.pricing-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.pricing-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 400;
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 0;
}

.pricing-title-line1 {
  display: block;
  color: #ffffff;
}

.pricing-title-line2 {
  display: block;
  color: rgba(255, 255, 255, 0.65);
}

.pricing-subtext {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 18px;
  margin-bottom: 0;
  line-height: 1.5;
}

.pricing-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 22px;
}

.pricing-estimator {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 0;
  padding: 8px 10px 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
}

.pricing-estimator-label {
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

.pricing-estimator-input-wrap {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 4px 0 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.pricing-estimator-input {
  width: 78px;
  padding: 6px 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #ffffff;
  font: inherit;
  font-size: 13px;
  text-align: right;
}

.pricing-estimator-input option {
  background: #101d16;
  color: #ffffff;
}

.pricing-estimator-custom-input {
  width: 86px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  outline: 0;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font: inherit;
  font-size: 13px;
}

.pricing-estimator-custom-input::placeholder {
  color: rgba(255, 255, 255, 0.48);
}

.pricing-estimator-input::-webkit-inner-spin-button,
.pricing-estimator-input::-webkit-outer-spin-button {
  opacity: 1;
}

.pricing-estimator-suffix {
  padding-right: 8px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
}

.pricing-estimate-btn {
  border: 1px solid rgba(99, 201, 139, 0.5);
  border-radius: 999px;
  padding: 7px 12px;
  background: rgba(47, 158, 99, 0.16);
  color: #b7e4c7;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.pricing-estimate-btn:hover {
  background: rgba(47, 158, 99, 0.28);
  border-color: #63c98b;
  transform: translateY(-1px);
}

.pricing-estimate {
  display: none;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 11px;
  line-height: 1.3;
}

.pricing-estimate.is-visible {
  display: block;
}

/* Visually Hidden Utility for Screen Readers */
.pricing-section .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Early Access Offer Banner */
.pricing-offer-banner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 20px auto 0;
  padding: 6px 14px;
  border-radius: 9999px;
  background: rgba(31, 130, 78, 0.08);
  border: 1px solid rgba(66, 184, 121, 0.22);
  color: #b9e8c9;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.01em;
  text-align: center;
  max-width: 100%;
}

.pricing-offer-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #63c98b;
  box-shadow: 0 0 8px #42b879;
  flex-shrink: 0;
}

.pricing-offer-strong {
  color: #ffffff;
  font-weight: 500;
}

/* Monthly / Annual Billing Toggle (Defect 1) */
.pricing-billing-control-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 0;
  position: relative;
  z-index: 5;
}

.pricing-billing-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 4px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.06);
  border: 0.5px solid rgba(255, 255, 255, 0.16);
  box-sizing: border-box;
}

.pricing-billing-pill {
  position: absolute;
  top: 4px;
  left: 4px;
  height: calc(100% - 8px);
  width: calc(50% - 4px);
  background: #238b57;
  border-radius: 9999px;
  z-index: 1;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 16px rgba(35, 139, 87, 0.45);
}

.pricing-billing-toggle[data-billing="annual"] .pricing-billing-pill {
  transform: translateX(100%);
}

.pricing-billing-btn {
  /* Complete reset of global button styles */
  appearance: none;
  -webkit-appearance: none;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  margin: 0;
  padding: 0 20px;
  min-height: 44px;
  height: 44px;
  min-width: 150px;
  border-radius: 9999px;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
  -webkit-text-fill-color: currentColor;
  cursor: pointer;
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  line-height: 1;
  outline: none;
  transition: color 0.25s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.pricing-billing-btn:hover {
  color: #ffffff;
}

.pricing-billing-btn.is-active {
  color: #ffffff !important;
}

.pricing-billing-btn:focus-visible {
  outline: 2px solid #63c98b !important;
  outline-offset: 2px;
}

/* Save 10% inside Annual */
.pricing-save-cue {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 9999px;
  line-height: 1;
  letter-spacing: -0.01em;
  background: rgba(66, 184, 121, 0.28);
  color: #d9f5e2;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.pricing-billing-btn.is-active .pricing-save-cue {
  background: #ffffff !important;
  color: #238b57 !important;
}

/* Mobile Switcher hidden on desktop (900px and above) */
.pricing-switcher {
  display: none;
}

/* 3-Column Cards Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 56px;
  width: 100%;
  align-items: flex-start;
}

/* Cards (Clean top-down gradient, no streaks or corner spotlights) */
.pricing-card {
  position: relative;
  padding: 28px;
  border-radius: 16px;
  background: #0c0c0e;
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0) 40%);
  border: 0.5px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  font-family: 'Outfit', sans-serif;
  box-sizing: border-box;
  transition: border-color 0.3s ease, transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.pricing-card:hover {
  border-color: rgba(255, 255, 255, 0.22);
}

/* Plus card standout (raised by 14px, 14px extra bottom padding, delicate green border) */
.pricing-card.pricing-card-plus {
  margin-top: -14px;
  padding: 28px 28px 42px;
  border: 1px solid rgba(66, 184, 121, 0.55);
  background: #0d1410;
  background-image: linear-gradient(170deg, rgba(47, 158, 99, 0.16), rgba(255, 255, 255, 0.02) 50%);
  box-shadow: 0 24px 80px rgba(35, 139, 87, 0.28);
  z-index: 3;
}

.pricing-card.pricing-card-plus:hover {
  border-color: rgba(99, 201, 139, 0.75);
}

/* Plan name (8px scale: 15px, white at 78%) */
.pricing-plan-name {
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1;
  position: relative;
  z-index: 2;
}

/* Price Stack (28px below plan name) */
.pricing-price-stack {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
}

.pricing-price-row {
  display: flex;
  align-items: baseline;
  flex-wrap: nowrap;
}

/* Numerals (Hero of the card: light display weight, clamp 3.5rem to 5rem, tabular nums) */
.pricing-amount {
  display: inline-flex;
  align-items: flex-start;
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  font-size: clamp(3.5rem, 5vw, 5rem);
  letter-spacing: -0.05em;
  line-height: 0.95;
  font-variant-numeric: tabular-nums lining-nums;
  color: #ffffff;
  will-change: transform, opacity;
}

.pricing-currency {
  font-size: 0.55em;
  font-weight: 300;
  line-height: 1;
  margin-top: 0.06em;
  margin-right: 2px;
  align-self: flex-start;
}

.pricing-digits {
  display: inline-flex;
  align-items: baseline;
  font-variant-numeric: tabular-nums lining-nums;
  font-feature-settings: "tnum" 1;
}

/* Rolling Digits Wheel & Slots */
.pricing-digit-slot {
  display: inline-block;
  height: 1em;
  line-height: 1em;
  overflow: hidden;
  vertical-align: top;
  position: relative;
}

.pricing-digit-item {
  display: block;
  height: 1em;
  line-height: 1em;
  text-align: center;
  will-change: transform, opacity;
}

.pricing-digit-slot.is-rolling::before {
  content: attr(data-old);
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1em;
  line-height: 1em;
  text-align: center;
  transform: translateY(0);
  opacity: 1;
  animation: rollDigitOld 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  animation-delay: var(--roll-delay, 0ms);
}

.pricing-digit-slot.is-rolling .pricing-digit-item {
  transform: translateY(100%);
  opacity: 0;
  animation: rollDigitNew 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  animation-delay: var(--roll-delay, 0ms);
}

@keyframes rollDigitOld {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(-100%);
    opacity: 0;
  }
}

@keyframes rollDigitNew {
  0% {
    transform: translateY(100%);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Struck-through regular price */
.pricing-regular-strike {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.15rem, 1.6vw, 1.6rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: line-through;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(255, 255, 255, 0.7);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-left: 12px;
  align-self: baseline;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

/* Two lines under the price */
.pricing-unit-row {
  margin-top: 14px;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.pricing-clarity-row {
  margin-top: 6px;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.pricing-clarity-highlight {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
}

/* Description (28px below price stack) */
.pricing-desc {
  margin-top: 28px;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.4;
  position: relative;
  z-index: 2;
}

/* Pill and Arrow-Circle Buttons (24px below description) */
.pricing-btn {
  margin-top: 24px;
  height: 56px;
  width: 100%;
  border-radius: 9999px;
  background: transparent;
  border: 0.5px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6px 0 26px;
  text-decoration: none;
  box-sizing: border-box;
  position: relative;
  z-index: 2;
  cursor: pointer;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.pricing-btn:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.04);
}

.pricing-btn:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.pricing-btn-label {
  display: inline-block;
  line-height: 1;
}

.pricing-btn-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.pricing-btn-circle svg {
  width: 16px;
  height: 16px;
}

.pricing-btn:hover .pricing-btn-circle {
  transform: rotate(45deg);
}

/* Plus button: indigo pill with white arrow circle */
.pricing-btn.btn-plus-brand {
  background: #238b57;
  border: none;
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(35, 139, 87, 0.35);
}

.pricing-btn.btn-plus-brand:hover {
  background: #2f9e63;
  box-shadow: 0 10px 28px rgba(35, 139, 87, 0.5);
}

.pricing-btn.btn-plus-brand:focus-visible {
  outline: 2px solid #8ee0ad;
  outline-offset: 2px;
}

.pricing-btn.btn-plus-brand .pricing-btn-circle {
  background: #ffffff;
  color: #238b57;
}

/* Plus popular pill (existing mark preserved) */
.pricing-popular-pill {
  position: absolute;
  top: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.06);
  border: 0.5px solid rgba(255, 255, 255, 0.2);
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 11.5px;
  color: #ffffff;
  padding: 5px 11px;
  border-radius: 9999px;
  line-height: 1;
  z-index: 3;
  user-select: none;
}

/* Divider row */
.pricing-divider {
  margin: 28px 0 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 2;
}

.pricing-divider-line {
  flex: 1;
  height: 0.5px;
  background-color: rgba(255, 255, 255, 0.16);
}

.pricing-divider-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  flex-shrink: 0;
}

.pricing-divider-text {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.4);
  user-select: none;
  white-space: nowrap;
  padding: 0 4px;
}

/* Feature list */
.pricing-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
  position: relative;
  z-index: 2;
}

.pricing-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: #e0e0e4;
  line-height: 1.4;
}

.pricing-feature-item .pricing-icon {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

.pricing-feature-item.unavailable {
  color: #55555d;
}

.pricing-feature-item.unavailable .pricing-icon {
  stroke: #505058;
}

/* Keep Staff Onboarding in the third position across every plan. */
.pricing-features .pricing-feature-item:nth-child(1) { order: 1; }
.pricing-features .pricing-feature-item:nth-child(2) { order: 2; }
.pricing-features .pricing-feature-item:nth-child(3) { order: 4; }
.pricing-features .pricing-feature-item:nth-child(n + 5) { order: 5; }
.pricing-features .pricing-feature-item:nth-child(4) { order: 4 !important; }
.pricing-features .pricing-feature-staff-onboarding { order: 3 !important; }

/* Motion: subtle entrance on scroll into view */
.pricing-header {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: opacity, transform;
}

.pricing-card {
  border-color: rgba(255, 255, 255, 0);
  transition: border-color 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.pricing-amount {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: opacity, transform;
}

.pricing-section.is-revealed .pricing-header {
  opacity: 1;
  transform: translateY(0);
}

.pricing-section.is-revealed .pricing-card-basic,
.pricing-section.is-revealed .pricing-card-pro {
  border-color: rgba(255, 255, 255, 0.1);
}

.pricing-section.is-revealed .pricing-card-plus {
  border-color: rgba(66, 184, 121, 0.55);
}

.pricing-section.is-revealed .pricing-card-basic .pricing-amount {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.1s;
}

.pricing-section.is-revealed .pricing-card-plus .pricing-amount {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}

.pricing-section.is-revealed .pricing-card-pro .pricing-amount {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.3s;
}

/* Footnote */
.pricing-footnote {
  text-align: center;
  max-width: 640px;
  margin: 44px auto 0;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: -0.01em;
  position: relative;
  z-index: 2;
}

/* Regression mode & dynamic state visibility */
.pricing-section.is-regression .pricing-offer-banner,
.pricing-section.is-regression .pricing-billing-control-wrap,
.pricing-section.is-regression .pricing-regular-strike,
.pricing-section.is-regression .pricing-clarity-row,
.pricing-section.is-regression .pricing-footnote {
  display: none !important;
}

.pricing-section.no-offer .pricing-offer-banner,
.pricing-section.no-offer .pricing-regular-strike,
.pricing-section.no-offer .pricing-clarity-row,
.pricing-section.no-offer .pricing-footnote {
  display: none !important;
}

.pricing-section.no-toggle .pricing-billing-control-wrap {
  display: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .pricing-header,
  .pricing-card {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .pricing-switcher-pill,
  .pricing-billing-pill,
  .pricing-amount {
    transition: none !important;
  }
}

/* RESPONSIVE: under 900px, swipeable horizontal card carousel with plan switcher */
@media (max-width: 899.98px) {
  .pricing-section {
    padding: 80px 0 90px;
    overflow-x: clip;
    width: 100%;
  }

  .pricing-container {
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0 auto;
    overflow: hidden;
  }

  .pricing-header {
    padding: 0 20px;
  }

  .pricing-offer-banner {
    margin-top: 16px;
    font-size: 12px;
    padding: 5px 12px;
  }

  .pricing-billing-control-wrap {
    margin-top: 0;
  }

  .pricing-controls {
    flex-direction: column;
    gap: 12px;
    margin-top: 18px;
  }

  .pricing-billing-btn {
    min-height: 44px;
    padding: 10px 18px;
    font-size: 13.5px;
  }

  .pricing-price-row {
    gap: 8px;
  }

  .pricing-amount {
    font-size: 40px;
  }

  .pricing-regular-strike {
    font-size: 16px;
  }

  .pricing-footnote {
    margin-top: 32px;
    padding: 0 16px;
    font-size: 12px;
  }

  /* Switcher: relative, flex, width min(300px, 100% - 40px), height 46px, margin 36px auto 0, padding 4px, radius 999px, bg #141416, 1px border rgba(255,255,255,.09) */
  .pricing-switcher {
    position: relative;
    display: flex;
    width: min(300px, calc(100% - 40px));
    height: 46px;
    margin: 36px auto 0;
    padding: 4px;
    border-radius: 999px;
    background: #141416;
    border: 1px solid rgba(255, 255, 255, 0.09);
    box-sizing: border-box;
  }

  /* Pill: absolute, top 4px, left 4px, width calc((100% - 8px) / 3), height 36px, radius 999px, bg #fff, moves with translateX(0 / 100% / 200%) for Basic / Plus / Pro, transition 450ms cubic-bezier(.65,0,.35,1) */
  .pricing-switcher-pill {
    position: absolute;
    top: 4px;
    left: 4px;
    width: calc((100% - 8px) / 3);
    height: 36px;
    border-radius: 999px;
    background: #ffffff;
    z-index: 1;
    pointer-events: none;
    transform: translateX(100%);
    transition: transform 450ms cubic-bezier(0.65, 0, 0.35, 1);
  }

  .pricing-switcher[data-active="basic"] .pricing-switcher-pill {
    transform: translateX(0%);
  }

  .pricing-switcher[data-active="plus"] .pricing-switcher-pill {
    transform: translateX(100%);
  }

  .pricing-switcher[data-active="pro"] .pricing-switcher-pill {
    transform: translateX(200%);
  }

  /* Buttons: flex 1, no background or border, Outfit 500 14px, colour #7c7c84, above the pill; the active button's colour is #08080a (transition .3s) */
  .pricing-switcher-btn {
    flex: 1;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #7c7c84;
    cursor: pointer;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: color 0.3s ease;
    -webkit-tap-highlight-color: transparent;
  }

  .pricing-switcher-btn.is-active {
    color: #08080a;
  }

  .pricing-switcher-btn:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
    border-radius: 999px;
  }

  /* Cards container: position relative, display flex, gap 12px, no max-width, margin 28px 0 0, padding 0 8%, overflow-x auto, scroll-snap-type x mandatory, hidden scrollbar (scrollbar-width none and ::-webkit-scrollbar display none), touch scrolling smooth. Order in the DOM and on screen: Basic, Plus, Pro (the natural price order) */
  .pricing-grid {
    position: relative;
    display: flex;
    grid-template-columns: none;
    gap: 12px;
    max-width: none;
    width: 100%;
    margin: 28px 0 0;
    padding: 0 8%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
  }

  .pricing-grid::-webkit-scrollbar {
    display: none;
  }

  /* Each card: flex 0 0 84%, scroll-snap-align center, scroll-snap-stop always. Cards are fully visible on mobile with no scroll-in animation (opacity 1, animation none); the desktop animation stays as is at 900px and above */
  .pricing-card {
    flex: 0 0 84%;
    width: 84%;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    box-sizing: border-box;
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: border-color 0.25s ease !important;
  }

  /* Natural price order (Basic, Plus, Pro) */
  .pricing-card.pricing-card-plus {
    order: 0;
    margin-top: 0 !important;
    padding: 28px !important;
  }
}

/* ==========================================================================
   SECTION: WAITLIST FORM
   ========================================================================== */
.waitlist-section {
  position: relative;
  z-index: 4;
  padding: 130px 0 160px;
  background-color: #02040a;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-top-left-radius: 36px;
  border-top-right-radius: 36px;
  box-shadow: 0 -30px 80px rgba(0, 0, 0, 0.95), 0 -1px 0 rgba(255, 255, 255, 0.12);
  margin-top: -30px;
}

/* Subtle Green Radial Glow behind Waitlist */
.waitlist-radial-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 780px;
  height: 580px;
  background: radial-gradient(
    ellipse 60% 50% at 50% 50%,
    rgba(47, 158, 99, 0.22) 0%,
    rgba(22, 122, 74, 0.1) 45%,
    rgba(2, 4, 10, 0) 75%
  );
  filter: blur(50px);
  pointer-events: none;
  z-index: 1;
}

.waitlist-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 800px;
  z-index: 2;
}

.waitlist-title {
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 5.8vw, 4.4rem);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1.12;
  color: #ffffff;
}

.waitlist-title .journal-serif-italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.08em;
  background: linear-gradient(135deg, #ffffff 15%, #b9f0cf 60%, #63c98b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  padding-right: 4px;
}

.waitlist-subtext {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  font-weight: 300;
  color: #94a3b8;
  max-width: 580px;
  letter-spacing: -0.01em;
  margin-top: 20px;
  margin-bottom: 46px;
  line-height: 1.6;
}

/* Waitlist Form Card */
.waitlist-form-card {
  width: 100%;
  max-width: 620px;
  position: relative;
  z-index: 2;
}

.waitlist-form {
  width: 100%;
}

.input-group {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-input);
  border: 1px solid var(--border-card);
  border-radius: 9999px;
  padding: 6px 6px 6px 22px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.input-group:focus-within {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(47, 158, 99, 0.2), 0 12px 34px rgba(0, 0, 0, 0.45);
  background: var(--bg-input);
}

.input-group.input-error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

.input-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.email-input-icon {
  width: 20px;
  height: 20px;
  color: var(--text-dimmed);
  flex-shrink: 0;
  transition: color 0.25s ease;
}

.input-group:focus-within .email-input-icon {
  color: #42b879;
}

.waitlist-input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-size: 1rem;
  color: #ffffff;
  line-height: 1.5;
}

.waitlist-input::placeholder {
  color: #555e72;
}

.waitlist-submit-btn {
  flex-shrink: 0;
}

/* Spinner Loader */
.btn-loader {
  display: none;
  width: 20px;
  height: 20px;
}

.waitlist-submit-btn.loading .btn-text {
  display: none;
}

.waitlist-submit-btn.loading .btn-loader {
  display: block;
}

.spinner {
  animation: rotate 2s linear infinite;
  width: 20px;
  height: 20px;
}

.spinner .path {
  stroke: #ffffff;
  stroke-linecap: round;
  animation: dash 1.5s ease-in-out infinite;
}

@keyframes rotate {
  100% { transform: rotate(360deg); }
}

@keyframes dash {
  0% { stroke-dasharray: 1, 150; stroke-dashoffset: 0; }
  50% { stroke-dasharray: 90, 150; stroke-dashoffset: -35; }
  100% { stroke-dasharray: 90, 150; stroke-dashoffset: -124; }
}

/* Inline Feedback (Error / Status) */
.form-feedback {
  min-height: 24px;
  margin-top: 10px;
  font-size: 0.88rem;
  text-align: left;
  padding-left: 12px;
  transition: all 0.25s ease;
}

.form-feedback.error {
  color: #f87171;
}

/* Success State Display */
.waitlist-success-state {
  background: var(--bg-card);
  border: 1px solid rgba(47, 158, 99, 0.4);
  border-radius: var(--card-radius);
  padding: 38px 24px;
  box-shadow: 0 16px 40px rgba(47, 158, 99, 0.2);
  animation: fade-slide-in 0.4s var(--ease-smooth);
}

.waitlist-success-state.hidden {
  display: none;
}

.success-icon-badge {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(47, 158, 99, 0.2);
  border: 1px solid rgba(47, 158, 99, 0.6);
  color: #42b879;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 0 24px rgba(47, 158, 99, 0.4);
}

.success-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 400;
  color: #ffffff;
  margin-bottom: 8px;
}

.success-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 440px;
  margin: 0 auto;
}

@keyframes fade-slide-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Three Checkmark Perks Under Form */
.waitlist-perks-list {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  margin-top: 26px;
}

.perk-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: #94a3b8;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.perk-check-icon {
  width: 17px;
  height: 17px;
  color: #63c98b;
  flex-shrink: 0;
}


/* ==========================================================================
   WAGEIO FOOTER — REFERENCE MATCH & SPECIFICATION
   ========================================================================== */
.site-footer {
  position: relative;
  background-color: #04040A;
  color: #ffffff;
  padding-top: clamp(60px, 7vw, 96px);
  padding-bottom: 0;
  overflow: hidden;
  border-top: none;
  z-index: 5;
}

/* Ambient Radial Green Glow positioned bottom-left behind content */
.footer-radial-glow {
  position: absolute;
  left: -10vw;
  bottom: -20vw;
  width: 65vw;
  height: 45vw;
  background: radial-gradient(closest-side, rgba(47, 158, 99, 0.75), rgba(47, 158, 99, 0));
  pointer-events: none;
  z-index: 1;
  filter: blur(40px);
  animation: footerGlowDrift 25s ease-in-out infinite alternate;
  will-change: transform, opacity;
}

@keyframes footerGlowDrift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.85;
  }
  50% {
    transform: translate3d(2vw, -2vw, 0) scale(1.06);
    opacity: 1;
  }
  100% {
    transform: translate3d(-1.5vw, 1vw, 0) scale(0.95);
    opacity: 0.88;
  }
}

/* Content Container aligned with Hero */
.footer-container {
  max-width: var(--container-max-width);
  width: 100%;
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 2;
}

/* --- CTA Top Block --- */
.footer-cta-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

.footer-eyebrow {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 12px;
  user-select: none;
}

.footer-headline {
  font-family: var(--font-heading);
  font-size: clamp(2.1rem, 4.8vw, 4.3rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: #ffffff;
  margin: 0;
  padding: 0;
  max-width: 780px;
}

.footer-headline-mask {
  display: block;
  overflow: hidden;
}

.footer-headline-line {
  display: block;
  transform: translate3d(0, 105%, 0);
  transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.reveal-item.revealed .footer-headline-mask:nth-child(1) .footer-headline-line {
  transform: translate3d(0, 0, 0);
  transition-delay: 0.05s;
}

.reveal-item.revealed .footer-headline-mask:nth-child(2) .footer-headline-line {
  transform: translate3d(0, 0, 0);
  transition-delay: 0.13s;
}

/* Header Row: Headline on Left, Rotating Badge on Right */
.footer-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  width: 100%;
  gap: clamp(24px, 4vw, 48px);
}

/* Rotating Badge Component (Reused from Homepage) */
.footer-rotating-badge {
  position: relative;
  width: 112px;
  height: 112px;
  flex-shrink: 0;
  pointer-events: none;
  opacity: 0.85;
}

.footer-rotating-badge .badge-circular-text {
  width: 100%;
  height: 100%;
  animation: rotate-badge 24s linear infinite;
}

.footer-rotating-badge .badge-center-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-rotating-badge .badge-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  box-shadow: 0 0 14px rgba(47, 158, 99, 0.6);
}

/* --- Horizontal Divider --- */
.footer-divider {
  width: 100%;
  height: 0.5px;
  background-color: rgba(255, 255, 255, 0.14);
  margin-top: 44px;
  border: none;
}

/* --- Footer Navigation Grid --- */
.footer-info-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(2, 1fr);
  gap: clamp(24px, 3.8vw, 48px);
  padding-top: 28px;
  padding-bottom: clamp(48px, 6.5vw, 80px);
  width: 100%;
  position: relative;
  z-index: 2;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-col-label {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 12px;
  user-select: none;
}

.footer-address {
  font-style: normal;
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.6;
  color: #ffffff;
}

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

.footer-col-links li {
  margin: 0;
  padding: 0;
}

.footer-link {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 13px;
  color: #ffffff;
  text-decoration: none;
  padding: 3px 0;
  line-height: 1.5;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-link:hover {
  color: #8ee0ad;
  transform: translateX(2px);
}


/* --- Bottom Bar --- */
.footer-bottom-bar-wrap {
  position: relative;
  border-top: 0.5px solid rgba(255, 255, 255, 0.14);
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 90px);
  z-index: 3;
}

.footer-bottom-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  font-family: var(--font-body);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.6);
  user-select: none;
}

.footer-legal-btn {
  background: transparent;
  border: none;
  font-family: var(--font-body);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  padding: 0;
  transition: color 0.2s ease, text-decoration 0.2s ease;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 255, 255, 0.25);
}

.footer-legal-btn:hover {
  color: #ffffff;
  text-decoration-color: #ffffff;
}

/* Pre-Launch Status Indicator */
.footer-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 12px;
  color: #e2e8f0;
  padding: 3px 0;
  user-select: none;
}

.footer-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #22c55e;
  box-shadow: 0 0 8px #22c55e;
  animation: pulse-status 2.2s infinite ease-in-out;
}

@keyframes pulse-status {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.85); }
}

/* --- Pre-Launch Waitlist Policy Modal --- */
.policy-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(2, 4, 10, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s var(--ease-smooth);
}

.policy-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.policy-modal-card {
  width: 100%;
  max-width: 520px;
  background: #09160f;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  padding: 26px 28px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65), 0 0 30px rgba(47, 158, 99, 0.15);
  transform: translateY(18px) scale(0.97);
  transition: transform 0.28s var(--ease-smooth);
}

.policy-modal-overlay.open .policy-modal-card {
  transform: translateY(0) scale(1);
}

.policy-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.policy-modal-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 500;
  color: #ffffff;
}

.policy-modal-close {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: color 0.2s ease, background 0.2s ease;
}

.policy-modal-close:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.policy-modal-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.policy-subtitle {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 500;
  color: #8ee0ad;
  margin-bottom: 4px;
}

.policy-text {
  font-family: var(--font-body);
  font-size: 0.86rem;
  line-height: 1.55;
  color: #cbd5e1;
}

.policy-inline-link {
  color: #63c98b;
  text-decoration: underline;
}

.policy-footer-note {
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.78rem;
  color: #64748b;
}

.footer-back-to-top-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--font-body);
  font-size: 11px;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s ease;
}

.footer-back-to-top-btn:hover {
  color: #ffffff;
}

.back-to-top-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 0.5px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  transition: transform 0.25s var(--ease-smooth), border-color 0.2s ease, background-color 0.2s ease;
}

.footer-back-to-top-btn:hover .back-to-top-circle {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.12);
}

/* --- Responsive Layout for Footer --- */
@media (max-width: 900px) {
  .footer-info-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 28px;
  }

  .footer-col-address {
    grid-column: span 1;
  }
}

@media (max-width: 640px) {
  .site-footer {
    padding-top: 50px;
  }

  .footer-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .footer-rotating-badge {
    width: 78px;
    height: 78px;
  }

  .footer-info-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-col-address {
    grid-column: span 1;
  }

  .footer-bottom-container {
    flex-direction: column;
    gap: 14px;
    text-align: center;
    padding-top: 18px;
    padding-bottom: 20px;
  }

  .footer-back-to-top-btn {
    margin-top: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .footer-rotating-badge .badge-circular-text {
    animation: none !important;
  }

  .footer-radial-glow {
    animation: none !important;
  }

  .footer-headline-line {
    transform: none !important;
    transition: none !important;
  }
}


/* ==========================================================================
   SCROLL REVEAL & DYNAMIC FADE-IN ON SCROLL
   ========================================================================== */
.reveal-item {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(4px);
  transition: 
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform, filter;
}

.reveal-item.revealed {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* Stagger calculations */
.reveal-item[style*="--stagger-index"] {
  transition-delay: calc(var(--stagger-index) * 85ms);
}

.reveal-item[style*="--reveal-delay"] {
  transition-delay: var(--reveal-delay);
}


/* ==========================================================================
   ACCESSIBILITY & REDUCED MOTION
   ========================================================================== */
:focus-visible {
  outline: 2px solid #42b879;
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .reveal-item {
    opacity: 1 !important;
    transform: none !important;
  }

  .badge-circular-text {
    animation: none !important;
  }

  .logo-sparkle {
    animation: none !important;
  }
}


/* ==========================================================================
   RESPONSIVE DESIGN (Mobile-First Grids & Breakpoints)
   ========================================================================== */

/* Tablet (Max 1024px) */
@media (max-width: 1024px) {
  .capabilities-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .integrations-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .integrations-grid .integration-card:nth-child(4) {
    grid-column: span 1;
  }

  .integrations-grid .integration-card-more {
    grid-column: span 2;
  }

  .hero-bottom-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  /* Features Editorial Responsive (Tablet) */
  .features-editorial-container {
    padding: 0 2rem;
    grid-template-columns: 50px minmax(150px, 180px) 1fr;
  }

  .features-content-col {
    padding-left: 2rem;
  }

  .feature-editorial-item {
    grid-template-columns: minmax(280px, 360px) 1fr;
    gap: 1.8rem;
  }
}

/* Mobile & Small Screens (Max 768px) */
@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }

  .brand-logo-img {
    width: 62px;
    height: 62px;
  }

  .nav-logo {
    font-size: 1.5rem;
  }

  html, body {
    overflow-x: hidden !important;
    width: 100%;
  }

  .section-container {
    padding-left: 18px !important;
    padding-right: 18px !important;
    max-width: 100% !important;
  }

  .desktop-nav,
  .nav-cta-btn {
    display: none !important;
  }

  /* Features Editorial Responsive (Mobile) */
  .features-editorial-section {
    min-height: auto;
    padding: 70px 0;
  }

  .features-sticky-track {
    position: static;
    height: auto;
    overflow: visible;
  }

  .features-editorial-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0 1.25rem !important;
    gap: 2rem;
  }

  .features-left-indicator {
    display: block;
  }

  .features-category-text {
    writing-mode: horizontal-tb;
    transform: none;
    font-size: 0.72rem;
  }

  .features-graphic-col {
    padding-left: 0;
  }

  .features-technical-motif {
    width: 140px;
    height: 140px;
  }

  .features-content-col {
    padding-left: 0;
    width: 100%;
  }

  .features-items-list {
    gap: 2.2rem;
  }

  .feature-editorial-item {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
  }

  .feature-editorial-item:not(.active) {
    opacity: 0.35;
  }

  .feature-editorial-item:not(.active) .feature-desc-col {
    display: none;
  }

  .feature-headline-text {
    font-size: clamp(1.75rem, 6.8vw, 2.3rem);
  }

  /* Header mobile layout */
  .site-header {
    padding: 0 16px;
  }

  .nav-container {
    padding: 0;
  }

  .nav-logo-img {
    height: 24px;
  }

  .nav-logo-text {
    font-size: 1.25rem;
  }

  /* Hero Section Mobile Spacing & Orientation */
  .hero-section {
    min-height: auto;
    padding-top: calc(var(--header-height) + 24px);
    padding-bottom: 50px;
  }

  .hero-badge {
    font-size: 0.72rem;
    padding: 5px 12px;
    letter-spacing: 0.12em;
    max-width: 100%;
    word-break: break-word;
  }

  .hero-headline {
    font-size: clamp(2rem, 7.5vw, 3rem);
    line-height: 1.15;
    letter-spacing: -0.035em;
  }

  .hero-subtext {
    font-size: 0.98rem;
    margin-top: 14px;
    line-height: 1.55;
    max-width: 100%;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
    margin-top: 24px;
  }

  .hero-actions .btn-pill-arrow {
    width: 100%;
    justify-content: space-between;
    height: 50px;
  }

  .hero-mockup-wrapper {
    margin-top: 28px;
    padding: 6px;
    border-radius: 14px;
  }

  /* Journal Section (Section 2) Mobile */
  .journal-section {
    padding: 30px 0 80px;
    margin-top: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
  }

  .journal-title {
    font-size: clamp(1.8rem, 6.5vw, 2.5rem);
    line-height: 1.2;
  }

  .journal-subtext {
    font-size: 0.98rem;
    margin-top: 14px;
  }

  .capabilities-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .overview-card {
    min-height: auto;
    padding: 24px 20px 32px;
  }

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

  .integrations-grid .integration-card-more {
    grid-column: span 2;
  }

  .integration-card .border-glow-inner {
    padding: 24px 16px;
  }

  /* Waitlist Section (Section 3) Mobile */
  .waitlist-section {
    padding: 60px 0 80px;
  }

  .waitlist-watermark {
    font-size: clamp(2.8rem, 10vw, 4.8rem);
    top: 6%;
    opacity: 0.35;
  }

  .waitlist-title {
    font-size: clamp(1.9rem, 6.8vw, 2.6rem);
    line-height: 1.18;
  }

  .waitlist-subtext {
    font-size: 0.98rem;
    margin-top: 14px;
    margin-bottom: 32px;
  }

  /* Waitlist Form Card Mobile */
  .waitlist-form-card {
    max-width: 100%;
  }

  .input-group {
    flex-direction: column;
    padding: 10px;
    border-radius: 20px;
    gap: 10px;
    background: rgba(8, 12, 26, 0.95);
  }

  .input-wrapper {
    width: 100%;
    padding: 6px 10px;
  }

  .waitlist-input {
    font-size: 0.95rem;
  }

  .waitlist-submit-btn {
    width: 100%;
    justify-content: space-between;
    height: 50px;
  }

  /* Footer Mobile */
  .site-footer {
    padding: 40px 0 32px;
  }

  .footer-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .footer-meta {
    align-items: flex-start;
    width: 100%;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 16px;
  }
}

/* Extra Small Mobile (Max 480px) */
@media (max-width: 480px) {
  .section-container {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  .hero-headline {
    font-size: 2.2rem;
  }

  .integrations-grid {
    grid-template-columns: 1fr;
  }

  .integrations-grid .integration-card-more {
    grid-column: span 1;
  }

  .staggered-menu-panel {
    width: 100vw;
    padding: 5em 1.2em 2em;
  }

  .sm-panel-item {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }
}

/* ==========================================================================
   Border Glow Interactive Cards Component Styles
   ========================================================================== */
.border-glow-card {
  --edge-proximity: 0;
  --cursor-angle: 45deg;
  --edge-sensitivity: 30;
  --color-sensitivity: calc(var(--edge-sensitivity) + 20);
  --border-radius: 28px;
  --glow-padding: 40px;
  --cone-spread: 25;

  position: relative;
  border-radius: var(--border-radius);
  isolation: isolate;
  transform: translate3d(0, 0, 0.01px);
  display: grid;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--card-bg, #070a14);
  overflow: visible;
  box-shadow:
    rgba(0, 0, 0, 0.2) 0px 1px 2px,
    rgba(0, 0, 0, 0.2) 0px 4px 8px,
    rgba(0, 0, 0, 0.2) 0px 16px 32px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.border-glow-card:hover {
  transform: translateY(-4px);
  box-shadow:
    rgba(0, 0, 0, 0.3) 0px 4px 12px,
    rgba(0, 0, 0, 0.4) 0px 16px 40px;
}

.border-glow-card--light {
  border-color: rgb(24 24 27 / 12%);
  box-shadow:
    rgb(24 24 27 / 4%) 0 1px 2px,
    rgb(24 24 27 / 5%) 0 8px 24px;
}

.border-glow-card--light::after,
.border-glow-card--light > .edge-light {
  mix-blend-mode: normal;
}

.border-glow-card::before,
.border-glow-card::after,
.border-glow-card > .edge-light {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  transition: opacity 0.25s ease-out;
  z-index: -1;
}

.border-glow-card:not(:hover):not(.sweep-active)::before,
.border-glow-card:not(:hover):not(.sweep-active)::after,
.border-glow-card:not(:hover):not(.sweep-active) > .edge-light {
  opacity: 0;
  transition: opacity 0.75s ease-in-out;
}

/* colored mesh-gradient border */
.border-glow-card::before {
  border: 1px solid transparent;
  background:
    linear-gradient(var(--card-bg, #070a14) 0 100%) padding-box,
    linear-gradient(rgb(255 255 255 / 0%) 0% 100%) border-box,
    var(--gradient-one, radial-gradient(at 80% 55%, hsla(268, 100%, 76%, 1) 0px, transparent 50%)) border-box,
    var(--gradient-two, radial-gradient(at 69% 34%, hsla(349, 100%, 74%, 1) 0px, transparent 50%)) border-box,
    var(--gradient-three, radial-gradient(at 8% 6%, hsla(136, 100%, 78%, 1) 0px, transparent 50%)) border-box,
    var(--gradient-four, radial-gradient(at 41% 38%, hsla(192, 100%, 64%, 1) 0px, transparent 50%)) border-box,
    var(--gradient-five, radial-gradient(at 86% 85%, hsla(186, 100%, 74%, 1) 0px, transparent 50%)) border-box,
    var(--gradient-six, radial-gradient(at 82% 18%, hsla(52, 100%, 65%, 1) 0px, transparent 50%)) border-box,
    var(--gradient-seven, radial-gradient(at 51% 4%, hsla(12, 100%, 72%, 1) 0px, transparent 50%)) border-box,
    var(--gradient-base, linear-gradient(#8ed1a8 0 100%)) border-box;

  opacity: calc((var(--edge-proximity) - var(--color-sensitivity)) / (100 - var(--color-sensitivity)));

  -webkit-mask-image:
    conic-gradient(
      from var(--cursor-angle) at center,
      black calc(var(--cone-spread) * 1%),
      transparent calc((var(--cone-spread) + 15) * 1%),
      transparent calc((100 - var(--cone-spread) - 15) * 1%),
      black calc((100 - var(--cone-spread)) * 1%)
    );
  mask-image:
    conic-gradient(
      from var(--cursor-angle) at center,
      black calc(var(--cone-spread) * 1%),
      transparent calc((var(--cone-spread) + 15) * 1%),
      transparent calc((100 - var(--cone-spread) - 15) * 1%),
      black calc((100 - var(--cone-spread)) * 1%)
    );
}

/* colored mesh-gradient background fill near edges */
.border-glow-card::after {
  border: 1px solid transparent;
  background:
    var(--gradient-one, radial-gradient(at 80% 55%, hsla(268, 100%, 76%, 1) 0px, transparent 50%)) padding-box,
    var(--gradient-two, radial-gradient(at 69% 34%, hsla(349, 100%, 74%, 1) 0px, transparent 50%)) padding-box,
    var(--gradient-three, radial-gradient(at 8% 6%, hsla(136, 100%, 78%, 1) 0px, transparent 50%)) padding-box,
    var(--gradient-four, radial-gradient(at 41% 38%, hsla(192, 100%, 64%, 1) 0px, transparent 50%)) padding-box,
    var(--gradient-five, radial-gradient(at 86% 85%, hsla(186, 100%, 74%, 1) 0px, transparent 50%)) padding-box,
    var(--gradient-six, radial-gradient(at 82% 18%, hsla(52, 100%, 65%, 1) 0px, transparent 50%)) padding-box,
    var(--gradient-seven, radial-gradient(at 51% 4%, hsla(12, 100%, 72%, 1) 0px, transparent 50%)) padding-box,
    var(--gradient-base, linear-gradient(#8ed1a8 0 100%)) padding-box;

  -webkit-mask-image:
    linear-gradient(to bottom, black, black),
    radial-gradient(ellipse at 50% 50%, black 40%, transparent 65%),
    radial-gradient(ellipse at 66% 66%, black 5%, transparent 40%),
    radial-gradient(ellipse at 33% 33%, black 5%, transparent 40%),
    radial-gradient(ellipse at 66% 33%, black 5%, transparent 40%),
    radial-gradient(ellipse at 33% 66%, black 5%, transparent 40%),
    conic-gradient(from var(--cursor-angle) at center, transparent 5%, black 15%, black 85%, transparent 95%);
  mask-image:
    linear-gradient(to bottom, black, black),
    radial-gradient(ellipse at 50% 50%, black 40%, transparent 65%),
    radial-gradient(ellipse at 66% 66%, black 5%, transparent 40%),
    radial-gradient(ellipse at 33% 33%, black 5%, transparent 40%),
    radial-gradient(ellipse at 66% 33%, black 5%, transparent 40%),
    radial-gradient(ellipse at 33% 66%, black 5%, transparent 40%),
    conic-gradient(from var(--cursor-angle) at center, transparent 5%, black 15%, black 85%, transparent 95%);

  -webkit-mask-composite: source-out, destination-over, destination-over, destination-over, destination-over, destination-over;
  mask-composite: subtract, add, add, add, add, add;
  opacity: calc(var(--fill-opacity, 0.5) * (var(--edge-proximity) - var(--color-sensitivity)) / (100 - var(--color-sensitivity)));
  mix-blend-mode: soft-light;
}

/* outer glow layer */
.border-glow-card > .edge-light {
  inset: calc(var(--glow-padding) * -1);
  pointer-events: none;
  z-index: 1;

  -webkit-mask-image:
    conic-gradient(
      from var(--cursor-angle) at center, black 2.5%, transparent 10%, transparent 90%, black 97.5%
    );
  mask-image:
    conic-gradient(
      from var(--cursor-angle) at center, black 2.5%, transparent 10%, transparent 90%, black 97.5%
    );

  opacity: calc((var(--edge-proximity) - var(--edge-sensitivity)) / (100 - var(--edge-sensitivity)));
  mix-blend-mode: plus-lighter;
}

.border-glow-card > .edge-light::before {
  content: "";
  position: absolute;
  inset: var(--glow-padding);
  border-radius: inherit;
  box-shadow:
    inset 0 0 0 1px var(--glow-color, hsl(40deg 80% 80% / 100%)),
    inset 0 0 1px 0 var(--glow-color-60, hsl(40deg 80% 80% / 60%)),
    inset 0 0 3px 0 var(--glow-color-50, hsl(40deg 80% 80% / 50%)),
    inset 0 0 6px 0 var(--glow-color-40, hsl(40deg 80% 80% / 40%)),
    inset 0 0 15px 0 var(--glow-color-30, hsl(40deg 80% 80% / 30%)),
    inset 0 0 25px 2px var(--glow-color-20, hsl(40deg 80% 80% / 20%)),
    inset 0 0 50px 2px var(--glow-color-10, hsl(40deg 80% 80% / 10%)),
    0 0 1px 0 var(--glow-color-60, hsl(40deg 80% 80% / 60%)),
    0 0 3px 0 var(--glow-color-50, hsl(40deg 80% 80% / 50%)),
    0 0 6px 0 var(--glow-color-40, hsl(40deg 80% 80% / 40%)),
    0 0 15px 0 var(--glow-color-30, hsl(40deg 80% 80% / 30%)),
    0 0 25px 2px var(--glow-color-20, hsl(40deg 80% 80% / 20%)),
    0 0 50px 2px var(--glow-color-10, hsl(40deg 80% 80% / 10%));
}

.border-glow-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  z-index: 1;
  border-radius: var(--border-radius);
  height: 100%;
  width: 100%;
}

.integration-card .border-glow-inner {
  padding: 38px 24px;
}


/* ==========================================================================
   STAGGERED NAVIGATION MENU
   ========================================================================== */
:root {
  --sm-accent: #2f9e63;
}

.staggered-menu-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 100;
  pointer-events: none;
}

.staggered-menu-wrapper.fixed-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 999;
  overflow: hidden;
  pointer-events: none;
}

.staggered-menu-wrapper.fixed-wrapper[data-open] {
  pointer-events: auto;
}

.sm-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 4;
}

.staggered-menu-wrapper[data-open] .sm-backdrop {
  opacity: 1;
  pointer-events: auto;
}

.sm-prelayers {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: clamp(320px, 42vw, 500px);
  pointer-events: none;
  z-index: 5;
  opacity: 1;
}

.sm-prelayer {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 100%;
}

.staggered-menu-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: clamp(340px, 44vw, 520px);
  height: 100%;
  background: #ffffff;
  color: #000000;
  border-left: none;
  display: flex;
  flex-direction: column;
  padding: 5.5em 2.2em 2.2em;
  overflow-y: auto;
  z-index: 10;
  pointer-events: auto;
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.15);
}

.sm-panel-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2.2rem;
}

.sm-panel-header {
  display: none;
}

.sm-panel-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.sm-panel-itemWrap {
  position: relative;
  overflow: hidden;
  line-height: 1.15;
  max-width: 100%;
}

.sm-panel-item {
  position: relative;
  color: #000000;
  font-family: var(--font-heading), -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 800;
  font-size: clamp(1.9rem, 3.8vw, 3.1rem);
  cursor: pointer;
  line-height: 1.1;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: flex-start;
  text-decoration: none;
  padding-right: 1.15em;
  max-width: 100%;
  transition: color 0.3s ease;
}

.sm-panel-itemLabel {
  display: inline-block;
  will-change: transform;
  transform-origin: 50% 100%;
  white-space: nowrap;
}

.sm-panel-item:hover {
  color: var(--sm-accent, #2f9e63);
}

.sm-panel-list[data-numbering] {
  counter-reset: smItem;
}

.sm-panel-list[data-numbering] .sm-panel-item::after {
  counter-increment: smItem;
  content: counter(smItem, decimal-leading-zero);
  position: absolute;
  top: 0.08em;
  right: 0.1em;
  font-family: var(--font-heading), -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.36em;
  font-weight: 600;
  color: var(--sm-accent, #2f9e63);
  letter-spacing: -0.01em;
  pointer-events: none;
  user-select: none;
  opacity: var(--sm-num-opacity, 0);
  transition: opacity 0.3s ease;
}

/* Social links in drawer */
.sm-socials {
  margin-top: auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.sm-socials-title {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--sm-accent, #2f9e63);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.sm-socials-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.sm-socials-link {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  color: #64748b;
  text-decoration: none;
  transition: color 0.3s ease;
}

.sm-socials-link:hover {
  color: #000000;
}

/* Staggered Menu Toggle Button in Navbar (React Bits style) */
.sm-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: transparent !important;
  border: none !important;
  padding: 4px 6px;
  cursor: pointer;
  color: #e9e9ef;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1;
  user-select: none;
  z-index: 1010;
  pointer-events: auto;
  transition: opacity 0.25s ease, color 0.25s ease;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.sm-toggle:hover {
  opacity: 0.82;
  color: #ffffff;
}

/* Open State toggle styling - black text over white drawer panel */
.staggered-menu-wrapper[data-open] .sm-toggle,
.staggered-menu-wrapper[data-open] ~ .site-header .sm-toggle,
body:has(.staggered-menu-wrapper[data-open]) .sm-toggle {
  color: #000000 !important;
}

.staggered-menu-wrapper[data-open] .sm-toggle:hover,
body:has(.staggered-menu-wrapper[data-open]) .sm-toggle:hover {
  color: var(--sm-accent, #2f9e63) !important;
  opacity: 1;
}

.sm-toggle-textWrap {
  position: relative;
  display: inline-block;
  height: 1.1em;
  overflow: hidden;
  white-space: nowrap;
}

.sm-toggle-textInner {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  transition: transform 0.4s var(--ease-smooth);
}

.sm-toggle-line {
  display: block;
  height: 1.1em;
  line-height: 1.1;
}

.sm-icon {
  position: relative;
  width: 14px;
  height: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  will-change: transform;
  transition: transform 0.4s var(--ease-smooth);
}

.sm-icon-line {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transform: translate(-50%, -50%);
}

.sm-icon-line-v {
  transform: translate(-50%, -50%) rotate(90deg);
}

@media (max-width: 640px) {
  .staggered-menu-panel, .sm-prelayers {
    width: 100%;
    border-radius: 0;
  }
  .staggered-menu-panel {
    padding: 5.5em 1.5em 2em;
  }
  .sm-panel-item {
    font-size: clamp(1.7rem, 7.5vw, 2.4rem);
  }
}

/* ==========================================================================
   PAGE PRELOADER & CURTAIN REVEAL
   ========================================================================== */
.page-preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  pointer-events: auto;
  overflow: hidden;
}

.loader-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  color: #ffffff;
  pointer-events: none;
}

.loader-brand {
  display: flex;
  align-items: center;
  gap: 0;
  opacity: 0.9;
}

.loader-logo {
  width: 62px;
  height: 62px;
  object-fit: contain;
}

.loader-brand-text {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.035em;
  color: #ffffff;
}

.loader-counter {
  font-family: var(--font-mono);
  font-size: clamp(3.2rem, 7vw, 5.5rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  color: #ffffff;
  display: flex;
  align-items: baseline;
  line-height: 1;
}

.loader-percent {
  font-size: 0.5em;
  color: #63c98b;
  margin-left: 4px;
}

.loader-curtains {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.loader-curtain {
  position: absolute;
  left: 0;
  width: 100%;
  height: 50.5%;
  background: #02040a;
  will-change: transform;
}

.loader-curtain-top {
  top: 0;
}

.loader-curtain-bottom {
  bottom: 0;
}

/* ==========================================================================
   WAGEIO HERO — PHONE ONLY LAYOUT (767px and below)
   ========================================================================== */
@media (max-width: 767px) {
  /* 1. Section Container & Full Viewport Sizing */
  .hero-section {
    min-height: 100dvh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    padding-top: 88px;
    padding-bottom: calc(28px + env(safe-area-inset-bottom));
    padding-left: 24px;
    padding-right: 24px;
    overflow-x: clip;
    overflow-y: visible;
    position: relative;
    background-color: var(--bg-dark);
    justify-content: space-between;
  }

  .hero-ireland-map {
    top: 20%;
    right: -4vw;
    width: min(76vw, 360px);
    height: 70%;
    opacity: 0.11;
  }

  /* Faint vertical grid lines along bottom edge */
  .hero-section::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 90px);
    mask-image: linear-gradient(to top, black 0%, transparent 100%);
    -webkit-mask-image: linear-gradient(to top, black 0%, transparent 100%);
    pointer-events: none;
    z-index: 1;
  }

  /* Background Aurora Shader: Top 55% with smooth gradient fade to dark lower 45% */
  .aurora-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 60%;
    max-height: 55svh;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
    mask-image: linear-gradient(to bottom, black 0%, black 50%, rgba(0, 0, 0, 0.4) 80%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 0%, black 50%, rgba(0, 0, 0, 0.4) 80%, transparent 100%);
  }

  /* Content Wrapper: 3 zones (top nav space, middle headline, bottom content) */
  .hero-content-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
    gap: 0;
    min-height: 0;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
  }

  /* 2. Headline: Upper-Middle Positioning, Clamped Size, 2 Lines */
  .hero-headline-container {
    margin-top: clamp(28px, 7dvh, 80px);
    margin-top: clamp(28px, 7svh, 80px);
    margin-bottom: auto;
    width: 100%;
  }

  .hero-headline {
    font-size: clamp(2.75rem, 14.5vw, 4.5rem);
    line-height: 0.98;
    letter-spacing: -0.04em;
    font-weight: 300;
    color: #ffffff;
    max-width: 100%;
    text-align: left;
    margin: 0;
    padding: 0;
    white-space: normal;
    word-break: normal;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
  }

  /* 3. Bottom Block (Stacked, 24px gaps, left-aligned) */
  .hero-bottom-bar {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 0;
    position: relative;
    padding-top: 0;
    margin-top: auto;
  }

  /* Description Row: 44px dark circle with green dollar, 15px text at 76% white, 14px gap */
  .hero-description-block {
    order: 2;
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    max-width: 100%;
    margin-bottom: 24px;
  }

  .hero-avatar-badge {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    border-radius: 50%;
    background: rgba(7, 11, 22, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #42b879;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  }

  .hero-avatar-badge svg {
    width: 20px;
    height: 20px;
  }

  .hero-lead-text {
    font-size: 15px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.76);
    font-weight: 400;
    margin: 0;
    flex: 1;
    max-width: 100%;
  }

  /* Item 3: CTA: White pill, full width, 60px tall, 16px label left, 48px circle right */
  .hero-action-block {
    order: 3;
    width: 100%;
    display: flex;
  }

  .hero-btn.btn-pill-arrow {
    width: 100%;
    height: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 6px 0 26px;
    box-sizing: border-box;
  }

  .hero-btn .btn-text {
    font-size: 16px;
    color: #000000;
    font-weight: 500;
  }

  .hero-btn .btn-icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .hero-btn:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 3px;
  }

  /* 4. Motion (Entrance Animation - Transform & Opacity only, no blur filters) */
  .hero-headline-container.reveal-item {
    opacity: 0;
    transform: translateY(24px);
    filter: none;
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .hero-headline-container.reveal-item.revealed {
    opacity: 1;
    transform: translateY(0);
  }

  .hero-bottom-bar.reveal-item {
    opacity: 0;
    transform: translateY(16px);
    filter: none;
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.12s, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.12s;
  }

  .hero-bottom-bar.reveal-item.revealed {
    opacity: 1;
    transform: translateY(0);
  }

  /* 5. Landscape and Small Heights (<= 520px height) */
  @media (max-height: 520px) {
    .hero-section {
      min-height: auto;
      padding-top: 80px;
      padding-bottom: 28px;
    }

    .hero-content-wrapper {
      justify-content: flex-start;
      gap: 24px;
    }

    .hero-headline-container {
      margin-top: 0;
      margin-bottom: 0;
    }

    .hero-headline {
      font-size: clamp(2.25rem, 9vw, 3rem);
      line-height: 1.02;
    }

    .hero-bottom-bar {
      margin-top: 0;
      gap: 0;
    }

    .hero-description-block {
      margin-bottom: 20px;
    }
  }
}

/* Reduced Motion for Phone Hero */
@media (max-width: 767px) and (prefers-reduced-motion: reduce) {
  .hero-headline-container.reveal-item,
  .hero-bottom-bar.reveal-item {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ==========================================================================
   WAGEIO FOOTER — PHONE ONLY LAYOUT (767px and below)
   ========================================================================== */
@media (max-width: 767px) {
  /* 1. Footer Container & Padding */
  .site-footer {
    padding-top: 96px;
    padding-bottom: 0;
    overflow-x: hidden;
  }

  .footer-container {
    padding-left: 24px;
    padding-right: 24px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  /* 2. Top Block: Rotating Badge on Right, Headline 24px Below */
  .footer-cta-block {
    width: 100%;
  }

  .footer-header-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 0;
  }

  .footer-rotating-badge {
    order: 1;
    align-self: flex-end;
    width: 72px;
    height: 72px;
    margin-bottom: 24px;
    opacity: 0.9;
  }

  .footer-headline {
    order: 2;
    width: 100%;
    max-width: 100%;
    font-size: clamp(2.25rem, 11.5vw, 3.25rem);
    line-height: 1;
    text-wrap: balance;
    letter-spacing: -0.035em;
    font-weight: 300;
    color: #ffffff;
    text-align: left;
    margin: 0;
    padding: 0;
    word-break: normal;
    overflow-wrap: break-word;
  }

  .footer-headline-mask {
    display: block;
    overflow: hidden;
  }

  .footer-headline-line {
    display: block;
    transform: translate3d(0, 110%, 0);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
  }

  .reveal-item.revealed .footer-headline-mask:nth-child(1) .footer-headline-line {
    transform: translate3d(0, 0, 0);
    transition-delay: 0s;
  }

  .reveal-item.revealed .footer-headline-mask:nth-child(2) .footer-headline-line {
    transform: translate3d(0, 0, 0);
    transition-delay: 0.08s;
  }

  /* 3. Hairline Divider: 48px below headline, 32px below it */
  .footer-divider {
    width: 100%;
    height: 0.5px;
    background-color: rgba(255, 255, 255, 0.14);
    margin-top: 48px;
    margin-bottom: 32px;
    border: none;
  }

  /* 4. Link Groups (stacked, 36px between groups) */
  .footer-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    row-gap: 36px;
    column-gap: 20px;
    padding-top: 0;
    padding-bottom: 48px;
    width: 100%;
  }

  /* Group 1: Company Address (full width) */
  .footer-info-grid > .footer-col:nth-child(1),
  .footer-col-address {
    grid-column: 1 / -1;
  }

  /* Group 2: Navigation (col 1 of 2-col grid) */
  .footer-info-grid > .footer-col:nth-child(2) {
    grid-column: 1;
  }

  /* Group 3: Connect (col 2 of 2-col grid) */
  .footer-info-grid > .footer-col:nth-child(3) {
    grid-column: 2;
  }

  /* Labels */
  .footer-col-label {
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 8px;
    user-select: none;
  }

  /* Address Lines (15px, line-height 1.7, white) */
  .footer-address {
    font-size: 15px;
    line-height: 1.7;
    color: #ffffff;
    font-style: normal;
  }

  /* Links (16px, white, min-height 44px tap target, :active { opacity: .6 }) */
  .footer-col-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .footer-col-links li {
    margin: 0;
    padding: 0;
  }

  .footer-link {
    display: flex;
    align-items: center;
    min-height: 44px;
    font-size: 16px;
    color: #ffffff;
    text-decoration: none;
    padding: 0;
    line-height: 1.4;
    transition: opacity 0.15s ease;
    transform: none !important;
  }

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

  .footer-link:active {
    opacity: 0.6;
  }

  /* contact@wageio.com single line at 320px */
  .footer-link[href^="mailto:"] {
    font-size: clamp(13px, 4.2vw, 14px);
    white-space: nowrap;
  }

  /* 5. Bottom Bar (48px space above, padding 16px 24px calc(18px + env(safe-area-inset-bottom))) */
  .footer-bottom-bar-wrap {
    position: relative;
    border-top: 0.5px solid rgba(255, 255, 255, 0.14);
    background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 90px);
    z-index: 3;
    width: 100%;
  }

  .footer-bottom-container {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    row-gap: 12px;
    padding: 16px 24px calc(18px + env(safe-area-inset-bottom)) !important;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
  }

  /* Row 1: Waitlist Privacy & Terms on left */
  .footer-legal-links {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }

  .footer-legal-btn {
    font-size: 13px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(255, 255, 255, 0.4);
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: opacity 0.15s ease;
  }

  .footer-legal-btn:hover {
    color: #ffffff;
  }

  .footer-legal-btn:active {
    opacity: 0.6;
  }

  /* Row 1: Back to top on right (13px label + 40px circular up-arrow button) */
  .footer-back-to-top-wrap {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }

  .footer-back-to-top-btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    color: #ffffff;
    margin: 0;
    transition: opacity 0.15s ease;
  }

  .footer-back-to-top-btn:hover {
    color: #ffffff;
  }

  .footer-back-to-top-btn:active {
    opacity: 0.6;
  }

  .back-to-top-label {
    font-size: 13px;
    color: #ffffff;
  }

  .back-to-top-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.06);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: none;
  }

  .footer-back-to-top-btn:hover .back-to-top-circle {
    transform: none;
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.06);
  }

  /* Row 2: Copyright 12px below, 12px, white at 60%, left-aligned */
  .footer-copyright {
    grid-column: 1 / -1;
    grid-row: 2;
    text-align: left;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.4;
    user-select: none;
    padding: 0;
    margin: 0;
  }

  /* 6. Glow: static indigo radial gradient 520x400px bottom-left */
  .footer-radial-glow {
    position: absolute;
    width: 520px;
    height: 400px;
    left: -120px;
    bottom: -20px;
    background: radial-gradient(closest-side, rgba(47, 158, 99, 0.75), rgba(47, 158, 99, 0));
    pointer-events: none;
    z-index: 1;
    filter: blur(40px);
    animation: none !important;
    transform: none !important;
    opacity: 0.85;
  }

  /* Accessibility: Focus Rings */
  .footer-link:focus-visible,
  .footer-legal-btn:focus-visible,
  .footer-back-to-top-btn:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 3px;
  }
}

/* Reduced Motion */
@media (max-width: 767px) and (prefers-reduced-motion: reduce) {
  .footer-rotating-badge .badge-circular-text {
    animation: none !important;
  }

  .footer-headline-line {
    transform: none !important;
    transition: none !important;
  }
}

/* ==========================================================================
   PHONE LAYOUT: WAGEIO CAPABILITIES SECTION (max-width: 767px)
   Strictly isolated to mobile phones; desktop (1024px+) & tablet (768px-1023px) untouched.
   ========================================================================== */
@media (max-width: 767px) {
  html, body {
    overflow-x: clip !important;
  }

  /* Section & Pinned Container */
  .features-editorial-section {
    position: relative !important;
    width: 100% !important;
    min-height: calc(100dvh + 270dvh) !important;
    min-height: calc(100svh + 270svh) !important;
    padding: 0 !important;
    background-color: #02040a !important;
    border-top: 1px solid rgba(255, 255, 255, 0.04) !important;
    overflow: visible !important;
  }

  /* 4. Faint grid background with ~60px spacing */
  .features-grid-overlay {
    background-size: 60px 60px !important;
    pointer-events: none !important;
  }

  /* Sticky track pinned for 100svh */
  .features-sticky-track {
    position: sticky !important;
    top: 0 !important;
    width: 100% !important;
    height: 100dvh !important;
    height: 100svh !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: stretch !important;
    justify-content: stretch !important;
    padding: 0 !important;
    z-index: 1 !important;
  }

  /* 3-Zone Vertical Layout with 24px side padding and ~88px nav clearance */
  .features-editorial-container {
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    grid-template-rows: auto 1fr auto !important;
    grid-template-areas:
      "head-label head-indicator"
      "list-col   list-col"
      "desc-zone  desc-zone" !important;
    width: 100% !important;
    height: 100dvh !important;
    height: 100svh !important;
    padding: 88px 24px 24px 24px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    row-gap: 18px !important;
    column-gap: 16px !important;
    align-items: center !important;
    max-width: 100% !important;
  }

  /* 1. Zone 1: Head (Top) */
  .features-left-indicator {
    grid-area: head-label !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    user-select: none !important;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .features-editorial-section.is-in-view .features-left-indicator {
    opacity: 1;
    transform: translateY(0);
  }

  .features-category-text {
    font-family: var(--font-mono) !important;
    font-size: 11px !important;
    letter-spacing: 0.18em !important;
    color: rgba(255, 255, 255, 0.55) !important;
    text-transform: uppercase !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
    writing-mode: horizontal-tb !important;
  }

  /* Indicator Scaled to 104px (200px motif scaled by 0.52) */
  .features-graphic-col {
    grid-area: head-indicator !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    width: 104px !important;
    height: 104px !important;
    padding: 0 !important;
    position: relative !important;
    user-select: none !important;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.08s, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.08s;
  }

  .features-editorial-section.is-in-view .features-graphic-col {
    opacity: 1;
    transform: translateY(0);
  }

  .features-technical-motif {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 200px !important;
    height: 200px !important;
    margin: 0 !important;
    transform: translate(-50%, -50%) scale(0.52) !important;
    transform-origin: center center !important;
    flex-shrink: 0 !important;
  }

  /* 2. Zone 2: List Window (Middle, takes remaining height) */
  .features-content-col {
    grid-area: list-col !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    padding: 0 !important;
    position: relative !important;
    overflow: hidden !important;
  }

  .features-list-viewport {
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
    mask-image: linear-gradient(180deg, transparent 0, #000 18%, #000 82%, transparent 100%) !important;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 18%, #000 82%, transparent 100%) !important;
  }

  .features-items-list {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
    will-change: transform;
  }

  .feature-editorial-item {
    display: block !important;
    width: 100% !important;
    grid-template-columns: none !important;
    gap: 0 !important;
    cursor: pointer !important;
    outline: none !important;
    user-select: none !important;
    min-height: 44px !important;
    opacity: var(--item-opacity, 0.4) !important;
    will-change: opacity;
    padding: 4px 0 !important;
  }

  .feature-editorial-item:focus-visible {
    outline: 2px solid #ffffff !important;
    outline-offset: 3px !important;
    border-radius: 4px;
  }

  .feature-headline-col {
    width: 100% !important;
    display: block !important;
  }

  /* Titles: left-aligned, uppercase, clamp with lower min so MANAGEMENT fits at 320px */
  .feature-headline-text {
    font-family: var(--font-heading) !important;
    font-size: clamp(1.8rem, 9.2vw, 2.75rem) !important;
    font-weight: 800 !important;
    line-height: 0.98 !important;
    letter-spacing: -0.03em !important;
    text-transform: uppercase !important;
    margin: 0 !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    color: var(--headline-color, #ffffff) !important;
    transform: none !important;
    text-shadow: var(--headline-glow, none) !important;
    text-align: left !important;
  }

  /* Hide inline description inside the moving item list on phone */
  .feature-editorial-item .feature-desc-col {
    display: none !important;
  }

  /* 3. Zone 3: Dedicated Description at Bottom */
  .features-phone-desc-zone {
    grid-area: desc-zone !important;
    display: block !important;
    width: 100% !important;
    min-height: 4.8em !important;
    position: relative !important;
    pointer-events: none !important;
    overflow: hidden !important;
  }

  .features-phone-desc-item {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    opacity: 0 !important;
    transform: translateY(12px) !important;
    transition: opacity 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),
                transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
    pointer-events: none !important;
    visibility: hidden !important;
  }

  .features-phone-desc-item.active {
    opacity: 1 !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
    visibility: visible !important;
  }

  .features-phone-desc-text {
    font-family: var(--font-body) !important;
    font-size: 16px !important;
    line-height: 1.55 !important;
    color: rgba(255, 255, 255, 0.82) !important;
    margin: 0 !important;
    text-align: left !important;
    letter-spacing: -0.01em !important;
  }
}

/* Reduced Motion Phone Support */
@media (max-width: 767px) and (prefers-reduced-motion: reduce) {
  .features-left-indicator,
  .features-graphic-col {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .features-phone-desc-item {
    transition: opacity 0.01s linear !important;
    transform: none !important;
  }

  .feature-headline-text {
    text-shadow: none !important;
  }
}

/* Landscape Phone Fallback (Very short viewport height e.g. 844x390) */
@media (max-width: 900px) and (max-height: 520px) {
  .features-editorial-section {
    min-height: auto !important;
    padding: 60px 0 !important;
  }

  .features-sticky-track {
    position: relative !important;
    height: auto !important;
    overflow: visible !important;
  }

  .features-editorial-container {
    height: auto !important;
    padding: 0 24px !important;
  }

  .features-items-list {
    position: relative !important;
    transform: none !important;
  }

  .features-list-viewport {
    overflow: visible !important;
    mask-image: none !important;
    -webkit-mask-image: none !important;
  }
}
