/* ============================================
   product-imaging.com
   Aesthetic: Editorial Tech — serif italics over geometric sans
   Fonts: Fraunces (display, SOFT+ital variable) + Manrope (body)
          JetBrains Mono (micro labels, logo TM)
   Palette: Sky blue on cool slate neutrals
   ============================================ */
:root {
  --primary: #0ea5e9;
  --primary-dark: #0284c7;
  --primary-light: rgba(14, 165, 233, 0.1);
  --primary-glow: rgba(14, 165, 233, 0.07);
  --secondary: #0f172a;
  --text: #e2e8f0;
  --text-light: #94a3b8;
  --text-muted: #64748b;
  --bg: #0b1120;
  --bg-alt: #111827;
  --bg-dark: #0f172a;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-card-hover: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.08);
  --card-shadow: 0 1px 3px rgba(0, 0, 0, 0.2), 0 6px 16px rgba(0, 0, 0, 0.15);
  --card-shadow-hover: 0 4px 8px rgba(0, 0, 0, 0.25), 0 16px 40px rgba(0, 0, 0, 0.2);
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --font: 'Manrope', system-ui, -apple-system, sans-serif;
  --font-heading: 'Manrope', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --max-width: 1200px;
  --header-height: 72px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --transition: 0.3s var(--ease);
}

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

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

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-weight: 400;
  overflow-x: clip;
}

::selection {
  background: rgba(14, 165, 233, 0.15);
  color: var(--text);
}

a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.12;
  color: var(--text);
  font-weight: 700;
  letter-spacing: -0.022em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3rem); margin-bottom: 1rem; font-weight: 700; }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); margin-bottom: 0.75rem; font-weight: 700; }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.4rem); margin-bottom: 0.5rem; letter-spacing: -0.015em; font-weight: 700; }
h4 { font-weight: 700; letter-spacing: -0.01em; }

/* Hero-title emphasis — solid cyan accent, no gradient / no serif italic.
   Applied globally so every page hero reads the same; this overrides
   the older gradient+italic rules still declared in page templates. */
h1 em, h2 em,
.hero-title em, .about-title em, .svc-title em,
.contact-title em, .faq-title em, .blog-title em {
  font-style: normal;
  font-weight: 800;
  color: var(--primary);
  background: none;
  -webkit-text-fill-color: currentColor;
  -webkit-background-clip: border-box;
          background-clip: border-box;
  padding: 0;
  display: inline;
  filter: none;
}

p { margin-bottom: 1rem; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.card,
.showcase-card,
.flow-step,
.section-header,
.stat-card,
.pipeline-step,
.pipeline-detail-step,
.faq-item,
.pricing-card {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.in-view {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Stagger children in grids */
.grid .card:nth-child(2),
.grid .stat-card:nth-child(2),
.grid .pricing-card:nth-child(2),
.showcase-grid .showcase-card:nth-child(2) { transition-delay: 0.08s; }
.grid .card:nth-child(3),
.grid .stat-card:nth-child(3),
.grid .pricing-card:nth-child(3),
.showcase-grid .showcase-card:nth-child(3) { transition-delay: 0.16s; }
.grid .card:nth-child(4) { transition-delay: 0.24s; }
.grid .card:nth-child(5) { transition-delay: 0.32s; }
.grid .card:nth-child(6) { transition-delay: 0.4s; }

.flow-step:nth-child(3) { transition-delay: 0.06s; }
.flow-step:nth-child(5) { transition-delay: 0.12s; }
.flow-step:nth-child(7) { transition-delay: 0.18s; }
.flow-step:nth-child(9) { transition-delay: 0.24s; }

/* ============================================
   HEADER / NAV
   ============================================ */
.site-header {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.95) 0%, rgba(7, 11, 20, 0.88) 100%);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: none;
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  display: flex;
  align-items: center;
}
.site-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 5%;
  right: 5%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(14, 165, 233, 0.15) 15%,
    rgba(56, 189, 248, 0.35) 50%,
    rgba(14, 165, 233, 0.15) 85%,
    transparent 100%
  );
  filter: blur(0.3px);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* ── Wordmark ────────────────────────────────────────────────────────
   Clean single-line lockup — sentence-case brand name followed by a
   primary-cyan terminal caret that blinks at a slow, editorial pace.
   The caret's color is the same token as the hero primary button
   fill, tying the two brand moments together.
*/
.nav-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 1;
  padding: 0.25rem 0;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  white-space: nowrap;
}

.wm-name {
  font-family: var(--font);
  font-weight: 700;
  font-size: 1.14rem;
  letter-spacing: -0.012em;
  color: rgba(255, 255, 255, 0.96);
  transition: color 0.3s var(--ease);
}

.wm-caret {
  display: inline-block;
  width: 2px;
  height: 1.05em;
  background: var(--primary);
  margin-left: 0.18em;
  transform: translateY(0.06em);
  animation: wmCaret 1.15s steps(2, end) infinite;
  box-shadow: 0 0 6px rgba(14, 165, 233, 0.5);
}
@keyframes wmCaret {
  0%, 52% { opacity: 1; }
  53%, 100% { opacity: 0; }
}

.nav-logo:hover .wm-name { color: #fff; }

/* Footer variant — identical typography, centered in its column */
.wordmark--footer {
  justify-content: center;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.92);
}

.nav-links {
  display: flex;
  gap: 0.15rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.55);
  font-weight: 500;
  font-size: 0.85rem;
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  transition: all var(--transition);
  letter-spacing: 0.005em;
}

.nav-links a:hover {
  color: rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.08);
}

.nav-links a.active {
  color: var(--primary);
  background: rgba(14, 165, 233, 0.12);
  font-weight: 600;
}

/* Demo Services — nav CTA button */
.nav-links a[href="/demo-services"] {
  color: white;
  font-weight: 600;
  background: var(--primary);
  border: none;
  padding: 0.45rem 1.1rem 0.45rem 0.85rem;
  border-radius: 8px;
  letter-spacing: 0;
  margin-left: 0.35rem;
  position: relative;
  box-shadow:
    0 1px 3px rgba(14,165,233,0.25),
    0 0 0 0 rgba(14,165,233,0);
  transition: all 0.3s var(--ease);
}
.nav-links a[href="/demo-services"]::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.85);
  margin-right: 0.45rem;
  vertical-align: middle;
  box-shadow: 0 0 6px 1px rgba(255,255,255,0.4);
  animation: demoDot 2.5s ease-in-out infinite;
}
@keyframes demoDot {
  0%, 100% { opacity: 0.6; box-shadow: 0 0 4px 1px rgba(255,255,255,0.2); }
  50% { opacity: 1; box-shadow: 0 0 8px 2px rgba(255,255,255,0.5); }
}
.nav-links a[href="/demo-services"]:hover {
  background: var(--primary-dark);
  color: white;
  transform: translateY(-1px);
  box-shadow:
    0 4px 12px rgba(14,165,233,0.3),
    0 1px 3px rgba(14,165,233,0.15);
}
.nav-links a[href="/demo-services"].active {
  background: var(--primary-dark);
  color: white;
  box-shadow:
    0 1px 3px rgba(14,165,233,0.2),
    inset 0 1px 2px rgba(0,0,0,0.15);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: rgba(255, 255, 255, 0.7);
  margin: 4px 0;
  transition: var(--transition);
  border-radius: 2px;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  background: linear-gradient(160deg, #070b14 0%, #0f172a 45%, #0c1525 100%);
  color: white;
  padding: 5.5rem 0 4.5rem;
  position: relative;
  overflow: clip;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 75% 30%, rgba(14, 165, 233, 0.08), transparent 70%),
    radial-gradient(ellipse 50% 50% at 25% 70%, rgba(14, 165, 233, 0.04), transparent 70%);
  pointer-events: none;
}

/* Subtle noise texture on hero */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  pointer-events: none;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text { max-width: 580px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.35rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.75rem;
  background: rgba(255, 255, 255, 0.03);
}

.hero h1 {
  color: white;
  font-size: clamp(2.8rem, 6vw, 3.9rem);
  line-height: 1.02;
  margin-bottom: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.hero-accent {
  color: var(--primary);
  font-style: normal;
  font-weight: 800;
  letter-spacing: -0.022em;
}

.hero p {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 2.25rem;
  max-width: 440px;
  text-wrap: balance;
}

/* Rotator — all three capability phrases sit on one row, separated by
   middle dots. An animated "spotlight" sweeps across them every 9s:
   each phrase brightens and grows a cyan underline for its 3s window,
   then hands off to the next. Dim phrases stay legible so the full list
   reads as a single continuous statement of what we deliver. */
.hero p.hero-rotator {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  /* row-gap kept generous so the underline glow (bottom:-0.3rem) and the
     text-shadow bloom from an upper row don't bleed into a wrapped row. */
  gap: 0.9rem 0.6rem;
  max-width: none;
  width: 100%;
  margin-bottom: 2rem;
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 500;
  letter-spacing: 0.005em;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.4);
  overflow: visible;
}
.hero-rotator .hero-rot-item {
  position: relative;
  display: inline-block;
  color: rgba(255, 255, 255, 0.42);
  white-space: nowrap;
  animation: heroRotGlow 9s infinite cubic-bezier(0.45, 0.05, 0.25, 1);
  will-change: color, text-shadow;
}
.hero-rotator .hero-rot-item::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -0.3rem;
  height: 1.5px;
  background: linear-gradient(90deg,
    rgba(56,189,248,0) 0%,
    rgba(56,189,248,0.9) 30%,
    rgba(45,212,191,0.9) 70%,
    rgba(45,212,191,0) 100%);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: center;
  animation: heroRotBar 9s infinite cubic-bezier(0.45, 0.05, 0.25, 1);
  will-change: transform, opacity;
  opacity: 0;
}
.hero-rotator .hero-rot-item:nth-child(1),
.hero-rotator .hero-rot-item:nth-child(1)::after { animation-delay: 0s; }
.hero-rotator .hero-rot-item:nth-child(3),
.hero-rotator .hero-rot-item:nth-child(3)::after { animation-delay: 3s; }
.hero-rotator .hero-rot-item:nth-child(5),
.hero-rotator .hero-rot-item:nth-child(5)::after { animation-delay: 6s; }

.hero-rotator .hero-rot-sep {
  color: rgba(56, 189, 248, 0.38);
  font-weight: 400;
  user-select: none;
}

@keyframes heroRotGlow {
  0%, 33.33%, 100% {
    color: rgba(255, 255, 255, 0.42);
    text-shadow: none;
  }
  5%, 28% {
    color: rgba(255, 255, 255, 0.98);
    text-shadow: 0 0 18px rgba(56, 189, 248, 0.28);
  }
}

@keyframes heroRotBar {
  0%, 33.33%, 100% {
    transform: scaleX(0);
    opacity: 0;
  }
  5%, 28% {
    transform: scaleX(1);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-rotator .hero-rot-item {
    color: rgba(255, 255, 255, 0.85);
    animation: none;
    text-shadow: none;
  }
  .hero-rotator .hero-rot-item::after { animation: none; display: none; }
}

@media (max-width: 900px) {
  .hero p.hero-rotator {
    justify-content: center;
    font-size: 1rem;
    gap: 0.85rem 0.5rem;
  }
}
@media (max-width: 560px) {
  .hero p.hero-rotator {
    font-size: 0.92rem;
    gap: 0.8rem 0.4rem;
  }
}

.hero-actions {
  display: flex;
  gap: 1rem;
  align-items: stretch;
  flex-wrap: wrap;
  margin-top: 1.75rem;
  width: 100%;
  max-width: 580px;
}

/* Hero CTAs — clean rectangles that pair with the wordmark caret.
   Primary is a solid cyan fill (same token as the caret); secondary
   is a hairline-outlined ghost. No sheen, no glossy highlights —
   presence comes from precise type + confident rest/hover states. */
.hero-actions .btn {
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.005em;
  padding: 0.9rem 1.5rem;
  flex: 1 1 180px;
  min-width: 180px;
  min-height: 52px;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  gap: 0.7rem;
  justify-content: center;
  transition:
    transform 0.22s var(--ease),
    background 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    color 0.2s ease;
}
.hero-actions .btn > span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

/* Primary — solid cyan, white text, one focused shadow */
.hero-actions .btn-white {
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 8px 22px -10px rgba(14, 165, 233, 0.7);
}
.hero-actions .btn-white:hover {
  background: #38bdf8;
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 12px 28px -10px rgba(14, 165, 233, 0.85);
  color: #fff;
}
.hero-actions .btn-white:active { transform: translateY(0); }

/* Ghost — hairline outline, fills subtly on hover */
.hero-actions .btn-ghost {
  background: transparent;
  color: rgba(255, 255, 255, 0.92);
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  box-shadow: none;
}
.hero-actions .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  border-color: rgba(125, 211, 252, 0.55);
  transform: translateY(-1px);
  box-shadow: 0 8px 22px -12px rgba(14, 165, 233, 0.45);
}
.hero-actions .btn-ghost:active { transform: translateY(0); }

/* Arrow glyph — slides on hover, tighter motion curve */
.hero-actions .btn .btn-arrow {
  display: inline-block;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 1em;
  line-height: 1;
  transform: translateX(0);
  transition: transform 0.22s var(--ease);
  opacity: 0.95;
}
.hero-actions .btn:hover .btn-arrow { transform: translateX(4px); }
.hero-actions .btn-ghost .btn-arrow { transform: translate(0, 0); }
.hero-actions .btn-ghost:hover .btn-arrow { transform: translate(3px, -3px); }

@media (max-width: 1100px) {
  .hero-actions { max-width: 100%; }
  .hero-actions .btn {
    flex: 1 1 150px;
    min-width: 150px;
    min-height: 42px;
    padding: 0.75rem 1.28rem;
    font-size: 0.95rem;
    border-radius: 10px;
  }
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-illustration {
  width: 100%;
  max-width: 440px;
  height: auto;
  filter: drop-shadow(0 12px 40px rgba(0, 0, 0, 0.35));
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.6rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.85rem;
  font-family: var(--font);
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-align: center;
  letter-spacing: 0.005em;
  gap: 0.5rem;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 1px 2px rgba(14, 165, 233, 0.2), 0 0 0 0 rgba(14, 165, 233, 0);
}
.btn-primary:hover {
  background: var(--primary-dark);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(14, 165, 233, 0.25), 0 0 0 0 rgba(14, 165, 233, 0);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  box-shadow: inset 0 0 0 1.5px var(--primary);
}
.btn-outline:hover { background: var(--primary); color: white; box-shadow: inset 0 0 0 1.5px var(--primary); }

.btn-white {
  background: var(--primary);
  color: white;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(14, 165, 233, 0.25);
}
.btn-white:hover {
  background: var(--primary-dark);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(14, 165, 233, 0.3);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.75);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
  padding: 6rem 0;
}

/* Tightened top padding for the first/lead section on content pages
   (Pricing, FAQ, Portfolio, Blog, Generic, Blog post, etc.) so content
   begins at the same vertical position as About / Services / Contact. */
.section.section-lead { padding-top: 2rem; }
/* Suppress the inner .page-content extra 3rem when inside a lead section */
.section.section-lead > .page-content,
.section.section-lead > .container.page-content { padding-top: 0; }
@media (max-width: 768px) {
  .section.section-lead { padding-top: 1.25rem; }
}

.section-alt {
  background: var(--bg-alt);
}

.section-dark {
  background: var(--bg-dark);
  color: var(--text-muted);
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header h2 {
  color: var(--text);
  text-wrap: balance;
}

.section-header p {
  color: var(--text-light);
  font-size: 1rem;
  max-width: 520px;
  margin: 0.75rem auto 0;
  line-height: 1.7;
  text-wrap: balance;
}

.section-header--light h2 { color: white; }
.section-header--light p { color: rgba(255, 255, 255, 0.4); }

/* ============================================
   PLANOGRAM PROBLEM SECTION
   ============================================ */
.problem-section {
  background: linear-gradient(180deg, #0c1525 0%, #0f172a 20%, #0f172a 100%);
  padding: 5.5rem 0 4.5rem;
  position: relative;
  overflow: hidden;
}
.problem-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 25% at 50% 0%, rgba(14,165,233,0.07), transparent 60%),
    radial-gradient(ellipse 50% 50% at 50% 40%, rgba(14,165,233,0.04), transparent 70%);
  pointer-events: none;
}
.problem-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(14,165,233,0.25) 30%, rgba(56,189,248,0.4) 50%, rgba(14,165,233,0.25) 70%, transparent);
  pointer-events: none;
  z-index: 2;
}

/* Centered text block */
.problem-text-center {
  text-align: center;
  position: relative;
  z-index: 1;
  margin-bottom: 2.5rem;
}

.problem-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--primary);
  margin-bottom: 1.25rem;
  justify-content: center;
}
.problem-eyebrow::before,
.problem-eyebrow::after {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
  opacity: 0.5;
}

.problem-text-center h2 {
  color: white;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  line-height: 1.08;
  margin-bottom: 1rem;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.problem-text-center h2 .text-accent {
  color: var(--primary);
}

.problem-text-center > p {
  color: rgba(255,255,255,0.45);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 540px;
  margin: 0 auto;
}

.problem-consequence {
  color: rgba(255,255,255,0.35);
  font-size: 0.85rem;
  margin-top: 0.75rem;
}

/* ── Hero trust line ── */
.hero-trust {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
  margin-top: 1.25rem;
  max-width: 400px;
  line-height: 1.5;
}

/* PC (>1024px): center the hero's left column contents on a shared axis
   — badge, title, rotator, CTAs, trust line all align to one center.
   The 2-column grid itself stays untouched. Mobile keeps its existing
   centered layout from the responsive block below. */
@media (min-width: 1025px) {
  .hero .hero-text { text-align: center; }
  .hero .hero-text .hero-actions { justify-content: center; }
  .hero .hero-text .hero-trust { margin-left: auto; margin-right: auto; }
}

/* ── Choose Your Workflow cards ── */
.workflow-section { padding-top: 3rem; padding-bottom: 1rem; }

.workflow-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.workflow-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 2rem 1.75rem;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
}

.workflow-card:hover {
  border-color: rgba(14,165,233,0.3);
  transform: translateY(-2px);
}

.workflow-card--alt:hover {
  border-color: rgba(34,197,94,0.3);
}

.workflow-card-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1.25rem;
  color: var(--primary);
}

.workflow-card-icon svg {
  width: 100%;
  height: 100%;
}

.workflow-card--alt .workflow-card-icon { color: #22c55e; }

.workflow-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.workflow-card p {
  font-size: 0.85rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.45);
  margin-bottom: 1.5rem;
}

.workflow-card .btn {
  font-size: 0.8rem;
  padding: 0.55rem 1.4rem;
}

@media (max-width: 640px) {
  .workflow-cards { grid-template-columns: 1fr; }
}


/* Wide planogram SVG illustration */
.problem-plano-wrap {
  position: relative;
  z-index: 1;
  margin: 0 -1.5rem;
  line-height: 0;
  opacity: 0;
  filter: brightness(0);
  transform: translateY(16px);
}

.problem-plano-wrap.in-view {
  animation: planoLighten 2.8s ease-out forwards;
}

/* Scan line that sweeps down during reveal */
.problem-plano-wrap::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  top: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(14,165,233,0.4) 20%, rgba(56,189,248,0.8) 50%, rgba(14,165,233,0.4) 80%, transparent 100%);
  opacity: 0;
  pointer-events: none;
  z-index: 2;
  box-shadow: 0 0 16px 4px rgba(14,165,233,0.25);
}

.problem-plano-wrap.in-view::after {
  animation: planoScanLine 2.2s ease-in-out 0.4s forwards;
}

/* Replay scan on hover / click */
.problem-plano-wrap.in-view.rescan::after {
  animation: planoScanLine 1.6s ease-in-out forwards;
}
.problem-plano-wrap { cursor: pointer; }

@keyframes planoLighten {
  0% {
    opacity: 0;
    filter: brightness(0) saturate(0);
    transform: translateY(16px);
  }
  25% {
    opacity: 1;
    filter: brightness(0.2) saturate(0.2);
    transform: translateY(6px);
  }
  55% {
    filter: brightness(0.6) saturate(0.6);
    transform: translateY(0);
  }
  100% {
    opacity: 1;
    filter: brightness(1) saturate(1);
    transform: translateY(0);
  }
}

@keyframes planoScanLine {
  0% { top: 0; opacity: 0; }
  8% { opacity: 1; }
  80% { opacity: 0.6; }
  100% { top: 100%; opacity: 0; }
}

.problem-plano-svg {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 8px 32px rgba(0,0,0,0.3));
}

/* The missing product group pulses (visible after reveal completes) */
.problem-plano-svg .plano-missing {
  animation: planoMissing 3s ease-in-out infinite;
}
@keyframes planoMissing {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

/* ── Interactive planogram slot (drop zone) ── */
#plano-dropzone {
  border-radius: 6px;
  transition: background 0.2s, box-shadow 0.2s;
}
#plano-dropzone:hover {
  background: rgba(14,165,233,0.12);
  box-shadow: inset 0 0 0 2px rgba(14,165,233,0.4);
}
#plano-dropzone.drag-over {
  background: rgba(14,165,233,0.22);
  box-shadow: inset 0 0 0 2px rgba(14,165,233,0.7), 0 0 20px rgba(14,165,233,0.3);
}
/* When product is placed, drop zone stays as a double-tap target */
.plano-filled #plano-dropzone { cursor: pointer; }
/* Smooth fade for placed image */
#plano-placed-img {
  opacity: 0;
  transition: opacity 0.4s ease;
}
#plano-placed-img.visible {
  opacity: 1;
}
#plano-placed-img.removing {
  animation: planoRemove 0.45s ease-in forwards;
  pointer-events: none;
}
@keyframes planoRemove {
  0%   { opacity: 1; transform: scale(1) rotate(0deg); }
  40%  { opacity: 0.7; transform: scale(1.08) rotate(-2deg); }
  100% { opacity: 0; transform: scale(0.3) rotate(8deg) translateY(20px); }
}
/* Fade out missing elements when product is placed */
.plano-filled #plano-ghost,
.plano-filled #plano-highlight,
.plano-filled #plano-missing-tag,
.plano-filled #plano-doodles {
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
/* Reset button that appears after placing */
.plano-reset-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(7,11,20,0.7);
  color: rgba(255,255,255,0.8);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 0.72rem;
  font-family: var(--font-body);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, background 0.2s;
  z-index: 2;
}
.plano-filled .plano-reset-btn {
  opacity: 1;
  pointer-events: auto;
}
.plano-reset-btn:hover {
  background: rgba(239,68,68,0.5);
  border-color: rgba(239,68,68,0.6);
  color: white;
}

/* Toast notification for planogram slot errors */
.plano-toast {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #991b1b;
  color: #fff;
  padding: 0.85rem 1.2rem;
  font-size: 0.85rem;
  text-align: center;
  line-height: 1.45;
  opacity: 0;
  transform: translateY(-100%);
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
  z-index: 99999;
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.plano-toast.visible {
  opacity: 1;
  transform: translateY(0);
}

/* CTA row below illustration */
.problem-cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2.5rem;
  position: relative;
  z-index: 1;
}

/* Responsive */
@media (max-width: 640px) {
  .hero {
    padding: 1.25rem 0 3rem;
    background: linear-gradient(180deg, #0f172a 0%, #070b14 100%);
  }
  .hero h1 { font-size: clamp(1.75rem, 7vw, 2.2rem); }
  .hero-visual {
    display: flex !important;
    margin-top: 1.5rem;
    order: 2;
  }
  .hero-illustration { max-width: min(420px, 94vw) !important; }
  .problem-section { padding: 1rem 0 1.25rem; }
  .problem-text-center { margin-bottom: 0.75rem; }
  .problem-text-center h2 { font-size: 1.25rem; margin-bottom: 0.4rem; }
  .problem-text-center > p { font-size: 0.78rem; line-height: 1.55; }
  .problem-cta-row { margin-top: 1.25rem; gap: 0.5rem; }
  .problem-cta-row .btn { padding: 0.5rem 1rem; font-size: 0.78rem; }
  .problem-eyebrow { margin-bottom: 0.75rem; font-size: 0.6rem; }
  .problem-plano-wrap {
    margin: 0;
    overflow: hidden;
    border-radius: 12px;
    max-height: 24vw;
  }
  .problem-plano-svg {
    transform: scale(2.4);
    transform-origin: 45% 0%;
    filter: drop-shadow(0 4px 16px rgba(0,0,0,0.3));
  }
  .section { padding: 2.5rem 0; }
  .section-header { margin-bottom: 1.5rem; }
  .section-header h2 { font-size: 1.4rem; }
  .section-header p { font-size: 0.82rem; }
}

/* CTA Section */
.section-cta {
  background: linear-gradient(160deg, #070b14, #0f172a);
  color: white;
  padding: 5.5rem 0;
  position: relative;
  overflow: hidden;
}

.section-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(14, 165, 233, 0.06), transparent);
  pointer-events: none;
}

.section-cta h2 {
  color: white;
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 0.75rem;
  position: relative;
  text-wrap: balance;
}

.section-cta p { position: relative; }
.section-cta .btn { position: relative; }
.cta-subtitle {
  max-width: 600px;
  margin: 1rem auto 2rem;
  color: rgba(255,255,255,0.7);
}

/* ============================================
   CARDS / GRID
   ============================================ */
.grid {
  display: grid;
  gap: 1.5rem;
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--card-shadow);
  transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease), opacity 0.6s var(--ease), border-color 0.4s var(--ease);
  text-align: center;
}

.card:hover {
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.12);
}

.card h3 { margin-bottom: 0.6rem; text-wrap: balance; }
.card p { color: var(--text-light); margin-bottom: 0; font-size: 0.9rem; line-height: 1.65; text-wrap: balance; }

/* Service card illustration */
.service-illustration {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 0.75rem 0.5rem;
  margin-bottom: 1.25rem;
  line-height: 0;
  overflow: hidden;
}
.service-illustration img,
.service-illustration svg {
  width: 100%;
  height: auto;
  display: block;
}

/* 5-card services: 3 + 2 centered on bottom row */
@media (min-width: 901px) {
  .services-grid.grid-3 {
    grid-template-columns: repeat(6, 1fr);
  }
  .services-grid .service-card:nth-child(-n+3) {
    grid-column: span 2;
  }
  .services-grid .service-card:nth-child(4) {
    grid-column: 2 / span 2;
  }
  .services-grid .service-card:nth-child(5) {
    grid-column: 4 / span 2;
  }
}

.card-icon {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  background: var(--bg-alt);
}

.card-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--primary-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  margin-left: auto;
  margin-right: auto;
  transition: all 0.4s var(--ease);
}

.card:hover .card-icon-box {
  background: var(--primary-light);
  transform: scale(1.05);
}

/* Process cards */
.process-card { position: relative; }

.process-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary-light);
  line-height: 1;
  margin-bottom: 0.75rem;
}

/* ============================================
   SHOWCASE
   ============================================ */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.showcase-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease), opacity 0.6s var(--ease);
}

.showcase-card:hover {
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
}

.showcase-card--wide {
  grid-column: 1 / -1;
}

.showcase-visual {
  width: 100%;
  line-height: 0;
}

.showcase-visual svg {
  width: 100%;
  height: auto;
  display: block;
}

.showcase-info {
  padding: 1.5rem 1.75rem;
}

.showcase-info h3 {
  color: white;
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.showcase-info p {
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* ============================================
   PROCESS FLOW
   ============================================ */
.process-flow {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  padding: 1rem 0;
}

.flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  max-width: 200px;
}

.flow-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--card-shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  margin-bottom: 1rem;
  transition: all 0.4s var(--ease);
}

.flow-icon svg { width: 28px; height: 28px; }

.flow-icon--active {
  background: var(--primary-light);
  box-shadow: 0 2px 8px rgba(14, 165, 233, 0.08), 0 0 0 1px rgba(14, 165, 233, 0.15);
  color: var(--primary);
}

.flow-icon--done {
  background: var(--primary);
  box-shadow: 0 2px 8px rgba(14, 165, 233, 0.2);
  color: white;
}

.flow-label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 0.3rem;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.flow-desc {
  font-size: 0.78rem;
  color: var(--text-light);
  line-height: 1.5;
  max-width: 160px;
}

.flow-arrow {
  display: flex;
  align-items: center;
  padding-top: 20px;
  color: var(--text-muted);
  flex-shrink: 0;
  opacity: 0.35;
}

.flow-arrow svg { width: 20px; height: 20px; }

/* ============================================
   STAT CARDS
   ============================================ */
.stat-card { text-align: center; }

.stat-icon {
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
}

/* ============================================
   FORMS
   ============================================ */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text);
}

.form-control {
  width: 100%;
  padding: 0.65rem 0.9rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-family: var(--font);
  transition: border-color var(--transition), box-shadow var(--transition);
  background: var(--bg-card);
  color: var(--text);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

textarea.form-control { min-height: 140px; resize: vertical; }
/* Chip select */
.chip-select { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.chip {
  padding: 0.35rem 0.7rem; font-size: 0.78rem; font-family: var(--font); font-weight: 500;
  border: 1.5px solid var(--border); border-radius: 999px; background: var(--bg-card);
  color: var(--text-light); cursor: pointer; transition: all 0.15s ease;
}
.chip:hover { border-color: var(--primary); color: var(--text); }
.chip.active { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ============================================
   FAQ ACCORDION
   ============================================ */
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 0.6rem;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: box-shadow 0.3s var(--ease), transform 0.6s var(--ease), opacity 0.6s var(--ease);
}

.faq-item:hover { box-shadow: var(--card-shadow-hover); }

.faq-question {
  width: 100%;
  padding: 1.15rem 1.5rem;
  background: transparent;
  border: none;
  text-align: left;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text);
  font-family: var(--font-heading);
  letter-spacing: -0.01em;
  transition: color 0.2s ease;
}

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

.faq-question::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 300;
  font-family: var(--font);
  color: var(--text-muted);
  transition: transform var(--transition), color var(--transition);
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
  color: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease);
}

.faq-answer-inner {
  padding: 0 1.5rem 1.15rem;
  color: var(--text-light);
  line-height: 1.7;
  font-size: 0.88rem;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

/* ============================================
   PRICING
   ============================================ */
.pricing-card {
  text-align: center;
  position: relative;
}

.pricing-card.featured {
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.08), 0 16px 40px rgba(14, 165, 233, 0.06);
  outline: 2px solid var(--primary);
  outline-offset: -2px;
}

.pricing-card .price {
  font-size: 2.5rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--primary);
  margin: 1rem 0;
  letter-spacing: -0.03em;
}

.pricing-card .price span {
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 400;
  font-family: var(--font);
  letter-spacing: 0;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  text-align: center;
}

.pricing-features li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-light);
  font-size: 0.88rem;
}

.pricing-features li::before {
  content: '\2713';
  color: var(--primary);
  margin-right: 0.75rem;
  font-weight: 700;
}

/* ============================================
   PIPELINE (about page)
   ============================================ */
.pipeline-steps {
  max-width: 700px;
  margin: 0 auto;
}

.pipeline-step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.pipeline-num {
  font-size: 2rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--primary);
  line-height: 1;
  flex-shrink: 0;
  width: 48px;
  text-align: center;
  padding-top: 0.15rem;
  letter-spacing: -0.03em;
}

.pipeline-content h3 { margin-bottom: 0.35rem; }
.pipeline-content p { color: var(--text-light); margin-bottom: 0; }

.pipeline-connector {
  width: 2px;
  height: 20px;
  background: var(--border);
  margin-left: 23px;
}

/* ============================================
   PIPELINE DETAIL (services page)
   ============================================ */
.pipeline-detail {
  max-width: 800px;
  margin: 0 auto;
}

.pipeline-detail-step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--card-shadow);
  transition: box-shadow 0.3s var(--ease), transform 0.6s var(--ease), opacity 0.6s var(--ease);
}

.pipeline-detail-step:hover {
  box-shadow: var(--card-shadow-hover);
}

.pipeline-detail-header {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1rem;
  position: relative;
  padding-left: 1rem;
}

.pipeline-detail-header::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2rem;
  bottom: 0.2rem;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--primary) 0%, rgba(14,165,233,0) 100%);
}

.pipeline-detail-header h3 { margin-bottom: 0; }
.pipeline-detail-body p { color: var(--text-light); margin-bottom: 0.75rem; font-size: 0.88rem; }

/* ============================================
   ADDITIONAL CAPABILITIES (services page)
   ============================================ */
.capabilities-block {
  position: relative;
  margin-top: 4rem;
  padding: 3rem 2.5rem 2.75rem;
  background:
    radial-gradient(700px 320px at 88% -8%, rgba(14,165,233,0.09), transparent 65%),
    linear-gradient(180deg, rgba(14,165,233,0.03) 0%, rgba(255,255,255,0) 55%),
    var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.capabilities-block::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 8%, rgba(14,165,233,0.45) 50%, transparent 92%);
  opacity: 0.55;
}

.capabilities-header {
  max-width: 620px;
  margin-bottom: 2.5rem;
}
.capabilities-eyebrow {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.85rem;
  padding-left: 1.6rem;
  position: relative;
}
.capabilities-eyebrow::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 1.1rem;
  height: 1px;
  background: var(--primary);
  opacity: 0.6;
}
.capabilities-header h2 {
  margin-bottom: 0.85rem;
  font-size: clamp(1.55rem, 3vw, 2.05rem);
  line-height: 1.15;
}
.capabilities-lede {
  color: var(--text-light);
  font-size: 0.95rem;
  max-width: 58ch;
  line-height: 1.6;
}

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}
.capability-card {
  position: relative;
  padding: 1.75rem 1.75rem 1.6rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform 0.4s var(--ease),
              border-color 0.3s var(--ease),
              background 0.3s var(--ease),
              box-shadow 0.3s var(--ease);
  overflow: hidden;
}
.capability-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(14,165,233,0.7), transparent);
  transform: scaleX(0.15);
  transform-origin: left center;
  opacity: 0;
  transition: transform 0.55s var(--ease), opacity 0.3s var(--ease);
}
.capability-card:hover {
  transform: translateY(-3px);
  border-color: rgba(14,165,233,0.28);
  background: var(--bg-card-hover);
  box-shadow: var(--card-shadow-hover);
}
.capability-card:hover::before { transform: scaleX(1); opacity: 1; }

.capability-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(14,165,233,0.18), rgba(14,165,233,0.04));
  border: 1px solid rgba(14,165,233,0.22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 1.1rem;
  box-shadow: 0 6px 20px -8px rgba(14,165,233,0.45);
}
.capability-icon svg { width: 22px; height: 22px; }

.capability-kicker {
  display: inline-block;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.55rem;
}
.capability-card h3 {
  font-size: 1.1rem;
  line-height: 1.25;
  margin-bottom: 0.55rem;
}
.capability-card p {
  color: var(--text-light);
  font-size: 0.87rem;
  line-height: 1.6;
  margin-bottom: 1.1rem;
}
.capability-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.capability-points li {
  font-size: 0.68rem;
  padding: 0.24rem 0.65rem;
  border-radius: 100px;
  background: rgba(255,255,255,0.035);
  border: 1px solid var(--border);
  color: var(--text-light);
  letter-spacing: 0.01em;
}

@media (max-width: 900px) {
  .capabilities-grid { grid-template-columns: 1fr; gap: 1rem; }
}
@media (max-width: 640px) {
  .capabilities-block { padding: 2rem 1.4rem 1.75rem; margin-top: 3rem; }
  .capabilities-header { margin-bottom: 1.75rem; }
  .capability-card { padding: 1.4rem 1.35rem 1.25rem; }
  .capability-icon { width: 40px; height: 40px; margin-bottom: 0.9rem; }
  .capability-icon svg { width: 20px; height: 20px; }
  .capability-card h3 { font-size: 1.02rem; }
  .capability-card p { font-size: 0.84rem; }
}

/* ============================================
   TAGS
   ============================================ */
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.tag {
  font-size: 0.7rem;
  padding: 0.2rem 0.65rem;
  border: none;
  border-radius: 100px;
  color: var(--text-light);
  background: var(--bg-alt);
  font-weight: 500;
}

.tag--active {
  color: var(--primary);
  background: var(--primary-light);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--secondary);
  color: #94a3b8;
  padding: 4rem 0 1.5rem;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
  text-align: center;
}

.footer-col h4 {
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 1rem;
  font-size: 0.68rem;
  font-family: var(--font-mono);
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.footer-brand-col { text-align: center; }
.footer-brand-col .nameplate--footer { margin-bottom: 1.1rem; }

.footer-col p {
  font-size: 0.82rem;
  line-height: 1.65;
  color: #64748b;
  margin-left: auto;
  margin-right: auto;
  max-width: 360px;
}

.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 0.4rem; }

.footer-col a {
  color: #94a3b8;
  font-size: 0.82rem;
  transition: color 0.25s ease;
}
.footer-col a:hover { color: white; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.8rem;
  color: #cbd5e1;
}

/* ============================================
   ALERT / FLASH
   ============================================ */
.alert {
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  font-weight: 500;
  font-size: 0.88rem;
}

.alert-success { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }
.alert-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

/* ============================================
   PAGE CONTENT
   ============================================ */
.page-content {
  padding: 3rem 0;
}

.page-content h1 { margin-bottom: 1.5rem; }

.page-content p,
.page-content ul,
.page-content ol {
  margin-bottom: 1rem;
  color: var(--text-light);
  line-height: 1.75;
}

/* ============================================
   BLOG
   ============================================ */
.blog-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.blog-card-img-link {
  display: block;
  margin: -1.25rem -1.25rem 1rem -1.25rem;
  overflow: hidden;
}
.blog-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.blog-card-img-link:hover .blog-card-img {
  transform: scale(1.04);
}

.blog-card .blog-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.blog-card .blog-excerpt {
  color: var(--text-light);
  margin-bottom: 1rem;
  font-size: 0.88rem;
}

.blog-post-content {
  max-width: 780px;
  margin: 0 auto;
  line-height: 1.85;
}

.blog-hero-img {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 2rem;
}

.blog-post-content h1 { margin-bottom: 0.5rem; }
.blog-post-content .post-meta { color: var(--text-light); margin-bottom: 2rem; font-size: 0.85rem; }

/* ── Blog rich content styles ── */
.blog-post-content h2 {
  margin-top: 3rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.blog-post-content h3 {
  margin-top: 2rem;
  margin-bottom: 0.6rem;
  font-size: 1.15rem;
}
.blog-post-content p { margin-bottom: 1rem; }
.blog-post-content ul, .blog-post-content ol {
  margin-bottom: 1.2rem;
  padding-left: 1.4rem;
}
.blog-post-content li {
  margin-bottom: 0.35rem;
  color: var(--text-light);
}

/* Section icon heading (emoji + text) */
.blog-post-content .bp-icon-heading {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.3rem;
}
.blog-post-content .bp-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 8px;
  font-size: 1.15rem;
  flex-shrink: 0;
  background: rgba(14,165,233,0.12);
}

/* Software comparison cards */
.bp-software-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}
.bp-software-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  padding: 1.2rem;
  transition: border-color 0.2s, transform 0.2s;
}
.bp-software-card:hover {
  border-color: rgba(14,165,233,0.3);
  transform: translateY(-2px);
}
.bp-software-card h3 {
  margin: 0 0 0.5rem !important;
  font-size: 1.05rem !important;
}
.bp-software-card p {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 0.6rem;
}
.bp-software-card ul {
  margin-bottom: 0.6rem;
  padding-left: 1.1rem;
}
.bp-software-card li {
  font-size: 0.82rem;
  margin-bottom: 0.2rem;
}
.bp-software-card .bp-suited {
  font-size: 0.78rem;
  color: var(--primary);
  font-weight: 600;
  margin: 0;
}

/* Highlight / callout boxes */
.bp-callout {
  background: rgba(14,165,233,0.06);
  border-left: 3px solid var(--primary);
  border-radius: 0 8px 8px 0;
  padding: 1rem 1.2rem;
  margin: 1.5rem 0;
}
.bp-callout p { margin-bottom: 0.4rem; }
.bp-callout p:last-child { margin-bottom: 0; }

/* Challenge / feature list cards */
.bp-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}
.bp-feature-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  padding: 1rem 1.1rem;
}
.bp-feature-card h4 {
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  color: var(--text);
}
.bp-feature-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0;
}

/* Benefit list with check icons */
.bp-benefits {
  list-style: none !important;
  padding-left: 0 !important;
  margin: 1.2rem 0;
}
.bp-benefits li {
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: 0.7rem;
  font-size: 0.92rem;
}
.bp-benefits li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
  font-size: 1rem;
}

/* Tag badges */
.bp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.bp-tag {
  display: inline-block;
  background: rgba(14,165,233,0.1);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.7rem;
  border-radius: 20px;
  letter-spacing: 0.02em;
}

/* Integration logos row */
.bp-integrations {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1rem 0 1.5rem;
}
.bp-integration-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  padding: 0.3rem 0.65rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-light);
}

/* CTA box at bottom */
.bp-cta {
  background: linear-gradient(135deg, rgba(14,165,233,0.1), rgba(6,182,212,0.08));
  border: 1px solid rgba(14,165,233,0.2);
  border-radius: 12px;
  padding: 1.5rem 1.8rem;
  margin: 2.5rem 0 1rem;
  text-align: center;
}
.bp-cta h3 { margin-top: 0 !important; }
.bp-cta p { color: var(--text-light); }

@media (max-width: 640px) {
  .bp-software-grid { grid-template-columns: 1fr; }
  .bp-feature-grid { grid-template-columns: 1fr; }
}

/* ============================================
   ANIMATIONS (SVG)
   ============================================ */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

@keyframes progressFill {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0 0 0 0); }
}

.anim-fade-in {
  opacity: 0;
  animation: fadeIn 0.6s ease forwards;
}

.anim-pulse {
  animation: pulse 2.5s ease-in-out infinite;
}

.anim-progress {
  animation: progressFill 2.5s ease-out 1.8s forwards;
  clip-path: inset(0 100% 0 0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero-layout {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .hero-text { max-width: 100%; text-align: center; }
  .hero h1 { text-align: center; }
  .hero p { margin-left: auto; margin-right: auto; max-width: 480px; text-align: center; }
  .hero-actions { justify-content: center; flex-wrap: wrap; }
  .hero-trust { text-align: center; margin-left: auto; margin-right: auto; }
  .hero-illustration { max-width: 380px; }

  .showcase-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem 0.5rem; text-align: center; }
  .footer-col:first-child { grid-column: 1 / -1; grid-column: 1 / span 3; }
}

@media (max-width: 768px) {
  :root { --header-height: 64px; }

  .hero { padding: 1.5rem 0 4rem; }
  .hero h1 { font-size: clamp(2rem, 7vw, 2.8rem); margin-bottom: 0.75rem; }
  .hero p { font-size: 0.82rem; margin-bottom: 1rem; line-height: 1.6; text-align: center; max-width: 360px; margin-left: auto; margin-right: auto; }
  .hero-text { text-align: center; }
  .hero-badge { margin-bottom: 1rem; font-size: 0.6rem; padding: 0.25rem 0.75rem; }
  .hero-illustration { max-width: 360px; }

  .section { padding: 4rem 0; }
  .section-header { margin-bottom: 2.5rem; }

  .nav-toggle { display: block; }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: rgba(7, 11, 20, 0.95);
    backdrop-filter: blur(18px);
    flex-direction: column;
    padding: 0.75rem;
    gap: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
  }

  .nav-links.open { display: flex; }

  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 0.7rem 1rem;
    border-radius: 8px;
  }
  .nav-links a[href="/demo-services"] {
    text-align: center;
    margin-left: 0;
    margin-top: 0.35rem;
    display: block;
    padding: 0.65rem 1rem;
  }

  .process-flow {
    flex-direction: column;
    align-items: center;
  }

  .flow-step { max-width: 100%; text-align: center; }

  .flow-arrow {
    transform: rotate(90deg);
    padding-top: 0;
    margin: 0.15rem 0;
  }

  .pipeline-step { flex-direction: column; gap: 0.5rem; text-align: center; }
  .pipeline-connector { margin-left: 0; margin: 0 auto; }

  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
  }

  .hero-actions .btn {
    flex: 1 1 105px;
    min-width: 105px;
    min-height: 33px;
    padding: 0.6rem 0.94rem;
    font-size: 0.88rem;
  }

  /* Center all content blocks on mobile */
  .card { text-align: center; }
  .card-icon { display: flex; justify-content: center; }
  .card-icon-box { margin-left: auto; margin-right: auto; }
  .card-icon-wrap { margin-left: auto; margin-right: auto; }

  .showcase-info { text-align: center; }

  .stat-card { text-align: center; }

  .section-cta { text-align: center; }
  .cta-subtitle { margin-left: auto; margin-right: auto; }

  .footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem 0.5rem; text-align: center; }
  .footer-col:first-child { grid-column: 1 / -1; grid-column: 1 / span 3; }
  .footer-col ul { padding: 0; }
  .footer-col { min-width: 0; }
}

@media (max-width: 480px) {
  .container { padding: 0 0.85rem; }

  .hero { padding: 1rem 0 4rem; }
  .hero h1 { font-size: 1.65rem; }
  .hero p { font-size: 0.78rem; margin-bottom: 0.85rem; }
  .hero-badge { font-size: 0.55rem; padding: 0.2rem 0.6rem; margin-bottom: 0.75rem; }
  .hero-actions { gap: 0.4rem; }
  .hero-actions .btn {
    flex: 1 1 90px;
    min-width: 90px;
    min-height: 30px;
    padding: 0.52rem 0.75rem;
    font-size: 0.82rem;
  }

  .problem-section { padding: 0.75rem 0 1rem; }
  .problem-text-center h2 { font-size: 1.1rem; }
  .problem-text-center > p { font-size: 0.72rem; }

  .wm-name { font-size: 0.98rem; }

  .card { padding: 1.5rem; text-align: center; }
  .showcase-info { padding: 1.15rem 1.25rem; text-align: center; }

  .footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem 0.4rem; text-align: center; font-size: 0.78rem; }
  .footer-col:first-child { grid-column: 1 / -1; grid-column: 1 / span 3; }
  .footer-col { min-width: 0; }
  .footer-col h4 { font-size: 0.8rem; margin-bottom: 0.5rem; }
  .footer-col a { font-size: 0.72rem; }
  .footer-col p { font-size: 0.72rem; }
  .section-cta h2 { font-size: 1.4rem; }
  .cta-subtitle { font-size: 0.78rem; }
}

/* Utility: hide <br> on small screens to avoid forced bad breaks */
@media (max-width: 600px) {
  .br-mobile-hide { display: none; }
}


