/* =========================================================================
 * SOURSHIP — HOME PAGE STYLESHEET
 * Fynex-Inspired Hero | OLED Dark Mode | Brand Orange Palette
 * ========================================================================= */

/* -------------------------------------------------------------------------
 * 1. DESIGN TOKENS
 * ------------------------------------------------------------------------- */
:root {
  /* Brand Colors */
  --brand-orange: #f1490a;
  --brand-dark-orange: #d33b00;
  --brand-hover: #d33b00;
  --brand-amber: #f59e0b;
  --brand-light-bg: #fff4ef;

  /* OLED Dark Palette */
  --oled-bg: #0D0502;
  --oled-surface: #0D0502;
  --oled-card-bg: #111115;
  --oled-card-border: rgba(255, 255, 255, 0.07);
  --oled-highlight: rgba(255, 255, 255, 0.12);

  /* Slate Text Tokens */
  --slate-heading: #fff4ed;
  --slate-body: #ffe6d4;
  --slate-label: #64748b;
  --slate-muted: #334155;

  /* Typography */
  --font-primary: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  --font-secondary: "Montserrat", sans-serif;
  --font-mono: "JetBrains Mono", "Fira Code", monospace;

  /* Transitions */
  --ease-spring: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

/* -------------------------------------------------------------------------
 * 2. GLOBAL RESETS & BASE
 * ------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: #0D0502;
  color: var(--slate-body);
  font-family: var(--font-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* -------------------------------------------------------------------------
 * 3. STRICT TYPOGRAPHY RULES
 * ------------------------------------------------------------------------- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-primary) !important;
  color: var(--slate-heading);
}

p {
  font-family: var(--font-secondary) !important;
  color: var(--slate-body);
}

button,
input,
select,
textarea,
label,
span,
a,
li,
th,
td {
  font-family: var(--font-primary);
}

/* -------------------------------------------------------------------------
 * 4. SCROLLBARS
 * ------------------------------------------------------------------------- */
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 99px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* -------------------------------------------------------------------------
 * 5. SELECTION
 * ------------------------------------------------------------------------- */
::selection {
  background: rgba(241, 73, 10, 0.25);
  color: #ffffff;
}

/* -------------------------------------------------------------------------
 * 6. PRELOADER
 * ------------------------------------------------------------------------- */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--oled-bg);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

#preloader-logo {
  width: 52px;
  height: 52px;
  position: relative;
}

#preloader-logo svg {
  width: 100%;
  height: 100%;
}

#loader-path {
  stroke-dasharray: 251.2;
  stroke-dashoffset: 251.2;
  transition: stroke-dashoffset 0.05s linear;
}

/* -------------------------------------------------------------------------
 * 7. NAVBAR — Reference Style (Mufi-inspired with Dynamic Expanding Pill)
 * Integrated in Hero (fixed) · Center pill expands on scroll to wrap all
 * ------------------------------------------------------------------------- */
#main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  width: 100%;
  height: 80px;
  display: flex;
  align-items: center;
  /* initial state for JS entrance animation */
  opacity: 0;
  transform: translateY(-10px);
  background: transparent;
  pointer-events: none;
  /* Let clicks pass through empty spaces */
}

.nav-inner {
  pointer-events: auto;
  /* Restore clicks for links and buttons */
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1320px;
  width: 100%;
  margin: 0 auto;
  padding: 0 2.5rem;
  height: 64px;
  position: relative;
}

/* ── Brand Logo & Right Buttons (Must float above the expanding pill) ──────── */
.nav-logo,
.nav-right {
  position: relative;
  z-index: 2;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-icon {
  width: 30px;
  height: 30px;
  background: linear-gradient(135deg, var(--brand-orange) 0%, var(--brand-amber) 100%);
  border-radius: 99px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 12px -3px rgba(241, 73, 10, 0.55);
  flex-shrink: 0;
}

.nav-logo-wordmark {
  font-size: 0.9375rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
}

/* ── Center nav pill capsule — expands on scroll ─────────────────────────── */
.nav-pill-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 99px;
  padding: 4px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 620px;
  /* Sized to perfectly fit links at top state */
  height: 50px;
  z-index: 1;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  /* Buttery smooth expansion transition */
  transition:
    width 0.5s var(--ease-spring),
    height 0.5s var(--ease-spring),
    border-radius 0.5s var(--ease-spring),
    background 0.4s ease,
    border-color 0.4s ease,
    box-shadow 0.4s ease;
}

/* Expanded state: capsule grows to cover full width and swallow logo + CTA */
#main-nav.scrolled .nav-pill-wrap {
  width: 96%;
  height: 56px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04),
    0 12px 40px -8px rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}


/* Individual nav pill items */
.nav-pill-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  padding: 0.35rem 0.9rem;
  border-radius: 99px;
  transition: color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
  position: relative;
  z-index: 1;
}

.nav-pill-item:hover {
  color: rgba(255, 255, 255, 0.9);
}

/* Active item: now styled via the sliding indicator element */
.nav-pill-active {
  color: #ffffff !important;
}

.nav-indicator-background {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 0;
  width: 0;
  background: rgba(30, 12, 5, 0.9);
  border: 1px solid rgba(241, 73, 10, 0.25);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
  border-radius: 99px;
  z-index: 0;
  transition: left 0.35s cubic-bezier(0.25, 1, 0.5, 1), width 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  pointer-events: none;
}

/* ── Right side ───────────────────────────────────────────────────────────── */
.nav-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-shrink: 0;
}

.nav-signin {
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-signin:hover {
  color: #ffffff;
}

.nav-cta-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #0D0502;
  background: #ffffff;
  padding: 0.45rem 1.1rem;
  border-radius: 99px;
  text-decoration: none;
  box-shadow: 0 2px 12px -2px rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: color 0.3s ease, box-shadow 0.3s ease, transform 0.3s var(--ease-spring);
}

.nav-cta-pill::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle 80px at var(--mouse-x, 50%) var(--mouse-y, 50%), var(--brand-orange) 0%, rgba(241, 73, 10, 0) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: -1;
}

.nav-cta-pill:hover::before {
  opacity: 1;
}

.nav-cta-pill:hover {
  color: #ffffff;
  box-shadow: 0 6px 20px -4px rgba(241, 73, 10, 0.5);
  transform: scale(1.04);
}




/* -------------------------------------------------------------------------
 * 8. HERO SECTION — VELOSHERE-INSPIRED DARK GALAXY
 * Base: #0D0502 | Orange primary glow | Star field | Glass dashboard
 * ------------------------------------------------------------------------- */
#hero-section {
  position: relative;
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10rem;
  padding-bottom: 0;
  overflow: hidden;
  background: #0D0502;
}

#hero-interactive-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}


/* ── Star field: two layers of micro-dots for depth ──────────────────────── */
.hero-bg-layer {
  position: absolute;
  inset: 0;
  /* Dense star field — many more dots at varying opacities */
  background-image:
    /* Layer 1 — bright foreground stars */
    radial-gradient(1.5px 1.5px at 8% 6%, rgba(255, 255, 255, 0.9) 0%, transparent 0%),
    radial-gradient(1px 1px at 22% 3%, rgba(255, 255, 255, 0.6) 0%, transparent 0%),
    radial-gradient(2px 2px at 35% 9%, rgba(255, 255, 255, 0.8) 0%, transparent 0%),
    radial-gradient(1px 1px at 48% 2%, rgba(255, 255, 255, 0.5) 0%, transparent 0%),
    radial-gradient(1.5px 1.5px at 61% 7%, rgba(255, 255, 255, 0.75) 0%, transparent 0%),
    radial-gradient(1px 1px at 74% 4%, rgba(255, 255, 255, 0.55) 0%, transparent 0%),
    radial-gradient(2px 2px at 88% 8%, rgba(255, 255, 255, 0.7) 0%, transparent 0%),
    radial-gradient(1px 1px at 95% 15%, rgba(255, 255, 255, 0.45) 0%, transparent 0%),
    /* Layer 2 — dim background stars */
    radial-gradient(1px 1px at 5% 20%, rgba(255, 255, 255, 0.3) 0%, transparent 0%),
    radial-gradient(1px 1px at 17% 28%, rgba(255, 255, 255, 0.25) 0%, transparent 0%),
    radial-gradient(1px 1px at 30% 22%, rgba(255, 255, 255, 0.2) 0%, transparent 0%),
    radial-gradient(1px 1px at 42% 35%, rgba(255, 255, 255, 0.22) 0%, transparent 0%),
    radial-gradient(1px 1px at 55% 25%, rgba(255, 255, 255, 0.18) 0%, transparent 0%),
    radial-gradient(1px 1px at 68% 31%, rgba(255, 255, 255, 0.28) 0%, transparent 0%),
    radial-gradient(1px 1px at 80% 18%, rgba(255, 255, 255, 0.22) 0%, transparent 0%),
    radial-gradient(1px 1px at 92% 26%, rgba(255, 255, 255, 0.16) 0%, transparent 0%),
    /* Layer 3 — orange-tinted warm stars near the glow zone */
    radial-gradient(1.5px 1.5px at 40% 12%, rgba(255, 160, 80, 0.6) 0%, transparent 0%),
    radial-gradient(1px 1px at 52% 18%, rgba(255, 140, 60, 0.4) 0%, transparent 0%),
    radial-gradient(1px 1px at 60% 10%, rgba(255, 180, 100, 0.3) 0%, transparent 0%);
  background-size: 100% 100%;
  z-index: 0;
  pointer-events: none;
  animation: starsTwinkle 6s ease-in-out infinite alternate;
}

/* Diagonal grid overlay */
.hero-bg-layer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(241, 73, 10, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(241, 73, 10, 0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 0%, transparent 70%);
}

/* Diagonal grid second layer at 45deg */
.hero-bg-layer::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(45deg, rgba(255, 255, 255, 0.01) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}

/* ── Central orange burst glow — the core VeloSphere halo ────────────────── */
.hero-ambient-glow {
  position: absolute;
  top: -5%;
  left: 50%;
  transform: translateX(-50%);
  width: 90vw;
  height: 90vw;
  max-width: 1000px;
  max-height: 1000px;
  background:
    radial-gradient(ellipse 50% 40% at 50% 10%,
      rgba(241, 73, 10, 0.30) 0%,
      rgba(241, 73, 10, 0.12) 30%,
      rgba(180, 60, 10, 0.05) 55%,
      transparent 70%);
  filter: blur(30px);
  pointer-events: none;
  z-index: 1;
  animation: glowPulse 4s ease-in-out infinite alternate;
}

/* =========================================================================
 * HERO TO NEXT SECTION FADE OVERLAY
 * Renders a linear gradient that blends the background color of the hero 
 * (#0D0502) into transparent as it goes up, creating a smooth switch.
 * 
 * PARAMETERS YOU CAN EDIT:
 * - height: Controls how tall the gradient fade is (currently 150px).
 * - background: Controls the fade color (currently matches --oled-bg / #0D0502).
 * ========================================================================= */
.hero-bottom-fade-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 150px;
  /* EDIT THIS to change how tall the fade is */
  background: linear-gradient(to top,
      #0D0502 0%,
      /* Bottom color matches the page background */
      rgba(13, 5, 2, 0) 100%
      /* Top color goes transparent */
    );
  pointer-events: none;
  /* Allows cursor and mouse pointer to pass through */
  z-index: 10;
  /* Sits above the grid and canvas to fade them out smoothly */
}

/* -------------------------------------------------------------------------
 * 9. HERO TEXT CONTENT
 * ------------------------------------------------------------------------- */
.hero-text-container {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 1000px;
  /* wider — gives the headline breathing room */
  width: 100%;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1rem;
}

/* Top badge pill */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(241, 73, 10, 0.1);
  border: 1px solid rgba(241, 73, 10, 0.28);
  border-radius: 99px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-orange);
  box-shadow: 0 0 20px -8px rgba(241, 73, 10, 0.3);
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-orange);
  box-shadow: 0 0 6px rgba(241, 73, 10, 0.8);
  animation: pulseDot 2s ease-in-out infinite;
}

/* ── Main Headline — wider, bigger ───────────────────────────────────────── */
.hero-headline {
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  font-weight: 800;
  line-height: 1.07;
  letter-spacing: -0.035em;
  color: var(--slate-heading);
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.5);
}

/* ── Typewriter word: framed with a highlight background ─────────────────── */
.hero-typewriter-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0;
  position: relative;
  /* Rounded pill frame — the key Dataly-style highlight box */
  background: linear-gradient(135deg, rgba(241, 73, 10, 0.18) 0%, rgba(245, 158, 11, 0.12) 100%);
  border: 1px solid rgba(241, 73, 10, 0.35);
  border-radius: 14px;
  padding: 0.1em 0.45em 0.1em 0.45em;
  box-shadow:
    0 0 30px -8px rgba(241, 73, 10, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
  /* keep in-flow alongside surrounding text */
  vertical-align: middle;
  margin-left: 0.2em;
}

.hero-typed-word {
  background: linear-gradient(120deg, var(--brand-orange) 0%, var(--brand-amber) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline;
  font-style: normal;
}

/* Blinking cursor */
.hero-cursor {
  display: inline-block;
  width: 3px;
  height: 0.85em;
  background: var(--brand-orange);
  border-radius: 2px;
  margin-left: 3px;
  vertical-align: middle;
  box-shadow: 0 0 8px rgba(241, 73, 10, 0.6);
  animation: blinkCursor 0.9s step-end infinite;
}

/* Sub-headline */
.hero-subheadline {
  font-size: 1rem;
  line-height: 1.75;
  color: rgb(255 230 212);
  max-width: 900px;
}

/* CTA Buttons Row */
.hero-cta-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}

.hero-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--brand-orange);
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0.9rem 2rem;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 8px 28px -6px rgba(241, 73, 10, 0.45);
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: transform 0.5s var(--ease-spring), box-shadow 0.3s ease;
}

.hero-cta-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle 120px at var(--mouse-x, 50%) var(--mouse-y, 50%), var(--brand-hover) 0%, rgba(241, 73, 10, 0) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: -1;
}

.hero-cta-primary:hover::before {
  opacity: 1;
}

.hero-cta-primary:hover {
  transform: scale(1.055);
  box-shadow: 0 16px 40px -8px rgba(241, 73, 10, 0.55);
}

.hero-cta-primary-arrow {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  transition: transform 0.5s var(--ease-spring);
}

.hero-cta-primary:hover .hero-cta-primary-arrow {
  transform: rotate(45deg);
}

.hero-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(148, 163, 184, 0.85);
  text-decoration: none;
  padding: 0.9rem 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.hero-cta-secondary:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.07);
}

/* -------------------------------------------------------------------------
 * 11. DASHBOARD MOCKUP — GLASS MORPHISM
 * VeloSphere-inspired: translucent panels, orange glow borders, blur layers
 * ------------------------------------------------------------------------- */

/* Glow orb that sits BEHIND the dashboard (the VeloSphere sphere effect) */
.hero-glow-orb {
  position: absolute;
  bottom: -8%;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  max-width: 800px;
  height: 280px;
  background: radial-gradient(ellipse at center,
      rgba(241, 73, 10, 0.35) 0%,
      rgba(255, 80, 10, 0.15) 30%,
      transparent 70%);
  filter: blur(55px);
  pointer-events: none;
  z-index: 4;
  animation: glowPulse 3.5s ease-in-out infinite alternate;
}

/* Hero visual wrapper */
#hero-visual-container {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 6.5rem auto 0;
  z-index: 5;
}

/* Globe wireframe rotating behind dashboard */
@keyframes globeRotate {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.hero-globe-wireframe {
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 115%;
  max-width: 1300px;
  aspect-ratio: 1 / 1;
  pointer-events: none;
  z-index: 2;
  opacity: 0.45;
}

.hero-globe-wireframe svg {
  width: 100%;
  height: 100%;
  transform-origin: center center;
}

#dashboard-mockup {
  position: relative;
  z-index: 10;
  width: 96%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
  /* Added padding to dashboard holder */
  opacity: 0;
  transform: translateY(40px) scale(0.97);
  filter: none !important;
}

.elementor-widget-container {
  width: 100%;
}

.pxl-image-transform {
  position: relative;
  width: 100%;
  overflow: visible;
}

.pxl-item--logo {
  position: relative;
  z-index: 1;
  width: 100%;
}

.pxl-item--logo img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 55px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.pxl-image-holder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.pxl-item--transform {
  position: absolute;
  will-change: transform;
  transform-origin: center center;
}

.pxl-item--transform1 {
  width: 29%;
  left: 3%;
  top: 26%;
  transform: translate3d(-300px, -580px, 0px) rotate(-14deg);
}

.pxl-item--transform2 {
  width: 29%;
  left: 35.2%;
  top: 26%;
  transform: translate3d(0px, -540px, 0px);
}

.pxl-item--transform3 {
  width: 29%;
  left: 67.5%;
  top: 26%;
  transform: translate3d(300px, -580px, 0px) rotate(14deg);
}

@media (max-width: 768px) {
  .pxl-item--transform1 {
    transform: translate3d(-60px, -150px, 0px) rotate(-8deg);
  }

  .pxl-item--transform2 {
    transform: translate3d(0px, -110px, 0px);
  }

  .pxl-item--transform3 {
    transform: translate3d(60px, -150px, 0px) rotate(8deg);
  }
}

.pxl-item--transform img {
  width: 100%;
  height: auto;
  display: block;
}

/* -------------------------------------------------------------------------
 * 17. ENTRANCE ANIMATION INITIAL STATES
 * JS transitions .hero-reveal and #dashboard-mockup from these states.
 * ------------------------------------------------------------------------- */
.hero-reveal {
  opacity: 0;
  transform: translateY(30px);
  filter: blur(4px);
}

.bento-item,
.reveal-item {
  opacity: 0;
  transform: translateY(32px);
}

/* On mobile, bento items are visible by default (no GSAP stacked scroll) */
@media (max-width: 768px) {
  .bento-item {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* =========================================================================
 * 18. WHAT WE OFFER BENTO STYLES
 * ========================================================================= */
.text-glow-orange {
  text-shadow: 0 0 20px rgba(241, 73, 10, 0.45);
}

.glass-panel {
  background: rgba(255, 255, 255, 0.02) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.glass-panel:hover {
  background: rgba(255, 255, 255, 0.04) !important;
  border-color: rgba(241, 73, 10, 0.2) !important;
  box-shadow: 0 12px 40px 0 rgba(241, 73, 10, 0.05) !important;
  transform: translateY(-2px) !important;
}

.animate-spin-slow {
  animation: spin 15s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.95);
    opacity: 0.6;
  }

  50% {
    transform: scale(1.1);
    opacity: 0.25;
  }

  100% {
    transform: scale(1.22);
    opacity: 0;
  }
}

.animate-pulse-ring {
  animation: pulse-ring 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes flow-dash-orange {
  to {
    stroke-dashoffset: -40;
  }
}

.flow-active {
  stroke-dasharray: 8, 4 !important;
  animation: flow-dash-orange 2.2s linear infinite !important;
  stroke-width: 2.5 !important;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.97);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.animate-fadeIn {
  animation: fadeIn 0.3s ease-out forwards;
}


/* =========================================================================
 * 19. HOW IT WORKS — ALTERNATING TIMELINE
 * GSAP ScrollTrigger wire + alternating text/image blocks
 * ========================================================================= */

/* ── Section Container ──────────────────────────────────────────────────── */
.hiw-section {
  padding: 6rem 1.5rem;
  max-width: 100%;
  overflow: hidden;
}

/* ── Section Header ─────────────────────────────────────────────────────── */
.hiw-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  margin-bottom: 5rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1rem;
}

.hiw-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.5625rem;
  font-weight: 800;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--brand-orange);
  background: rgba(241, 73, 10, 0.08);
  border: 1px solid rgba(241, 73, 10, 0.2);
  border-radius: 99px;
  padding: 0.375rem 1rem;
}

.hiw-title {
  font-family: var(--font-primary) !important;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--slate-heading);
  line-height: 1.1;
  margin: 0;
}

.hiw-subtitle {
  font-family: var(--font-secondary) !important;
  font-size: 0.8125rem;
  color: var(--slate-body);
  line-height: 1.75;
  max-width: 480px;
  margin: 0;
}

/* ── Timeline Wrapper — positions the SVG + steps together ─────────────── */
.hiw-timeline-wrap {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── SVG Wire — covers the FULL wrapper so the path can reach both sides ── */
.hiw-wire-svg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: visible;
  /* allow the dot glow to bleed outside bounds */
}

/* ── Individual Step Block ──────────────────────────────────────────────── */
.hiw-step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 3.5rem 0;
  position: relative;
  z-index: 2;
}

/* Odd steps: text left, image right (default grid order) */
.hiw-step--odd .hiw-text-block {
  order: 1;
}

.hiw-step--odd .hiw-img-block {
  order: 2;
}

/* Even steps: image left, text right */
.hiw-step--even .hiw-text-block {
  order: 2;
}

.hiw-step--even .hiw-img-block {
  order: 1;
}

/* Text alignment for even steps (text on right) */
.hiw-step--even .hiw-text-block {
  text-align: left;
}

/* ── Text Block ─────────────────────────────────────────────────────────── */
.hiw-text-block {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hiw-step-num {
  font-family: var(--font-primary);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  /* Gradient clip on the large number */
  background: linear-gradient(135deg, var(--brand-orange) 0%, var(--brand-amber) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-bottom: 0.25rem;
  /* Subtle glow behind the gradient number */
  filter: drop-shadow(0 0 28px rgba(241, 73, 10, 0.3));
}

.hiw-step-label {
  font-family: var(--font-primary);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(241, 73, 10, 0.7);
}

.hiw-step-title {
  font-family: var(--font-primary) !important;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--slate-heading);
  line-height: 1.25;
  margin: 0;
}

.hiw-step-body {
  font-family: var(--font-secondary) !important;
  font-size: 0.8125rem;
  line-height: 1.8;
  color: var(--slate-body);
  max-width: 420px;
  margin: 0;
}

.hiw-step-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-primary);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--slate-label);
  margin-top: 0.5rem;
}

.hiw-tag-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand-orange);
  flex-shrink: 0;
  animation: pulseDot 2s ease-in-out infinite;
}

/* ── Image Block ────────────────────────────────────────────────────────── */
.hiw-img-block {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hiw-img-placeholder {
  width: 100%;
  max-width: 440px;
  min-height: 280px;

  /* Richer Glassmorphism: Layered sheen over a tinted base for more body */
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.01) 100%), rgba(20, 8, 4, 0.5) !important;
  backdrop-filter: blur(24px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(150%) !important;

  /* Crisp Edges with an inner light catch */
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.05),
    0 20px 40px -10px rgba(0, 0, 0, 0.8) !important;

  border-radius: 1.5rem;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease !important;
}

/* Hover and active dot tracking state */
.hiw-img-placeholder:hover,
.hiw-img-placeholder.hiw-glow-active {
  transform: translateY(-4px);
  border-color: rgba(241, 73, 10, 0.6) !important;
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.08),
    0 10px 40px -10px rgba(241, 73, 10, 0.25),
    0 20px 60px -15px rgba(0, 0, 0, 0.9) !important;
}

/* Hover and active dot tracking state */
.hiw-img-placeholder:hover,
.hiw-img-placeholder.hiw-glow-active {
  transform: translateY(-4px);
  border-color: rgba(241, 73, 10, 0.5) !important;
  box-shadow:
    0 10px 40px -10px rgba(241, 73, 10, 0.25),
    0 20px 60px -15px rgba(0, 0, 0, 0.8) !important;
}

.hiw-placeholder-inner {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  position: relative;
  z-index: 2;
}

/* Ambient glow blob behind icon */
.hiw-placeholder-icon-wrap {
  width: 72px;
  height: 72px;
  background: rgba(241, 73, 10, 0.08);
  border: 1px solid rgba(241, 73, 10, 0.15);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hiw-placeholder-icon {
  color: var(--brand-orange);
  opacity: 0.85;
}

.hiw-placeholder-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(241, 73, 10, 0.05) 0%, transparent 65%);
  pointer-events: none;
  z-index: 1;
}

/* ── Step 1: Integration Badges ─────────────────────────────────────────── */
.hiw-placeholder-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.hiw-p-badge {
  font-family: var(--font-primary);
  font-size: 0.625rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 99px;
  letter-spacing: 0.05em;
}

.hiw-p-badge--green {
  background: rgba(74, 222, 128, 0.1);
  color: #4ade80;
  border: 1px solid rgba(74, 222, 128, 0.2);
}

.hiw-p-badge--blue {
  background: rgba(96, 165, 250, 0.1);
  color: #60a5fa;
  border: 1px solid rgba(96, 165, 250, 0.2);
}

.hiw-p-badge--orange {
  background: rgba(241, 73, 10, 0.1);
  color: var(--brand-orange);
  border: 1px solid rgba(241, 73, 10, 0.2);
}

/* ── Step 2: URL Parse Pill ─────────────────────────────────────────────── */
.hiw-placeholder-url-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 99px;
  padding: 0.5rem 0.5rem 0.5rem 1rem;
  gap: 0.5rem;
}

.hiw-url-text {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  color: var(--slate-body);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}

.hiw-url-btn {
  font-family: var(--font-primary);
  font-size: 0.625rem;
  font-weight: 700;
  background: var(--brand-orange);
  color: #ffffff;
  padding: 0.3rem 0.75rem;
  border-radius: 99px;
  flex-shrink: 0;
  cursor: default;
}

/* ── Step 3: Wallet Display ─────────────────────────────────────────────── */
.hiw-wallet-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.hiw-wallet-label {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--slate-label);
}

.hiw-wallet-value {
  font-family: var(--font-primary);
  font-size: 1.625rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  text-shadow: 0 0 20px rgba(241, 73, 10, 0.35);
}

.hiw-wallet-tag {
  font-family: var(--font-primary);
  font-size: 0.5625rem;
  font-weight: 600;
  background: rgba(241, 73, 10, 0.1);
  border: 1px solid rgba(241, 73, 10, 0.2);
  color: var(--brand-orange);
  padding: 0.2rem 0.625rem;
  border-radius: 99px;
  letter-spacing: 0.08em;
  margin-top: 0.25rem;
}

/* ── Step 4: QC Checklist ───────────────────────────────────────────────── */
.hiw-qc-checklist {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0.75rem;
  padding: 0.75rem;
}

.hiw-qc-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-primary);
  font-size: 0.625rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  padding: 0.25rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.hiw-qc-item:last-child {
  border-bottom: none;
}

.hiw-qc-status {
  margin-left: auto;
  font-size: 0.5625rem;
  font-weight: 700;
  background: rgba(74, 222, 128, 0.1);
  color: #4ade80;
  border: 1px solid rgba(74, 222, 128, 0.2);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}

.hiw-qc-status--orange {
  background: rgba(241, 73, 10, 0.1) !important;
  color: var(--brand-orange) !important;
  border-color: rgba(241, 73, 10, 0.2) !important;
  animation: pulseDot 2s ease-in-out infinite;
}

.hiw-qc-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.hiw-qc-dot--green {
  background: #4ade80;
}

.hiw-qc-dot--orange {
  background: var(--brand-orange);
  animation: pulseDot 1.5s ease-in-out infinite;
}

/* ── Step 5: Order Rows ─────────────────────────────────────────────────── */
.hiw-order-rows {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0.75rem;
  padding: 0.75rem;
}

.hiw-order-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-primary);
  font-size: 0.625rem;
  padding: 0.25rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.hiw-order-row:last-child {
  border-bottom: none;
}

.hiw-order-id {
  font-weight: 700;
  color: var(--brand-orange);
  font-family: var(--font-mono);
}

.hiw-order-sku {
  color: rgba(255, 255, 255, 0.5);
  flex: 1;
}

.hiw-order-badge {
  font-size: 0.5rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}

.hiw-order-badge--green {
  background: rgba(74, 222, 128, 0.1);
  color: #4ade80;
  border: 1px solid rgba(74, 222, 128, 0.2);
}

.hiw-order-badge--orange {
  background: rgba(241, 73, 10, 0.1);
  color: var(--brand-orange);
  border: 1px solid rgba(241, 73, 10, 0.2);
}

/* ── Step 6: Shipping Lanes ─────────────────────────────────────────────── */
.hiw-shipping-lanes {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0.75rem;
  padding: 0.75rem;
}

.hiw-lane {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-primary);
  font-size: 0.625rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  padding: 0.2rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.hiw-lane:last-child {
  border-bottom: none;
}

.hiw-lane span {
  color: var(--brand-orange);
  font-weight: 700;
  font-family: var(--font-mono);
  font-size: 0.5625rem;
}

.hiw-ddp-badge {
  font-family: var(--font-primary);
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.2);
  color: #4ade80;
  padding: 0.3rem 0.875rem;
  border-radius: 99px;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.hiw-ddp-badge::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #4ade80;
  animation: pulseDot 2s ease-in-out infinite;
}

/* ── GSAP Initial States (set before animation runs) ───────────────────── */
/* Steps start invisible — GSAP will reveal them (inline state sets are used to avoid flash) */

/* ── Responsive: collapse to single column on mobile ───────────────────── */
@media (max-width: 768px) {
  .hiw-section {
    padding: 4rem 1rem;
  }

  .hiw-header {
    margin-bottom: 3rem;
  }

  .hiw-step {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2.5rem 0;
  }

  /* On mobile, always show text first then image */
  .hiw-step--odd .hiw-text-block,
  .hiw-step--even .hiw-text-block {
    order: 1;
  }

  .hiw-step--odd .hiw-img-block,
  .hiw-step--even .hiw-img-block {
    order: 2;
  }

  /* Center all HIW text blocks on mobile */
  .hiw-text-block,
  .hiw-step--even .hiw-text-block {
    text-align: center;
    align-items: center;
  }

  .hiw-step-tag {
    justify-content: center;
  }

  /* Hide the SVG wire on mobile */
  .hiw-wire-svg {
    display: none;
  }

  .hiw-step-num {
    font-size: 3.5rem;
  }

  .hiw-img-placeholder {
    min-height: 220px;
  }

  .hiw-timeline-wrap {
    padding: 0 0.5rem;
  }

  /* Hide the scroll-pinned video step on mobile and show static thumbnail */
  .hiw-step--center {
    display: none !important;
  }

  .hiw-video-mobile-thumbnail {
    display: block !important;
  }

  .hero-globe-wireframe {
    width: 145%;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .hiw-step {
    gap: 2.5rem;
  }

  .hiw-step-num {
    font-size: 4rem;
  }
}

/* =========================================================================
 * 20. PRICING PLANS STYLES
 * ========================================================================= */

 /* =========================================================================
 * PRICING BACKGROUND IMAGE (Static WebP)
 * ========================================================================= */
.pricing-bg-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; /* Spans the entire height of the pricing section */
  z-index: 0;   /* Sits safely underneath your pricing cards */
  pointer-events: none;
  overflow: hidden;
  
  /* Blends the image edges smoothly into the top and bottom of the section bg */
  mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
}

.pricing-bg-image {
  width: 100%;
  height: 100%;
  object-fit: contain;         /* Forces the image to cover the area perfectly */
  object-position: top center; /* Pins it to the top center exactly as requested */
  opacity: 1;             /* Keeps it dark and subtle so your text remains hyper-readable */
  mix-blend-mode: screen;    /* Melts the deep values into the OLED black background */
}


.pricing-card {
  transition: transform 0.4s var(--ease-spring), opacity 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease !important;
  background: rgba(255, 255, 255, 0.015);
  backdrop-filter: blur(12px);
  position: relative;
  z-index: 10;
}

/* Sibling Hover Effect - Dims other cards when one is hovered */
#pricing-grid:hover .pricing-card:not(:hover) {
  opacity: 0.35;
  filter: blur(1px) grayscale(20%);
  transform: scale(0.97) !important;
}

/* Standard Hover Elevation and Tilt */
.pricing-card:hover {
  transform: translateY(-10px) scale(1.025) !important;
  background: rgba(255, 255, 255, 0.025);
  border-color: rgba(255, 255, 255, 0.15) !important;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.85) !important;
  z-index: 20;
}

/* Pro Card Custom Glow styles */
.pricing-card--pro {
  border-color: rgba(241, 73, 10, 0.3) !important;
  box-shadow:
    0 0 1px 1px rgba(241, 73, 10, 0.18),
    0 12px 40px -10px rgba(0, 0, 0, 0.6) !important;
}

/* Pro Card Hover overrides */
.pricing-card--pro:hover {
  border-color: rgba(241, 73, 10, 0.75) !important;
  box-shadow:
    0 0 1px 2px rgba(241, 73, 10, 0.3),
    0 0 40px -5px rgba(241, 73, 10, 0.45),
    0 0 80px -10px rgba(241, 73, 10, 0.15),
    0 25px 60px -10px rgba(0, 0, 0, 0.9) !important;
}

/* Button overrides and styling */
.pricing-btn-primary {
  transition: transform 0.3s var(--ease-spring), background-color 0.3s ease, box-shadow 0.3s ease !important;
  display: block;
  width: 100%;
}

.pricing-btn-primary:hover,
.pricing-card:hover .pricing-btn-primary {
  transform: translateY(-2px) scale(1.03) !important;
  background-color: var(--brand-hover) !important;
  box-shadow:
    0 0 25px rgba(241, 73, 10, 0.6),
    0 4px 20px rgba(241, 73, 10, 0.4) !important;
}

.pricing-btn-secondary {
  transition: transform 0.3s var(--ease-spring), border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease !important;
  display: block;
  width: 100%;
}

.pricing-btn-secondary:hover,
.pricing-card:hover .pricing-btn-secondary {
  transform: translateY(-2px) scale(1.02) !important;
  border-color: var(--brand-orange) !important;
  background-color: rgba(241, 73, 10, 0.06) !important;
  color: #ffffff !important;
  box-shadow: 0 0 20px rgba(241, 73, 10, 0.25) !important;
}


/* =========================================================================
 * 22. SCROLL-SCALING VIDEO SHOWCASE SECTION (Timeline-Integrated)
 * ========================================================================= */
.hiw-step--center {
  background: transparent !important;
  --target-width: 60vw;
  --target-height: 33.75vw;
  /* 60 * 9/16 */
  --target-border-radius: 24px;
  width: 100vw !important;
  max-width: 100vw !important;
  height: 100vh !important;
  position: relative;
  left: 50% !important;
  right: 50% !important;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding: 0 !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
}

/* FIX: Force the massive video container to ONLY show on Desktop */
@media (min-width: 769px) {
  .hiw-step--center {
    display: flex !important;
  }
}

/* FIX: Guarantee the massive video container HIDES on Mobile */
@media (max-width: 768px) {
  .hiw-step--center {
    display: none !important;
  }
}

.hiw-step--center .hiw-img-block {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  max-width: none !important;
}

.hiw-video-trigger {
  will-change: width, height, border-radius, border-color, box-shadow;
  background: var(--oled-bg) !important;
  max-width: 100%;
  max-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer !important;
  aspect-ratio: 16/9 !important;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.hiw-video-trigger img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.6s var(--ease-spring), opacity 0.6s ease !important;
}

.hiw-video-trigger:hover img {
  opacity: 0.75 !important;
}

.hiw-video-trigger:hover {
  border-color: rgba(241, 73, 10, 0.8) !important;
  box-shadow:
    0 0 1px 1.5px rgba(241, 73, 10, 0.4),
    0 0 45px -2px rgba(241, 73, 10, 0.5),
    0 20px 60px rgba(0, 0, 0, 0.9) !important;
}

/* Extra powerful active glow for the showcase video box */
.hiw-video-trigger.hiw-glow-active {
  border-color: rgba(241, 73, 10, 0.7) !important;
  box-shadow:
    0 0 1px 1px rgba(241, 73, 10, 0.3),
    0 0 50px -5px rgba(241, 73, 10, 0.6),
    0 0 100px -10px rgba(241, 73, 10, 0.25),
    0 25px 70px rgba(0, 0, 0, 0.95) !important;
}

/* =========================================================================
 * 23. MORE OF OUR FEATURES (STACKED CARDS SECTION)
 * ========================================================================= */

/* Mobile video thumbnail — hidden on desktop, shown only on mobile (via media query) */
.hiw-video-mobile-thumbnail {
  display: none;
}

#more-features {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 0 6rem 0;
  /* Reduced top padding */
}

.stacked-cards-container {
  position: relative;
  width: 100%;
  margin-top: 2rem;
}

.stacked-card-wrapper {
  width: 100%;
  will-change: transform;
}

/* Card 1 is relative to establish container size */
.stacked-card-wrapper:first-child {
  position: relative;
  z-index: 1;
}

/* Cards 2, 3, 4 are absolute, positioned directly on top of Card 1 */
.stacked-card-wrapper:nth-child(2) {
  z-index: 2;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  opacity: 0;
}

.stacked-card-wrapper:nth-child(3) {
  z-index: 3;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  opacity: 0;
}

.stacked-card-wrapper:nth-child(4) {
  z-index: 4;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  opacity: 0;
}

.stacked-card {
  width: 100%;
  height: 100%;
  min-height: 480px;
  /* Big card size */
  background: rgba(13, 5, 2, 0.92) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 2.5rem !important;
  backdrop-filter: blur(24px) saturate(130%);
  -webkit-backdrop-filter: blur(24px) saturate(130%);
  box-shadow:
    inset 0 1px 1px 0 rgba(255, 255, 255, 0.05),
    0 20px 50px rgba(0, 0, 0, 0.75) !important;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.stacked-card:hover {
  border-color: rgba(241, 73, 10, 0.45) !important;
  box-shadow:
    inset 0 1px 1px 0 rgba(255, 255, 255, 0.1),
    0 0 25px rgba(241, 73, 10, 0.15),
    0 25px 60px rgba(0, 0, 0, 0.8) !important;
}

@media (max-width: 768px) {
  #more-features {
    min-height: auto;
    padding: 4rem 0;
  }

  .stacked-card-wrapper:nth-child(2),
  .stacked-card-wrapper:nth-child(3),
  .stacked-card-wrapper:nth-child(4) {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    height: auto !important;
    transform: none !important;
    opacity: 1 !important;
    margin-top: 1.5rem;
  }

  .stacked-cards-container {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
}

/* =========================================================================
 * 24. TESTIMONIALS SECTION
 * ========================================================================= */
#testimonials {
  position: relative;
  z-index: 10;
  background-color: #0D0502;
}

.testimonials-badge-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonials-marquee-container {
  mask-image: linear-gradient(to right, transparent, #000 15%, #000 85%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 15%, #000 85%, transparent);
}

.testimonials-track {
  display: flex;
  gap: 1.5rem;
  /* 24px */
  padding: 1.5rem 0;
}

.testimonials-card {
  background: rgba(19, 9, 6, 0.6) !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  box-shadow:
    inset 0 1px 1px 0 rgba(255, 255, 255, 0.03),
    0 15px 35px rgba(0, 0, 0, 0.6) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: transform 0.4s var(--ease-spring), border-color 0.3s ease, box-shadow 0.3s ease;
}

.testimonials-card:hover {
  transform: translateY(-4px) scale(1.015);
  border-color: rgba(241, 73, 10, 0.4) !important;
  box-shadow:
    inset 0 1px 1px 0 rgba(255, 255, 255, 0.08),
    0 0 25px rgba(241, 73, 10, 0.15),
    0 20px 45px rgba(0, 0, 0, 0.8) !important;
}

.quote-icon-container {
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease;
  box-shadow: 0 4px 12px rgba(241, 73, 10, 0.1);
}

.testimonials-card:hover .quote-icon-container {
  transform: scale(1.1) rotate(-8deg);
  box-shadow: 0 6px 20px rgba(241, 73, 10, 0.35);
  border-color: rgba(241, 73, 10, 0.6) !important;
}

.testimonials-card p {
  font-family: var(--font-secondary) !important;
  color: #d1d5db;
}

.testimonials-card img {
  border-color: rgba(255, 255, 255, 0.08);
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.testimonials-card:hover img {
  border-color: rgba(241, 73, 10, 0.4);
  transform: scale(1.05);
}

/* =========================================================================
 * 25. SECTION HEADERS & ENTRY REVEALS
 * ========================================================================= */
.section-header-wrap {
  position: relative;
  z-index: 5;
}

.section-badge-wrap {
  user-select: none;
}

.badge-wire {
  width: 32px;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .badge-wire {
    width: 48px;
  }
}

.badge-dot {
  flex-shrink: 0;
}

.section-badge {
  flex-shrink: 0;
}

/* Spans for text writing reveal */
.reveal-char {
  display: inline-block;
  will-change: transform, opacity;
}

/* =========================================================================
 * 26. REDESIGNED FAQ ACCORDION
 * ========================================================================= */
.faq-item {
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 2rem;
  padding: 1.5rem;
  transition: background-color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s var(--ease-spring);
}

.faq-item:hover {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.faq-item.faq-active {
  background: rgba(30, 12, 5, 0.4);
  border-color: rgba(241, 73, 10, 0.4);
  box-shadow: 0 12px 40px rgba(241, 73, 10, 0.08), 0 0 25px rgba(241, 73, 10, 0.08);
}

.faq-number {
  width: 2rem;
  height: 2rem;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--slate-body);
  transition: background-color 0.4s ease, border-color 0.4s ease, color 0.4s ease;
  flex-shrink: 0;
}

.faq-item.faq-active .faq-number {
  background: rgba(241, 73, 10, 0.15);
  border-color: rgba(241, 73, 10, 0.3);
  color: var(--brand-orange);
}

.faq-question {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--slate-heading);
  transition: color 0.3s ease;
}

.faq-toggle-btn {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 99px;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.4s ease, border-color 0.4s ease, color 0.4s ease, transform 0.4s var(--ease-spring);
  flex-shrink: 0;
}

.faq-toggle-btn .faq-icon {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--slate-heading);
  transition: transform 0.4s var(--ease-spring), color 0.4s ease;
  line-height: 1;
}

.faq-item.faq-active .faq-toggle-btn {
  background: #ffffff;
  border-color: #ffffff;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.15);
}

.faq-item.faq-active .faq-toggle-btn .faq-icon {
  color: #000000;
}

.faq-answer {
  height: 0;
  overflow: hidden;
}

/* =========================================================================
 * 27. RESPONSIVE HAMBURGER & MOBILE MENU DRAWER
 * ========================================================================= */
.hamburger-btn {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 20px;
  height: 14px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 50;
  position: relative;
}

.hamburger-line {
  width: 100%;
  height: 2px;
  background-color: var(--slate-heading);
  border-radius: 99px;
  transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
}

/* Hamburger transition to close icon (cross) */
.hamburger-btn.is-active .hamburger-line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.hamburger-btn.is-active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger-btn.is-active .hamburger-line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Drawer overlay styles */
.mobile-menu-drawer {
  position: fixed;
  inset: 0;
  background: rgba(13, 5, 2, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.mobile-menu-drawer.is-active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu-inner {
  width: 100%;
  max-width: 320px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  text-align: center;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-nav-link {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--slate-body);
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
  display: block;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--brand-orange);
  transform: scale(1.05);
}

.mobile-signin {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--slate-body);
  text-decoration: none;
  transition: color 0.3s ease;
}

.mobile-cta-btn {
  padding: 0.8rem 1.5rem;
  background: linear-gradient(135deg, var(--brand-orange) 0%, var(--brand-amber) 100%);
  border-radius: 99px;
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(241, 73, 10, 0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mobile-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(241, 73, 10, 0.45);
}

/* =========================================================================
 * 28. GLOBAL RESPONSIVE SPACING (PADDING & MARGIN REWORK)
 * ========================================================================= */
@media (max-width: 768px) {

  /* Reduce excessive section vertical padding */
  section {
    padding-top: 3.5rem !important;
    padding-bottom: 3.5rem !important;
  }

  /* Keep hero section spacing healthy but optimized for mobile */
  #hero-section {
    padding-top: 6rem !important;
    padding-bottom: 4rem !important;
    min-height: auto !important;
  }

  .pxl-item--logo img {
    border-radius: 20px !important;
  }

  #dashboard-mockup {
    padding: 1rem 0.25rem !important;
  }

  /* Refine container horizontal paddings */
  .container,
  .max-w-7xl,
  .max-w-6xl,
  .max-w-5xl,
  .max-w-4xl,
  .max-w-3xl {
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
  }

  /* Hero text container scaling */
  .hero-text-container {
    padding: 0 1rem !important;
    gap: 1.25rem !important;
    margin-top: 0 !important;
  }

  /* Scale down massive font sizes on mobile for elegant typography */
  .hero-headline {
    font-size: 2.25rem !important;
    line-height: 1.2 !important;
    letter-spacing: -0.03em !important;
  }

  .hero-subheadline {
    font-size: 1rem !important;
    line-height: 1.5 !important;
  }

  .section-title {
    font-size: 1.85rem !important;
    line-height: 1.25 !important;
  }

  .section-desc {
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
    margin-bottom: 2rem !important;
  }

  /* Bento grid spacing adjustments */
  .grid {
    gap: 1rem !important;
  }

  /* Bento card internal padding reduction */
  .glass-panel,
  .pricing-card,
  .faq-item {
    padding: 1.25rem !important;
  }

  /* Pricing cards spacing */
  .pricing-card {
    margin-bottom: 1rem;
  }

  /* Adjust marquee height */
  .testimonials-marquee-container {
    padding: 1rem 0 !important;
  }

  /* Adjust gap between sections */
  .section-header-wrap {
    margin-bottom: 2.5rem !important;
  }

}

@media (max-width: 1049px) {

  /* Add background, border and backdrop blur to mobile nav */
  #main-nav {
    background: rgba(13, 5, 2, 0.85) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border-bottom: 1px solid rgba(241, 73, 10, 0.1) !important;
    padding: 0.5rem 1.25rem !important;
    height: 60px !important;
  }

  .nav-pill-wrap {
    display: none !important;
  }

  .nav-inner {
    padding: 0 !important;
    height: 100% !important;
  }
}


/* =========================================================================
 * GLOBAL SEAMLESS UPGRADES (Aurora Background & Border Removal)
 * ========================================================================= */
/* Strip hard borders and solid backgrounds from all sections */
section,
.section-below {
  border-top: none !important;
  background: transparent !important;
  background-color: transparent !important;
}

/* The continuous ambient background that bridges sections */
.global-ambient-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  background: #0D0502;
  /* The OLED black base */
}

/* The continuous ambient background that bridges sections */
.global-ambient-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  background: #090302;
  /* Deepened the black base slightly */
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(160px);
  /* Increased blur for a softer bleed */
  opacity: 0.035;
  /* DRASTICALLY reduced from 0.12 to restore the dark theme */
  animation: floatOrb 30s infinite alternate ease-in-out;
  transform: translate3d(0, 0, 0);
}

/* Primary Orange Orb */
.orb-1 {
  width: 60vw;
  height: 60vw;
  background: var(--brand-orange);
  top: -10%;
  left: -10%;
}

/* Warm Amber Orb */
.orb-2 {
  width: 50vw;
  height: 50vw;
  background: var(--brand-amber);
  bottom: -10%;
  right: -10%;
  animation-delay: -7s;
  animation-duration: 28s;
}

/* Deep Red/Crimson Orb to add depth */
.orb-3 {
  width: 70vw;
  height: 70vw;
  background: #ff2a00;
  top: 30%;
  left: 20%;
  animation-delay: -12s;
  animation-duration: 32s;
  opacity: 0.02;
  /* Barely visible, just adds warmth */
}

@keyframes floatOrb {
  0% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(8%, 12%) scale(1.05);
  }

  100% {
    transform: translate(-5%, 8%) scale(1.1);
  }
}

/* =========================================================================
 * INTERACTIVE CARD SPOTLIGHTS
 * ========================================================================= */
.glass-panel,
.pricing-card,
.stacked-card,
.hiw-img-placeholder {
  position: relative;
}

/* The spotlight overlay that tracks the cursor */
.glass-panel::after,
.pricing-card::after,
.stacked-card::after,
.hiw-img-placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  /* Uses CSS variables updated by Javascript */
  background: radial-gradient(600px circle at var(--mouse-x, -500px) var(--mouse-y, -500px),
      rgba(241, 73, 10, 0.08),
      transparent 40%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 10;
}

.glass-panel:hover::after,
.pricing-card:hover::after,
.stacked-card:hover::after,
.hiw-img-placeholder:hover::after {
  opacity: 1;
}

/* =========================================================================
 * THE FINAL POLISH (Texture, Typography & Micro-Choreography)
 * ========================================================================= */

/* 1. Tactile Film Grain Overlay (Pure CSS Base64 SVG) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.04;
  /* Ultra-subtle, just enough to catch the blur filters */
  mix-blend-mode: overlay;
}

/* 2. Violent Typographic Contrast */
/* Squeeze the large headers tightly together */
.hero-headline,
.section-title,
h1,
h2,
h3 {
  letter-spacing: -0.04em !important;
}

/* Stretch the tiny utility badges wide open */
.section-badge,
.hiw-eyebrow,
.hiw-step-label,
.stat-label {
  letter-spacing: 0.28em !important;
}

/* 3. Micro-Choreography (Internal Card Hover States) */
/* Targets the icons inside the bento boxes and feature cards */
.glass-panel .node-icon,
.glass-panel .w-10.h-10,
.glass-panel .w-16.h-16 {
  transition: transform 0.5s cubic-bezier(0.32, 0.72, 0, 1), background-color 0.3s, color 0.3s !important;
}

/* When the user hovers the card, the icon inside scales and twists slightly */
.glass-panel:hover .w-10.h-10,
.glass-panel:hover .w-16.h-16 {
  transform: scale(1.15) rotate(-5deg);
}

/* Make paragraph text slightly brighter when the user's mouse is over the card */
.glass-panel p {
  transition: color 0.4s ease;
}

.glass-panel:hover p {
  color: rgba(255, 255, 255, 0.95);
}


/* =========================================================================
 * BRAND PATTERN BACKGROUND (Static WebP)
 * ========================================================================= */
.brand-pattern-wrap {
  position: absolute;
  top: -5rem; /* Lifts it slightly into the top of the section */
  left: 0;
  width: 100%;
  height: 900px; /* Limits how far down the section the image reaches */
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  
  /* Creates a smooth fade-out around the edges of the image so it blends into the black */
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 30%, transparent 80%);
}

.brand-pattern-image {
  width: 100%;
  height: 100%;
  object-fit: cover;         /* Forces the image to cover the area without distortion */
  object-position: top center; /* Pins the image to the top middle */
  opacity: 1;             /* Dims the image into a subtle watermark */
  mix-blend-mode: screen;    /* Blends the orange perfectly into the OLED dark background */
}

/* ── Sourcing Integration Wire Diagram Styles ────────────────────────── */
@keyframes wire-flow-left {
  from {
    stroke-dashoffset: 40;
  }

  to {
    stroke-dashoffset: 0;
  }
}

@keyframes wire-flow-right {
  from {
    stroke-dashoffset: 0;
  }

  to {
    stroke-dashoffset: 40;
  }
}

.wire-active-left {
  stroke-dasharray: 6, 8;
  animation: wire-flow-left 1.5s linear infinite;
  stroke: rgba(241, 73, 10, 0.45);
}

.wire-active-right {
  stroke-dasharray: 8, 12;
  animation: wire-flow-right 2s linear infinite;
}

/* =========================================================================
 * FOOTER CONTACT ICON PILL
 * ========================================================================= */
.footer-contact-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

/* =========================================================================
 * FOOTER SVG STROKE BRAND WORDMARK
 * ========================================================================= */

/* Outer container — relative so divider can be positioned precisely */
.footer-brand-container {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Clip the SVG wrapper to exactly 70% of its height, hiding the descenders */
.footer-cut-text-wrapper {
  width: 100%;
  clip-path: polygon(0% 0%, 100% 0%, 100% 70%, 0% 70%);
  overflow: hidden;
}

/* SVG stroke text: orange brand stroke, matching hero divider line */
.footer-stroke-text {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 158px;
  letter-spacing: -0.04em;
  /* fill handled by SVG attribute url(#footer-text-grad) */
  stroke: #f1490a;
  stroke-width: 0.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  /* -3000 = right-to-left reveal; GSAP animates to 0 */
  stroke-dasharray: 3000;
  stroke-dashoffset: -3000;
  filter:
    drop-shadow(0 0 4px rgba(241, 73, 10, 0.30))
    drop-shadow(0 0 16px rgba(241, 73, 10, 0.10));
  transition: filter 0.4s ease;
}

/* Glowing divider at the 70% cut boundary — brand orange, matching hero section line */
.footer-cutting-divider {
  position: absolute;
  top: 70%;
  left: 0%;
  right: 0%;
  height: 1px;
  background: linear-gradient(to right, transparent, #f1490a 20%, #f1490a 80%, transparent);
  box-shadow:
    0 0 6px rgba(241, 73, 10, 0.6),
    0 0 18px rgba(241, 73, 10, 0.25),
    0 0 40px rgba(241, 73, 10, 0.10);
  /* Starting state: invisible and collapsed — GSAP animates */
  transform: translateY(-50%) scaleX(0);
  transform-origin: center;
  opacity: 0;
}

/* =========================================================================
 * SOURSHIP UTILITY & SVG FIXES (Crucial for Local Environments)
 * ========================================================================= */

/* 1. Force Extracted SVGs to Obey Container Bounds */
/* Stops massive vector explosions in the Sourcing Hub */
object[data*="wireframe"],
img[src*="wireframe"],
.pxl-image-transform img {
  max-width: 100%;
  height: auto;
}
.wireframe-desktop { width: 100%; height: 100%; max-height: 320px; }
.wireframe-mobile { width: 100%; height: 440px; }


/* 2. Compiled Tailwind Structure (Rescues Layout Without CDN) */
.hidden { display: none; }
.block { display: block; }
.inline { display: inline; }
.inline-block { display: inline-block; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.grid { display: grid; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-start { justify-content: flex-start; }
.justify-end { justify-content: flex-end; }
.flex-wrap { flex-wrap: wrap; }
.shrink-0 { flex-shrink: 0; }
.flex-1 { flex: 1 1 0%; }

/* Grid Core */
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (min-width: 640px) {
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sm\:flex-row { flex-direction: row; }
  .sm\:w-auto { width: auto; }
}
@media (min-width: 768px) {
  .md\:block { display: block; }
  .md\:hidden { display: none; }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .md\:col-span-12 { grid-column: span 12 / span 12; }
  .md\:col-span-8 { grid-column: span 8 / span 8; }
  .md\:col-span-7 { grid-column: span 7 / span 7; }
  .md\:col-span-5 { grid-column: span 5 / span 5; }
  .md\:col-span-4 { grid-column: span 4 / span 4; }
}
@media (min-width: 1024px) {
  .lg\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .lg\:col-span-5 { grid-column: span 5 / span 5; }
  .lg\:col-span-6 { grid-column: span 6 / span 6; }
  .lg\:col-span-7 { grid-column: span 7 / span 7; }
  .lg\:text-left { text-align: left; }
  .lg\:justify-start { justify-content: flex-start; }
  .lg\:justify-end { justify-content: flex-end; }
  .lg\:order-1 { order: 1; }
  .lg\:order-2 { order: 2; }
}

/* Spacing Engine */
.gap-1\.5 { gap: 0.375rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.gap-16 { gap: 4rem; }
.w-full { width: 100%; }
.h-full { height: 100%; }
.max-w-7xl { max-width: 80rem; }
.max-w-6xl { max-width: 72rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-xl { max-width: 36rem; }
.max-w-sm { max-width: 24rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.w-fit { width: fit-content; }
.w-max { width: max-content; }

/* Structural Z-Indexing */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.top-0 { top: 0; }
.bottom-0 { bottom: 0; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-30 { z-index: 30; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }

/* Backgrounds & Text */
.bg-black\/20 { background-color: rgba(0,0,0,0.2); }
.bg-black\/40 { background-color: rgba(0,0,0,0.4); }
.bg-black\/45 { background-color: rgba(0,0,0,0.45); }
.bg-black\/60 { background-color: rgba(0,0,0,0.6); }
.bg-black\/80 { background-color: rgba(0,0,0,0.8); }
.bg-black\/90 { background-color: rgba(0,0,0,0.9); }
.text-center { text-align: center; }
.text-left { text-align: left; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Effects */
.opacity-0 { opacity: 0; }
.opacity-20 { opacity: 0.2; }
.opacity-40 { opacity: 0.4; }
.opacity-60 { opacity: 0.6; }
.opacity-75 { opacity: 0.75; }
.opacity-100 { opacity: 1; }
.transition-all { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 300ms; }
.transition-colors { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-transform { transition-property: transform; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-opacity { transition-property: opacity; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }