/* Стили лендинга NeiroAIRu — без CDN, только этот файл + fonts.css */

:root {
  --bg: #f8fafc;
  --ink: #0f172a;
  --muted: #475569;
  --vio: #7c3aed;
  --vio-d: #6d28d9;
  --pur: #9333ea;
  --pur-deep: #6b21a8;
  --line: rgb(237 233 254 / 0.7);

  --shadow-soft: 0 20px 60px -20px rgb(124 58 237 / 0.18);
  --shadow-card: 0 12px 40px -12px rgb(15 23 42 / 0.08);

  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;

  min-height: 100vh;

  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
  font-family: "Inter", system-ui, sans-serif;

  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  padding: 0;
  margin: 0;

  font: inherit;
  color: inherit;

  background: none;
  border: none;
}

dialog {
  max-width: none;
  padding: 0;

  border: none;

  background: transparent;
}

dialog:not([open]) {
  display: none;
}

dialog::backdrop {
  background: rgb(15 23 42 / 0.45);

  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.bg-effects {
  overflow: hidden;
  position: fixed;
  z-index: 0;
  inset: 0;

  pointer-events: none;
}

.bg-effects span {
  position: absolute;

  filter: blur(100px);

  border-radius: 50%;
}

.g1 {
  top: 0;
  left: -10rem;

  width: 28rem;
  height: 28rem;

  background: rgb(167 139 250 / 0.25);
}

.g2 {
  top: 8rem;
  right: -5rem;

  width: 25rem;
  height: 25rem;

  background: rgb(251 207 232 / 0.35);

  filter: blur(90px);
}

.g3 {
  bottom: 5rem;
  left: 33%;

  width: 38rem;
  height: 20rem;

  background: rgb(186 230 253 / 0.25);

  filter: blur(85px);
  translate: -33% 0;
}

.shell {
  position: relative;
  z-index: 1;

  padding-inline: clamp(1rem, 4vw, 1.5rem);

  max-width: 72rem;

  margin-inline: auto;
}

.top {
  position: sticky;

  top: 0;
  z-index: 50;

  border-bottom: 1px solid var(--line);

  background: rgb(248 250 252 / 0.88);

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.top-inner {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;

  height: 4rem;

  padding-inline: clamp(1rem, 4vw, 1.5rem);

  max-width: 72rem;

  margin-inline: auto;
}

.logo {
  display: flex;
  gap: 0.625rem;
  align-items: center;

  font-weight: 800;
  font-size: 1.125rem;

  letter-spacing: -0.02em;
}

.logo-mark {
  display: grid;
  place-items: center;

  width: 2.25rem;
  height: 2.25rem;

  color: white;

  background: linear-gradient(135deg, var(--vio), var(--pur-deep));

  border-radius: 0.75rem;

  box-shadow: 0 10px 15px rgb(139 92 246 / 0.3);
}

.logo-mark svg {
  width: 1.25rem;
  height: 1.25rem;
}

.logo-t {
  color: var(--ink);
}

.logo-v {
  color: var(--vio);
}

.nav-main {
  display: none;
  gap: 2rem;

  font-weight: 600;

  font-size: 0.875rem;

  color: var(--muted);
}

.nav-main a:hover {
  color: var(--vio-d);
}

@media (min-width: 768px) {

  .nav-main {
    display: flex;
  }

  .btn-in {
    display: inline-flex !important;
  }
}

.btn-in {
  display: none;

  align-items: center;
  justify-content: center;

  padding: 0.5rem 1rem;

  font-weight: 600;

  font-size: 0.875rem;

  color: #334155;

  background: white;

  border: 1px solid #e2e8f0;

  border-radius: 9999px;

  box-shadow: 0 1px 2px rgb(15 23 42 / 0.05);
}

.btn-in:hover {
  border-color: #ddd6fe;
}

.heads {
  display: flex;

  gap: 0.5rem;
  align-items: center;
}

.cta-nav {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  padding: 0.5rem 1rem;

  font-weight: 600;

  font-size: 0.875rem;

  color: white;

  background: linear-gradient(90deg, var(--vio), var(--pur));

  border-radius: 9999px;

  box-shadow: 0 10px 15px rgb(139 92 246 / 0.25);
}

.cta-nav:hover {
  filter: brightness(1.05);
}

.hero {
  padding-block: clamp(3.5rem, 8vw, 6rem);
}

.hero-inner {
  text-align: center;

  margin-inline: auto;

  max-width: 48rem;
}

.pill {
  display: inline-flex;

  gap: 0.5rem;
  align-items: center;

  margin-bottom: 1rem;
  padding: 0.375rem 1rem;

  font-weight: 700;

  font-size: 0.6875rem;

  color: var(--vio-d);

  letter-spacing: 0.08em;

  text-transform: uppercase;

  background: rgb(245 243 255 / 0.92);

  border: 1px solid rgb(196 181 253 / 0.85);

  border-radius: 9999px;
}

.pill-dot {
  flex-shrink: 0;

  width: 0.375rem;
  height: 0.375rem;

  background: var(--vio);

  border-radius: 9999px;
}

.h1 {

  margin: 0;

  font-weight: 800;

  font-size: clamp(2rem, 5vw, 3rem);

  line-height: 1.12;

  letter-spacing: -0.025em;
}

.h1 .acc {
  color: var(--vio);
}

.lead {
  margin-top: 1.25rem;
  margin-right: auto;
  margin-left: auto;

  max-width: 42rem;

  font-size: 1.125rem;

  color: var(--muted);
}

.hero-btns {
  display: flex;

  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;

  margin-top: 2rem;
}

.btn-prim {
  display: inline-flex;

  gap: 0.5rem;
  align-items: center;

  padding: 0.875rem 1.75rem;

  font-weight: 600;

  font-size: 1rem;

  color: white;

  background: linear-gradient(90deg, var(--vio), var(--pur));

  border-radius: 9999px;

  box-shadow: var(--shadow-soft);
}

.btn-prim:hover {
  filter: brightness(1.05);
}

.btn-prim svg {
  flex-shrink: 0;

  width: 1.25rem;
  height: 1.25rem;
}

.btn-sec {

  display: inline-flex;

  align-items: center;

  padding: 0.875rem 1.75rem;

  font-weight: 600;

  font-size: 1rem;

  color: #1e293b;

  background: white;

  border: 1px solid #e2e8f0;

  border-radius: 9999px;

  box-shadow: 0 1px 2px rgb(15 23 42 / 0.05);
}

.btn-sec:hover {
  border-color: #ddd6fe;
}

.flow-wrap {
  position: relative;

  margin-inline: auto;
  margin-top: 4rem;

  max-width: 56rem;
}

.flow-glow {
  pointer-events: none;

  position: absolute;
  inset: -0.05rem;

  filter: blur(32px);

  border-radius: 2rem;

  background: linear-gradient(
    90deg,
    rgb(196 181 253 / 0.4),
    rgb(251 207 232 / 0.3),
    rgb(186 230 253 / 0.4)
  );

  z-index: -1;
}

.flow-grid {

  display: grid;

  gap: 1rem;
}

@media (min-width: 640px) {

  .flow-grid {

    grid-template-columns: repeat(3, 1fr);
  }

  .flow-grid .fc:first-child {

    transform: translateY(1rem);
  }

  .flow-grid .fc:nth-child(2) {

    transform: translateY(-0.5rem);
  }

  .flow-grid .fc:nth-child(3) {

    transform: translateY(1.5rem);
  }
}

.fc {

  backdrop-filter: blur(6px);
  padding: 1.25rem;

  background: rgb(255 255 255 / 0.92);

  border: 1px solid #ede9fe;

  border-radius: 1rem;

  box-shadow: var(--shadow-card);
}

.fc.pop {

  border-color: rgb(167 139 250 / 0.8);

  background: linear-gradient(180deg, #f8f5ff 0%, white 100%);

  box-shadow: var(--shadow-soft);
}

.lbl {

  font-weight: 700;

  font-size: 0.75rem;
}

.lbl-a {

  color: var(--vio);
}

.lbl-b {

  color: #5b21b8;
}

.lbl-n {

  color: #64748b;
}

.fc p.txt {
  margin-bottom: 0;
  margin-top: 0.5rem;

  font-size: 0.875rem;

  line-height: 1.55;

  color: #334155;
}

.strip {

  border-block: 1px solid rgb(237 233 254 / 0.7);

  padding-block: 2.5rem;

  background: rgb(255 255 255 / 0.5);
}

.strip-inner {
  font-weight: 700;

  font-size: 0.75rem;

  color: #64748b;

  letter-spacing: 0.18em;

  text-transform: uppercase;

  display: flex;
  flex-wrap: wrap;

  gap: 0.375rem 2.5rem;
  align-items: center;
  justify-content: center;

  width: 100%;

  padding-inline: clamp(1rem, 4vw, 1.5rem);

  max-width: 72rem;

  margin-inline: auto;
}

.strip-inner .sep {

  color: #ede9fe;
}

@media (max-width: 639px) {

  .strip-inner .sep {

    display: none;
  }
}

.feat-sec {

  padding-block: 5rem;

  padding-inline: clamp(1rem, 4vw, 1.5rem);
}

.feat-head {

  max-width: 42rem;
}

.h2 {

  margin: 0;

  font-weight: 800;

  font-size: clamp(1.75rem, 4vw, 2.25rem);

  letter-spacing: -0.02em;
}

.sub {

  margin-top: 0.75rem;
  margin-bottom: 0;

  font-size: 1.125rem;

  color: var(--muted);
}

.feat-grid {

  display: grid;

  gap: 1.25rem;

  margin-top: 3rem;
}

@media (min-width: 640px) {

  .feat-grid {

    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {

  .feat-grid {

    grid-template-columns: repeat(4, 1fr);
  }
}

.card {

  padding: 1.5rem;

  border-style: solid;

  border-width: 1px;

  border-radius: 1.5rem;

  box-shadow: var(--shadow-card);
}

.c-v {

  background: rgb(245 243 255 / 0.95);

  border-color: #ede9fe;
}

.c-s {

  background: rgb(240 249 255 / 0.95);

  border-color: rgb(224 242 254);
}

.c-e {

  background: rgb(236 253 245 / 0.95);

  border-color: rgb(209 250 229);
}

.c-o {

  background: rgb(255 247 237 / 0.95);

  border-color: rgb(254 243 199);
}

.ico {

  display: grid;

  place-items: center;

  width: 3rem;
  height: 3rem;

  border-radius: 1rem;
}

.c-v .ico {

  background: rgb(221 214 254 / 0.72);

  color: #6d28d9;
}

.c-s .ico {

  background: rgb(186 230 253 / 0.72);

  color: #0369a1;
}

.c-e .ico {

  background: rgb(167 243 208 / 0.72);

  color: #065f46;
}

.c-o .ico {

  background: rgb(253 230 206 / 0.72);

  color: #c2410c;
}

.ico svg {

  width: 1.5rem;
  height: 1.5rem;
}

.card h3 {

  margin-top: 1rem;

  margin-bottom: 0;

  font-weight: 700;

  font-size: 1.125rem;
}

.card p {

  margin-top: 0.5rem;
  margin-bottom: 0;

  font-weight: unset;

  font-size: 0.875rem;

  line-height: 1.625;

  color: #475569;
}

.ban-wrap {

  padding-bottom: 5rem;
}

.ban {

  display: flex;
  flex-direction: column;

  gap: 1.5rem;
  align-items: center;

  padding-block: 1.25rem;
  padding-inline: clamp(1.5rem, 4vw, 2.5rem);

  text-align: center;

  color: white;

  border-radius: 9999px;

  background: linear-gradient(90deg, var(--vio), var(--pur));

  box-shadow: 0 20px 25px -5px rgb(139 92 246 / 0.3);
}

@media (min-width: 640px) {

  .ban {
    justify-content: space-between;

    flex-direction: row;

    text-align: left;
  }
}

.ban p {

  margin: 0;

  font-weight: 700;

  font-size: 1.125rem;
}

@media (min-width: 640px) {

  .ban p {

    font-size: 1.25rem;
  }
}

.ban .star {

  color: rgb(253 230 138);
}

.ban a {

  display: inline-flex;

  justify-content: center;
  align-items: center;

  flex-shrink: 0;

  padding: 0.75rem 1.5rem;

  font-weight: 700;

  font-size: 0.875rem;

  color: #6d28d9;

  background: white;

  border-radius: 9999px;
}

.ban a:hover {

  background: rgb(245 243 255);
}

footer {

  padding-block: 3rem;
  padding-inline: clamp(1rem, 4vw, 1.5rem);

  font-weight: unset;

  font-size: 0.875rem;

  color: var(--muted);

  background: rgb(255 255 255 / 0.92);

  border-top: 1px solid rgb(237 233 254 / 0.85);
}

.foot-grid {

  display: grid;

  gap: 2.5rem;

  margin-inline: auto;

  max-width: 72rem;
}

@media (min-width: 1024px) {

  .foot-grid {

    grid-template-columns: 1fr auto;

    gap: 3rem;
    align-items: start;
  }
}

.f-title {

  margin-bottom: 0;

  font-weight: 800;

  font-size: 1rem;

  color: var(--ink);
}

.f-op {

  margin-top: 1rem;
  margin-bottom: 0;

  font-weight: 700;

  font-size: 0.75rem;

  letter-spacing: 0.08em;

  color: #94a3b8;

  text-transform: uppercase;
}

.f-org {

  margin-top: 0.75rem;
  margin-bottom: 0;

  font-weight: 600;

  line-height: 1.55;

  color: #334155;

  hyphens: auto;
}

.f-org strong {

  display: block;

  margin-bottom: 0.25rem;

  font-weight: 800;

  color: var(--ink);
}

.foot-links {

  display: flex;

  gap: 0.75rem 1.5rem;
  flex-wrap: wrap;
}

@media (min-width: 1024px) {

  .foot-links {

    justify-content: flex-end;
  }
}

.lnk {

  cursor: pointer;

  font-weight: 600;
  font-family: inherit;

  font-size: inherit;

  padding: 0;

  text-align: left;

  text-underline-offset: 2px;

  color: inherit;

  border: none;

  background: transparent;
}

.lnk:hover {

  text-decoration: underline;

  color: var(--vio);
}

@media (min-width: 1024px) {

  .lnk {

    text-align: right;
  }
}

.mdl-dlg {

  overflow: hidden;

  width: calc(100% - 2rem);

  margin: auto;

  max-width: 42rem;

  background: white;

  border: 1px solid #e2e8f0;

  border-radius: 1rem;

  box-shadow: 0 25px 50px -12px rgb(15 23 42 / 0.28);
}

.mdl-top {

  display: flex;

  gap: 1rem;

  justify-content: space-between;
  align-items: flex-start;

  padding-block: 1rem;

  padding-inline: 1.5rem;

  border-bottom: 1px solid #f1f5f9;
}

.mdl-top h2 {

  margin: 0;

  font-weight: 800;

  font-size: 1.125rem;
}

.mdl-x {

  line-height: 1;

  color: #94a3b8;

  padding: 0.5rem;
  cursor: pointer;
  border-radius: 0.5rem;

  background: unset;
}

.mdl-x:hover {

  color: #334155;

  background: #f1f5f9;
}

.mdl-body {

  overflow-y: auto;

  padding-block: 1.25rem;

  padding-inline: 1.5rem;

  max-height: min(70vh, 520px);

  font-size: 0.875rem;

  line-height: 1.65;

  color: #475569;
}

.mdl-body .intro {

  margin-bottom: 0.5rem;
  margin-top: 0;

  color: #64748b;
}

.mdl-body strong.key {

  font-weight: 700;

  color: #1e293b;
}

.mdl-body h3 {

  margin-top: 1.25rem;
  margin-bottom: 0;

  font-weight: 700;

  font-size: 1rem;

  color: var(--ink);
}

.mdl-body p {
  margin: 0.5rem 0 0;
}

.mdl-foot {

  display: flex;

  justify-content: flex-end;

  padding-block: 1rem;

  padding-inline: 1.5rem;

  border-top: 1px solid #f1f5f9;
}

.mdl-ok {

  font-weight: 600;

  color: white;

  cursor: pointer;
  padding-block: 0.5rem;
  padding-inline: 1.25rem;

  background: var(--vio);

  border-radius: 9999px;

  border: none;
}

.mdl-ok:hover {

  background: var(--vio-d);
}
