/* ====================== v6: SalesPort-style dark hero + service battlecards ======================
   Dark navy→black, soft top light, realistic product UI on top. Purple (#6b2bd9) only for tiny accents. */
:root{--ink-0:#05070d;--ink-1:#0a0f1c;--ui:#0f141f;--ui-2:#151b28;--ui-line:rgba(255,255,255,.08);--ui-line-2:rgba(255,255,255,.14);--ui-t:#e7eaf0;--ui-m:#8b93a3;--ui-d:#5d6574;--ok:#34d399}

/* ---------- nav over the dark hero ---------- */
.nav{transition:background .3s,border-color .3s}
.nav.on-dark{background:rgba(5,7,13,.55);border-bottom:1px solid transparent;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.nav.on-dark.scrolled{background:rgba(5,7,13,.72);border-bottom-color:var(--ui-line)}
.nav.on-dark .brand,.nav.on-dark .nav-links a{color:#e5e7eb}.nav.on-dark .nav-links a:hover{color:#fff}
.nav.on-dark .burger{color:#fff;border-color:var(--ui-line-2);background:transparent}
.nav.on-dark .mnav{background:#0a0d16;border-color:var(--ui-line)}.nav.on-dark .mnav a{color:#e5e7eb}

/* ---------- hero ---------- */
.hero6{position:relative;overflow:hidden;color:#fff;padding:168px 0 120px;
  background:radial-gradient(90% 55% at 50% -8%,rgba(132,152,210,.26),rgba(60,76,130,.10) 38%,transparent 64%),
             linear-gradient(180deg,#0b1122 0%,#070b16 42%,#04060b 78%,#030407 100%)}
.hero6::after{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(120% 80% at 50% 40%,transparent 55%,rgba(0,0,0,.55) 100%)}
.h6-glow{position:absolute;left:50%;top:-1px;width:min(900px,90vw);height:1px;transform:translateX(-50%);background:linear-gradient(90deg,transparent,rgba(200,210,255,.45),transparent)}
.h6-glow::after{content:"";position:absolute;left:50%;top:0;width:60%;height:220px;transform:translateX(-50%);background:radial-gradient(50% 100% at 50% 0,rgba(170,185,235,.14),transparent 70%)}
.h6-copy{position:relative;z-index:2;text-align:center;display:flex;flex-direction:column;align-items:center}
.h6-badge{display:inline-flex;align-items:center;gap:9px;height:30px;padding:0 13px;border-radius:999px;border:1px solid var(--ui-line-2);background:rgba(255,255,255,.03);font-size:13px;color:#b7bfcc}
.h6-badge::before{content:"";width:6px;height:6px;border-radius:2px;background:var(--brand)}
.h6-h1{margin-top:26px;font-size:clamp(48px,7.2vw,92px);font-weight:400;letter-spacing:-.05em;line-height:1.02;color:#fff}
.h6-lead{margin-top:24px;max-width:640px;font-size:18px;line-height:1.6;color:#98a1b1;letter-spacing:-.01em}
.h6-ctas{margin-top:36px;display:flex;gap:12px;flex-wrap:wrap;justify-content:center}
.h6-btn-outline{background:transparent;color:#fff;border:1px solid rgba(255,255,255,.28)}
.h6-btn-outline:hover{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.5)}
.h6-comp{margin-top:26px;display:flex;gap:20px;font-size:12.5px;color:#6f7888}
.h6-comp span{display:inline-flex;align-items:center;gap:7px}.h6-comp svg{width:14px;height:14px}

/* stage */
.h6-stage{position:relative;z-index:2;margin-top:76px;height:560px}
.h6-win{position:absolute;left:50%;top:0;width:620px;margin-left:-310px;border-radius:16px;background:linear-gradient(180deg,rgba(21,27,40,.96),rgba(12,16,25,.97));
  border:1px solid var(--ui-line-2);box-shadow:0 0 0 1px rgba(0,0,0,.4),0 40px 90px -30px rgba(0,0,0,.9),0 0 80px -20px rgba(120,140,210,.18);overflow:hidden;text-align:left}
.h6-bar{display:flex;align-items:center;gap:12px;height:40px;padding:0 14px;border-bottom:1px solid var(--ui-line);background:rgba(255,255,255,.015)}
.h6-dots{display:flex;gap:6px}.h6-dots i{width:10px;height:10px;border-radius:50%;background:#2a3140}
.h6-bar-t{font-size:12.5px;color:var(--ui-m);flex:1}
.h6-ex{font-size:10.5px;letter-spacing:.06em;text-transform:uppercase;color:var(--ui-d);border:1px solid var(--ui-line);border-radius:5px;padding:2px 6px}
.h6-win-h{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;padding:20px 22px 14px}
.h6-win-k{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:var(--ui-m)}.h6-win-k svg{width:13px;height:13px;color:#b9a3f0}
.h6-win-t{margin-top:6px;font-size:18px;font-weight:500;letter-spacing:-.02em;color:var(--ui-t)}
.h6-prog{display:flex;flex-direction:column;align-items:flex-end;gap:7px;font-size:11.5px;color:var(--ui-m)}
.h6-prog-bar{width:130px;height:4px;border-radius:4px;background:rgba(255,255,255,.08);overflow:hidden}
.h6-prog-bar b{display:block;height:100%;width:75%;border-radius:4px;background:linear-gradient(90deg,#8b93a3,#e7eaf0)}
.h6-steps{list-style:none;margin:0;padding:4px 14px 8px;position:relative}
.h6-step{position:relative;display:flex;align-items:center;gap:14px;padding:12px 10px;border-radius:10px}
.h6-step+.h6-step{border-top:1px solid var(--ui-line)}
.h6-step:last-child{background:rgba(255,255,255,.03)}
.h6-step-b{flex:1;min-width:0}
.h6-step-k{font-size:10.5px;letter-spacing:.07em;text-transform:uppercase;color:var(--ui-d)}
.h6-step-t{margin-top:2px;font-size:14.5px;font-weight:500;color:var(--ui-t);letter-spacing:-.01em}
.h6-step-d{margin-top:1px;font-size:12.5px;color:var(--ui-m);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.h6-step-r{display:flex;flex-direction:column;align-items:flex-end;gap:4px}
.h6-st{display:inline-flex;align-items:center;gap:5px;font-size:11.5px;font-weight:500;height:22px;padding:0 8px;border-radius:6px}
.h6-st svg{width:11px;height:11px}
.h6-st.done{color:#8fe3bf;background:rgba(52,211,153,.08)}
.h6-st.run{color:#d6dbe4;background:rgba(255,255,255,.06)}
.h6-st.run b{width:10px;height:10px;border-radius:50%;border:1.6px solid rgba(255,255,255,.25);border-top-color:#fff;animation:h6spin 1s linear infinite}
.h6-tm{font-size:11px;color:var(--ui-d);font-variant-numeric:tabular-nums}
.h6-win-f{display:flex;justify-content:space-between;align-items:center;padding:12px 22px;border-top:1px solid var(--ui-line);font-size:11.5px;color:var(--ui-d)}
.h6-stack{display:flex}.h6-stack .lg{margin-left:-5px;box-shadow:0 0 0 2px #0e131d}.h6-stack .lg:first-child{margin-left:0}

/* logo tiles */
.lg{flex:none;display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:8px;background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.3)}
.lg img{width:16px;height:16px;object-fit:contain}
.lg.md{width:34px;height:34px;border-radius:9px}.lg.md img{width:18px;height:18px}
.lg.sm{width:22px;height:22px;border-radius:6px}.lg.sm img{width:13px;height:13px}
.lg.xs{width:18px;height:18px;border-radius:5px}.lg.xs img{width:11px;height:11px}

/* floating cards */
.h6-float{position:absolute;text-align:left;border-radius:14px;background:rgba(16,21,32,.9);border:1px solid var(--ui-line-2);
  box-shadow:0 30px 60px -28px rgba(0,0,0,.9);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
.h6-person{width:268px;padding:14px}
.h6-p-top{display:flex;align-items:center;gap:12px}
.h6-av{width:44px;height:44px;border-radius:50%;object-fit:cover;border:1px solid var(--ui-line-2)}
.h6-p-n{display:flex;align-items:center;gap:7px;font-size:14px;font-weight:500;color:var(--ui-t)}
.h6-p-n .lg{width:16px;height:16px;border-radius:4px}.h6-p-n .lg img{width:10px;height:10px}
.h6-p-t{margin-top:2px;font-size:12px;color:var(--ui-m)}
.h6-chips{margin-top:12px;display:flex;flex-direction:column;gap:6px}
.h6-chip{display:flex;align-items:center;gap:8px;height:30px;padding:0 10px;border-radius:8px;background:rgba(255,255,255,.04);border:1px solid var(--ui-line);font-size:12px;color:#c3c9d4}
.h6-chip>svg{width:13px;height:13px;color:var(--ui-m)}.h6-chip span{flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.h6-chip i{display:inline-flex;color:var(--ok)}.h6-chip i svg{width:12px;height:12px}
.h6-signal{display:flex;align-items:center;gap:12px;padding:12px 14px;width:268px}
.h6-s-t{font-size:13.5px;font-weight:500;color:var(--ui-t)}.h6-s-s{margin-top:2px;font-size:12px;color:var(--ui-m)}
.h6-s-m{margin-left:auto;align-self:flex-start;font-size:11px;color:var(--ui-d);white-space:nowrap}
.h6-f1{left:0;top:36px}.h6-f2{left:34px;top:262px}.h6-f3{right:0;top:0}.h6-f4{right:40px;top:228px}.h6-f5{right:-8px;top:330px}
.h6-f5{width:250px}

/* entrance: subtle fade/rise, staggered */
.hero6 .h6-a,.hero6 .h6-float,.hero6 .h6-step{opacity:0;transform:translateY(14px);transition:opacity .9s cubic-bezier(.22,1,.36,1),transform .9s cubic-bezier(.22,1,.36,1)}
.hero6 .h6-a{transition-delay:calc(var(--d) * 90ms)}
.hero6 .h6-step{transform:translateY(6px);transition-delay:calc(700ms + var(--i) * 160ms)}
.hero6 .h6-f1{transition-delay:.85s}.hero6 .h6-f3{transition-delay:.95s}.hero6 .h6-f2{transition-delay:1.1s}.hero6 .h6-f4{transition-delay:1.2s}.hero6 .h6-f5{transition-delay:1.45s}
.hero6.in .h6-a,.hero6.in .h6-float,.hero6.in .h6-step{opacity:1;transform:none}
.hero6.in .h6-float{animation:h6bob 9s ease-in-out 2.4s infinite}
.hero6.in .h6-f3,.hero6.in .h6-f4{animation-delay:3.4s}.hero6.in .h6-f2,.hero6.in .h6-f5{animation-delay:4.2s}
@keyframes h6bob{0%,100%{translate:0 0}50%{translate:0 -5px}}
@keyframes h6spin{to{transform:rotate(360deg)}}

@media(max-width:1180px){.h6-f1,.h6-f2{left:-10px}.h6-f3,.h6-f4{right:-10px}.h6-f5{display:none}.h6-win{width:540px;margin-left:-270px}.h6-person,.h6-signal{width:240px}}
@media(max-width:1020px){.h6-stage{height:auto;display:flex;flex-direction:column;align-items:center;gap:12px}
  .h6-win{position:relative;left:auto;margin:0;width:100%;max-width:620px}
  .h6-float{position:relative;left:auto!important;right:auto!important;top:auto!important;width:100%;max-width:420px}
  .h6-f3,.h6-f4{display:none}.hero6.in .h6-float{animation:none}}
@media(max-width:640px){.hero6{padding:124px 0 72px}.h6-h1{font-size:50px}.h6-lead{font-size:16.5px}.h6-stage{margin-top:48px}
  .h6-win-h{padding:16px 16px 10px;flex-direction:column;align-items:flex-start}.h6-prog{align-items:flex-start}
  .h6-steps{padding:2px 8px 6px}.h6-step{gap:11px;padding:11px 8px}.h6-step-d{white-space:normal}.h6-tm{display:none}
  .h6-win-f{padding:11px 16px}.h6-bar-t{font-size:12px}}
@media(prefers-reduced-motion:reduce){.hero6 .h6-a,.hero6 .h6-float,.hero6 .h6-step{opacity:1!important;transform:none!important;transition:none!important;animation:none!important}.h6-st.run b{animation:none}}

/* ---------- service battlecards ---------- */
#services .grid-3{gap:20px;perspective:none}
.svc6{background:#f5f5f7;border:0;border-radius:22px;padding:0;overflow:hidden;display:flex;flex-direction:column;box-shadow:none;transform:none}
.svc6:hover{border-color:transparent}
.svc6 .svc2-body{flex:none;padding:34px 32px 26px}
.svc6 .svc2-body .h3{font-size:26px;font-weight:600;letter-spacing:-.03em;color:#0b0d12}
.svc6 .svc2-body .body{margin-top:12px;color:#6b7280;font-size:15px;line-height:1.65}
.svc6 .svc2-toggle{margin-top:0;padding-top:18px;color:#0b0d12}
.svc6 .svc2-toggle svg{color:var(--brand)}
.s6-media{position:relative;margin:auto 12px 12px;border-radius:16px;overflow:hidden;aspect-ratio:1/1;background:#0b0e15;isolation:isolate}
.s6-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-1;transform:scale(1.04);transition:transform 1.2s cubic-bezier(.22,1,.36,1)}
.s6-media::after{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(90% 70% at 50% 45%,transparent 30%,rgba(3,4,8,.55) 100%)}
.svc6:hover .s6-bg{transform:scale(1.08)}
.s6-ui{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;gap:10px;padding:0 22px}
.s6-card{border-radius:12px;background:rgba(17,22,33,.88);border:1px solid rgba(255,255,255,.12);box-shadow:0 24px 50px -24px rgba(0,0,0,.9);
  backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);padding:13px 14px;color:var(--ui-t);font-size:12.5px}
.s6-row{display:flex;align-items:center;gap:8px}
.s6-k{font-size:12.5px;font-weight:500;color:var(--ui-t)}
.s6-m{margin-left:auto;display:inline-flex;align-items:center;gap:5px;font-size:11px;color:var(--ui-m)}
.s6-pill{margin-left:auto;font-size:10.5px;font-weight:500;padding:3px 7px;border-radius:5px;background:rgba(255,255,255,.07);color:#cfd4dd}
.s6-n{font-size:12.5px;font-weight:500;color:var(--ui-t)}.s6-n span{font-weight:400;color:var(--ui-m)}
.s6-meta{margin-top:4px;font-size:11.5px;color:var(--ui-m)}
.s6-msg{margin-top:10px;display:flex;gap:10px}
.s6-msg img{width:28px;height:28px;border-radius:50%;object-fit:cover}
.s6-msg p{margin-top:5px;padding:8px 10px;border-radius:4px 10px 10px 10px;background:rgba(255,255,255,.06);color:#d7dbe3;font-size:12px;line-height:1.45}
.s6-subj{margin-top:10px;font-size:13px;font-weight:500;color:#fff;letter-spacing:-.01em}
.s6-out .s6-li{margin-right:28px}.s6-out .s6-seq{margin-left:28px}
.s6-live{width:18px;height:18px;border-radius:50%;background:rgba(52,211,153,.12);display:inline-flex;align-items:center;justify-content:center}
.s6-live b{width:7px;height:7px;border-radius:50%;background:var(--ok);box-shadow:0 0 0 0 rgba(52,211,153,.6);animation:s6ping 2.4s ease-out infinite}
.s6-co{margin-top:10px;display:flex;align-items:center;gap:10px}
.s6-co-l{width:30px;height:30px;border-radius:8px;background:#e7eaf0;color:#111827;font-weight:600;font-size:13px;display:inline-flex;align-items:center;justify-content:center}
.s6-tags{margin-top:10px}.s6-tags span{display:inline-block;font-size:11px;padding:4px 8px;border-radius:6px;background:rgba(255,255,255,.06);color:#cfd4dd}
.s6-mkt .s6-visit{margin-right:24px}.s6-mkt .s6-form{margin-left:24px}
.s6-sync{margin-left:auto;display:inline-flex;align-items:center;gap:5px}.s6-sync i{display:inline-flex;color:var(--ui-m)}.s6-sync i svg{width:12px;height:12px}
.s6-fields{margin-top:10px;display:flex;flex-direction:column}
.s6-fields div{display:grid;grid-template-columns:52px 1fr auto;align-items:center;gap:8px;padding:6px 0;border-top:1px solid var(--ui-line);font-size:11.5px}
.s6-fields span{color:var(--ui-d)}.s6-fields b{font-weight:500;color:#dfe3ea;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.s6-fields s{color:var(--ui-d);font-weight:400;margin-right:4px}
.s6-fields em{font-style:normal;font-size:10px;color:#8fe3bf;background:rgba(52,211,153,.08);padding:2px 6px;border-radius:4px}
.s6-stages{margin-top:9px;display:grid;grid-template-columns:repeat(4,1fr);gap:4px}
.s6-stages span{font-size:10.5px;text-align:center;padding:6px 0 0;border-top:3px solid rgba(255,255,255,.1);color:var(--ui-d)}
.s6-stages span.past{border-top-color:rgba(255,255,255,.35);color:var(--ui-m)}
.s6-stages span.on{border-top-color:#fff;color:#fff;font-weight:500}
.s6-rev .s6-pipe{margin-left:28px}
/* motion: gentle fade-up, cards stagger; UI snippets settle in after */
.svc6.reveal{opacity:0;transform:translateY(22px);transition:opacity .9s cubic-bezier(.22,1,.36,1),transform .9s cubic-bezier(.22,1,.36,1)}
.svc6.reveal.in{opacity:1;transform:none}
#services .grid-3 .svc6:nth-child(2){transition-delay:.1s}#services .grid-3 .svc6:nth-child(3){transition-delay:.2s}
.svc6 .s6-card{opacity:0;transform:translateY(10px);transition:opacity .8s cubic-bezier(.22,1,.36,1) .45s,transform .8s cubic-bezier(.22,1,.36,1) .45s}
.svc6 .s6-card+.s6-card{transition-delay:.65s}
.svc6.in .s6-card{opacity:1;transform:none}
@keyframes s6ping{0%{box-shadow:0 0 0 0 rgba(52,211,153,.5)}80%,100%{box-shadow:0 0 0 7px rgba(52,211,153,0)}}
/* included panel on the grey tile */
.svc6 .svc2-panel{inset:0;border-radius:22px;background:rgba(245,245,247,.98);border:0;padding:32px}
.svc6 .svc2-panel .h3{font-size:24px;font-weight:600;letter-spacing:-.03em}
@media(max-width:1100px){.s6-ui{padding:0 16px}.s6-out .s6-li,.s6-mkt .s6-visit{margin-right:10px}.s6-out .s6-seq,.s6-mkt .s6-form,.s6-rev .s6-pipe{margin-left:10px}}
@media(max-width:860px){.svc6 .svc2-body{padding:28px 24px 22px}.svc6 .svc2-body .h3{font-size:24px}.s6-media{aspect-ratio:5/4}.s6-ui{padding:0 22px}}
@media(max-width:420px){.s6-media{aspect-ratio:1/1}.s6-ui{padding:0 14px}}
@media(prefers-reduced-motion:reduce){.svc6.reveal,.svc6 .s6-card{opacity:1!important;transform:none!important;transition:none!important}.s6-live b{animation:none}.s6-bg{transition:none}}
/* ---- v6 fixes after first screenshots ---- */
.hero6{padding-bottom:96px}@media(min-width:1021px){.h6-stage{height:540px}}
.h6-float{z-index:3}
.h6-f1{left:0;top:40px}.h6-f2{left:0;top:268px}.h6-f3{right:0;top:0}.h6-f4{right:0;top:226px}.h6-f5{right:24px;top:330px}
.h6-stack{gap:5px}.h6-stack .lg{margin-left:0;box-shadow:none}
.s6-k,.s6-pill,.s6-m{white-space:nowrap}
.s6-ui{padding:0 16px}
.s6-out .s6-li,.s6-mkt .s6-visit{margin-right:14px}.s6-out .s6-seq,.s6-mkt .s6-form,.s6-rev .s6-pipe{margin-left:14px}
.s6-fields b{white-space:normal}
@media(max-width:1020px){.h6-win{order:-1}.h6-stage{gap:12px}}
@media(max-width:860px){.s6-ui{padding:0 20px}}
.h6-f5{top:356px;right:28px}
.svc6 .svc2-panel{background:#f5f5f7;backdrop-filter:none;-webkit-backdrop-filter:none;z-index:4}
