/* HP Creatives immersive homepage — layout/animation engine over Elementor markup.
   Containers are hooked by CSS ID (free Elementor strips custom classes on containers);
   repeated items (cards/steps) are targeted as children of their grid.
   Widgets keep their custom classes (hp-reveal, hp-badge, hp-d*) which DO render. */
:root{
  --color-primary:#00a8cc; --color-dark:#0a0a0f;
  --color-accent-teal:#04484b; --color-accent-ocean:#0b3d3e;
  --color-text:#ffffff; --color-text-muted:rgba(255,255,255,.7);
  --transition-fast:300ms ease-out; --transition-base:500ms ease-out; --transition-slow:800ms ease-out;
}

/* Canvas page reset */
body.hp-home{margin:0;background:var(--color-dark);color:var(--color-text);
  font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;overflow:hidden}
body.hp-home .elementor,body.hp-home .elementor-7{color:var(--color-text)}
#hp-wave{position:fixed;inset:0;width:100%;height:100%;z-index:0;pointer-events:none;display:block}

/* Sticky nav */
#hp-nav{position:fixed !important;top:0;left:0;width:100% !important;max-width:none !important;z-index:100;
  flex-direction:row !important;justify-content:space-between !important;align-items:center !important;
  padding:1rem 2rem !important;background:rgba(10,10,15,.85);backdrop-filter:blur(10px);
  border-bottom:1px solid rgba(0,168,204,.2)}
.hp-navlinks{display:flex;gap:1.75rem;font-weight:500}
#hp-nav a{color:var(--color-text);text-decoration:none;transition:color var(--transition-fast)}
#hp-nav a:hover{color:var(--color-primary)}

/* Horizontal track + sections — override Elementor container flex/width */
#hp-track{position:relative;z-index:10;display:flex !important;flex-direction:row !important;flex-wrap:nowrap !important;
  width:100vw !important;max-width:100vw !important;height:100vh;padding:0 !important;gap:0 !important;
  overflow-x:auto;overflow-y:hidden}
#hp-track::-webkit-scrollbar{display:none}
#hp-track{scrollbar-width:none}
#hp-track > .elementor-element{flex:0 0 100vw !important;width:100vw !important;max-width:none !important;height:100vh;
  display:flex !important;flex-direction:column !important;justify-content:flex-start !important;align-items:center !important;
  text-align:center;padding:90px 5vw 48px !important;gap:.6rem !important;
  overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch}
/* Center the block when it fits; collapse + scroll when it overflows. */
#hp-track > .elementor-element > :first-child{margin-top:auto !important}
#hp-track > .elementor-element > :last-child{margin-bottom:auto !important}
#hp-track > .elementor-element::-webkit-scrollbar{width:0;display:none}
#hp-track > .elementor-element{scrollbar-width:none}

/* Headings / text inside sections */
#hp-track h1{font-size:clamp(2rem,5vw,3.6rem);font-weight:800;line-height:1.1;max-width:18ch;color:var(--color-text)}
#hp-track h2{font-size:clamp(1.6rem,3.5vw,2.6rem);font-weight:800;max-width:22ch;color:var(--color-text)}
#hp-track h3{font-size:1.12rem;margin:.5rem 0;color:var(--color-text)}
#hp-track h4{font-size:1rem;margin:.2rem 0;color:var(--color-text)}
#hp-track p{color:var(--color-text-muted)}

/* Free-trial badge (widget keeps its class) */
.hp-badge .elementor-widget-container,.hp-badge p{margin:0}
.hp-badge{display:inline-flex !important;align-items:center;gap:.5rem;background:rgba(0,168,204,.12);
  border:1.5px solid var(--color-primary);border-radius:999px;padding:.55rem 1.15rem;
  box-shadow:0 0 24px rgba(0,168,204,.25)}
.hp-badge p{color:var(--color-primary) !important;font-weight:700;font-size:.82rem;letter-spacing:.6px;text-transform:uppercase}

/* Buttons row */
#hp-hero-btns,#hp-cta-btns{flex-direction:row !important;gap:1rem !important;justify-content:center !important;flex-wrap:wrap !important;width:auto !important}

/* Buttons (Elementor button widget; override the default kit color) */
.hp-btn .elementor-button{border-radius:8px !important;font-weight:700 !important;font-size:1rem !important;
  padding:14px 30px !important;transition:all var(--transition-fast) !important;border:2px solid transparent !important;box-shadow:none !important}
.hp-btn-primary .elementor-button{background:var(--color-primary) !important;color:var(--color-dark) !important}
.hp-btn-primary .elementor-button:hover{background:#23c3e6 !important;transform:scale(1.05)}
.hp-btn-ghost .elementor-button{background:transparent !important;border-color:var(--color-primary) !important;color:var(--color-primary) !important}
.hp-btn-ghost .elementor-button:hover{background:rgba(0,168,204,.12) !important}

/* Card grids */
#hp-services-grid{display:grid !important;grid-template-columns:repeat(3,1fr) !important;gap:16px !important;width:100% !important;max-width:1000px !important;margin:1rem auto 0}
#hp-why-grid{display:grid !important;grid-template-columns:repeat(2,1fr) !important;gap:16px !important;width:100% !important;max-width:860px !important;margin:1rem auto 0}
#hp-vec-row{flex-direction:row !important;flex-wrap:wrap !important;gap:28px !important;justify-content:center !important;width:auto !important;margin-top:1rem}

/* Cards (children of the grids/row) */
#hp-services-grid > .elementor-element,#hp-why-grid > .elementor-element{padding:18px 20px !important;gap:5px !important;
  border:1px solid rgba(0,168,204,.3);border-radius:10px;background:rgba(10,10,15,.72);text-align:left;
  transition:all var(--transition-base)}
#hp-services-grid > .elementor-element:hover,#hp-why-grid > .elementor-element:hover{
  border-color:var(--color-primary);background:rgba(0,168,204,.08);transform:translateY(-5px)}
#hp-services-grid > .elementor-element p,#hp-why-grid > .elementor-element p{font-size:.84rem !important;line-height:1.4}
#hp-vec-row > .elementor-element{flex:0 0 auto !important;width:auto !important;max-width:160px !important;
  align-items:center !important;text-align:center !important;gap:.5rem !important}

/* Brand vector icons (replace all emoji; one cyan line-icon set) */
.hp-ico{display:inline-block;width:22px;height:22px;color:var(--color-primary);vertical-align:middle;flex:none}
.hp-badge .hp-ico{width:15px;height:15px;margin-right:.15rem}
#hp-services-grid > .elementor-element .hp-ico,#hp-why-grid > .elementor-element .hp-ico{width:32px;height:32px}
#hp-vec-row .hp-ico{width:44px;height:44px}
#hp-alacarte-grid .hp-ac-head .hp-ico{width:20px;height:20px;margin-right:.15rem}
.hp-portal-btn .hp-ico{width:18px;height:18px}

/* Process steps (children of #hp-process) — single row of 5 */
#hp-process{flex-direction:row !important;flex-wrap:nowrap !important;gap:12px !important;justify-content:center !important;width:100% !important;max-width:1000px !important;margin:.8rem auto 0}
#hp-process > .elementor-element{flex:1 1 0 !important;min-width:0 !important;max-width:none !important;text-align:left !important;
  border-left:2px solid rgba(0,168,204,.4);padding-left:12px !important;align-items:flex-start !important;gap:4px !important}
#hp-process p{font-size:.78rem !important;line-height:1.35}

/* Entrance animations — widgets carry .hp-reveal; experience.js adds it to card/step containers too */
.hp-reveal,.hp-reveal.elementor-element{opacity:0;transform:translateY(28px) scale(.97);
  transition:opacity var(--transition-slow),transform var(--transition-slow)}
.hp-reveal.is-in{opacity:1 !important;transform:none !important}
.hp-d1{transition-delay:.1s}.hp-d2{transition-delay:.25s}.hp-d3{transition-delay:.4s}.hp-d4{transition-delay:.55s}

/* Progress bar + hint (injected by experience.js) */
#hp-progress{position:fixed;bottom:26px;right:26px;width:200px;height:4px;
  background:rgba(0,168,204,.2);border-radius:2px;z-index:90}
#hp-progress .fill{height:100%;width:0;background:var(--color-primary);border-radius:2px;transition:width 80ms linear}
.hp-hint{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);z-index:90;color:var(--color-text-muted);font-size:.8rem}

/* Glowing Client Portal button (cursor-themed) */
.hp-portal-btn{display:inline-flex;align-items:center;gap:.45rem;padding:.5rem 1.15rem;border-radius:999px;
  color:var(--color-primary) !important;text-decoration:none;font-weight:600;font-size:.95rem;
  border:1.5px solid rgba(0,168,204,.55);background:rgba(0,168,204,.08);
  box-shadow:0 0 18px rgba(0,168,204,.35);transition:all var(--transition-fast);animation:hpGlow 3.2s ease-in-out infinite}
.hp-portal-btn:hover{background:rgba(0,168,204,.18);color:#eaf9ff !important;box-shadow:0 0 30px 5px rgba(0,168,204,.6);transform:translateY(-1px)}
@keyframes hpGlow{0%,100%{box-shadow:0 0 16px rgba(0,168,204,.30)}50%{box-shadow:0 0 26px 4px rgba(0,168,204,.50)}}

/* Background-music toggle (bottom-left) */
#hp-music{position:fixed;left:24px;bottom:22px;z-index:95;width:44px;height:44px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;color:var(--color-primary);cursor:none;
  border:1.5px solid rgba(0,168,204,.5);background:rgba(10,10,15,.7);backdrop-filter:blur(6px);
  box-shadow:0 0 16px rgba(0,168,204,.3);transition:all var(--transition-fast)}
#hp-music svg{width:20px;height:20px}
#hp-music:hover{background:rgba(0,168,204,.16);box-shadow:0 0 26px 3px rgba(0,168,204,.5)}
#hp-music .hp-music-slash{opacity:1;transition:opacity .2s}
#hp-music.hp-music-on .hp-music-slash{opacity:0}
#hp-music.hp-music-on{border-color:var(--color-primary);box-shadow:0 0 22px 3px rgba(0,168,204,.5)}

/* À la carte (collapsible tier cards) */
#hp-alacarte-grid{display:grid !important;grid-template-columns:repeat(3,1fr) !important;gap:16px !important;width:100% !important;max-width:1080px !important;margin:1rem auto 0;align-items:start !important}
.hp-ac-card{padding:16px 18px !important;gap:5px !important;border:1px solid rgba(0,168,204,.3);border-radius:10px;background:rgba(10,10,15,.75);text-align:left;transition:border-color var(--transition-fast)}
.hp-ac-card:hover{border-color:var(--color-primary)}
.hp-ac-head{cursor:pointer !important;gap:3px !important}
.hp-ac-head p{font-size:.84rem}
.hp-ac-head .hp-ac-chev{color:var(--color-primary);float:right;transition:transform var(--transition-fast)}
.hp-ac-card.hp-open .hp-ac-head .hp-ac-chev{transform:rotate(180deg);display:inline-block}
.hp-ac-price p,.hp-ac-price{color:var(--color-primary) !important;font-weight:700;font-size:.88rem !important}
.hp-ac-tiers{display:none !important;margin-top:10px;padding-top:10px;border-top:1px solid rgba(0,168,204,.2);gap:12px !important}
.hp-ac-card.hp-open .hp-ac-tiers{display:flex !important}
.hp-ac-tiers h4{font-size:.9rem !important;margin:0}
.hp-ac-tiers ul{margin:.25rem 0 0;padding-left:1.1rem;text-align:left}
.hp-ac-tiers li{font-size:.79rem;color:var(--color-text-muted);line-height:1.45}
.hp-ac-note p{color:rgba(255,255,255,.5) !important;font-size:.72rem !important;font-style:italic}

/* Glowing custom cursor */
body.hp-home, body.hp-home a, body.hp-home button, body.hp-home .elementor-button,
body.hp-home .hp-ac-head, body.hp-home [role="button"]{cursor:none}
#hp-cursor-dot,#hp-cursor-ring{position:fixed;top:0;left:0;border-radius:50%;pointer-events:none;z-index:99999;will-change:transform}
#hp-cursor-dot{width:9px;height:9px;background:#eaf9ff;box-shadow:0 0 10px 2px rgba(0,168,204,.95)}
#hp-cursor-ring{width:36px;height:36px;border:2px solid rgba(0,168,204,.7);background:rgba(0,168,204,.10);
  box-shadow:0 0 26px 6px rgba(0,168,204,.45);
  transition:width .2s ease,height .2s ease,background .2s ease,border-color .2s ease,opacity .2s ease}
body.hp-cursor-hover #hp-cursor-ring{width:56px;height:56px;background:rgba(0,168,204,.20);border-color:var(--color-primary)}
body.hp-cursor-down #hp-cursor-ring{width:26px;height:26px;background:rgba(0,168,204,.28)}
body.hp-cursor-hidden #hp-cursor-dot,body.hp-cursor-hidden #hp-cursor-ring{opacity:0}

/* Website price calculator modal (brand cyan/dark) */
body.hp-modal-open{overflow:hidden}
#hp-calc-overlay{position:fixed;inset:0;z-index:10000;background:rgba(3,6,12,.8);backdrop-filter:blur(4px);
  display:none;align-items:flex-start;justify-content:center;padding:4vh 1rem;overflow-y:auto}
#hp-calc-overlay.open{display:flex}
#hp-calc-modal{position:relative;width:100%;max-width:680px;background:#0c1018;border:1px solid rgba(0,168,204,.4);
  border-radius:16px;box-shadow:0 0 60px rgba(0,168,204,.25);color:var(--color-text);margin:auto}
#hp-calc-modal input[type=email],#hp-calc-modal textarea{cursor:text}
.hp-calc-head{position:sticky;top:0;display:flex;justify-content:space-between;align-items:center;
  padding:1.2rem 1.5rem;border-bottom:1px solid rgba(0,168,204,.3);background:#0c1018;border-radius:16px 16px 0 0;z-index:2}
.hp-calc-head h2{font-size:1.2rem;font-weight:800;color:var(--color-primary);margin:0}
.hp-calc-close{width:34px;height:34px;border-radius:50%;border:1px solid rgba(0,168,204,.4);background:transparent;
  color:var(--color-primary);cursor:none;display:flex;align-items:center;justify-content:center}
.hp-calc-close svg{width:18px;height:18px}.hp-calc-close:hover{background:rgba(0,168,204,.12)}
.hp-calc-body{padding:1.5rem}
.hp-calc-step{margin-bottom:1.7rem}
.hp-calc-step>h3,.hp-calc-form h3{font-size:.78rem;font-weight:700;letter-spacing:1px;text-transform:uppercase;color:var(--color-primary);margin:0 0 1rem}
.hp-calc-types{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.hp-calc-type{padding:.85rem;border:1px solid rgba(0,168,204,.3);border-radius:10px;background:rgba(255,255,255,.02);color:var(--color-text);cursor:none;text-align:left;transition:all var(--transition-fast)}
.hp-calc-type strong{display:block;font-size:.88rem;margin-bottom:.2rem}
.hp-calc-type span{font-size:.7rem;color:var(--color-text-muted)}
.hp-calc-type.on{border-color:var(--color-primary);background:rgba(0,168,204,.12);box-shadow:0 0 16px rgba(0,168,204,.25)}
.hp-calc-incl{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;border:1px solid rgba(0,168,204,.25);border-radius:10px;padding:1rem;background:rgba(0,168,204,.04)}
.hp-calc-incl span{display:flex;align-items:center;font-size:.78rem;color:var(--color-text-muted)}
.hp-calc-incl i{color:var(--color-primary);margin-right:.5rem;font-style:normal;font-weight:700}
.hp-calc-opt{padding:.9rem 0;border-bottom:1px solid rgba(255,255,255,.06)}
.hp-calc-opt>label{display:block;font-size:.84rem;font-weight:600;margin-bottom:.5rem}
.hp-calc-check{display:flex;align-items:center;gap:.5rem;font-weight:500 !important;cursor:none;font-size:.84rem}
.hp-calc-check input{accent-color:var(--color-primary);width:16px;height:16px}
.hp-calc-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:.4rem}
.hp-calc-val{color:var(--color-primary);font-weight:700;font-size:.84rem}
.hp-calc-note{font-size:.7rem;color:var(--color-text-muted);margin-top:.35rem}
.hp-calc-slider{width:100%;accent-color:var(--color-primary);height:5px}
.hp-calc-toggle{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.hp-calc-toggle button{padding:.55rem;border:1px solid rgba(0,168,204,.3);border-radius:8px;background:rgba(255,255,255,.02);color:var(--color-text-muted);cursor:none;font-size:.78rem;font-weight:600}
.hp-calc-toggle button.on{border-color:var(--color-primary);background:rgba(0,168,204,.12);color:var(--color-primary)}
.hp-calc-support{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.hp-calc-supcard{padding:.55rem .4rem;border:1px solid rgba(0,168,204,.3);border-radius:8px;background:rgba(255,255,255,.02);color:var(--color-text);cursor:none;text-align:center}
.hp-calc-supcard strong{display:block;font-size:.7rem;font-weight:600}.hp-calc-supcard span{font-size:.7rem;color:var(--color-primary);font-weight:700}
.hp-calc-supcard.on{border-color:var(--color-primary);background:rgba(0,168,204,.12)}
.hp-calc-timeline{border:1px solid rgba(0,168,204,.25);border-radius:10px;padding:1rem;background:rgba(0,168,204,.04);margin-bottom:1.3rem}
.hp-calc-timeline h4{margin:0 0 .4rem;color:var(--color-primary);font-size:.88rem}.hp-calc-timeline p{margin:0;font-size:.78rem;color:var(--color-text-muted)}
.hp-calc-price{border:1.5px solid var(--color-primary);border-radius:10px;padding:1.1rem;margin-bottom:1.5rem;background:rgba(0,168,204,.05)}
.hp-calc-brow{display:flex;justify-content:space-between;font-size:.8rem;color:var(--color-text-muted);padding:.4rem 0;border-bottom:1px solid rgba(255,255,255,.06)}
.hp-calc-mo span:last-child{color:var(--color-primary)}
.hp-calc-total{display:flex;justify-content:space-between;font-size:1.1rem;font-weight:800;color:var(--color-primary);padding-top:.7rem;margin-top:.3rem;border-top:1px solid var(--color-primary)}
.hp-calc-hp{position:absolute;left:-9999px;opacity:0;height:0;width:0}
.hp-calc-fg{margin-bottom:1rem}.hp-calc-fg label{display:block;font-size:.8rem;font-weight:600;margin-bottom:.4rem}
.hp-calc-fg input,.hp-calc-fg textarea{width:100%;padding:.7rem;border:1px solid rgba(0,168,204,.3);border-radius:8px;background:rgba(255,255,255,.03);color:var(--color-text);font-size:.9rem;font-family:inherit;box-sizing:border-box}
.hp-calc-fg input:focus,.hp-calc-fg textarea:focus{outline:none;border-color:var(--color-primary);box-shadow:0 0 0 2px rgba(0,168,204,.2)}
.hp-calc-disc{font-size:.75rem;color:var(--color-text-muted);background:rgba(0,168,204,.06);border:1px solid rgba(0,168,204,.2);border-radius:8px;padding:.7rem;margin-bottom:1rem}
.hp-calc-submit{width:100%;padding:.85rem;border:none;border-radius:8px;background:var(--color-primary);color:var(--color-dark);font-weight:700;font-size:.95rem;cursor:none;box-shadow:0 0 18px rgba(0,168,204,.4);transition:all var(--transition-fast)}
.hp-calc-submit:hover{background:#23c3e6;transform:translateY(-1px)}.hp-calc-submit:disabled{opacity:.6}
.hp-calc-err{margin-top:.8rem;color:#ff8d8d;font-size:.82rem}
.hp-calc-success{padding:3.4rem 2rem;text-align:center}
.hp-calc-tick{width:58px;height:58px;border-radius:50%;border:2px solid var(--color-primary);color:var(--color-primary);font-size:1.8rem;display:flex;align-items:center;justify-content:center;margin:0 auto 1rem;box-shadow:0 0 24px rgba(0,168,204,.4)}
.hp-calc-success h3{color:var(--color-primary);margin:0 0 .4rem}.hp-calc-success p{color:var(--color-text-muted);font-size:.9rem;max-width:36ch;margin:0 auto}
.hp-calc-btn{display:inline-block;margin-top:.6rem;padding:.6rem 1.1rem;border-radius:8px;border:1.5px solid var(--color-primary);
  background:rgba(0,168,204,.1);color:var(--color-primary) !important;font-weight:700;font-size:.85rem;cursor:none;text-decoration:none;
  box-shadow:0 0 14px rgba(0,168,204,.3);transition:all var(--transition-fast)}
.hp-calc-btn:hover{background:rgba(0,168,204,.2);box-shadow:0 0 22px rgba(0,168,204,.5)}

/* Mobile: vertical fallback */
@media(max-width:768px){
  body.hp-home{overflow:auto;cursor:auto}
  body.hp-home a,body.hp-home button,body.hp-home .elementor-button,body.hp-home .hp-ac-head{cursor:pointer}
  #hp-cursor-dot,#hp-cursor-ring{display:none}
  #hp-music{cursor:pointer}
  #hp-track{flex-direction:column !important;width:100% !important;height:auto;overflow:visible}
  #hp-track > .elementor-element{flex:none !important;width:100vw !important;height:auto;min-height:100vh;padding:110px 24px 60px !important;overflow:visible}
  #hp-services-grid,#hp-why-grid,#hp-alacarte-grid{grid-template-columns:1fr !important}
  .hp-calc-types,.hp-calc-incl{grid-template-columns:1fr !important}
  .hp-calc-support{grid-template-columns:repeat(2,1fr) !important}
  #hp-calc-modal input[type=email],#hp-calc-modal textarea,.hp-calc-submit,.hp-calc-type,.hp-calc-supcard,.hp-calc-toggle button,.hp-calc-close,.hp-calc-check,.hp-calc-btn{cursor:pointer}
  #hp-process{flex-direction:column !important;max-width:340px !important;gap:14px !important}
  #hp-process > .elementor-element{flex:none !important;width:100% !important}
  #hp-process p{font-size:.9rem !important}
  .hp-navlinks,#hp-progress,.hp-hint{display:none}
}
@media(prefers-reduced-motion:reduce){
  .hp-reveal,.hp-reveal.elementor-element{opacity:1;transform:none;transition:none}
  #hp-track{scroll-behavior:auto}
}
