/* ===========================================================================
   AlliedTech store landing — cinematic, scroll-animated. Scoped under .atl so it
   never affects the rest of the Kapee store. Brand: navy #0B1F3A, blue #1B66D6,
   cooling teal #7FD8C6, white.
   ======================================================================== */

/* Break the whole landing out of Kapee's max-width .container so the hero +
   cinematic bands run edge-to-edge; inner content stays wrapped via .atl-wrap. */
html{overflow-x:clip}
/* Front page only: remove Kapee's 38px content top padding (the white bar) so the cinematic
   hero meets the very top edge, under the transparent overlay header. */
body.home .site-content,body.home #main-content{padding-top:0!important}
#atl-landing.atl{--navy:#0B1F3A;--navy2:#102a4d;--blue:#1B66D6;--blue-d:#1550AE;--teal:#7FD8C6;--ink:#16243b;--muted:#5b6b85;--line:#e4ebf3;--bg:#f6f9fc;font-family:'Inter',-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;color:var(--ink);overflow-x:hidden;width:100vw;max-width:100vw;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw)}
#atl-landing.atl *{box-sizing:border-box}
#atl-landing .atl-wrap{max-width:1180px;margin:0 auto;padding:0 22px}
#atl-landing h1,#atl-landing h2,#atl-landing h3{font-family:'Archivo','Poppins',sans-serif;line-height:1.08;letter-spacing:-.01em;margin:0}
#atl-landing .atl-grad{background:linear-gradient(100deg,var(--blue),var(--teal));-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent}
#atl-landing .atl-center{text-align:center;margin-top:34px}

/* ---- Reveal animation ---- */
#atl-landing .atl-reveal{opacity:0;transform:translateY(26px);transition:opacity .8s cubic-bezier(.2,.7,.2,1),transform .8s cubic-bezier(.2,.7,.2,1);transition-delay:var(--d,0ms);will-change:opacity,transform}
#atl-landing .atl-reveal.in{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){#atl-landing .atl-reveal{opacity:1;transform:none;transition:none}}

/* ---- Buttons ---- */
#atl-landing .atl-btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;font-family:'Archivo','Poppins',sans-serif;font-weight:600;font-size:.98rem;padding:.95rem 1.7rem;border-radius:.7rem;text-decoration:none;transition:transform .2s,box-shadow .2s,background .2s,color .2s;cursor:pointer;border:1px solid transparent;line-height:1}
#atl-landing .atl-btn--primary{background:linear-gradient(100deg,var(--blue),#2f7be8);color:#fff;box-shadow:0 10px 26px -10px rgba(27,102,214,.7)}
#atl-landing .atl-btn--primary:hover{transform:translateY(-2px);box-shadow:0 16px 34px -10px rgba(27,102,214,.85)}
#atl-landing .atl-btn--ghost{background:rgba(255,255,255,.08);color:#fff;border-color:rgba(255,255,255,.5);backdrop-filter:blur(6px)}
#atl-landing .atl-btn--ghost:hover{background:#fff;color:var(--navy);border-color:#fff}

/* ---- HERO ---- */
#atl-landing .atl-hero{position:relative;min-height:92vh;display:flex;align-items:center;color:#fff;overflow:hidden}
#atl-landing .atl-hero__media{position:absolute;inset:-8% 0;z-index:0}
#atl-landing .atl-hero__video,#atl-landing .atl-hero__img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
#atl-landing .atl-hero__img{background-size:cover;background-position:center}
#atl-landing .atl-hero__scrim{position:absolute;inset:0;background:linear-gradient(180deg,rgba(8,20,40,.62) 0%,rgba(8,20,40,.42) 40%,rgba(8,20,40,.78) 100%)}
#atl-landing .atl-hero__inner{position:relative;z-index:2;max-width:1180px;margin:0 auto;padding:0 22px;width:100%}
#atl-landing .atl-eyebrow{font-family:'IBM Plex Mono','Archivo',monospace;text-transform:uppercase;letter-spacing:.22em;font-size:.74rem;color:var(--teal);margin:0 0 1rem;font-weight:600}
#atl-landing .atl-hero__title{font-size:clamp(2.4rem,6vw,4.4rem);font-weight:800;text-shadow:0 2px 30px rgba(0,0,0,.25)}
#atl-landing .atl-hero__sub{max-width:560px;font-size:clamp(1rem,1.5vw,1.18rem);line-height:1.6;margin:1.4rem 0 2rem;color:rgba(255,255,255,.9)}
#atl-landing .atl-hero__cta{display:flex;flex-wrap:wrap;gap:.9rem}
#atl-landing .atl-hero__scroll{position:absolute;left:50%;bottom:26px;transform:translateX(-50%);width:26px;height:42px;border:2px solid rgba(255,255,255,.6);border-radius:14px;z-index:2}
#atl-landing .atl-hero__scroll span{position:absolute;left:50%;top:8px;width:4px;height:8px;margin-left:-2px;background:#fff;border-radius:2px;animation:atl-scroll 1.6s infinite}
@keyframes atl-scroll{0%{opacity:0;transform:translateY(0)}40%{opacity:1}100%{opacity:0;transform:translateY(14px)}}

/* ---- STATS ---- */
#atl-landing .atl-stats{background:var(--navy);color:#fff;padding:48px 0}
#atl-landing .atl-stats__grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;text-align:center}
#atl-landing .atl-stat__n{font-family:'Archivo','Poppins',sans-serif;font-weight:800;font-size:clamp(1.8rem,3.4vw,2.7rem);background:linear-gradient(100deg,#fff,var(--teal));-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent}
#atl-landing .atl-stat__l{color:rgba(255,255,255,.65);font-size:.86rem;margin-top:.4rem;letter-spacing:.02em}

/* ---- Sections ---- */
#atl-landing .atl-section{padding:84px 0;background:#fff}
#atl-landing .atl-section--alt{background:var(--bg)}
#atl-landing .atl-head{text-align:center;max-width:640px;margin:0 auto 48px}
#atl-landing .atl-h2{font-size:clamp(1.7rem,3.4vw,2.5rem);font-weight:800;color:var(--navy)}
#atl-landing .atl-lead{color:var(--muted);font-size:1.05rem;margin-top:.8rem;line-height:1.6}

/* ---- Category grid ---- */
#atl-landing .atl-catgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
#atl-landing .atl-cat{position:relative;border-radius:16px;overflow:hidden;text-decoration:none;color:#fff;min-height:190px;display:flex;align-items:flex-end;border:1px solid var(--line);background:var(--navy);transition:transform .3s,box-shadow .3s}
#atl-landing .atl-cat:hover{transform:translateY(-4px);box-shadow:0 22px 40px -22px rgba(11,31,58,.5)}
#atl-landing .atl-cat__img{position:absolute;inset:0;background-size:cover;background-position:center;background-color:#fff;transition:transform .6s}
#atl-landing .atl-cat__img::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(11,31,58,.12) 0%,rgba(11,31,58,.30) 55%,rgba(11,31,58,.62) 100%)}
#atl-landing .atl-cat__img--ph{background:linear-gradient(135deg,var(--navy),var(--blue))}
#atl-landing .atl-cat:hover .atl-cat__img{transform:scale(1.07)}
#atl-landing .atl-cat__body{position:relative;z-index:2;width:100%;padding:18px 18px 16px;background:linear-gradient(180deg,transparent,rgba(8,20,40,.85))}
#atl-landing .atl-cat__name{display:block;font-family:'Archivo','Poppins',sans-serif;font-weight:700;font-size:1.1rem}
#atl-landing .atl-cat__count{font-size:.78rem;color:var(--teal);font-family:'IBM Plex Mono',monospace}

/* ---- Product grid ---- */
#atl-landing .atl-prodgrid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
#atl-landing .atl-prod{background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden;text-decoration:none;color:var(--ink);display:flex;flex-direction:column;transition:transform .3s,box-shadow .3s,border-color .3s}
#atl-landing .atl-prod:hover{transform:translateY(-5px);box-shadow:0 22px 40px -24px rgba(11,31,58,.45);border-color:#cfe0f5}
#atl-landing .atl-prod__img{aspect-ratio:1/1;background:#fff;display:flex;align-items:center;justify-content:center;overflow:hidden}
#atl-landing .atl-prod__img img{width:100%;height:100%;object-fit:cover;display:block}
#atl-landing .atl-prod__body{padding:14px 15px 16px;flex:1;display:flex;flex-direction:column;gap:.5rem}
#atl-landing .atl-prod__name{font-weight:600;font-size:.92rem;line-height:1.35;color:var(--navy)}
#atl-landing .atl-prod__price{margin-top:auto;color:var(--blue);font-weight:700;font-family:'Archivo','Poppins',sans-serif}
#atl-landing .atl-prod__price del{color:var(--muted);font-weight:400;font-size:.85em;margin-right:.3em}
#atl-landing .atl-prod__price ins{text-decoration:none}

/* ---- Cinematic band ---- */
#atl-landing .atl-cine{position:relative;min-height:60vh;display:flex;align-items:center;color:#fff;overflow:hidden}
#atl-landing .atl-cine__video,#atl-landing .atl-cine__img{position:absolute;inset:-8% 0;width:100%;height:116%;object-fit:cover;background-size:cover;background-position:center}
#atl-landing .atl-cine__scrim{position:absolute;inset:0;background:linear-gradient(90deg,rgba(8,20,40,.85) 0%,rgba(8,20,40,.5) 60%,rgba(8,20,40,.3) 100%)}
#atl-landing .atl-cine__inner{position:relative;z-index:2;max-width:560px}
#atl-landing .atl-cine__title{font-size:clamp(1.8rem,3.6vw,2.7rem);font-weight:800}
#atl-landing .atl-cine__sub{margin:1rem 0 1.8rem;font-size:1.08rem;line-height:1.6;color:rgba(255,255,255,.9)}

/* ---- Feature cards ---- */
#atl-landing .atl-feats{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
#atl-landing .atl-feat{background:#fff;border:1px solid var(--line);border-radius:16px;padding:28px 22px;transition:transform .3s,box-shadow .3s}
#atl-landing .atl-feat:hover{transform:translateY(-4px);box-shadow:0 22px 40px -26px rgba(11,31,58,.4)}
#atl-landing .atl-feat__ic{font-size:2rem;margin-bottom:.7rem}
#atl-landing .atl-feat h3{font-size:1.12rem;color:var(--navy);margin-bottom:.5rem}
#atl-landing .atl-feat p{color:var(--muted);font-size:.93rem;line-height:1.55;margin:0}

/* ---- Final CTA ---- */
#atl-landing .atl-final{background:radial-gradient(120% 140% at 50% 0%,var(--navy2),var(--navy));color:#fff;padding:90px 0}
#atl-landing .atl-final__inner{text-align:center;max-width:680px;margin:0 auto}
#atl-landing .atl-final__title{font-size:clamp(1.9rem,4vw,2.9rem);font-weight:800}
#atl-landing .atl-final__sub{color:rgba(255,255,255,.82);font-size:1.08rem;margin:1rem 0 2rem;line-height:1.6}
#atl-landing .atl-final .atl-hero__cta{justify-content:center}
/* Titles on dark sections must stay white — Kapee's global h1/h2{color:#333} beats inheritance. */
#atl-landing .atl-hero__title,#atl-landing .atl-cine__title,#atl-landing .atl-final__title{color:#fff}

/* ---- Responsive ---- */
@media (max-width:980px){
  #atl-landing .atl-prodgrid{grid-template-columns:repeat(2,1fr)}
  #atl-landing .atl-feats{grid-template-columns:repeat(2,1fr)}
  #atl-landing .atl-catgrid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:680px){
  #atl-landing .atl-hero{min-height:88vh}
  #atl-landing .atl-stats__grid{grid-template-columns:repeat(2,1fr);gap:28px 16px}
  #atl-landing .atl-catgrid{grid-template-columns:1fr 1fr}
  #atl-landing .atl-section{padding:60px 0}
}
