/*
Theme Name: Intelligize Digital
Theme URI: https://intelligizedigital.com
Author: Intelligize Digital
Author URI: https://intelligizedigital.com
Description: Premium FSE block theme — Web Development, Ecommerce, AI Automation & ERP Integrations.
Version: 3.0.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: intelligize-digital
Tags: full-site-editing, block-patterns, custom-colors, custom-logo, wide-blocks, dark-mode
*/

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --fx-black: #030303;
  --fx-surface: #0A0A0A;
  --fx-surface2: #111111;
  --fx-surface3: #171717;
  --fx-glass: rgba(255, 255, 255, 0.03);
  --fx-accent: #FF3B00;
  --fx-accent-glow: rgba(255, 59, 0, 0.18);
  --fx-accent2: #FFD700;
  --fx-lavender: #A6A4FF;
  --fx-white: #FFFFFF;
  --fx-offwhite: #D4D4D4;
  --fx-muted: #5C5C5C;
  --fx-muted2: #3A3A3A;
  --fx-border: rgba(255, 255, 255, 0.05);
  --fx-border2: rgba(255, 255, 255, 0.10);
  --fx-light-bg: #EAEAEA;
  --fx-light-text: #111111;

  --fx-font-display: 'Clash Display', 'Inter', sans-serif;
  --fx-font-body: 'Inter', system-ui, sans-serif;
  --fx-font-mono: 'JetBrains Mono', 'Courier New', monospace;

  --fx-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --fx-ease-in: cubic-bezier(0.55, 0, 1, 0.45);
  --fx-t: 0.3s var(--fx-ease);
  --fx-t-slow: 0.6s var(--fx-ease);
}

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

html {
  scroll-behavior: smooth;
  cursor: none;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--fx-black);
  color: var(--fx-offwhite);
  font-family: var(--fx-font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Grain texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='300' height='300'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='300' height='300' filter='url(%23n)' opacity='1'/></svg>");
  opacity: 0.022;
  pointer-events: none;
  z-index: 9998;
  animation: grainShift 8s steps(2) infinite;
}

@keyframes grainShift {
  0% {
    transform: translate(0, 0);
  }

  25% {
    transform: translate(-2%, -2%);
  }

  50% {
    transform: translate(2%, 1%);
  }

  75% {
    transform: translate(-1%, 2%);
  }

  100% {
    transform: translate(0, 0);
  }
}

img,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ============================================================
   CUSTOM CURSOR
   ============================================================ */
.fx-cursor {
  width: 8px;
  height: 8px;
  background: var(--fx-accent);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 2147483647;
  transform: translate(-50%, -50%);
  transition: width 0.2s var(--fx-ease),
    height 0.2s var(--fx-ease),
    background 0.2s ease,
    opacity 0.15s ease;
  will-change: transform;
}

.fx-cursor-ring {
  width: 38px;
  height: 38px;
  border: 1.5px solid rgba(255, 59, 0, 0.3);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 2147483646;
  transform: translate(-50%, -50%);
  transition: width 0.35s var(--fx-ease),
    height 0.35s var(--fx-ease),
    border-color 0.3s ease;
  will-change: transform;
}

.fx-cursor.is-hover {
  width: 44px;
  height: 44px;
  background: rgba(255, 59, 0, 0.06);
  border: 1.5px solid var(--fx-accent);
}

.fx-cursor-ring.is-hover {
  width: 44px;
  height: 44px;
  border-color: transparent;
}

.fx-cursor.is-video {
  width: 80px;
  height: 80px;
  background: rgba(255, 59, 0, 0.08);
  border: 1px solid rgba(255, 59, 0, 0.4);
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.fx-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

@media (max-width: 768px) {
  .fx-container {
    padding: 0 1.25rem;
  }
}

.fx-section {
  padding: 6rem 0;
  position: relative;
}

.fx-label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--fx-font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fx-accent);
  margin-bottom: 1.5rem;
}

.fx-label::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 1px;
  background: var(--fx-accent);
  flex-shrink: 0;
}

.fx-h1,
.fx-display {
  font-family: var(--fx-font-display);
  font-size: clamp(3rem, 7vw, 7rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--fx-white);
}

.fx-h2 {
  font-family: var(--fx-font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--fx-white);
}

.fx-h3 {
  font-family: var(--fx-font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--fx-white);
}

/* Scroll reveal base */
.fx-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s var(--fx-ease), transform 0.75s var(--fx-ease);
}

.fx-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.fx-reveal-delay-1 {
  transition-delay: 0.1s;
}

.fx-reveal-delay-2 {
  transition-delay: 0.2s;
}

.fx-reveal-delay-3 {
  transition-delay: 0.3s;
}

.fx-reveal-delay-4 {
  transition-delay: 0.4s;
}

/* ============================================================
   SITE HEADER / NAVBAR
   ============================================================ */
.fx-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(3, 3, 3, 0.9);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid var(--fx-border);
  padding: 1.6rem 0 1rem;
  transition: background 0.4s ease;
}

.fx-header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 2.25rem;
  max-width: 1400px;
  margin: 0 auto;
}

/* Logo */
.fx-logo {
  display: flex;
  align-items: baseline;
  gap: 0;
  text-decoration: none;
  cursor: none;
}

.fx-logo-wordmark {
  font-family: var(--fx-font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--fx-white);
  line-height: 1;
}

.fx-logo-sup {
  font-family: var(--fx-font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--fx-accent);
  vertical-align: super;
  line-height: 1;
  margin-left: 1px;
}

/* Center Nav */
.fx-nav {
  display: flex;
  align-items: flex-start;
  gap: 4rem;
}

.fx-nav-col {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.fx-nav-link {
  font-family: var(--fx-font-body);
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--fx-muted);
  text-decoration: none;
  letter-spacing: 0.01em;
  line-height: 1.4;
  transition: color 0.2s ease;
  cursor: none;
  white-space: nowrap;
}

.fx-nav-link:hover {
  color: var(--fx-white);
}

/* Right: Cart Icon */
.fx-header-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.fx-cart-btn {
  position: relative;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: none;
  background: none;
  border: none;
  padding: 0;
  color: var(--fx-offwhite);
  transition: color 0.2s ease;
}

.fx-cart-btn:hover {
  color: var(--fx-accent);
}

.fx-cart-count {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--fx-font-mono);
  font-size: 0.6rem;
  font-weight: 500;
  color: var(--fx-white);
  line-height: 1;
  z-index: 1;
  margin-top: 1px;
}

/* Mobile nav toggle */
.fx-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: none;
  background: none;
  border: none;
  padding: 8px;
  color: var(--fx-white);
}

.fx-mobile-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: currentColor;
  transition: var(--fx-t);
}

@media (max-width: 1024px) {
  .fx-nav {
    display: none;
  }

  .fx-mobile-toggle {
    display: flex;
  }

  .fx-header-inner {
    grid-template-columns: 1fr auto;
  }

  .fx-header-right {
    display: none;
  }
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.fx-hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--fx-black);
}

.fx-hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.fx-hero-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.65;
}

/* Dark gradient overlay over video */
.fx-hero-video-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(3, 3, 3, 0.7) 0%, rgba(3, 3, 3, 0.2) 50%, rgba(3, 3, 3, 0.8) 100%),
    linear-gradient(to right, rgba(3, 3, 3, 0.4) 0%, transparent 60%);
}

/* Top overlay text */
.fx-hero-top {
  position: absolute;
  top: 3.5rem;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 2;
  opacity: 0;
  animation: fxFadeSlideDown 0.8s var(--fx-ease) 0.3s forwards;
}

.fx-hero-brand {
  font-family: var(--fx-font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--fx-white);
  line-height: 0.95;
}

.fx-hero-brand sup {
  font-family: var(--fx-font-mono);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--fx-accent);
  vertical-align: super;
  letter-spacing: 0;
}

.fx-hero-tagline {
  font-family: var(--fx-font-display);
  font-size: clamp(2rem, 4.5vw, 4rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--fx-offwhite);
  line-height: 1.05;
  margin-top: 0.4rem;
}

/* Bottom CTA */
.fx-hero-bottom {
  position: absolute;
  bottom: 12%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 2;
  opacity: 0;
  animation: fxFadeSlideUp 0.8s var(--fx-ease) 0.6s forwards;
}

.fx-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--fx-font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  background: var(--fx-white);
  color: var(--fx-black);
  padding: 1rem 3.25rem;
  border-radius: 9999px;
  border: none;
  cursor: none;
  text-decoration: none;
  transition: transform 0.25s var(--fx-ease),
    box-shadow 0.25s ease,
    background 0.2s ease;
  white-space: nowrap;
}

.fx-btn-primary:hover {
  transform: scale(1.04) translateY(-2px);
  box-shadow: 0 20px 50px rgba(255, 255, 255, 0.12);
  background: var(--fx-offwhite);
  color: var(--fx-black);
}

.fx-hero-subtext {
  margin-top: 0.9rem;
  font-family: var(--fx-font-body);
  font-size: 0.82rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.38);
  letter-spacing: 0.04em;
}

/* Scroll indicator */
.fx-scroll-hint {
  position: absolute;
  bottom: 2rem;
  right: 2.5rem;
  z-index: 2;
  writing-mode: vertical-rl;
  font-family: var(--fx-font-mono);
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  color: var(--fx-muted);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  opacity: 0;
  animation: fxFadeIn 0.8s ease 1.2s forwards;
}

.fx-scroll-hint::after {
  content: '';
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--fx-accent), transparent);
  animation: scrollLineDrop 2s ease-in-out infinite;
}

@keyframes scrollLineDrop {
  0% {
    transform: scaleY(0);
    transform-origin: top;
    opacity: 0;
  }

  50% {
    transform: scaleY(1);
    opacity: 1;
  }

  100% {
    transform: scaleY(0);
    transform-origin: bottom;
    opacity: 0;
  }
}

/* Hero animations */
@keyframes fxFadeSlideDown {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

@keyframes fxFadeSlideUp {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

@keyframes fxFadeIn {
  to {
    opacity: 1;
  }
}

/* ============================================================
   MARQUEE BANNER
   ============================================================ */
.fx-marquee-section {
  background: var(--fx-lavender);
  overflow: hidden;
  padding: 0.9rem 0;
  position: relative;
  z-index: 1;
}

.fx-marquee-track {
  overflow: hidden;
  white-space: nowrap;
  display: flex;
}

.fx-marquee-inner {
  display: inline-flex;
  align-items: center;
  animation: fxMarqueeScroll 20s linear infinite;
  will-change: transform;
}

.fx-marquee-inner:hover {
  animation-play-state: paused;
}

@keyframes fxMarqueeScroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.fx-marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--fx-font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: #000000;
  padding: 0.15rem 3.75rem;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.fx-marquee-item::before {
  content: '✦';
  font-size: 0.65rem;
  color: #000;
  opacity: 0.5;
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.fx-services-section {
  background: var(--fx-black);
  padding: 7rem 0;
  overflow: hidden;
}

.fx-services-header {
  padding: 0 2.5rem;
  max-width: 1280px;
  margin: 0 auto 3.5rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
}

.fx-services-drag-hint {
  font-family: var(--fx-font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--fx-muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.fx-services-drag-hint::before {
  content: '←→';
  color: var(--fx-accent);
}

.fx-services-rail {
  display: flex;
  gap: 1px;
  padding: 0 2.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
  background: var(--fx-border);
  margin: 0 0 0 2.5rem;
}

.fx-services-rail::-webkit-scrollbar {
  display: none;
}

.fx-services-rail:active {
  cursor: grabbing;
}

.fx-service-card {
  flex: 0 0 320px;
  background: var(--fx-surface);
  padding: 2.5rem 2.25rem;
  scroll-snap-align: start;
  position: relative;
  overflow: hidden;
  transition: background 0.3s ease;
  cursor: none;
}

.fx-service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--fx-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--fx-ease);
}

.fx-service-card:hover {
  background: var(--fx-surface2);
}

.fx-service-card:hover::before {
  transform: scaleX(1);
}

.fx-service-num {
  font-family: var(--fx-font-mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--fx-muted);
  margin-bottom: 1.75rem;
  display: block;
}

.fx-service-icon {
  width: 48px;
  height: 48px;
  border: 1px solid var(--fx-border2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: border-color 0.2s ease, background 0.2s ease;
  color: var(--fx-muted);
}

.fx-service-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fx-service-card:hover .fx-service-icon {
  border-color: var(--fx-accent);
  background: var(--fx-accent-glow);
  color: var(--fx-accent);
}

.fx-service-title {
  font-family: var(--fx-font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--fx-white);
  margin-bottom: 0.65rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.fx-service-desc {
  font-size: 0.875rem;
  color: var(--fx-muted);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.fx-service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--fx-font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--fx-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.2s ease;
  cursor: none;
}

.fx-service-link:hover {
  color: var(--fx-accent);
}

.fx-service-link::after {
  content: '→';
  font-size: 0.9rem;
  transition: transform 0.2s ease;
}

.fx-service-link:hover::after {
  transform: translateX(4px);
}

/* ============================================================
   TECH STACK / PARTNER LOGOS
   ============================================================ */
.fx-tech-section {
  background: var(--fx-surface);
  border-top: 1px solid var(--fx-border);
  border-bottom: 1px solid var(--fx-border);
  padding: 4.5rem 0;
}

.fx-tech-header {
  text-align: center;
  margin-bottom: 3rem;
}

.fx-tech-rows {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  overflow: hidden;
}

.fx-tech-row {
  overflow: hidden;
  white-space: nowrap;
}

.fx-tech-row-inner {
  display: inline-flex;
  align-items: center;
  gap: 0;
  will-change: transform;
}

.fx-tech-row-inner.row-fwd {
  animation: fxTechFwd 40s linear infinite;
}

.fx-tech-row-inner.row-rev {
  animation: fxTechRev 35s linear infinite;
}

@keyframes fxTechFwd {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes fxTechRev {
  from {
    transform: translateX(-50%);
  }

  to {
    transform: translateX(0);
  }
}

.fx-tech-row-inner:hover {
  animation-play-state: paused;
}

.fx-tech-item {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  padding: 1.5rem 2.25rem;
  text-decoration: none;
  cursor: none;
  border-right: 1px solid var(--fx-border);
  transition: background 0.2s ease;
  flex-shrink: 0;
}

.fx-tech-item:hover {
  background: var(--fx-surface2);
}

.fx-tech-logo-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: grayscale(1) brightness(1.6);
  opacity: 0.45;
  transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s var(--fx-ease);
}

.fx-tech-item:hover .fx-tech-logo-img {
  filter: grayscale(0) brightness(1);
  opacity: 1;
  transform: translateY(-3px);
}

.fx-tech-label {
  font-family: var(--fx-font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--fx-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.fx-tech-item:hover .fx-tech-label {
  color: var(--fx-accent);
}

/* ============================================================
   SHIPPING / PROOF SECTION
   ============================================================ */
.fx-shipping-section {
  background: var(--fx-light-bg);
  border-radius: 0 0 40px 40px;
  position: relative;
  overflow: hidden;
  padding: 4rem 0 8rem;
}

.fx-shipping-top {
  text-align: center;
  padding-top: 4rem;
  margin-bottom: -1rem;
}

.fx-shipping-brand {
  font-family: var(--fx-font-display);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--fx-light-text);
}

.fx-shipping-brand sup {
  font-family: var(--fx-font-mono);
  font-size: 0.6rem;
  font-weight: 500;
  color: var(--fx-accent);
  vertical-align: super;
}

.fx-shipping-heading {
  font-family: var(--fx-font-display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--fx-light-text);
  line-height: 1.0;
  margin-top: 0.5rem;
}

.fx-shipping-video-wrap {
  margin: -6rem auto -6rem;
  width: 100%;
  max-width: 800px;
  position: relative;
  z-index: 1;
}

.fx-shipping-video-wrap video {
  width: 100%;
  height: auto;
  border-radius: 16px;
  object-fit: contain;
  display: block;
}

.fx-shipping-cta {
  text-align: center;
  padding-top: 2rem;
  position: relative;
  z-index: 2;
}

.fx-btn-dark {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--fx-font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  background: var(--fx-black);
  color: var(--fx-white);
  padding: 0.85rem 3.5rem;
  border-radius: 9999px;
  border: none;
  cursor: none;
  text-decoration: none;
  transition: transform 0.25s var(--fx-ease), box-shadow 0.25s ease;
}

.fx-btn-dark:hover {
  transform: scale(1.04) translateY(-2px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.fx-shipping-explore {
  display: block;
  margin-top: 0.9rem;
  font-size: 1.1rem;
  font-weight: 450;
  color: var(--fx-light-text);
  letter-spacing: -0.01em;
}

/* ============================================================
   STATS COUNTER SECTION
   ============================================================ */
.fx-stats-section {
  background: var(--fx-black);
  border-top: 1px solid var(--fx-border);
  border-bottom: 1px solid var(--fx-border);
}

.fx-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.fx-stat-item {
  padding: 4rem 2.5rem;
  border-right: 1px solid var(--fx-border);
  position: relative;
  overflow: hidden;
}

.fx-stat-item:last-child {
  border-right: none;
}

.fx-stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--fx-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.7s var(--fx-ease);
}

.fx-stats-section.is-visible .fx-stat-item::before {
  transform: scaleX(1);
}

.fx-stats-section.is-visible .fx-stat-item:nth-child(2)::before {
  transition-delay: 0.15s;
}

.fx-stats-section.is-visible .fx-stat-item:nth-child(3)::before {
  transition-delay: 0.3s;
}

.fx-stats-section.is-visible .fx-stat-item:nth-child(4)::before {
  transition-delay: 0.45s;
}

.fx-stat-number {
  font-family: var(--fx-font-display);
  font-size: clamp(2.5rem, 4.5vw, 4rem);
  font-weight: 700;
  color: var(--fx-white);
  letter-spacing: -0.05em;
  line-height: 1;
  display: block;
  margin-bottom: 0.6rem;
}

.fx-stat-number .fx-accent {
  color: var(--fx-accent);
}

.fx-stat-label {
  font-family: var(--fx-font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--fx-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .fx-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .fx-stat-item:nth-child(2) {
    border-right: none;
  }

  .fx-stat-item:nth-child(3),
  .fx-stat-item:nth-child(4) {
    border-top: 1px solid var(--fx-border);
  }
}

/* ============================================================
   PROCESS SECTION
   ============================================================ */
.fx-process-section {
  background: var(--fx-surface);
  padding: 7rem 0;
}

.fx-process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  margin-top: 4rem;
}

.fx-process-grid::before {
  content: '';
  position: absolute;
  top: 1.6rem;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(to right, var(--fx-accent), rgba(255, 59, 0, 0.1));
  z-index: 0;
}

.fx-process-step {
  padding: 0 2rem 2rem;
  position: relative;
  z-index: 1;
  transition: background 0.3s ease;
}

.fx-process-step-num {
  font-family: var(--fx-font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--fx-accent);
  letter-spacing: 0.15em;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.fx-process-step-num::before {
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--fx-accent);
  background: var(--fx-surface);
  flex-shrink: 0;
  box-shadow: 0 0 0 4px rgba(255, 59, 0, 0.1);
}

.fx-process-step-title {
  font-family: var(--fx-font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--fx-white);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.fx-process-step-desc {
  font-size: 0.875rem;
  color: var(--fx-muted);
  line-height: 1.65;
}

@media (max-width: 768px) {
  .fx-process-grid {
    grid-template-columns: 1fr;
  }

  .fx-process-grid::before {
    display: none;
  }

  .fx-process-step {
    padding: 2rem;
    border-bottom: 1px solid var(--fx-border);
  }
}

/* ============================================================
   N8N SPOTLIGHT SECTION
   ============================================================ */
.fx-n8n-section {
  background: var(--fx-black);
  padding: 7rem 0;
  position: relative;
  overflow: hidden;
}

.fx-n8n-section::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -15%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(255, 59, 0, 0.04) 0%, transparent 65%);
  pointer-events: none;
}

.fx-n8n-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

.fx-n8n-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--fx-surface2);
  border: 1px solid var(--fx-border2);
  border-radius: 9999px;
  padding: 0.35rem 1rem 0.35rem 0.5rem;
  font-family: var(--fx-font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--fx-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
}

.fx-n8n-badge .badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #FF6D00;
  box-shadow: 0 0 8px #FF6D00;
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {

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

  50% {
    opacity: 0.6;
    transform: scale(0.85);
  }
}

.fx-n8n-features {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.fx-n8n-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--fx-offwhite);
  line-height: 1.5;
}

.fx-n8n-feature::before {
  content: '✓';
  font-family: var(--fx-font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--fx-accent);
  flex-shrink: 0;
  margin-top: 0.15rem;
  width: 18px;
  height: 18px;
  background: var(--fx-accent-glow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fx-n8n-visual {
  position: relative;
}

/* N8N animated workflow diagram */
.fx-workflow-diagram {
  background: var(--fx-surface);
  border: 1px solid var(--fx-border2);
  border-radius: 16px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  min-height: 280px;
}

.fx-workflow-diagram::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 59, 0, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 59, 0, 0.02) 1px, transparent 1px);
  background-size: 32px 32px;
}

.fx-wf-nodes {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
  gap: 1rem;
}

.fx-wf-node {
  background: var(--fx-surface2);
  border: 1px solid var(--fx-border2);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-family: var(--fx-font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--fx-offwhite);
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  transition: border-color 0.3s ease;
  white-space: nowrap;
}

.fx-wf-node.is-active {
  border-color: var(--fx-accent);
  color: var(--fx-accent);
  animation: nodeActive 3s ease-in-out infinite;
}

@keyframes nodeActive {

  0%,
  100% {
    box-shadow: 0 0 0 0 var(--fx-accent-glow);
  }

  50% {
    box-shadow: 0 0 0 6px transparent;
  }
}

.fx-wf-node-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--fx-muted);
  flex-shrink: 0;
}

.fx-wf-node.is-active .fx-wf-node-dot {
  background: var(--fx-accent);
  animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {

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

  50% {
    transform: scale(1.4);
    opacity: 0.7;
  }
}

.fx-wf-connector {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, var(--fx-border2), var(--fx-accent), var(--fx-border2));
  position: relative;
  min-width: 20px;
}

.fx-wf-connector::after {
  content: '';
  position: absolute;
  top: -2px;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--fx-accent);
  animation: connectorFlow 2.5s linear infinite;
}

@keyframes connectorFlow {
  from {
    left: 0;
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  to {
    left: 100%;
    opacity: 0;
  }
}

@media (max-width: 1024px) {
  .fx-n8n-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* ============================================================
   TESTIMONIALS SECTION
   ============================================================ */
.fx-testimonials-section {
  background: var(--fx-surface);
  padding: 7rem 0;
  overflow: hidden;
}

.fx-testimonials-rail {
  display: flex;
  gap: 1.25rem;
  padding: 2rem 2.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
}

.fx-testimonials-rail::-webkit-scrollbar {
  display: none;
}

.fx-testimonials-rail:active {
  cursor: grabbing;
}

.fx-testimonial-card {
  flex: 0 0 380px;
  background: var(--fx-surface2);
  border: 1px solid var(--fx-border);
  border-radius: 16px;
  padding: 2.25rem;
  scroll-snap-align: start;
  position: relative;
  overflow: hidden;
}

.fx-testimonial-card::before {
  content: '"';
  position: absolute;
  top: -0.5rem;
  right: 1.5rem;
  font-family: var(--fx-font-display);
  font-size: 6rem;
  font-weight: 700;
  color: var(--fx-border2);
  line-height: 1;
  pointer-events: none;
}

.fx-testimonial-stars {
  display: flex;
  gap: 0.2rem;
  margin-bottom: 1.25rem;
}

.fx-testimonial-stars::before {
  content: '★★★★★';
  font-size: 0.9rem;
  color: var(--fx-accent2);
  letter-spacing: 0.05em;
}

.fx-testimonial-quote {
  font-size: 0.92rem;
  color: var(--fx-offwhite);
  line-height: 1.7;
  margin-bottom: 1.75rem;
  font-style: italic;
}

.fx-testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.fx-testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--fx-surface3);
  border: 1px solid var(--fx-border2);
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--fx-font-display);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--fx-accent);
}

.fx-testimonial-name {
  font-family: var(--fx-font-display);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--fx-white);
  letter-spacing: -0.01em;
}

.fx-testimonial-company {
  font-family: var(--fx-font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--fx-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 0.15rem;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.fx-cta-section {
  background: var(--fx-black);
  padding: 8rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.fx-cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80vw;
  height: 80vw;
  max-width: 900px;
  max-height: 900px;
  background: radial-gradient(circle, rgba(255, 59, 0, 0.045) 0%, transparent 65%);
  pointer-events: none;
}

.fx-cta-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

.fx-cta-headline {
  font-family: var(--fx-font-display);
  font-size: clamp(2.5rem, 5.5vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--fx-white);
  line-height: 0.96;
  margin: 1rem 0 1.5rem;
}

.fx-cta-sub {
  font-size: 1rem;
  color: var(--fx-muted);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.fx-cta-email-form {
  display: flex;
  gap: 0;
  max-width: 440px;
  margin: 0 auto 1.5rem;
  border: 1px solid var(--fx-border2);
  border-radius: 9999px;
  overflow: hidden;
  background: var(--fx-surface);
}

.fx-cta-email-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 0.85rem 1.5rem;
  font-family: var(--fx-font-body);
  font-size: 0.875rem;
  color: var(--fx-white);
  min-width: 0;
}

.fx-cta-email-input::placeholder {
  color: var(--fx-muted);
}

.fx-cta-email-submit {
  background: var(--fx-accent);
  color: var(--fx-white);
  border: none;
  padding: 0.85rem 1.5rem;
  font-family: var(--fx-font-display);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background 0.2s ease;
  white-space: nowrap;
  border-radius: 9999px;
  margin: 4px;
}

.fx-cta-email-submit:hover {
  background: #E03400;
}

.fx-cta-social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  margin-top: 2rem;
}

.fx-cta-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--fx-border2);
  border-radius: 50%;
  color: var(--fx-muted);
  text-decoration: none;
  cursor: none;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s var(--fx-ease);
}

.fx-cta-social-link:hover {
  border-color: var(--fx-accent);
  color: var(--fx-accent);
  transform: translateY(-2px);
}

.fx-cta-social-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* ============================================================
   PARTNERS BAND
   ============================================================ */
.fx-partners-band {
  background: var(--fx-surface);
  border-top: 1px solid var(--fx-border);
  border-bottom: 1px solid var(--fx-border);
  padding: 2.5rem 0;
}

.fx-partners-label {
  text-align: center;
  font-family: var(--fx-font-mono);
  font-size: 0.62rem;
  font-weight: 500;
  color: var(--fx-muted);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.fx-partners-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

.fx-partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border-right: 1px solid var(--fx-border);
  text-decoration: none;
  cursor: none;
  transition: background 0.2s ease;
}

.fx-partner-logo:last-child {
  border-right: none;
}

.fx-partner-logo:hover {
  background: var(--fx-surface2);
}

.fx-partner-logo img {
  width: auto;
  height: 24px;
  max-width: 80px;
  object-fit: contain;
  filter: grayscale(1) brightness(1.8);
  opacity: 0.4;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.fx-partner-logo:hover img {
  filter: grayscale(0) brightness(1);
  opacity: 0.9;
}

.fx-partner-logo-text {
  font-family: var(--fx-font-display);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--fx-muted);
  letter-spacing: -0.01em;
  transition: color 0.2s ease;
}

.fx-partner-logo:hover .fx-partner-logo-text {
  color: var(--fx-white);
}

/* ============================================================
   FOOTER
   ============================================================ */
.fx-footer {
  background: var(--fx-black);
  border-top: 1px solid var(--fx-border);
  padding: 5rem 0 2.5rem;
}

.fx-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3.5rem;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

.fx-footer-brand .fx-logo {
  margin-bottom: 1.25rem;
}

.fx-footer-tagline {
  font-size: 0.875rem;
  color: var(--fx-muted);
  line-height: 1.65;
  max-width: 260px;
  margin-bottom: 1.75rem;
}

.fx-footer-social {
  display: flex;
  gap: 0.75rem;
}

.fx-footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--fx-border2);
  border-radius: 50%;
  color: var(--fx-muted);
  text-decoration: none;
  cursor: none;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s var(--fx-ease);
}

.fx-footer-social-link:hover {
  border-color: var(--fx-accent);
  color: var(--fx-accent);
  transform: translateY(-2px);
}

.fx-footer-social-link svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.fx-footer-col-title {
  font-family: var(--fx-font-mono);
  font-size: 0.62rem;
  font-weight: 500;
  color: var(--fx-muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.fx-footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.fx-footer-link {
  font-size: 0.875rem;
  color: var(--fx-muted);
  text-decoration: none;
  cursor: none;
  transition: color 0.2s ease;
  line-height: 1.4;
}

.fx-footer-link:hover {
  color: var(--fx-white);
}

.fx-footer-bottom {
  max-width: 1280px;
  margin: 4rem auto 0;
  padding: 1.5rem 2.5rem 0;
  border-top: 1px solid var(--fx-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.fx-footer-copyright {
  font-family: var(--fx-font-mono);
  font-size: 0.68rem;
  font-weight: 400;
  color: var(--fx-muted2);
  letter-spacing: 0.08em;
}

.fx-footer-legal {
  display: flex;
  gap: 1.5rem;
}

.fx-footer-legal-link {
  font-family: var(--fx-font-mono);
  font-size: 0.68rem;
  color: var(--fx-muted2);
  text-decoration: none;
  cursor: none;
  transition: color 0.2s ease;
  letter-spacing: 0.05em;
}

.fx-footer-legal-link:hover {
  color: var(--fx-muted);
}

@media (max-width: 900px) {
  .fx-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 568px) {
  .fx-footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ============================================================
   N8N SERVICE PAGE STYLES
   ============================================================ */
.fx-n8n-hero {
  background: var(--fx-black);
  padding: 8rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.fx-n8n-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--fx-accent), transparent);
}

.fx-n8n-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 59, 0, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 59, 0, 0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.fx-n8n-hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

.fx-n8n-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--fx-border);
  border: 1px solid var(--fx-border);
  border-radius: 12px;
  overflow: hidden;
  margin-top: 3rem;
}

.fx-n8n-feature-card {
  background: var(--fx-surface);
  padding: 2.25rem;
  transition: background 0.3s ease;
  cursor: default;
}

.fx-n8n-feature-card:hover {
  background: var(--fx-surface2);
}

.fx-n8n-feature-icon {
  width: 48px;
  height: 48px;
  background: var(--fx-accent-glow);
  border: 1px solid rgba(255, 59, 0, 0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--fx-accent);
}

.fx-n8n-feature-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fx-n8n-pricing {
  background: var(--fx-surface);
  padding: 7rem 0;
}

.fx-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: 1000px;
  margin: 3rem auto 0;
  padding: 0 2.5rem;
}

.fx-pricing-card {
  background: var(--fx-surface2);
  border: 1px solid var(--fx-border);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  position: relative;
  transition: border-color 0.3s ease;
}

.fx-pricing-card.is-featured {
  border-color: var(--fx-accent);
  background: var(--fx-surface3);
}

.fx-pricing-card.is-featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--fx-accent);
  color: var(--fx-white);
  font-family: var(--fx-font-mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 0 0 8px 8px;
}

.fx-pricing-name {
  font-family: var(--fx-font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--fx-white);
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.fx-pricing-price {
  font-family: var(--fx-font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--fx-white);
  letter-spacing: -0.05em;
  line-height: 1;
  margin: 1rem 0;
}

.fx-pricing-price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--fx-muted);
  letter-spacing: 0;
}

.fx-pricing-desc {
  font-size: 0.82rem;
  color: var(--fx-muted);
  line-height: 1.6;
  margin-bottom: 1.75rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--fx-border);
}

.fx-pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 2rem;
}

.fx-pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.82rem;
  color: var(--fx-offwhite);
  line-height: 1.5;
}

.fx-pricing-features li::before {
  content: '✓';
  font-family: var(--fx-font-mono);
  font-size: 0.68rem;
  color: var(--fx-accent);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.fx-btn-outline-accent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 0.5rem;
  font-family: var(--fx-font-display);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  background: transparent;
  color: var(--fx-white);
  padding: 0.85rem 2rem;
  border-radius: 8px;
  border: 1px solid var(--fx-border2);
  cursor: none;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.fx-btn-outline-accent:hover {
  border-color: var(--fx-accent);
  background: var(--fx-accent-glow);
  color: var(--fx-accent);
}

.fx-pricing-card.is-featured .fx-btn-outline-accent {
  background: var(--fx-accent);
  border-color: var(--fx-accent);
  color: var(--fx-white);
}

.fx-pricing-card.is-featured .fx-btn-outline-accent:hover {
  background: #E03400;
  border-color: #E03400;
  color: var(--fx-white);
}

@media (max-width: 768px) {
  .fx-pricing-grid {
    grid-template-columns: 1fr;
  }

  .fx-n8n-features-grid {
    grid-template-columns: 1fr;
  }
}

/* FAQ Accordion */
.fx-faq-section {
  background: var(--fx-black);
  padding: 7rem 0;
}

.fx-faq-list {
  max-width: 760px;
  margin: 3rem auto 0;
  padding: 0 2.5rem;
}

.fx-faq-item {
  border-bottom: 1px solid var(--fx-border);
}

.fx-faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  font-family: var(--fx-font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--fx-white);
  letter-spacing: -0.02em;
  cursor: none;
  gap: 1rem;
  transition: color 0.2s ease;
}

.fx-faq-question:hover {
  color: var(--fx-accent);
}

.fx-faq-icon {
  width: 24px;
  height: 24px;
  border: 1px solid var(--fx-border2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.85rem;
  color: var(--fx-muted);
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.3s var(--fx-ease);
}

.fx-faq-item.is-open .fx-faq-icon {
  border-color: var(--fx-accent);
  color: var(--fx-accent);
  transform: rotate(45deg);
}

.fx-faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.45s var(--fx-ease), padding 0.3s ease;
}

.fx-faq-item.is-open .fx-faq-answer {
  max-height: 300px;
  padding-bottom: 1.5rem;
}

.fx-faq-answer p {
  font-size: 0.9rem;
  color: var(--fx-muted);
  line-height: 1.75;
}

/* ============================================================
   INTERSECTION OBSERVER — scroll reveals
   ============================================================ */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--fx-ease), transform 0.7s var(--fx-ease);
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Override WP spacing */
.wp-site-blocks>footer {
  margin-block-start: 0;
}

.wp-site-blocks>.wp-block-template-part {
  display: contents;
}

/* WP Button element overrides */
.wp-block-button__link {
  cursor: none !important;
}

/* ============================================================
   RESPONSIVE OVERRIDES
   ============================================================ */
@media (max-width: 1280px) {
  .fx-services-rail {
    padding: 0 1.25rem;
    margin-left: 1.25rem;
  }
}

@media (max-width: 768px) {
  .fx-services-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .fx-service-card {
    flex-basis: 280px;
  }

  .fx-hero-brand {
    font-size: clamp(2rem, 8vw, 3.5rem);
  }

  .fx-hero-tagline {
    font-size: clamp(1.5rem, 6vw, 2.75rem);
  }

  .fx-n8n-inner {
    grid-template-columns: 1fr;
  }

  .fx-footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .fx-process-grid {
    grid-template-columns: 1fr 1fr;
  }

  .fx-cta-email-form {
    flex-direction: column;
    border-radius: 12px;
  }

  .fx-cta-email-submit {
    border-radius: 8px;
    margin: 4px;
  }
}

@media (max-width: 480px) {
  .fx-process-grid {
    grid-template-columns: 1fr;
  }

  .fx-tech-item {
    padding: 1.25rem 1.5rem;
  }
}