/* ============ CLUXT — design tokens ============ */
:root{
  --bg:#0A0A0A;
  --surface:#0F0F12;
  --purple:#5B4DFF;
  --purple-soft:rgba(91,77,255,.14);
  --purple-line:rgba(91,77,255,.30);
  --white:#F8F8F8;
  --muted:#8B8B92;
  --muted-2:#5E5E66;
  --line:rgba(255,255,255,.08);
  --line-2:rgba(255,255,255,.04);
  --maxw:1180px;
  --ease:cubic-bezier(.22,.61,.36,1);
  --font-h:"Space Grotesk",system-ui,sans-serif;
  --font-b:"Inter",system-ui,sans-serif;
}

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  background:var(--bg);color:var(--white);
  font-family:var(--font-b);font-size:16px;line-height:1.6;
  -webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;
  overflow-x:hidden;
}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
svg{display:block}
::selection{background:var(--purple);color:#fff}

.container{width:100%;max-width:var(--maxw);margin-inline:auto;padding-inline:24px}

/* ============ shared ============ */
.eyebrow{
  font-family:var(--font-b);font-size:12px;font-weight:500;
  text-transform:uppercase;letter-spacing:.2em;color:var(--purple);
  display:inline-block;
}
.accent{color:var(--purple)}

.ico{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}
.ico--check{stroke:var(--purple)}

/* buttons */
.btn{
  --pad:14px 22px;
  display:inline-flex;align-items:center;gap:10px;
  font-family:var(--font-b);font-weight:600;font-size:15px;letter-spacing:-.01em;
  padding:var(--pad);border-radius:12px;cursor:pointer;border:1px solid transparent;
  transition:transform .25s var(--ease),background .25s var(--ease),border-color .25s var(--ease),box-shadow .25s var(--ease);
  will-change:transform;white-space:nowrap;
}
.btn--sm{--pad:10px 16px;font-size:14px;border-radius:10px}
.btn--lg{--pad:17px 28px;font-size:16px}
.btn--primary{background:var(--purple);color:#fff;box-shadow:0 1px 0 rgba(255,255,255,.12) inset}
.btn--primary:hover{background:#6C5DFF;box-shadow:0 10px 30px -10px rgba(91,77,255,.6)}
.btn--ghost{background:transparent;color:var(--white);border-color:var(--line)}
.btn--ghost:hover{border-color:rgba(255,255,255,.28);background:rgba(255,255,255,.03)}
.btn .ico{width:18px;height:18px}

/* ============ NAV ============ */
.nav{position:fixed;inset:0 0 auto 0;z-index:100;transition:background .3s var(--ease),border-color .3s var(--ease),backdrop-filter .3s}
.nav__inner{display:flex;align-items:center;justify-content:space-between;height:72px;gap:24px}
.nav__logo{height:30px;width:auto}
.nav__links{display:flex;gap:30px;margin-left:auto;margin-right:8px}
.nav__links a{font-size:14px;color:var(--muted);transition:color .2s}
.nav__links a:hover{color:var(--white)}
.nav.scrolled{background:rgba(10,10,10,.72);backdrop-filter:blur(14px) saturate(140%);border-bottom:1px solid var(--line)}

/* ============ HERO ============ */
.hero{padding:150px 0 90px;position:relative}
.hero__grid{display:grid;grid-template-columns:1.05fr .95fr;gap:56px;align-items:center}
.hero__copy{max-width:560px}
.hero__title{
  font-family:var(--font-h);font-weight:700;
  font-size:clamp(2rem,4vw,3.25rem);line-height:1.04;letter-spacing:-.025em;
  text-transform:uppercase;margin:22px 0 26px;
}
.hero__title span{display:block;white-space:nowrap}
.hero__sub{font-size:clamp(1rem,1.4vw,1.18rem);color:var(--muted);max-width:32em;line-height:1.65}
.hero__cta{display:flex;flex-wrap:wrap;gap:14px;margin:34px 0 22px}
.hero__trust{display:flex;align-items:center;gap:10px;font-size:14px;color:var(--muted)}

/* core visual */
.hero__visual{display:flex;justify-content:center;align-items:center}
.core{position:relative;width:min(100%,520px);aspect-ratio:1/1;display:grid;place-items:center}
.core__img{width:84%;height:auto;position:relative;z-index:2;animation:float 7s ease-in-out infinite;filter:drop-shadow(0 30px 60px rgba(91,77,255,.18))}
.core__halo{position:absolute;inset:14%;border-radius:50%;background:radial-gradient(circle,rgba(91,77,255,.22),transparent 62%);filter:blur(20px);z-index:1;animation:pulse 6s ease-in-out infinite}
.core__orbit{position:absolute;inset:0;width:100%;height:100%;z-index:3;overflow:visible}
.orbit-ring{stroke:var(--purple-line);stroke-width:1;stroke-dasharray:2 9;fill:none;opacity:.55}
.orbit-ring--inner{opacity:.18}
.packet{fill:#fff;filter:drop-shadow(0 0 6px var(--purple))}
.packet--2{fill:var(--purple);opacity:.85}
.packet--3{fill:#fff;opacity:.7}

@keyframes float{0%,100%{transform:translateY(-9px)}50%{transform:translateY(9px)}}
@keyframes pulse{0%,100%{opacity:.55;transform:scale(.97)}50%{opacity:.9;transform:scale(1.03)}}

/* ============ WHY / approach ============ */
.why{padding:96px 0 40px;border-top:1px solid var(--line-2)}
.why__head{text-align:center;max-width:760px;margin:0 auto 64px}
.why__title{font-family:var(--font-h);font-weight:600;font-size:clamp(2rem,3.6vw,3rem);line-height:1.08;letter-spacing:-.02em;margin:18px 0 20px}
.why__lead{color:var(--muted);font-size:clamp(1rem,1.3vw,1.12rem);max-width:40em;margin-inline:auto}

/* pipeline */
.pipe{margin-top:30px}
.pipe__track{position:relative;display:flex;justify-content:space-between;gap:18px}
.pipe__line{position:absolute;top:32px;left:32px;right:32px;height:1.5px;background:var(--line);overflow:hidden}
.pipe__energy{position:absolute;top:0;left:0;height:100%;width:120px;background:linear-gradient(90deg,transparent,var(--purple),transparent);animation:flow 3.6s linear infinite}
@keyframes flow{0%{left:-120px}100%{left:100%}}
.step{position:relative;flex:1;display:flex;flex-direction:column;align-items:center;text-align:center;max-width:170px}
.node{
  width:64px;height:64px;border-radius:16px;display:grid;place-items:center;
  background:var(--surface);border:1px solid var(--line);color:var(--muted);
  transition:all .45s var(--ease);position:relative;z-index:2;
}
.node__ico{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.step__t{font-family:var(--font-h);font-weight:600;font-size:15px;margin:16px 0 4px;letter-spacing:-.01em}
.step__s{font-size:13px;color:var(--muted-2);line-height:1.45;max-width:15em}
.step.on .node{border-color:var(--purple);color:#fff;background:#15131f;box-shadow:0 0 0 4px var(--purple-soft),0 12px 28px -12px rgba(91,77,255,.7)}
.step.on .step__t{color:var(--white)}

/* ============ TRANSFORM ============ */
.transform{padding:90px 0 80px}
.transform__head{text-align:center;margin-bottom:54px}
.transform__title{font-family:var(--font-h);font-weight:600;font-size:clamp(1.7rem,3vw,2.5rem);line-height:1.12;letter-spacing:-.02em;margin-top:16px}
.tlist{max-width:760px;margin:0 auto;display:flex;flex-direction:column}
.trow{
  display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:24px;
  padding:22px 0;border-bottom:1px solid var(--line-2);
}
.trow:first-child{border-top:1px solid var(--line-2)}
.trow__pain{display:flex;align-items:center;gap:14px;color:var(--muted);font-size:clamp(1rem,1.6vw,1.15rem);justify-content:flex-start}
.trow__out{color:var(--white);font-family:var(--font-h);font-weight:500;font-size:clamp(1.02rem,1.7vw,1.22rem);text-align:right;letter-spacing:-.01em}
.trow__arrow{width:56px;height:22px;fill:none;stroke:var(--purple);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;opacity:.9}
.dot{width:9px;height:9px;border-radius:50%;flex:none;position:relative}
.dot--x{background:transparent;border:1.5px solid var(--muted-2)}
.dot--x::before,.dot--x::after{content:"";position:absolute;inset:50% 50%;width:9px;height:1.5px;background:var(--muted-2);transform:translate(-50%,-50%) rotate(45deg)}
.dot--x::after{transform:translate(-50%,-50%) rotate(-45deg)}
.dot--ok{background:var(--purple)}

/* CTA band */
.cta{
  margin-top:72px;display:grid;grid-template-columns:1.2fr .8fr;gap:40px;align-items:center;
  background:var(--surface);border:1px solid var(--line);border-radius:24px;padding:48px;
  position:relative;overflow:hidden;
}
.cta::before{content:"";position:absolute;right:-120px;top:-120px;width:340px;height:340px;border-radius:50%;background:radial-gradient(circle,var(--purple-soft),transparent 70%);pointer-events:none}
.cta__copy h3{font-family:var(--font-h);font-weight:600;font-size:clamp(1.5rem,2.4vw,2rem);letter-spacing:-.02em;line-height:1.15}
.cta__copy p{color:var(--muted);margin:16px 0 22px;max-width:34em}
.cta__points{list-style:none;display:flex;flex-direction:column;gap:11px}
.cta__points li{display:flex;align-items:center;gap:12px;font-size:15px;color:var(--white)}
.cta__action{display:flex;flex-direction:column;align-items:flex-start;gap:16px}
.cta__direct{font-size:14px;color:var(--muted)}
.cta__direct a{color:var(--purple);border-bottom:1px solid var(--purple-line)}

/* ============ FOOTER ============ */
.footer{border-top:1px solid var(--line);padding:48px 0}
.footer__inner{display:flex;align-items:center;justify-content:space-between;gap:32px;flex-wrap:wrap}
.footer__brand{display:flex;align-items:center;gap:18px}
.footer__logo{height:34px;width:auto}
.footer__brand p{font-size:13px;color:var(--muted);line-height:1.5}
.footer__mail{font-family:var(--font-h);font-weight:500;font-size:18px;letter-spacing:-.01em}
.footer__mail:hover{color:var(--purple)}
.footer__social{display:flex;gap:10px}
.footer__social a{width:38px;height:38px;display:grid;place-items:center;border:1px solid var(--line);border-radius:10px;color:var(--muted);transition:all .25s var(--ease)}
.footer__social svg{width:18px;height:18px;fill:currentColor}
.footer__social a:hover{color:#fff;border-color:var(--purple);background:var(--purple-soft)}
.footer__copy{font-size:12.5px;color:var(--muted-2);width:100%;border-top:1px solid var(--line-2);padding-top:24px;margin-top:8px}

/* ============ reveal animation ============ */
.reveal{opacity:0;transform:translateY(22px);transition:opacity .8s var(--ease),transform .8s var(--ease)}
.reveal.in{opacity:1;transform:none}

/* ============ responsive ============ */
@media(max-width:920px){
  .hero{padding:130px 0 60px}
  .hero__grid{grid-template-columns:1fr;gap:20px}
  .hero__title span{white-space:normal}
  .hero__visual{order:-1}
  .core{width:min(86%,420px)}
  .nav__links{display:none}
  .cta{grid-template-columns:1fr;padding:34px;gap:28px}
}
@media(max-width:760px){
  .pipe__track{flex-direction:column;align-items:flex-start;gap:0}
  .pipe__line{top:32px;bottom:32px;left:32px;right:auto;width:1.5px;height:auto}
  .pipe__energy{width:100%;height:100px;left:0;background:linear-gradient(180deg,transparent,var(--purple),transparent);animation:flowV 3.6s linear infinite}
  @keyframes flowV{0%{top:-100px}100%{top:100%}}
  .step{flex-direction:row;text-align:left;max-width:none;width:100%;gap:18px;padding:14px 0;align-items:flex-start}
  .step__t{margin:2px 0 4px}
  .step__s{max-width:none}
  .trow{grid-template-columns:1fr;gap:6px;text-align:left}
  .trow__out{text-align:left}
  .trow__arrow{transform:rotate(90deg);width:30px;margin-left:2px}
}
@media(max-width:480px){
  .container{padding-inline:18px}
  .hero__cta .btn{width:100%;justify-content:center}
  .footer__inner{flex-direction:column;align-items:flex-start;text-align:left}
}

/* ============ reduced motion ============ */
@media(prefers-reduced-motion:reduce){
  *{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important;scroll-behavior:auto}
  .reveal{opacity:1;transform:none}
  .core__img{animation:none}
  .packet{display:none}
}

/* ============ SECTION 3 — BEFORE / AFTER (redesign) ============ */
.transform{position:relative;overflow:hidden}
.transform .container{position:relative;z-index:1}
.transform__sub{max-width:44em;margin:18px auto 0;text-align:center;color:var(--muted);font-size:clamp(1rem,1.3vw,1.12rem);line-height:1.6}
.transform__head{margin-bottom:54px}

.tx-bg{position:absolute;inset:0;z-index:0;pointer-events:none;overflow:hidden}
.tx-bg span{position:absolute;bottom:-6%;width:54%;height:62%}
.tx-bg__red{left:-7%;
  background:
    radial-gradient(circle,rgba(255,74,74,.5) 1px,transparent 1.7px) 0 0/14px 14px,
    radial-gradient(circle at 16% 92%,rgba(255,60,60,.13),transparent 62%);
  -webkit-mask-image:radial-gradient(135% 96% at 5% 106%,#000 24%,transparent 70%);
  mask-image:radial-gradient(135% 96% at 5% 106%,#000 24%,transparent 70%);
  animation:drift 15s linear infinite}
.tx-bg__pur{right:-7%;
  background:
    radial-gradient(circle,rgba(112,100,255,.5) 1px,transparent 1.7px) 0 0/14px 14px,
    radial-gradient(circle at 84% 92%,rgba(91,77,255,.16),transparent 62%);
  -webkit-mask-image:radial-gradient(135% 96% at 95% 106%,#000 24%,transparent 70%);
  mask-image:radial-gradient(135% 96% at 95% 106%,#000 24%,transparent 70%);
  animation:drift 18s linear infinite reverse}
@keyframes drift{from{background-position:0 0,0 0}to{background-position:56px -34px,0 0}}

.ba{position:relative;display:grid;grid-template-columns:1fr clamp(300px,30%,440px) 1fr;gap:14px;align-items:center;margin-top:18px}
.ba__wires{position:absolute;inset:0;width:100%;height:100%;z-index:0;pointer-events:none;overflow:visible}
.wire path{fill:none;stroke-width:1.4;stroke-dasharray:3 7}
.wire--before path{stroke:rgba(255,72,72,.36)}
.wire--after path{stroke:rgba(124,112,255,.42)}
.spark--r{fill:#FF5A5A;filter:drop-shadow(0 0 5px rgba(255,70,70,.9))}
.spark--p{fill:#8B80FF;filter:drop-shadow(0 0 5px var(--purple))}

.ba__col{position:relative;z-index:1;display:flex;flex-direction:column;gap:14px}
.ba__pill{align-self:flex-start;display:inline-flex;align-items:center;gap:8px;font-size:11.5px;font-weight:600;letter-spacing:.13em;text-transform:uppercase;padding:7px 14px;border-radius:999px;border:1px solid;margin-bottom:6px}
.ba__pill svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.ba__pill--before{color:#FF6B6B;border-color:rgba(255,80,80,.34);background:rgba(255,60,60,.06)}
.ba__pill--after{color:#9D93FF;border-color:rgba(124,112,255,.42);background:rgba(91,77,255,.09)}
.ba__col--after .ba__pill{align-self:flex-end}

.bcard{display:flex;gap:14px;align-items:flex-start;padding:15px 16px;border-radius:14px;border:1px solid var(--line);background:rgba(255,255,255,.014);transition:border-color .3s var(--ease),transform .3s var(--ease),background .3s var(--ease)}
.bcard:hover{transform:translateY(-2px)}
.bcard__ic{width:40px;height:40px;flex:none;border-radius:11px;display:grid;place-items:center;border:1px solid}
.bcard__ic svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.bcard h4{font-family:var(--font-h);font-weight:600;font-size:14.5px;letter-spacing:-.01em;margin-bottom:3px;line-height:1.2}
.bcard p{font-size:12.5px;color:var(--muted);line-height:1.45}
.bcard--before{border-color:rgba(255,80,80,.15)}
.bcard--before .bcard__ic{color:#FF6B6B;border-color:rgba(255,80,80,.28);background:rgba(255,60,60,.05)}
.bcard--before:hover{border-color:rgba(255,80,80,.4)}
.bcard--after{border-color:rgba(124,112,255,.18)}
.bcard--after .bcard__ic{color:#9D93FF;border-color:rgba(124,112,255,.34);background:rgba(91,77,255,.08)}
.bcard--after:hover{border-color:rgba(124,112,255,.46);background:rgba(91,77,255,.03)}

/* core */
.ba__core{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;gap:30px}
.ba__hexwrap{position:relative;width:180px;height:200px;display:grid;place-items:center}
.ba__glow{position:absolute;top:14%;width:176px;height:176px;border-radius:50%;background:radial-gradient(circle,rgba(91,77,255,.42),transparent 62%);filter:blur(16px);animation:pulse 5s ease-in-out infinite}
.ba__hex{position:absolute;top:8%;z-index:3;width:122px;height:136px;filter:drop-shadow(0 0 22px rgba(91,77,255,.55))}
.ba__hex::before,.ba__hex::after{content:"";position:absolute;inset:0;clip-path:polygon(50% 1%,99% 26%,99% 74%,50% 99%,1% 74%,1% 26%)}
.ba__hex::before{background:var(--purple);opacity:.95}
.ba__hex::after{inset:2px;background:#0d0a17}
.ba__hex img{position:absolute;z-index:2;width:52%;left:24%;top:50%;transform:translateY(-50%)}
.ba__plat{position:absolute;bottom:8%;left:50%;transform:translateX(-50%);z-index:1;display:flex;flex-direction:column;align-items:center;gap:5px}
.ba__plat i{display:block;height:7px;border-radius:6px;background:rgba(91,77,255,.55);box-shadow:0 0 16px rgba(91,77,255,.6)}
.ba__plat i:nth-child(1){width:66px;opacity:.95}
.ba__plat i:nth-child(2){width:92px;opacity:.7}
.ba__plat i:nth-child(3){width:118px;opacity:.45}
.ba__caps{display:flex;justify-content:center;gap:6px;width:100%;padding:18px 16px;border:1px solid var(--line);border-radius:16px;background:rgba(255,255,255,.02)}
.cap{flex:1;display:flex;flex-direction:column;align-items:center;gap:9px;text-align:center}
.cap+.cap{border-left:1px solid var(--line-2)}
.cap svg{width:23px;height:23px;fill:none;stroke:var(--purple);stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.cap span{font-size:11px;color:var(--muted);line-height:1.3;font-weight:500}

/* CTA band 2 */
.cta2{position:relative;z-index:1;margin-top:64px;display:grid;grid-template-columns:auto 1fr auto auto;align-items:center;gap:30px;background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:24px 34px}
.cta2__icon{position:relative;width:58px;height:58px;flex:none;display:grid;place-items:center}
.cta2__icon svg{width:25px;height:25px;fill:none;stroke:var(--purple);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;z-index:2}
.cta2__icon .ring{position:absolute;inset:6px;border-radius:50%;border:1px solid var(--purple-line);animation:ringPulse 2.8s ease-out infinite}
.cta2__icon .ring--2{animation-delay:1.4s}
@keyframes ringPulse{0%{transform:scale(.55);opacity:.7}100%{transform:scale(1.25);opacity:0}}
.cta2__copy h3{font-family:var(--font-h);font-weight:600;font-size:clamp(1.25rem,2vw,1.7rem);letter-spacing:-.02em;line-height:1.1}
.cta2__copy p{color:var(--muted);font-size:14px;margin-top:5px}
.cta2__btn{white-space:nowrap}
.cta2__call{color:var(--purple);font-weight:500;border-bottom:1px solid var(--purple-line);white-space:nowrap}
.cta2__call:hover{border-color:var(--purple)}
.cta2__btn .ico:last-child{width:17px;height:17px}
.cta2__proof{display:flex;align-items:center;gap:12px}
.avatars{display:flex}
.avatars img{width:34px;height:34px;border-radius:50%;border:2px solid var(--surface);margin-left:-11px;object-fit:cover}
.avatars img:first-child{margin-left:0}
.cta2__proof p{font-size:12.5px;color:var(--muted);line-height:1.35}

/* responsive — section 3 */
@media(max-width:980px){
  .ba{display:flex;flex-direction:column;gap:30px}
  .ba__wires{display:none}
  .ba__col--after .ba__pill{align-self:flex-start}
  .ba__core{order:1;width:100%}
  .ba__caps{max-width:480px;margin-inline:auto}
  .cta2{grid-template-columns:1fr;justify-items:center;text-align:center;gap:20px;padding:30px}
  .cta2__copy p{margin-inline:auto}
}
@media(max-width:560px){
  .ba__caps{flex-wrap:wrap;gap:18px 6px}
  .cap{flex:1 1 40%}
  .cap:nth-child(3){border-left:0}
}
@media(prefers-reduced-motion:reduce){
  .spark,.cta2__icon .ring{display:none}
  .ba__glow{animation:none}
}
