/* Общие блоки страниц курсов (Нейростарт, Нейрограмотность) */

/* ===== Конверсия: тизер урока, кнопки после блоков, плавающая кнопка ===== */
.ns-teaser { max-width: var(--max); margin: 0 auto; padding: clamp(20px,3vw,40px) clamp(16px,4vw,24px); }
.ns-teaser__card { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(0,1fr); gap: clamp(20px,3vw,40px); align-items: center; padding: clamp(18px,3vw,36px); border-radius: 36px; background: linear-gradient(135deg, #2e5dea 0%, #7c4dff 60%, #d63aa8 100%); color: #fff; box-shadow: 0 30px 70px rgba(46,93,234,.28); }
.ns-player { position: relative; overflow: hidden; border-radius: 24px; aspect-ratio: 16/9; background: #0f1020 center/cover no-repeat; cursor: pointer; box-shadow: 0 20px 50px rgba(15,16,32,.45); }
.ns-player video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; }
.ns-player__play { position: absolute; left: 50%; top: 50%; width: 88px; height: 88px; margin: -44px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 12px rgba(255,255,255,.25); cursor: pointer; animation: nsPulse 2.2s ease-in-out infinite; }
.ns-player__play::after { content: ''; position: absolute; left: 36px; top: 28px; border-left: 26px solid var(--blue); border-top: 16px solid transparent; border-bottom: 16px solid transparent; }
@keyframes nsPulse { 0%,100% { box-shadow: 0 0 0 10px rgba(255,255,255,.25); } 50% { box-shadow: 0 0 0 22px rgba(255,255,255,.08); } }
.ns-player__tag { position: absolute; left: 16px; top: 16px; padding: 7px 12px; border-radius: 9999px; background: rgba(15,16,32,.7); font-size: 13px; font-weight: 700; }
.ns-player__end { position: absolute; inset: 0; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 20px; background: rgba(15,16,32,.82); text-align: center; }
.ns-player.is-end .ns-player__end { display: flex; }
.ns-player__end b { font-size: clamp(18px,2.2vw,26px); }
.ns-teaser__copy .eyebrow { background: rgba(255,255,255,.18); color: #fff; }
.ns-teaser__copy h2 { font-size: clamp(28px,3.4vw,44px); font-weight: 800; line-height: 1.08; letter-spacing: -.02em; }
.ns-teaser__copy p { margin-top: 12px; font-size: 17px; line-height: 1.5; opacity: .92; }
.ns-teaser__copy ul { margin: 16px 0 22px; list-style: none; display: grid; gap: 8px; }
.ns-teaser__copy li { display: flex; gap: 10px; font-size: 16px; font-weight: 600; }
.ns-teaser__copy li::before { content: '✓'; flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #fff; color: var(--blue); font-size: 13px; font-weight: 900; }
.ns-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 18px 32px; border-radius: 9999px; background: var(--cta); color: #fff !important; font-size: 16px; font-weight: 800; box-shadow: 0 14px 34px var(--cta-shadow); transition: transform .2s, box-shadow .2s; }
.ns-btn:hover { transform: translateY(-2px); box-shadow: 0 20px 44px var(--cta-shadow); }
.ns-btn--white { background: #fff; color: var(--blue) !important; box-shadow: 0 14px 34px rgba(15,16,32,.25); }
.ns-cta { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: clamp(24px,3vw,36px); padding: 18px 18px 18px 26px; border-radius: 9999px; background: #fff; box-shadow: 0 14px 40px rgba(46,93,234,.12); }
.ns-cta span { font-size: 17px; font-weight: 700; color: var(--ink); }
.ns-sticky { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 50; display: none; }
.ns-sticky a { width: 100%; }
.ns-sticky.is-on { display: block; animation: nsUp .3s ease-out; }
@keyframes nsUp { from { transform: translateY(20px); opacity: 0; } }
@media (min-width: 761px) { .ns-sticky { display: none !important; } }
@media (max-width: 760px) {
  .ns-teaser__card { grid-template-columns: 1fr; border-radius: 26px; }
  .ns-player { border-radius: 18px; } .ns-player__play { width: 70px; height: 70px; margin: -35px; } .ns-player__play::after { left: 28px; top: 21px; border-left-width: 21px; border-top-width: 13px; border-bottom-width: 13px; }
  .ns-teaser__copy p, .ns-teaser__copy li { font-size: 15px; }
  .ns-teaser__copy .ns-btn { width: 100%; }
  .ns-cta { flex-direction: column; align-items: stretch; text-align: center; padding: 18px; border-radius: 26px; }
  .ns-cta .ns-btn { width: 100%; }
  .cookie-note { bottom: calc(10px + env(safe-area-inset-bottom)) !important; z-index: 9500 !important; }
}
@media (prefers-reduced-motion: reduce) { .ns-player__play { animation: none; } }


/* ===== Продающие блоки в стиле лендинга GPT Ads ===== */
.nx-wrap { max-width: var(--max); margin: 0 auto; padding: clamp(20px,3vw,36px) clamp(16px,4vw,24px); }
.nx-lead { margin-top: 14px; font-size: clamp(16px,1.4vw,18px); line-height: 1.55; max-width: 640px; }
.nx-demo h2, .nx-self h2 { font-size: clamp(32px,4.6vw,64px); font-weight: 800; line-height: 1.02; letter-spacing: -.035em; }

/* 1. Без нейросетей и с ними */

/* 2. Иллюстрации в карточках эпох */
.era-card { border-radius: 30px !important; }
.era-ill { position: relative; height: 150px; margin-bottom: 22px; border-radius: 20px; background: rgba(255,255,255,.16); overflow: hidden; }
.era-ill--pc .pc { position: absolute; left: 50%; top: 22px; width: 130px; height: 84px; margin-left: -65px; border: 4px solid #fff; border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 7px; }
.era-ill--pc .pc i { display: block; height: 6px; width: 70%; border-radius: 3px; background: rgba(255,255,255,.7); }
.era-ill--pc .pc i:nth-child(2) { width: 46%; }
.era-ill--pc .pc i.cur { width: 10px; height: 12px; background: #fff; animation: nxBlink 1s steps(2) infinite; }
.era-ill--pc .pc-st { position: absolute; left: 50%; top: 106px; width: 60px; height: 14px; margin-left: -30px; border-radius: 0 0 8px 8px; background: #fff; opacity: .85; }
.era-ill--web .web { position: absolute; inset: 22px 26px; border-radius: 14px; background: rgba(255,255,255,.18); padding: 14px; display: flex; flex-direction: column; gap: 9px; }
.era-ill--web .bar { display: block; height: 18px; border-radius: 9px; background: #fff; overflow: hidden; padding: 5px 7px; }
.era-ill--web .bar em { display: block; height: 8px; border-radius: 4px; background: #0e9c8c; width: 100%; transform-origin: left; transform: scaleX(0); animation: nxLoad 3.2s ease-in-out infinite; }
.era-ill--web .web > i { display: block; height: 9px; border-radius: 5px; background: rgba(255,255,255,.55); }
.era-ill--web .web > i:nth-of-type(1) { width: 80%; } .era-ill--web .web > i:nth-of-type(2) { width: 62%; } .era-ill--web .web > i:nth-of-type(3) { width: 72%; }
.era-ill--ai .msg { position: absolute; border-radius: 14px; }
.era-ill--ai .q { right: 22px; top: 22px; width: 46%; height: 26px; background: rgba(255,255,255,.4); border-bottom-right-radius: 4px; }
.era-ill--ai .a { left: 22px; top: 60px; width: 64%; padding: 12px; background: #fff; border-bottom-left-radius: 4px; display: flex; flex-direction: column; gap: 7px; animation: nxPop 4s ease-in-out infinite; }
.era-ill--ai .a i { display: block; height: 7px; border-radius: 4px; background: #c9b8ff; }
.era-ill--ai .a i:last-child { width: 60%; }
.era-ill--ai .sp { position: absolute; color: #fff; animation: nxTw 2.4s ease-in-out infinite; }
.era-ill--ai .s1 { right: 28px; top: 66px; font-size: 26px; } .era-ill--ai .s2 { right: 70px; top: 96px; font-size: 16px; animation-delay: .8s; } .era-ill--ai .s3 { left: 26px; top: 20px; font-size: 18px; animation-delay: 1.4s; }

/* 3. Для кого */
.nx-who { background: #2e5dea; border-radius: 40px; color: #fff; margin-top: clamp(20px,3vw,36px); margin-bottom: clamp(20px,3vw,36px); padding-top: clamp(36px,5vw,64px); padding-bottom: clamp(36px,5vw,64px); box-shadow: 0 30px 70px rgba(46,93,234,.28); }
.nx-who .section-head { margin-bottom: clamp(26px,3.4vw,40px); }
.nx-who .section-head h2, .nx-who .section-head p { color: #fff; }
.nx-who .section-head p { opacity: .85; }
.nx-who .eyebrow { background: rgba(255,255,255,.18); color: #fff; }
.nx-who__grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.nx-who__card { display: flex; flex-direction: column; padding: 16px 16px 20px; border-radius: 26px; background: #fff; color: var(--ink); box-shadow: 0 16px 36px rgba(15,16,32,.18); transition: transform .25s; }
.nx-who__card:hover { transform: translateY(-4px); }
.nx-who__card h3 { margin: 18px 4px 6px; font-size: clamp(19px,1.6vw,22px); font-weight: 800; letter-spacing: -.02em; }
.nx-who__card p { margin: 0 4px 16px; font-size: 15px; line-height: 1.45; color: var(--muted); }
.nx-who__btn { margin: auto 4px 0; align-self: flex-start; padding: 12px 22px; border-radius: 9999px; background: #6a35ff; color: #fff !important; font-size: 15px; font-weight: 800; transition: background .2s; }
.nx-who__btn:hover { background: #d63aa8; }
.nx-ill { position: relative; height: 150px; border-radius: 18px; background: #f1f0f7; display: grid; place-items: center; }
.nx-chip { position: absolute; left: 12px; top: 12px; z-index: 2; padding: 4px 10px; border-radius: 9999px; background: #fff; font-size: 12px; font-weight: 800; color: var(--ink); box-shadow: 0 2px 8px rgba(15,16,32,.08); }
.nx-win { position: relative; width: 66%; height: 96px; margin-top: 14px; border: 3px solid #10163a; border-radius: 12px; background: #fff; box-shadow: 0 6px 0 rgba(16,22,58,.07); padding: 10px; display: flex; flex-direction: column; gap: 7px; overflow: hidden; }
.nx-win i { display: block; flex: none; height: 7px; border-radius: 4px; background: #dcdbe8; }
/* чат */
.nx-win--chat .u-q { align-self: flex-end; width: 52%; height: 14px; border-radius: 7px; background: #dcdbe8; }
.nx-win--chat .u-a { width: 76%; padding: 7px; border-radius: 8px; background: #6a35ff; display: flex; flex-direction: column; gap: 5px; transform-origin: left top; animation: nxPop 3.6s ease-in-out infinite; }
.nx-win--chat .u-a i { height: 5px; background: rgba(255,255,255,.75); } .nx-win--chat .u-a i:last-child { width: 55%; }
.nx-win--chat .u-sp { position: absolute; right: 10px; bottom: 8px; color: #d63aa8; font-size: 18px; animation: nxTw 2.2s ease-in-out infinite; }
/* документ */
.nx-win--doc i:nth-child(1) { width: 60%; height: 9px; background: #10163a; }
.nx-win--doc i.hl { position: relative; width: 88%; background: #dcdbe8; }
.nx-win--doc i.hl::after { content: ''; position: absolute; inset: -2px 0; border-radius: 4px; background: rgba(214,58,168,.55); transform-origin: left; transform: scaleX(0); animation: nxHl 3.4s ease-in-out infinite; }
.nx-win--doc i.hl.s { width: 70%; } .nx-win--doc i.hl.s::after { animation-delay: .6s; }
.nx-win--doc i.sh { width: 40%; }
/* рост */
.nx-win--bars { flex-direction: row; align-items: flex-end; gap: 8px; padding: 12px 14px; }
.nx-win--bars i { flex: 1; height: var(--h); border-radius: 5px; background: #12b3a0; transform-origin: bottom; animation: nxGrow 3.4s ease-in-out infinite; }
.nx-win--bars i:nth-child(2n) { background: #6a35ff; }
.nx-win--bars i:nth-child(2) { animation-delay: .1s; } .nx-win--bars i:nth-child(3) { animation-delay: .2s; } .nx-win--bars i:nth-child(4) { animation-delay: .3s; } .nx-win--bars i:nth-child(5) { animation-delay: .4s; }
/* плитки */
.nx-win--tiles { display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; }
.nx-win--tiles i { height: auto; border-radius: 6px; background: #7c6cf5; animation: nxTile 3s ease-in-out infinite; }
.nx-win--tiles i:nth-child(2), .nx-win--tiles i:nth-child(4) { background: #12a594; } .nx-win--tiles i:nth-child(6) { background: #d63aa8; }
.nx-win--tiles i:nth-child(2) { animation-delay: .15s; } .nx-win--tiles i:nth-child(3) { animation-delay: .3s; } .nx-win--tiles i:nth-child(4) { animation-delay: .45s; } .nx-win--tiles i:nth-child(5) { animation-delay: .6s; } .nx-win--tiles i:nth-child(6) { animation-delay: .75s; }
/* дизайн */
.nx-win--design { flex-direction: row; gap: 10px; align-items: center; }
.nx-win--design .sl { flex: 1; display: flex; flex-direction: column; gap: 16px; }
.nx-win--design .sl i { position: relative; height: 4px; }
.nx-win--design .sl i::after { content: ''; position: absolute; top: -4px; left: var(--x); width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: #d63aa8; animation: nxSlide 3.6s ease-in-out infinite; }
.nx-win--design .sl i:nth-child(2)::after { animation-delay: .5s; } .nx-win--design .sl i:nth-child(3)::after { animation-delay: 1s; }
.nx-win--design .img { width: 42%; height: 100%; border-radius: 8px; background: linear-gradient(135deg,#d63aa8,#7c4dff); animation: nxHue 3.6s ease-in-out infinite; }
/* код */
.nx-win--code { background: #10163a; gap: 6px; }
.nx-win--code i { width: var(--w); background: #7c8cff; }
.nx-win--code i.in { margin-left: 12px; background: #4fd1c5; } .nx-win--code i.c { background: #ff7ac6; }
.nx-win--code .cur { position: absolute; left: 34%; bottom: 13px; width: 7px; height: 10px; background: #fff; animation: nxBlink 1s steps(2) infinite; }
/* список заказов */
.nx-win--list i { position: relative; height: 12px; margin-left: 20px; background: #e6e5f0; }
.nx-win--list i::before { content: ''; position: absolute; left: -20px; top: -1px; width: 14px; height: 14px; border-radius: 50%; background: #dcdbe8; animation: nxCheck 4s ease-in-out infinite; }
.nx-win--list i:nth-child(2)::before { animation-delay: .5s; } .nx-win--list i:nth-child(3)::before { animation-delay: 1s; } .nx-win--list i:nth-child(4)::before { animation-delay: 1.5s; }
.nx-win--list i:nth-child(2) { width: 80%; } .nx-win--list i:nth-child(4) { width: 64%; }
/* таблица */
.nx-win--table { display: grid; grid-template-columns: repeat(3,1fr); gap: 5px; }
.nx-win--table i { height: 12px; border-radius: 3px; background: #e6e5f0; }
.nx-win--table i.h { background: #2e5dea; }
.nx-win--table i:nth-child(8), .nx-win--table i:nth-child(12) { animation: nxCell 3s ease-in-out infinite; }
.nx-win--table i:nth-child(12) { animation-delay: .6s; }

/* 4. Сам или с курсом */
.nx-self { padding: clamp(28px,5vw,64px); border-radius: 40px; background: #fff; color: var(--ink); box-shadow: 0 24px 60px rgba(30,40,120,.1); }
.nx-self .nx-lead { color: var(--muted); }
.nx-self__grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.15fr); gap: 18px; margin-top: clamp(24px,3vw,40px); }
.nx-self__bad, .nx-self__good { padding: clamp(22px,2.6vw,34px); border-radius: 30px; }
.nx-self__bad { background: #160f2e; color: #fff; }
.nx-self__good { background: #f4f1fb; }
.nx-tag { display: inline-block; padding: 6px 12px; border-radius: 9999px; background: rgba(255,255,255,.12); font-size: 13px; font-weight: 800; }
.nx-tag--on { background: #6a35ff; color: #fff; }
.nx-self h3 { margin: 14px 0 18px; font-size: clamp(22px,2.2vw,30px); font-weight: 800; letter-spacing: -.02em; }
.nx-self__bad ul { list-style: none; margin: 0; padding: 0; }
.nx-self__bad li { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.1); font-size: 16px; }
.nx-self__bad li::before { content: '×'; flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #ff4f86; color: #fff; font-size: 16px; font-weight: 800; line-height: 1; }
.nx-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.nx-step { display: grid; grid-template-columns: 40px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 12px; border-radius: 18px; background: #fff; opacity: 0; transform: translateY(10px); transition: opacity .45s ease calc(var(--i,6) * .1s), transform .45s ease calc(var(--i,6) * .1s); }
.nx-step span { grid-row: span 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: #6a35ff; color: #fff; font-weight: 800; font-size: 14px; }
.nx-step b { font-size: 16px; font-weight: 800; }
.nx-step em { font-style: normal; font-size: 13px; color: var(--muted); }
.nx-step--go { grid-column: 1 / -1; background: #2e5dea; color: #fff !important; transition: opacity .45s ease .7s, transform .45s ease .7s, background .2s; }
.nx-step--go span { background: #fff; color: #2e5dea; }
.nx-step--go em { color: rgba(255,255,255,.8); }
.nx-step--go:hover { background: #6a35ff; }
.nx-self.is-in .nx-step { opacity: 1; transform: none; }

@keyframes nxBlink { 50% { opacity: 0; } }
@keyframes nxLoad { 0% { transform: scaleX(0); } 60%,100% { transform: scaleX(1); } }
@keyframes nxPop { 0%,8% { opacity: 0; transform: scale(.85); } 18%,85% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes nxTw { 0%,100% { opacity: .35; transform: scale(.8) rotate(0); } 50% { opacity: 1; transform: scale(1.15) rotate(20deg); } }
@keyframes nxHl { 0%,15% { transform: scaleX(0); } 45%,85% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
@keyframes nxGrow { 0%,10% { transform: scaleY(.25); } 45%,85% { transform: scaleY(1); } 100% { transform: scaleY(.25); } }
@keyframes nxTile { 0%,100% { transform: scale(1); } 15% { transform: scale(.82); } 30% { transform: scale(1); } }
@keyframes nxSlide { 50% { transform: translateX(-14px); } }
@keyframes nxHue { 50% { opacity: .7; transform: scale(.94); } }
@keyframes nxCheck { 0%,20% { background: #dcdbe8; } 30%,90% { background: #12b3a0; } }
@keyframes nxCell { 0%,20% { background: #e6e5f0; } 35%,85% { background: #d63aa8; } }

@media (max-width: 980px) { .nx-who__grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 760px) {
  .nx-self, .nx-who { border-radius: 26px; }
  .nx-who { margin-left: 12px; margin-right: 12px; }
  /* слайдеры вместо длинных стопок */
  .era-steps, .nx-who__grid { display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 82%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; margin-right: -16px; padding-right: 16px; scrollbar-width: none; }
  .era-steps::-webkit-scrollbar, .nx-who__grid::-webkit-scrollbar { display: none; }
  .era-card, .nx-who__card { scroll-snap-align: start; }
  .nx-who__grid { grid-auto-columns: 78%; }
  .nx-self__grid { grid-template-columns: 1fr; }
  .nx-steps { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .era-ill *, .nx-win * { animation: none !important; }
  .nx-step { transition: none !important; }
}


/* 1. Фиолетовое демо «Вечер вместо недели» */
.nx-demo { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.05fr); gap: clamp(24px,4vw,56px); align-items: center; padding: clamp(28px,5vw,64px); border-radius: 40px; background: #6a35ff; color: #fff; box-shadow: 0 30px 70px rgba(106,53,255,.3); }
.nx-demo::before { content: ''; will-change: transform; position: absolute; right: -160px; bottom: -200px; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(circle, rgba(214,58,168,.6), transparent 68%); pointer-events: none; animation: nxGlow 8s ease-in-out infinite; }
.nx-demo::after { content: ''; position: absolute; left: -120px; top: -160px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(46,93,234,.7), transparent 70%); pointer-events: none; }
.nx-demo > * { position: relative; z-index: 1; }
.nx-demo .nx-lead { opacity: .88; }
.nx-demo__tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 22px; }
.nx-demo__tabs button { position: relative; overflow: hidden; padding: 11px 18px; border: 0; border-radius: 9999px; background: rgba(255,255,255,.14); color: #fff; font: 700 15px var(--font); cursor: pointer; transition: background .2s, color .2s; }
.nx-demo__tabs button.is-on { background: #fff; color: #6a35ff; }
.nx-demo__tabs button.is-on::after { content: ''; position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: #d63aa8; animation: nxTab 4.5s linear forwards; }
.nx-demo.is-paused .nx-demo__tabs button.is-on::after { animation: none; }
.nx-race { display: grid; gap: 12px; margin-bottom: 26px; padding: 18px; border-radius: 22px; background: rgba(15,16,32,.2); }
.nx-race__row { display: grid; grid-template-columns: 112px 1fr 96px; align-items: center; gap: 12px; font-size: 14px; }
.nx-race__row span { opacity: .8; font-weight: 600; }
.nx-race__row b { text-align: right; font-size: 15px; font-weight: 800; }
.nx-race__bar { height: 12px; border-radius: 6px; background: rgba(255,255,255,.12); overflow: hidden; }
.nx-race__bar i { display: block; height: 100%; border-radius: 6px; width: 0; }
.nx-race__bar i.k-old { background: rgba(255,255,255,.4); }
.nx-race__bar i.k-new { background: linear-gradient(90deg,#fff,#ffb3e0); }
.nx-demo.run .nx-race__bar i.k-old { animation: nxOld 1.6s cubic-bezier(.3,0,.3,1) forwards; }
.nx-demo.run .nx-race__bar i.k-new { animation: nxNew .7s cubic-bezier(.22,1,.36,1) .3s forwards; }
.nx-demo__app { border-radius: 26px; background: #fff; color: var(--ink); box-shadow: 0 30px 60px rgba(15,16,32,.35); overflow: hidden; transform: rotate(1.5deg); }
.nx-app__top { display: flex; align-items: center; gap: 6px; padding: 12px 16px; background: #f1f0f7; }
.nx-app__top i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; } .nx-app__top i:nth-child(2) { background: #febc2e; } .nx-app__top i:nth-child(3) { background: #28c840; }
.nx-app__top span { margin-left: auto; padding: 4px 10px; border-radius: 9999px; background: #fff; font-size: 12px; font-weight: 800; color: #6a35ff; }
.nx-app__body { padding: 16px; }
.nx-app__prompt { min-height: 52px; padding: 14px 16px; border-radius: 16px; background: #f4f1fb; font-size: 15px; font-weight: 600; line-height: 1.4; }
.nx-app__prompt .caret { display: inline-block; width: 2px; height: 17px; margin-left: 2px; vertical-align: -3px; background: #6a35ff; animation: nxBlink 1s steps(2) infinite; }
.nx-app__out { position: relative; margin-top: 14px; aspect-ratio: 16/10; border-radius: 18px; background: #f1f0f7; overflow: hidden; }
.nx-app__out::before { content: 'Нейросеть думает…'; position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); font-size: 14px; font-weight: 700; color: #9a98b5; }
.nx-out { position: absolute; inset: 0; opacity: 0; transition: opacity .4s; }
.nx-out.is-on { opacity: 1; }
/* картинка */
.nx-out--img { background: linear-gradient(180deg,#ffb36b,#ff7ab0 55%,#7c4dff); clip-path: inset(0 0 100% 0); }
.nx-out--img.is-on { animation: nxReveal .8s cubic-bezier(.22,1,.36,1) forwards; }
.nx-out--img .k-sun { position: absolute; left: 58%; top: 18%; width: 22%; aspect-ratio: 1; border-radius: 50%; background: #fff3c4; box-shadow: 0 0 60px #fff3c4; }
.nx-out--img .k-hill { position: absolute; bottom: -20%; border-radius: 50%; }
.nx-out--img .k-h1 { left: -10%; width: 80%; height: 60%; background: #3b1d8f; } .nx-out--img .k-h2 { right: -15%; width: 75%; height: 50%; background: #241363; }
.nx-out--img .k-cup { position: absolute; left: 22%; bottom: 14%; width: 18%; height: 22%; border-radius: 0 0 14px 14px; background: #fff; }
.nx-out--img .k-steam { position: absolute; left: 28%; bottom: 38%; width: 6%; height: 16%; border-radius: 9999px; background: rgba(255,255,255,.6); animation: nxSteam 2s ease-in-out infinite; }
/* видео */
.nx-out--vid .k-frame { position: absolute; inset: 0; background: url(/neurostart/img/video.jpg) center/cover; animation: nxKen 6s ease-in-out infinite alternate; }
.nx-out--vid .k-play { position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px; border-radius: 50%; background: rgba(255,255,255,.9); }
.nx-out--vid .k-play::after { content: ''; position: absolute; left: 22px; top: 17px; border-left: 17px solid #6a35ff; border-top: 11px solid transparent; border-bottom: 11px solid transparent; }
.nx-out--vid .k-prog { position: absolute; left: 14px; right: 14px; bottom: 14px; height: 5px; border-radius: 3px; background: rgba(255,255,255,.35); }
.nx-out--vid .k-prog i { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(0); border-radius: 3px; background: #fff; }
.nx-out--vid.is-on .k-prog i { animation: nxProg 4s linear forwards; }
/* таблица */
.nx-out--tab { padding: 16px; background: #fff; display: flex; flex-direction: column; gap: 10px; }
.nx-out--tab .k-grid { flex: 1; display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; }
.nx-out--tab .k-grid i { border-radius: 6px; background: #eceaf5; transform: scaleX(0); transform-origin: left; }
.nx-out--tab .k-grid i:nth-child(-n+3) { background: #2e5dea; }
.nx-out--tab.is-on .k-grid i { animation: nxCellIn .35s ease forwards; }
.nx-out--tab .k-sum { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border-radius: 10px; background: #d63aa8; color: #fff; font-size: 14px; font-weight: 800; opacity: 0; }
.nx-out--tab.is-on .k-sum { animation: nxFade .3s ease .6s forwards; }
/* сайт */
.nx-out--site { padding: 14px; background: #fff; display: flex; flex-direction: column; gap: 8px; }
.nx-out--site > span { display: block; border-radius: 6px; opacity: 0; transform: translateY(8px); }
.nx-out--site .k-nav { height: 10px; background: #eceaf5; }
.nx-out--site .k-h { height: 14px; width: 70%; background: #10163a; } .nx-out--site .k-h.k-s { width: 46%; height: 10px; background: #c9c6dc; }
.nx-out--site .k-hero { flex: 1; background: linear-gradient(135deg,#2e5dea,#7c4dff 55%,#d63aa8); border-radius: 12px; }
.nx-out--site .k-btn { height: 22px; width: 34%; border-radius: 9999px; background: #6a35ff; }
.nx-out--site .k-link { position: absolute; right: 14px; bottom: 14px; padding: 7px 12px; border-radius: 9999px; background: #10163a; color: #fff; font-size: 12px; font-weight: 800; font-variant-emoji: text; }
.nx-out--site.is-on > span { animation: nxUp .45s ease forwards; }
.nx-out--site.is-on > span:nth-child(2) { animation-delay: .1s; } .nx-out--site.is-on > span:nth-child(3) { animation-delay: .2s; } .nx-out--site.is-on > span:nth-child(4) { animation-delay: .3s; } .nx-out--site.is-on > span:nth-child(5) { animation-delay: .4s; } .nx-out--site.is-on > span:nth-child(6) { animation-delay: .6s; }

/* 2. Тёмный бенто на всю ширину */
.nx-bento { position: relative; overflow: hidden; margin: clamp(24px,4vw,48px) 0; padding: clamp(56px,8vw,110px) clamp(16px,4vw,24px); background: #07060f; color: #fff; }
.nx-bento::before, .nx-bento::after { content: ''; position: absolute; border-radius: 50%; pointer-events: none; will-change: transform; }
.nx-bento::before { left: -10%; top: -20%; width: 600px; height: 600px; background: radial-gradient(circle, rgba(106,53,255,.45), transparent 65%); animation: nxGlow 10s ease-in-out infinite; }
.nx-bento::after { right: -10%; bottom: -25%; width: 640px; height: 640px; background: radial-gradient(circle, rgba(214,58,168,.35), transparent 65%); animation: nxGlow 12s ease-in-out infinite reverse; }
.nx-bento__in { position: relative; z-index: 1; max-width: var(--max); margin: 0 auto; }
.nx-bento__head { text-align: center; max-width: 820px; margin: 0 auto clamp(30px,4vw,52px); }
.nx-bento__head .eyebrow { background: rgba(255,255,255,.1); color: #fff; }
.nx-bento__head h2 { margin-top: 14px; font-size: clamp(34px,5vw,68px); font-weight: 800; line-height: 1.02; letter-spacing: -.035em; }
.nx-bento__head h2 span { background: linear-gradient(90deg,#8fa8ff,#c79bff,#ff8ad0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nx-bento__head p { margin-top: 16px; font-size: clamp(16px,1.4vw,18px); color: rgba(255,255,255,.7); }
.nx-bento__grid { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 16px; }
.nx-tile { display: flex; flex-direction: column; border-radius: 28px; background: #13111f; border: 1px solid rgba(255,255,255,.08); overflow: hidden; transition: transform .3s, border-color .3s; opacity: 0; transform: translateY(24px); }
.nx-bento.is-in .nx-tile { animation: nxUp .7s cubic-bezier(.22,1,.36,1) forwards; }
.nx-bento.is-in .nx-tile:nth-child(2) { animation-delay: .1s; } .nx-bento.is-in .nx-tile:nth-child(3) { animation-delay: .2s; } .nx-bento.is-in .nx-tile:nth-child(4) { animation-delay: .3s; } .nx-bento.is-in .nx-tile:nth-child(5) { animation-delay: .4s; } .nx-bento.is-in .nx-tile:nth-child(6) { animation-delay: .5s; } .nx-bento.is-in .nx-tile:nth-child(7) { animation-delay: .6s; }
.nx-tile:hover { border-color: rgba(255,255,255,.22); }
.nx-tile--site, .nx-tile--tab, .nx-tile--biz, .nx-tile--work { grid-column: span 3; }
.nx-tile--img, .nx-tile--vid, .nx-tile--cont { grid-column: span 2; }
.nx-tile__art { position: relative; height: 210px; margin: 10px 10px 0; border-radius: 20px; overflow: hidden; }
.nx-tile--site .nx-tile__art, .nx-tile--tab .nx-tile__art { height: 260px; }
.nx-tile__txt { padding: 20px 22px 24px; }
.nx-tile__tag { display: inline-block; padding: 5px 11px; border-radius: 9999px; background: rgba(255,255,255,.08); font-size: 12px; font-weight: 700; color: rgba(255,255,255,.75); }
.nx-tile h3 { margin-top: 12px; font-size: clamp(20px,1.8vw,26px); font-weight: 800; letter-spacing: -.02em; }
.nx-tile p { margin-top: 6px; font-size: 15px; line-height: 1.45; color: rgba(255,255,255,.62); }
/* сайт */
.nx-tile--site .nx-tile__art { background: linear-gradient(135deg,#2e5dea,#6a35ff); padding: 22px 26px 0; }
.nx-tile--site .k-br { height: 100%; border-radius: 14px 14px 0 0; background: #fff; padding: 12px; display: grid; grid-template-columns: repeat(3,1fr); grid-auto-rows: min-content; gap: 8px; }
.nx-tile--site .k-br > span { grid-column: 1 / -1; display: block; border-radius: 6px; }
.nx-tile--site .k-bar { height: 24px; border-radius: 9999px !important; background: #f1f0f7; padding: 0 12px; display: flex !important; align-items: center; }
.nx-tile--site .k-bar em { font-style: normal; font-size: 12px; font-weight: 700; color: #6a35ff; overflow: hidden; white-space: nowrap; clip-path: inset(0 100% 0 0); animation: nxType 6s steps(18) infinite; }
.nx-tile--site .k-nav { height: 8px; background: #eceaf5; }
.nx-tile--site .k-h { height: 14px; width: 60%; background: #10163a; } .nx-tile--site .k-h.k-s { height: 9px; width: 40%; background: #c9c6dc; }
.nx-tile--site .k-hero { height: 58px; background: linear-gradient(135deg,#ffb36b,#ff7ab0,#7c4dff); background-size: 200% 200%; animation: nxPan 5s ease-in-out infinite; }
.nx-tile--site .k-c { grid-column: auto !important; height: 40px; background: #f1f0f7; animation: nxPulse2 3s ease-in-out infinite; }
.nx-tile--site .k-c2 { animation-delay: .3s; } .nx-tile--site .k-c3 { animation-delay: .6s; }
/* таблица */
.nx-tile--tab .nx-tile__art { background: #0e2a26; display: grid; grid-template-columns: 1.2fr 1fr; gap: 14px; padding: 22px; }
.nx-tile--tab .k-sheet { display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; align-content: start; }
.nx-tile--tab .k-sheet i { height: 22px; border-radius: 5px; background: rgba(255,255,255,.1); animation: nxCellG 4s ease-in-out infinite; }
.nx-tile--tab .k-sheet i:nth-child(-n+3) { background: #12b3a0; animation: none; }
.nx-tile--tab .k-sheet i:nth-child(5) { animation-delay: .3s; } .nx-tile--tab .k-sheet i:nth-child(9) { animation-delay: .6s; } .nx-tile--tab .k-sheet i:nth-child(11) { animation-delay: .9s; }
.nx-tile--tab .k-chart { display: flex; align-items: flex-end; gap: 10px; padding: 12px; border-radius: 12px; background: rgba(255,255,255,.06); }
.nx-tile--tab .k-chart i { flex: 1; height: var(--h); border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg,#4fd1c5,#12b3a0); transform-origin: bottom; animation: nxGrow 4s ease-in-out infinite; }
.nx-tile--tab .k-chart i:nth-child(2) { animation-delay: .15s; } .nx-tile--tab .k-chart i:nth-child(3) { animation-delay: .3s; } .nx-tile--tab .k-chart i:nth-child(4) { animation-delay: .45s; background: linear-gradient(180deg,#ff8ad0,#d63aa8); }
/* картинка */
.nx-tile--img .k-pic { position: absolute; inset: 0; background: linear-gradient(180deg,#ffb36b,#ff7ab0 55%,#7c4dff); animation: nxSharp 5s ease-in-out infinite; }
.nx-tile--img .k-sun { position: absolute; left: 55%; top: 16%; width: 26%; aspect-ratio: 1; border-radius: 50%; background: #fff3c4; box-shadow: 0 0 50px #fff3c4; }
.nx-tile--img .k-hill { position: absolute; bottom: -25%; border-radius: 50%; }
.nx-tile--img .k-h1 { left: -10%; width: 80%; height: 65%; background: #3b1d8f; } .nx-tile--img .k-h2 { right: -15%; width: 75%; height: 52%; background: #241363; }
.nx-tile--img .k-scan { position: absolute; left: 0; right: 0; height: 40%; background: linear-gradient(180deg,transparent,rgba(255,255,255,.35),transparent); animation: nxScan 5s ease-in-out infinite; }
/* видео */
.nx-tile--vid .k-film { position: absolute; inset: 0; }
.nx-tile--vid img { width: 100%; height: 100%; object-fit: cover; animation: nxKen 7s ease-in-out infinite alternate; }
.nx-tile--vid .k-play { position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; margin: -26px; border-radius: 50%; background: rgba(255,255,255,.92); animation: nxPulseW 2.2s ease-in-out infinite; }
.nx-tile--vid .k-play::after { content: ''; position: absolute; left: 20px; top: 16px; border-left: 16px solid #d63aa8; border-top: 10px solid transparent; border-bottom: 10px solid transparent; }
.nx-tile--vid .k-prog { position: absolute; left: 14px; right: 14px; bottom: 14px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.3); }
.nx-tile--vid .k-prog i { display: block; height: 100%; width: 100%; transform-origin: left; border-radius: 2px; background: #fff; animation: nxProgL 6s linear infinite; }
/* контент */
.nx-tile--cont .nx-tile__art { background: linear-gradient(135deg,#d63aa8,#7c4dff); }
.nx-tile--cont .k-feed { position: absolute; left: 50%; top: 50%; width: 200px; height: 150px; margin: -75px 0 0 -100px; }
.nx-tile--cont .k-post { position: absolute; top: 10px; width: 92px; height: 120px; border-radius: 14px; background: #fff; padding: 8px; box-shadow: 0 12px 30px rgba(15,16,32,.3); animation: nxFan 4s ease-in-out infinite; }
.nx-tile--cont .k-post i { display: block; height: 66%; border-radius: 8px; background: linear-gradient(135deg,#ffb36b,#ff7ab0); }
.nx-tile--cont .k-p1 { left: 0; --r: -12deg; transform: rotate(-12deg); } .nx-tile--cont .k-p1 i { background: linear-gradient(135deg,#4fd1c5,#2e5dea); }
.nx-tile--cont .k-p2 { left: 54px; z-index: 2; --r: 0deg; top: 0; } .nx-tile--cont .k-p3 { left: 108px; --r: 12deg; transform: rotate(12deg); } .nx-tile--cont .k-p3 i { background: linear-gradient(135deg,#c79bff,#6a35ff); }
.nx-tile--cont .k-like { position: absolute; right: 14px; top: 14px; padding: 6px 12px; border-radius: 9999px; background: #fff; color: #d63aa8; font-size: 13px; font-weight: 800; animation: nxPop2 3s ease-in-out infinite; font-variant-emoji: text; }
/* бизнес */
.nx-tile--biz .nx-tile__art { background: #2e5dea; display: flex; align-items: center; justify-content: center; gap: 18px; }
.nx-tile--biz .k-ad { width: 46%; max-width: 220px; padding: 10px; border-radius: 16px; background: #fff; display: flex; flex-direction: column; gap: 7px; box-shadow: 0 16px 34px rgba(15,16,32,.3); transform: rotate(-3deg); }
.nx-tile--biz .k-ph { height: 70px; border-radius: 10px; background: linear-gradient(135deg,#ffb36b,#d63aa8); }
.nx-tile--biz .k-t { height: 8px; border-radius: 4px; background: #10163a; width: 80%; } .nx-tile--biz .k-t.k-s { width: 55%; background: #c9c6dc; }
.nx-tile--biz .k-cta { align-self: flex-start; padding: 6px 12px; border-radius: 9999px; background: #6a35ff; color: #fff; font-size: 11px; font-weight: 800; animation: nxPulse2 2s ease-in-out infinite; }
.nx-tile--biz .k-leads { padding: 16px 18px; border-radius: 18px; background: rgba(255,255,255,.16); text-align: center; }
.nx-tile--biz .k-leads b { display: block; font-size: 44px; font-weight: 800; line-height: 1; }
.nx-tile--biz .k-leads span { font-size: 13px; font-weight: 700; opacity: .85; }
/* учёба и работа */
.nx-tile--work .nx-tile__art { background: #f4f1fb; display: grid; place-items: center; }
.nx-tile--work .k-doc { width: 56%; max-width: 260px; padding: 16px; border-radius: 14px; background: #fff; box-shadow: 0 16px 34px rgba(30,40,120,.15); display: flex; flex-direction: column; gap: 8px; }
.nx-tile--work .k-doc .k-h { display: block; height: 12px; width: 60%; border-radius: 6px; background: #10163a; }
.nx-tile--work .k-doc i { position: relative; display: block; height: 8px; border-radius: 4px; background: #e6e5f0; }
.nx-tile--work .k-doc i.k-m::after { content: ''; position: absolute; inset: -2px 0; border-radius: 4px; background: rgba(255,214,0,.7); transform-origin: left; transform: scaleX(0); animation: nxHl 4s ease-in-out infinite; }
.nx-tile--work .k-doc i.k-s { width: 70%; } .nx-tile--work .k-doc i.k-s::after { animation-delay: .6s; }
.nx-tile--work .k-badge { position: absolute; right: 16px; top: 16px; padding: 7px 12px; border-radius: 9999px; background: #12b3a0; color: #fff; font-size: 13px; font-weight: 800; animation: nxPop2 4s ease-in-out infinite; font-variant-emoji: text; }
.nx-bento__cta { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: clamp(24px,3vw,36px); padding: 16px 16px 16px 28px; border-radius: 9999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.nx-bento__cta span { font-size: 17px; font-weight: 700; }

@keyframes nxGlow { 50% { transform: translate(40px,-30px) scale(1.1); } }
@keyframes nxTab { to { width: 100%; } }
@keyframes nxOld { from { width: 0; } to { width: 100%; } }
@keyframes nxNew { from { width: 0; } to { width: var(--nw, 8%); } }
@keyframes nxReveal { to { clip-path: inset(0 0 0 0); } }
@keyframes nxSteam { 50% { transform: translateY(-8px); opacity: .3; } }
@keyframes nxKen { from { transform: scale(1); } to { transform: scale(1.12) translateX(-3%); } }
@keyframes nxProg { to { transform: scaleX(1); } }
@keyframes nxCellIn { to { transform: scaleX(1); } }
@keyframes nxFade { to { opacity: 1; } }
@keyframes nxUp { to { opacity: 1; transform: none; } }
@keyframes nxType { 0%,5% { clip-path: inset(0 100% 0 0); } 45%,90% { clip-path: inset(0 0 0 0); } 100% { clip-path: inset(0 100% 0 0); } }
@keyframes nxPan { 50% { background-position: 100% 100%; } }
@keyframes nxPulse2 { 50% { opacity: .55; } }
@keyframes nxCellG { 0%,20% { background: rgba(255,255,255,.1); } 35%,80% { background: rgba(79,209,197,.55); } 100% { background: rgba(255,255,255,.1); } }
@keyframes nxSharp { 0%,10% { opacity: .35; transform: scale(1.1); } 45%,90% { opacity: 1; transform: none; } 100% { opacity: .35; transform: scale(1.1); } }
@keyframes nxScan { 0% { top: -40%; } 45%,100% { top: 110%; } }
@keyframes nxPulseW { 50% { box-shadow: 0 0 0 14px rgba(255,255,255,.15); } }
@keyframes nxProgL { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes nxFan { 50% { transform: rotate(var(--r)) translateY(-8px); } }
@keyframes nxPop2 { 0%,100% { transform: scale(1); } 10% { transform: scale(1.15); } 20% { transform: scale(1); } }

@media (max-width: 980px) {
  .nx-demo { grid-template-columns: 1fr; }
  .nx-demo__app { transform: none; }
  .nx-demo__copy { display: contents; }
  .nx-demo__copy > * { position: relative; z-index: 1; }
  .nx-demo h2 { order: 1; } .nx-demo .nx-lead { order: 2; margin-top: -12px; } .nx-demo__tabs { order: 3; margin: 0; } .nx-demo__app { order: 4; } .nx-race { order: 5; margin: 0; } .nx-demo > .ns-btn, .nx-demo__copy > .ns-btn { order: 6; }
  .nx-bento__grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .nx-bento__grid .nx-tile { grid-column: span 1; }
  .nx-bento__grid .nx-tile--site { grid-column: span 2; }
}
@media (max-width: 760px) {
  .nx-demo { border-radius: 26px; }
  .nx-demo .ns-btn { width: 100%; }
  .nx-race__row { grid-template-columns: 100px 1fr 76px; font-size: 12px; gap: 8px; } .nx-race__row span { white-space: nowrap; }
  .nx-race__row b { font-size: 13px; }
  .nx-demo__tabs button { padding: 10px 14px; font-size: 14px; }
  .nx-bento__grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 84%; overflow-x: auto; scroll-snap-type: x mandatory; margin-right: -16px; padding-right: 16px; scrollbar-width: none; }
  .nx-bento__grid::-webkit-scrollbar { display: none; }
  .nx-bento__grid .nx-tile { grid-column: auto; scroll-snap-align: start; }
  .nx-tile__art, .nx-tile--site .nx-tile__art, .nx-tile--tab .nx-tile__art { height: 200px; }
  .nx-bento__cta { flex-direction: column; align-items: stretch; text-align: center; border-radius: 26px; padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .nx-bento *, .nx-demo *, .nx-bento::before, .nx-bento::after, .nx-demo::before { animation: none !important; }
  .nx-tile, .nx-out--site > span, .nx-out--tab .sum { opacity: 1 !important; transform: none !important; }
  .nx-out--img { clip-path: none !important; } .nx-out--tab .grid i { transform: none !important; }
}


/* ===== Первый урок: тёмный кинозал с плейлистом ===== */
.nx-cin { position: relative; overflow: hidden; padding: clamp(28px,4.4vw,56px); border-radius: 40px; background: #0f1020; color: #fff; box-shadow: 0 30px 70px rgba(15,16,32,.3); }
.nx-cin::before { content: ''; position: absolute; left: 50%; top: -260px; width: 900px; height: 520px; margin-left: -450px; border-radius: 50%; background: radial-gradient(ellipse, rgba(106,53,255,.5), transparent 65%); pointer-events: none; }
.nx-cin > * { position: relative; z-index: 1; }
.nx-cin__head { text-align: center; max-width: 760px; margin: 0 auto clamp(24px,3.4vw,40px); }
.nx-live { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 9999px; background: rgba(255,255,255,.1); font-size: 13px; font-weight: 800; }
.nx-live i { width: 8px; height: 8px; border-radius: 50%; background: #ff4f86; box-shadow: 0 0 0 0 rgba(255,79,134,.6); animation: nxLive 1.6s ease-out infinite; }
.nx-cin__head h2 { margin-top: 16px; font-size: clamp(32px,4.4vw,60px); font-weight: 800; line-height: 1.04; letter-spacing: -.035em; }
.nx-cin__head h2 span { background: linear-gradient(90deg,#8fa8ff,#c79bff,#ff8ad0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nx-cin__head p { margin-top: 14px; font-size: clamp(16px,1.4vw,18px); line-height: 1.5; color: rgba(255,255,255,.72); }
.nx-cin__stage { display: grid; grid-template-columns: minmax(0,1.7fr) minmax(0,1fr); gap: 18px; align-items: stretch; }
.nx-cin .ns-player { width: 100%; height: auto; aspect-ratio: 16/9; box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 30px 60px rgba(0,0,0,.5); }
.nx-pl { contain: size; display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: 24px; background: #181629; border: 1px solid rgba(255,255,255,.08); min-height: 0; }
.nx-pl__head { display: flex; justify-content: space-between; align-items: baseline; padding: 2px 4px; }
.nx-pl__head b { font-size: 17px; } .nx-pl__head span { font-size: 13px; color: rgba(255,255,255,.55); font-weight: 600; }
.nx-pl__list { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 6px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.2) transparent; }
.nx-pl__it { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 10px; padding: 9px 10px; border: 0; border-radius: 14px; background: transparent; color: #fff !important; font: inherit; text-align: left; cursor: pointer; transition: background .2s; opacity: 0; transform: translateX(12px); }
.nx-cin.is-in .nx-pl__it { animation: nxUp .5s ease forwards; }
.nx-cin.is-in .nx-pl__it:nth-child(2) { animation-delay: .06s; } .nx-cin.is-in .nx-pl__it:nth-child(3) { animation-delay: .12s; } .nx-cin.is-in .nx-pl__it:nth-child(4) { animation-delay: .18s; } .nx-cin.is-in .nx-pl__it:nth-child(5) { animation-delay: .24s; } .nx-cin.is-in .nx-pl__it:nth-child(6) { animation-delay: .3s; } .nx-cin.is-in .nx-pl__it:nth-child(7) { animation-delay: .36s; } .nx-cin.is-in .nx-pl__it:nth-child(8) { animation-delay: .42s; }
.nx-pl__it:hover { background: rgba(255,255,255,.06); }
.nx-pl__it.is-now { background: linear-gradient(135deg,#6a35ff,#d63aa8); }
.nx-pl__it .n { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: rgba(255,255,255,.08); font-size: 13px; font-weight: 800; }
.nx-pl__it.is-now .n { background: #fff; color: #6a35ff; }
.nx-pl__it .t { min-width: 0; display: flex; flex-direction: column; }
.nx-pl__it em { font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.nx-pl__it.is-now em { color: rgba(255,255,255,.8); }
.nx-pl__it b { font-size: 14px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nx-pl__it .st { font-size: 11px; font-weight: 800; white-space: nowrap; font-variant-emoji: text; }
.nx-pl__it .st.lock { padding: 4px 8px; border-radius: 9999px; background: rgba(18,179,160,.18); color: #4fd1c5; }
.nx-pl .ns-btn { width: 100%; padding: 15px 20px; }
@keyframes nxLive { 70% { box-shadow: 0 0 0 9px rgba(255,79,134,0); } 100% { box-shadow: 0 0 0 0 rgba(255,79,134,0); } }

/* ===== Финал: бесплатный старт ===== */
.nx-final .cta-panel { background: radial-gradient(circle at 0% 100%, rgba(214,58,168,.45), transparent 45%), var(--blue); box-shadow: 0 30px 70px rgba(46,93,234,.3); }
.nx-final__badge { display: inline-block; margin-bottom: 16px; padding: 7px 14px; border-radius: 9999px; background: rgba(255,255,255,.18); font-size: 13px; font-weight: 800; }
.nx-final .cta-panel h2 { font-weight: 800; letter-spacing: -.03em; }
.nx-final .cta-panel p { margin: 14px 0 20px; }
.nx-final__keep { list-style: none; display: grid; gap: 10px; margin: 0 0 26px; padding: 0; }
.nx-final__keep li { display: grid; grid-template-columns: 26px 1fr; column-gap: 12px; align-items: center; text-align: left; }
.nx-final__keep li::before { content: '✓'; grid-row: span 2; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #fff; color: var(--blue); font-size: 13px; font-weight: 900; }
.nx-final__keep b { font-size: 16px; } .nx-final__keep span { font-size: 14px; opacity: .78; }

/* ===== Следующий шаг: полный курс ===== */
.nx-next__card { padding: clamp(24px,4vw,48px); border-radius: 40px; background: #fff; color: var(--ink); box-shadow: 0 24px 60px rgba(30,40,120,.1); }
.nx-path { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; padding: clamp(16px,2vw,22px); border-radius: 26px; background: #f4f1fb; }
.nx-path__node { display: flex; flex-direction: column; gap: 2px; padding: 14px 18px; border-radius: 18px; background: #fff; box-shadow: 0 8px 20px rgba(30,40,120,.06); }
.nx-path__node .tag { align-self: flex-start; margin-bottom: 6px; padding: 4px 10px; border-radius: 9999px; background: #eceaf5; font-size: 11px; font-weight: 800; color: var(--muted); }
.nx-path__node b { font-size: clamp(17px,1.6vw,21px); font-weight: 800; }
.nx-path__node em { font-style: normal; font-size: 13px; color: var(--muted); }
.nx-path__node.is-next { background: linear-gradient(135deg,#6a35ff,#d63aa8); color: #fff; }
.nx-path__node.is-next .tag { background: rgba(255,255,255,.2); color: #fff; } .nx-path__node.is-next em { color: rgba(255,255,255,.82); }
.nx-path__line { container-type: inline-size; position: relative; height: 4px; border-radius: 2px; background: repeating-linear-gradient(90deg,#c9c3e6 0 10px,transparent 10px 18px); }
.nx-path__line i { position: absolute; left: 0; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; background: #6a35ff; box-shadow: 0 0 0 6px rgba(106,53,255,.18); animation: nxTravel 3s ease-in-out infinite; }
.nx-next__body { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.1fr); gap: clamp(20px,3vw,40px); align-items: center; margin-top: clamp(24px,3vw,36px); }
.nx-next__copy h2 { font-size: clamp(28px,3.4vw,46px); font-weight: 800; line-height: 1.06; letter-spacing: -.03em; }
.nx-next__copy p { margin: 14px 0 24px; font-size: clamp(15px,1.3vw,17px); line-height: 1.55; color: var(--muted); }
.nx-next__btn { display: inline-flex; padding: 16px 28px; border-radius: 9999px; background: #10163a; color: #fff !important; font-size: 16px; font-weight: 800; transition: background .2s, transform .2s; }
.nx-next__btn:hover { background: #6a35ff; transform: translateY(-2px); }
.nx-next__feat { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.nx-next__feat > div { display: grid; grid-template-columns: 44px 1fr; column-gap: 12px; align-items: center; padding: 14px; border-radius: 20px; background: #f4f1fb; }
.nx-next__feat span { grid-row: span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--c); color: #fff; font-size: 15px; font-weight: 800; font-variant-emoji: text; }
.nx-next__feat b { font-size: 15px; font-weight: 800; } .nx-next__feat em { font-style: normal; font-size: 13px; line-height: 1.35; color: var(--muted); }
@keyframes nxTravel { 0% { transform: none; } 50%,60% { transform: translateX(calc(100cqw - 14px)); } 100% { transform: none; } }

@media (max-width: 980px) {
  .nx-cin__stage { grid-template-columns: 1fr; }
  .nx-pl { contain: none; }
  .nx-pl__list { max-height: none; overflow: visible; }
  .nx-next__body { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nx-cin, .nx-next__card { border-radius: 26px; }
  .nx-cin__head { text-align: left; }
  .nx-pl__it:nth-child(n+5) { display: none; }
  .nx-path { grid-template-columns: 1fr; gap: 10px; }
  .nx-path__line { width: 4px; height: 34px; margin-left: 28px; background: repeating-linear-gradient(180deg,#c9c3e6 0 8px,transparent 8px 14px); }
  .nx-path__line i { left: 50% !important; margin-left: -7px; top: 0; margin-top: 0; animation-name: nxTravelV; }
  .nx-next__feat { grid-template-columns: 1fr; }
  .nx-next__btn { width: 100%; justify-content: center; }
  .nx-final__keep { justify-content: center; }
}
@keyframes nxTravelV { 0% { transform: none; } 50%,60% { transform: translateY(20px); } 100% { transform: none; } }
@media (prefers-reduced-motion: reduce) { .nx-pl__it { opacity: 1; transform: none; animation: none !important; } .nx-path__line i, .nx-live i { animation: none; } }


/* ===== Производительность: всё, что вне экрана, стоит на паузе ===== */
.is-off, .is-off *, .is-off *::before, .is-off *::after, .is-off::before, .is-off::after { animation-play-state: paused !important; }
.nx-bento, .nx-cin, .nx-demo, .nx-who, #why, #money { contain: layout paint; }
/* ===== Горизонтальные слайдеры на телефоне: только по горизонтали, без обрезки теней ===== */
@media (max-width: 760px) {
  .nx-bento__grid, .era-steps, .nx-who__grid, .px-fmt__grid, .px-jobs__panel, .c-gets__grid, .c-fears, .c-steps__list, .px-pains__grid {
    overflow-y: hidden !important; overscroll-behavior-x: contain; touch-action: pan-x pan-y; -webkit-overflow-scrolling: touch;
    padding-top: 16px !important; padding-bottom: 30px !important; margin-top: -16px !important; margin-bottom: -18px !important;
    align-items: stretch;
  }
  .nx-bento__grid, .era-steps { margin-left: -16px !important; margin-right: -16px !important; padding-left: 16px !important; padding-right: 16px !important; scroll-padding-inline: 16px; }
  .nx-bento__grid > *, .era-steps > *, .nx-who__grid > *, .px-fmt__grid > *, .px-jobs__panel > *, .c-gets__grid > *, .c-fears > *, .c-steps__list > * { scroll-snap-align: start; }
  .px-roles__tabs, .c-inds__chips, .m-build__opts, .m-prog__tabs, .m-course__list { overflow-y: hidden !important; overscroll-behavior-x: contain; touch-action: pan-x pan-y; }
  .nx-bento .nx-tile, .nx-who__card, .px-card, .px-job { transform: none !important; }
}

/* карточка «Картинки и дизайн»: настоящая иллюстрация вместо нарисованного заката */
.nx-tile--img .k-photo { position: absolute; inset: 0; overflow: hidden; }
.nx-tile--img .k-photo img { width: 100%; height: 100%; object-fit: cover; display: block; animation: nxKen 7s ease-in-out infinite alternate; }
.nx-tile--img .k-scan { opacity: .6; }
