/* ==========================================================================
   NexPro Software Solutions - dark theme
   Font: Poppins
   ========================================================================== */

:root {
  --bg: #0A0D18;
  --bg-alt: #0E1222;
  --surface: #181B27;
  --surface-hi: #1B1F2E;
  --line: #262B40;

  --blue: #3A3AE0;
  --blue-soft: #8F9BFF;
  --blue-border: #1F2B7D;
  --red: #D42A40;
  --red-bright: #FF2D3A;

  --text: #FFFFFF;
  --muted: #B9BFD8;
  --dim: #8A91B0;

  --grad: linear-gradient(90deg, #3A3AE0, #D42A40);
  --font: 'Poppins', system-ui, sans-serif;

  --max: 1200px;
  --gutter: clamp(16px, 4vw, 48px);
}

/* ---------- Base ---------- */

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.7 var(--font);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 700; line-height: 1.15; color: var(--text); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container { max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

:focus-visible { outline: 3px solid var(--blue-soft); outline-offset: 3px; }

.hl { color: var(--red-bright); }

/* ---------- Buttons ---------- */

.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 34px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  color: var(--text);
  font: 600 16px/1 var(--font);
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background-color .2s ease;
}
.btn:active { transform: translateY(0); }

.btn--sm { min-height: 42px; padding: 0 24px; font-size: 15px; }
.btn--block { width: 100%; }

.btn--grad { background: var(--grad); }
.btn--grad:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(110, 50, 190, .5); }

/* light sweep across the gradient button */
.btn--grad::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .3) 50%, transparent 70%);
  transform: translateX(-120%);
  pointer-events: none;
}
.btn--grad:hover::after { transform: translateX(120%); transition: transform .7s ease; }

.btn--outline { border-color: #3C4470; background: transparent; }
.btn--outline:hover { border-color: var(--text); transform: translateY(-2px); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row--center { justify-content: center; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(27, 30, 43, .94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s ease;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 10px;
}

.brand { display: flex; align-items: center; min-height: 48px; text-decoration: none; }
.brand img { height: 52px; width: auto; transition: height .3s ease; }
.brand--badge { background: #FFFFFF; border-radius: 12px; padding: 4px 10px; }

.site-nav { display: flex; align-items: center; gap: 36px; font-size: 15px; font-weight: 500; }

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #E8EBF7;
  text-decoration: none;
  transition: color .2s ease;
}
.site-nav a:hover { color: var(--text); }

/* gradient underline: slides in on hover, stays on the current page */
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 6px;
  height: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.site-nav a:hover::after,
.site-nav a.is-active::after { transform: scaleX(1); }
.site-nav a.is-active { color: var(--text); font-weight: 600; }

.site-header.is-scrolled { box-shadow: 0 10px 30px rgba(0, 0, 0, .45); }
.site-header.is-scrolled .brand img { height: 44px; }

.nav-toggle {
  display: none;
  width: 48px; height: 48px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  position: relative;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  content: "";
  transition: transform .2s ease, background-color .2s ease;
}
.nav-toggle__bars::before { position: absolute; top: -7px; }
.nav-toggle__bars::after { position: absolute; top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { top: 0; transform: rotate(-45deg); }

/* ---------- Headings and sections ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue-soft);
}
.eyebrow::before {
  content: "";
  flex: none;
  width: 8px; height: 8px;
  background: var(--red-bright);
}

.section { padding-block: 96px; }
.section--alt { background: var(--bg-alt); border-block: 1px solid var(--line); }

.section__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}
.section h2,
.cta h2 {
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: -.02em;
  text-wrap: balance;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: clamp(560px, 86vh, 820px);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* darkens the photo so the text stays readable */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(90deg, rgba(10, 13, 24, .96) 0%, rgba(10, 13, 24, .8) 55%, rgba(10, 13, 24, .62) 100%);
}

.hero__glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 82% 28%, rgba(58, 58, 224, .24), transparent 52%),
    radial-gradient(circle at 8% 96%, rgba(212, 42, 64, .16), transparent 48%);
  pointer-events: none;
}

/* slowly drifting dot grid */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(143, 155, 255, .2) 1.2px, transparent 1.5px);
  background-size: 30px 30px;
  -webkit-mask-image: linear-gradient(to bottom, #000 15%, transparent 85%);
  mask-image: linear-gradient(to bottom, #000 15%, transparent 85%);
  animation: gridDrift 24s linear infinite;
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center;
  gap: 56px;
  padding-block: 72px 88px;
}

.hero__text { display: flex; flex-direction: column; gap: 26px; }

.hero h1 {
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.12;
  letter-spacing: -.02em;
  text-wrap: balance;
}

.hero__lead { max-width: 540px; font-size: 18px; color: var(--muted); }

.pill-list { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 4px; }
.pill-list li {
  padding: 6px 16px;
  border: 1px solid #2E3560;
  border-radius: 999px;
  background: rgba(24, 27, 39, .6);
  color: #D3D8F0;
  font-size: 14px;
}

.hero__visual { position: relative; padding-bottom: 56px; transition: transform .35s ease-out; will-change: transform; }

.hero__main {
  width: 100%;
  border: 1px solid #2E3560;
  border-radius: 14px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
}

.hero__phone {
  position: absolute;
  right: 3%;
  bottom: 0;
  width: 25%;
  min-width: 104px;
  border-radius: 14px;
  box-shadow: 0 0 0 3px var(--bg), 0 24px 60px rgba(0, 0, 0, .65);
}

/* ---------- Page heading (About, Contact) ---------- */

.page-hero { position: relative; isolation: isolate; overflow: hidden; }
.page-hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding-block: 88px 56px;
  text-align: center;
}
.page-hero h1 { font-size: clamp(36px, 5vw, 56px); letter-spacing: -.02em; }
.page-hero p { max-width: 640px; color: var(--muted); font-size: 18px; }

/* ---------- Cards ---------- */

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }

.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 44px 32px;
  background: var(--surface);
  border: 1px solid var(--blue-border);
  border-radius: 24px;
  text-align: center;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.card--left { align-items: flex-start; text-align: left; }

.card h3 { font-size: 22px; }
.card p { color: var(--muted); font-size: 15.5px; }

.card:hover {
  transform: translateY(-8px);
  border-color: var(--red-bright);
  box-shadow: 0 24px 50px rgba(0, 0, 0, .55), 0 0 30px rgba(255, 45, 58, .12);
}

.card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  margin-bottom: 6px;
  border-radius: 16px;
  background: var(--grad);
  color: var(--text);
  transition: transform .35s cubic-bezier(.34, 1.56, .64, 1);
}
.card:hover .card__icon { transform: rotate(-6deg) scale(1.1); }

/* ---------- Systems (products) ---------- */

.product {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  align-items: center;
  gap: 40px 64px;
}
.product + .product { margin-top: 88px; }
.product--reverse .product__media { order: 2; }

.product__media {
  padding: clamp(16px, 3vw, 36px);
  background: var(--surface);
  border: 1px solid var(--blue-border);
  border-radius: 22px;
}
.product__media img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, .55);
  transition: transform .5s cubic-bezier(.2, .7, .2, 1), box-shadow .5s ease;
}
.product__media:hover img { transform: scale(1.025) translateY(-4px); box-shadow: 0 28px 60px rgba(0, 0, 0, .7); }
.product__media--phone { padding-block: clamp(24px, 4vw, 48px); }
.product__media--phone img { max-width: 300px; margin-inline: auto; border-radius: 16px; }

.product__body { display: flex; flex-direction: column; gap: 18px; }
.product__eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-soft); }
.product h3 { font-size: clamp(26px, 3vw, 34px); letter-spacing: -.02em; }
.product__text { color: var(--muted); }

.checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; font-size: 15px; color: #E3E6F5; }
.checks li { display: flex; align-items: flex-start; gap: 10px; }
.checks li::before {
  content: "";
  flex: none;
  width: 20px; height: 20px;
  margin-top: 4px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='10' fill='%23252C73'/%3E%3Cpath d='M6 10.5l2.7 2.7L14 7.8' fill='none' stroke='%238F9BFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .3s cubic-bezier(.34, 1.56, .64, 1);
}
.checks li:hover::before { transform: scale(1.25); }

/* ---------- Process ---------- */

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 40px; }

.step { position: relative; display: flex; flex-direction: column; gap: 12px; }
.step__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--grad);
  font-size: 18px;
  font-weight: 700;
}
.step h3 { font-size: 20px; }
.step p { color: var(--muted); font-size: 15.5px; }

.step:not(.step--last)::after {
  content: "";
  position: absolute;
  top: 21px;
  left: 56px;
  right: -28px;
  height: 2px;
  background: #2E3560;
  transform-origin: left;
}

/* ---------- Call to action ---------- */

.cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: clamp(40px, 6vw, 72px) clamp(20px, 4vw, 48px);
  background: var(--surface);
  border: 1px solid var(--blue-border);
  border-radius: 28px;
  text-align: center;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 15% 0%, rgba(58, 58, 224, .3), transparent 55%),
    radial-gradient(circle at 92% 100%, rgba(212, 42, 64, .24), transparent 55%);
  pointer-events: none;
}
.cta p { max-width: 560px; color: var(--muted); font-size: 17px; }
.cta .btn-row { padding-top: 10px; }

/* ---------- About page ---------- */

.about {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: center;
  gap: 56px;
}
.about__copy { display: flex; flex-direction: column; gap: 18px; color: var(--muted); font-size: 17px; }
.about__copy .btn-row { padding-top: 8px; }

.about__panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 48px 32px;
  background: var(--surface);
  border: 1px solid var(--blue-border);
  border-radius: 24px;
  text-align: center;
}
.logo-tile { background: #FFFFFF; border-radius: 20px; padding: 18px 26px; }
.logo-tile img { height: 150px; width: auto; }
.about__tagline { font-size: 20px; font-weight: 600; }
.about__place { color: var(--dim); font-size: 15px; }

.link-list { display: grid; gap: 14px; max-width: 760px; margin: 0 auto; }
.link-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 26px;
  background: var(--surface);
  border: 1px solid var(--blue-border);
  border-radius: 18px;
  text-decoration: none;
  transition: transform .25s ease, border-color .25s ease, background-color .25s ease;
}
.link-list a span { display: flex; flex-direction: column; }
.link-list strong { font-size: 18px; font-weight: 600; }
.link-list small { color: var(--dim); font-size: 14px; }
.link-list svg { flex: none; color: var(--blue-soft); transition: transform .25s ease; }
.link-list a:hover { transform: translateX(6px); border-color: var(--red-bright); background: var(--surface-hi); }
.link-list a:hover svg { transform: translateX(4px); color: var(--text); }

/* ---------- Contact page ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: 40px;
}

.info-list { display: grid; gap: 16px; }

.info-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--blue-border);
  border-radius: 20px;
  transition: border-color .25s ease, transform .25s ease;
}
.info-card:hover { border-color: var(--red-bright); transform: translateY(-3px); }

.info-card__icon {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--grad);
}
.info-card__icon--wa { background: #25D366; color: #06210F; }
.info-card__hint { margin-top: 2px; font-size: 13px; color: var(--dim); }

.map-card {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--blue-border);
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
}
.map-card iframe { display: block; width: 100%; height: clamp(320px, 50vw, 460px); border: 0; }
.map-actions { margin-top: 28px; }

.info-card__label { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.info-card__value { display: block; font-size: 18px; font-weight: 500; text-decoration: none; overflow-wrap: anywhere; }
a.info-card__value:hover { color: var(--blue-soft); }

.form-card {
  padding: clamp(24px, 4vw, 40px);
  background: var(--surface);
  border: 1px solid var(--blue-border);
  border-radius: 24px;
}
.form-card h2 { margin-bottom: 22px; font-size: 26px; letter-spacing: -.01em; }

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.field label { font-size: 14px; font-weight: 500; color: #D3D8F0; }

.field input,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid #2E3560;
  border-radius: 12px;
  background: var(--bg-alt);
  color: var(--text);
  font: 400 16px/1.4 var(--font);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus,
.field textarea:focus { outline: none; border-color: var(--blue-soft); box-shadow: 0 0 0 3px rgba(143, 155, 255, .25); }

.form-note { margin: -6px 0 18px; font-size: 14px; color: var(--dim); }

.alert { margin-bottom: 20px; padding: 14px 16px; border-radius: 12px; font-size: 15px; line-height: 1.5; }
.alert--success { background: #0F2B22; color: #8FE3BC; border: 1px solid #1E5A43; }
.alert--error { background: #34131A; color: #FFB3BC; border: 1px solid #7A2230; }

/* Honeypot: hidden from people, visible to bots */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer ---------- */

.site-footer { background: #070911; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.site-footer__inner { display: flex; flex-direction: column; align-items: center; gap: 4px; padding-block: 28px; text-align: center; }
.site-footer__meta { color: var(--dim); font-size: 13px; }

/* ---------- Progress bar and back-to-top ---------- */

.progress {
  position: fixed;
  top: 0; left: 0;
  z-index: 60;
  width: 100%;
  height: 3px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  pointer-events: none;
}

.to-top {
  position: fixed;
  right: max(20px, env(safe-area-inset-right, 0px));
  bottom: max(20px, env(safe-area-inset-bottom, 0px));
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--grad);
  color: var(--text);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity .3s ease, transform .3s ease, visibility .3s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top.is-visible:hover { transform: translateY(-3px); }

/* ==========================================================================
   Animations
   All motion is switched off for visitors who prefer reduced motion
   (see the last block in this file).
   ========================================================================== */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: none; }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(70px) scale(.96); }
  to   { opacity: 1; transform: none; }
}
@keyframes popUp {
  from { opacity: 0; transform: translateY(40px) scale(.85); }
  to   { opacity: 1; transform: none; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}
@keyframes gridDrift {
  from { background-position: 0 0; }
  to   { background-position: 30px 30px; }
}
@keyframes menuIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: none; }
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: none; }
}

/* Stop sideways-moving elements from creating a horizontal scrollbar */
main { overflow-x: hidden; overflow-x: clip; }

/* ---------- Hero entrance ---------- */

.hero__text > * { animation: fadeUp .8s cubic-bezier(.2, .7, .2, 1) both; }
.hero__text > :nth-child(1) { animation-delay: .05s; }
.hero__text > :nth-child(2) { animation-delay: .20s; }
.hero__text > :nth-child(3) { animation-delay: .35s; }
.hero__text > :nth-child(4) { animation-delay: .50s; }

.pill-list li { animation: fadeUp .6s cubic-bezier(.2, .7, .2, 1) both; }
.pill-list li:nth-child(1) { animation-delay: .70s; }
.pill-list li:nth-child(2) { animation-delay: .80s; }
.pill-list li:nth-child(3) { animation-delay: .90s; }

.hero__main { animation: slideInRight 1s .2s cubic-bezier(.2, .7, .2, 1) both; }
.hero__phone {
  animation:
    popUp .9s .8s cubic-bezier(.2, .8, .2, 1) both,
    float 6s ease-in-out 1.9s infinite;
}

.page-hero__inner > * { animation: fadeUp .8s cubic-bezier(.2, .7, .2, 1) both; }
.page-hero__inner > :nth-child(2) { animation-delay: .15s; }

/* ---------- Scroll reveal (only when JavaScript is running) ---------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity .8s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms),
    transform .8s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms);
}
.js [data-reveal="left"]  { transform: translateX(-48px); }
.js [data-reveal="right"] { transform: translateX(48px); }
.js [data-reveal="zoom"]  { transform: scale(.94); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* section label marker spins in */
.js .section__head .eyebrow::before {
  transform: scale(0) rotate(-90deg);
  transition: transform .6s cubic-bezier(.34, 1.56, .64, 1) .2s;
}
.js .section__head.in .eyebrow::before { transform: none; }

/* ---------- Process steps ---------- */

.js .step:not(.step--last)::after {
  transform: scaleX(0);
  transition: transform .9s cubic-bezier(.2, .7, .2, 1) .45s;
}
.js .step.in:not(.step--last)::after { transform: scaleX(1); }

.js .step__num {
  transform: scale(.4);
  transition: transform .6s cubic-bezier(.34, 1.56, .64, 1) var(--d, 0ms);
}
.js .step.in .step__num { transform: none; }

/* ---------- Form feedback ---------- */

.alert { animation: slideDown .5s cubic-bezier(.2, .7, .2, 1) both; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1000px) {
  .hero__inner,
  .product,
  .about,
  .contact-grid { grid-template-columns: minmax(0, 1fr); }

  .product--reverse .product__media { order: 0; }

  .hero { min-height: 0; }
  .hero__inner { padding-block: 56px 72px; gap: 48px; }
  .cards { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step:not(.step--last)::after { display: none; }
}

@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }

  .site-header__inner { flex-wrap: wrap; }

  .site-nav {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-bottom: 12px;
  }
  .site-nav.is-open { display: flex; animation: menuIn .25s ease both; }
  .site-nav a { border-top: 1px solid var(--line); }
  .site-nav a::after { display: none; }
  .site-nav a.is-active { color: var(--blue-soft); }
}

@media (max-width: 600px) {
  body { font-size: 15.5px; }

  .section { padding-block: 64px; }
  .product + .product { margin-top: 64px; }
  .page-hero__inner { padding-block: 64px 40px; }

  .checks,
  .steps,
  .field-row { grid-template-columns: minmax(0, 1fr); }

  .btn-row .btn { width: 100%; }
  .logo-tile img { height: 120px; }
}

/* ---------- Reduced motion: no animation at all ---------- */

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

  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }

  .js [data-reveal] { opacity: 1; transform: none; }
  .js .section__head .eyebrow::before { transform: none; }
  .js .step__num { transform: none; }
  .js .step:not(.step--last)::after { transform: scaleX(1); }
}

/* ==========================================================================
   Professional upgrade: skip link, header button, trust strip, services,
   product tags, footer, 404
   ========================================================================== */

.skip-link {
  position: absolute;
  left: 16px;
  top: -64px;
  z-index: 100;
  padding: 10px 18px;
  border-radius: 10px;
  background: #FFFFFF;
  color: #0A0D18;
  font-weight: 600;
  text-decoration: none;
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; }

/* menu button */
.site-nav .nav-cta { margin-left: 4px; color: var(--text); }
.site-nav .nav-cta::after { display: none; }
.site-nav .nav-cta:hover { color: var(--text); }

/* page headings that start with a small label */
.page-hero p.eyebrow { font-size: 13px; color: var(--blue-soft); }

/* ---------- Trust strip ---------- */

.trust { background: var(--bg-alt); border-block: 1px solid var(--line); }
.trust__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 32px;
  padding-block: 40px;
}
.trust__item { display: flex; align-items: flex-start; gap: 14px; }
.trust__icon {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: 14px;
  background: rgba(58, 58, 224, .16);
  border: 1px solid var(--blue-border);
  color: var(--blue-soft);
}
.trust__item h2 { font-size: 16px; font-weight: 600; line-height: 1.3; letter-spacing: 0; }
.trust__item p { margin-top: 4px; color: var(--dim); font-size: 14px; line-height: 1.55; }

.section__more { margin-top: 56px; }

/* ---------- Tags, "best for" and page jump links ---------- */

.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(58, 58, 224, .2);
  border: 1px solid var(--blue-border);
  color: #C9D0FF;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.product__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }

.product h2 {
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.15;
  letter-spacing: -.025em;
}

.best-for {
  padding: 14px 18px;
  border-left: 3px solid var(--red-bright);
  border-radius: 0 12px 12px 0;
  background: rgba(255, 255, 255, .03);
  color: var(--muted);
  font-size: 15px;
}
.best-for strong { color: var(--text); font-weight: 600; }

.jump-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 6px; }
.jump-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--blue-border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: border-color .2s ease, color .2s ease, transform .2s ease;
}
.jump-list a:hover { border-color: var(--red-bright); color: var(--text); transform: translateY(-2px); }

/* ---------- Services page ---------- */

.svc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }

.svc {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 36px;
  background: var(--surface);
  border: 1px solid var(--blue-border);
  border-radius: 24px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.svc:hover {
  transform: translateY(-6px);
  border-color: var(--red-bright);
  box-shadow: 0 24px 50px rgba(0, 0, 0, .55), 0 0 30px rgba(255, 45, 58, .12);
}
.svc__top { display: flex; align-items: center; gap: 16px; }
.svc__top .card__icon { flex: none; margin-bottom: 0; }
.section .svc h2,
.section .svc h3 { font-size: 22px; line-height: 1.25; letter-spacing: -.01em; }
.svc__text { color: var(--muted); font-size: 15.5px; }
.checks--single { grid-template-columns: minmax(0, 1fr); }

.svc__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  min-height: 44px;
  margin-top: auto;
  color: var(--blue-soft);
  font-weight: 600;
  text-decoration: none;
  transition: color .2s ease;
}
.svc__link svg { transition: transform .25s ease; }
.svc__link:hover { color: var(--text); }
.svc__link:hover svg { transform: translateX(5px); }

/* ---------- 404 ---------- */

.page-hero .notfound__code {
  font-size: clamp(80px, 16vw, 160px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.04em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Footer ---------- */

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.3fr 1.3fr;
  gap: 40px;
  padding-block: 64px 48px;
}
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; max-width: 340px; }
.footer-brand__tagline { color: var(--text); font-weight: 600; }

.footer-col h2 {
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text);
}
.footer-col ul { display: grid; gap: 2px; }
.footer-col a,
.footer-col span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.45;
  text-decoration: none;
}
.footer-col a { transition: color .2s ease; }
.footer-col a:hover { color: var(--text); }

.footer-bar { border-top: 1px solid var(--line); }
.footer-bar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 24px;
  padding-block: 12px;
  color: var(--dim);
  font-size: 13px;
}
.footer-bar a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.footer-bar a:hover { color: var(--text); }

/* ---------- Responsive additions ---------- */

@media (max-width: 1100px) {
  .site-nav { gap: 24px; }
  .trust__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { max-width: none; }
}

@media (max-width: 900px) {
  .svc-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 820px) {
  .site-nav .nav-cta { margin: 12px 0 0; border-top: 0; justify-content: center; width: 100%; }
}

@media (max-width: 600px) {
  .trust__grid,
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .trust__grid { padding-block: 32px; }
  .footer-grid { padding-block: 48px 32px; gap: 32px; }
  .footer-col a,
  .footer-col span { min-height: 44px; }
  .svc { padding: 28px 22px; }
  .section__more { margin-top: 40px; }
}

/* ---------- Home hero without a picture ---------- */

.hero--center { min-height: clamp(520px, 78vh, 720px); }
.hero--center::before { background: linear-gradient(180deg, rgba(10, 13, 24, .78), rgba(10, 13, 24, .9)); }
.hero__glow { background:
    radial-gradient(circle at 50% 0%, rgba(58, 58, 224, .28), transparent 55%),
    radial-gradient(circle at 12% 100%, rgba(212, 42, 64, .18), transparent 48%),
    radial-gradient(circle at 90% 90%, rgba(58, 58, 224, .14), transparent 45%); }
.hero__inner--solo { grid-template-columns: minmax(0, 1fr); justify-items: center; padding-block: 88px 96px; text-align: center; }
.hero__inner--solo .hero__text { align-items: center; max-width: 860px; }
.hero__inner--solo .hero__lead { max-width: 640px; }
.hero__inner--solo .btn-row,
.hero__inner--solo .pill-list { justify-content: center; }
.svc .product__tags { margin-bottom: -2px; }
.svc .checks { margin-top: 2px; }

@media (max-width: 600px) {
  .hero__inner--solo { padding-block: 64px 72px; }
}

.info-card__icon--fb { background: #1877F2; color: #FFFFFF; }
.info-card__value { overflow-wrap: anywhere; }
