/* Apex Web Management — site styles
   Palette and component rules follow the PRD: flat dark surfaces, no shadows,
   gradients, blur or glow. Green is for CTAs, icons, eyebrows and accents only. */

@font-face{font-family:'Poppins';font-style:normal;font-weight:600;font-display:swap;src:url(fonts/poppins-latin-600-normal.woff2) format('woff2')}
@font-face{font-family:'Poppins';font-style:normal;font-weight:700;font-display:swap;src:url(fonts/poppins-latin-700-normal.woff2) format('woff2')}
@font-face{font-family:'Poppins';font-style:normal;font-weight:800;font-display:swap;src:url(fonts/poppins-latin-800-normal.woff2) format('woff2')}
@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url(fonts/inter-latin-400-normal.woff2) format('woff2')}
@font-face{font-family:'Inter';font-style:normal;font-weight:500;font-display:swap;src:url(fonts/inter-latin-500-normal.woff2) format('woff2')}
@font-face{font-family:'Inter';font-style:normal;font-weight:600;font-display:swap;src:url(fonts/inter-latin-600-normal.woff2) format('woff2')}

:root{
  --bg:#0A0E14;
  --card:#0F1620;
  --nav:#111827;
  --text:#D1D5DB;
  --muted:#9CA3AF;
  --green:#6DB33F;
  --green-deep:#4A8F1F;
  --slate:#3D5070;
  --slate-dark:#2D3F55;
  --heading:'Poppins',system-ui,sans-serif;
  --body:'Inter',system-ui,sans-serif;
  --wrap:960px;
}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:80px;-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--text);font-family:var(--body);font-size:16px;line-height:1.7}
img,svg{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
h1,h2,h3,p,ul{margin:0}
ul{padding:0;list-style:none}
button{font:inherit;color:inherit}

:focus-visible{outline:2px solid var(--green);outline-offset:3px;border-radius:4px}

.skip{position:absolute;left:16px;top:-60px;z-index:100;background:var(--green);color:var(--bg);font-family:var(--heading);font-weight:700;font-size:14px;padding:10px 16px;border-radius:8px}
.skip:focus{top:12px}

.icon{width:16px;height:16px;fill:none;stroke:var(--green);stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}

.wrap{max-width:var(--wrap);margin:0 auto;padding-left:24px;padding-right:24px}

/* ---------- Buttons ---------- */
.btn{display:inline-block;font-family:var(--heading);font-weight:700;border-radius:8px;text-align:center;cursor:pointer;transition:background .2s ease,border-color .2s ease}
.btn-primary{background:var(--green);color:var(--bg);border:1px solid var(--green)}
.btn-primary:hover{background:var(--green-deep);border-color:var(--green-deep)}
.btn-ghost{background:transparent;color:var(--text);border:1px solid var(--slate);font-family:var(--body);font-weight:500}
.btn-ghost:hover{border-color:var(--text)}
.btn-lg{font-size:15px;padding:14px 28px}
.btn-xl{font-size:16px;padding:16px 36px}

/* ---------- Navigation ---------- */
.nav{position:sticky;top:0;z-index:50;height:64px;background:transparent;border-bottom:1px solid transparent;transition:background .2s ease,border-color .2s ease}
.nav.solid,.nav.open{background:var(--nav);border-bottom-color:var(--slate)}
.nav-inner{max-width:var(--wrap);height:64px;margin:0 auto;padding:0 24px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.brand{display:flex;align-items:center;gap:10px}
.brand img{height:34px;width:auto}
.brand span{font-family:var(--heading);font-weight:700;font-size:16px;color:var(--text);white-space:nowrap}
.nav-links{display:flex;align-items:center;gap:28px}
.nav-links a{font-weight:600;font-size:13px;color:var(--muted);transition:color .2s ease}
.nav-links a:hover{color:var(--text)}
.nav-cta{font-size:13px;padding:8px 18px;border-radius:6px;white-space:nowrap}
.nav-right{display:flex;align-items:center;gap:12px}
.menu-btn{display:none;width:44px;height:44px;align-items:center;justify-content:center;background:transparent;border:1px solid var(--slate);border-radius:8px;cursor:pointer}
.menu-btn .icon{stroke:var(--text);width:20px;height:20px}
.menu-btn .i-close{display:none}
.nav.open .menu-btn .i-open{display:none}
.nav.open .menu-btn .i-close{display:block}
.mobile-menu{position:absolute;left:0;right:0;top:64px;background:var(--nav);border-bottom:1px solid var(--slate);padding:8px 24px 20px}
.mobile-menu[hidden]{display:none}
.mobile-menu a{display:block;padding:14px 0;font-weight:600;font-size:15px;color:var(--text);border-bottom:1px solid var(--slate-dark)}
.mobile-menu a:last-child{border-bottom:0}

/* ---------- Hero ---------- */
.hero{margin-top:-64px;padding:176px 24px 100px;text-align:center}
.hero-inner{max-width:760px;margin:0 auto;display:flex;flex-direction:column;align-items:center}
.eyebrow{font-weight:600;font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--green)}
.hero .eyebrow{font-size:11px;letter-spacing:.15em;margin-bottom:20px}
.hero h1{font-family:var(--heading);font-weight:800;font-size:58px;line-height:1.1;color:var(--text);max-width:680px;margin-bottom:22px}
.hero .sub{font-size:17px;color:var(--muted);max-width:560px;margin-bottom:36px}
.btn-row{display:flex;justify-content:center;align-items:center;gap:12px;margin-bottom:20px}
.micro{font-size:12px;color:var(--muted)}

/* ---------- Proof strip ---------- */
.proof{background:var(--card);border-top:1px solid var(--slate);border-bottom:1px solid var(--slate);padding:20px 24px}
.proof-grid{max-width:var(--wrap);margin:0 auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 32px}
.proof-item{display:flex;align-items:center;justify-content:center;gap:8px;font-weight:500;font-size:13px;color:var(--text);text-align:left;line-height:1.5}

/* ---------- Sections ---------- */
.section{padding:72px 0}
.section.alt{background:var(--card)}
.section h2{font-family:var(--heading);font-weight:700;font-size:34px;line-height:1.2;color:var(--text);max-width:640px;margin:12px 0 14px}
.section .lede{font-size:16px;color:var(--muted);max-width:560px;margin-bottom:48px}
.section h2.tight{margin-bottom:40px}

/* ---------- Service cards ---------- */
.grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.card{background:var(--card);border:1px solid var(--slate);border-radius:12px;padding:28px 24px}
.svc{display:flex;flex-direction:column;transition:border-color .2s ease}
.svc:hover{border-color:var(--green)}
.icon-box{width:40px;height:40px;border-radius:8px;background:rgba(109,179,63,.12);display:flex;align-items:center;justify-content:center;margin-bottom:18px}
.icon-box .icon{width:20px;height:20px}
.card h3{font-family:var(--heading);font-weight:700;font-size:18px;line-height:1.25;color:var(--text);margin-bottom:10px}
.card p{font-size:14px;line-height:1.7;color:var(--muted)}
.tags{display:flex;flex-wrap:wrap;gap:6px;margin:18px 0}
.tag{font-weight:600;font-size:11px;color:var(--green);background:rgba(109,179,63,.10);border:1px solid rgba(109,179,63,.25);border-radius:4px;padding:3px 8px;line-height:1.5}
.from{margin-top:auto;font-weight:600;font-size:13px;color:var(--green)}

.mid-cta{margin-top:32px;background:var(--slate-dark);border:1px solid var(--slate);border-radius:12px;padding:28px;text-align:center}
.mid-cta h3{font-family:var(--heading);font-weight:700;font-size:18px;color:var(--text);margin-bottom:8px}
.mid-cta p{font-size:14px;color:var(--text);max-width:520px;margin:0 auto 20px}

/* ---------- Process ---------- */
.steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;background:var(--slate);border:1px solid var(--slate);border-radius:12px;overflow:hidden}
.step{background:var(--card);padding:24px 20px}
.step .num{font-family:var(--heading);font-weight:800;font-size:13px;letter-spacing:.1em;color:var(--green);margin-bottom:10px}
.step h3{font-family:var(--heading);font-weight:700;font-size:15px;color:var(--text);margin-bottom:8px}
.step p{font-size:13px;line-height:1.6;color:var(--muted)}

/* ---------- About ---------- */
.about{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:48px;align-items:start}
.about h2{margin-bottom:24px}
.avatar{width:80px;height:80px;border-radius:50%;border:2px solid var(--green);object-fit:cover;margin-bottom:24px}
.about p{font-size:15px;line-height:1.75;color:var(--muted);margin-bottom:16px}
.about p.strong{color:var(--text);margin-bottom:0}
.values{display:flex;flex-direction:column;gap:16px}
.value{background:var(--card);border:1px solid var(--slate);border-radius:10px;padding:18px 20px}
.value-head{display:flex;align-items:center;gap:10px;margin-bottom:6px}
.value h3{font-family:var(--heading);font-weight:700;font-size:14px;color:var(--text)}
.value p{font-size:13px;line-height:1.6;color:var(--muted);margin:0}

/* ---------- Pricing ---------- */
.pricing-grid{padding-top:12px}
.price-card{position:relative;background:var(--bg);border:1px solid var(--slate);border-radius:12px;padding:28px 24px}
.price-card.featured{border-color:var(--green)}
.badge{position:absolute;top:-12px;left:50%;transform:translateX(-50%);background:var(--green);color:var(--bg);font-family:var(--heading);font-weight:700;font-size:11px;padding:3px 12px;border-radius:20px;white-space:nowrap;line-height:1.6}
.tier{font-weight:600;font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);margin-bottom:8px}
.price{font-family:var(--heading);font-weight:800;font-size:26px;line-height:1.2;color:var(--green);margin-bottom:10px}
.price-card .desc{font-size:13px;line-height:1.6;color:var(--muted);margin-bottom:16px}
.features{display:flex;flex-direction:column;gap:10px}
.features li{display:flex;align-items:center;gap:10px;font-size:13px;color:var(--muted)}
.price-note{margin-top:28px;text-align:center;font-size:13px;color:var(--muted)}

/* ---------- FAQ ---------- */
.faq{border:1px solid var(--slate);border-radius:12px;overflow:hidden}
.faq-item{border-bottom:1px solid var(--slate)}
.faq-item:last-child{border-bottom:0}
.faq-item h3{font-size:inherit}
.faq-q{width:100%;display:flex;align-items:center;justify-content:space-between;gap:16px;background:var(--card);border:0;padding:18px 20px;font-family:var(--body);font-weight:600;font-size:14px;line-height:1.5;color:var(--text);text-align:left;cursor:pointer;transition:background .2s ease}
.faq-q:hover{background:var(--slate-dark)}
.faq-q:focus-visible{outline-offset:-3px}
.faq-q .icon{stroke:var(--muted);width:18px;height:18px;transition:transform .3s ease}
.faq-q[aria-expanded="true"] .icon{transform:rotate(180deg)}
.faq-a{background:var(--bg);max-height:0;overflow:hidden;visibility:hidden;transition:max-height .3s ease,visibility 0s linear .3s}
.faq-a.open{visibility:visible;transition:max-height .3s ease,visibility 0s}
.faq-a p{padding:16px 20px;font-size:14px;line-height:1.7;color:var(--muted)}

/* ---------- Final CTA ---------- */
.final{padding:24px 0 72px}
.final-box{background:var(--card);border:1px solid var(--slate);border-radius:16px;padding:56px 40px;text-align:center}
.capacity{display:inline-flex;align-items:center;gap:10px;background:rgba(109,179,63,.10);border:1px solid rgba(109,179,63,.30);border-radius:20px;padding:5px 14px;margin-bottom:24px;font-weight:600;font-size:12px;color:var(--green);line-height:1.6}
.dot{position:relative;width:6px;height:6px;flex-shrink:0}
.dot::before{content:"";position:absolute;inset:0;border-radius:50%;background:var(--green)}
.dot::after{content:"";position:absolute;left:-1px;top:-1px;width:6px;height:6px;border:1px solid var(--green);border-radius:50%;opacity:0}
.final h2{font-family:var(--heading);font-weight:800;font-size:42px;line-height:1.15;color:var(--text);max-width:680px;margin:0 auto 16px}
.final .sub{font-size:16px;color:var(--muted);max-width:500px;margin:0 auto 32px}
.final .micro{margin-top:16px}

/* ---------- Footer ---------- */
.footer{background:var(--nav);border-top:1px solid var(--slate);padding:40px 0 24px}
.foot-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:32px}
.foot-grid .brand{margin-bottom:14px}
.foot-grid p{font-size:13px;line-height:1.6;color:var(--muted);max-width:280px}
.foot-title{font-family:var(--heading);font-weight:700;font-size:13px;color:var(--text);margin-bottom:12px}
.foot-links{display:flex;flex-direction:column;gap:8px;font-size:13px}
.foot-links a{color:var(--muted);transition:color .2s ease}
.foot-links a:hover{color:var(--text)}
.foot-bottom{margin-top:32px;padding-top:20px;border-top:1px solid var(--slate);display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;font-size:12px;color:var(--muted)}
.foot-bottom a:hover{color:var(--text)}

/* ---------- Legal page ---------- */
.legal{padding:72px 0 96px}
.legal h1{font-family:var(--heading);font-weight:800;font-size:40px;line-height:1.15;color:var(--text);margin:12px 0 12px}
.legal .updated{font-size:13px;color:var(--muted);margin-bottom:40px}
.legal h2{font-family:var(--heading);font-weight:700;font-size:20px;color:var(--text);margin:36px 0 10px}
.legal p,.legal li{font-size:15px;line-height:1.75;color:var(--muted)}
.legal p{margin-bottom:14px}
.legal ul{list-style:disc;padding-left:22px;margin-bottom:14px}
.legal li{margin-bottom:6px}
.legal a{color:var(--green);text-decoration:underline;text-underline-offset:3px}
.legal a:hover{color:var(--text)}

/* ---------- Scroll reveal (only when JS is running) ---------- */
@media (prefers-reduced-motion:no-preference){
  html.js .reveal{opacity:0;transform:translateY(20px);transition:opacity .6s ease,transform .6s ease;transition-delay:var(--d,0s)}
  html.js .reveal.in{opacity:1;transform:none}
  @keyframes apexPulse{0%{transform:scale(1);opacity:.6}100%{transform:scale(2.6);opacity:0}}
  .dot::after{animation:apexPulse 2s ease-out infinite}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *{transition-duration:0s !important}
}

/* ---------- Tablet ---------- */
@media (max-width:1024px){
  .grid-3{grid-template-columns:repeat(2,minmax(0,1fr))}
  .steps{grid-template-columns:repeat(2,minmax(0,1fr))}
  .proof-grid{grid-template-columns:1fr;justify-items:center;gap:10px}
  .proof-item{justify-content:flex-start}
}

/* ---------- Mobile ---------- */
@media (max-width:767px){
  .nav-links,.nav-cta{display:none}
  .menu-btn{display:inline-flex}
  .hero{padding:128px 20px 48px}
  .hero h1{font-size:36px}
  .hero .sub{font-size:16px}
  .btn-row{flex-direction:column;align-items:stretch;width:100%;max-width:340px}
  .section{padding:56px 0}
  .section h2{font-size:28px}
  .grid-3,.steps,.about,.foot-grid{grid-template-columns:minmax(0,1fr)}
  .about{gap:40px}
  .pricing-grid{gap:28px}
  .final-box{padding:40px 22px}
  .final h2{font-size:30px}
  .foot-grid{text-align:center;justify-items:center}
  .foot-grid .brand{justify-content:center}
  .foot-bottom{justify-content:center;text-align:center}
  .legal h1{font-size:32px}
}
