/* ==========================================================================
   Onbops Design System & 3D Interactive Styles
   ========================================================================== */

/* --- CSS Reset & Base Variables --- */
:root {
  --bg-studio-1: #ebedf0;
  --bg-studio-2: #d6d9de;
  --bg-studio-3: #c2c6cd;
  
  --color-brand-black: #0c0e12;
  --color-text-primary: #121418;
  --color-text-muted: #4e535c;
  --color-text-light: #7c828d;

  --color-sky-50: #f0f9ff;
  --color-sky-100: #e0f2fe;
  --color-sky-200: #bae6fd;
  --color-sky-300: #7dd3fc;
  --color-sky-400: #38bdf8;
  --color-sky-500: #0ea5e9;
  --color-sky-600: #0284c7;
  --color-sky-700: #0369a1;
  
  --card-bg-start: #fbfbfc;
  --card-bg-end: #eceef1;
  --card-border: rgba(255, 255, 255, 0.85);
  --card-border-outer: rgba(0, 0, 0, 0.06);

  --nav-glass-bg: rgba(255, 255, 255, 0.68);
  --nav-border: rgba(255, 255, 255, 0.75);
  
  --font-serif: 'Bodoni Moda', 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html, body {
  width: 100%;
  min-height: 100vh;
  background-color: #ffffff;
  font-family: var(--font-sans);
  color: var(--color-text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
  padding: 0;
  overflow-x: clip;
}

/* --- Ambient Periwinkle-Indigo Gradient Backdrop (React Bits Style) --- */
.bg-gradient-layer {
  position: fixed;
  top: -90px;
  left: 0;
  width: 100vw;
  height: calc(100vh + 90px);
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
  background-color: #ffffff;
}

.bg-gradient-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  transform: scale(1.12);
  transform-origin: center center;
  filter: saturate(1.08);
}

.bg-gradient-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 35%;
  background: linear-gradient(to top, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.4) 50%, transparent 100%);
  pointer-events: none;
}

/* --- WebGL Fluid Simulation Canvas (Dark Morphing Fluid Aura — Subtle Whole Site) --- */
.fluid-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  mix-blend-mode: multiply;
  filter: blur(32px);
  -webkit-filter: blur(32px);
  z-index: 2;
  opacity: 0.65;
}

/* --- Full-Screen Studio Content Canvas --- */
.studio-frame {
  width: 100%;
  min-height: 100vh;
  position: relative;
  overflow: visible;
  display: flex;
  flex-direction: column;
  z-index: 10;
}

/* ==========================================================================
   Floating Pill Navigation Bar
   ========================================================================== */
.navbar-wrapper {
  position: relative;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding-top: 32px;
  padding-left: 24px;
  padding-right: 24px;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 780px;
  height: 54px;
  padding: 6px 12px 6px 18px;
  background: var(--nav-glass-bg);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-radius: 9999px;
  border: 1px solid var(--nav-border);
  box-shadow: 
    0 16px 36px -8px rgba(0, 0, 0, 0.06),
    0 4px 12px -2px rgba(0, 0, 0, 0.03),
    inset 0 1px 1.5px rgba(255, 255, 255, 0.85);
  transition: all 0.3s ease;
}

.navbar:hover {
  box-shadow: 
    0 20px 42px -6px rgba(0, 0, 0, 0.09),
    0 6px 16px -2px rgba(0, 0, 0, 0.04),
    inset 0 1px 1.5px rgba(255, 255, 255, 0.95);
  border-color: rgba(255, 255, 255, 0.95);
}

/* Brand */
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--color-brand-black);
}

.brand-icon {
  width: 25px;
  height: 25px;
  background-color: var(--color-brand-black);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s var(--ease-spring);
}

.nav-brand:hover .brand-icon {
  transform: rotate(45deg) scale(1.08);
}

.sparkle-svg {
  width: 13px;
  height: 13px;
}

.brand-name {
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--color-brand-black);
}

/* Navigation Links */
.nav-links {
  display: flex;
  list-style: none;
  gap: 26px;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color 0.2s ease, transform 0.2s ease;
  position: relative;
  padding: 4px 2px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 1.5px;
  background: var(--color-brand-black);
  transition: width 0.25s var(--ease-spring), left 0.25s var(--ease-spring);
}

.nav-link:hover {
  color: var(--color-brand-black);
}

.nav-link:hover::after {
  width: 100%;
  left: 0;
}

/* Right Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-signin {
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color 0.2s ease;
}

.nav-signin:hover {
  color: var(--color-brand-black);
}

.btn-get-started {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-brand-black);
  color: #ffffff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 9999px;
  letter-spacing: -0.01em;
  transition: transform 0.25s var(--ease-spring), background-color 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.btn-get-started:hover {
  background-color: #22252a;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-get-started:active {
  transform: translateY(0);
}

/* ==========================================================================
   Main Hero Section Layout
   ========================================================================== */
.hero-container {
  flex: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  align-items: center;
  gap: 50px;
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
  padding: 48px 64px 60px 72px;
  position: relative;
  z-index: 10;
}

/* --------------------------------------------------------------------------
   Hero Left Column
   -------------------------------------------------------------------------- */
.hero-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 580px;
}

/* Stories Pill Badge */
.stories-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-bottom: 28px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  padding: 4px 14px 4px 5px;
  border-radius: 9999px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s var(--ease-spring), background-color 0.2s ease;
}

.stories-badge:hover {
  transform: translateX(2px);
  background: rgba(255, 255, 255, 0.8);
}

.badge-icon {
  width: 25px;
  height: 25px;
  background: var(--color-brand-black);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.14);
}

.badge-text {
  font-size: 14px;
  font-weight: 500;
  color: #1a1e26;
  letter-spacing: -0.01em;
}

.badge-underlined {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3.5px;
  text-decoration-thickness: 1.2px;
  color: var(--color-brand-black);
}

/* Headline & Floating Plus */
.headline-container {
  position: relative;
  display: inline-block;
  margin-bottom: 24px;
}

.floating-plus {
  position: absolute;
  top: -38px;
  right: 58px;
  width: 22px;
  height: 22px;
  color: #121418;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: floatLevitate 5s ease-in-out infinite alternate;
  pointer-events: none;
  transition: color 0.35s ease, filter 0.35s ease;
}

.floating-plus.is-highlighted {
  color: #ffffff;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.9));
}

.plus-svg {
  width: 20px;
  height: 20px;
}

@keyframes floatLevitate {
  0% { transform: translateY(0px) scale(1); opacity: 0.9; }
  50% { transform: translateY(-4px) scale(1.06); opacity: 1; }
  100% { transform: translateY(2px) scale(1); opacity: 0.9; }
}

.hero-title {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  font-family: 'Playfair Display', 'Bodoni Moda', Georgia, serif;
  font-size: clamp(5rem, 8vw, 7.5rem);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.035em;
  user-select: none;
  cursor: default;
}

.hero-title .char {
  display: inline-block;
  color: #06060e;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.2s ease, text-shadow 0.2s ease;
  will-change: transform;
}

.hero-title .char:hover {
  transform: translateY(-12px) scale(1.14) rotate(-3deg);
  color: #6366f1 !important;
  text-shadow: 0 8px 24px rgba(99, 102, 241, 0.5) !important;
}

/* Fluid illumination reaction */
.hero-title.is-highlighted .char {
  color: #ffffff !important;
  text-shadow: 
    0 0 14px rgba(255, 255, 255, 0.75),
    0 0 32px rgba(255, 255, 255, 0.35) !important;
}

.hero-title.is-highlighted .char:hover {
  transform: translateY(-12px) scale(1.14) rotate(-3deg);
  color: #a5b4fc !important;
  text-shadow: 
    0 0 20px rgba(165, 180, 252, 0.9),
    0 0 40px rgba(99, 102, 241, 0.7) !important;
}

/* Subheading */
.hero-description {
  font-size: 1.22rem;
  line-height: 1.52;
  font-weight: 500;
  color: #2e333d;
  max-width: 460px;
  letter-spacing: -0.015em;
  margin-bottom: 28px;
  transition: color 0.4s cubic-bezier(0.16, 1, 0.3, 1), text-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: color, text-shadow;
}

/* Thin Divider Line */
.hero-divider {
  width: 100%;
  max-width: 440px;
  height: 1px;
  background: rgba(18, 20, 24, 0.16);
  margin-bottom: 32px;
  transition: background 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-divider.is-highlighted {
  background: rgba(255, 255, 255, 0.45) !important;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.4) !important;
}

/* Actions Row */
.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-brand-black);
  color: #ffffff;
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 600;
  padding: 14px 30px;
  border-radius: 9999px;
  letter-spacing: -0.015em;
  transition: all 0.28s var(--ease-spring);
  box-shadow: 
    0 10px 24px -4px rgba(0, 0, 0, 0.22),
    0 3px 8px -1px rgba(0, 0, 0, 0.12);
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  background-color: #1e2229;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 
    0 14px 30px -4px rgba(0, 0, 0, 0.3),
    0 6px 12px -2px rgba(0, 0, 0, 0.16);
}

.btn-primary:active {
  transform: translateY(0) scale(0.99);
}

.link-pricing {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 600;
  color: #16191f;
  letter-spacing: -0.01em;
  transition: transform 0.2s var(--ease-spring), color 0.4s cubic-bezier(0.16, 1, 0.3, 1), text-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  padding: 4px 0;
}

.arrow-diagonal {
  display: inline-block;
  font-size: 16px;
  transition: transform 0.25s var(--ease-spring);
}

.link-pricing:hover {
  color: #000000;
}

.link-pricing:hover .arrow-diagonal {
  transform: translate(3px, -3px);
}

.link-pricing.is-highlighted {
  color: #ffffff !important;
  text-shadow: 
    0 0 16px rgba(255, 255, 255, 0.9),
    0 0 32px rgba(255, 255, 255, 0.5) !important;
}

/* ==========================================================================
   Hero Right: 3D Perspective Stage & Tilted Template Card
   ========================================================================== */
.hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  position: relative;
}

/* 3D Perspective Viewport */
.perspective-stage {
  perspective: 1250px;
  perspective-origin: 40% 50%;
  width: 100%;
  max-width: 530px;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --------------------------------------------------------------------------
   The 3D Tilted Template Card
   Key instruction:
   - "the templete on right make it tilte the left side of templete should go inside web"
   - In 3D: rotateY(20deg) angles left side inward into screen depth (-Z)
   - "also add semianimation when cursor is hover over it will get normal"
   - At rest: Ambient floating semi-animation maintaining the tilt.
   - On Hover: Smoothly straightens out to rotateY(0deg) rotateX(0deg) scale(1.02).
   -------------------------------------------------------------------------- */
.template-card {
  position: relative;
  width: 100%;
  height: 440px;
  background: linear-gradient(140deg, var(--card-bg-start) 0%, #edf0f3 50%, var(--card-bg-end) 100%);
  border-radius: 32px;
  border: 1px solid var(--card-border);
  box-shadow: 
    -18px 32px 55px -8px rgba(0, 0, 0, 0.16),
    -6px 14px 24px -4px rgba(0, 0, 0, 0.08),
    inset 0 1.5px 2px rgba(255, 255, 255, 0.95),
    inset 0 0 0 1px rgba(0, 0, 0, 0.04);
  transform-style: preserve-3d;
  cursor: pointer;
  overflow: hidden;
  user-select: none;
  
  /* Left side recedes deep into the web */
  transform: rotateY(-22deg) rotateX(4deg) rotateZ(1deg) translateZ(0);
  
  /* Semi-animation: Ambient gentle levitation while preserving tilt */
  animation: ambientFloat 6.5s ease-in-out infinite alternate;
  
  /* Buttery spring transition when normalizing on hover */
  transition: 
    transform 0.75s var(--ease-spring),
    box-shadow 0.75s var(--ease-spring),
    border-color 0.4s ease;
}

/* Semi-Animation Keyframe: Gentle floating/breathing at tilt */
@keyframes ambientFloat {
  0% {
    transform: rotateY(-22deg) rotateX(4.5deg) rotateZ(1.2deg) translateY(-5px) translateZ(0);
    box-shadow: 
      -20px 36px 60px -8px rgba(0, 0, 0, 0.17),
      -8px 14px 26px -4px rgba(0, 0, 0, 0.08),
      inset 0 1.5px 2px rgba(255, 255, 255, 0.95);
  }
  50% {
    transform: rotateY(-19.5deg) rotateX(3.5deg) rotateZ(0.8deg) translateY(4px) translateZ(8px);
    box-shadow: 
      -16px 28px 50px -8px rgba(0, 0, 0, 0.14),
      -5px 12px 22px -4px rgba(0, 0, 0, 0.07),
      inset 0 1.5px 2px rgba(255, 255, 255, 0.95);
  }
  100% {
    transform: rotateY(-22deg) rotateX(4.5deg) rotateZ(1.2deg) translateY(-5px) translateZ(0);
    box-shadow: 
      -20px 36px 60px -8px rgba(0, 0, 0, 0.17),
      -8px 14px 26px -4px rgba(0, 0, 0, 0.08),
      inset 0 1.5px 2px rgba(255, 255, 255, 0.95);
  }
}

/* --------------------------------------------------------------------------
   Hover Normalization State:
   Straightens out completely, rises slightly, and pauses ambient oscillation
   -------------------------------------------------------------------------- */
.template-card:hover,
.template-card.is-normalized {
  animation-play-state: paused;
  transform: rotateY(0deg) rotateX(0deg) rotateZ(0deg) translateY(-8px) scale(1.025) translateZ(30px);
  box-shadow: 
    0 35px 75px -12px rgba(0, 0, 0, 0.2),
    0 15px 30px -6px rgba(0, 0, 0, 0.1),
    inset 0 1.5px 2.5px rgba(255, 255, 255, 1),
    inset 0 0 0 1px rgba(0, 0, 0, 0.05);
  border-color: rgba(255, 255, 255, 1);
}

/* --------------------------------------------------------------------------
   Template Card Internal UI: High-end Minimalist Studio Showcase
   -------------------------------------------------------------------------- */
.template-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px 14px 24px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(12px);
}

.template-controls {
  display: flex;
  align-items: center;
  gap: 7px;
}

.control-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.18);
  transition: background-color 0.25s ease;
}

.template-card:hover .control-dot:nth-child(1) { background-color: #ff5f56; }
.template-card:hover .control-dot:nth-child(2) { background-color: #ffbd2e; }
.template-card:hover .control-dot:nth-child(3) { background-color: #27c93f; }

.template-search-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(0, 0, 0, 0.04);
  padding: 4px 14px;
  border-radius: 9999px;
  font-size: 11.5px;
  font-weight: 500;
  color: #64748b;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.search-mini-icon {
  width: 11px;
  height: 11px;
  color: #94a3b8;
}

.template-status-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 600;
  color: #10b981;
  background: rgba(16, 185, 129, 0.08);
  padding: 3px 10px;
  border-radius: 9999px;
}

.status-indicator {
  width: 6px;
  height: 6px;
  background-color: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 6px #10b981;
  animation: blinkStatus 2s infinite ease-in-out;
}

@keyframes blinkStatus {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

/* Card Body Canvas */
.template-body {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  height: calc(100% - 56px);
}

/* Subtle Technical Grid Lines */
.template-grid {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: 32px 32px;
  background-image: 
    linear-gradient(to right, rgba(0, 0, 0, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.02) 1px, transparent 1px);
  pointer-events: none;
}

/* Micro Metric Cards */
.card-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  position: relative;
  z-index: 2;
}

.micro-card {
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 16px;
  padding: 12px 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
  transition: transform 0.3s var(--ease-spring), background-color 0.3s ease;
}

.template-card:hover .micro-card {
  background: rgba(255, 255, 255, 0.82);
}

.micro-label {
  font-size: 11px;
  font-weight: 500;
  color: #64748b;
  margin-bottom: 4px;
}

.micro-value {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-brand-black);
  margin-bottom: 8px;
}

.micro-bar {
  width: 100%;
  height: 4px;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 9999px;
  overflow: hidden;
}

.micro-bar-fill {
  height: 100%;
  background: #11141a;
  border-radius: 9999px;
  transition: width 0.8s var(--ease-smooth);
}

.micro-bar-fill.highlight {
  background: linear-gradient(90deg, #11141a 0%, #4b5563 100%);
}

/* Main Vector Chart Preview */
.preview-canvas {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 18px;
  padding: 14px 16px 12px 16px;
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
}

.canvas-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.canvas-title {
  font-size: 12px;
  font-weight: 600;
  color: #1e293b;
}

.canvas-badge {
  font-size: 10px;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.05);
  color: #475569;
  padding: 2px 8px;
  border-radius: 9999px;
}

.canvas-chart {
  width: 100%;
  height: 95px;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

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

.chart-node {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.25));
  animation: pulseNode 3s infinite ease-in-out alternate;
}

@keyframes pulseNode {
  0% { transform: scale(1); }
  100% { transform: scale(1.25); }
}

/* Feed / Stream Preview */
.stream-preview {
  position: relative;
  z-index: 2;
}

.stream-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 14px;
  padding: 10px 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.stream-avatar {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--color-brand-black);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.sparkle-sm {
  width: 13px;
  height: 13px;
}

.stream-info {
  flex: 1;
}

.stream-title {
  font-size: 12px;
  font-weight: 600;
  color: #1e293b;
}

.stream-sub {
  font-size: 10.5px;
  color: #64748b;
}

.stream-tag {
  font-size: 10.5px;
  font-weight: 600;
  color: #0284c7;
  background: rgba(2, 132, 199, 0.08);
  padding: 2px 8px;
  border-radius: 9999px;
}

/* Dynamic 3D Glare Overlay */
.card-glare {
  position: absolute;
  top: -20%;
  right: -20%;
  width: 140%;
  height: 140%;
  background: radial-gradient(circle at 75% 30%, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0.08) 45%, transparent 70%);
  pointer-events: none;
  opacity: 0.65;
  transition: opacity 0.5s ease, transform 0.5s ease;
  z-index: 10;
}

.template-card:hover .card-glare {
  opacity: 0.85;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0.08) 50%, transparent 75%);
}

/* Left recessed edge depth shadow effect (left side goes inside web) */
.card-depth-overlay {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 90px;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.065) 0%, rgba(0, 0, 0, 0.02) 60%, transparent 100%);
  pointer-events: none;
  transition: opacity 0.5s ease;
  z-index: 9;
}

.template-card:hover .card-depth-overlay {
  opacity: 0;
}

/* Subtle Hover Hint Tooltip */
.tilt-badge-hint {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(8px);
  padding: 3px 10px;
  border-radius: 9999px;
  font-size: 10px;
  font-weight: 500;
  color: #64748b;
  opacity: 0.75;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 15;
  pointer-events: none;
}

.hint-dot {
  width: 5px;
  height: 5px;
  background: #0ea5e9;
  border-radius: 50%;
}

.template-card:hover .tilt-badge-hint {
  opacity: 0;
  transform: translateX(-50%) translateY(6px);
}

/* --------------------------------------------------------------------------
   Hero Heading (semantic H1 below animated brand name)
   -------------------------------------------------------------------------- */
.hero-heading {
  font-family: var(--font-sans);
  font-size: clamp(1.45rem, 2.6vw, 1.95rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--color-text-primary);
  max-width: 520px;
  margin-bottom: 14px;
}

/* --------------------------------------------------------------------------
   Micro-card sub-line (replaces progress bars for order metadata)
   -------------------------------------------------------------------------- */
.micro-sub {
  font-size: 10.5px;
  font-weight: 500;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* --------------------------------------------------------------------------
   Interactive Workflow Step Tracker
   -------------------------------------------------------------------------- */
.demo-workflow {
  display: flex;
  align-items: flex-start;
  padding: 8px 0 4px 0;
}

.demo-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.demo-step-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.1);
  border: 2px solid rgba(0, 0, 0, 0.06);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.demo-step.is-active .demo-step-dot {
  background: #111111;
  border-color: #111111;
  box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.12);
}

.demo-step.is-completed .demo-step-dot {
  background: #10b981;
  border-color: #10b981;
}

.demo-step-label {
  font-size: 9.5px;
  font-weight: 600;
  color: #94a3b8;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.demo-step.is-active .demo-step-label {
  color: #111111;
}

.demo-step.is-completed .demo-step-label {
  color: #10b981;
}

.demo-step-line {
  flex: 1;
  height: 2px;
  background: rgba(0, 0, 0, 0.06);
  margin: 4px 4px 0 4px;
  transition: background 0.4s ease;
  min-width: 12px;
}

.demo-step-line.is-filled {
  background: #10b981;
}

/* Action Button inside demo card */
.demo-action-btn {
  display: block;
  width: 100%;
  padding: 8px 16px;
  margin-top: 8px;
  background: #111111;
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  letter-spacing: -0.01em;
  position: relative;
  z-index: 5;
}

.demo-action-btn:hover {
  background: #1e2229;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.demo-action-btn:active {
  transform: translateY(0) scale(0.98);
}

.demo-action-btn:focus-visible {
  outline: 2px solid #6366f1;
  outline-offset: 2px;
}

@keyframes demoBtnPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.015); }
  100% { transform: scale(1); }
}

.demo-btn-pulse {
  animation: demoBtnPulse 0.3s ease;
}

/* --------------------------------------------------------------------------
   Stream tag color variants
   -------------------------------------------------------------------------- */
.stream-tag--pending {
  color: #d97706;
  background: rgba(217, 119, 6, 0.1);
}

.stream-tag--success {
  color: #059669;
  background: rgba(5, 150, 105, 0.1);
}

.stream-tag--active {
  color: #0284c7;
  background: rgba(2, 132, 199, 0.08);
}

.stream-tag--tally {
  color: #1e293b;
  background: rgba(30, 41, 59, 0.1);
  font-weight: 700;
}

/* ==========================================================================
   Section 2: Product Features — React Bits <BorderGlow /> Component
   ========================================================================== */

.features-section {
  width: 100%;
  padding: 60px 0 80px 0;
  position: relative;
  z-index: 10;
}

.features-section .section-header {
  padding: 0 32px;
  max-width: 900px;
  margin: 0 auto 44px auto;
}

.border-glow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 28px;
  box-sizing: border-box;
}

/* React Bits <BorderGlow /> Card Container (Wider, sleeker, compact height + Premium Glassmorphism) */
.border-glow-card {
  --bg-x: 50%;
  --bg-y: 50%;
  --bg-deg: 0deg;
  --bg-opacity: 0;
  position: relative;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  padding: 1.5px; /* For the border glow thickness */
  box-sizing: border-box;
  box-shadow: 
    0 20px 50px -12px rgba(0, 0, 0, 0.5),
    0 8px 24px -4px rgba(0, 0, 0, 0.3),
    inset 0 1px 1.5px 0 rgba(255, 255, 255, 0.25),
    inset 0 -1px 1px 0 rgba(0, 0, 0, 0.2);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, background 0.3s ease;
  cursor: default;
}

.border-glow-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 
    0 30px 60px -15px rgba(0, 0, 0, 0.6),
    0 12px 30px -4px rgba(99, 102, 241, 0.25),
    inset 0 1px 2px 0 rgba(255, 255, 255, 0.35);
}

/* Ambient Diffuse Backlight Glow */
.border-glow-glow {
  position: absolute;
  inset: -8px;
  border-radius: 32px;
  background: radial-gradient(
    circle 150px at var(--bg-x) var(--bg-y),
    rgba(192, 132, 252, 0.45) 0%,
    rgba(244, 114, 182, 0.35) 45%,
    rgba(56, 189, 248, 0.25) 70%,
    transparent 100%
  );
  opacity: var(--bg-opacity);
  filter: blur(20px);
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.2s ease;
}

/* Crisp Multi-Color Border Layer */
.border-glow-border {
  position: absolute;
  inset: 0;
  border-radius: 24px;
  padding: 1.5px;
  background: radial-gradient(
    circle 140px at var(--bg-x) var(--bg-y),
    #c084fc 0%,
    #f472b6 40%,
    #38bdf8 80%,
    rgba(255, 255, 255, 0.16) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 1;
  opacity: calc(0.35 + var(--bg-opacity) * 0.65);
  transition: opacity 0.15s ease;
}

/* Card Content Surface (Glassmorphic Translucent Frosted Layer) */
.border-glow-inner {
  position: relative;
  z-index: 2;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.07) 0%, rgba(20, 16, 30, 0.5) 45%, rgba(10, 8, 18, 0.7) 100%);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-radius: 22.5px;
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
  box-sizing: border-box;
  box-shadow: inset 0 1px 1.5px rgba(255, 255, 255, 0.2);
}

.glow-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: 18px;
}

.glow-card-icon svg {
  width: 22px;
  height: 22px;
}

.glow-card-icon.icon-purple {
  background: rgba(192, 132, 252, 0.12);
  color: #c084fc;
  border: 1px solid rgba(192, 132, 252, 0.25);
}

.glow-card-icon.icon-pink {
  background: rgba(244, 114, 182, 0.12);
  color: #f472b6;
  border: 1px solid rgba(244, 114, 182, 0.25);
}

.glow-card-icon.icon-blue {
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.25);
}

.glow-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  line-height: 1.25;
}

.glow-card-desc {
  font-size: 14px;
  line-height: 1.55;
  color: #94a3b8;
  letter-spacing: -0.01em;
  margin: 0;
}

@media (max-width: 1024px) {
  .border-glow-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .border-glow-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 0 20px;
  }
}

/* ==========================================================================
   Testimonials / Diff Section — 3D Vertical Marquee
   ========================================================================== */

.testimonials-section {
  width: 100%;
  padding: 100px 0 120px 0;
  position: relative;
  z-index: 10;
  overflow: hidden;
}

/* keep header text centred with inner padding */
.testimonials-section .section-header {
  padding: 0 32px;
  max-width: 900px;
  margin: 0 auto 50px auto;
}

/* Section Header */
.section-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  padding: 6px 16px 6px 8px;
  border-radius: 9999px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--color-text-muted);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.eyebrow-icon {
  width: 22px;
  height: 22px;
  background: var(--color-brand-black);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #0d0d11; /* Changed from white gradient to black */
}

.section-subtitle {
  font-size: 1.15rem;
  font-weight: 450;
  color: #4b5563; /* Changed from white to dark gray */
  max-width: 560px;
  line-height: 1.6;
  letter-spacing: -0.01em;
}

/* Fluid illumination highlights — universal per-element glow when fluid blob touches */
.is-highlighted {
  transition: color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              text-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              -webkit-text-fill-color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.35s ease,
              box-shadow 0.35s ease;
}

/* All generic text elements turn white */
h1.is-highlighted, h2.is-highlighted, h3.is-highlighted, 
h4.is-highlighted, h5.is-highlighted, h6.is-highlighted, 
p.is-highlighted, span.is-highlighted, li.is-highlighted, 
a.is-highlighted, label.is-highlighted, div.is-highlighted {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  text-shadow: 0 0 14px rgba(255, 255, 255, 0.75),
               0 0 32px rgba(255, 255, 255, 0.35) !important;
}

/* Specific elements that need background/border changes on highlight */
.section-eyebrow.is-highlighted {
  background: rgba(255, 255, 255, 0.95) !important;
  border-color: rgba(255, 255, 255, 1) !important;
  color: #0f172a !important;
  -webkit-text-fill-color: #0f172a !important;
  text-shadow: none !important;
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.5),
              0 4px 14px rgba(0, 0, 0, 0.04) !important;
}

/* Marquee Stage Wrapper */
.marquee-stage-wrapper {
  display: block;
  width: 100%;
  overflow: hidden;
  position: relative;
}

.marquee-3d-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 640px;
  margin: 0 auto;
  overflow: hidden;
  box-sizing: border-box;
  perspective: 1200px;
  transform-style: preserve-3d;
}

/* The 3D Slanted Grid Container (Shifted to Left Side) */
.marquee-grid {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 20px;
  transform: translateX(-160px) rotateX(24deg) rotateY(-18deg) rotateZ(16deg) scale(1.04);
  transform-style: preserve-3d;
  will-change: transform;
}

/* Columns — each is a large vertical scrolling lane in 3D */
.marquee-col {
  display: flex;
  flex-direction: column;
  width: 290px;
  height: 980px;
  overflow: hidden;
  position: relative;
  user-select: none;
  flex-shrink: 0;
}

.marquee-track {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  will-change: transform;
}

/* Testimonial Card (Crisp 60fps) */
.t-card {
  width: 100%;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 18px;
  padding: 18px 20px;
  box-shadow:
    0 16px 36px -8px rgba(0, 0, 0, 0.25),
    0 4px 12px -2px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
  cursor: default;
}

.t-card:hover {
  transform: translateY(-3px) scale(1.015);
  border-color: rgba(99, 102, 241, 0.5);
  box-shadow:
    0 22px 46px -10px rgba(0, 0, 0, 0.35),
    0 6px 16px -2px rgba(99, 102, 241, 0.25);
}

.t-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.t-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}

.t-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ffffff;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
  display: block;
}

.t-avatar-fallback {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--color-brand-black);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.t-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.t-name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.t-name {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.015em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.t-country-tag {
  font-size: 10.5px;
  font-weight: 500;
  color: #64748b;
  background: #f1f5f9;
  padding: 2px 7px;
  border-radius: 9999px;
  white-space: nowrap;
  flex-shrink: 0;
}

.t-username-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: #94a3b8;
}

.t-username {
  font-weight: 500;
  color: #64748b;
}

.t-dot {
  font-size: 10px;
  color: #cbd5e1;
}

.t-role {
  font-weight: 500;
  color: #6366f1;
}

.t-body {
  font-size: 13px;
  line-height: 1.5;
  color: #334155;
  letter-spacing: -0.01em;
  margin: 0;
  font-style: normal;
  font-weight: 450;
}

/* Gradient Fade Overlays (Top & Bottom seamless fade mask) */
.marquee-fade {
  position: absolute;
  pointer-events: none;
  z-index: 15;
}

.marquee-fade-top {
  inset-inline: 0;
  top: 0;
  height: 110px;
  background: linear-gradient(to bottom, rgba(7, 8, 18, 0.95) 0%, rgba(7, 8, 18, 0.4) 55%, transparent 100%);
}

.marquee-fade-bottom {
  inset-inline: 0;
  bottom: 0;
  height: 110px;
  background: linear-gradient(to top, rgba(7, 8, 18, 0.95) 0%, rgba(7, 8, 18, 0.4) 55%, transparent 100%);
}

.marquee-fade-left {
  display: none;
}

.marquee-fade-right {
  display: none;
}

@media (max-width: 1280px) {
  .marquee-col:nth-child(5) {
    display: none;
  }
}

@media (max-width: 1024px) {
  .marquee-col:nth-child(4),
  .marquee-col:nth-child(5) {
    display: none;
  }
}

@media (max-width: 640px) {
  .marquee-col:nth-child(3),
  .marquee-col:nth-child(4),
  .marquee-col:nth-child(5) {
    display: none;
  }
  .marquee-3d-stage {
    height: 520px;
  }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1120px) {
  .hero-container {
    grid-template-columns: 1fr;
    padding: 36px 40px 48px 40px;
    gap: 48px;
    text-align: center;
  }
  
  .hero-left {
    align-items: center;
    max-width: 100%;
  }

  .hero-divider {
    margin-left: auto;
    margin-right: auto;
  }

  .perspective-stage {
    max-width: 520px;
  }
}

@media (max-width: 768px) {
  .navbar-wrapper {
    padding-top: 18px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .navbar {
    padding: 6px 10px 6px 14px;
    height: 48px;
  }

  .nav-links {
    display: none;
  }

  .hero-container {
    padding: 24px 20px 40px 20px;
    gap: 36px;
  }

  .hero-title {
    font-size: 3.8rem;
  }

  .hero-description {
    font-size: 1.05rem;
  }

  .hero-heading {
    font-size: 1.35rem;
  }

  .demo-step-label {
    font-size: 8.5px;
  }

  .perspective-stage {
    height: 380px;
  }

  .template-card {
    height: 360px;
    transform: rotateY(-14deg) rotateX(3deg);
  }

  .testimonials-section {
    padding: 60px 16px 80px 16px;
  }

  .marquee-3d-stage {
    max-width: 100%;
    height: 480px;
    gap: 16px;
    padding: 0 8px;
  }

  .marquee-col {
    min-width: 0;
    max-width: 100%;
    width: 100%;
  }
}

@media (max-width: 1120px) {
  .testimonials-section {
    padding: 70px 24px 90px 24px;
  }
}

/* ==========================================================================
   React Bits: SplitText & ShinyText Components
   ========================================================================== */

/* SplitText Interactive Character Physics */
.split-char {
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.2s ease, text-shadow 0.2s ease;
  cursor: pointer;
  will-change: transform;
}

.split-char.char-hover {
  transform: translateY(-8px) scale(1.15) rotate(-3deg);
  color: #6366f1 !important;
  text-shadow: 0 6px 20px rgba(99, 102, 241, 0.45);
}

/* ShinyText Shimmering Light Sweep */
.shiny-text-target {
  position: relative;
  overflow: hidden;
}

.shiny-text-target::after {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.4) 50%,
    transparent 100%
  );
  transform: skewX(-25deg);
  animation: shinySweep 4s infinite cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

@keyframes shinySweep {
  0% {
    left: -150%;
  }
  30%, 100% {
    left: 200%;
  }
}

/* ==========================================================================
   SECTION 4: 2-TIER PRICING MATRIX
   ========================================================================== */
.pricing-section {
  position: relative;
  width: 100%;
  padding: 100px 32px 140px 32px;
  max-width: 1180px;
  margin: 0 auto;
  z-index: 10;
}

.pricing-toggle-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 6px 18px;
  border-radius: 9999px;
  margin-top: 24px;
}

.toggle-label {
  font-size: 13px;
  font-weight: 600;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 6px;
}

.discount-pill {
  font-size: 10px;
  font-weight: 700;
  color: #10b981;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 2px 7px;
  border-radius: 9999px;
}

.pricing-toggle-btn {
  width: 44px;
  height: 24px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  position: relative;
  transition: background 0.3s ease;
  outline: none;
  padding: 2px;
}

.pricing-toggle-btn.is-annual {
  background: #6366f1;
}

.toggle-switch {
  display: block;
  width: 20px;
  height: 20px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.pricing-toggle-btn.is-annual .toggle-switch {
  transform: translateX(20px);
}

/* 2-Column Grid */
.pricing-grid-two {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 50px;
  align-items: stretch;
}

.pricing-card {
  position: relative;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(18, 15, 27, 0.5) 50%, rgba(10, 8, 18, 0.7) 100%);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 
    0 25px 60px -15px rgba(0, 0, 0, 0.5),
    inset 0 1px 1.5px rgba(255, 255, 255, 0.2);
  transition: transform 0.3s var(--ease-spring), border-color 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 
    0 35px 70px -15px rgba(0, 0, 0, 0.6),
    inset 0 1px 2px rgba(255, 255, 255, 0.3);
}

.pricing-card-featured {
  padding: 0;
  border: none;
  background: transparent;
}

.pricing-card-featured .border-glow-inner {
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.featured-ribbon {
  position: absolute;
  top: 18px;
  right: 24px;
  background: linear-gradient(90deg, #6366f1, #a855f7);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 9999px;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
}

.plan-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #94a3b8;
  margin-bottom: 8px;
}

.plan-badge.featured-badge {
  color: #c084fc;
}

.plan-title {
  font-size: 24px;
  font-weight: 700;
  color: #f8fafc;
  margin: 0 0 10px 0;
  letter-spacing: -0.02em;
}

.plan-desc {
  font-size: 13.5px;
  color: #94a3b8;
  line-height: 1.5;
  margin: 0 0 24px 0;
}

.plan-price-block {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 28px;
}

.price-val {
  font-size: 44px;
  font-weight: 800;
  color: #f8fafc;
  letter-spacing: -0.03em;
  line-height: 1;
}

.price-period {
  font-size: 13.5px;
  color: #64748b;
  font-weight: 500;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.plan-features li {
  font-size: 13.5px;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.4;
}

.check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  color: #f8fafc;
  flex-shrink: 0;
}

.check-icon.purple {
  background: rgba(168, 85, 247, 0.15);
  color: #c084fc;
}

.btn-pricing-plan {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 48px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-pricing-plan:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.btn-pricing-featured {
  width: 100%;
  height: 50px;
  margin-top: 0;
}

@media (max-width: 840px) {
  .pricing-grid-two {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-inline: auto;
  }
}

/* ==========================================================================
   SECTION 6: FAQ ACCORDION
   ========================================================================== */
.faq-section {
  position: relative;
  width: 100%;
  padding: 100px 32px 130px 32px;
  max-width: 900px;
  margin: 0 auto;
  z-index: 10;
}

.faq-container {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 50px;
}

.faq-item {
  background: rgba(18, 15, 23, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  overflow: hidden;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(24, 20, 31, 0.85);
}

.faq-item.is-open {
  border-color: rgba(168, 85, 247, 0.35);
  background: rgba(24, 20, 31, 0.9);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 26px;
  background: transparent;
  border: none;
  outline: none;
  font-size: 16px;
  font-weight: 600;
  color: #f8fafc;
  text-align: left;
  cursor: pointer;
  gap: 16px;
}

.faq-chevron {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease;
}

.faq-chevron svg {
  width: 15px;
  height: 15px;
  color: #94a3b8;
  transition: color 0.3s ease;
}

.faq-item.is-open .faq-chevron {
  transform: rotate(180deg);
  background: rgba(168, 85, 247, 0.2);
}

.faq-item.is-open .faq-chevron svg {
  color: #c084fc;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, padding 0.3s ease;
  opacity: 0;
  padding: 0 26px;
}

.faq-item.is-open .faq-answer {
  max-height: 220px;
  opacity: 1;
  padding: 0 26px 24px 26px;
}

.faq-answer p {
  font-size: 14.5px;
  line-height: 1.6;
  color: #94a3b8;
  margin: 0;
}

/* ==========================================================================
   SECTION 7: HIGH-CONVERSION FINAL CTA BANNER
   ========================================================================== */
.cta-banner-section {
  position: relative;
  width: 100%;
  padding: 60px 32px 140px 32px;
  max-width: 1180px;
  margin: 0 auto;
  z-index: 10;
}

.cta-banner-card {
  position: relative;
  background: linear-gradient(135deg, rgba(20, 16, 28, 0.9) 0%, rgba(32, 24, 48, 0.95) 100%);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 36px;
  padding: 70px 48px;
  text-align: center;
  overflow: hidden;
  box-shadow: 
    0 35px 80px -15px rgba(0, 0, 0, 0.6),
    inset 0 1px 2px rgba(255, 255, 255, 0.2);
}

.cta-glow-ambient {
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  height: 350px;
  background: radial-gradient(ellipse at center, rgba(168, 85, 247, 0.25) 0%, rgba(99, 102, 241, 0.12) 50%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  margin: 0 auto;
}

.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 6px 16px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 24px;
}

.cta-badge-dot {
  width: 6px;
  height: 6px;
  background: #10b981;
  border-radius: 50%;
}

.cta-title {
  font-size: 40px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 16px 0;
}

.cta-subtitle {
  font-size: 16px;
  color: #94a3b8;
  line-height: 1.55;
  margin: 0 0 36px 0;
}

.cta-form {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 6px 6px 6px 20px;
  border-radius: 9999px;
  max-width: 520px;
  margin: 0 auto 28px auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.cta-form:focus-within {
  border-color: rgba(168, 85, 247, 0.5);
  box-shadow: 0 12px 35px rgba(99, 102, 241, 0.25);
}

.cta-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-size: 14.5px;
  color: #ffffff;
}

.cta-input::placeholder {
  color: #64748b;
}

.cta-submit {
  margin-top: 0;
  height: 44px;
  padding: 0 22px;
  font-size: 13.5px;
  white-space: nowrap;
}

.cta-trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  font-size: 12.5px;
  font-weight: 500;
  color: #64748b;
}

@media (max-width: 640px) {
  .cta-banner-card {
    padding: 48px 24px;
  }
  .cta-title {
    font-size: 28px;
  }
  .cta-form {
    flex-direction: column;
    background: transparent;
    border: none;
    padding: 0;
    gap: 12px;
  }
  .cta-input {
    width: 100%;
    height: 48px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 9999px;
    padding: 0 20px;
  }
  .cta-submit {
    width: 100%;
    height: 48px;
  }
  .cta-trust-row {
    flex-direction: column;
    gap: 8px;
  }
}

/* ==========================================================================
   SECTION 8: EDITORIAL FOOTER
   ========================================================================== */
.site-footer {
  position: relative;
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(7, 8, 18, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 10;
  padding-top: 80px;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px 60px 32px;
  display: grid;
  grid-template-columns: 1.3fr 2fr;
  gap: 60px;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-brand {
  margin-bottom: 4px;
}

.footer-tagline {
  font-size: 14px;
  line-height: 1.6;
  color: #94a3b8;
  max-width: 340px;
  margin: 0;
}

.footer-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  padding: 5px 12px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 500;
  color: #10b981;
  width: fit-content;
  margin-top: 8px;
}

.status-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px #10b981;
  animation: blinkStatus 2s infinite ease-in-out;
}

.footer-nav-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.footer-col-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #f8fafc;
  margin: 0 0 16px 0;
}

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

.footer-links a {
  font-size: 13.5px;
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.25s ease, transform 0.25s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: #ffffff;
  transform: translateX(3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 24px 32px;
}

.footer-bottom-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: #64748b;
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-legal-links a {
  color: #64748b;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-legal-links a:hover {
  color: #94a3b8;
}

@media (max-width: 960px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-nav-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
}

@media (max-width: 540px) {
  .footer-nav-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom-container {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* ==========================================================================
   Onbops Section System
   ========================================================================== */

.onb-section {
  padding: 80px 24px;
}

.onb-section--alt {
  background: var(--color-sky-50);
}

.onb-section--sky {
  background: linear-gradient(180deg, var(--color-sky-50) 0%, var(--color-sky-100) 100%);
}

.onb-container {
  max-width: 1080px;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   Features Grid (4 cards)
   -------------------------------------------------------------------------- */
.onb-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.onb-feature-card {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 16px;
  padding: 28px 24px;
  transition: all 0.3s var(--ease-spring);
}

.onb-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
  border-color: var(--color-sky-200);
}

.onb-feature-icon {
  width: 44px;
  height: 44px;
  background: var(--color-sky-50);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--color-sky-600);
}

.onb-feature-icon svg {
  width: 22px;
  height: 22px;
}

.onb-feature-title {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 8px;
}

.onb-feature-desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   How It Works (5 steps)
   -------------------------------------------------------------------------- */
.onb-steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.onb-step {
  text-align: center;
  padding: 24px 16px;
}

.onb-step-num {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 700;
  color: var(--color-sky-500);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.onb-step-title {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 8px;
}

.onb-step-desc {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   Photo Labs Grid (4 cards)
   -------------------------------------------------------------------------- */
.onb-labs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.onb-lab-card {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 16px;
  padding: 28px 24px;
  transition: all 0.3s var(--ease-spring);
}

.onb-lab-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.onb-lab-emoji {
  font-size: 28px;
  margin-bottom: 14px;
}

.onb-lab-title {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 12px;
}

.onb-lab-example {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13.5px;
  color: var(--color-text-muted);
  padding: 10px 12px;
  background: var(--color-sky-50);
  border-radius: 8px;
}

.onb-lab-price {
  font-weight: 700;
  color: var(--color-text-primary);
  white-space: nowrap;
}

.onb-lab-custom {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   Reports Grid
   -------------------------------------------------------------------------- */
.onb-reports-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.onb-report-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-primary);
  transition: all 0.25s ease;
}

.onb-report-item:hover {
  border-color: var(--color-sky-200);
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.08);
}

.onb-report-item svg {
  width: 20px;
  height: 20px;
  color: var(--color-sky-500);
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Tally Export Flow
   -------------------------------------------------------------------------- */
.onb-tally-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.onb-tally-box {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 14px;
  padding: 24px 32px;
  text-align: center;
  min-width: 160px;
}

.onb-tally-box--mid {
  background: var(--color-sky-50);
  border-color: var(--color-sky-200);
}

.onb-tally-label {
  font-weight: 700;
  font-size: 15px;
  color: var(--color-text-primary);
  margin-bottom: 4px;
}

.onb-tally-detail {
  font-size: 13px;
  color: var(--color-text-muted);
}

.onb-tally-arrow {
  color: var(--color-sky-400);
  flex-shrink: 0;
}

.onb-tally-arrow svg {
  width: 24px;
  height: 24px;
}

.onb-tally-note {
  text-align: center;
  margin-top: 24px;
  font-size: 13px;
  color: var(--color-text-light);
  font-style: italic;
}

/* --------------------------------------------------------------------------
   Coming Soon Cards
   -------------------------------------------------------------------------- */
.onb-coming-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.onb-coming-card {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.9);
  border-radius: 18px;
  padding: 32px 28px;
}

.onb-coming-badge {
  display: inline-block;
  padding: 4px 12px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--color-sky-600);
  background: var(--color-sky-100);
  border-radius: 999px;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.onb-coming-title {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 10px;
}

.onb-coming-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text-muted);
}

.onb-coming-flow {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
  padding: 12px 16px;
  background: var(--color-sky-50);
  border-radius: 10px;
}

.onb-coming-stage {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-sky-700);
  padding: 4px 10px;
  background: white;
  border-radius: 6px;
  border: 1px solid var(--color-sky-200);
}

.onb-coming-arrow {
  color: var(--color-sky-400);
  font-size: 12px;
}

/* --------------------------------------------------------------------------
   Product Proof Grid
   -------------------------------------------------------------------------- */
.onb-proof-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.onb-proof-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 24px 12px;
  background: var(--color-sky-50);
  border-radius: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-primary);
  text-align: center;
  transition: all 0.25s ease;
}

.onb-proof-item:hover {
  background: var(--color-sky-100);
  transform: translateY(-2px);
}

.onb-proof-item svg {
  width: 24px;
  height: 24px;
  color: var(--color-sky-500);
}

/* --------------------------------------------------------------------------
   Pricing Cards
   -------------------------------------------------------------------------- */
.onb-pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.onb-pricing-card {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 20px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.onb-pricing-card--coming {
  opacity: 0.75;
  background: #fafafa;
}

.onb-pricing-header {
  margin-bottom: 24px;
}

.onb-pricing-badge {
  display: inline-block;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 700;
  color: var(--color-sky-600);
  background: var(--color-sky-100);
  border-radius: 999px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.onb-pricing-badge--soon {
  color: var(--color-text-muted);
  background: #f1f5f9;
}

.onb-pricing-title {
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 8px;
}

.onb-pricing-desc {
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-text-muted);
}

.onb-pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  flex: 1;
}

.onb-pricing-features li {
  font-size: 14px;
  color: var(--color-text-primary);
  padding: 8px 0;
  border-bottom: 1px solid rgba(0,0,0,0.04);
  display: flex;
  align-items: center;
  gap: 10px;
}

.onb-pricing-features--muted li {
  color: var(--color-text-muted);
}

.onb-check {
  color: var(--color-sky-500);
  font-weight: 700;
  font-size: 14px;
}

.onb-pricing-cta {
  display: block;
  text-align: center;
  padding: 12px 24px;
  background: var(--color-sky-500);
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.onb-pricing-cta:hover {
  background: var(--color-sky-600);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

.onb-pricing-cta--disabled {
  background: #e2e8f0;
  color: var(--color-text-muted);
  cursor: default;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   Final CTA Section
   -------------------------------------------------------------------------- */
.onb-cta-section {
  padding: 80px 24px;
}

.onb-cta-card {
  max-width: 720px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--color-sky-500) 0%, var(--color-sky-600) 100%);
  border-radius: 24px;
  padding: 56px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.onb-cta-title {
  font-family: var(--font-sans);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 14px;
  line-height: 1.3;
}

.onb-cta-subtitle {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
  max-width: 480px;
  margin: 0 auto 28px auto;
}

.onb-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.onb-cta-btn {
  background: #ffffff !important;
  color: var(--color-sky-600) !important;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
}

.onb-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.onb-cta-link {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,0.4);
  padding-bottom: 2px;
  transition: all 0.2s ease;
}

.onb-cta-link:hover {
  color: #ffffff;
  border-color: #ffffff;
}

/* --------------------------------------------------------------------------
   Demo Invoice Lines (inside hero card)
   -------------------------------------------------------------------------- */
.demo-invoice-lines {
  padding: 6px 0;
}

.demo-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  font-size: 11px;
  color: var(--color-text-muted);
}

.demo-line-desc {
  font-weight: 500;
}

.demo-line-qty {
  font-weight: 700;
  color: var(--color-text-primary);
}

/* Badge color variants */
.canvas-badge--pending {
  color: #d97706;
  background: rgba(217, 119, 6, 0.1);
}

.canvas-badge--active {
  color: var(--color-sky-600);
  background: rgba(14, 165, 233, 0.1);
}

.canvas-badge--success {
  color: #059669;
  background: rgba(5, 150, 105, 0.1);
}

.canvas-badge--tally {
  color: #1e293b;
  background: rgba(30, 41, 59, 0.1);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   Mobile Navigation
   -------------------------------------------------------------------------- */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-brand-black);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-hamburger.is-open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-hamburger.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.is-open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.nav-mobile-menu {
  display: none;
  flex-direction: column;
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 400px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.8);
  box-shadow: 0 16px 40px rgba(0,0,0,0.1);
  padding: 16px;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.nav-mobile-menu.is-open {
  display: flex;
  opacity: 1;
  pointer-events: auto;
}

.nav-mobile-link {
  display: block;
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-primary);
  text-decoration: none;
  border-radius: 10px;
  transition: background 0.2s ease;
}

.nav-mobile-link:hover {
  background: var(--color-sky-50);
}

.nav-mobile-cta {
  text-align: center;
  margin-top: 8px;
  background: var(--color-sky-500);
  color: #ffffff;
  font-weight: 600;
}

.nav-mobile-cta:hover {
  background: var(--color-sky-600);
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   Responsive — Onbops Sections
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .nav-links,
  .nav-actions {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .onb-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .onb-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .onb-labs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .onb-reports-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .onb-coming-grid {
    grid-template-columns: 1fr;
  }

  .onb-proof-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .onb-pricing-grid {
    grid-template-columns: 1fr;
  }

  .onb-blog-grid {
    grid-template-columns: 1fr;
  }

  .onb-tally-flow {
    flex-direction: column;
  }

  .onb-cta-card {
    padding: 40px 28px;
  }

  .onb-section {
    padding: 60px 20px;
  }
}

@media (max-width: 480px) {
  .onb-features-grid,
  .onb-labs-grid {
    grid-template-columns: 1fr;
  }

  .onb-steps-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .onb-reports-grid {
    grid-template-columns: 1fr;
  }

  .onb-proof-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .onb-cta-card {
    padding: 32px 20px;
  }
}

/* --------------------------------------------------------------------------
   Blog Section
   -------------------------------------------------------------------------- */
.onb-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.onb-blog-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 18px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s var(--ease-spring), box-shadow 0.25s ease, border-color 0.2s ease;
  position: relative;
  overflow: hidden;
}

.onb-blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px -12px rgba(14, 165, 233, 0.18), 0 4px 12px rgba(0, 0, 0, 0.04);
  border-color: var(--color-sky-200);
}

.onb-blog-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.onb-blog-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-sky-700);
  background: var(--color-sky-100);
  padding: 4px 10px;
  border-radius: 999px;
}

.onb-blog-time {
  font-size: 12px;
  color: var(--color-text-muted);
}

.onb-blog-title {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 700;
  color: var(--color-brand-black);
  line-height: 1.35;
  margin-bottom: 12px;
}

.onb-blog-excerpt {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text-body);
  margin-bottom: 24px;
  flex-grow: 1;
}

.onb-blog-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 13px;
}

.onb-blog-author {
  color: var(--color-text-muted);
  font-weight: 500;
}

.onb-blog-read {
  color: var(--color-sky-600);
  font-weight: 600;
  transition: transform 0.2s ease, color 0.2s ease;
}

.onb-blog-card:hover .onb-blog-read {
  color: var(--color-sky-700);
  transform: translateX(3px);
}


/* ==========================================================================
   ENHANCED 3D MOTION SYSTEM (R4 - R13 IMPLEMENTATIONS)
   ========================================================================== */

/* --------------------------------------------------------------------------
   Standard Section Reveals (R4 Motion Primitives In-View Model)
   -------------------------------------------------------------------------- */
.section-eyebrow {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.section-title {
  opacity: 0;
  transform: translateY(18px);
  filter: blur(4px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.08s, transform 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.08s, filter 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.08s;
}

.section-subtitle {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.16s, transform 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.16s;
}

.onb-section.is-in-view .section-eyebrow,
.onb-showcase-section.is-in-view .section-eyebrow,
.editorial-faq-section.is-in-view .section-eyebrow {
  opacity: 1;
  transform: translateY(0);
}

.onb-section.is-in-view .section-title,
.onb-showcase-section.is-in-view .section-title,
.editorial-faq-section.is-in-view .section-title {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0px);
}

.onb-section.is-in-view .section-subtitle,
.onb-showcase-section.is-in-view .section-subtitle,
.editorial-faq-section.is-in-view .section-subtitle {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   1. Accordion Gallery: Everything Connected in One Place (React Bits Concept)
   -------------------------------------------------------------------------- */
.onb-accordion-gallery-section {
  position: relative;
  overflow: hidden;
}

/* Story navigation pills */
.onb-gallery-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.onb-gallery-pill {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.onb-gallery-pill:hover {
  background: var(--color-sky-50);
  border-color: var(--color-sky-300);
  color: var(--color-sky-700);
}

.onb-gallery-pill:focus-visible {
  outline: 2px solid var(--color-sky-500);
  outline-offset: 2px;
}

.onb-gallery-pill.is-active {
  background: var(--color-sky-500);
  color: #ffffff;
  border-color: var(--color-sky-500);
  box-shadow: 0 4px 14px -2px rgba(14, 165, 233, 0.35);
}

/* Gallery Container */
.onb-accordion-gallery {
  display: flex;
  gap: 16px;
  min-height: 540px;
  margin-top: 40px;
  perspective: 1200px;
}

/* Individual Panel */
.onb-accordion-panel {
  flex: 0.85;
  min-width: 72px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  transition: flex 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s ease, box-shadow 0.35s ease, border-color 0.25s ease;
  outline: none;
}

.onb-accordion-panel:hover:not(.is-active) {
  border-color: var(--color-sky-300);
  background: #fafcff;
  transform: translateY(-4px);
  box-shadow: 0 12px 28px -6px rgba(14, 165, 233, 0.12);
}

.onb-accordion-panel:focus-visible {
  outline: 2px solid var(--color-sky-500);
  outline-offset: 3px;
}

.onb-accordion-panel.is-active {
  flex: 4.8;
  min-width: 440px;
  cursor: default;
  border-color: var(--color-sky-400);
  box-shadow: 0 20px 48px -12px rgba(14, 165, 233, 0.18), 0 0 0 1px rgba(56, 189, 248, 0.25);
  background: linear-gradient(180deg, #ffffff 0%, #f8fcff 100%);
}

/* Collapsed Panel Content */
.onb-panel-collapsed {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 28px 12px;
  text-align: center;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.onb-collapsed-num {
  font-family: var(--font-mono, monospace);
  font-weight: 700;
  font-size: 13px;
  color: var(--color-sky-600);
  background: var(--color-sky-50);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(14, 165, 233, 0.2);
}

.onb-collapsed-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #f1f5f9;
  color: var(--color-brand-black);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 16px 0;
}

.onb-collapsed-icon svg {
  width: 20px;
  height: 20px;
}

.onb-collapsed-title {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--color-brand-black);
  white-space: nowrap;
  margin: auto 0;
}

.onb-collapsed-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-sky-400);
  opacity: 0.7;
}

/* Expanded Panel Content */
.onb-panel-expanded {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: 34px 38px;
  opacity: 0;
}

.onb-accordion-panel.is-active .onb-panel-collapsed {
  display: none;
  opacity: 0;
}

.onb-accordion-panel.is-active .onb-panel-expanded {
  display: flex;
  opacity: 1;
  animation: panelFadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes panelFadeIn {
  0% {
    opacity: 0;
    transform: translateX(10px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.onb-expanded-top {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.onb-story-tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-sky-700);
  background: var(--color-sky-100);
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}

.onb-story-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-brand-black);
  margin-bottom: 8px;
  line-height: 1.3;
}

.onb-story-desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--color-text-body);
  max-width: 680px;
}

/* Gallery Preview Micro-UI Styles */
.onb-gallery-preview-ui {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding: 20px 24px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
}

/* Panel 1: CRM Micro UI */
.onb-crm-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.onb-crm-header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.onb-crm-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-sky-500);
  color: #ffffff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  box-shadow: 0 2px 8px rgba(14, 165, 233, 0.3);
}

.onb-crm-info {
  flex: 1;
}

.onb-crm-name {
  display: block;
  font-size: 15px;
  color: var(--color-brand-black);
}

.onb-crm-sub {
  font-size: 12.5px;
  color: var(--color-text-muted);
}

.onb-crm-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  background: #dcfce7;
  color: #166534;
}

.onb-crm-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  background: #f8fafc;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 12px;
  padding: 12px 16px;
}

.onb-crm-stat {
  display: flex;
  flex-direction: column;
}

.onb-crm-stat .stat-label {
  font-size: 11.5px;
  color: var(--color-text-muted);
}

.onb-crm-stat .stat-val {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-brand-black);
  margin-top: 2px;
}

.onb-crm-stat .stat-val--due {
  color: #dc2626;
}

.onb-crm-recent {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--color-text-muted);
}

.crm-recent-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.crm-chip {
  background: #fef2f2;
  border: 1px solid #fee2e2;
  color: #991b1b;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11.5px;
}

.crm-chip--paid {
  background: #f0fdf4;
  border-color: #dcfce7;
  color: #166534;
}

/* Panel 2: Invoice Micro UI */
.onb-invoice-ticket {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ticket-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
}

.ticket-id {
  font-family: monospace;
  font-size: 15px;
  color: var(--color-sky-700);
}

.ticket-cust {
  display: block;
  font-size: 12px;
  color: var(--color-text-muted);
}

.ticket-status-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  background: #dcfce7;
  color: #166534;
}

.ticket-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ticket-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

.item-name {
  color: var(--color-text-body);
  flex: 1;
}

.item-calc {
  color: var(--color-text-muted);
  font-size: 12px;
  margin-right: 14px;
}

.item-price {
  color: var(--color-brand-black);
}

.ticket-total-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.total-label {
  font-weight: 700;
  color: var(--color-text-primary);
  font-size: 14px;
}

.total-amount {
  font-size: 18px;
  color: var(--color-sky-600);
}

/* Panel 3: Payment Micro UI */
.onb-payment-module {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pay-meter-head {
  display: flex;
  justify-content: space-between;
}

.pay-label {
  font-size: 11.5px;
  color: var(--color-text-muted);
  display: block;
}

.pay-val {
  font-size: 16px;
  font-weight: 700;
}

.pay-val--rec {
  color: #166534;
}

.pay-val--due {
  color: #b45309;
}

.pay-align-right {
  text-align: right;
}

.onb-meter-bar-lg {
  height: 9px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
}

.onb-meter-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--color-sky-400), var(--color-sky-600));
  border-radius: 999px;
}

.onb-meter-bar-fill--43 {
  width: 43%;
}

.pay-receipts-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pay-receipt-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f8fafc;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 12.5px;
}

.pay-receipt-row--pending {
  background: #fffbeb;
  border-color: #fef3c7;
}

.rec-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #dcfce7;
  color: #166534;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 12px;
}

.pay-receipt-row--pending .rec-icon {
  background: #fef3c7;
  color: #b45309;
}

.rec-meta {
  flex: 1;
}

.rec-meta strong {
  display: block;
  color: var(--color-brand-black);
}

.rec-meta small {
  color: var(--color-text-muted);
  font-size: 11px;
}

.rec-status-tag {
  font-size: 11px;
  font-weight: 700;
  color: #166534;
}

.rec-status-tag--due {
  color: #b45309;
}

/* Panel 4: Catalogue Micro UI */
.onb-cat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.cat-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f8fafc;
  border: 1px solid rgba(0, 0, 0, 0.05);
  padding: 10px 12px;
  border-radius: 10px;
}

.cat-item-icon {
  font-size: 18px;
}

.cat-item-info {
  flex: 1;
}

.cat-item-info strong {
  display: block;
  font-size: 12.5px;
  color: var(--color-brand-black);
}

.cat-item-info small {
  font-size: 11px;
  color: var(--color-text-muted);
}

.cat-item-rate {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-sky-700);
}

/* Panel 5: Tally XML Flow Micro UI */
.onb-export-flow-box {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.flow-nodes-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.flow-node {
  flex: 1;
  background: #f8fafc;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 12px;
  text-align: center;
}

.flow-node--xml {
  background: var(--color-sky-50);
  border-color: var(--color-sky-300);
}

.node-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 4px;
}

.node-tag--xml {
  color: var(--color-sky-700);
}

.flow-node strong {
  display: block;
  font-size: 13px;
  color: var(--color-brand-black);
}

.flow-node small {
  font-size: 11px;
  color: var(--color-text-muted);
}

.flow-arrow-beam {
  display: flex;
  align-items: center;
  color: var(--color-sky-500);
  font-weight: 700;
  font-size: 18px;
}

.export-flow-disclaimer {
  font-size: 11.5px;
  color: var(--color-text-muted);
  text-align: center;
  margin: 0;
  font-style: italic;
}

/* Story Bridge Footer */
.onb-story-bridge {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(14, 165, 233, 0.06);
  border: 1px solid rgba(14, 165, 233, 0.15);
  border-radius: 12px;
  padding: 10px 16px;
  font-size: 12.5px;
  color: var(--color-sky-900, #0c4a6e);
  margin-top: 24px;
}

.bridge-indicator {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-sky-500);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bridge-indicator svg {
  width: 14px;
  height: 14px;
}

.onb-tally-arrow-mini {
  color: var(--color-sky-500);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   2. How It Works Timeline (R7 Aceternity Timeline Concept)
   -------------------------------------------------------------------------- */
.onb-timeline-wrapper {
  position: relative;
  max-width: 860px;
  margin: 56px auto 0 auto;
  padding: 20px 0;
}

.onb-timeline-rail {
  position: absolute;
  left: 28px;
  top: 10px;
  bottom: 20px;
  width: 3px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
}

.onb-timeline-progress {
  width: 100%;
  height: 0%;
  background: linear-gradient(180deg, var(--color-sky-300) 0%, var(--color-sky-500) 50%, var(--color-sky-700) 100%);
  border-radius: 999px;
  transition: height 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 8px rgba(14, 165, 233, 0.7);
}

.onb-timeline-steps {
  display: flex;
  flex-direction: column;
  gap: 40px;
  position: relative;
  z-index: 2;
}

.onb-timeline-step {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
  opacity: 0.65;
}

.onb-timeline-step.is-active {
  opacity: 1;
  transform: scale(1.03) translateX(6px);
}

.onb-timeline-step.is-completed {
  opacity: 0.9;
}

.onb-timeline-node {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 15px;
  color: var(--color-text-muted);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.35s var(--ease-spring);
  position: relative;
}

.onb-timeline-step.is-active .onb-timeline-node {
  border-color: var(--color-sky-500);
  color: var(--color-sky-600);
  background: #ffffff;
  transform: scale(1.15);
  box-shadow: 0 0 20px rgba(14, 165, 233, 0.35), 0 4px 12px rgba(0, 0, 0, 0.08);
}

.onb-timeline-step.is-completed .onb-timeline-node {
  border-color: var(--color-sky-600);
  background: var(--color-sky-50);
  color: var(--color-sky-700);
}

.onb-timeline-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 18px;
  padding: 24px 28px;
  flex: 1;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
}

.onb-timeline-step.is-active .onb-timeline-card {
  border-color: var(--color-sky-300);
  box-shadow: 0 12px 30px -8px rgba(14, 165, 233, 0.16);
}

.onb-timeline-subtext {
  margin-top: 10px;
  font-size: 12px;
  color: var(--color-sky-600);
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* --------------------------------------------------------------------------
   3. Business Visibility Scroll Stack (React Bits Scroll Stack Pattern)
   -------------------------------------------------------------------------- */
.onb-scroll-stack-section {
  position: relative;
  padding: 90px 24px 100px 24px;
  background: #f8fafc;
  overflow: visible !important;
}

/* Interactive Navigation Pills */
.onb-stack-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 32px auto 0 auto;
  max-width: 780px;
}

.onb-stack-nav-pill {
  appearance: none;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  padding: 8px 18px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.onb-stack-nav-pill:hover {
  border-color: var(--color-sky-300);
  color: var(--color-sky-700);
  transform: translateY(-1px);
}

.onb-stack-nav-pill.is-active {
  background: var(--color-sky-50);
  border-color: var(--color-sky-500);
  color: var(--color-sky-700);
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.16), 0 0 0 1px rgba(56, 189, 248, 0.3);
}

/* Scroll Stack Track (Provides scroll distance for 4 cards: 0.65vh per transition) */
.onb-scroll-stack-track {
  position: relative;
  height: 260vh;
  margin-top: 56px;
  overflow: visible !important;
}

/* Pinned Sticky Stage (115px top provides 15px clearance below the floating navbar) */
.onb-scroll-stack-stage {
  position: -webkit-sticky;
  position: sticky;
  top: 115px;
  width: 100%;
  max-width: 1140px;
  height: 540px;
  max-height: 65vh;
  min-height: 480px;
  margin: 0 auto;
  perspective: 1200px;
  transform-style: preserve-3d;
}

/* Stack Cards */
.onb-stack-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 24px;
  box-shadow: 0 20px 50px -12px rgba(14, 165, 233, 0.12), 0 2px 10px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  will-change: transform, opacity, filter;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.onb-stack-card:hover {
  box-shadow: 0 24px 60px -10px rgba(14, 165, 233, 0.18), 0 2px 10px rgba(0, 0, 0, 0.04);
}

.onb-stack-card-glow {
  position: absolute;
  top: 0;
  right: 0;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle at top right, rgba(56, 189, 248, 0.12), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.onb-stack-card-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  height: 100%;
}

/* Left Column: Copy & Metrics */
.onb-stack-left {
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid rgba(0, 0, 0, 0.06);
}

.onb-stack-header-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.onb-stack-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-sky-50);
  border: 1px solid rgba(14, 165, 233, 0.2);
  padding: 4px 12px;
  border-radius: 999px;
  width: fit-content;
}

.onb-stack-badge .badge-num {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 11px;
  color: #ffffff;
  background: var(--color-sky-500);
  padding: 1px 6px;
  border-radius: 999px;
}

.onb-stack-badge .badge-text {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-sky-700);
}

.onb-stack-title {
  font-family: var(--font-sans);
  font-size: 26px;
  font-weight: 700;
  color: var(--color-brand-black);
  line-height: 1.25;
  margin: 0;
}

.onb-stack-body {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--color-text-body);
  margin: 0;
}

/* Suggested Metrics 3-Grid */
.onb-stack-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.stack-metric-item {
  background: #f8fafc;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 14px;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.metric-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
}

.metric-val {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 700;
  color: var(--color-brand-black);
}

.metric-val--warn {
  color: #dc2626;
}

.metric-trend {
  font-size: 11px;
  color: var(--color-sky-600);
  font-weight: 500;
}

.metric-trend--warn {
  color: #ea580c;
}

/* Right Column: Visual Micro-UI Proof */
.onb-stack-right {
  padding: 32px 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(248, 250, 252, 0.6) 0%, rgba(241, 245, 249, 0.8) 100%);
}

.onb-stack-ui-frame {
  width: 100%;
  height: 100%;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(255, 255, 255, 0.9) inset;
}

.ui-frame-bar {
  background: #f1f5f9;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ui-dots {
  display: flex;
  gap: 6px;
}

.ui-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #cbd5e1;
}

.ui-dots span:nth-child(1) { background: #f87171; }
.ui-dots span:nth-child(2) { background: #fbbf24; }
.ui-dots span:nth-child(3) { background: #4ade80; }

.ui-bar-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-brand-black);
}

.ui-bar-tag {
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
}

.ui-bar-tag--live {
  background: #dcfce7;
  color: #15803d;
}

.ui-bar-tag--warn {
  background: #fee2e2;
  color: #991b1b;
}

.ui-bar-tag--info {
  background: var(--color-sky-50);
  color: var(--color-sky-700);
}

.ui-bar-tag--tally {
  background: #e0f2fe;
  color: #0369a1;
}

.ui-frame-content {
  flex: 1;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
}

/* Card 1: Activity list micro-UI */
.ui-activity-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ui-activity-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: #f8fafc;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 12px;
  transition: border-color 0.2s ease;
}

.ui-activity-row:hover {
  border-color: var(--color-sky-200);
}

.activity-main {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.activity-id {
  font-family: monospace;
  font-size: 11px;
  color: var(--color-sky-600);
  font-weight: 600;
}

.activity-main strong {
  font-size: 13px;
  color: var(--color-brand-black);
}

.activity-main small {
  font-size: 11.5px;
  color: var(--color-text-muted);
}

.activity-meta {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
}

.activity-amount {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-brand-black);
}

.activity-status {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 999px;
}

.activity-status--ok {
  background: #dcfce7;
  color: #166534;
}

.ui-activity-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 12px;
  color: var(--color-text-muted);
}

.ui-activity-footer strong {
  color: var(--color-brand-black);
}

.ui-footer-link {
  color: var(--color-sky-600);
  font-weight: 600;
}

/* Card 2: Dues micro-UI */
.ui-dues-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ui-due-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  background: #f8fafc;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 12px;
}

.due-studio-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.due-studio-info strong {
  font-size: 13px;
  color: var(--color-brand-black);
}

.due-studio-info small {
  font-size: 11.5px;
  color: var(--color-text-muted);
}

.due-amount-pill {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.due-tag {
  font-size: 10px;
  font-weight: 600;
  color: var(--color-text-muted);
}

.due-num {
  font-size: 13.5px;
  font-weight: 700;
  color: #dc2626;
}

.text-warn {
  color: #dc2626 !important;
}

/* Card 3: Breakdown micro-UI */
.ui-breakdown-box {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.breakdown-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.breakdown-header {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--color-brand-black);
  font-weight: 600;
}

.breakdown-header strong {
  color: var(--color-sky-700);
}

.breakdown-bar {
  width: 100%;
  height: 8px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
}

.breakdown-fill {
  height: 100%;
  border-radius: 999px;
}

.breakdown-fill--58 {
  width: 58%;
}

.breakdown-fill--26 {
  width: 26%;
}

.breakdown-fill--16 {
  width: 16%;
}

.fill-sky {
  background: linear-gradient(90deg, var(--color-sky-400), var(--color-sky-600));
}

.fill-teal {
  background: linear-gradient(90deg, #2dd4bf, #0d9488);
}

.fill-slate {
  background: linear-gradient(90deg, #94a3b8, #64748b);
}

/* Card 4: Tally export micro-UI */
.ui-export-summary {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.export-file-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 12px;
  padding: 12px 14px;
}

.export-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #16a34a;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.export-icon-box svg {
  width: 20px;
  height: 20px;
}

.export-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.export-details strong {
  font-family: monospace;
  font-size: 12px;
  color: #14532d;
}

.export-details small {
  font-size: 11px;
  color: #166534;
}

.export-status-badge {
  font-size: 10.5px;
  font-weight: 700;
  background: #dcfce7;
  color: #15803d;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid #86efac;
}

.export-flow-steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: #f8fafc;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 12px;
  padding: 12px 14px;
}

.flow-step-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--color-text-muted);
}

.flow-step-item .step-num {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #e2e8f0;
  color: var(--color-text-muted);
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flow-step-item--active {
  color: var(--color-sky-700);
}

.flow-step-item--active .step-num {
  background: var(--color-sky-500);
  color: #ffffff;
}

.flow-arrow {
  color: var(--color-sky-400);
  font-size: 14px;
  font-weight: 700;
}

/* Responsive & Accessibility Fallbacks */
@media (max-width: 860px) {
  .onb-scroll-stack-track {
    height: auto !important;
    margin-top: 32px;
  }

  .onb-scroll-stack-stage {
    position: relative !important;
    top: auto !important;
    height: auto !important;
    perspective: none !important;
  }

  .onb-stack-card {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    height: auto !important;
    margin-bottom: 24px !important;
    transform: none !important;
    opacity: 1 !important;
    filter: none !important;
  }

  .onb-stack-card-inner {
    grid-template-columns: 1fr !important;
  }

  .onb-stack-left {
    padding: 28px 24px 20px 24px !important;
    border-right: none !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
  }

  .onb-stack-right {
    padding: 20px 24px 28px 24px !important;
  }

  .onb-stack-metrics {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .onb-scroll-stack-track {
    height: auto !important;
  }

  .onb-scroll-stack-stage {
    position: relative !important;
    top: auto !important;
    height: auto !important;
  }

  .onb-stack-card {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    margin-bottom: 24px !important;
    transform: none !important;
    opacity: 1 !important;
    filter: none !important;
  }
}

/* --------------------------------------------------------------------------
   4. Photo Lab Use-Cases Perspective Cards (R6 React Bits Tilted Cards)
   -------------------------------------------------------------------------- */
.onb-usecases-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.onb-usecase-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease, border-color 0.25s ease;
  perspective: 1000px;
  transform-style: preserve-3d;
}

.onb-usecase-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 20px 40px -12px rgba(14, 165, 233, 0.18), 0 4px 12px rgba(0, 0, 0, 0.04);
  border-color: var(--color-sky-200);
}

.onb-usecase-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.onb-usecase-icon {
  font-size: 32px;
}

.onb-usecase-category {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-sky-700);
  background: var(--color-sky-50);
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.04em;
}

.onb-usecase-title {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 700;
  color: var(--color-brand-black);
  margin-bottom: 8px;
}

.onb-usecase-desc {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--color-text-muted);
  margin-bottom: 24px;
  flex: 1;
}

.onb-usecase-pill {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8fafc;
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 600;
}

.onb-pill-item {
  color: var(--color-text-primary);
}

.onb-pill-price {
  color: var(--color-sky-600);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   5. Magic UI Animated Beam for Tally (R9 Concept)
   -------------------------------------------------------------------------- */
.onb-beam-wrapper {
  position: relative;
  max-width: 820px;
  margin: 56px auto 20px auto;
  padding: 24px 0;
}

.onb-beam-svg {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 60px;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 1;
}

.onb-beam-pulse {
  animation: beamFlow 4s linear infinite;
}

@keyframes beamFlow {
  0% { stroke-dashoffset: 400; }
  100% { stroke-dashoffset: 0; }
}

.onb-beam-nodes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
  z-index: 2;
}

.onb-beam-box {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.09);
  border-radius: 18px;
  padding: 28px 20px;
  text-align: center;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.onb-beam-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px -10px rgba(14, 165, 233, 0.18);
  border-color: var(--color-sky-300);
}

.onb-beam-box--mid {
  background: linear-gradient(180deg, #ffffff 0%, var(--color-sky-50) 100%);
  border-color: var(--color-sky-200);
}

.onb-beam-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--color-sky-50);
  color: var(--color-sky-600);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px auto;
}

.onb-beam-badge {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-sky-700);
  background: var(--color-sky-100);
  padding: 2px 8px;
  border-radius: 999px;
  margin-bottom: 10px;
}

/* --------------------------------------------------------------------------
   6. Reports Dashboard Frame & Morphing Dialog (R10 Concept)
   -------------------------------------------------------------------------- */
.onb-dashboard-stage {
  max-width: 900px;
  margin: 48px auto 0 auto;
  perspective: 1200px;
}

.onb-dashboard-frame {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 20px;
  box-shadow: 0 24px 60px -15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transform: scale(0.94) rotateX(6deg) translateY(40px);
  opacity: 0;
  transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  transform-style: preserve-3d;
}

.onb-section.is-in-view .onb-dashboard-frame {
  transform: scale(1) rotateX(0deg) translateY(0);
  opacity: 1;
}

.onb-frame-inspect-btn {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-sky-700);
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.onb-frame-inspect-btn:hover {
  background: var(--color-sky-50);
  border-color: var(--color-sky-300);
  transform: scale(1.03);
}

.inspect-icon {
  width: 14px;
  height: 14px;
}

.onb-dashboard-surface {
  padding: 32px;
}

.onb-rep-info {
  display: flex;
  flex-direction: column;
}

.onb-rep-label {
  font-size: 12px;
  color: var(--color-text-muted);
}

.onb-rep-val {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-brand-black);
}

/* Accessible Modal Dialog */
.onb-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.onb-modal-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.onb-modal-dialog {
  background: #ffffff;
  border-radius: 20px;
  max-width: 760px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.35);
  transform: scale(0.94) translateY(20px);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

.onb-modal-backdrop.is-open .onb-modal-dialog {
  transform: scale(1) translateY(0);
}

.onb-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 28px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.onb-modal-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.onb-modal-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-brand-black);
}

.onb-modal-close {
  background: #f1f5f9;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--color-text-primary);
  transition: background 0.2s ease;
}

.onb-modal-close:hover {
  background: #e2e8f0;
}

.onb-modal-body {
  padding: 28px;
}

.onb-modal-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.onb-modal-card {
  background: #f8fafc;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
}

.onb-modal-label {
  font-size: 12px;
  color: var(--color-text-muted);
}

.onb-modal-val {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-sky-600);
  margin: 4px 0;
}

.onb-modal-subtext {
  font-size: 11px;
  color: #166534;
  font-weight: 600;
}

.onb-modal-section-h {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 12px;
}

.onb-modal-table-wrap {
  overflow-x: auto;
}

.onb-modal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.onb-modal-table th {
  text-align: left;
  padding: 10px 14px;
  background: #f1f5f9;
  font-weight: 700;
  color: var(--color-text-muted);
}

.onb-modal-table td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.onb-table-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
}

.onb-table-badge--warn {
  background: #fef3c7;
  color: #b45309;
}

.onb-table-badge--ok {
  background: #dcfce7;
  color: #166534;
}

/* --------------------------------------------------------------------------
   7. Magic UI Border Beam (R11 Concept for Coming Soon)
   -------------------------------------------------------------------------- */
.onb-border-beam-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(14, 165, 233, 0.2) !important;
}

.onb-border-beam-track {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}

.onb-border-beam-track::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent 0 340deg, #38bdf8 360deg);
  animation: borderBeamRotate 8s linear infinite;
  opacity: 0.65;
}

.onb-border-beam-card > *:not(.onb-border-beam-track) {
  position: relative;
  z-index: 2;
}

.onb-border-beam-card::after {
  content: '';
  position: absolute;
  inset: 2px;
  background: #ffffff;
  border-radius: calc(20px - 2px);
  z-index: 1;
}

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

.onb-coming-stage.is-pulsing {
  animation: stagePulse 2.5s ease-in-out infinite alternate;
  background: var(--color-sky-500) !important;
  color: #ffffff !important;
}

@keyframes stagePulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(14, 165, 233, 0.4); }
  100% { transform: scale(1.05); box-shadow: 0 0 16px 4px rgba(14, 165, 233, 0.3); }
}

/* --------------------------------------------------------------------------
   8. Motion Primitives Animated Background Tabs (R12 Concept for Pricing)
   -------------------------------------------------------------------------- */
.onb-pricing-toggle-wrap {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.onb-animated-tabs {
  display: inline-flex;
  background: #f1f5f9;
  padding: 4px;
  border-radius: 999px;
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.onb-tab-slider {
  position: absolute;
  top: 4px;
  left: 4px;
  height: calc(100% - 8px);
  width: 120px;
  background: #ffffff;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), width 0.28s ease;
  pointer-events: none;
}

.onb-tab-btn {
  background: transparent;
  border: none;
  padding: 8px 20px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--color-text-muted);
  cursor: pointer;
  position: relative;
  z-index: 2;
  transition: color 0.2s ease;
}

.onb-tab-btn.is-active {
  color: var(--color-brand-black);
}

.onb-discount-badge {
  font-size: 10px;
  font-weight: 700;
  background: var(--color-sky-100);
  color: var(--color-sky-700);
  padding: 2px 6px;
  border-radius: 999px;
  margin-left: 4px;
}

/* --------------------------------------------------------------------------
   Responsive Layout Adjustments
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .onb-sticky-showcase {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .onb-showcase-sticky-stage {
    position: relative;
    top: 0;
    margin-top: 30px;
  }

  .onb-accordion-gallery {
    gap: 10px;
  }

  .onb-accordion-panel.is-active {
    min-width: 360px;
  }

  .onb-usecases-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .onb-beam-nodes {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .onb-beam-svg {
    display: none;
  }
}

@media (max-width: 900px) {
  .onb-accordion-gallery {
    flex-direction: column;
    min-height: auto;
    gap: 12px;
  }

  .onb-accordion-panel {
    min-width: 100%;
    flex: none !important;
  }

  .onb-panel-collapsed {
    flex-direction: row;
    height: 60px;
    padding: 12px 18px;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
  }

  .onb-collapsed-title {
    writing-mode: horizontal-tb;
    transform: none;
    font-size: 14px;
    margin: 0;
  }

  .onb-collapsed-icon {
    margin: 0;
    width: 32px;
    height: 32px;
  }

  .onb-collapsed-dot {
    margin-left: auto;
  }

  .onb-panel-expanded {
    padding: 24px 20px;
  }

  .onb-crm-stats-grid {
    grid-template-columns: 1fr;
  }

  .onb-cat-grid {
    grid-template-columns: 1fr;
  }

  .flow-nodes-row {
    flex-direction: column;
    gap: 12px;
  }

  .flow-arrow-beam {
    transform: rotate(90deg);
  }
}

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

  .onb-timeline-rail {
    left: 20px;
  }

  .onb-timeline-node {
    width: 44px;
    height: 44px;
    font-size: 13px;
  }

  .onb-timeline-step {
    gap: 16px;
  }

  .onb-modal-summary-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Section: Customer Stories / Testimonial Drift Wall (3D Slanted Roof Plane)
   ========================================================================== */
.onb-drift-wall-section {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 50%, #ffffff 100%);
  padding: 70px 0 80px !important;
  margin: 0 !important;
  overflow: hidden;
}

.onb-drift-header-container {
  width: 100%;
  max-width: 820px;
  margin: 0 auto 28px;
  text-align: center;
  position: relative;
  z-index: 10;
}

.onb-drift-stage-wrapper {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  height: 490px;
  overflow: hidden;
  perspective: 1200px;
  perspective-origin: 50% 50%;
  padding: 0 12px;
  box-sizing: border-box;
  /* React Bits Edge Dissolve (Wide Radial + Linear mask for full horizontal visibility) */
  mask-image: radial-gradient(ellipse 100% 92% at 50% 50%, #000 86%, transparent 100%),
              linear-gradient(to bottom, transparent 0%, black 10%, black 90%, transparent 100%);
  mask-composite: intersect;
  -webkit-mask-image: radial-gradient(ellipse 100% 92% at 50% 50%, #000 86%, transparent 100%),
                      linear-gradient(to bottom, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-composite: source-in;
  pointer-events: auto;
}

.onb-drift-wall-stage {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  width: calc(100% + 90px);
  max-width: none;
  transform-style: preserve-3d;
  transform-origin: 50% 50%;
  /* Shifted to right, top-right to back (-Z), bottom-left to forward (+Z) */
  transform: translate(-45.5%, -50%) scale(1.0) rotateX(10deg) rotateY(13deg) rotateZ(-2deg);
  will-change: transform;
}

.onb-drift-col {
  flex: 1 1 0;
  min-width: 220px;
  max-width: none;
  width: 100%;
  height: 100%;
  overflow: visible;
  position: relative;
  transform-style: preserve-3d;
}

.onb-drift-track {
  display: flex;
  flex-direction: column;
  gap: 20px;
  will-change: transform;
  transform-style: preserve-3d;
}

.onb-drift-card {
  width: 100%;
  box-sizing: border-box;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 18px;
  padding: 18px 18px 15px;
  box-shadow: 0 10px 28px -6px rgba(15, 23, 42, 0.07), 0 3px 8px -2px rgba(15, 23, 42, 0.03);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transform-style: preserve-3d;
  will-change: transform, box-shadow, border-color;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease, border-color 0.28s ease;
  user-select: none;
  cursor: default;
}

/* Hover Interaction: React Bits 3D Lift towards viewer */
.onb-drift-card:hover {
  transform: translateZ(50px) scale(1.03) !important;
  border-color: rgba(14, 165, 233, 0.65);
  box-shadow: 0 24px 50px -10px rgba(14, 165, 233, 0.22), 0 6px 16px -2px rgba(15, 23, 42, 0.05);
  z-index: 50;
}

.onb-drift-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.onb-drift-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #e0f2fe;
  color: #0284c7;
  font-weight: 700;
  font-size: 13.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1.5px solid rgba(14, 165, 233, 0.25);
  letter-spacing: 0.5px;
}

.onb-drift-meta {
  flex: 1;
  min-width: 0;
}

.onb-drift-author-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.onb-drift-name {
  font-size: 14.5px;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.onb-drift-sample-tag {
  font-size: 9.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 1.5px 6px;
  border-radius: 999px;
  background: rgba(241, 245, 249, 0.95);
  color: #64748b;
  border: 1px solid rgba(203, 213, 225, 0.7);
  flex-shrink: 0;
}

.onb-drift-role-loc {
  font-size: 12px;
  color: #64748b;
  margin: 2px 0 0;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.onb-drift-dot {
  color: #0ea5e9;
  font-weight: bold;
  margin: 0 2px;
}

.onb-drift-quote {
  font-size: 13px;
  line-height: 1.52;
  color: #1e293b;
  margin: 0 0 10px;
  font-style: normal;
  font-weight: 400;
  flex: 1;
}

.onb-drift-card-footer {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-top: 10px;
  border-top: 1px solid rgba(241, 245, 249, 0.95);
}

.onb-drift-brandmark {
  width: 13px;
  height: 13px;
  color: #0ea5e9;
}

.onb-drift-brandmark-text {
  font-size: 11px;
  font-weight: 600;
  color: #94a3b8;
  letter-spacing: 0.2px;
}

/* Responsive: 4 columns -> 3 columns -> 2 columns -> 1 column */
@media (max-width: 1200px) {
  .onb-drift-col[data-col="3"] {
    display: none;
  }
  .onb-drift-col {
    flex: 0 0 calc(33.333% - 14px);
    width: calc(33.333% - 14px);
  }
  .onb-drift-wall-stage {
    transform: translate(-47%, -50%) scale(1.0) rotateX(9deg) rotateY(11deg) rotateZ(-1.5deg);
  }
}

@media (max-width: 860px) {
  .onb-drift-stage-wrapper {
    height: 440px;
  }
  .onb-drift-col[data-col="2"] {
    display: none;
  }
  .onb-drift-col {
    flex: 0 0 calc(50% - 10px);
    width: calc(50% - 10px);
  }
  .onb-drift-wall-stage {
    gap: 16px;
    transform: translate(-48.5%, -50%) scale(1.0) rotateX(7deg) rotateY(8deg) rotateZ(-1deg);
  }
}

@media (max-width: 540px) {
  .onb-drift-wall-section {
    padding: 60px 0 70px !important;
  }
  .onb-drift-stage-wrapper {
    height: 400px;
    padding: 0 8px;
  }
  .onb-drift-col[data-col="1"] {
    display: none;
  }
  .onb-drift-col {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
  }
  .onb-drift-wall-stage {
    transform: translate(-50%, -50%) scale(1.0) rotateX(4deg) rotateY(4deg) rotateZ(0deg);
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .onb-drift-stage-wrapper {
    height: auto;
    mask-image: none;
    -webkit-mask-image: none;
    overflow: visible;
  }
  .onb-drift-wall-stage {
    position: relative;
    top: auto;
    left: auto;
    transform: none !important;
    flex-wrap: wrap;
    height: auto;
    width: 100%;
  }
  .onb-drift-col {
    display: block !important;
    height: auto;
    flex: 0 0 calc(50% - 12px);
  }
  .onb-drift-track {
    transform: none !important;
  }
}

/* --------------------------------------------------------------------------
   Reduced Motion Overrides (Complete Accessibility Compliance)
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .onb-drift-wall-stage,
  .onb-drift-row,
  .onb-drift-card {
    transform: none !important;
    opacity: 1 !important;
    transition: none !important;
    animation: none !important;
  }
  .section-eyebrow,
  .section-title,
  .section-subtitle,
  .onb-dashboard-frame,
  .onb-timeline-step,
  .onb-narrative-item,
  .onb-showcase-screen,
  .onb-accordion-panel,
  .onb-panel-expanded,
  .onb-gallery-pill,
  .onb-usecase-card {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
    animation: none !important;
  }

  .onb-beam-pulse,
  .onb-border-beam-track::before,
  .onb-coming-stage.is-pulsing {
    animation: none !important;
  }

  .onb-timeline-progress {
    height: 100% !important;
    transition: none !important;
  }

  .onb-showcase-screen {
    display: block !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
