/* NSR Products — shared styles */

:root {
  --bg: #07080b;
  --bg-soft: #0e1017;
  --panel: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #f2f4f8;
  --muted: #9aa3b2;
  --muted-dim: #6c7484;
  --accent: #5b8cff;
  --accent-2: #37e0c8;
  --radius: 14px;
  --max: 1080px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

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

/* Ambient background glow */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60rem 40rem at 15% -10%, rgba(91, 140, 255, 0.18), transparent 60%),
    radial-gradient(50rem 35rem at 90% 0%, rgba(55, 224, 200, 0.12), transparent 60%),
    radial-gradient(40rem 30rem at 50% 110%, rgba(91, 140, 255, 0.10), transparent 60%);
  pointer-events: none;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(7, 8, 11, 0.72);
  border-bottom: 1px solid var(--border);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-weight: 650;
  letter-spacing: -0.01em;
  font-size: 17px;
}
.brand:hover { text-decoration: none; }

.brand .mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #06070a;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand .sub {
  color: var(--muted-dim);
  font-weight: 450;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14.5px;
}
.nav a { color: var(--muted); }
.nav a:hover { color: var(--text); text-decoration: none; }

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

.hero {
  padding: 92px 0 72px;
  text-align: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px 7px 11px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: var(--panel);
  color: var(--muted);
  font-size: 13.5px;
  letter-spacing: 0.02em;
  margin-bottom: 30px;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 0 rgba(55, 224, 200, 0.6);
  animation: pulse 2.4s infinite;
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(55, 224, 200, 0.55); }
  70%  { box-shadow: 0 0 0 9px rgba(55, 224, 200, 0); }
  100% { box-shadow: 0 0 0 0 rgba(55, 224, 200, 0); }
}

h1 {
  margin: 0 0 20px;
  font-size: clamp(2.4rem, 6.5vw, 4.1rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
  font-weight: 700;
}

h1 .grad {
  background: linear-gradient(100deg, var(--accent) 10%, var(--accent-2) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  margin: 0 auto;
  max-width: 620px;
  font-size: clamp(1.02rem, 2.2vw, 1.16rem);
  color: var(--muted);
}

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

.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 36px 0 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  font: inherit;
  font-size: 15.5px;
  font-weight: 600;
  white-space: nowrap;
  color: #06070a;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border: 0;
  border-radius: 11px;
  cursor: pointer;
  transition: transform 0.12s ease, filter 0.15s ease;
}
.btn:hover { filter: brightness(1.08); text-decoration: none; }
.btn:active { transform: translateY(1px); }

.btn-ghost {
  color: var(--text);
  background: var(--panel);
  border: 1px solid var(--border-strong);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); filter: none; }

.form-note {
  font-size: 13.5px;
  color: var(--muted-dim);
  margin: 0;
}

/* ---------- Sections ---------- */

section { padding: 62px 0; }

.section-title {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted-dim);
  margin: 0 0 26px;
  font-weight: 600;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
}

.card {
  padding: 26px 24px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.card h3 {
  margin: 0 0 9px;
  font-size: 17px;
  letter-spacing: -0.015em;
  font-weight: 620;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.card .icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
  border-radius: 10px;
  background: rgba(91, 140, 255, 0.14);
  border: 1px solid rgba(91, 140, 255, 0.28);
  font-size: 18px;
}

/* ---------- Contact block ---------- */

.contact-box {
  padding: 30px 28px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.contact-box p {
  color: var(--muted);
  font-size: 15.5px;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.contact-list li {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  font-size: 15px;
}

.contact-list .label {
  color: var(--muted-dim);
  min-width: 112px;
  font-size: 13.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding-top: 2px;
}

/* ---------- Legal pages ---------- */

.legal {
  padding: 56px 0 72px;
  max-width: 760px;
}

.legal h1 {
  font-size: clamp(2rem, 5vw, 2.6rem);
  margin-bottom: 8px;
}

.legal .updated {
  color: var(--muted-dim);
  font-size: 14px;
  margin: 0 0 40px;
}

.legal h2 {
  margin: 40px 0 12px;
  font-size: 19px;
  letter-spacing: -0.015em;
  font-weight: 640;
}

.legal p,
.legal li {
  color: var(--muted);
  font-size: 15.5px;
}

.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 8px; }

.back-link {
  display: inline-block;
  margin-bottom: 28px;
  font-size: 14.5px;
  color: var(--muted);
}

.callout {
  padding: 16px 18px;
  border-left: 3px solid var(--accent);
  background: var(--panel);
  border-radius: 0 10px 10px 0;
  margin: 24px 0;
}
.callout p { margin: 0; color: var(--muted); font-size: 15px; }

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

.site-footer {
  border-top: 1px solid var(--border);
  padding: 34px 0 46px;
  margin-top: 30px;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 14px;
}
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--text); text-decoration: none; }

.copyright {
  color: var(--muted-dim);
  font-size: 14px;
  margin: 0;
}

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

@media (max-width: 620px) {
  .site-header .wrap { height: 60px; }
  .nav { gap: 16px; font-size: 14px; }
  .brand .sub { display: none; }
  .hero { padding: 64px 0 48px; }
  .cta-row { flex-direction: column; }
  .cta-row .btn { width: 100%; }
  .contact-list .label { min-width: 0; width: 100%; }
}

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