/* ==========================================================================
   PulseFlow — Agency-Grade SaaS Website & Full-Viewport 3D Motion Theater
   Orange, White & Obsidian Palette — Scroll-Driven True 3D Motion Graphics
   ========================================================================== */

:root {
  --bg-page: #fcfbfa;
  --bg-surface: #ffffff;
  --bg-dark: #0a0d14;
  --bg-dark-elevated: #131824;

  --orange: #ff6420;
  --orange-deep: #eb4a0a;
  --orange-bright: #ff8c4c;
  --orange-warm: #ffb784;
  --orange-soft: #fff2eb;
  --orange-border: #ffb48f;

  --ink: #141820;
  --ink-muted: #5a6474;
  --border: #e6eaf0;
  --border-strong: #d3dbe6;
  --grid-dot: rgba(20, 24, 32, 0.08);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-sm: 0 2px 10px rgba(20, 24, 32, 0.04);
  --shadow-md: 0 14px 36px rgba(20, 24, 32, 0.08);
  --shadow-lg: 0 28px 68px rgba(20, 24, 32, 0.12);

  --font-sans: "Plus Jakarta Sans", "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  padding: 0;
  overflow-x: clip;
  background-color: var(--bg-page);
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  width: min(100% - 40px, 1180px);
  margin: 0 auto;
}

/* ==========================================================================
   Ambient Background for Light Sections
   ========================================================================== */

.bg-canvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #fcfaf8 50%, #f8f6f3 100%);
}

.bg-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--grid-dot) 1.2px, transparent 1.2px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 35%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 35%, transparent 100%);
}

.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(82px);
  opacity: 0.68;
  will-change: transform;
}

.bg-orb-1 {
  top: -160px;
  right: -120px;
  width: 640px;
  height: 640px;
  background: radial-gradient(circle, rgba(255, 134, 74, 0.34) 0%, rgba(255, 100, 32, 0) 70%);
}

.bg-orb-2 {
  top: 26vh;
  left: -180px;
  width: 580px;
  height: 580px;
  background: radial-gradient(circle, rgba(255, 178, 128, 0.28) 0%, rgba(255, 100, 32, 0) 72%);
}

.bg-orb-3 {
  bottom: -180px;
  right: 12vw;
  width: 540px;
  height: 540px;
  background: radial-gradient(circle, rgba(255, 118, 56, 0.22) 0%, rgba(255, 100, 32, 0) 72%);
}

/* ==========================================================================
   Adaptive Sticky Glass Navigation Bar (Light <-> Dark over 3D Stage)
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  padding: 14px 0;
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  background-color: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: rgba(230, 234, 240, 0.85);
  box-shadow: 0 6px 24px rgba(20, 24, 32, 0.04);
}

.site-header.is-dark {
  background-color: rgba(10, 13, 20, 0.68);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.025em;
  transition: color 0.28s ease;
}

.site-header.is-dark .brand {
  color: #ffffff;
}

.brand-icon {
  display: inline-flex;
  filter: drop-shadow(0 4px 12px rgba(255, 100, 32, 0.35));
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  position: relative;
  color: var(--ink-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 6px 2px;
  transition: color 0.24s ease;
}

.site-header.is-dark .nav-link {
  color: rgba(255, 255, 255, 0.68);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background-color: var(--orange);
  transform: scaleX(0);
  transition: transform 0.22s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--ink);
}

.site-header.is-dark .nav-link:hover,
.site-header.is-dark .nav-link.is-active {
  color: #ffffff;
}

.nav-link.is-active::after,
.nav-link:hover::after {
  transform: scaleX(1);
}

.nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* Shared Buttons */
.btn-primary,
.btn-outline,
.btn-ghost,
.btn-dark-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn-primary {
  padding: 11px 22px;
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--orange-bright) 0%, var(--orange) 52%, var(--orange-deep) 100%);
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(255, 100, 32, 0.34);
}

.btn-primary:hover {
  transform: translateY(-1.5px);
  box-shadow: 0 12px 28px rgba(255, 100, 32, 0.44);
}

.btn-outline {
  padding: 11px 22px;
  border: 1px solid var(--border-strong);
  background-color: rgba(255, 255, 255, 0.85);
  color: var(--ink);
}

.btn-outline:hover {
  border-color: var(--orange-border);
  background-color: var(--orange-soft);
  color: var(--orange-deep);
  transform: translateY(-1.5px);
}

.btn-ghost {
  padding: 10px 14px;
  border: 0;
  background: transparent;
  color: var(--ink-muted);
}

.btn-ghost:hover {
  color: var(--ink);
}

.site-header.is-dark .btn-ghost {
  color: rgba(255, 255, 255, 0.72);
}

.site-header.is-dark .btn-ghost:hover {
  color: #ffffff;
}

.btn-dark-ghost {
  padding: 14px 26px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

.btn-dark-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-1.5px);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 15px;
}

.btn-full {
  width: 100%;
  padding: 14px 20px;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 999px;
  background-color: var(--bg-surface);
  color: var(--ink);
  cursor: pointer;
}

.site-header.is-dark .menu-toggle {
  border-color: rgba(255, 255, 255, 0.18);
  background-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.menu-toggle .bar {
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 0.22s ease, opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] .bar-1 { transform: translateY(5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bar-2 { opacity: 0; }
.menu-toggle[aria-expanded="true"] .bar-3 { transform: translateY(-5px) rotate(-45deg); }

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 108px 0 56px;
}

@supports (min-height: 100dvh) {
  .hero {
    min-height: 100dvh;
  }
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 840px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 16px;
  margin-bottom: 26px;
  border-radius: 999px;
  border: 1px solid rgba(255, 100, 32, 0.24);
  background-color: rgba(255, 242, 235, 0.9);
  color: var(--orange-deep);
  font-size: 13px;
  font-weight: 600;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 100, 32, 0.22);
  animation: pulse-dot 2.2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 4px rgba(255, 100, 32, 0.22);
  }
  50% {
    transform: scale(1.18);
    box-shadow: 0 0 0 9px rgba(255, 100, 32, 0.05);
  }
}

.hero-title {
  margin: 0 0 22px;
  font-size: clamp(2.6rem, 6.2vw, 4.9rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.042em;
  color: var(--ink);
}

.text-gradient {
  background: linear-gradient(110deg, var(--orange-bright) 0%, var(--orange) 46%, var(--orange-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  margin: 0 0 36px;
  max-width: 610px;
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  color: var(--ink-muted);
  line-height: 1.65;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 44px;
}

.hero-metrics {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding: 16px 32px;
  margin-bottom: 44px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background-color: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

.metric-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.metric-pill strong {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.metric-pill span {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-muted);
}

.metric-divider {
  width: 1px;
  height: 30px;
  background-color: var(--border);
}

.scroll-cue {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--ink-muted);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.scroll-cue:hover {
  color: var(--orange);
}

.scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid var(--border-strong);
  border-radius: 999px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-wheel {
  width: 4px;
  height: 8px;
  border-radius: 999px;
  background-color: var(--orange);
  animation: scroll-bob 1.8s ease-in-out infinite;
}

@keyframes scroll-bob {
  0%   { transform: translateY(0); opacity: 1; }
  70%  { transform: translateY(11px); opacity: 0.2; }
  100% { transform: translateY(0); opacity: 1; }
}

/* ==========================================================================
   FULL-WIDTH, FULL-HEIGHT 3D MOTION GRAPHIC SECTION (#workflow)
   ========================================================================== */

.workflow-section {
  position: relative;
  width: 100%;
  height: 380vh;
}

.workflow-sticky {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
  align-items: center;
  justify-items: center;
  row-gap: clamp(14px, 2.2vh, 28px);
  padding: clamp(74px, 10vh, 92px) 0 clamp(22px, 3.6vh, 42px);
  background: radial-gradient(ellipse 100% 80% at 50% 45%, #141925 0%, #0a0d15 62%, #06080e 100%);
  color: #ffffff;
}

@supports (height: 100dvh) {
  .workflow-sticky {
    height: 100dvh;
  }
}

/* Multi-Layer Scroll-Moving 3D Studio Background */
.theater-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Far architectural grid scrolling smoothly downward/upward with page scroll */
.theater-grid-scroll {
  position: absolute;
  left: -6%;
  right: -6%;
  top: -80%;
  height: 260%;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 78% 72% at 50% 50%, #000 22%, transparent 86%);
  -webkit-mask-image: radial-gradient(ellipse 78% 72% at 50% 50%, #000 22%, transparent 86%);
  will-change: transform;
}

/* Mid-depth warm atmospheric orange light beams traveling vertically on scroll */
.theater-beams-scroll {
  position: absolute;
  left: 0;
  right: 0;
  top: -90%;
  height: 280%;
  will-change: transform;
}

.bg-beam {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  opacity: 0.45;
}

.bg-beam-1 {
  top: 12%;
  left: 6%;
  width: 520px;
  height: 360px;
  background: radial-gradient(circle, rgba(255, 114, 46, 0.28) 0%, rgba(255, 114, 46, 0) 70%);
}

.bg-beam-2 {
  top: 46%;
  right: 4%;
  width: 560px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 146, 82, 0.24) 0%, rgba(255, 146, 82, 0) 72%);
}

.bg-beam-3 {
  top: 76%;
  left: 34%;
  width: 620px;
  height: 340px;
  background: radial-gradient(circle, rgba(255, 92, 26, 0.26) 0%, rgba(255, 92, 26, 0) 72%);
}

/* Near-depth subtle floating light bokeh field scrolling faster for depth */
.theater-dust-scroll {
  position: absolute;
  left: 0;
  right: 0;
  top: -100%;
  height: 300%;
  background-image:
    radial-gradient(circle at 14% 18%, rgba(255, 178, 128, 0.45) 1.5px, transparent 2px),
    radial-gradient(circle at 78% 24%, rgba(255, 128, 66, 0.4) 1.8px, transparent 2.4px),
    radial-gradient(circle at 38% 42%, rgba(255, 255, 255, 0.3) 1.3px, transparent 1.8px),
    radial-gradient(circle at 88% 58%, rgba(255, 168, 112, 0.42) 1.6px, transparent 2.2px),
    radial-gradient(circle at 24% 76%, rgba(255, 116, 48, 0.38) 1.8px, transparent 2.4px),
    radial-gradient(circle at 62% 86%, rgba(255, 255, 255, 0.28) 1.4px, transparent 2px);
  background-size: 420px 360px;
  opacity: 0.72;
  will-change: transform;
}

.theater-spotlight {
  position: absolute;
  top: 58%;
  left: 50%;
  width: 720px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 108, 42, 0.24) 0%, rgba(255, 108, 42, 0.07) 42%, rgba(255, 108, 42, 0) 72%);
  filter: blur(55px);
  transform: translate3d(-50%, -50%, 0);
  will-change: transform, opacity;
}

/* Clean dark studio veil behind top kinetic text band for crisp contrast */
.theater-top-scrim {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 34%;
  background: linear-gradient(180deg, rgba(7, 9, 15, 0.94) 0%, rgba(7, 9, 15, 0.68) 65%, rgba(7, 9, 15, 0) 100%);
}

.theater-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 88% 82% at 50% 54%, transparent 48%, rgba(4, 6, 10, 0.76) 100%);
}

/* ==========================================================================
   Kinetic Motion-Graphic Typography (Dedicated Top Band — Zero Overlap)
   ========================================================================== */

.kinetic-copy-stage {
  position: relative;
  z-index: 25;
  width: min(92vw, 860px);
  height: clamp(102px, 15.5vh, 132px);
  pointer-events: none;
}

.kinetic-act {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0;
  transform: translate3d(0, 24px, 0) scale(0.97);
  filter: blur(6px);
  will-change: transform, opacity, filter;
}

.k-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  padding: 5px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 132, 70, 0.32);
  background-color: rgba(255, 100, 32, 0.12);
  color: #ffc59e;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.k-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--orange);
  box-shadow: 0 0 10px rgba(255, 100, 32, 0.9);
}

.k-title {
  margin: 0 0 8px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: clamp(1.55rem, 3.3vw, 2.75rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.032em;
  color: #f8fafc;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
}

.k-accent {
  background: linear-gradient(100deg, #ffba84 0%, #ff7635 54%, #ff5416 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.k-counter {
  display: inline-flex;
  align-items: center;
  padding: 4px 13px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff8a4c, #ff5214);
  color: #ffffff;
  font-size: clamp(0.88rem, 1.5vw, 1.18rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  box-shadow: 0 8px 24px rgba(255, 100, 32, 0.45);
}

.k-sub {
  margin: 0;
  max-width: 540px;
  font-size: clamp(0.84rem, 1.15vw, 0.98rem);
  color: rgba(214, 222, 236, 0.78);
  line-height: 1.5;
}

/* ==========================================================================
   Full-Width True 3D Theater Stage (Strictly Sized Below Text Band)
   ========================================================================== */

.theater-3d-viewport {
  position: relative;
  z-index: 10;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1450px;
  perspective-origin: 50% 48%;
}

/* Width constrained by BOTH viewport width AND safe 53vh height -> zero overlap */
.stage-3d-world {
  position: relative;
  width: min(90vw, 1220px, calc(53vh * 2.2222));
  aspect-ratio: 1200 / 540;
  transform-style: preserve-3d;
  will-change: transform;
}

@supports (height: 100dvh) {
  .stage-3d-world {
    width: min(90vw, 1220px, calc(53dvh * 2.2222));
  }
}

/* True 3D Perspective Floor Grid with Glowing Station Light Pools */
.floor-3d {
  position: absolute;
  left: -12%;
  right: -12%;
  bottom: -26%;
  height: 82%;
  overflow: hidden;
  transform-style: preserve-3d;
  transform: translate3d(0, 14%, -95px) rotateX(72deg);
  pointer-events: none;
}

.floor-grid-plane {
  position: absolute;
  left: 0;
  right: 0;
  top: -120%;
  height: 320%;
  background-image:
    linear-gradient(to right, rgba(255, 132, 72, 0.18) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 132, 72, 0.18) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 68% 60% at 50% 50%, #000 18%, transparent 82%);
  -webkit-mask-image: radial-gradient(ellipse 68% 60% at 50% 50%, #000 18%, transparent 82%);
  will-change: transform;
}

.floor-pool {
  position: absolute;
  top: 48%;
  width: 24%;
  height: 54%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 108, 42, 0.52) 0%, rgba(255, 108, 42, 0) 70%);
  filter: blur(22px);
  transform: translate(-50%, -50%);
  opacity: 0;
  will-change: opacity, transform;
}

.floor-pool-post   { left: 18%; }
.floor-pool-app    { left: 40%; }
.floor-pool-social { left: 62%; }
.floor-pool-growth { left: 82%; }

/* Connecting Glowing Energy Curves SVG Layer (exact 1200x540 match) */
.curves-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  transform: translateZ(6px);
}

.beam-glow-line {
  stroke: rgba(255, 107, 44, 0.55);
  stroke-width: 7;
}

.beam-core-line {
  stroke: url(#beam-grad);
  stroke-width: 3;
}

.beam-head {
  stroke: #ff9c60;
  stroke-width: 3;
}

.beam-subtle-line {
  stroke: rgba(255, 255, 255, 0.16);
  stroke-width: 2.25;
  transition: stroke 0.35s ease;
}

.beam-subtle-line.is-lit {
  stroke: url(#beam-soft-grad);
}

/* Shared 3D Node Positioning & Specular Sheen */
.node-3d {
  position: absolute;
  transform-style: preserve-3d;
  will-change: transform, opacity;
  opacity: 0;
}

.card-sheen {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.04) 36%, transparent 62%);
  pointer-events: none;
}

/* Floating 3D Callout Tags (hover forward in Z-space) */
.tag-3d {
  position: absolute;
  left: 50%;
  bottom: -24%;
  white-space: nowrap;
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid rgba(255, 140, 82, 0.38);
  background: rgba(18, 22, 33, 0.88);
  color: #ffd0b0;
  font-size: clamp(10px, 0.88vw, 12px);
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
  transform: translate3d(-50%, 10px, 34px) scale(0.85);
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
}

.tag-social {
  left: 64%;
  bottom: 2%;
}

/* ==========================================================================
   STATION 1: TRUE 3D POST CARD (x = 12.33%, y = 50%)
   ========================================================================== */

.node-post-3d {
  left: 12.33%;
  top: 50%;
  width: 12.5%;
  height: 33.3%;
  margin-left: -6.25%;
  margin-top: -16.65%;
}

.card-3d-slab {
  position: absolute;
  inset: 0;
  border-radius: clamp(12px, 1.5vw, 20px);
}

.post-slab-back {
  background: rgba(255, 100, 32, 0.24);
  filter: blur(18px);
  transform: translate3d(0, 14px, -22px);
}

.post-slab-mid {
  background: linear-gradient(145deg, #cfd6e2, #9aa5b6);
  transform: translateZ(-8px);
}

.post-face {
  position: absolute;
  inset: 0;
  padding: 10%;
  border-radius: clamp(12px, 1.5vw, 20px);
  background: linear-gradient(160deg, #ffffff 0%, #f3f6fa 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.38);
  transform-style: preserve-3d;
  display: flex;
  flex-direction: column;
  gap: 10%;
}

.post-media-3d {
  width: 100%;
  height: 52%;
  border-radius: clamp(7px, 0.9vw, 12px);
  background: linear-gradient(135deg, #ff9154 0%, #ff5d1d 100%);
  box-shadow: 0 10px 22px rgba(255, 96, 30, 0.42);
  transform: translateZ(18px);
  overflow: hidden;
  will-change: transform, opacity;
}

.post-lines-3d {
  display: flex;
  flex-direction: column;
  gap: 8px;
  transform: translateZ(10px);
}

.p-line {
  display: block;
  height: clamp(5px, 0.6vw, 8px);
  border-radius: 999px;
  transform-origin: left center;
}

.p-line-1 { width: 100%; background: #c5cedb; }
.p-line-2 { width: 78%; background: #dce2eb; }
.p-line-3 { width: 52%; background: linear-gradient(90deg, #ff8d52, #ff621f); }

/* Flying 3D Mini-Post */
.flying-post-3d {
  position: absolute;
  left: 0;
  top: 0;
  width: 4.4%;
  height: 11.4%;
  margin-left: -2.2%;
  margin-top: -5.7%;
  padding: 0.5%;
  border-radius: clamp(6px, 0.7vw, 10px);
  background: #ffffff;
  border: 1.5px solid #ff7b3b;
  box-shadow: 0 0 24px rgba(255, 107, 44, 0.72), 0 10px 22px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  gap: 8%;
  opacity: 0;
  pointer-events: none;
  transform-style: preserve-3d;
  will-change: transform, opacity;
}

.flying-post-media {
  width: 100%;
  height: 55%;
  border-radius: 4px;
  background: linear-gradient(135deg, #ff8e4d, #ff5416);
}

.flying-line {
  display: block;
  width: 100%;
  height: 11%;
  border-radius: 99px;
  background: #cbd3df;
}

.flying-line-short {
  width: 65%;
  background: #ff8e4d;
}

/* ==========================================================================
   STATION 2: TRUE 3D MOBILE APP / CHAT HUB (x = 38%, y = 50%)
   ========================================================================== */

.node-app-3d {
  left: 38%;
  top: 50%;
  width: 13.8%;
  height: 50%;
  margin-left: -6.9%;
  margin-top: -25%;
}

.app-ring-3d {
  position: absolute;
  inset: -4%;
  border-radius: clamp(18px, 2.4vw, 34px);
  border: 2.5px solid #ff6b2c;
  box-shadow: 0 0 24px rgba(255, 107, 44, 0.55);
  transform: translateZ(16px);
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
}

.app-ring-3d-2 {
  border-color: #ffad78;
  transform: translateZ(30px);
}

.phone-slab-back {
  position: absolute;
  inset: 0;
  border-radius: clamp(16px, 2.2vw, 30px);
  background: linear-gradient(155deg, #1b2130, #0d1018);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.65);
  transform: translateZ(-16px);
}

.phone-slab-rim {
  position: absolute;
  inset: -1px;
  border-radius: clamp(16px, 2.2vw, 30px);
  background: linear-gradient(145deg, #4b5569 0%, #232a38 50%, #ff7d3c 100%);
  transform: translateZ(-7px);
}

.phone-face {
  position: absolute;
  inset: 0;
  padding: 7%;
  border-radius: clamp(16px, 2.2vw, 30px);
  background: linear-gradient(165deg, #1c2231 0%, #111520 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4%;
  transform-style: preserve-3d;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.node-app-3d.is-synced .phone-face {
  border-color: rgba(255, 122, 56, 0.72);
  box-shadow: 0 0 36px rgba(255, 100, 32, 0.34);
}

.phone-notch {
  width: 30%;
  height: 2.4%;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.2);
}

.phone-screen {
  position: relative;
  width: 100%;
  flex: 1;
  border-radius: clamp(10px, 1.3vw, 18px);
  background: linear-gradient(180deg, #f8f9fc 0%, #eef1f7 100%);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-bottom: 7%;
  transform: translateZ(6px);
}

.phone-topbar {
  height: 19%;
  padding: 0 10%;
  background: linear-gradient(125deg, #ff8747, #ff5416);
  display: flex;
  align-items: center;
  gap: 8%;
}

.phone-avatar {
  width: 14%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
}

.phone-bar-line {
  width: 48%;
  height: 22%;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.85);
}

.chat-msg-muted {
  width: 58%;
  height: 13%;
  margin: 8% 0 auto 8%;
  padding: 0 8%;
  border-radius: 10px;
  background: #e1e6ef;
  display: flex;
  align-items: center;
}

.chat-msg-muted span {
  width: 72%;
  height: 26%;
  border-radius: 99px;
  background: #b7c1d1;
}

.phone-input {
  width: 84%;
  height: 14%;
  margin: 0 auto;
  padding: 0 5% 0 9%;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #dfe5ee;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.input-line {
  width: 52%;
  height: 26%;
  border-radius: 99px;
  background: #d8dfe9;
}

.input-send {
  width: 20%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--orange);
  display: grid;
  place-items: center;
}

.phone-home-bar {
  width: 28%;
  height: 1.8%;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.26);
}

/* Popped-Out 3D Orange Chat Bubble hovering in front of Phone Glass */
.app-bubble-3d {
  position: absolute;
  left: 16%;
  right: 9%;
  top: 47%;
  height: 19%;
  padding: 5.5%;
  border-radius: clamp(8px, 1vw, 14px);
  background: linear-gradient(135deg, #ff8b4a 0%, #ff5416 100%);
  box-shadow:
    0 16px 32px rgba(255, 92, 24, 0.55),
    0 2px 0 rgba(255, 255, 255, 0.3) inset;
  display: flex;
  align-items: center;
  gap: 8%;
  opacity: 0;
  transform: translateZ(32px);
  will-change: transform, opacity;
}

.bubble-thumb {
  width: 34%;
  height: 100%;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.92);
}

.bubble-lines {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.bubble-lines span {
  display: block;
  height: clamp(4px, 0.45vw, 6px);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.92);
}

.bubble-lines span.short {
  width: 68%;
  background: rgba(255, 224, 206, 0.8);
}

.tag-app {
  bottom: -15%;
}

/* ==========================================================================
   STATION 3: 4 FLOATING 3D SOCIAL CHANNEL CUBES (x = 64%)
   ========================================================================== */

.social-3d {
  left: 64%;
  width: 7.2%;
  height: 16%;
  margin-left: -3.6%;
  margin-top: -8%;
}

.social-3d-0 { top: 19.26%; }
.social-3d-1 { top: 39.63%; }
.social-3d-2 { top: 60.37%; }
.social-3d-3 { top: 80.74%; }

.social-slab-back {
  position: absolute;
  inset: 0;
  border-radius: clamp(12px, 1.5vw, 20px);
  background: rgba(255, 255, 255, 0.08);
  transform: translateZ(-10px);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.social-face {
  position: absolute;
  inset: 0;
  border-radius: clamp(12px, 1.5vw, 20px);
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.04) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: rgba(255, 255, 255, 0.56);
  display: grid;
  place-items: center;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.45);
  transform-style: preserve-3d;
  transition: border-color 0.32s ease, background 0.32s ease, color 0.32s ease, box-shadow 0.32s ease;
}

.social-svg {
  transform: translateZ(14px);
}

.social-3d.is-active .social-slab-back {
  background: rgba(255, 100, 32, 0.32);
  box-shadow: 0 14px 36px rgba(255, 100, 32, 0.42);
}

.social-3d.is-active .social-face {
  border-color: rgba(255, 134, 72, 0.85);
  background: linear-gradient(155deg, rgba(255, 126, 62, 0.28) 0%, rgba(255, 86, 20, 0.12) 100%);
  color: #ffffff;
  box-shadow:
    0 18px 40px rgba(255, 92, 24, 0.38),
    0 1px 0 rgba(255, 255, 255, 0.35) inset;
}

.social-check-3d {
  position: absolute;
  top: -10%;
  right: -10%;
  width: 30%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff9052, #ff5214);
  box-shadow: 0 6px 16px rgba(255, 96, 30, 0.6);
  display: grid;
  place-items: center;
  transform: translateZ(26px) scale(0.01);
  opacity: 0;
  will-change: transform, opacity;
}

/* ==========================================================================
   STATION 4: TRUE 3D VOLUMETRIC GROWTH PLINTH (x = 86.5%, y = 50%)
   ========================================================================== */

.node-growth-3d {
  left: 86.5%;
  top: 50%;
  width: 22.5%;
  height: 54%;
  margin-left: -11.25%;
  margin-top: -27%;
}

.growth-slab-back {
  position: absolute;
  inset: 0;
  border-radius: clamp(16px, 2vw, 26px);
  background: rgba(255, 100, 32, 0.18);
  filter: blur(24px);
  transform: translate3d(0, 18px, -24px);
}

.growth-slab-rim {
  position: absolute;
  inset: -1px;
  border-radius: clamp(16px, 2vw, 26px);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.22), rgba(255, 107, 44, 0.55));
  transform: translateZ(-9px);
}

.growth-face {
  position: absolute;
  inset: 0;
  padding: 4%;
  border-radius: clamp(16px, 2vw, 26px);
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(160deg, rgba(26, 32, 46, 0.92) 0%, rgba(14, 18, 28, 0.96) 100%);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.56);
  transform-style: preserve-3d;
}

.growth-svg {
  display: block;
  overflow: visible;
  transform: translateZ(16px);
}

/* Popped-Out 3D Peak Growth Badge (+44px in Z space) */
.growth-badge-3d {
  position: absolute;
  top: -7%;
  right: -5%;
  transform: translateZ(46px) scale(0.4);
  opacity: 0;
  will-change: transform, opacity;
}

.peak-ripple-3d {
  position: absolute;
  inset: -6px;
  border-radius: 999px;
  border: 2px solid #ff7d3c;
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
}

.peak-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 15px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff9152 0%, #ff5416 100%);
  color: #ffffff;
  font-size: clamp(12px, 1.15vw, 16px);
  font-weight: 800;
  letter-spacing: -0.02em;
  box-shadow: 0 14px 32px rgba(255, 92, 24, 0.58);
}

/* ==========================================================================
   Features & Impact Sections
   ========================================================================== */

.eyebrow {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
}

.eyebrow-light {
  color: var(--orange-warm);
}

.section-title {
  margin: 0;
  font-size: clamp(1.65rem, 3.2vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.14;
  color: var(--ink);
}

.features-section {
  padding: 108px 0 76px;
}

.section-intro {
  max-width: 600px;
  margin-bottom: 48px;
}

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

.feature-card {
  padding: 34px 30px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background-color: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-sm);
  transition: transform 0.26s ease, box-shadow 0.26s ease, border-color 0.26s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--orange-border);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 22px;
  border-radius: 15px;
  background-color: var(--orange-soft);
  color: var(--orange);
}

.feature-card h3 {
  margin: 0 0 10px;
  font-size: 18.5px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.feature-card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink-muted);
}

/* Dark Closing Conversion Banner */
.results-section {
  padding: 20px 0 104px;
}

.results-banner {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  align-items: center;
  gap: 44px;
  padding: clamp(34px, 5vw, 60px);
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, #121722 0%, #090c12 100%);
  color: #ffffff;
  box-shadow: var(--shadow-lg);
}

.banner-glow {
  position: absolute;
  top: -120px;
  right: -80px;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 104, 38, 0.38) 0%, rgba(255, 104, 38, 0) 70%);
  pointer-events: none;
}

.banner-content {
  position: relative;
  z-index: 1;
}

.banner-title {
  margin: 0 0 14px;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.banner-copy {
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15.5px;
  max-width: 460px;
}

.banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.banner-stats {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
}

.stat-box {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: rgba(255, 255, 255, 0.05);
}

.stat-value {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--orange-bright);
}

.stat-label {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.76);
  text-align: right;
}

/* ==========================================================================
   Footer & Demo Modal
   ========================================================================== */

.site-footer {
  padding: 28px 0 42px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 13.5px;
  color: var(--ink-muted);
}

.footer-brand {
  font-weight: 700;
  color: var(--ink);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
  background-color: rgba(10, 13, 20, 0.62);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.modal-backdrop[hidden] {
  display: none;
}

.modal-card {
  position: relative;
  width: min(100%, 420px);
  padding: 32px;
  border-radius: var(--radius-lg);
  background-color: var(--bg-surface);
  box-shadow: var(--shadow-lg);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background-color: #f3f5f8;
  color: var(--ink-muted);
  cursor: pointer;
}

.modal-close:hover {
  background-color: var(--orange-soft);
  color: var(--orange);
}

.modal-card h3 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.modal-desc {
  margin: 0 0 22px;
  font-size: 14px;
  color: var(--ink-muted);
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.field-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.field-input {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 6px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
}

.modal-success {
  margin: 14px 0 0;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background-color: var(--orange-soft);
  color: var(--orange-deep);
  font-size: 14px;
  font-weight: 600;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 960px) {
  .features-grid,
  .results-banner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .primary-nav {
    position: fixed;
    top: 70px;
    left: 16px;
    right: 16px;
    padding: 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background-color: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-md);
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .site-header.is-dark .primary-nav {
    border-color: rgba(255, 255, 255, 0.14);
    background-color: rgba(16, 20, 30, 0.96);
  }

  .primary-nav.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .nav-link {
    display: block;
    padding: 10px 8px;
  }

  .nav-link::after {
    display: none;
  }

  .btn-signin {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero-metrics {
    flex-direction: column;
    gap: 14px;
    width: 100%;
  }

  .metric-divider {
    width: 60%;
    height: 1px;
  }

  .workflow-section {
    height: 310vh;
  }

  .stage-3d-world {
    width: 96vw;
  }

  .tag-3d {
    display: none;
  }

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .badge-dot,
  .scroll-wheel {
    animation: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
