@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  /* Base surfaces — near pure black like Linear */
  --bg:      #08080e;
  --sf:      #0d0d18;
  --sf2:     #131323;
  --sf3:     #1a1a2e;

  /* Borders */
  --bd:      rgba(255,255,255,0.06);
  --bd2:     rgba(255,255,255,0.08);
  --bd3:     rgba(255,255,255,0.15);

  /* Text */
  --tx:      #d8e3f5;
  --tx2:     rgba(216,227,245,0.52);
  --tx3:     rgba(216,227,245,0.26);

  /* Indigo accent — Linear/Retool style */
  --bl:      #6366f1;
  --bl2:     #818cf8;
  --bld:     rgba(99,102,241,0.15);
  --blg:     rgba(99,102,241,0.32);

  /* Status */
  --gr:      #34d399;
  --grd:     rgba(52,211,153,0.12);
  --or:      #f59e0b;
  --rd:      #f87171;

  /* Radius */
  --r0: 6px;
  --r:  10px;
  --r2: 14px;
  --r3: 20px;

  /* Shadows */
  --s-card:  0 1px 3px rgba(0,0,0,0.3), 0 1px 1px rgba(0,0,0,0.2);
  --s-blue:  0 8px 32px rgba(77,142,248,0.22);
  --s-lg:    0 16px 48px rgba(0,0,0,0.5);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--tx);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-top: 64px;
  overflow-x: hidden;
  width: 100%;
}

/* ── TYPOGRAPHY ─────────────────────────── */
h1 {
  font-size: clamp(2.75rem, 6vw, 5.5rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.06em;
  color: #ffffff;
}
h2 {
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: #f0f6ff;
}
h3 { font-size: 1.5rem;   font-weight: 700; line-height: 1.2;  letter-spacing: -0.03em;  color: #f0f6ff; }
h4 { font-size: 1.0625rem; font-weight: 700; line-height: 1.35; color: #e4edf8; }
h5 { font-size: 0.9375rem; font-weight: 600; color: #e4edf8; }
p  { line-height: 1.78; }

.lead     { font-size: 1.125rem; line-height: 1.8; color: var(--tx2); }
.text-muted { color: var(--tx2) !important; }

.section-label {
  display: block;
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.35); margin-bottom: 1rem;
}

/* ── NAVBAR ─────────────────────────────── */
.navbar {
  background: transparent;
  border-bottom: 1px solid transparent;
  padding: 0.875rem 0;
  position: fixed; top: 0; left: 0; right: 0;
  width: 100%; max-width: 100vw;
  z-index: 1030;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}
.navbar.scrolled { padding-top: 0.5rem; padding-bottom: 0.5rem; }

/* Scroll progress bar */
.scroll-progress {
  position: fixed; top: 0; left: 0;
  height: 2px; width: 0%;
  z-index: 9999;
  background: linear-gradient(90deg, #4f46e5 0%, #a78bfa 100%);
  pointer-events: none;
  transition: width 0.08s linear;
}

.navbar.on-dark {
  background: rgba(6,10,16,0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--bd);
}
.navbar.on-light {
  background: rgba(6,10,16,0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--bd);
  box-shadow: 0 1px 0 rgba(0,0,0,0.4);
}
.navbar-brand {
  text-decoration: none !important;
  display: flex; align-items: center; padding-top: 0; padding-bottom: 0;
}
.navbar-brand img { height: 32px; width: auto; display: block; }
.nav-link {
  font-size: 0.875rem !important; font-weight: 500 !important;
  padding: 0.375rem 0.875rem !important;
  transition: color 0.15s ease;
  color: rgba(255,255,255,0.62) !important;
}
.nav-link:hover  { color: rgba(255,255,255,0.92) !important; background: none !important; }
.nav-link.active { color: #fff !important; font-weight: 600 !important; }
.nav-cta {
  background: var(--bl) !important;
  color: #fff !important; font-weight: 600 !important;
  padding: 0.45rem 1.125rem !important;
  border-radius: 100px !important; font-size: 0.85rem !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
  transition: all 0.2s ease !important;
}
.nav-cta:hover {
  background: var(--bl2) !important;
  box-shadow: 0 0 0 3px rgba(99,102,241,0.22) !important; color: #fff !important;
}
.navbar-toggler { border: none !important; box-shadow: none !important; filter: invert(1); }

/* ── BUTTONS ─────────────────────────────── */
.btn { font-weight: 600; border-radius: var(--r0); transition: all 0.2s ease; font-size: 0.9375rem; }

.btn-primary {
  background: var(--bl); color: #fff; border: none;
  letter-spacing: -0.01em;
}
.btn-primary:hover, .btn-primary:focus {
  background: #4f52e8; color: #fff;
  transform: translateY(-1px); box-shadow: 0 8px 30px rgba(99,102,241,0.35);
}
.btn-ghost {
  background: rgba(255,255,255,0.06); color: var(--tx);
  border: 1px solid var(--bd2);
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); color: #fff; border-color: var(--bd3); }

.btn-white {
  background: #fff; color: #060a10; border: none; font-weight: 700;
}
.btn-white:hover { background: #f0f6ff; color: #060a10; transform: translateY(-2px); box-shadow: var(--s-lg); }

.btn-lg { padding: 0.875rem 2rem; font-size: 1rem; }

/* ── SECTIONS ────────────────────────────── */
.section    { padding: 120px 0; border-top: 1px solid var(--bd); }
.section-sm { padding: 72px 0; }
.section-alt  { background: var(--sf); }
.section-alt2 { background: var(--sf); }

/* ── HERO ────────────────────────────────── */
.hero-dark {
  background: var(--bg);
  padding: 120px 0 148px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
/* Line grid with radial fade mask — Linear's exact technique */
.hero-dark::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, black 20%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, black 20%, transparent 85%);
  pointer-events: none;
}
/* Indigo radial glow */
.hero-dark::after {
  content: '';
  position: absolute;
  top: -8%; left: 50%; transform: translateX(-50%);
  width: 960px; height: 560px;
  background: radial-gradient(ellipse at center top,
    rgba(99,102,241,0.22) 0%,
    rgba(99,102,241,0.06) 42%,
    transparent 68%);
  pointer-events: none;
  z-index: 0;
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--bld);
  color: var(--bl2);
  padding: 5px 14px; border-radius: 100px;
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  border: 1px solid rgba(77,142,248,0.25);
  margin-bottom: 1.75rem;
}
.hero-eyebrow i { font-size: 0.75rem; }

.hero-actions {
  display: flex; gap: 12px; flex-wrap: wrap;
  justify-content: center; margin-top: 2.25rem; margin-bottom: 2.5rem;
}
.hero-trust {
  display: flex; gap: 28px; flex-wrap: wrap;
  justify-content: center;
}
.trust-item {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.825rem; font-weight: 500; color: var(--tx2);
}
.trust-item i { color: var(--gr); font-size: 0.7rem; }

/* ── HERO INFRA DIAGRAM ──────────────────── */
.hero-infra {
  position: relative;
  margin-top: 64px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  background-color: rgba(10,10,22,0.92);
  background-image: radial-gradient(circle at 1px 1px, rgba(99,102,241,0.08) 1px, transparent 0);
  background-size: 28px 28px;
  border: 1px solid rgba(99,102,241,0.18);
  border-radius: 12px;
  overflow: hidden;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.infra-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 20px;
  border-bottom: 1px solid var(--bd);
  background: rgba(255,255,255,0.015);
}
.infra-title { font-size: 0.76rem; font-weight: 600; color: var(--tx2); letter-spacing: 0.01em; }
.infra-diagram {
  display: flex; align-items: center; justify-content: center;
  padding: 36px 24px 32px;
  gap: 0;
  min-height: 240px;
}
.infra-col-nodes { display: flex; flex-direction: column; gap: 7px; width: 190px; flex-shrink: 0; }
.infra-col-hdr {
  font-size: 0.6rem; font-weight: 800; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--tx3);
  margin-bottom: 6px;
}
.infra-src-node {
  display: flex; align-items: center; gap: 9px;
  padding: 8px 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  font-size: 0.75rem; color: rgba(255,255,255,0.55);
  font-weight: 500;
}
.infra-src-node i { font-size: 0.85rem; opacity: 0.6; flex-shrink: 0; }
.infra-out-node {
  display: flex; align-items: center; gap: 9px;
  padding: 8px 12px;
  background: rgba(99,102,241,0.07);
  border: 1px solid rgba(99,102,241,0.18);
  border-radius: 6px;
  font-size: 0.75rem; color: rgba(255,255,255,0.78);
  font-weight: 500;
}
.infra-out-node i { font-size: 0.85rem; color: var(--bl2); flex-shrink: 0; }
.infra-flows {
  display: flex; flex-direction: column;
  width: 64px; flex-shrink: 0;
  align-self: stretch;
  padding-top: 28px;
}
.infra-flow-line {
  flex: 1; position: relative;
  display: flex; align-items: center;
  overflow: hidden;
}
.infra-flow-line::before {
  content: '';
  position: absolute; left: 0; right: 0; top: 50%;
  height: 1px;
  background: linear-gradient(90deg,
    rgba(99,102,241,0.1), rgba(99,102,241,0.5), rgba(99,102,241,0.1));
  transform: translateY(-50%);
}
.infra-flow-dot {
  position: absolute;
  width: 5px; height: 5px; border-radius: 50%;
  background: #818cf8;
  box-shadow: 0 0 7px rgba(129,140,248,0.9);
  top: 50%; transform: translateY(-50%);
  animation: infraDot 2.8s linear infinite;
  opacity: 0;
}
@keyframes infraDot {
  0%   { left: -2%; opacity: 0; }
  8%   { opacity: 1; }
  92%  { opacity: 1; }
  100% { left: 102%; opacity: 0; }
}
.infra-core {
  position: relative;
  width: 112px; height: 112px; flex-shrink: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  z-index: 2;
}
.infra-core-glow {
  position: absolute; inset: -24px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99,102,241,0.22) 0%, transparent 70%);
  animation: coreBreath 3.5s ease-in-out infinite;
}
@keyframes coreBreath {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.12); }
}
.infra-core-ring {
  position: absolute; inset: 4px;
  border-radius: 50%;
  border: 1.5px solid rgba(99,102,241,0.4);
}
.infra-orbit {
  position: absolute; border-radius: 50%;
  pointer-events: none;
}
.infra-orbit-1 {
  inset: -20px;
  border: 1px solid rgba(99,102,241,0.2);
  animation: orbitSpin 9s linear infinite;
}
.infra-orbit-1::before {
  content: '';
  position: absolute;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--bl2);
  box-shadow: 0 0 8px rgba(129,140,248,0.95), 0 0 18px rgba(129,140,248,0.4);
  top: -2.5px; left: 50%; transform: translateX(-50%);
}
.infra-orbit-2 {
  inset: -34px;
  border: 1px dashed rgba(99,102,241,0.1);
  animation: orbitSpin 16s linear infinite reverse;
}
.infra-orbit-2::before {
  content: '';
  position: absolute;
  width: 4px; height: 4px; border-radius: 50%;
  background: rgba(167,139,250,0.65);
  box-shadow: 0 0 6px rgba(167,139,250,0.5);
  top: -2px; left: 50%; transform: translateX(-50%);
}
@keyframes orbitSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.infra-core-icon {
  font-size: 2.2rem; color: var(--bl2);
  position: relative; z-index: 1;
  margin-bottom: 5px;
}
.infra-core-label {
  font-size: 0.58rem; font-weight: 800;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(129,140,248,0.65);
  position: relative; z-index: 1; text-align: center;
}
.infra-metrics {
  display: flex; align-items: center; justify-content: center;
  gap: 10px; flex-wrap: wrap;
  padding: 9px 20px;
  border-top: 1px solid var(--bd);
  background: rgba(255,255,255,0.01);
  font-size: 0.73rem; color: var(--tx2);
}
.infra-sep { color: var(--bd3); font-size: 0.85rem; }
@media (max-width: 767.98px) {
  .infra-diagram { flex-direction: column; align-items: center; gap: 0; padding: 20px 16px; min-height: auto; }
  .infra-col-nodes { width: 100%; }
  .infra-flows { flex-direction: column; width: 24px; height: 40px; padding: 0; align-self: center; overflow: visible; }
  .infra-flow-line:not(:first-child) { display: none; }
  .infra-flow-line { overflow: visible; }
  .infra-flow-line::before {
    top: 0; bottom: 0; left: 50%; right: auto;
    width: 1px; height: 100%; transform: none;
    background: linear-gradient(180deg, rgba(99,102,241,0.05), rgba(99,102,241,0.45), rgba(99,102,241,0.05));
  }
  .infra-flow-dot { animation-name: infraDotV; left: 50%; transform: translateX(-50%); top: 0; }
  .infra-orbit { display: none; }
  .infra-core { width: 84px; height: 84px; margin: 4px auto; }
  .infra-core-icon { font-size: 1.6rem; }
}
@keyframes infraDotV {
  0%   { top: -5px; opacity: 0; }
  20%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { top: calc(100% + 5px); opacity: 0; }
}

/* ── HERO WIDGET (Email Automation preview) ── */
.hero-widget-wrap {
  position: relative;
  margin-top: 56px;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}
.hero-widget-wrap::before {
  content: '';
  position: absolute;
  inset: -40px;
  background: radial-gradient(ellipse at center, rgba(77,142,248,0.1) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.hero-widget {
  position: relative; z-index: 1;
  background: var(--sf2);
  border: 1px solid var(--bd2);
  border-radius: var(--r2);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.04);
}

/* Widget title bar */
.hw-bar {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px;
  background: var(--sf3);
  border-bottom: 1px solid var(--bd);
}
.hw-dots { display: flex; gap: 6px; }
.hw-dots i {
  width: 10px; height: 10px; border-radius: 50%;
  display: inline-block;
}
.hw-dots i:nth-child(1) { background: #f87171; }
.hw-dots i:nth-child(2) { background: #f59e0b; }
.hw-dots i:nth-child(3) { background: #34d399; }
.hw-title {
  font-size: 0.78rem; font-weight: 600; color: var(--tx2);
  margin: 0 auto; letter-spacing: 0.01em;
}
.hw-badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 0.68rem; font-weight: 700; padding: 2px 8px;
  border-radius: 100px;
}
.hw-badge-green { background: var(--grd); color: var(--gr); border: 1px solid rgba(52,211,153,0.2); }
.hw-badge i { font-size: 0.5rem; }

/* Widget stats row */
.hw-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--bd);
}
.hw-stat {
  padding: 12px 16px; text-align: center;
  border-right: 1px solid var(--bd);
}
.hw-stat:last-child { border-right: none; }
.hw-stat-val {
  display: block;
  font-size: 1.0625rem; font-weight: 800; color: #f0f6ff;
  letter-spacing: -0.03em; line-height: 1;
}
.hw-stat-val.blue { color: var(--bl2); }
.hw-stat-val.green { color: var(--gr); }
.hw-stat-lbl {
  display: block;
  font-size: 0.65rem; font-weight: 600; color: var(--tx3);
  text-transform: uppercase; letter-spacing: 0.06em;
  margin-top: 3px;
}

/* Pipeline columns */
.hw-pipeline {
  display: grid; grid-template-columns: repeat(3, 1fr);
  min-height: 160px;
}
.hw-col {
  padding: 14px 14px 16px;
  border-right: 1px solid var(--bd);
}
.hw-col:last-child { border-right: none; }
.hw-col-head {
  font-size: 0.62rem; font-weight: 800; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--tx3);
  margin-bottom: 10px; display: flex; align-items: center; gap: 6px;
}
.hw-count {
  font-size: 0.62rem; font-weight: 700; padding: 1px 6px;
  border-radius: 100px; background: var(--sf); color: var(--tx2);
}
.hw-count-blue { background: var(--bld); color: var(--bl2); }
.hw-count-green { background: var(--grd); color: var(--gr); }
.hw-deal {
  display: flex; align-items: center; gap: 7px;
  padding: 6px 8px; border-radius: var(--r0);
  background: var(--sf); border: 1px solid var(--bd);
  margin-bottom: 5px; transition: border-color 0.2s;
}
.hw-deal:hover { border-color: var(--bd2); }
.hw-deal-active { border-color: rgba(77,142,248,0.2); }
.hw-deal-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--c, var(--bl)); flex-shrink: 0;
}
.hw-deal-co { font-size: 0.72rem; font-weight: 600; color: var(--tx); flex: 1; }
.hw-deal-val { font-size: 0.65rem; font-weight: 700; color: var(--tx2); white-space: nowrap; }

/* ── TOOLS MARQUEE ──────────────────────── */
.tools-bar {
  padding: 12px 0;
  background: var(--sf);
  border-top: 1px solid var(--bd);
  border-bottom: 1px solid var(--bd);
  overflow: hidden;
  max-width: 100vw;
}
.tools-track { display: flex; animation: marquee 30s linear infinite; width: max-content; }
.tools-track:hover { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.tool-item {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 0 22px; font-size: 0.78rem; font-weight: 600;
  color: var(--tx3); white-space: nowrap; transition: color 0.2s;
}
.tool-item i { color: var(--bl2); opacity: 0.5; font-size: 0.78rem; }
.tool-item:hover { color: var(--tx2); }
.tool-sep { width: 1px; height: 12px; background: var(--bd); flex-shrink: 0; }

/* ── EMAIL WIDGET (hero) ────────────────── */
.ew-body {
  display: grid;
  grid-template-columns: 148px 212px 1fr;
  border-top: 1px solid var(--bd);
  min-height: 268px;
}
.ew-sidebar {
  border-right: 1px solid var(--bd);
  padding: 8px 0;
  background: rgba(6,6,12,0.55);
}
.ew-grp-label {
  font-size: 0.49rem; font-weight: 800; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--tx3);
  padding: 6px 12px 3px;
}
.ew-folder {
  display: flex; align-items: center; gap: 6px;
  padding: 5px 10px 5px 12px;
  font-size: 0.62rem; color: var(--tx2);
  transition: background 0.15s; cursor: default;
}
.ew-folder:hover { background: rgba(255,255,255,0.03); }
.ew-folder i { font-size: 0.62rem; flex-shrink: 0; opacity: 0.65; }
.ew-folder.ew-active { background: rgba(99,102,241,0.1); color: var(--bl2); font-weight: 600; }
.ew-folder.ew-seq-active { color: var(--tx); font-weight: 600; }
.ew-folder.ew-folder-ai i { color: var(--bl2); opacity: 1; }
.ew-divider { height: 1px; background: var(--bd); margin: 6px 10px; }
.ew-pill {
  margin-left: auto; font-size: 0.5rem; font-weight: 700;
  padding: 1px 5px; border-radius: 3px;
  background: var(--sf2); border: 1px solid var(--bd); color: var(--tx3);
}
.ew-pill.blue  { background: var(--bld); border-color: rgba(99,102,241,0.25); color: var(--bl2); }
.ew-pill.amber { background: rgba(245,158,11,0.1); border-color: rgba(245,158,11,0.2); color: var(--or); }
.ew-live-dot {
  margin-left: auto; width: 6px; height: 6px; border-radius: 50%;
  background: var(--gr); flex-shrink: 0;
  animation: ewBlink 2s ease-in-out infinite;
}
@keyframes ewBlink { 0%,100% { opacity: 1; } 50% { opacity: 0.2; } }
.ew-list { border-right: 1px solid var(--bd); overflow: hidden; }
.ew-list-bar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 7px 10px;
  background: var(--sf2); border-bottom: 1px solid var(--bd);
}
.ew-list-title { font-size: 0.6rem; font-weight: 700; color: var(--tx2); }
.ew-list-meta  { font-size: 0.55rem; color: var(--tx3); }
.ew-item {
  display: flex; align-items: flex-start; gap: 8px;
  padding: 9px 10px; border-bottom: 1px solid var(--bd);
  cursor: default; transition: background 0.15s;
}
.ew-item:last-child { border-bottom: none; }
.ew-item:hover { background: rgba(255,255,255,0.02); }
.ew-item-active { background: rgba(99,102,241,0.07) !important; }
.ew-ava {
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.52rem; font-weight: 800; flex-shrink: 0;
}
.ew-ava.sm { width: 26px; height: 26px; font-size: 0.47rem; }
.ew-item-body { flex: 1; min-width: 0; }
.ew-item-top { display: flex; justify-content: space-between; margin-bottom: 2px; }
.ew-name { font-size: 0.63rem; font-weight: 700; color: var(--tx); }
.ew-ts   { font-size: 0.53rem; color: var(--tx3); }
.ew-subj { font-size: 0.6rem; color: var(--tx2); margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ew-snip { font-size: 0.56rem; color: var(--tx3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ew-ai-dot {
  width: 20px; height: 20px; border-radius: 4px; flex-shrink: 0;
  background: var(--bld); border: 1px solid rgba(99,102,241,0.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--bl2); font-size: 0.55rem; align-self: flex-start;
}
.ew-preview { display: flex; flex-direction: column; background: rgba(5,5,11,0.5); }
.ew-prev-hdr {
  padding: 10px 14px;
  background: var(--sf2); border-bottom: 1px solid var(--bd);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 6px;
}
.ew-prev-from  { display: flex; align-items: center; gap: 8px; }
.ew-prev-subj  { font-size: 0.7rem; font-weight: 700; color: var(--tx); }
.ew-prev-to    { font-size: 0.55rem; color: var(--tx3); margin-top: 1px; }
.ew-prev-chips { display: flex; gap: 5px; }
.ew-chip {
  font-size: 0.53rem; font-weight: 700; padding: 2px 8px; border-radius: 4px;
  display: inline-flex; align-items: center; gap: 3px;
}
.ew-chip.blue  { background: var(--bld); color: var(--bl2); border: 1px solid rgba(99,102,241,0.2); }
.ew-chip.green { background: var(--grd); color: var(--gr);  border: 1px solid rgba(52,211,153,0.2); }
.ew-prev-body  { padding: 14px 16px; flex: 1; overflow: hidden; }
.ew-salut  { font-size: 0.72rem; color: var(--tx); font-weight: 600; margin-bottom: 8px; }
.ew-tw-text {
  font-size: 0.67rem; color: var(--tx2); line-height: 1.82;
  margin-bottom: 8px; min-height: 72px;
}
.ew-sign { font-size: 0.66rem; color: var(--tx2); line-height: 1.65; margin-bottom: 10px; }
.ew-sign strong { color: var(--tx); }
.ew-ai-written {
  display: inline-flex; align-items: center;
  font-size: 0.57rem; font-weight: 700; color: var(--bl2);
  background: var(--bld); border: 1px solid rgba(99,102,241,0.2);
  padding: 3px 9px; border-radius: 4px;
}
.ew-footer {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  padding: 8px 14px; border-top: 1px solid var(--bd);
  background: rgba(6,6,12,0.65); font-size: 0.6rem; color: var(--tx2);
}
.ew-sep { width: 1px; height: 12px; background: var(--bd2); flex-shrink: 0; }
/* Floating notification — floats outside widget bottom-right corner */
.ew-notif { position: absolute; bottom: -36px; right: 24px; z-index: 100; width: 272px; }
.ew-notif-card {
  background: var(--sf2); border: 1px solid var(--bd2);
  border-radius: var(--r); padding: 10px 12px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.55), 0 0 0 1px rgba(99,102,241,0.07);
  transform: translateX(18px); opacity: 0;
  transition: transform 0.42s cubic-bezier(0.34,1.56,0.64,1), opacity 0.35s ease;
}
.ew-notif-card.show { transform: translateX(0); opacity: 1; }
.ew-notif-card.hide { transform: translateX(14px); opacity: 0; transition-duration: 0.28s; transition-timing-function: ease-in; }
.ew-notif-ico {
  width: 32px; height: 32px; border-radius: var(--r0); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 0.9rem;
}
.ew-notif-title { font-size: 0.68rem; font-weight: 700; color: var(--tx); }
.ew-notif-desc  { font-size: 0.58rem; color: var(--tx2); margin-top: 1px; line-height: 1.4; }
.ew-notif-time  { font-size: 0.52rem; color: var(--tx3); margin-left: auto; white-space: nowrap; align-self: flex-start; }
/* Typewriter cursor */
.tw-cursor {
  display: inline-block; width: 2px; height: 0.82em;
  background: var(--bl2); vertical-align: middle;
  animation: twBlink 0.65s step-end infinite;
  margin-left: 1px; border-radius: 1px;
}
@keyframes twBlink { 0%,100% { opacity: 1; } 50% { opacity: 0; } }
@media (max-width: 767px) {
  .ew-body { grid-template-columns: 1fr; }
  .ew-sidebar, .ew-preview { display: none; }
  .ew-list { border-right: none; }
  .ew-notif { display: none; }
}

/* ── STARTING PRICE BADGE ───────────────── */
.starting-price-badge {
  display: inline-block;
  font-size: 0.8rem; font-weight: 500;
  color: rgba(255,255,255,0.45);
  border: 1px solid rgba(99,102,241,0.25);
  border-radius: 100px;
  padding: 0.35rem 1rem;
  letter-spacing: 0.01em;
}
.starting-price-badge strong { color: #a78bfa; font-weight: 700; }

/* ── SERVICE CARDS ──────────────────────── */
.service-card {
  background: var(--sf2);
  border: 1px dashed rgba(99,102,241,0.16);
  border-radius: 4px; padding: 28px 24px;
  transition: all 0.25s ease; position: relative;
}
.service-card:hover {
  border-color: rgba(99,102,241,0.42);
  background: rgba(99,102,241,0.04);
  transform: translateY(-2px);
}
.service-num {
  font-size: 0.65rem; font-weight: 800;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--bl); margin-bottom: 14px; display: block;
}
.service-tag {
  display: inline-block; font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--bl2); padding: 2px 8px;
  background: var(--bld); border: 1px solid rgba(77,142,248,0.2);
  border-radius: 4px; margin-bottom: 12px;
}
.service-icon {
  width: 44px; height: 44px; border-radius: var(--r0);
  background: var(--bld); border: 1px solid rgba(77,142,248,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.175rem; color: var(--bl2); margin-bottom: 14px;
}
.service-icon-violet {
  background: rgba(124,58,237,0.12);
  border-color: rgba(124,58,237,0.2); color: #a78bfa;
}
.service-card h4 { margin-bottom: 8px; }
.service-card > p { color: var(--tx2); font-size: 0.9rem; margin-bottom: 14px; line-height: 1.65; }
.service-features { list-style: none; padding: 0; margin: 0 0 18px; }
.service-features li {
  display: flex; align-items: baseline; gap: 8px;
  font-size: 0.84rem; color: var(--tx2); padding: 2.5px 0;
}
.service-features li::before { content: '–'; color: var(--bl); font-weight: 700; flex-shrink: 0; }
.service-link {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 0.84rem; font-weight: 600; color: var(--bl);
  text-decoration: none; transition: gap 0.2s ease;
}
.service-link:hover { gap: 9px; color: var(--bl2); }
.service-link i { font-size: 0.8rem; }

/* ── AI AUTOMATION GRID ─────────────────── */
.ai-auto-card {
  background: var(--sf);
  border: 1px solid var(--bd);
  border-radius: var(--r); padding: 18px 16px;
  transition: all 0.22s ease;
}
.ai-auto-card:hover {
  background: var(--sf2); border-color: var(--bd2);
  transform: translateY(-2px);
}
.ai-auto-icon {
  width: 36px; height: 36px; border-radius: var(--r0);
  background: var(--bld); border: 1px solid rgba(77,142,248,0.18);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: var(--bl2); margin-bottom: 10px;
}
.ai-auto-card h6 { font-size: 0.82rem; font-weight: 700; color: var(--tx); margin-bottom: 3px; }
.ai-auto-card p  { font-size: 0.75rem; color: var(--tx2); margin: 0; line-height: 1.5; }

/* Category label for AI section */
.ai-cat-label {
  font-size: 0.65rem; font-weight: 800; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--bl2);
  padding: 3px 9px; background: var(--bld);
  border: 1px solid rgba(77,142,248,0.18); border-radius: 4px;
  display: inline-block; margin-bottom: 16px;
}

/* ── STATS ──────────────────────────────── */
.stats-section {
  background: var(--bg);
  padding: 80px 0;
  border-top: 1px solid var(--bd);
  border-bottom: 1px solid var(--bd);
}
.stats-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.stat-item {
  flex: 1; text-align: center; padding: 8px 12px;
}
.stat-number {
  font-size: clamp(2.5rem, 4.5vw, 3.5rem); font-weight: 900;
  color: #f0f6ff; line-height: 1; margin-bottom: 8px;
  letter-spacing: -0.05em;
}
.stat-number.blue { color: var(--bl2); }
.stat-label { font-size: 0.875rem; color: var(--tx2); font-weight: 500; line-height: 1.4; max-width: 140px; margin: 0 auto; }
.stat-divider { width: 1px; height: 60px; background: var(--bd); flex-shrink: 0; }
@media (max-width: 767px) {
  .stats-row { flex-wrap: wrap; }
  .stat-item { flex: 0 0 50%; padding: 20px 8px; }
  .stat-divider { display: none; }
}

/* ── PROBLEM CARDS ──────────────────────── */
.problem-card {
  background: var(--sf2); border: 1px solid var(--bd);
  border-left: 3px solid var(--bl);
  border-radius: var(--r); padding: 22px;
  transition: all 0.2s ease;
}
.problem-card:hover { border-color: var(--bd2); transform: translateY(-2px); }
.problem-label { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--rd); margin-bottom: 6px; }
.solution-label { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--gr); margin-top: 14px; margin-bottom: 6px; }
.problem-card h5 { font-size: 0.9375rem; margin-bottom: 4px; }
.problem-card p { color: var(--tx2); font-size: 0.84rem; margin: 0; }

/* ── CASE STUDY ─────────────────────────── */
.case-card {
  background: var(--sf2); border: 1px solid var(--bd2);
  border-radius: var(--r2); padding: 36px;
  box-shadow: var(--s-card);
}
.result-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--grd); color: var(--gr);
  font-weight: 700; font-size: 0.825rem;
  padding: 7px 14px; border-radius: var(--r0);
  border: 1px solid rgba(52,211,153,0.2);
}

/* ── TESTIMONIALS ───────────────────────── */
.testimonial-card {
  background: var(--sf2);
  border: 1px solid var(--bd);
  border-radius: var(--r2);
  padding: 28px 24px;
  height: 100%;
  position: relative;
  transition: border-color 0.25s;
}
.testimonial-card:hover { border-color: var(--bd2); }
.testimonial-card::before {
  content: '\201C';
  position: absolute; top: 14px; right: 20px;
  font-size: 4.5rem; font-weight: 900; line-height: 1;
  color: rgba(99,102,241,0.12); font-family: Georgia, serif;
  pointer-events: none;
}
.testimonial-stars {
  display: flex; gap: 3px; margin-bottom: 14px;
  color: var(--or); font-size: 0.75rem;
}
.testimonial-quote {
  font-size: 0.9rem; line-height: 1.8; color: var(--tx2);
  margin-bottom: 22px; font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--bld); border: 1px solid rgba(99,102,241,0.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; font-weight: 800; color: var(--bl2); flex-shrink: 0;
}
.testimonial-name { font-size: 0.875rem; font-weight: 700; color: var(--tx); }
.testimonial-role { font-size: 0.72rem; color: var(--tx3); margin-top: 1px; }
.testimonial-tag {
  display: inline-block; margin-top: 16px;
  font-size: 0.58rem; font-weight: 700; padding: 2px 8px;
  border-radius: 4px; background: var(--bld);
  border: 1px solid rgba(99,102,241,0.2);
  color: var(--bl2); letter-spacing: 0.05em; text-transform: uppercase;
}

/* ── INDUSTRIES ─────────────────────────── */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.industry-card {
  background: var(--sf);
  border: 1px solid var(--bd);
  border-radius: var(--r2);
  padding: 22px 20px;
  transition: border-color 0.25s, transform 0.25s;
}
.industry-card:hover {
  border-color: var(--bd2);
  transform: translateY(-2px);
}
.industry-icon {
  width: 42px; height: 42px; border-radius: var(--r0);
  background: var(--bld); border: 1px solid rgba(99,102,241,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: var(--bl2); margin-bottom: 14px;
}
.industry-card h5 { font-size: 0.9rem; font-weight: 700; color: var(--tx); margin-bottom: 5px; }
.industry-card p  { font-size: 0.78rem; color: var(--tx2); margin: 0; line-height: 1.55; }
@media (max-width: 991px) { .industry-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px)  { .industry-grid { grid-template-columns: 1fr; } }

/* ── PROCESS (enhanced) ─────────────────── */
.process-card {
  background: var(--sf2);
  border: 1px solid var(--bd);
  border-radius: var(--r2);
  padding: 24px 20px;
  height: 100%;
  position: relative;
  transition: border-color 0.25s;
}
.process-card:hover { border-color: var(--bd2); }
.process-step-num {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--bld); border: 1px solid rgba(99,102,241,0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.88rem; font-weight: 800; color: var(--bl2);
  margin-bottom: 16px;
}
.process-card.final .process-step-num {
  background: rgba(52,211,153,0.1);
  border-color: rgba(52,211,153,0.3);
  color: var(--gr);
}
.process-card h5 { font-size: 0.95rem; font-weight: 700; margin-bottom: 8px; }
.process-card p  { font-size: 0.8rem; color: var(--tx2); line-height: 1.65; margin-bottom: 14px; }
.process-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.process-tag {
  font-size: 0.6rem; font-weight: 600; padding: 3px 8px;
  border-radius: 4px; background: var(--sf2);
  border: 1px solid var(--bd2); color: var(--tx3);
}
.process-number {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--bld); border: 1px solid rgba(99,102,241,0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.875rem; font-weight: 800; color: var(--bl2);
  flex-shrink: 0;
}
.process-timeline {
  position: absolute; top: 18px; right: 18px;
  font-size: 0.58rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--tx3);
  background: var(--sf2); border: 1px solid var(--bd);
  padding: 3px 8px; border-radius: 4px;
}

/* ── FAQ ─────────────────────────────────── */
.faq-accordion .accordion-item {
  background: transparent;
  border: 1px solid var(--bd) !important;
  border-radius: var(--r) !important;
  margin-bottom: 8px;
  overflow: hidden;
}
.faq-accordion .accordion-button {
  background: var(--sf);
  color: var(--tx);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 18px 22px;
  box-shadow: none !important;
}
.faq-accordion .accordion-button:not(.collapsed) {
  background: var(--sf2);
  color: var(--tx);
  box-shadow: none !important;
  border-bottom: 1px solid var(--bd);
}
.faq-accordion .accordion-button::after {
  filter: invert(0.6) brightness(1.4);
}
.faq-accordion .accordion-button:focus { box-shadow: none !important; }
.faq-accordion .accordion-item:has(.accordion-button:not(.collapsed)) {
  border-color: var(--bd2) !important;
}
.faq-accordion .accordion-body {
  background: var(--sf2);
  color: var(--tx2);
  font-size: 0.875rem;
  line-height: 1.78;
  padding: 16px 22px 20px;
}

/* ── CTA ────────────────────────────────── */
.cta-section {
  background: var(--sf);
  padding: 100px 0; text-align: center;
  position: relative; overflow: hidden;
  border-top: 1px solid var(--bd);
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 800px; height: 400px;
  background: radial-gradient(ellipse at center top,
    rgba(77,142,248,0.14) 0%, transparent 60%);
  pointer-events: none;
}
.cta-section h2,
.cta-section p { position: relative; }
.cta-section p { color: var(--tx2); max-width: 480px; margin: 1rem auto 2rem; }

/* ── TAG ────────────────────────────────── */
.tag {
  display: inline-block; font-size: 0.78rem; font-weight: 600;
  padding: 4px 12px; border-radius: 100px;
  background: var(--bld); color: var(--bl2);
  border: 1px solid rgba(77,142,248,0.2);
}

/* ── FOOTER ─────────────────────────────── */
footer {
  background: var(--bg); padding: 64px 0 32px;
  border-top: 1px solid var(--bd);
}
.footer-brand {
  display: block; margin-bottom: 14px;
}
.footer-brand img { height: 30px; width: auto; display: block; }
footer p, footer li { color: var(--tx2); font-size: 0.875rem; line-height: 1.7; }
footer h5 {
  color: var(--tx3); font-size: 0.68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 16px;
}
footer a { color: var(--tx2); text-decoration: none; font-size: 0.875rem; transition: color 0.15s ease; }
footer a:hover { color: #fff; }
footer ul { list-style: none; padding: 0; }
footer ul li { margin-bottom: 10px; }
.footer-divider { border-color: var(--bd); margin: 32px 0 24px; }
.footer-bottom p { color: var(--tx3); font-size: 0.8rem; }
.footer-social { display: flex; gap: 8px; margin-top: 16px; }
.footer-social a {
  width: 34px; height: 34px; border-radius: var(--r0);
  border: 1px solid var(--bd);
  display: flex; align-items: center; justify-content: center;
  color: var(--tx2); font-size: 0.9375rem; transition: all 0.15s ease;
}
.footer-social a:hover { border-color: rgba(77,142,248,0.4); color: var(--bl2); background: var(--bld); }

/* ── FORMS ──────────────────────────────── */
.form-control, .form-select {
  background: var(--sf2) !important; border: 1px solid var(--bd2) !important;
  color: var(--tx) !important; border-radius: var(--r0) !important;
  padding: 10px 14px !important; font-size: 0.9375rem !important;
  transition: border-color 0.15s, box-shadow 0.15s !important;
}
.form-control::placeholder { color: var(--tx3) !important; }
.form-control:focus, .form-select:focus {
  background: var(--sf3) !important; border-color: rgba(77,142,248,0.5) !important;
  box-shadow: 0 0 0 3px rgba(77,142,248,0.12) !important; outline: none !important;
  color: var(--tx) !important;
}
.form-label { color: var(--tx2) !important; font-size: 0.875rem !important; font-weight: 600 !important; margin-bottom: 6px !important; }
.form-select option { background: var(--sf2); color: var(--tx); }

/* ── INNER PAGE HEROES ──────────────────── */
.hero-section {
  background: var(--bg); position: relative; overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 800px; height: 400px;
  background: radial-gradient(ellipse at center top,
    rgba(77,142,248,0.1) 0%, transparent 65%);
  pointer-events: none;
}
.hero-section .section-label { color: rgba(129,140,248,0.8); }
.hero-section h1 { color: #f0f6ff; }
.hero-section .lead { color: var(--tx2); }

/* ── CARDS (generic Bootstrap override) ─── */
.card {
  background: var(--sf2) !important;
  border: 1px solid var(--bd) !important;
  border-radius: var(--r) !important;
}

/* ── UTILS ──────────────────────────────── */
.text-blue   { color: var(--bl); }
.text-green  { color: var(--gr); }
.fw-700      { font-weight: 700; }
.fw-800      { font-weight: 800; }

/* Section header block */
.section-head { max-width: 640px; margin: 0 auto 80px; }
.section-head p { color: var(--tx2); margin-top: 1.25rem; font-size: 1.0625rem; line-height: 1.75; }

/* ── RESPONSIVE ─────────────────────────── */
@media (max-width: 991.98px) {
  .navbar {
    overflow-x: hidden;
  }
  #mainNavbar .container {
    max-width: 100% !important;
    width: 100% !important;
    padding-right: 16px !important;
    padding-left: 16px !important;
    overflow: hidden;
  }
  .navbar-brand img {
    max-width: 52vw;
  }
  .navbar-collapse {
    background: var(--sf2);
    border: 1px solid var(--bd2);
    border-radius: var(--r);
    padding: 6px 8px 10px;
    margin-top: 8px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }
  .navbar-nav {
    width: 100% !important;
    max-width: 100% !important;
    flex-direction: column !important;
    gap: 2px !important;
    align-items: stretch !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .navbar-nav .nav-item {
    width: 100%;
  }
  .nav-link {
    display: block !important;
    width: 100% !important;
    padding: 0.55rem 0.875rem !important;
    border-radius: var(--r0) !important;
    box-sizing: border-box !important;
  }
  .nav-link:hover {
    background: rgba(255,255,255,0.05) !important;
  }
  .nav-item.ms-lg-2 {
    margin: 4px 0 0 !important;
  }
  .nav-cta {
    display: block !important;
    text-align: center !important;
    width: 100% !important;
    margin: 0 !important;
    border-radius: 100px !important;
    padding: 0.55rem 1rem !important;
    box-sizing: border-box !important;
  }
}
@media (max-width: 767.98px) {
  body { padding-top: 60px; }
  .hero-dark  { padding: 80px 0 96px; }
  .section    { padding: 80px 0; }
  .stats-section, .cta-section { padding: 64px 0; }
  .case-card  { padding: 22px; }
  footer      { padding: 48px 0 24px; }
  .hero-trust { gap: 16px; }
  .hw-stats   { grid-template-columns: repeat(2, 1fr); }
  .hw-pipeline { grid-template-columns: 1fr; }
  .hw-col:nth-child(2), .hw-col:nth-child(3) { display: none; }
  /* Spacing */
  .section-head { margin-bottom: 48px; }
  .hero-infra { margin-top: 36px; }
  /* Infra diagram nodes */
  .infra-col-hdr { font-size: 0.56rem; margin-bottom: 4px; }
  .infra-src-node, .infra-out-node { padding: 7px 10px; font-size: 0.71rem; gap: 7px; }
  .infra-src-node i, .infra-out-node i { font-size: 0.78rem; }
  /* Infra metrics bar */
  .infra-metrics { flex-wrap: wrap; gap: 5px 8px; font-size: 0.67rem; padding: 8px 14px; justify-content: center; }
  .infra-sep { display: none; }
}
@media (max-width: 575.98px) {
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; max-width: 320px; }
  /* Typography */
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.875rem; letter-spacing: -0.03em; }
  .lead { font-size: 1rem; }
  /* Spacing */
  .section { padding: 60px 0; }
  .stats-section { padding: 48px 0; }
  .section-head { margin-bottom: 36px; }
  /* Service card flow steps */
  .ba-row { flex-wrap: wrap; gap: 5px; }
  .vf-step { font-size: 0.63rem; padding: 2px 7px; }
  .vba-before, .vba-after { font-size: 0.63rem; padding: 2px 8px; }
  /* Card padding */
  .service-card { padding: 22px 18px; }
  .portfolio-card { padding: 18px 16px; }
  .process-card { padding: 20px 16px; }
  .testimonial-card { padding: 22px 18px; }
  .result-card { padding: 22px 16px; }
  .result-num { font-size: 2.125rem; }
  /* Trust bar */
  .hero-trust { gap: 10px; }
  .trust-item { font-size: 0.75rem; }
  /* Infra bar */
  .infra-bar { padding: 9px 14px; }
  .infra-title { font-size: 0.7rem; }
  /* Clients bar */
  .clients-bar { gap: 10px 16px; padding: 12px 16px; }
  .client-name { font-size: 0.8rem; }
  /* CTA section */
  .cta-section { padding: 56px 0; }
  .cta-section h2 { font-size: 1.875rem; }
  /* Inner page heroes (override inline padding) */
  .hero-section { padding: 48px 0 56px !important; }
  /* Contact page steps */
  .process-number { width: 32px; height: 32px; font-size: 0.8rem; }
  /* Tag wrapping */
  .tag { font-size: 0.72rem; padding: 3px 10px; }
}

/* ── SCROLL REVEAL ANIMATIONS ──────────────── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s cubic-bezier(0.22,1,0.36,1),
              transform 0.65s cubic-bezier(0.22,1,0.36,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }

/* ── ANIMATED COUNTER ──────────────────────── */
.counter-wrap { font-variant-numeric: tabular-nums; }

/* ── PROGRESS BAR (impact metrics) ─────────── */
.prog-track {
  height: 5px; border-radius: 3px;
  background: var(--bd2); overflow: hidden;
  margin-top: 10px;
}
.prog-fill {
  height: 100%; border-radius: 3px;
  background: var(--bl);
  width: 0;
  transition: width 1.3s cubic-bezier(0.22,1,0.36,1);
}
.prog-fill.green { background: var(--gr); }
.prog-fill.orange { background: var(--or); }

/* ── CSS BAR CHART ─────────────────────────── */
.bar-chart {
  display: flex; align-items: flex-end; gap: 5px;
  height: 52px; padding-top: 4px;
}
.bar-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.bar-block {
  width: 100%; border-radius: 3px 3px 0 0;
  background: var(--bl); opacity: 0.75;
  height: 0;
  transition: height 1.1s cubic-bezier(0.22,1,0.36,1);
}
.bar-block.green { background: var(--gr); opacity: 0.8; }
.bar-block.dim   { background: var(--bd3); opacity: 1; }
.bar-label { font-size: 0.58rem; font-weight: 700; color: var(--tx3); text-align: center; }

/* ── FEATURED AUTOMATION CARD ───────────────── */
.feat-auto-card {
  background: var(--sf2);
  border: 1px dashed rgba(99,102,241,0.16);
  border-radius: 4px; padding: 24px;
  transition: all 0.25s ease;
}
.feat-auto-card:hover {
  border-color: rgba(99,102,241,0.42);
  background: rgba(99,102,241,0.04);
  transform: translateY(-2px);
}
.feat-auto-icon {
  width: 42px; height: 42px; border-radius: 4px;
  background: var(--bld); border: 1px dashed rgba(99,102,241,0.22);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.05rem; color: var(--bl2); margin-bottom: 12px;
}
.feat-auto-card h5 { font-size: 0.9375rem; margin-bottom: 5px; }
.feat-auto-card .problem {
  font-size: 0.73rem; font-weight: 600; color: var(--rd);
  margin-bottom: 10px; display: flex; align-items: center; gap: 4px;
}
.feat-auto-card .impact-metric {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 6px;
}
.feat-auto-card .impact-label { font-size: 0.72rem; color: var(--tx2); font-weight: 500; }
.feat-auto-card .impact-value { font-size: 0.8rem; font-weight: 800; color: var(--gr); }

/* ── JOURNEY ROADMAP ────────────────────────── */
.journey-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}
/* Static dim base line */
.journey-track::before {
  content: '';
  position: absolute;
  top: 20px; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--bd2) 15%, var(--bd2) 85%, transparent);
  z-index: 0;
}
/* Electric pulse animation layer */
.journey-line-wrap {
  position: absolute;
  top: 18px; left: 10%; right: 10%;
  height: 3px;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}
.journey-line-pulse {
  position: absolute;
  top: 0; left: 0;
  width: 22%;
  height: 100%;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(99,102,241,0.25) 12%,
    var(--bl) 32%,
    var(--bl2) 45%, rgba(255,255,255,0.9) 50%, var(--bl2) 55%,
    var(--bl) 68%,
    rgba(99,102,241,0.25) 88%,
    transparent 100%);
  animation: electricPulse 2.8s linear infinite;
  border-radius: 2px;
  box-shadow: 0 0 6px 1px rgba(99,102,241,0.55);
}
@keyframes electricPulse {
  0%   { left: -22%; opacity: 0; }
  7%   { opacity: 1; }
  93%  { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}
.journey-step {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 0 8px; position: relative; z-index: 2;
}
.journey-num {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--sf2); border: 1px solid var(--bd2);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 800; color: var(--bl2);
  margin-bottom: 14px; flex-shrink: 0; position: relative; z-index: 3;
}
.journey-step.active .journey-num {
  background: var(--bld); border-color: rgba(99,102,241,0.45);
  box-shadow: 0 0 18px rgba(99,102,241,0.28), 0 0 36px rgba(99,102,241,0.1);
}
/* Dashed card */
.journey-card {
  border: 1px dashed rgba(255,255,255,0.11);
  border-radius: var(--r2);
  padding: 12px 10px 10px;
  background: rgba(13,13,24,0.75);
  width: 100%;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.journey-step.active .journey-card {
  border-color: rgba(99,102,241,0.28);
  box-shadow: 0 0 28px rgba(99,102,241,0.08);
  background: linear-gradient(160deg, rgba(13,13,24,0.9) 0%, rgba(99,102,241,0.05) 100%);
}
.journey-timeframe {
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--tx3); margin-bottom: 6px;
}
.journey-step h6 { font-size: 0.82rem; font-weight: 700; color: var(--tx); margin-bottom: 4px; }
.journey-step p { font-size: 0.73rem; color: var(--tx2); margin: 0; line-height: 1.4; }
.journey-tags { display: flex; flex-wrap: wrap; gap: 3px; margin-top: 8px; justify-content: center; }
.journey-tag {
  font-size: 0.6rem; font-weight: 600; padding: 2px 6px;
  border-radius: 4px; background: var(--sf); border: 1px solid var(--bd);
  color: var(--tx3);
}

/* ── MINI SCREEN MOCKUPS ────────────────────── */
.jms {
  margin-bottom: 12px;
  border-radius: var(--r0);
  background: var(--sf2);
  border: 1px solid var(--bd2);
  overflow: hidden;
}
.jms-header {
  display: flex; align-items: center; gap: 4px;
  padding: 5px 8px;
  background: var(--sf3); border-bottom: 1px solid var(--bd);
}
.jms-dot { width: 6px; height: 6px; border-radius: 50%; }
.jms-dot.rd { background: #f87171; }
.jms-dot.or { background: #fbbf24; }
.jms-dot.gr { background: #34d399; }
.jms-title {
  font-size: 0.57rem; font-weight: 600; color: var(--tx3);
  margin-left: 3px; letter-spacing: 0.02em;
}
.jms-body { display: flex; gap: 4px; padding: 6px; }
.jms-col { flex: 1; min-width: 0; }
.jms-col-hd {
  font-size: 0.52rem; font-weight: 700; color: var(--tx3);
  text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 4px;
}
.jms-chip {
  display: block;
  background: var(--sf3); border: 1px solid var(--bd);
  border-radius: 3px; padding: 2px 4px; margin-bottom: 3px;
  font-size: 0.54rem; color: var(--tx2);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.jms-chip.active { border-color: rgba(99,102,241,0.38); color: var(--bl2); }
.jms-chip.won    { border-color: rgba(52,211,153,0.38);  color: var(--gr); }
.jms-chat { padding: 6px 8px; display: flex; flex-direction: column; gap: 4px; }
.jms-bubble {
  max-width: 88%; padding: 4px 7px; border-radius: 6px;
  font-size: 0.57rem; line-height: 1.45; color: var(--tx);
}
.jms-bubble.bot {
  background: var(--bld); border: 1px solid rgba(99,102,241,0.2);
  align-self: flex-start;
}
.jms-bubble.user {
  background: var(--sf3); border: 1px solid var(--bd);
  align-self: flex-end; color: var(--tx2);
}
.jms-auto-tag {
  font-size: 0.51rem; font-weight: 700; color: var(--bl2);
  align-self: flex-start; letter-spacing: 0.05em;
}
.jms-invoice { padding: 6px 8px; display: flex; flex-direction: column; gap: 4px; }
.jms-inv-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.56rem; color: var(--tx2);
}
.jms-inv-row:first-child { color: var(--tx); font-weight: 600; font-size: 0.59rem; }
.jms-inv-row.muted { opacity: 0.72; }
.jms-badge {
  font-size: 0.5rem; font-weight: 700; padding: 1px 5px; border-radius: 3px;
}
.jms-badge.gr { background: var(--grd); color: var(--gr); }
.jms-badge.bl { background: var(--bld); color: var(--bl2); }
.jms-scores { padding: 6px 8px; display: flex; flex-direction: column; gap: 5px; }
.jms-score-row {
  display: flex; align-items: center; gap: 5px;
  font-size: 0.54rem; color: var(--tx2);
}
.jms-score-row > span:first-child {
  width: 44px; flex-shrink: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.jms-score-bar {
  flex: 1; height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, var(--bl) 0%, var(--bl2) 100%);
}
.jms-score-val { font-size: 0.57rem; font-weight: 700; width: 20px; text-align: right; flex-shrink: 0; }
.jms-score-val.gr { color: var(--gr); }
.jms-score-val.or { color: var(--or); }
.jms-score-val.rd { color: var(--rd); }

@media (max-width: 991px) {
  .journey-track {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .journey-track::before,
  .journey-line-wrap { display: none; }
  .journey-step { flex-direction: row; text-align: left; align-items: flex-start; gap: 14px; }
  .journey-num { flex-shrink: 0; }
  .journey-tags { justify-content: flex-start; }
  .journey-card { flex: 1; }
}

/* ── INNER PAGE HERO: grid overlay ─────────── */
.hero-section::before {
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 20%, transparent 80%);
}

/* ── ACTIVITY TICKER ────────────────────────── */
.activity-ticker {
  background: var(--sf);
  border-bottom: 1px solid var(--bd);
  padding: 9px 24px;
  display: flex; align-items: center;
  gap: 12px;
  overflow: hidden;
  max-width: 100vw;
  box-sizing: border-box;
}
.ticker-pulse {
  flex-shrink: 0; position: relative;
  width: 8px; height: 8px;
}
.ticker-pulse span {
  display: block; width: 8px; height: 8px;
  border-radius: 50%; background: var(--gr);
}
.ticker-pulse span::before {
  content: '';
  position: absolute; inset: -3px;
  border-radius: 50%;
  background: rgba(52,211,153,0.3);
  animation: tickerRipple 1.6s ease-out infinite;
}
@keyframes tickerRipple {
  0%   { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(2.4); opacity: 0; }
}
.ticker-badge {
  font-size: 0.62rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--gr); flex-shrink: 0;
}
.ticker-sep {
  width: 1px; height: 12px;
  background: var(--bd2); flex-shrink: 0;
}
.ticker-text {
  font-size: 0.8rem; color: var(--tx2);
  transition: opacity 0.35s ease;
  white-space: nowrap; overflow: hidden;
  text-overflow: ellipsis;
}

/* ── RESULTS STRIP ───────────────────────────── */
.results-strip { border-top: 1px solid var(--bd); }
.result-card {
  padding: 28px 20px;
  border: 1px solid var(--bd2);
  border-radius: 4px;
  background: var(--sf);
  text-align: center;
}
.result-num {
  font-size: 2.625rem; font-weight: 900;
  letter-spacing: -0.05em; color: var(--bl2);
  line-height: 1; margin-bottom: 10px;
}
.result-label {
  font-size: 0.8rem; color: var(--tx2);
  line-height: 1.55;
}

/* ── VOICE WIDGET ───────────────────────────── */
.voice-widget {
  background: var(--sf);
  border: 1px solid var(--bd2);
  border-radius: var(--r2); overflow: hidden;
}
.vw-bar {
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: var(--sf2);
  border-bottom: 1px solid var(--bd);
}
.vw-title {
  font-size: 0.78rem; font-weight: 700;
  color: var(--tx2); letter-spacing: -0.01em;
}
.vw-live-count {
  font-size: 0.7rem; font-weight: 700;
  color: var(--gr);
}
.vw-body { padding: 16px; }
.vw-section-label {
  font-size: 0.62rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--tx3); margin-bottom: 10px; display: block;
}
.vw-calls { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.vw-call {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px;
  background: var(--sf2); border-radius: var(--r0);
  border: 1px solid var(--bd);
}
.vw-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gr); flex-shrink: 0;
  box-shadow: 0 0 6px rgba(52,211,153,0.5);
  animation: vwPulse 1.8s ease-in-out infinite;
}
.vw-dot.out {
  background: var(--bl2);
  box-shadow: 0 0 6px rgba(129,140,248,0.5);
}
@keyframes vwPulse {
  0%,100% { opacity: 1; } 50% { opacity: 0.5; }
}
.vw-call-info { flex: 1; min-width: 0; }
.vw-call-tag {
  display: inline-block;
  font-size: 0.58rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.1em;
  padding: 1px 5px; border-radius: 3px;
  margin-bottom: 2px;
}
.vw-call-tag.in  { background: rgba(52,211,153,0.12); color: var(--gr); }
.vw-call-tag.out { background: rgba(129,140,248,0.12); color: var(--bl2); }
.vw-call-name {
  display: block; font-size: 0.78rem;
  font-weight: 600; color: var(--tx);
}
.vw-timer {
  font-size: 0.75rem; font-weight: 700;
  color: var(--tx2); font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}
.vw-more-calls {
  text-align: center; font-size: 0.72rem;
  color: var(--tx3); font-weight: 600;
  padding: 8px; margin-bottom: 12px;
  border: 1px dashed var(--bd2); border-radius: var(--r0);
}
.vw-stats {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 8px; padding-top: 12px;
  border-top: 1px solid var(--bd);
}
.vw-stat { text-align: center; }
.vw-snum {
  display: block; font-size: 1.1rem;
  font-weight: 900; letter-spacing: -0.03em;
  color: var(--tx); line-height: 1; margin-bottom: 3px;
}
.vw-slbl {
  font-size: 0.6rem; color: var(--tx3);
  font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.07em; line-height: 1.3;
}

/* ── FOUNDER PHOTO ──────────────────────────── */
.founder-photo {
  width: 110px; height: 110px;
  border-radius: 50%;
  object-fit: cover; object-position: center top;
  border: 2px solid rgba(99,102,241,0.4);
  box-shadow: 0 0 0 4px rgba(99,102,241,0.08);
  display: block; margin: 0 auto;
}

/* ── CLIENT NAMES BAR ──────────────────────── */
.clients-bar {
  background: var(--sf);
  border-top: 1px solid var(--bd);
  border-bottom: 1px solid var(--bd);
  padding: 14px 24px;
  display: flex; align-items: center;
  gap: 20px; flex-wrap: wrap;
}
.clients-bar-label {
  font-size: 0.65rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--tx3); flex-shrink: 0;
}
.clients-list {
  display: flex; align-items: center;
  gap: 14px; flex-wrap: wrap;
}
.client-name {
  font-size: 0.875rem; font-weight: 600;
  color: var(--tx2); text-decoration: none;
  letter-spacing: -0.01em;
  transition: color 0.15s;
}
.client-name:hover { color: #fff; }
.client-sep { color: var(--tx3); font-size: 0.75rem; }

/* ── PORTFOLIO CARDS ────────────────────────── */
.portfolio-card {
  background: var(--sf2);
  border: 1px dashed rgba(99,102,241,0.16);
  border-radius: 4px; padding: 24px;
  display: flex; flex-direction: column;
  gap: 14px; transition: all 0.25s ease;
}
.portfolio-card:hover {
  border-color: rgba(99,102,241,0.42);
  background: rgba(99,102,241,0.04);
  transform: translateY(-2px);
}
.portfolio-header {
  display: flex; justify-content: space-between;
  align-items: flex-start; gap: 12px;
}
.portfolio-tag {
  font-size: 0.62rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--tx3); display: block; margin-bottom: 5px;
}
.portfolio-name {
  font-size: 1.0625rem; font-weight: 800;
  color: var(--tx); margin: 0; letter-spacing: -0.02em;
}
.portfolio-metric {
  text-align: right; flex-shrink: 0;
}
.portfolio-metric.green .pm-num { color: var(--gr); }
.pm-num {
  display: block; font-size: 1.375rem; font-weight: 900;
  letter-spacing: -0.04em; color: var(--bl2);
  line-height: 1;
}
.pm-lbl {
  font-size: 0.62rem; color: var(--tx3);
  font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.08em;
}
.portfolio-desc {
  font-size: 0.875rem; color: var(--tx2);
  line-height: 1.65; margin: 0;
}
.portfolio-tags {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.ptag {
  font-size: 0.65rem; font-weight: 700;
  padding: 3px 8px; border-radius: 4px;
  background: var(--sf); border: 1px solid var(--bd2);
  color: var(--tx2); letter-spacing: 0.02em;
}
.portfolio-footer {
  display: flex; justify-content: space-between;
  align-items: center; gap: 12px;
  margin-top: auto; padding-top: 14px;
  border-top: 1px solid var(--bd);
}
.portfolio-result {
  font-size: 0.75rem; font-weight: 700;
  color: var(--gr); display: flex;
  align-items: center; gap: 5px;
}
.portfolio-result i { font-size: 0.8rem; }
.portfolio-link {
  font-size: 0.75rem; font-weight: 700;
  color: var(--bl2); text-decoration: none;
  display: flex; align-items: center; gap: 4px;
  transition: color 0.15s; flex-shrink: 0;
}
.portfolio-link:hover { color: #fff; }

/* ── WHATSAPP FLOAT ─────────────────────────── */
.wa-float {
  position: fixed; bottom: 28px; right: 28px;
  z-index: 9000;
  background: #25d366; color: #fff !important;
  border-radius: 100px;
  display: flex; align-items: center; gap: 8px;
  padding: 11px 20px 11px 16px;
  font-size: 0.875rem; font-weight: 600;
  text-decoration: none !important;
  box-shadow: 0 4px 20px rgba(37,211,102,0.3);
  transition: all 0.22s ease;
}
.wa-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37,211,102,0.45);
  color: #fff !important;
}
.wa-float i { font-size: 1.15rem; line-height: 1; }
.wa-label { white-space: nowrap; }
@media (min-width: 992px) {
  .wa-float { display: none !important; }
}
@media (max-width: 576px) {
  .wa-float { padding: 13px; border-radius: 50%; }
  .wa-label { display: none; }
}
