/* ==========================================================================
   AUR II — «Разработка» (studio landing block)  v20261016a
   Премиальный тёмный блок. Все селекторы с префиксом .nx-dev- —
   светлый лендинг (style.css) не затрагивается.
   ========================================================================== */

.nx-dev-root {
    --nx-dev-bg: #0b0d14;
    --nx-dev-bg-2: #10131d;
    --nx-dev-card: rgba(255, 255, 255, 0.035);
    --nx-dev-card-hover: rgba(255, 255, 255, 0.06);
    --nx-dev-line: rgba(255, 255, 255, 0.08);
    --nx-dev-text: #e9ebf3;
    --nx-dev-muted: #9aa0b4;
    --nx-dev-accent: #8b93ff;
    --nx-dev-accent-2: #c58bff;
    --nx-dev-gold: #f3c97a;
    --nx-dev-ok: #43d39e;
    --nx-dev-warn: #f3b44f;
    --nx-dev-off: #6b7186;
    --nx-dev-radius: 18px;
    position: relative;
    background: var(--nx-dev-bg);
    color: var(--nx-dev-text);
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
}

.nx-dev-root *,
.nx-dev-root *::before,
.nx-dev-root *::after { box-sizing: border-box; }

.nx-dev-wrap {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* ---------- typography ---------- */
.nx-dev-root h1, .nx-dev-root h2, .nx-dev-root h3,
.nx-dev-root p, .nx-dev-root a, .nx-dev-root li,
.nx-dev-root label, .nx-dev-root strong, .nx-dev-root small { color: inherit; }

.nx-dev-kicker {
    display: inline-block;
    padding: 6px 14px;
    border: 1px solid var(--nx-dev-line);
    border-radius: 999px;
    font-size: 12px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--nx-dev-gold);
    background: rgba(243, 201, 122, 0.06);
}

.nx-dev-h2 {
    font-size: clamp(26px, 3.2vw, 38px);
    line-height: 1.15;
    font-weight: 700;
    margin: 0 0 10px;
    letter-spacing: -.01em;
}

.nx-dev-h3 {
    font-size: 19px;
    line-height: 1.3;
    font-weight: 600;
    margin: 0 0 8px;
}

.nx-dev-root .nx-dev-muted,
.nx-dev-root .nx-dev-text { color: var(--nx-dev-muted); line-height: 1.65; margin: 0; }
.nx-dev-root .nx-dev-text { font-size: 15px; }

.nx-dev-empty { color: var(--nx-dev-muted); text-align: center; padding: 30px 0; }

/* ---------- buttons ---------- */
.nx-dev-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 0 26px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none !important;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.nx-dev-btn:focus-visible { outline: 2px solid var(--nx-dev-accent); outline-offset: 3px; }
.nx-dev-root .nx-dev-btn--primary {
    color: #fff;
    background: linear-gradient(135deg, var(--nx-dev-accent), var(--nx-dev-accent-2));
    box-shadow: 0 10px 30px -10px rgba(139, 147, 255, .7);
}
.nx-dev-root .nx-dev-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(139, 147, 255, .85); color: #fff; }
.nx-dev-root .nx-dev-btn--ghost {
    color: var(--nx-dev-text);
    background: rgba(255, 255, 255, .04);
    border-color: var(--nx-dev-line);
}
.nx-dev-root .nx-dev-btn--ghost:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .18); color: #fff; }
.nx-dev-btn--block { width: 100%; }
.nx-dev-btn[disabled] { opacity: .6; cursor: progress; transform: none; }

.nx-dev-badge {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 3px 9px;
    border-radius: 999px;
    color: #1a1406;
    background: var(--nx-dev-gold);
}

/* ---------- hero ---------- */
.nx-dev-hero {
    position: relative;
    padding: 120px 0 90px;
    text-align: center;
    background:
        radial-gradient(ellipse 60% 50% at 50% 0%, rgba(139, 147, 255, .18), transparent 70%),
        linear-gradient(180deg, #0d1020 0%, var(--nx-dev-bg) 100%);
    border-bottom: 1px solid var(--nx-dev-line);
}
.nx-dev-hero__glow {
    position: absolute;
    inset: auto 0 -240px;
    margin: 0 auto;
    width: 760px;
    height: 480px;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(197, 139, 255, .16), transparent);
    filter: blur(20px);
    pointer-events: none;
}
.nx-dev-hero__title {
    font-size: clamp(36px, 6vw, 68px);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -.02em;
    margin: 22px auto 18px;
    max-width: 900px;
    background: linear-gradient(180deg, #fff 30%, #b9bde0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.nx-dev-root .nx-dev-hero__lead {
    max-width: 680px;
    margin: 0 auto 34px;
    font-size: clamp(16px, 1.6vw, 19px);
    line-height: 1.65;
    color: var(--nx-dev-muted);
}
.nx-dev-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.nx-dev-hero__points {
    list-style: none;
    padding: 0;
    margin: 38px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 28px;
    justify-content: center;
}
.nx-dev-root .nx-dev-hero__points li {
    position: relative;
    padding-left: 24px;
    font-size: 14px;
    color: var(--nx-dev-muted);
}
.nx-dev-hero__points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 14px;
    height: 14px;
    margin-top: -7px;
    border-radius: 50%;
    background: rgba(67, 211, 158, .15);
    box-shadow: inset 0 0 0 1px rgba(67, 211, 158, .55);
}
.nx-dev-hero__points li::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 50%;
    width: 6px;
    height: 3px;
    margin-top: -3px;
    border-left: 2px solid var(--nx-dev-ok);
    border-bottom: 2px solid var(--nx-dev-ok);
    transform: rotate(-45deg);
}

/* ---------- sections ---------- */
.nx-dev-section { padding: 90px 0; }
.nx-dev-section--alt { background: var(--nx-dev-bg-2); border-top: 1px solid var(--nx-dev-line); border-bottom: 1px solid var(--nx-dev-line); }
.nx-dev-section__head { text-align: center; max-width: 680px; margin: 0 auto 44px; }

.nx-dev-grid { display: grid; gap: 22px; }
.nx-dev-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.nx-dev-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.nx-dev-card {
    background: var(--nx-dev-card);
    border: 1px solid var(--nx-dev-line);
    border-radius: var(--nx-dev-radius);
    padding: 26px;
    transition: background .25s ease, border-color .25s ease, transform .25s ease;
}
.nx-dev-card:hover { background: var(--nx-dev-card-hover); border-color: rgba(255, 255, 255, .14); }

/* reveal on scroll (JS adds .is-in; без JS всё видно) */
.nx-dev-js .nx-dev-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.nx-dev-js .nx-dev-reveal.is-in { opacity: 1; transform: none; }

/* ---------- portfolio ---------- */
.nx-dev-case { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.nx-dev-case:hover { transform: translateY(-4px); }
.nx-dev-case__media { aspect-ratio: 16 / 10; background: linear-gradient(135deg, #1a1f36, #241a36); position: relative; overflow: hidden; }
.nx-dev-case__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nx-dev-case__mono {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    font-weight: 800;
    color: rgba(255, 255, 255, .12);
}
.nx-dev-case__body { padding: 22px 24px 26px; }
.nx-dev-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.nx-dev-tag {
    font-size: 11px;
    letter-spacing: .04em;
    padding: 4px 10px;
    border-radius: 999px;
    color: var(--nx-dev-accent);
    background: rgba(139, 147, 255, .1);
    border: 1px solid rgba(139, 147, 255, .2);
}
.nx-dev-root .nx-dev-link { display: inline-block; margin-top: 14px; color: var(--nx-dev-accent); font-weight: 600; text-decoration: none; }
.nx-dev-root .nx-dev-link:hover { color: #fff; }

/* ---------- reviews ---------- */
.nx-dev-review { margin: 0; display: flex; flex-direction: column; gap: 18px; }
.nx-dev-stars span { color: rgba(255, 255, 255, .15); font-size: 16px; margin-right: 2px; }
.nx-dev-stars span.is-on { color: var(--nx-dev-gold); }
.nx-dev-review__text { margin: 0; font-size: 17px; line-height: 1.65; color: var(--nx-dev-text); border: 0; padding: 0; }
.nx-dev-person { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.nx-dev-person strong { display: block; font-size: 15px; }
.nx-dev-person small { display: block; font-size: 13px; color: var(--nx-dev-muted); }
.nx-dev-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: 0 0 44px; }
.nx-dev-avatar--mono {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, var(--nx-dev-accent), var(--nx-dev-accent-2));
}

/* ---------- slots ---------- */
.nx-dev-slots { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; max-width: 920px; margin: 0 auto; }
.nx-dev-slot {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    border-radius: 14px;
    border: 1px solid var(--nx-dev-line);
    background: var(--nx-dev-card);
}
.nx-dev-slot__dot { width: 10px; height: 10px; border-radius: 50%; flex: 0 0 10px; background: var(--nx-dev-ok); box-shadow: 0 0 0 4px rgba(67, 211, 158, .14); }
.nx-dev-slot__body { flex: 1 1 auto; min-width: 0; }
.nx-dev-slot__body strong { display: block; font-size: 16px; }
.nx-dev-slot__body small { display: block; font-size: 13px; color: var(--nx-dev-muted); }
.nx-dev-slot__badge { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; color: var(--nx-dev-ok); background: rgba(67, 211, 158, .1); white-space: nowrap; }
.nx-dev-slot--few .nx-dev-slot__dot { background: var(--nx-dev-warn); box-shadow: 0 0 0 4px rgba(243, 180, 79, .14); }
.nx-dev-slot--few .nx-dev-slot__badge { color: var(--nx-dev-warn); background: rgba(243, 180, 79, .1); }
.nx-dev-slot--busy { opacity: .6; }
.nx-dev-slot--busy .nx-dev-slot__dot { background: var(--nx-dev-off); box-shadow: none; }
.nx-dev-slot--busy .nx-dev-slot__badge { color: var(--nx-dev-off); background: rgba(255, 255, 255, .05); }

/* ---------- team ---------- */
.nx-dev-member { text-align: center; }
.nx-dev-member__photo {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 16px;
    display: flex;
    font-size: 34px;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, .04);
}
.nx-dev-member__role { display: block; font-size: 13px; color: var(--nx-dev-gold); margin-bottom: 10px; letter-spacing: .02em; }

/* ---------- lead + voice ---------- */
.nx-dev-section--cta {
    background:
        radial-gradient(ellipse 50% 60% at 15% 100%, rgba(139, 147, 255, .12), transparent 70%),
        radial-gradient(ellipse 40% 50% at 90% 0%, rgba(197, 139, 255, .1), transparent 70%),
        var(--nx-dev-bg);
}
.nx-dev-lead { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 22px; align-items: stretch; }
.nx-dev-lead__form { padding: 36px; }
.nx-dev-form { margin-top: 24px; display: flex; flex-direction: column; gap: 16px; }
.nx-dev-field { display: flex; flex-direction: column; gap: 8px; margin: 0; }
.nx-dev-field > span { font-size: 13px; font-weight: 500; color: var(--nx-dev-muted); }
.nx-dev-root .nx-dev-field input,
.nx-dev-root .nx-dev-field textarea {
    width: 100%;
    padding: 14px 16px;
    font-size: 15px;
    color: var(--nx-dev-text);
    background: rgba(0, 0, 0, .25);
    border: 1px solid var(--nx-dev-line);
    border-radius: 12px;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
    resize: vertical;
}
.nx-dev-root .nx-dev-field input::placeholder,
.nx-dev-root .nx-dev-field textarea::placeholder { color: rgba(154, 160, 180, .55); }
.nx-dev-root .nx-dev-field input:focus,
.nx-dev-root .nx-dev-field textarea:focus { border-color: var(--nx-dev-accent); box-shadow: 0 0 0 3px rgba(139, 147, 255, .18); }
.nx-dev-field.is-invalid input { border-color: #ff6b81; }
.nx-dev-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.nx-dev-form__status { min-height: 1.4em; margin: 0; font-size: 14px; color: var(--nx-dev-muted); }
.nx-dev-form__status.is-ok { color: var(--nx-dev-ok); }
.nx-dev-form__status.is-err { color: #ff8a9b; }
.nx-dev-form__status.is-soon { color: var(--nx-dev-gold); }
.nx-dev-root .nx-dev-form__privacy { margin: 0; font-size: 12px; color: var(--nx-dev-off); }

.nx-dev-voice { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 36px 28px; gap: 6px; }
.nx-dev-voice__orb { position: relative; width: 92px; height: 92px; margin-bottom: 18px; }
.nx-dev-voice__orb span {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid rgba(139, 147, 255, .45);
    animation: nx-dev-pulse 3s ease-out infinite;
}
.nx-dev-voice__orb span:nth-child(2) { animation-delay: 1s; }
.nx-dev-voice__orb span:nth-child(3) { animation-delay: 2s; }
.nx-dev-voice__orb::after {
    content: "";
    position: absolute;
    inset: 26px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--nx-dev-accent), var(--nx-dev-accent-2));
    box-shadow: 0 0 30px rgba(139, 147, 255, .6);
}
.nx-dev-voice__btn { margin-top: 18px; }
.nx-dev-voice__mic { width: 10px; height: 16px; border: 2px solid currentColor; border-radius: 6px; position: relative; }
.nx-dev-voice__status { min-height: 1.4em; margin: 10px 0 0; font-size: 14px; color: var(--nx-dev-gold); }

@keyframes nx-dev-pulse {
    0% { transform: scale(.55); opacity: .9; }
    100% { transform: scale(1.25); opacity: 0; }
}

/* ---------- responsive ---------- */
@media (max-width: 991px) {
    .nx-dev-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .nx-dev-lead { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .nx-dev-hero { padding: 90px 0 64px; }
    .nx-dev-section { padding: 64px 0; }
    .nx-dev-grid--2,
    .nx-dev-grid--3 { grid-template-columns: 1fr; }
    .nx-dev-lead__form { padding: 26px 20px; }
    .nx-dev-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .nx-dev-voice__orb span { animation: none; }
    .nx-dev-js .nx-dev-reveal { opacity: 1; transform: none; transition: none; }
}
