/* Нивософт — статички landing page */
:root {
  --bg: #07111f;
  --bg-soft: #0d1b2e;
  --card: rgba(255, 255, 255, 0.075);
  --card-border: rgba(255, 255, 255, 0.13);
  --text: #eef7ff;
  --muted: #a9bfd4;
  --primary: #42e8ff;
  --primary-2: #2563eb;
  --accent: #a7f3d0;
  --warning: #ffd166;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, "Noto Sans", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(66, 232, 255, 0.18), transparent 34rem),
    radial-gradient(circle at 85% 12%, rgba(37, 99, 235, 0.25), transparent 32rem),
    linear-gradient(180deg, #07111f 0%, #0a1423 52%, #07111f 100%);
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(7, 17, 31, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.nav {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.brand-mark {
  width: 52px;
  height: 52px;
}

.brand-name {
  display: block;
  font-size: 22px;
}

.brand-subtitle {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.4px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-weight: 700;
  font-size: 14px;
}

.nav-links a:hover {
  color: var(--primary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

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

.btn-primary {
  color: #06111f;
  background: linear-gradient(135deg, var(--primary), #a7f3d0);
  box-shadow: 0 14px 38px rgba(66, 232, 255, 0.22);
}

.btn-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.hero {
  padding: 84px 0 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(340px, 0.94fr);
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #bff7ff;
  background: rgba(66, 232, 255, 0.1);
  border: 1px solid rgba(66, 232, 255, 0.22);
  border-radius: 999px;
  padding: 9px 14px;
  font-weight: 800;
  font-size: 13px;
}

.eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(167, 243, 208, 0.12);
}

h1 {
  margin: 22px 0 18px;
  font-size: clamp(38px, 5.4vw, 70px);
  line-height: 0.98;
  letter-spacing: -2.2px;
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff, #98efff 42%, #a7f3d0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  max-width: 660px;
  color: #c3d5e6;
  font-size: 20px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 36px;
}

.proof-card {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--card-border);
}

.proof-card strong {
  display: block;
  font-size: 28px;
}

.proof-card span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.hero-panel {
  position: relative;
  border-radius: 32px;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.11), rgba(255,255,255,0.045)),
    radial-gradient(circle at top right, rgba(66, 232, 255, 0.19), transparent 20rem);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: linear-gradient(135deg, rgba(66,232,255,.22), transparent 36%, rgba(167,243,208,.13));
  pointer-events: none;
}

.dashboard-card {
  position: relative;
  border-radius: 24px;
  padding: 26px;
  background: rgba(5, 12, 23, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.dashboard-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #bfffe3;
  font-weight: 800;
  font-size: 13px;
}

.status::before {
  content: "";
  width: 10px;
  height: 10px;
  background: #34d399;
  border-radius: 50%;
}

.license-box {
  display: grid;
  gap: 14px;
}

.license-row {
  display: grid;
  grid-template-columns: 92px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border-radius: 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
}

.license-row small {
  color: var(--muted);
  font-weight: 800;
}

.bar {
  height: 10px;
  border-radius: 20px;
  background: rgba(255,255,255,0.12);
  overflow: hidden;
}

.bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary-2), var(--primary), var(--accent));
}

.tag {
  color: #05111e;
  background: #a7f3d0;
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 900;
}

.section {
  padding: 70px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 32px;
}

.section-heading h2 {
  margin: 0 0 12px;
  font-size: clamp(30px, 3.6vw, 48px);
  letter-spacing: -1.2px;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

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

.card {
  min-height: 270px;
  padding: 26px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--card-border);
  box-shadow: 0 18px 48px rgba(0,0,0,.18);
}

.icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #06111f;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  font-size: 24px;
  font-weight: 900;
}

.card h3 {
  margin: 22px 0 12px;
  font-size: 22px;
}

.card p {
  margin: 0;
  color: #bed0e2;
  line-height: 1.65;
}

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 24px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--card-border);
  counter-increment: step;
}

.step::before {
  content: "0" counter(step);
  display: inline-flex;
  color: var(--primary);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1px;
}

.step h3 {
  margin: 16px 0 10px;
}

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

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: stretch;
}

.contact-card,
.form-card {
  padding: 30px;
  border-radius: 30px;
  background: rgba(255,255,255,0.075);
  border: 1px solid var(--card-border);
}

.contact-line {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.contact-line:last-child {
  border-bottom: 0;
}

.contact-line strong {
  display: block;
  margin-bottom: 5px;
}

.contact-line span,
.contact-line a {
  color: #c5d8ea;
  line-height: 1.5;
}

form {
  display: grid;
  gap: 14px;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 16px;
  padding: 15px 16px;
  color: var(--text);
  background: rgba(3, 9, 18, 0.42);
  outline: none;
  font: inherit;
}

input:focus,
textarea:focus {
  border-color: rgba(66, 232, 255, 0.58);
  box-shadow: 0 0 0 4px rgba(66, 232, 255, 0.09);
}

textarea {
  min-height: 126px;
  resize: vertical;
}

.site-footer {
  padding: 34px 0;
  color: var(--muted);
  border-top: 1px solid rgba(255,255,255,.09);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

@media (max-width: 920px) {
  .nav {
    align-items: flex-start;
    padding: 16px 0;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 6px;
  }

  .hero-grid,
  .contact-wrap {
    grid-template-columns: 1fr;
  }

  .cards,
  .process {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero {
    padding-top: 48px;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .hero-proof,
  .cards,
  .process {
    grid-template-columns: 1fr;
  }

  .license-row {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .brand-name {
    font-size: 19px;
  }
}
