/* PXLSecurity — corporate site. White + blue, professional. */
:root {
  --blue: #1d4ed8;          /* primary */
  --blue-700: #1742b0;
  --blue-50: #eef4ff;
  --navy: #0a1b3d;          /* headings / footer */
  --ink: #0b1220;
  --muted: #5a6b86;
  --line: #e4eaf3;
  --bg: #ffffff;
  --bg-alt: #f6f9ff;
  --radius: 16px;
  --shadow: 0 18px 50px rgba(13, 38, 95, .10);
  --shadow-sm: 0 4px 16px rgba(13, 38, 95, .06);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--ink); background: var(--bg);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .logo { font-family: "Sora", "Inter", sans-serif; letter-spacing: -.02em; color: var(--navy); }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-700); }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.eyebrow { font: 700 13px/1 "Inter"; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 10px;
  font-weight: 600; font-size: 15px; cursor: pointer; border: 1px solid transparent; transition: .15s; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(29,78,216,.28); }
.btn-primary:hover { background: var(--blue-700); color: #fff; }
.btn-ghost { border-color: var(--line); color: var(--navy); background: #fff; }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-white { background: #fff; color: var(--blue); } .btn-white:hover { color: var(--blue-700); }

/* Header */
header.site { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid transparent; transition: .2s; }
header.site.scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
header.site .bar { display: flex; align-items: center; gap: 16px; height: 70px; }
.logo { font-weight: 800; font-size: 22px; letter-spacing: -.03em; }
.logo .pxl { color: var(--blue); } .logo .sec { color: var(--ink); }
nav.menu { margin-left: auto; display: flex; align-items: center; gap: 30px; }
nav.menu a { color: var(--navy); font-weight: 500; font-size: 15px; }
nav.menu a:hover { color: var(--blue); }
.navtoggle { display: none; margin-left: auto; background: none; border: 0; cursor: pointer; }

/* Hero — illustration as a full-bleed background (edge to edge), headline on top */
.hero {
  position: relative; overflow: hidden; padding: 0;   /* flush under the sticky header + trust bar */
  background-image: url('assets/hero.png');
  background-repeat: no-repeat;
  background-position: right center;
  background-size: auto 92%;
}
.hero::before {                 /* left white scrim so text stays crisp over the art */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, #fff 30%, rgba(255,255,255,.6) 54%, rgba(255,255,255,0) 80%);
}
.hero .wrap { position: relative; z-index: 1; min-height: 580px; display: flex; align-items: center; }
.hero .copy { max-width: 620px; padding: 56px 0; }
.hero h1 { font-size: 58px; line-height: 1.04; margin: 16px 0 18px; font-weight: 800; }
.hero h1 .b { color: var(--blue); }
.hero p.lead { font-size: 20px; color: var(--muted); margin: 0 0 28px; max-width: 30em; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .reassure { margin-top: 18px; color: var(--muted); font-size: 14px; }

/* Trust strip */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-alt); }
.trust .row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 28px 0; }
.trust .item { text-align: center; }
.trust .item b { display: block; font-family: "Sora"; font-size: 17px; color: var(--navy); }
.trust .item span { color: var(--muted); font-size: 14px; }

/* Sections */
section { padding: 92px 0; }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
h2.h { font-size: 38px; line-height: 1.12; margin: 10px 0 14px; font-weight: 800; }
.section-head p { color: var(--muted); font-size: 18px; margin: 0; }
.alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  transition: .18s; }
.svc:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: #d4e0f5; }
.svc .ico { width: 50px; height: 50px; border-radius: 12px; background: var(--blue-50);
  display: grid; place-items: center; margin-bottom: 16px; }
.svc .ico svg { width: 26px; height: 26px; stroke: var(--blue); fill: none; stroke-width: 1.8; }
.svc h3 { font-size: 20px; margin: 0 0 8px; }
.svc p { color: var(--muted); font-size: 15px; margin: 0 0 14px; }
.svc .more { font-weight: 600; font-size: 14px; color: var(--blue); }

/* Approach steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; }
.stepc { position: relative; padding-top: 14px; }
.stepc .n { font-family: "Sora"; font-weight: 800; font-size: 15px; color: #fff; background: var(--blue);
  width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; margin-bottom: 14px; }
.stepc h3 { font-size: 18px; margin: 0 0 6px; }
.stepc p { color: var(--muted); font-size: 15px; margin: 0; }

/* Why / feature list */
.why { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.checklist li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; }
.checklist .ck { width: 26px; height: 26px; border-radius: 50%; background: var(--blue-50); color: var(--blue);
  display: grid; place-items: center; font-weight: 800; font-size: 14px; }
.checklist b { color: var(--navy); display: block; }
.checklist span { color: var(--muted); font-size: 15px; }
.why-card { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.why-card h3 { color: #fff; font-size: 22px; margin: 0 0 10px; }
.why-card p { color: #c4d2ee; margin: 0 0 20px; }
.why-card .stat { display: flex; gap: 26px; margin-top: 18px; }
.why-card .stat b { font-family: "Sora"; font-size: 26px; color: #fff; display: block; }
.why-card .stat span { color: #9fb4dd; font-size: 13px; }

/* Product (Airward) */
.product { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: center;
  background: linear-gradient(180deg, var(--bg-alt), #fff); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); }
.product img { width: 100%; max-width: 280px; display: block; margin: 0 auto; border-radius: 16px;
  box-shadow: 0 24px 60px rgba(13,38,95,.28); }
.product img.iconart { max-width: 190px; border-radius: 0; box-shadow: none;
  filter: drop-shadow(0 22px 44px rgba(13,38,95,.30)); }
.product h3 { font-size: 24px; margin: 6px 0 8px; }
.product p { color: var(--muted); margin: 0 0 16px; }
.tagrow { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.tag { background: var(--blue-50); color: var(--blue-700); font-size: 13px; font-weight: 600; padding: 4px 12px; border-radius: 999px; }

/* CTA band */
.ctaband { background: linear-gradient(120deg, var(--blue), #2b6fe6); color: #fff; border-radius: 22px;
  padding: 56px; text-align: center; box-shadow: var(--shadow); }
.ctaband h2 { color: #fff; font-size: 34px; margin: 0 0 10px; }
.ctaband p { color: #dce7ff; margin: 0 0 24px; font-size: 18px; }

/* Footer */
footer.site { background: var(--navy); color: #c4d2ee; padding: 60px 0 30px; }
footer.site .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
footer.site .logo .sec { color: #fff; }
footer.site p { color: #9fb4dd; font-size: 15px; max-width: 30em; }
footer.site h4 { color: #fff; font-size: 14px; letter-spacing: .04em; margin: 0 0 14px; font-family: "Sora"; }
footer.site a { color: #c4d2ee; display: block; padding: 5px 0; font-size: 15px; }
footer.site a:hover { color: #fff; }
footer.site .bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 20px;
  display: flex; gap: 16px; flex-wrap: wrap; font-size: 14px; color: #8fa6d3; }
footer.site .bottom .sp { margin-left: auto; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 920px) {
  .hero { background-size: auto 60%; background-position: right -20px bottom 18px; }
  .hero .wrap { min-height: 520px; }
  .hero h1 { font-size: 44px; }
  .services { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .why { grid-template-columns: 1fr; }
  .product { grid-template-columns: 1fr; }
  footer.site .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  nav.menu { display: none; } nav.menu.open { display: flex; position: absolute; top: 70px; left: 0; right: 0;
    flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 24px 16px; }
  nav.menu.open a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .navtoggle { display: block; }
  .services { grid-template-columns: 1fr; } .steps { grid-template-columns: 1fr; }
  .trust .row { grid-template-columns: 1fr; gap: 14px; }
  .hero { background-position: center bottom; background-size: 128%; }
  .hero::before { background: linear-gradient(180deg, #fff 32%, rgba(255,255,255,.55) 66%, rgba(255,255,255,.15)); }
  .hero .wrap { min-height: auto; }
  .hero .copy { padding: 36px 0 230px; max-width: 100%; }
  .hero h1 { font-size: 34px; } .h, .ctaband h2 { font-size: 28px; }
  .ctaband { padding: 36px 24px; } footer.site .cols { grid-template-columns: 1fr; }
}

/* ============ Enterprise additions: animations, service pages ============ */

/* Reveal staggering + reduced-motion */
.reveal:nth-child(2) { transition-delay: .06s; }
.reveal:nth-child(3) { transition-delay: .12s; }
.reveal:nth-child(4) { transition-delay: .18s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* Decorative aurora blob */
.aurora { position: absolute; width: 620px; height: 620px; border-radius: 50%; filter: blur(90px);
  opacity: .5; pointer-events: none; z-index: 0;
  background: radial-gradient(circle at 30% 30%, rgba(29,78,216,.22), transparent 60%); }

/* Services grid: make whole card a link */
a.svc { display: block; color: inherit; }
a.svc:hover { text-decoration: none; }
.svc .more { display: inline-flex; align-items: center; gap: 6px; }
.svc:hover .more { gap: 10px; }
.svc .more::after { content: "→"; transition: .15s; }

/* Nav dropdown for Services */
.has-dd { position: relative; }
.has-dd > a::after { content: " ▾"; font-size: 11px; color: var(--muted); }
.dd { position: absolute; top: 130%; left: 50%; transform: translateX(-50%) translateY(6px);
  background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow);
  padding: 8px; min-width: 250px; opacity: 0; visibility: hidden; transition: .16s; }
.has-dd:hover .dd { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dd a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--navy); font-size: 14px; }
.dd a:hover { background: var(--blue-50); color: var(--blue); text-decoration: none; }
.dd a b { display: block; } .dd a span { color: var(--muted); font-size: 12px; }

/* ---- Service landing page ---- */
.page-hero { position: relative; overflow: hidden; padding: 56px 0 64px;
  background: linear-gradient(180deg, var(--bg-alt), #fff); border-bottom: 1px solid var(--line); }
.page-hero .wrap { position: relative; z-index: 1; max-width: 820px; }
.breadcrumb { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a { color: var(--muted); } .breadcrumb a:hover { color: var(--blue); }
.page-hero h1 { font-size: 50px; line-height: 1.06; margin: 12px 0 16px; font-weight: 800; }
.page-hero p.lead { font-size: 20px; color: var(--muted); margin: 0 0 26px; }
.page-hero .cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* Two-column content + checklist cover */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: start; }
.split p { color: var(--muted); }
.covers { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cover-item { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start;
  border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; background: #fff; font-size: 14px; }
.cover-item .ck { color: var(--blue); font-weight: 800; }

/* Deliverables */
.deliver { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.deliver .d { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.deliver .di { width: 40px; height: 40px; border-radius: 10px; background: var(--blue-50); color: var(--blue);
  display: grid; place-items: center; font-weight: 800; }
.deliver h3 { margin: 0 0 4px; font-size: 16px; } .deliver p { margin: 0; color: var(--muted); font-size: 14px; }

@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; } .covers { grid-template-columns: 1fr; }
  .deliver { grid-template-columns: 1fr; } .page-hero h1 { font-size: 38px; }
}

@media (max-width: 620px) {
  nav.menu.open .has-dd { display: block; width: 100%; }
  nav.menu.open .has-dd > a::after { content: ""; }
  nav.menu.open .dd { position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; padding: 0 0 6px 12px; min-width: 0; }
  nav.menu.open .dd a span { display: none; }
}
