
.nebula-page{--neb-blue:var(--blue,#294483);--neb-ink:#0b1634;--neb-cyan:#63d5f4;--neb-paper:#f6f8fc;--neb-line:#dfe5f0;color:var(--neb-ink);background:#fff}
.nebula-page,.nebula-page *{box-sizing:border-box}.nebula-page a{text-decoration:none;color:inherit}.nebula-page input{font:inherit}
.nebula-page .neb-btn{display:inline-flex;background:var(--neb-blue);color:#fff;padding:15px 22px;border-radius:12px;font-weight:800}.nebula-page .neb-hero{min-height:670px;padding:110px max(7vw,28px);display:grid;grid-template-columns:1.5fr .7fr;gap:70px;align-items:center;background:radial-gradient(circle at 85% 20%,#e3f7ff 0,transparent 32%),linear-gradient(180deg,#fff,#f7f9fd)}
.nebula-page .neb-eyebrow{font-size:12px;font-weight:900;letter-spacing:.16em;color:#4e6ca8}.nebula-page .neb-hero h1,.nebula-page .neb-demo h2,.nebula-page .neb-flow h2,.nebula-page .neb-saving h2,.nebula-page .neb-deployment h2,.nebula-page .neb-cta h2{font-size:clamp(42px,5.4vw,78px);line-height:.98;letter-spacing:-.055em;margin:16px 0 24px}.nebula-page .neb-hero h1 em{font-style:normal;color:var(--neb-blue)}.nebula-page .neb-hero p{font-size:20px;line-height:1.55;max-width:760px;color:#46516b}.nebula-page .neb-actions{display:flex;gap:20px;align-items:center;margin-top:30px;flex-wrap:wrap}.nebula-page .neb-ghost{font-weight:800}.nebula-page .neb-badges{display:flex;gap:10px;margin-top:32px;flex-wrap:wrap}.nebula-page .neb-badges span{padding:9px 12px;border:1px solid var(--neb-line);border-radius:999px;background:#fff;font-size:13px;font-weight:800}.nebula-page .neb-hero-stat{background:var(--neb-blue);color:#fff;border-radius:32px;padding:42px;box-shadow:0 30px 80px rgba(41,68,131,.22)}.nebula-page .neb-hero-stat strong{display:block;font-size:88px;letter-spacing:-.07em}.nebula-page .neb-hero-stat span{font-size:22px;font-weight:800}.nebula-page .neb-hero-stat small{display:block;margin-top:15px;opacity:.7}
.nebula-page .neb-demo{padding:100px max(7vw,28px);display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:58px;align-items:center;background:#07132f;color:#fff}.nebula-page .neb-demo h2{font-size:clamp(40px,5vw,70px)}.nebula-page .neb-callouts{display:grid;gap:10px;margin-top:38px}.nebula-page .neb-callouts article{padding:16px 18px;border-left:2px solid #ffffff25;opacity:.35;transition:.35s}.nebula-page .neb-callouts article.active{opacity:1;border-color:var(--neb-cyan);transform:translateX(8px)}.nebula-page .neb-callouts b{color:var(--neb-cyan);font-size:12px}.nebula-page .neb-callouts h3{margin:4px 0;font-size:18px}.nebula-page .neb-callouts p{margin:0;color:#b8c3dd}.nebula-page .neb-phone-wrap{text-align:center;max-width:300px;justify-self:center}.nebula-page .neb-phone{width:min(255px,62vw);aspect-ratio:512/1108;margin:auto;border:8px solid #101216;border-radius:38px;overflow:hidden;position:relative;background:#000;box-shadow:0 40px 100px #0009}.nebula-page .neb-phone video{width:100%;height:100%;object-fit:cover;display:block}.nebula-page .neb-video-toggle{margin-top:18px;background:transparent;border:1px solid #ffffff55;color:#fff;border-radius:999px;padding:8px 13px;font-size:12px;cursor:pointer}
.nebula-page .neb-flow,.nebula-page .neb-saving,.nebula-page .neb-deployment{padding:110px max(7vw,28px)}.nebula-page .neb-flow h2,.nebula-page .neb-saving h2,.nebula-page .neb-deployment h2{font-size:clamp(38px,4.6vw,64px);max-width:900px}.nebula-page .neb-flow-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-top:55px}.nebula-page .neb-flow-grid article,.nebula-page .neb-three article,.nebula-page .neb-cards article{border:1px solid var(--neb-line);border-radius:22px;padding:28px}.nebula-page .neb-flow-grid span{font-weight:900;color:#7991c2}.nebula-page .neb-flow-grid h3{font-size:22px}.nebula-page .neb-flow-grid p,.nebula-page .neb-three p,.nebula-page .neb-cards p{color:#667087;line-height:1.55}.nebula-page .neb-three{padding:0 max(7vw,28px) 110px;display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.nebula-page .neb-three article{background:var(--neb-paper)}
.nebula-page .neb-saving{display:grid;grid-template-columns:1fr 1fr;gap:80px;background:var(--neb-paper)}.nebula-page .neb-saving>div>p{font-size:18px;line-height:1.6;color:#59647d}.nebula-page .neb-calculator{background:#fff;border-radius:26px;padding:30px;box-shadow:0 25px 70px #1b315018}.nebula-page .neb-calculator label{display:grid;grid-template-columns:1fr 1.4fr 80px;align-items:center;gap:16px;padding:16px 0;border-bottom:1px solid var(--neb-line);font-weight:700}.nebula-page .neb-calculator output{text-align:right;font-weight:900}.nebula-page .neb-result{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:28px 0}.nebula-page .neb-result div{background:#edf3ff;border-radius:18px;padding:22px}.nebula-page .neb-result strong{font-size:36px;display:block;color:var(--neb-blue)}.nebula-page .neb-result span{font-size:13px}.nebula-page .neb-calculator small{color:#7a8395}
.nebula-page .neb-deployment{display:grid;grid-template-columns:1fr 1.1fr;gap:70px}.nebula-page .neb-deployment>div>p{font-size:18px;line-height:1.6;color:#59647d}.nebula-page .neb-cards{display:grid;gap:12px}.nebula-page .neb-cards article b{font-size:30px;color:var(--neb-blue)}.nebula-page .neb-cta{padding:110px max(7vw,28px);background:var(--neb-blue);color:#fff;text-align:center}.nebula-page .neb-cta .neb-eyebrow{color:#9ee9ff}.nebula-page .neb-cta h2{font-size:clamp(46px,6vw,82px)}.nebula-page .neb-cta p{font-size:20px;color:#c9d5ee}.nebula-page .neb-cta .neb-actions{justify-content:center}.nebula-page .neb-btn.neb-light{background:#fff;color:var(--neb-blue)}.nebula-page .neb-lightText{color:#fff}
@media(max-width:850px){.nebula-page .neb-hero,.nebula-page .neb-demo,.nebula-page .neb-saving,.nebula-page .neb-deployment{grid-template-columns:1fr}.nebula-page .neb-hero{padding-top:70px}.nebula-page .neb-hero-stat strong{font-size:70px}.nebula-page .neb-demo{gap:35px}.nebula-page .neb-demo-copy{order:2}.nebula-page .neb-phone-wrap{order:1;max-width:240px}.nebula-page .neb-phone{width:215px}.nebula-page .neb-flow-grid{grid-template-columns:1fr 1fr}.nebula-page .neb-three{grid-template-columns:1fr}.nebula-page .neb-calculator label{grid-template-columns:1fr}.nebula-page .neb-calculator output{text-align:left}.nebula-page .neb-deployment{gap:30px}}
@media(max-width:520px){.nebula-page .neb-hero,.nebula-page .neb-demo,.nebula-page .neb-flow,.nebula-page .neb-saving,.nebula-page .neb-deployment,.nebula-page .neb-cta{padding-left:20px;padding-right:20px}.nebula-page .neb-hero h1{font-size:45px}.nebula-page .neb-hero p{font-size:17px}.nebula-page .neb-flow-grid{grid-template-columns:1fr}.nebula-page .neb-result{grid-template-columns:1fr}.nebula-page .neb-phone{width:195px;border-radius:31px}.nebula-page .neb-callouts article{padding:13px 15px}.nebula-page .neb-demo{padding-top:68px;padding-bottom:68px}}


/* === V8 · Nebula page mobile refinement === */
@media (max-width: 850px){
  .nebula-page .neb-demo{
    padding-top:72px!important;
    padding-bottom:72px!important;
  }
  .nebula-page .neb-demo-copy{order:1!important}
  .nebula-page .neb-phone-wrap{
    order:2!important;
    width:100%!important;
    max-width:none!important;
    margin-top:4px!important;
  }
  .nebula-page .neb-phone{
    width:190px!important;
    max-width:48vw!important;
    border-width:7px!important;
    border-radius:32px!important;
  }
  .nebula-page .neb-callouts{margin-top:28px!important}
}
@media (max-width: 520px){
  .nebula-page .neb-hero{padding-top:58px!important;padding-bottom:62px!important}
  .nebula-page .neb-hero h1{font-size:42px!important;line-height:1!important}
  .nebula-page .neb-hero p{font-size:16px!important;line-height:1.55!important}
  .nebula-page .neb-hero-stat{padding:28px!important;border-radius:24px!important}
  .nebula-page .neb-hero-stat strong{font-size:58px!important}
  .nebula-page .neb-hero-stat span{font-size:18px!important}
  .nebula-page .neb-demo{padding:60px 18px!important;gap:28px!important}
  .nebula-page .neb-demo h2{font-size:38px!important;line-height:1.02!important}
  .nebula-page .neb-callouts article{padding:13px 14px!important}
  .nebula-page .neb-callouts h3{font-size:17px!important}
  .nebula-page .neb-callouts p{font-size:14px!important;line-height:1.45!important}
  .nebula-page .neb-phone{width:168px!important;max-width:50vw!important;border-width:6px!important;border-radius:28px!important}
  .nebula-page .neb-video-toggle{margin-top:14px!important}
  .nebula-page .neb-flow,.nebula-page .neb-saving,.nebula-page .neb-deployment,.nebula-page .neb-cta{padding-top:72px!important;padding-bottom:72px!important}
  .nebula-page .neb-flow h2,.nebula-page .neb-saving h2,.nebula-page .neb-deployment h2{font-size:36px!important;line-height:1.04!important}
  .nebula-page .neb-flow-grid article,.nebula-page .neb-three article,.nebula-page .neb-cards article{padding:22px!important;border-radius:18px!important}
  .nebula-page .neb-calculator{padding:22px!important;border-radius:20px!important}
  .nebula-page .neb-result strong{font-size:30px!important}
  .nebula-page .neb-cta h2{font-size:42px!important;line-height:1!important}
  .nebula-page .neb-cta p{font-size:17px!important}
}

/* === V9 · sync demo + desktop back office === */
.nebula-page .neb-callouts article{cursor:pointer;position:relative;overflow:hidden}
.nebula-page .neb-callouts article::after{content:"";position:absolute;left:0;bottom:0;height:2px;width:0;background:var(--neb-cyan);transition:width .28s ease}
.nebula-page .neb-callouts article.active::after{width:100%}
.nebula-page .neb-video-toggle{min-width:104px;font-weight:800;transition:background .2s ease,border-color .2s ease,transform .2s ease}
.nebula-page .neb-video-toggle:hover{background:#ffffff12;border-color:#ffffff90;transform:translateY(-1px)}
.nebula-page .neb-video-toggle:focus-visible{outline:3px solid var(--neb-cyan);outline-offset:3px}

.nebula-page .neb-backoffice{padding:104px max(7vw,28px) 96px;display:grid;grid-template-columns:minmax(310px,.82fr) minmax(0,1.28fr);gap:64px;align-items:center;background:radial-gradient(circle at 74% 45%,#edf7ff 0,transparent 40%),#fff;overflow:hidden}
.nebula-page .neb-backoffice-copy{max-width:680px}
.nebula-page .neb-backoffice h2{font-size:clamp(38px,4.7vw,66px);line-height:1.01;letter-spacing:-.045em;margin:15px 0 24px}
.nebula-page .neb-backoffice p{font-size:18px;line-height:1.62;color:#59647d;margin:0 0 18px}
.nebula-page .neb-backoffice-emphasis{padding:18px 20px;border-left:3px solid var(--neb-cyan);background:#f4f9ff;border-radius:0 14px 14px 0}
.nebula-page .neb-backoffice-emphasis strong{color:var(--neb-blue)}
.nebula-page .neb-backoffice-tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:25px}
.nebula-page .neb-backoffice-tags span{padding:8px 11px;border:1px solid var(--neb-line);border-radius:999px;background:#fff;font-size:12px;font-weight:850;color:#415578}
.nebula-page .neb-imac-mockup{margin:0;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0}
.nebula-page .neb-imac-mockup::before{content:"";position:absolute;width:72%;aspect-ratio:1;border-radius:50%;background:#76d7f51a;filter:blur(25px);z-index:0}
.nebula-page .neb-imac-mockup img{position:relative;z-index:1;width:min(880px,100%);height:auto;display:block;object-fit:contain;filter:drop-shadow(0 28px 30px rgba(22,44,84,.15))}
.nebula-page .neb-imac-mockup figcaption{position:relative;z-index:1;margin-top:-2px;color:#7a8499;font-size:12px;font-weight:750;letter-spacing:.04em}

@media(max-width:900px){
  .nebula-page .neb-backoffice{grid-template-columns:1fr;padding-top:78px;padding-bottom:76px;gap:34px}
  .nebula-page .neb-backoffice-copy{max-width:760px}
  .nebula-page .neb-imac-mockup{width:min(760px,100%);margin:auto}
}
@media(max-width:520px){
  .nebula-page .neb-backoffice{padding:64px 18px 60px;gap:26px}
  .nebula-page .neb-backoffice h2{font-size:36px;line-height:1.04}
  .nebula-page .neb-backoffice p{font-size:15px;line-height:1.58}
  .nebula-page .neb-backoffice-emphasis{padding:15px 16px}
  .nebula-page .neb-backoffice-tags{margin-top:20px}
  .nebula-page .neb-backoffice-tags span{font-size:10px;padding:7px 9px}
  .nebula-page .neb-imac-mockup img{width:112%;max-width:none;margin-left:-6%}
  .nebula-page .neb-imac-mockup figcaption{font-size:10px;text-align:center}
  .nebula-page .neb-callouts article{opacity:.46}
  .nebula-page .neb-callouts article.active{opacity:1;transform:none;background:#0c1b3b}
}


/* === V12 · demo sync rebuilt from scratch === */
.nebula-page .neb-demo{grid-template-columns:minmax(0,1fr) 320px;gap:58px;align-items:center}
.nebula-page .neb-callouts{display:grid;gap:11px;margin-top:34px}
.nebula-page .neb-callouts article{
  position:relative;overflow:hidden;cursor:pointer;
  padding:16px 18px 16px 22px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:16px;
  background:rgba(255,255,255,.035);
  opacity:.35;
  transform:none;
  transition:opacity .22s ease,transform .22s ease,background .22s ease,border-color .22s ease,box-shadow .22s ease;
}
.nebula-page .neb-callouts article::before{
  content:"";position:absolute;left:0;top:0;bottom:0;width:0;
  background:#74dcff;box-shadow:0 0 18px rgba(116,220,255,.85);
  transition:width .22s ease;
}
.nebula-page .neb-callouts article.active{
  opacity:1;transform:translateX(9px);
  background:linear-gradient(90deg,#42bfe8 0%,#287bd1 44%,#1a3d83 100%);
  border-color:rgba(157,236,255,.62);
  box-shadow:0 12px 34px rgba(41,151,221,.28),inset 0 0 0 1px rgba(255,255,255,.08);
}
.nebula-page .neb-callouts article.active::before{width:7px}
.nebula-page .neb-callouts b{display:inline-flex;align-items:center;justify-content:center;height:25px;min-width:38px;padding:0 9px;border-radius:999px;background:rgba(255,255,255,.10);color:#9ee9ff;font-size:11px;letter-spacing:.12em}
.nebula-page .neb-callouts article.active b{background:rgba(255,255,255,.18);color:#fff}
.nebula-page .neb-callouts h3{margin:8px 0 4px;font-size:18px;line-height:1.15}
.nebula-page .neb-callouts p{margin:0;color:#bac7e2;font-size:13.5px;line-height:1.45}
.nebula-page .neb-callouts article.active p{color:#f0fbff}
.nebula-page .neb-video-toggle{min-width:108px;font-weight:850}

.nebula-page .neb-backoffice{
  padding:104px max(7vw,28px) 96px;
  display:grid;grid-template-columns:minmax(320px,.92fr) minmax(0,1.08fr);gap:58px;align-items:center;
  background:linear-gradient(180deg,#f7fbff 0%,#fff 100%);
}
.nebula-page .neb-backoffice-copy{max-width:680px}
.nebula-page .neb-backoffice h2{font-size:clamp(38px,4.6vw,64px);line-height:1.02;letter-spacing:-.05em;margin:14px 0 20px;color:#182744}
.nebula-page .neb-backoffice>div>p{font-size:18px;line-height:1.62;color:#59647d;margin:0 0 18px}
.nebula-page .neb-backoffice-list{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:26px 0 22px}
.nebula-page .neb-backoffice-list article{display:grid;grid-template-columns:42px 1fr;gap:12px;align-items:start;padding:15px;border:1px solid #dce5f3;border-radius:17px;background:#fff;box-shadow:0 10px 24px rgba(22,52,104,.05)}
.nebula-page .neb-bo-icon{width:42px;height:42px;border-radius:13px;background:#e9f6ff;color:#294483;display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:900;letter-spacing:.04em}
.nebula-page .neb-backoffice-list strong{display:block;color:#1b3158;font-size:15px;line-height:1.2;margin:2px 0 5px}
.nebula-page .neb-backoffice-list p{margin:0;color:#6c7890;font-size:13px;line-height:1.45}
.nebula-page .neb-backoffice-emphasis{padding:17px 19px;border-left:4px solid #58cce9;border-radius:0 15px 15px 0;background:#edf9ff}
.nebula-page .neb-backoffice-emphasis strong{color:#294483}
.nebula-page .neb-imac-mockup{margin:0;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0}
.nebula-page .neb-imac-mockup img{width:min(900px,100%);height:auto;display:block;object-fit:contain;filter:drop-shadow(0 24px 30px rgba(18,42,82,.13))}
.nebula-page .neb-imac-mockup figcaption{margin-top:4px;color:#7e889b;font-size:12px;font-weight:800;letter-spacing:.04em;text-align:center}

@media(max-width:900px){
  .nebula-page .neb-demo{grid-template-columns:1fr;gap:26px}
  .nebula-page .neb-phone-wrap{order:1!important;max-width:none!important;width:100%!important}
  .nebula-page .neb-demo-copy{order:2!important}
  .nebula-page .neb-phone{width:178px!important;max-width:48vw!important}
  .nebula-page .neb-callouts{margin-top:24px}
  .nebula-page .neb-callouts article{display:none}
  .nebula-page .neb-callouts article.active{display:block;transform:none}
  .nebula-page .neb-backoffice{grid-template-columns:1fr;gap:28px;padding-top:76px;padding-bottom:72px}
  .nebula-page .neb-imac-mockup{width:min(760px,100%);margin:auto}
}
@media(max-width:560px){
  .nebula-page .neb-demo{padding:58px 18px!important}
  .nebula-page .neb-demo h2{font-size:36px!important;line-height:1.03!important}
  .nebula-page .neb-callouts article{padding:15px 15px 15px 20px;border-radius:15px}
  .nebula-page .neb-callouts article.active::before{width:6px}
  .nebula-page .neb-callouts h3{font-size:17px}
  .nebula-page .neb-callouts p{font-size:13px;line-height:1.42}
  .nebula-page .neb-phone{width:164px!important;max-width:48vw!important;border-width:6px!important;border-radius:27px!important}
  .nebula-page .neb-backoffice{padding:62px 18px 58px;gap:24px}
  .nebula-page .neb-backoffice h2{font-size:35px;line-height:1.04}
  .nebula-page .neb-backoffice>div>p{font-size:15px;line-height:1.56}
  .nebula-page .neb-backoffice-list{grid-template-columns:1fr;gap:9px;margin:21px 0 20px}
  .nebula-page .neb-backoffice-list article{grid-template-columns:40px 1fr;padding:13px;border-radius:15px}
  .nebula-page .neb-bo-icon{width:40px;height:40px;border-radius:12px}
  .nebula-page .neb-imac-mockup img{width:116%;max-width:none;margin-left:-8%}
  .nebula-page .neb-imac-mockup figcaption{font-size:10px}
}

/* === V13 · calculator interaction === */
.nebula-page .neb-calculator input[type="range"]{
  width:100%;
  min-width:0;
  cursor:pointer;
  accent-color:var(--neb-blue);
  touch-action:pan-y;
}
.nebula-page .neb-calculator input[type="range"]:focus-visible{
  outline:3px solid rgba(99,213,244,.55);
  outline-offset:4px;
  border-radius:999px;
}
.nebula-page .neb-calculator output{
  display:inline-block;
  min-width:64px;
  font-variant-numeric:tabular-nums;
}
