/* NPG TechnoLabs — npgtechnolabs.com */
@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@500;600;700;800&family=Newsreader:opsz,wght@6..72,500;6..72,600&display=swap");

:root {
  --brand: #3949ab;
  --brand-deep: #1a237e;
  --brand-mid: #283593;
  --teal: #00897b;
  --teal-deep: #00695c;
  --ink: #0f172a;
  --muted: #475569;
  --line: rgba(26, 35, 126, 0.12);
  --canvas: #f4f6fb;
  --paper: #ffffff;
  --warm: #fb8c00;
  --radius: 18px;
  --max: 1080px;
  --nav-h: 4.25rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family: Manrope, system-ui, sans-serif;
  font-weight: 500;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--brand);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--teal-deep);
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 clamp(1rem, 3vw, 2rem);
  background: rgba(244, 246, 251, 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.site-nav.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, 0.92);
}

.nav-brand {
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--brand-deep);
  text-decoration: none;
  font-size: 1rem;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  align-items: center;
  justify-content: flex-end;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--brand-deep);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: var(--brand);
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 0.88rem;
}

.nav-cta:hover {
  background: var(--brand-mid);
  color: #fff !important;
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  min-height: calc(100dvh - var(--nav-h));
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(120deg, rgba(26, 35, 126, 0.92) 0%, rgba(57, 73, 171, 0.78) 48%, rgba(0, 137, 123, 0.72) 100%),
    radial-gradient(900px 520px at 80% 20%, rgba(255, 255, 255, 0.18), transparent 60%),
    repeating-linear-gradient(
      -18deg,
      transparent,
      transparent 22px,
      rgba(255, 255, 255, 0.03) 22px,
      rgba(255, 255, 255, 0.03) 23px
    ),
    #1a237e;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 42%;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.35), transparent);
}

.hero-skyline {
  position: absolute;
  inset: auto 0 0 0;
  z-index: -1;
  height: min(46vh, 420px);
  opacity: 0.35;
  pointer-events: none;
}

.hero-inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: clamp(2.5rem, 8vh, 5rem) clamp(1.25rem, 4vw, 2rem) clamp(2.5rem, 7vh, 4.5rem);
}

.hero-brand {
  margin: 0 0 1rem;
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0;
  animation: rise 0.8s ease forwards 0.1s;
}

.hero h1 {
  margin: 0;
  max-width: 14ch;
  font-family: Newsreader, Georgia, serif;
  font-weight: 600;
  font-size: clamp(2.4rem, 7vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  opacity: 0;
  animation: rise 0.85s ease forwards 0.22s;
}

.hero-lead {
  margin: 1.1rem 0 0;
  max-width: 34ch;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.92);
  opacity: 0;
  animation: rise 0.85s ease forwards 0.34s;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
  opacity: 0;
  animation: rise 0.85s ease forwards 0.46s;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 3rem;
  padding: 0.7rem 1.2rem;
  border-radius: 14px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 700;
  text-decoration: none !important;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: #fff;
  color: var(--brand-deep) !important;
}

.btn-primary:hover {
  background: #f0f3ff;
  color: var(--brand-deep) !important;
}

.btn-ghost {
  background: transparent;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff !important;
}

.btn-solid {
  background: var(--brand);
  color: #fff !important;
}

.btn-solid:hover {
  background: var(--brand-mid);
  color: #fff !important;
}

.btn-outline {
  background: transparent;
  color: var(--brand-deep) !important;
  border-color: rgba(57, 73, 171, 0.35);
}

.section {
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 5.5rem) clamp(1.25rem, 4vw, 2rem);
}

.section-kicker {
  margin: 0 0 0.55rem;
  color: var(--teal);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.section h2 {
  margin: 0;
  max-width: 18ch;
  font-family: Newsreader, Georgia, serif;
  font-weight: 600;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.15;
  color: var(--brand-deep);
  letter-spacing: -0.02em;
}

.section-lead {
  margin: 0.85rem 0 0;
  max-width: 48ch;
  color: var(--muted);
  font-size: 1.05rem;
}

.band {
  background:
    linear-gradient(180deg, rgba(57, 73, 171, 0.06), transparent 40%),
    var(--paper);
  border-block: 1px solid var(--line);
}

.feature-list {
  display: grid;
  gap: 1.5rem;
  margin: 2.25rem 0 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 760px) {
  .feature-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.feature-list li {
  padding-top: 1rem;
  border-top: 2px solid rgba(0, 137, 123, 0.35);
}

.feature-list h3 {
  margin: 0 0 0.45rem;
  font-size: 1.12rem;
  color: var(--brand-deep);
}

.feature-list p {
  margin: 0;
  color: var(--muted);
}

.steps {
  display: grid;
  gap: 1.25rem;
  margin: 2rem 0 0;
  counter-reset: step;
}

@media (min-width: 800px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step {
  position: relative;
  padding: 1.25rem 0 0;
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  margin-bottom: 0.65rem;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--teal);
}

.step h3 {
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
  color: var(--brand-deep);
}

.step p {
  margin: 0;
  color: var(--muted);
}

.product-panel {
  margin-top: 2rem;
  padding: clamp(1.4rem, 3vw, 2rem);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(57, 73, 171, 0.08), rgba(0, 137, 123, 0.08)),
    var(--paper);
  border: 1px solid var(--line);
}

.product-panel h3 {
  margin: 0 0 0.5rem;
  font-family: Newsreader, Georgia, serif;
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  color: var(--brand-deep);
}

.product-panel p {
  margin: 0;
  color: var(--muted);
  max-width: 56ch;
}

.product-panel .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.split {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 860px) {
  .split {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 3rem;
  }
}

.stat-row {
  display: grid;
  gap: 1rem;
  margin-top: 1.75rem;
}

@media (min-width: 700px) {
  .stat-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

.stat {
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

.stat strong {
  display: block;
  font-size: 1.35rem;
  color: var(--brand-deep);
  font-weight: 800;
}

.stat span {
  color: var(--muted);
  font-size: 0.95rem;
}

.cta-band {
  background:
    linear-gradient(120deg, var(--brand-deep), var(--brand) 55%, var(--teal));
  color: #fff;
}

.cta-band h2 {
  color: #fff;
  max-width: 16ch;
}

.cta-band .section-lead {
  color: rgba(255, 255, 255, 0.9);
}

.cta-band .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.page-hero {
  padding: clamp(2.5rem, 7vw, 4rem) clamp(1.25rem, 4vw, 2rem) 1.5rem;
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.page-hero .brand {
  margin: 0 0 0.6rem;
  color: var(--teal);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.page-hero h1 {
  margin: 0;
  font-family: Newsreader, Georgia, serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--brand-deep);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.page-hero .meta,
.page-hero .lead {
  margin: 0.75rem 0 0;
  color: var(--muted);
  max-width: 48ch;
}

.prose {
  width: min(720px, 100%);
  margin: 0 auto 3.5rem;
  padding: 1.5rem clamp(1.25rem, 4vw, 2rem);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.prose h2 {
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
  color: var(--brand-deep);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p,
.prose li {
  color: var(--muted);
}

.prose ul {
  padding-left: 1.2rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 2rem clamp(1.25rem, 4vw, 2rem) 2.5rem;
}

.footer-inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 720px) {
  .footer-inner {
    grid-template-columns: 1.4fr 1fr;
    align-items: start;
  }
}

.footer-brand {
  margin: 0;
  font-weight: 800;
  color: var(--brand-deep);
}

.footer-copy {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--brand);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-brand,
  .hero h1,
  .hero-lead,
  .hero-actions {
    opacity: 1;
    animation: none;
  }

  .btn:hover {
    transform: none;
  }
}
