/*
  website-for-businesses.css
  Page-scoped styles for the experimental /website-for-businesses landing page.
  Pushes the existing dark prismatic palette + adds GSAP+Lenis scroll choreography.
  Everything is scoped under .wfb-* prefixes to avoid bleeding into other pages.
*/

/* ============================================================
   1. PAGE ROOT
   ============================================================ */
.wfb {
  position: relative;
  z-index: 1;
  overflow-x: clip;
}
.wfb * { box-sizing: border-box; }

/* Reset the global h2 rule (styles.css applies border-bottom + display:inline-block
   to every h2 site-wide, which breaks our centered/gradient landing-page headings). */
.wfb h2 {
  border-bottom: 0;
  display: block;
  padding-bottom: 0;
  text-transform: none;
  letter-spacing: -0.01em;
}

.wfb-no-motion .wfb [data-speed],
.wfb-no-motion .wfb .wfb-marquee-track {
  animation: none !important;
  transform: none !important;
}

/* ============================================================
   2. HERO — bottom-half-peek YouTube
   ============================================================ */
.wfb-hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-rows: 1fr auto;
  align-items: center;
  padding: 6rem 1.5rem 0;
  overflow: visible;
}
.wfb-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 10%, rgba(239, 68, 68, 0.10) 0%, transparent 55%),
    radial-gradient(ellipse at 90% 80%, rgba(248, 113, 113, 0.08) 0%, transparent 55%),
    radial-gradient(ellipse at 50% 50%, rgba(185, 28, 28, 0.05) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* Decorative Roby scene images (hero + final CTA) */
.wfb-scene {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 30px rgba(185, 28, 28, 0.25));
  will-change: transform;
}
.wfb-scene-hero {
  top: 8%;
  right: -4%;
  width: clamp(260px, 28vw, 440px);
  animation: wfbFloat 8s ease-in-out infinite;
}

.wfb-hero-text {
  position: relative;
  z-index: 2;
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
  padding-top: 2rem;
}

.wfb-eyebrow {
  display: inline-block;
  letter-spacing: 0.32em;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #f87171;
  padding: 0.45rem 1.1rem;
  background: rgba(248, 113, 113, 0.08);
  border: 1px solid rgba(248, 113, 113, 0.25);
  border-radius: 12px;
  margin-bottom: 1.8rem;
}

.wfb-hero-h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 6vw, 5.2rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--heading-color);
  margin: 0 0 1.2rem;
}
.wfb-hero-h1 .wfb-grad {
  background: linear-gradient(135deg, #ef4444 0%, #b91c1c 45%, #f87171 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 30px rgba(239, 68, 68, 0.25));
}

.wfb-hero-sub {
  font-size: clamp(1rem, 1.6vw, 1.3rem);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 680px;
  margin: 0 auto 2.2rem;
}

.wfb-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.05rem 2.4rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, #ef4444, #b91c1c);
  border: 0;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(239, 68, 68, 0.35), inset 0 1px 0 rgba(255,255,255,0.15);
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275),
              box-shadow 0.25s ease, filter 0.25s ease;
}
.wfb-cta-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 40px rgba(239, 68, 68, 0.5), inset 0 1px 0 rgba(255,255,255,0.2);
  filter: brightness(1.05);
}
.wfb-cta-primary:active {
  transform: translateY(-1px) scale(0.99);
}
.wfb-cta-primary i {
  transition: transform 0.25s ease;
}
.wfb-cta-primary:hover i {
  transform: translateX(4px);
}
html[dir="rtl"] .wfb-cta-primary .fa-arrow-right {
  transform: scaleX(-1);
}
html[dir="rtl"] .wfb-cta-primary:hover .fa-arrow-right {
  transform: scaleX(-1) translateX(4px);
}

.wfb-hero-text .wfb-hero-microcopy {
  position: relative;
  z-index: 3;
  margin: 2.6rem 0 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
  opacity: 0.85;
}

/* Landscape "tablet" that showcases the product tour video (dark bezel + screen) */
.wfb-hero-video {
  position: relative;
  width: min(92vw, 1040px);
  max-width: 100%;
  margin: 3.5rem auto 0;
  padding: clamp(10px, 1.6vw, 20px);
  border-radius: clamp(20px, 2.6vw, 34px);
  background: linear-gradient(155deg, #2b303b 0%, #15181f 58%, #1f232d 100%);
  box-shadow:
    0 30px 70px rgba(0,0,0,0.55),
    0 0 60px rgba(239, 68, 68, 0.12),
    inset 0 1px 0 rgba(255,255,255,0.10),
    inset 0 0 0 1px rgba(255,255,255,0.05);
  isolation: isolate;
}
/* front-camera dot centered on the top bezel */
.wfb-hero-video::after {
  content: '';
  position: absolute;
  top: clamp(4px, 0.7vw, 9px);
  left: 50%;
  transform: translateX(-50%);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #5b6472, #0a0c10);
  z-index: 4;
}
.wfb-hero-video::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, #ef4444, #f87171, #b91c1c);
  z-index: -1;
  border-radius: 20px;
  opacity: 0.6;
  filter: blur(10px);
}
.wfb-yt-embed-slot {
  width: 100%;
  aspect-ratio: 16 / 10;        /* landscape tablet screen */
  position: relative;
  border-radius: clamp(8px, 1.1vw, 14px);
  overflow: hidden;
  background: #000;
}
.wfb-yt-embed-slot > img,
.wfb-yt-embed-slot > iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}
.wfb-yt-embed-slot > img {
  object-fit: cover;
  filter: brightness(0.8);
}
.wfb-yt-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 88px;
  height: 88px;
  background: rgba(239, 68, 68, 0.95);
  color: #fff;
  font-size: 2rem;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 6px;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.5), 0 12px 40px rgba(0,0,0,0.45);
  animation: wfbPulse 2.4s ease-out infinite;
  transition: transform 0.25s ease, background 0.25s ease;
}
.wfb-yt-play:hover {
  transform: translate(-50%, -50%) scale(1.08);
  background: #ef4444;
}

/* ============================================================
   3. MARQUEE BRIDGE
   ============================================================ */
.wfb-marquee {
  position: relative;
  margin: 6rem 0 2rem;
  padding: 1.5rem 0;
  overflow: hidden;
  background: linear-gradient(90deg, transparent 0%, rgba(248, 113, 113, 0.04) 50%, transparent 100%);
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.wfb-marquee-track {
  display: flex;
  align-items: center;
  gap: 2rem;
  white-space: nowrap;
  width: max-content;
  animation: wfbMarquee 28s linear infinite;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.4rem, 2.4vw, 2.2rem);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--heading-color);
}
.wfb-marquee-track > span {
  background: linear-gradient(135deg, var(--text-color) 0%, #f87171 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.wfb-marquee-track > i {
  color: #ef4444;
  font-style: normal;
  font-size: 0.6em;
  opacity: 0.7;
}
html[dir="rtl"] .wfb-marquee-track {
  animation-direction: reverse;
}

/* ============================================================
   4. FEATURES
   ============================================================ */
.wfb-features {
  position: relative;
  padding: 6rem 1.5rem 4rem;
  max-width: 1280px;
  margin: 0 auto;
}

.wfb-section-head {
  text-align: center;
  margin-bottom: 5rem;
}
.wfb-section-label {
  display: inline-block;
  letter-spacing: 0.32em;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #f87171;
  padding: 0.4rem 1rem;
  background: rgba(248, 113, 113, 0.08);
  border: 1px solid rgba(248, 113, 113, 0.22);
  border-radius: 12px;
  margin-bottom: 1.2rem;
}
.wfb-section-h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.1;
  color: var(--heading-color);
  margin: 0;
}

.wfb-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  min-height: 52vh;
  padding: 2.5rem 0;
  position: relative;
}
.wfb-feature + .wfb-feature {
  border-top: 1px solid rgba(255,255,255,0.05);
}
.wfb-feature-right .wfb-feature-media { order: 2; }

.wfb-feature-media {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 360px;
}
.wfb-feature-media img {
  max-width: 100%;
  width: clamp(260px, 32vw, 480px);
  height: auto;
  display: block;
  will-change: transform;
  filter: drop-shadow(0 30px 50px rgba(0,0,0,0.4)) drop-shadow(0 0 22px rgba(103,51,209,0.65)) drop-shadow(0 0 48px rgba(103,51,209,0.4));
}
.wfb-feature-media::before {
  content: '';
  position: absolute;
  width: 60%;
  height: 60%;
  border-radius: 50%;
  background: var(--feat-glow, rgba(239, 68, 68, 0.18));
  filter: blur(80px);
  z-index: -1;
}

.wfb-feature-copy { position: relative; }
.wfb-feature-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(5rem, 9vw, 9rem);
  line-height: 1;
  background: var(--feat-grad, linear-gradient(135deg, #ef4444, #b91c1c));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.22;
  margin-bottom: -1.4rem;
  letter-spacing: -0.04em;
}
.wfb-feature-copy h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 2.8vw, 2.6rem);
  line-height: 1.15;
  color: var(--heading-color);
  margin: 0 0 1.2rem;
}
.wfb-feature-copy p {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.75;
  color: var(--text-secondary);
  margin: 0;
  max-width: 540px;
}
/* Centre the feature copy (number badge + heading + paragraph) on BOTH alternating
   sides in HEBREW/RTL. The shared product-outcomes rule left-aligns the LEFT-side copy,
   which reads poorly in Hebrew — centring under the heading balances the two sides.
   Scoped to RTL (LTR body text stays left-aligned for readability) + to this page;
   !important beats the later-loading shared [class*="-feature-copy"] rule. */
[dir="rtl"] .wfb-feature-copy { text-align: center !important; }
[dir="rtl"] .wfb-feature-copy p { margin-inline: auto !important; }

/* Per-feature color accent (cycles through brand palette) */
.wfb-feature:nth-child(2) { --feat-grad: linear-gradient(135deg, #f87171, #b91c1c); --feat-glow: rgba(248, 113, 113, 0.18); }
.wfb-feature:nth-child(3) { --feat-grad: linear-gradient(135deg, #b91c1c, #f87171); --feat-glow: rgba(185, 28, 28, 0.18); }
.wfb-feature:nth-child(4) { --feat-grad: linear-gradient(135deg, #ef4444, #b91c1c); --feat-glow: rgba(239, 68, 68, 0.22); }
.wfb-feature:nth-child(5) { --feat-grad: linear-gradient(135deg, #b91c1c, #b91c1c); --feat-glow: rgba(185, 28, 28, 0.18); }
.wfb-feature:nth-child(6) { --feat-grad: linear-gradient(135deg, #b91c1c, #b91c1c); --feat-glow: rgba(185, 28, 28, 0.20); }
.wfb-feature:nth-child(7) { --feat-grad: linear-gradient(135deg, #b91c1c, #b91c1c); --feat-glow: rgba(185, 28, 28, 0.20); }

/* Feature 2 cyan-orb reuses orb-cyan.webp with a hue shift for indigo feel */
.wfb-feature-media .wfb-hue-shift {
  filter: hue-rotate(30deg) drop-shadow(0 30px 50px rgba(0,0,0,0.4));
}

/* ============================================================
   5. PHONE SECTION — pinned iPhone + narrative
   ============================================================ */
.wfb-phone-section {
  position: relative;
  padding: 6rem 1.5rem 4rem;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(239, 68, 68, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 70%, rgba(248, 113, 113, 0.05) 0%, transparent 50%);
}
.wfb-phone-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  max-width: 1240px;
  margin: 0 auto;
  align-items: center;
  min-height: 100vh;
}
.wfb-phone-pin {
  display: flex;
  justify-content: center;
  align-items: center;
}
.wfb-phone-narrative {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.wfb-phone-narrative h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  line-height: 1.1;
  color: var(--heading-color);
  margin: 0;
}
.wfb-phone-narrative h2 span {
  background: linear-gradient(135deg, #ef4444, #f87171);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.wfb-phone-narrative p {
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}
.wfb-phone-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.wfb-phone-bullets li {
  position: relative;
  padding-inline-start: 2rem;
  font-size: 1.05rem;
  color: var(--text-color);
  line-height: 1.6;
}
.wfb-phone-bullets li::before {
  content: '✓';
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  width: 22px;
  height: 22px;
  background: linear-gradient(135deg, #b91c1c, #f87171);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
}

/* ── iPhone bezel ── */
.wfb-iphone {
  position: relative;
  width: 320px;
  height: 660px;
  border-radius: 46px;
  background: #050505;
  padding: 12px;
  box-shadow:
    0 0 0 2px #1f1f1f,
    0 0 0 4px #050505,
    0 40px 80px rgba(0, 0, 0, 0.6),
    0 0 80px rgba(239, 68, 68, 0.12);
  isolation: isolate;
}
.wfb-iphone::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 49px;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.4), rgba(248, 113, 113, 0.4), rgba(185, 28, 28, 0.4));
  z-index: -1;
  filter: blur(14px);
  opacity: 0.7;
}
.wfb-iphone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 28px;
  background: #050505;
  border-radius: 0 0 18px 18px;
  z-index: 2;
}
.wfb-iphone-screen {
  width: 100%;
  height: 100%;
  background: #0b141a;  /* WhatsApp dark mode */
  border-radius: 34px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  font-family: var(--font-main);
}

/* ── WhatsApp status bar ── */
.wfb-wa-statusbar {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 24px 6px;
  font-size: 13px;
  font-weight: 600;
  color: #e9edef;
}
.wfb-wa-icons {
  display: flex;
  gap: 6px;
  font-size: 12px;
  color: #e9edef;
}

/* ── WhatsApp header ── */
.wfb-wa-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #1f2c34;
  border-bottom: 1px solid rgba(255,255,255,0.03);
  z-index: 2;
}
.wfb-wa-back { font-size: 18px; color: #00a884; cursor: pointer; }
.wfb-wa-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  background: #054640;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wfb-wa-avatar img { width: 100%; height: 100%; object-fit: cover; }
.wfb-wa-id { flex: 1; line-height: 1.2; }
.wfb-wa-name { font-size: 15px; font-weight: 600; color: #e9edef; }
.wfb-wa-status {
  font-size: 12px;
  color: #8696a0;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 1px;
}
.wfb-online-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00a884;
  box-shadow: 0 0 6px rgba(0, 168, 132, 0.7);
  animation: wfbPulseDot 1.8s ease-in-out infinite;
}
.wfb-wa-header > i:not(.wfb-wa-back) {
  font-size: 15px;
  color: #aebac1;
  margin-inline-start: 8px;
}

/* ── Messages ── */
.wfb-wa-messages {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background:
    repeating-linear-gradient(45deg, transparent 0 14px, rgba(255,255,255,0.005) 14px 28px),
    #0b141a;
  position: relative;
  scrollbar-width: none;       /* Firefox */
  -ms-overflow-style: none;    /* IE/old Edge */
  /* scroll-behavior: auto — JS drives scrollTop every frame, browser smoothing
     would just add lag on top of Lenis + ScrollTrigger. */
  scroll-behavior: auto;
  overscroll-behavior: contain;
}
.wfb-wa-messages::-webkit-scrollbar { display: none; }
.wfb-wa-msg {
  display: flex;
  flex-direction: column;
  max-width: 78%;
  margin-bottom: 4px;
  will-change: transform, opacity;
}
.wfb-wa-owner { align-self: flex-end; align-items: flex-end; }
.wfb-wa-roby  { align-self: flex-start; align-items: flex-start; }

.wfb-wa-bubble {
  display: inline-block;
  padding: 7px 10px 7px 12px;
  border-radius: 8px;
  font-size: 12.5px;
  line-height: 1.45;
  color: #e9edef;
  position: relative;
  word-wrap: break-word;
  white-space: pre-wrap;
}
.wfb-wa-owner .wfb-wa-bubble {
  background: #005c4b;
  border-bottom-right-radius: 0;
}
.wfb-wa-roby .wfb-wa-bubble {
  background: #1f2c34;
  border-bottom-left-radius: 0;
}
html[dir="rtl"] .wfb-wa-owner .wfb-wa-bubble {
  border-bottom-right-radius: 8px;
  border-bottom-left-radius: 0;
}
html[dir="rtl"] .wfb-wa-roby .wfb-wa-bubble {
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 0;
}
.wfb-wa-time-stamp {
  font-size: 10px;
  color: #8696a0;
  padding: 0 4px;
  margin-top: 2px;
}

/* ── Input bar ── */
.wfb-wa-input {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: #1f2c34;
  border-top: 1px solid rgba(255,255,255,0.04);
}
.wfb-wa-input i { font-size: 18px; color: #8696a0; padding: 6px; }
.wfb-wa-input-field {
  flex: 1;
  background: #2a3942;
  padding: 8px 12px;
  border-radius: 18px;
  font-size: 13px;
  color: #8696a0;
}

/* ============================================================
   6. FINAL CTA
   ============================================================ */
.wfb-final-cta {
  position: relative;
  padding: 8rem 1.5rem;
  text-align: center;
  overflow: hidden;
}
.wfb-final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(239, 68, 68, 0.08) 0%, rgba(185, 28, 28, 0.08) 50%, rgba(248, 113, 113, 0.08) 100%);
  pointer-events: none;
}
.wfb-final-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 760px;
  margin: 0 auto;
}
.wfb-final-copy {
  text-align: center;
}
.wfb-final-cta h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1.1;
  color: var(--heading-color);
  margin: 0 0 1.5rem;
}
.wfb-final-cta h2 span {
  background: linear-gradient(135deg, #ef4444 0%, #f87171 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.wfb-final-cta p {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.wfb-cta-xl {
  position: relative;
  font-size: 1.2rem;
  padding: 1.2rem 2.8rem;
}
.wfb-final-cta p.wfb-final-microcopy {
  position: relative;
  z-index: 5;
  margin: 3rem 0 0;
  max-width: none;
  font-size: 0.85rem;
  color: var(--text-secondary);
  opacity: 0.9;
}

/* ============================================================
   7. KEYFRAMES
   ============================================================ */
@keyframes wfbFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-18px); }
}
@keyframes wfbPulse {
  0%   { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.55), 0 12px 40px rgba(0,0,0,0.45); }
  70%  { box-shadow: 0 0 0 22px rgba(239, 68, 68, 0), 0 12px 40px rgba(0,0,0,0.45); }
  100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0), 0 12px 40px rgba(0,0,0,0.45); }
}
@keyframes wfbPulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.6; transform: scale(1.15); }
}
@keyframes wfbMarquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   8. RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .wfb-feature {
    grid-template-columns: 1fr;
    gap: 2rem;
    min-height: auto;
    padding: 3rem 0;
  }
  .wfb-feature-right .wfb-feature-media { order: 0; }
  .wfb-phone-wrap {
    grid-template-columns: 1fr;
    gap: 3rem;
    min-height: auto;
  }
  .wfb-phone-narrative { order: 0; }
  .wfb-phone-pin { order: 1; }
  .wfb-scene-hero { width: clamp(150px, 30vw, 240px); top: 4%; right: -6%; }
}

@media (max-width: 600px) {
  .wfb-hero { padding-top: 4rem; }
  .wfb-hero-video { margin-top: 2.5rem; }
  .wfb-iphone {
    width: 280px;
    height: 580px;
  }
  .wfb-features { padding: 4rem 1rem 2rem; }
  .wfb-marquee-track { font-size: 1.2rem; gap: 1.4rem; }
  .wfb-yt-play { width: 64px; height: 64px; font-size: 1.4rem; }
}

/* ============================================================
   9. REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .wfb-scene,
  .wfb-final-scene,
  .wfb-online-dot, .wfb-yt-play,
  .wfb-marquee-track {
    animation: none !important;
  }
}


/* ===== Pronounced robot float (added 2026-06-26) — animates the media wrapper so it
   composes with the per-img scroll parallax; staggered so robots don't bob in unison. ===== */
@keyframes wfbFloatBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-26px); } }
.wfb-feature-media { animation: wfbFloatBob 3.4s ease-in-out infinite; will-change: transform; }
.wfb-feature:nth-of-type(2) .wfb-feature-media { animation-delay: -1.7s; }
.wfb-feature:nth-of-type(3) .wfb-feature-media { animation-delay: -0.9s; animation-duration: 4.1s; }
.wfb-feature:nth-of-type(4) .wfb-feature-media { animation-delay: -2.4s; }
.wfb-feature:nth-of-type(5) .wfb-feature-media { animation-delay: -1.2s; animation-duration: 3.8s; }
.wfb-feature:nth-of-type(6) .wfb-feature-media { animation-delay: -0.4s; }
@media (prefers-reduced-motion: reduce) { .wfb-feature-media { animation: none !important; } }

/* purple aura override (added 2026-06-26) — unify robot aura to brand purple */
.wfb-feature-media::before { background: rgba(103, 51, 209, 0.34) !important; }

/* ============================================================
   SECONDARY CTA BAND - existing customers (added for parity with the other 11
   product pages; CTA is the shared .pt-cta, themed red via --pt-accent).
   ============================================================ */
.wfb-secondary { position: relative; padding: 4rem 1.5rem; max-width: 1100px; margin: 0 auto; }
.wfb-secondary-band {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  padding: 2rem 2.4rem; background: var(--glass-bg); border: 1px solid var(--glass-border);
  border-radius: 18px; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); flex-wrap: wrap;
}
.wfb-secondary-text { flex: 1 1 0; min-width: 240px; }
.wfb-secondary-text h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.2rem, 2vw, 1.6rem); color: var(--heading-color); margin: 0 0 0.4rem; }
.wfb-secondary-text p { font-size: 0.95rem; color: var(--text-secondary); margin: 0; line-height: 1.5; }
@media (max-width: 820px) {
  /* mobile: stack and CENTER the text (heading + paragraph); button stays as-is, centered below */
  .wfb-secondary-band { flex-direction: column; align-items: center; text-align: center; }
  .wfb-secondary-text { width: 100%; }
}
