/* ============================================================
   Atmar HQ — shared stylesheet for interior (multipage) pages.
   The homepage (index.html) keeps its own inline styles untouched;
   this file reproduces the same brand system so every new page
   matches the homepage exactly (fonts, colors, nav, footer, buttons).
   ============================================================ */

*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0 }

:root {
  --w: #fff;
  --ba: #F7F9FC;
  --bt: #EEF3FF;
  --dk: #060914;
  --dk2: #0D1635;
  --tx: #0C0D14;
  --t2: #475569;
  --t3: #64748B;
  --tm: #94A3B8;
  --bl: #0057FF;
  --blh: #0046D4;
  --bll: rgba(0, 87, 255, .08);
  --blm: rgba(0, 87, 255, .16);
  --bd: #E2E8F0;
  --s1: 0 1px 3px rgba(0, 0, 0, .06), 0 4px 12px rgba(0, 0, 0, .04);
  --s2: 0 4px 16px rgba(0, 0, 0, .08), 0 12px 40px rgba(0, 0, 0, .05);
  --r: 10px;
  --rl: 16px;
  --rxl: 24px
}

html { scroll-behavior: smooth }

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--w);
  color: var(--tx);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.6
}

a { text-decoration: none; color: inherit }
button { font-family: inherit; cursor: pointer; border: none }
img { max-width: 100% }

::-webkit-scrollbar { width: 4px }
::-webkit-scrollbar-thumb { background: var(--bl); border-radius: 2px }

.W { max-width: 1160px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 60px) }
.Ws { max-width: 820px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 60px) }

section { padding: clamp(64px, 7vw, 104px) 0 }
.BA { background: var(--ba) }
.BT { background: var(--bt) }
.BK { background: var(--dk); position: relative; overflow: hidden; color: #fff }

/* ---------- Typography ---------- */
.ey {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--bl); margin-bottom: 18px
}
.ey::before { content: ''; display: block; width: 20px; height: 2px; background: var(--bl); flex-shrink: 0 }
.ey.dk { color: rgba(255, 255, 255, .55) }
.ey.dk::before { background: rgba(255, 255, 255, .3) }

h1 { font-size: clamp(34px, 5vw, 60px); font-weight: 900; line-height: 1.05; letter-spacing: -2px }
h2 { font-size: clamp(26px, 3.6vw, 44px); font-weight: 900; line-height: 1.08; letter-spacing: -1.3px }
h3 { font-size: clamp(17px, 2vw, 22px); font-weight: 700; line-height: 1.25; letter-spacing: -.3px }

.ld { font-size: 18px; line-height: 1.78; color: var(--t2) }
.bd { font-size: 16px; line-height: 1.78; color: var(--t2) }
p { line-height: 1.75 }
.w1 { color: #fff !important }
.w2 { color: rgba(255, 255, 255, .72) !important }
.w3 { color: rgba(255, 255, 255, .45) !important }
.tc { text-align: center }
.mx { max-width: 720px }
.mxc { max-width: 720px; margin-left: auto; margin-right: auto }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 15px; font-weight: 700; font-family: inherit;
  padding: 15px 30px; border-radius: 100px; transition: all .22s;
  cursor: pointer; white-space: nowrap; border: 2px solid transparent; touch-action: manipulation
}
.bp { background: var(--bl); color: #fff; box-shadow: 0 4px 20px rgba(0, 87, 255, .28); border-color: var(--bl) }
.bp:hover { background: var(--blh); box-shadow: 0 8px 32px rgba(0, 87, 255, .42); transform: translateY(-2px) }
.bo { background: transparent; color: var(--bl); border-color: var(--bl) }
.bo:hover { background: var(--bll); transform: translateY(-2px) }
.bow { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45) }
.bow:hover { background: rgba(255, 255, 255, .09); border-color: #fff }
.bw { background: #fff; color: var(--dk); box-shadow: 0 4px 20px rgba(0, 0, 0, .12); border-color: #fff }
.bw:hover { background: #f0f0f0; transform: translateY(-2px) }
.blg { padding: 17px 36px; font-size: 16px }
.bsm { padding: 10px 22px; font-size: 13px }
.ar { display: inline-block; transition: transform .2s }
.btn:hover .ar { transform: translateX(4px) }

/* ---------- Nav ---------- */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000; height: 68px;
  background: rgba(255, 255, 255, .96); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--bd); transition: box-shadow .3s
}
nav.scrolled { box-shadow: 0 1px 0 rgba(0, 0, 0, .08) }
.ni {
  display: flex; align-items: center; justify-content: space-between; height: 100%;
  max-width: 1160px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 60px)
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 16px; letter-spacing: -.4px }
.lm { width: 34px; height: 34px; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0 }
.lm img { width: 34px; height: 34px; object-fit: contain; display: block }
.nl { display: flex; align-items: center; gap: 26px; list-style: none }
.nl > li { position: relative }
.nl a { font-size: 14px; font-weight: 500; color: var(--t2); transition: color .2s; display: inline-flex; align-items: center; gap: 5px }
.nl a:hover { color: var(--tx) }
.nl a.active { color: var(--bl); font-weight: 600 }
.nr { display: flex; align-items: center; gap: 10px }

/* dropdown */
.nl-dd { position: relative }
.nl-dd > a .caret { width: 8px; height: 8px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg); margin-top: -3px; transition: transform .2s }
.nl-menu {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(6px);
  background: #fff; border: 1px solid var(--bd); border-radius: 14px; box-shadow: var(--s2);
  padding: 8px; min-width: 260px; opacity: 0; visibility: hidden; transition: all .2s; list-style: none
}
.nl-dd::after { content: ''; position: absolute; top: 100%; left: 0; right: 0; height: 18px }
.nl-dd:hover .nl-menu, .nl-dd:focus-within .nl-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0) }
.nl-dd:hover > a .caret { transform: rotate(225deg); margin-top: 2px }
.nl-menu li { display: block }
.nl-menu a { display: flex; flex-direction: column; gap: 2px; padding: 10px 14px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--tx) }
.nl-menu a small { font-weight: 400; font-size: 12px; color: var(--t3) }
.nl-menu a:hover { background: var(--bll); color: var(--bl) }
.nl-menu a:hover small { color: var(--bl) }

.hm { display: none; flex-direction: column; gap: 5px; background: none; padding: 8px; border: none; cursor: pointer }
.hm span { display: block; width: 22px; height: 2px; background: var(--t2); border-radius: 2px; transition: all .3s }
.hm.op span:nth-child(1) { transform: translateY(7px) rotate(45deg) }
.hm.op span:nth-child(2) { opacity: 0 }
.hm.op span:nth-child(3) { transform: translateY(-7px) rotate(-45deg) }

.mn {
  display: none; position: fixed; top: 68px; left: 0; right: 0; background: #fff;
  border-bottom: 1px solid var(--bd); padding: 16px clamp(20px, 5vw, 60px) 26px;
  flex-direction: column; gap: 2px; z-index: 999; max-height: calc(100vh - 68px); overflow-y: auto
}
.mn.op { display: flex }
.mn a { font-size: 16px; font-weight: 500; color: var(--t2); padding: 12px 0; border-bottom: 1px solid var(--bd) }
.mn a.sub { font-size: 14px; padding-left: 14px; color: var(--t3) }
.mn a.grp { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--tm); font-weight: 700; padding: 16px 0 6px; border: none }
.mn .btn { border-radius: 100px; justify-content: center; margin-top: 14px; border-bottom: none }

/* ---------- Page hero (interior) ---------- */
.phero { background: var(--dk); position: relative; overflow: hidden; padding: clamp(116px, 13vw, 168px) 0 clamp(56px, 7vw, 92px) }
.phero::before { content: ''; position: absolute; top: -20%; left: 50%; transform: translateX(-50%); width: 900px; height: 700px; background: radial-gradient(circle, rgba(0, 87, 255, .20) 0%, transparent 62%); pointer-events: none }
.phero .W { position: relative; z-index: 1 }
.phero h1 { color: #fff; max-width: 900px }
.phero .ld { color: rgba(255, 255, 255, .72); max-width: 680px; margin-top: 20px }
.phero-cta { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap }

/* breadcrumbs */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; margin-bottom: 22px; color: rgba(255, 255, 255, .5) }
.crumbs a { color: rgba(255, 255, 255, .7) }
.crumbs a:hover { color: #fff }
.crumbs .sep { opacity: .4 }
.crumbs [aria-current] { color: #fff; font-weight: 600 }
/* light-background breadcrumb variant */
.crumbs-lt { color: var(--t3) }
.crumbs-lt a { color: var(--t2) }
.crumbs-lt a:hover { color: var(--bl) }
.crumbs-lt [aria-current] { color: var(--tx) }

/* ---------- Generic content blocks ---------- */
.lead-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px }
.lead-grid.two { grid-template-columns: repeat(2, 1fr) }
.lead-grid.four { grid-template-columns: repeat(4, 1fr) }
.card {
  background: #fff; border: 1px solid var(--bd); border-radius: var(--rl); padding: 28px;
  box-shadow: var(--s1); transition: transform .2s, box-shadow .2s
}
.card:hover { transform: translateY(-3px); box-shadow: var(--s2) }
.card .num { font-size: 13px; font-weight: 800; color: var(--bl); letter-spacing: 1px; margin-bottom: 12px }
.card h3 { margin-bottom: 8px }
.card p { font-size: 15px; color: var(--t2); line-height: 1.7 }
.card ul { margin-top: 12px; list-style: none; display: flex; flex-direction: column; gap: 8px }
.card ul li { position: relative; padding-left: 24px; font-size: 14.5px; color: var(--t2); line-height: 1.6 }
.card ul li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--bl); font-weight: 800 }

.prose { max-width: 760px }
.prose h2 { margin: 8px 0 14px }
.prose h3 { margin: 30px 0 10px }
.prose p { font-size: 17px; color: var(--t2); line-height: 1.8; margin-bottom: 16px }
.prose ul, .prose ol { margin: 0 0 18px 0; padding-left: 0; list-style: none; display: flex; flex-direction: column; gap: 10px }
.prose ul li { position: relative; padding-left: 26px; font-size: 16.5px; color: var(--t2); line-height: 1.7 }
.prose ul li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--bl); font-weight: 800 }
.prose ol { counter-reset: n }
.prose ol li { position: relative; padding-left: 34px; font-size: 16.5px; color: var(--t2); line-height: 1.7; counter-increment: n }
.prose ol li::before { content: counter(n); position: absolute; left: 0; top: 0; width: 22px; height: 22px; background: var(--bll); color: var(--bl); border-radius: 50%; font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center }
.prose a { color: var(--bl); font-weight: 600 }
.prose a:hover { text-decoration: underline }
.prose strong { color: var(--tx) }

/* two-column intent + related */
.split { display: grid; grid-template-columns: 1.7fr 1fr; gap: 56px; align-items: start }
.aside { position: sticky; top: 92px }
.aside-box { background: var(--ba); border: 1px solid var(--bd); border-radius: var(--rl); padding: 24px }
.aside-box h4 { font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--t3); margin-bottom: 14px }
.aside-box ul { list-style: none; display: flex; flex-direction: column; gap: 10px }
.aside-box a { font-size: 15px; font-weight: 600; color: var(--tx); display: inline-flex; gap: 6px; align-items: center }
.aside-box a:hover { color: var(--bl) }

/* stat / trust row */
.trust-row { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 30px; align-items: center }
.trust-row span { font-size: 13.5px; color: var(--t3); display: inline-flex; align-items: center; gap: 8px }
.trust-row .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--bl) }

/* pill row */
.pillrow { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px }
.pill { background: #fff; border: 1px solid var(--bd); border-radius: 100px; padding: 9px 16px; font-size: 13px; font-weight: 600; color: var(--t2) }
.BK .pill { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .82) }

/* testimonial mini */
.quote { background: #fff; border: 1px solid var(--bd); border-left: 3px solid var(--bl); border-radius: 0 var(--rl) var(--rl) 0; padding: 22px 26px; box-shadow: var(--s1) }
.quote p { font-style: italic; color: var(--tx); font-size: 15.5px; line-height: 1.7 }
.quote .who { margin-top: 12px; font-size: 13px; color: var(--t3); font-weight: 500 }
.quote .stars { color: #F59E0B; font-size: 13px; letter-spacing: 2px; margin-bottom: 10px }

/* ---------- FAQ ---------- */
.fl { max-width: 760px; margin: 40px auto 0 }
.fi { border-bottom: 1px solid var(--bd) }
.fq {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0; background: none; border: none; cursor: pointer; font-size: 16px;
  font-weight: 600; color: var(--tx); font-family: inherit; gap: 16px; text-align: left
}
.fq .fic { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--bd); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 18px; color: var(--t3); transition: all .3s }
.fi.op .fq .fic { background: var(--bll); border-color: var(--blm); color: var(--bl); transform: rotate(45deg) }
.fa { max-height: 0; overflow: hidden; transition: max-height .35s ease }
.fai { padding: 0 0 20px; font-size: 15px; color: var(--t2); line-height: 1.78 }

/* ---------- CTA band ---------- */
.cta-band { background: var(--dk); position: relative; overflow: hidden; text-align: center }
.cta-band::before { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 700px; height: 700px; background: radial-gradient(circle, rgba(0, 87, 255, .18) 0%, transparent 65%); pointer-events: none }
.cta-band .W { position: relative; z-index: 1 }
.cta-band h2 { color: #fff; max-width: 720px; margin: 0 auto }
.cta-band p { color: rgba(255, 255, 255, .6); max-width: 560px; margin: 18px auto 0 }
.cta-band .btns { margin-top: 30px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap }

/* ---------- Footer ---------- */
footer { background: var(--dk2); border-top: 1px solid rgba(255, 255, 255, .07); padding: 64px 0 36px; position: relative; overflow: hidden }
.ft { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 56px; padding-bottom: 48px; border-bottom: 1px solid rgba(255, 255, 255, .07); margin-bottom: 36px }
.fb { display: flex; flex-direction: column; gap: 16px }
.ftg { font-size: 14px; color: rgba(255, 255, 255, .45); line-height: 1.72; max-width: 280px }
.fc h5 { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: rgba(255, 255, 255, .35); margin-bottom: 16px }
.fc ul { list-style: none; display: flex; flex-direction: column; gap: 9px }
.fc a { font-size: 14px; color: rgba(255, 255, 255, .5); transition: color .2s }
.fc a:hover { color: #fff }
.fbot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px }
.fcp { font-size: 13px; color: rgba(255, 255, 255, .28) }
.flg { display: flex; gap: 20px }
.flg a { font-size: 13px; color: rgba(255, 255, 255, .28); transition: color .2s }
.flg a:hover { color: rgba(255, 255, 255, .6) }

/* ---------- Reveal ---------- */
.rv { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease }
.rv.vs { opacity: 1; transform: none }
.d1 { transition-delay: .1s } .d2 { transition-delay: .2s } .d3 { transition-delay: .3s } .d4 { transition-delay: .4s }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto }
  .rv { animation: none !important; opacity: 1 !important; transform: none !important }
  .btn { transition: none }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .lead-grid, .lead-grid.four { grid-template-columns: repeat(2, 1fr) }
  .split { grid-template-columns: 1fr; gap: 40px }
  .aside { position: static }
  .ft { grid-template-columns: 1fr 1fr }
}
@media (max-width: 768px) {
  .nl, .nr .btn { display: none }
  .hm { display: flex }
  .lead-grid, .lead-grid.two, .lead-grid.four { grid-template-columns: 1fr }
  .ft { grid-template-columns: 1fr 1fr }
  .fbot { flex-direction: column; align-items: flex-start }
}
@media (max-width: 520px) {
  .ft { grid-template-columns: 1fr }
}
