/* =========================================================
   Nexus Executor — one product, one page.
   ========================================================= */

:root {
  --bg: #07070d;
  --surface: #0e0e18;
  --surface-2: #12121e;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.15);
  --text: #ececf5;
  --muted: #9696ad;
  --dim: #6b6b82;
  --accent: #7c6bff;
  --accent-2: #3ac7ff;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --wrap: 1180px;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -0.03em; font-weight: 640; }
p { margin: 0; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
::selection { background: rgba(124, 107, 255, 0.35); }

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

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}
.btn svg { width: 16px; height: 16px; }
.btn--sm { padding: 9px 16px; font-size: 13px; }
.btn--primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-color: transparent;
  color: #08080f;
  box-shadow: 0 12px 30px -14px rgba(124, 107, 255, 0.9);
}
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 18px 38px -14px rgba(124, 107, 255, 1); }

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), backdrop-filter 0.3s;
}
.nav.is-stuck {
  background: rgba(7, 7, 13, 0.76);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom-color: var(--line);
}
.nav__inner { display: flex; align-items: center; gap: 28px; height: 72px; }

.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo__mark {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(124, 107, 255, 0.24), rgba(58, 199, 255, 0.16));
  border: 1px solid rgba(124, 107, 255, 0.38);
  color: #cfc8ff;
}
.logo__mark svg { width: 18px; height: 18px; }
.logo__text { font-size: 16px; font-weight: 650; letter-spacing: -0.02em; }
.logo__text em { font-style: normal; color: var(--dim); font-weight: 500; }

.nav__links { display: flex; gap: 4px; margin-left: 12px; }
.nav__links a { padding: 8px 14px; border-radius: 999px; font-size: 14px; color: var(--muted); transition: color 0.2s, background 0.2s; }
.nav__links a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.nav__dl { margin-left: auto; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 76px 0 24px; overflow: hidden; }
.hero__glow { position: absolute; border-radius: 50%; filter: blur(100px); pointer-events: none; }
.hero__glow--a { width: 620px; height: 620px; top: -280px; left: -180px; background: radial-gradient(circle, rgba(124, 107, 255, 0.5), transparent 65%); }
.hero__glow--b { width: 560px; height: 560px; top: -100px; right: -200px; background: radial-gradient(circle, rgba(58, 199, 255, 0.34), transparent 65%); }
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(ellipse 75% 60% at 40% 0%, #000 25%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 75% 60% at 40% 0%, #000 25%, transparent 75%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 6px 14px 6px 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
  font-size: 12.5px; color: var(--muted);
}
.badge__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #3ce08b; box-shadow: 0 0 0 3px rgba(60, 224, 139, 0.16);
  animation: pulse 2.6s var(--ease) infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(60, 224, 139, 0.18); }
  50% { box-shadow: 0 0 0 7px rgba(60, 224, 139, 0.02); }
}

.hero__title {
  margin: 20px 0 0;
  font-size: clamp(38px, 4.6vw, 60px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.03;
}
.grad {
  background: linear-gradient(100deg, #a48bff, #7c6bff 40%, #3ac7ff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__sub { margin: 18px auto 0; max-width: 600px; color: var(--muted); font-size: 16.5px; }

/* ---------- big download button ---------- */
.dl-big {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
  padding: 0 26px 0 24px;
  height: 74px;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(135deg, #8f7dff 0%, #6a58ff 45%, #3ac7ff 100%);
  color: #08080f;
  font-weight: 750;
  letter-spacing: 0.02em;
  box-shadow:
    0 18px 44px -16px rgba(124, 107, 255, 0.85),
    0 0 0 1px rgba(255, 255, 255, 0.16) inset;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.dl-big:hover {
  transform: translateY(-3px) scale(1.012);
  box-shadow:
    0 26px 60px -18px rgba(124, 107, 255, 1),
    0 0 0 1px rgba(255, 255, 255, 0.28) inset;
}
.dl-big:active { transform: translateY(-1px) scale(0.997); }

.dl-big__icon { width: 26px; height: 26px; stroke-width: 2.1; flex: none; }
.dl-big__label {
  font-size: 19px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  line-height: 1;
}
.dl-big__free {
  margin-left: 4px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(8, 8, 15, 0.18);
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.dl-big__shine {
  position: absolute;
  top: 0; bottom: 0;
  width: 45%;
  left: -60%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-18deg);
  opacity: 0;
}
.dl-big:hover .dl-big__shine { opacity: 1; animation: shine 0.9s var(--ease); }
@keyframes shine {
  from { left: -60%; }
  to { left: 120%; }
}

.dl-big--wide { margin-top: 0; height: 78px; padding: 0 34px; }

.dl-meta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px;
  margin-top: 16px;
  font-size: 12.5px;
  color: var(--dim);
}
.dl-meta svg { width: 14px; height: 14px; vertical-align: -2px; margin-right: 4px; }
.dl-meta .dot { opacity: 0.5; }

/* defender warning line under the checksum pill */
.dl-warn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  font-size: 12.5px;
  color: #d3a86a;
}
.dl-warn svg { width: 14px; height: 14px; opacity: 0.9; flex: none; }
.dl-warn a {
  color: #ffce8a;
  text-decoration: underline;
  text-decoration-color: rgba(255, 206, 138, 0.4);
  text-underline-offset: 3px;
  transition: color 0.2s, text-decoration-color 0.2s;
}
.dl-warn a:hover { color: #ffe1b0; text-decoration-color: #ffe1b0; }

/* defender notice block */
.notice {
  margin-top: 26px;
  padding: 26px 28px 24px;
  border-radius: 20px;
  border: 1px solid rgba(255, 190, 90, 0.24);
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(255, 190, 90, 0.1), transparent 60%),
    linear-gradient(180deg, #12100c, #0c0c12);
}
.notice__head { display: flex; gap: 16px; align-items: flex-start; }
.notice__icon {
  flex: none;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 12px;
  color: #ffce8a;
  background: rgba(255, 190, 90, 0.12);
  border: 1px solid rgba(255, 190, 90, 0.3);
}
.notice__icon svg { width: 21px; height: 21px; }
.notice h3 { font-size: 17px; margin-bottom: 6px; }
.notice__lead { font-size: 13.8px; color: var(--muted); max-width: 760px; }

.notice__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 190, 90, 0.16);
}
.notice__col h4 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: #c8a97a;
  margin-bottom: 12px;
  font-weight: 650;
}
.notice__steps { margin: 0; padding: 0; list-style: none; counter-reset: nstep; }
.notice__steps li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 9px;
  font-size: 13.4px;
  color: var(--muted);
  line-height: 1.5;
  counter-increment: nstep;
}
.notice__steps li::before {
  content: counter(nstep);
  position: absolute;
  left: 0; top: 1px;
  width: 19px; height: 19px;
  display: grid; place-items: center;
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 10.5px;
  color: #ffce8a;
  background: rgba(255, 190, 90, 0.12);
  border: 1px solid rgba(255, 190, 90, 0.24);
}
.notice__steps b { color: var(--text); font-weight: 600; }
.notice__foot {
  margin-top: 12px;
  font-size: 12px;
  color: var(--dim);
  border-left: 2px solid rgba(255, 190, 90, 0.3);
  padding-left: 10px;
}

/* archive password */
.dl-pass {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 14px auto 0;
  padding: 7px 8px 7px 13px;
  border-radius: 10px;
  border: 1px dashed rgba(255, 190, 90, 0.38);
  background: rgba(255, 190, 90, 0.07);
  font-size: 12.5px;
  color: #e6c48a;
}
.dl-pass__icon { width: 14px; height: 14px; opacity: 0.85; }
.dl-pass__label { color: #c8a97a; }
.dl-pass__code {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  padding: 2px 8px;
  border-radius: 6px;
  color: #ffd9a0;
  background: rgba(255, 190, 90, 0.14);
  border: 1px solid rgba(255, 190, 90, 0.28);
}
.dl-pass__copy {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 7px;
  font-size: 11px;
  color: #c8a97a;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}
.dl-pass__copy svg { width: 11px; height: 11px; }
.dl-pass__copy:hover { color: #ffe1b0; background: rgba(255, 190, 90, 0.16); border-color: rgba(255, 190, 90, 0.35); }
.dl-pass__copy.is-done { color: #8ef0b6; border-color: rgba(60, 224, 139, 0.4); background: rgba(60, 224, 139, 0.12); }

.step code {
  font-family: var(--mono);
  font-size: 0.88em;
  padding: 1px 6px;
  border-radius: 5px;
  color: #ffd9a0;
  background: rgba(255, 190, 90, 0.12);
  border: 1px solid rgba(255, 190, 90, 0.22);
}

.sha {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 16px;
  padding: 7px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  font-size: 11.5px;
  color: var(--dim);
  transition: border-color 0.2s, background 0.2s;
  max-width: 100%;
}
.sha:hover { border-color: var(--line-strong); background: rgba(255, 255, 255, 0.05); }
.sha__label { text-transform: uppercase; letter-spacing: 0.1em; font-size: 10px; color: var(--dim); }
.sha code {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sha__copy { color: #9d90ff; }

/* ---------- screenshot ---------- */
.shot { position: relative; width: 100%; max-width: 1120px; margin: 56px auto 0; }
.shot__glow {
  position: absolute;
  inset: -8% -6% -12% -6%;
  background: radial-gradient(60% 60% at 50% 40%, rgba(124, 107, 255, 0.32), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}
.shot__frame {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: #0a0a11;
  box-shadow:
    0 40px 90px -40px rgba(0, 0, 0, 0.95),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  transform: perspective(1800px) rotateX(2deg);
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
.shot__frame:hover {
  transform: perspective(1800px) rotateX(0deg) translateY(-5px);
  box-shadow: 0 50px 110px -40px rgba(124, 107, 255, 0.45);
}
.shot__frame img { width: 100%; }

.shot__chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(12, 12, 20, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  font-size: 12px;
  color: var(--muted);
  box-shadow: 0 14px 30px -18px rgba(0, 0, 0, 0.9);
}
.shot__chip b { color: var(--text); font-weight: 650; }
.shot__chip--a { left: -26px; bottom: 64px; animation: float 6s ease-in-out infinite; }
.shot__chip--b { right: -26px; top: 56px; animation: float 7.5s ease-in-out infinite reverse; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

/* ---------- about ---------- */
.about, .how { padding: 96px 0 0; }
.about__head { max-width: 640px; }
.eyebrow {
  display: block;
  font-size: 11px; font-weight: 650;
  text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--accent-2);
  margin-bottom: 12px;
}
.about__head h2 { font-size: clamp(26px, 3.2vw, 38px); }
.about__head p { margin-top: 14px; color: var(--muted); font-size: 15.5px; }

.points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 40px; }
.point {
  position: relative;
  padding: 24px 22px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  overflow: hidden;
}
.point::before {
  content: "";
  position: absolute; top: -70px; left: -50px;
  width: 170px; height: 170px; border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 107, 255, 0.26), transparent 70%);
  pointer-events: none;
}
.point__icon {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: #cfc8ff;
  margin-bottom: 16px;
}
.point__icon svg { width: 19px; height: 19px; }
.point h3 { font-size: 16px; margin-bottom: 6px; }
.point p { font-size: 13.8px; color: var(--muted); }

/* ---------- steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 38px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.step {
  display: flex;
  gap: 16px;
  padding: 22px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--surface);
}
.step__num {
  flex: none;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 10px;
  font-family: var(--mono);
  font-size: 13px;
  color: #cfc8ff;
  background: rgba(124, 107, 255, 0.16);
  border: 1px solid rgba(124, 107, 255, 0.32);
}
.step h3 { font-size: 15.5px; margin-bottom: 5px; }
.step p { font-size: 13.5px; color: var(--muted); }

.how__cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  margin-top: 44px;
  padding: 40px;
  border-radius: 26px;
  border: 1px solid rgba(124, 107, 255, 0.26);
  background:
    radial-gradient(110% 150% at 0% 0%, rgba(124, 107, 255, 0.22), transparent 55%),
    radial-gradient(110% 150% at 100% 100%, rgba(58, 199, 255, 0.16), transparent 55%),
    linear-gradient(180deg, #0d0d18, #0a0a12);
}
.how__note { font-size: 12.5px; color: var(--dim); margin-left: 4px; }

/* ---------- footer ---------- */
.footer { margin-top: 96px; border-top: 1px solid var(--line); }
.footer__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding: 32px 24px;
}
.footer__note { flex: 1; min-width: 260px; font-size: 12.5px; color: var(--dim); max-width: 560px; }
.footer__copy { font-size: 12.5px; color: var(--dim); }

/* ---------- sticky cta ---------- */
.sticky-cta {
  position: fixed;
  left: 50%;
  bottom: 20px;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 10px 12px 10px 20px;
  border-radius: 999px;
  background: rgba(14, 14, 24, 0.92);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(16px);
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.95);
  transform: translate(-50%, 140%);
  opacity: 0;
  transition: transform 0.45s var(--ease), opacity 0.45s var(--ease);
  pointer-events: none;
}
.sticky-cta.is-on { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.sticky-cta__text { display: flex; flex-direction: column; line-height: 1.25; }
.sticky-cta__text b { font-size: 13.5px; font-weight: 620; }
.sticky-cta__text span { font-size: 11px; color: var(--dim); }

/* ---------- toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 92px;
  z-index: 70;
  transform: translate(-50%, 16px);
  padding: 11px 18px;
  border-radius: 999px;
  background: rgba(18, 18, 30, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .shot__frame { transform: none; }
  .notice__cols { grid-template-columns: 1fr; gap: 20px; }
  .shot__chip--a { left: 8px; bottom: 14px; }
  .shot__chip--b { right: 8px; top: 14px; }
  .points, .steps { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .wrap { padding: 0 18px; }
  .nav__links { display: none; }
  .hero { padding: 44px 0 16px; }
  .shot { margin-top: 36px; }
  .dl-big { width: 100%; justify-content: center; height: 68px; }
  .dl-big__label { font-size: 17px; }
  .about, .how { padding: 64px 0 0; }
  .how__cta { padding: 26px 22px; }
  .notice { padding: 20px 18px; }
  .notice__head { gap: 12px; }
  .dl-warn { font-size: 12px; }
  .how__cta .dl-big { width: 100%; }
  .sha { width: 100%; }
  .sha code { flex: 1; }
  .shot__chip { display: none; }
  .sticky-cta { bottom: 12px; left: 12px; right: 12px; transform: translateY(140%); justify-content: space-between; }
  .sticky-cta.is-on { transform: translateY(0); }
  .footer__inner { flex-direction: column; align-items: flex-start; gap: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition-duration: 0.001ms !important; }
  html { scroll-behavior: auto; }
}
