/* ═══ НЕЙРОДЕВИЧНИК ═══ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg: #0a0a0f;
    --surface: rgba(255,255,255,0.02);
    --surface-hover: rgba(255,255,255,0.04);
    --border: rgba(255,255,255,0.06);
    --border-bright: rgba(255,255,255,0.12);
    --text: #e8e8e8;
    --text-muted: rgba(255,255,255,0.5);
    --text-dim: rgba(255,255,255,0.25);
    --pink: #f472b6;
    --pink-dim: rgba(244,114,182,0.12);
    --pink-glow: rgba(244,114,182,0.3);
    --pink-bright: #fb7ec5;
    --red: #ef4444;
    --red-dim: rgba(239,68,68,0.15);
    --cyan: #06b6d4;
    --amber: #f59e0b;
    --font: 'Inter', -apple-system, sans-serif;
    --mono: 'JetBrains Mono', 'Fira Code', monospace;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

html { font-size: 15px; scroll-behavior: smooth; overflow: hidden; }
html.scrollable { overflow: auto; }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    overflow-x: hidden;
}

a { color: var(--pink); text-decoration: none; transition: color 0.3s; }
a:hover { color: #fff; }

::selection { background: var(--pink); color: var(--bg); }

/* ═══ Boot Sequence ═══ */
.boot {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity 0.6s var(--ease);
}

.boot.exit {
    opacity: 0;
    pointer-events: none;
}

.boot-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.boot-title {
    font-family: var(--sans);
    font-size: clamp(3rem, 10vw, 7rem);
    font-weight: 700;
    color: var(--pink);
    letter-spacing: -0.03em;
    text-shadow: 0 0 30px var(--pink-glow), 0 0 60px rgba(244,114,182,0.2);
    animation: glitch-boot 3s ease infinite;
    text-align: center;
}

@keyframes glitch-boot {
    0%, 90%, 100% { text-shadow: 0 0 30px var(--pink-glow); transform: translate(0); }
    91% { text-shadow: -4px 0 #ff00ff, 4px 0 #00ffff; transform: translate(-3px, 1px); }
    93% { text-shadow: 4px 0 #ff00ff, -4px 0 #00ffff; transform: translate(3px, -2px); }
    95% { text-shadow: -2px 0 #ff00ff, 2px 0 #00ffff; transform: translate(1px, 0); }
    96% { text-shadow: 0 0 30px var(--pink-glow); transform: translate(0); }
}

.boot-screen {
    font-family: var(--mono);
    font-size: 0.9375rem;
    line-height: 2;
    color: var(--pink);
    max-width: 650px;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.boot-line {
    opacity: 0;
    transform: translateY(5px);
    transition: opacity 0.3s, transform 0.3s;
}

.boot-line.visible {
    opacity: 1;
    transform: translateY(0);
}

.ok {
    color: var(--pink);
    font-weight: 700;
}

.highlight {
    color: var(--amber);
    font-weight: 700;
}

.cursor {
    animation: cursor-blink 1s step-end infinite;
}

@keyframes cursor-blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.boot-enter {
    margin-top: 1rem;
    color: var(--text-muted);
}

/* ═══ Main Content (hidden until boot complete) ═══ */
.main-content {
    display: none;
}

.main-content.active {
    display: block;
}

/* ═══ Scanline overlay ═══ */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0,0,0,0.03) 2px,
        rgba(0,0,0,0.03) 4px
    );
    pointer-events: none;
    z-index: 100;
}

/* ═══ Navigation ═══ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    background: rgba(10,10,15,0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.nav-logo {
    font-family: var(--mono);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--pink);
    text-transform: uppercase;
}

.nav-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--mono);
    font-size: 0.625rem;
    color: var(--text-dim);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.nav-dot {
    width: 6px;
    height: 6px;
    background: var(--pink);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--pink-glow);
    animation: pulse 2s ease infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.nav-cta {
    font-family: var(--mono);
    font-size: 0.6875rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--bg);
    background: var(--pink);
    padding: 0.5rem 1.25rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s var(--ease);
    text-decoration: none;
}

.nav-cta:hover {
    background: #fff;
    color: var(--bg);
    box-shadow: 0 0 20px var(--pink-glow);
}

/* ═══ Hero ═══ */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 6rem 2rem 4rem;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--pink-dim) 0%, transparent 70%);
    pointer-events: none;
}

.hero-alert {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--mono);
    font-size: 0.6875rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--red);
    background: var(--red-dim);
    border: 1px solid rgba(239,68,68,0.2);
    padding: 0.5rem 1rem;
    margin-bottom: 2rem;
    width: fit-content;
    animation: alert-pulse 3s ease infinite;
}

@keyframes alert-pulse {
    0%, 100% { border-color: rgba(239,68,68,0.2); }
    50% { border-color: rgba(239,68,68,0.5); }
}

.hero-alert-dot {
    width: 6px;
    height: 6px;
    background: var(--red);
    border-radius: 50%;
    animation: pulse 1.5s ease infinite;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 1.5rem;
    color: var(--pink);
    text-shadow: 0 0 20px var(--pink-glow);
    animation: glitch-title 4s ease infinite;
}

@keyframes glitch-title {
    0%, 92%, 100% { text-shadow: 0 0 20px var(--pink-glow); transform: translate(0); }
    93% { text-shadow: -3px 0 #ff00ff, 3px 0 #00ffff; transform: translate(-2px, 1px); }
    94% { text-shadow: 3px 0 #ff00ff, -3px 0 #00ffff; transform: translate(2px, -1px); }
    95% { text-shadow: -1px 0 #ff00ff, 1px 0 #00ffff; transform: translate(1px, 0); }
    96% { text-shadow: 0 0 20px var(--pink-glow); transform: translate(0); }
}

.hero-title span {
    color: var(--pink);
    position: relative;
}

.hero-title span::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--pink);
    box-shadow: 0 0 15px var(--pink-glow);
}

.hero-sub {
    font-size: 1.25rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 640px;
    margin-bottom: 2.5rem;
}

.hero-sub strong {
    color: var(--text);
    font-weight: 600;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--mono);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--bg);
    background: var(--pink);
    padding: 1rem 2rem;
    transition: all 0.3s var(--ease);
    text-decoration: none;
}

.hero-cta:hover {
    background: #fff;
    color: var(--bg);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--pink-glow);
}

.hero-cta-arrow {
    transition: transform 0.3s;
}

.hero-cta:hover .hero-cta-arrow {
    transform: translateX(4px);
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.hero-stat-value {
    font-family: var(--mono);
    font-size: 2rem;
    font-weight: 700;
    color: var(--pink);
    display: block;
}

.hero-stat-label {
    font-size: 0.6875rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 0.25rem;
}

/* ═══ Section shared ═══ */
.section {
    padding: 6rem 2rem;
    border-top: 1px solid var(--border);
}

.section-label {
    font-family: var(--mono);
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--pink);
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
    max-width: 700px;
}

/* ═══ NOT section ═══ */
.not-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--border);
    margin-top: 2rem;
}

.not-item {
    background: var(--bg);
    padding: 2rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    transition: background 0.3s;
}

.not-item:hover { background: var(--surface-hover); }

.not-icon {
    font-family: var(--mono);
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid;
}

.not-item--no .not-icon {
    color: var(--red);
    border-color: rgba(239,68,68,0.3);
    background: var(--red-dim);
}

.not-item--yes .not-icon {
    color: var(--pink);
    border-color: rgba(244,114,182,0.3);
    background: var(--pink-dim);
}

.not-text h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.not-item--no .not-text h3 {
    color: var(--text-dim);
    text-decoration: line-through;
    text-decoration-color: rgba(239,68,68,0.4);
}

.not-text p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ═══ Format section ═══ */
.format-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    margin-top: 2rem;
}

.format-card {
    background: var(--bg);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    position: relative;
    overflow: hidden;
    transition: background 0.3s;
}

.format-card:hover { background: var(--surface-hover); }

.format-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--pink);
    opacity: 0;
    transition: opacity 0.3s;
}

.format-card:hover::before { opacity: 1; }

.format-num {
    font-family: var(--mono);
    font-size: 2rem;
    font-weight: 700;
    color: var(--pink-dim);
    line-height: 1;
}

.format-name {
    font-size: 1.125rem;
    font-weight: 700;
}

.format-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.format-tag {
    font-family: var(--mono);
    font-size: 0.5625rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-dim);
    padding: 0.25rem 0.5rem;
    border: 1px solid var(--border);
    width: fit-content;
    margin-top: auto;
}

/* ═══ ILO section ═══ */
.ilo {
    background: linear-gradient(135deg, rgba(244,114,182,0.03), transparent 60%);
}

.ilo-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 2rem;
}

.ilo-bar-group {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.ilo-bar-label {
    font-family: var(--mono);
    font-size: 0.6875rem;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: space-between;
}

.ilo-bar-label span {
    font-weight: 700;
}

.ilo-bar {
    height: 8px;
    background: var(--surface);
    position: relative;
    overflow: hidden;
}

.ilo-bar-fill {
    height: 100%;
    transition: width 1.5s var(--ease);
    position: relative;
}

.ilo-bar-fill::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 20px;
    background: inherit;
    filter: blur(8px);
}

.ilo-bar--women .ilo-bar-fill {
    background: var(--pink);
    width: 0;
}

.ilo-bar--women .ilo-bar-label span { color: var(--pink); }

.ilo-bar--men .ilo-bar-fill {
    background: var(--text-dim);
    width: 0;
}

.ilo-bar.visible .ilo-bar-fill {
    width: var(--target-width);
}

.ilo-text {
    font-size: 1.125rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.ilo-text strong {
    color: var(--text);
}

.ilo-source {
    font-family: var(--mono);
    font-size: 0.625rem;
    color: var(--text-dim);
    margin-top: 1rem;
    letter-spacing: 0.04em;
}

.ilo-source a { color: var(--text-dim); border-bottom: 1px solid var(--border); }
.ilo-source a:hover { color: var(--pink); border-color: var(--pink); }

/* ═══ Operator section ═══ */
.operator {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    margin-top: 2rem;
}

.operator-photo {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border: 1px solid var(--pink-dim);
    box-shadow: 0 0 30px var(--pink-dim);
    flex-shrink: 0;
}

.operator-info {
    flex: 1;
}

.operator-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.operator-role {
    font-family: var(--mono);
    font-size: 0.625rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--pink);
    margin-bottom: 1rem;
}

.operator-bio {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.8;
    max-width: 600px;
    margin-bottom: 1rem;
}

.operator-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.operator-tags span {
    font-family: var(--mono);
    font-size: 0.625rem;
    letter-spacing: 0.06em;
    padding: 0.25rem 0.625rem;
    border: 1px solid var(--border);
    color: var(--cyan);
}

/* ═══ CTA section ═══ */
.cta-section {
    padding: 6rem 2rem;
    border-top: 1px solid var(--border);
    text-align: center;
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--pink-dim) 0%, transparent 70%);
    pointer-events: none;
}

.cta-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.cta-sub {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--mono);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--bg);
    background: var(--pink);
    padding: 1.25rem 3rem;
    transition: all 0.3s var(--ease);
    text-decoration: none;
    position: relative;
    z-index: 1;
}

.cta-btn:hover {
    background: #fff;
    color: var(--bg);
    transform: translateY(-2px);
    box-shadow: 0 10px 40px var(--pink-glow);
}

.cta-note {
    font-family: var(--mono);
    font-size: 0.625rem;
    color: var(--text-dim);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-top: 1.5rem;
}

/* ═══ Footer ═══ */
.footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    border-top: 1px solid var(--border);
    font-family: var(--mono);
    font-size: 0.625rem;
    color: var(--text-dim);
    letter-spacing: 0.04em;
}

/* ═══ Animations ═══ */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ═══ Mobile ═══ */
@media (max-width: 1024px) {
    .not-grid { grid-template-columns: 1fr; }
    .format-grid { grid-template-columns: 1fr; }
    .ilo-content { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
    .nav { padding: 0.75rem 1rem; }
    .nav-status { display: none; }
    .hero { padding: 5rem 1.25rem 3rem; }
    .hero-stats { flex-direction: column; gap: 1.5rem; }
    .section { padding: 4rem 1.25rem; }
    .operator { flex-direction: column; gap: 1.5rem; }
    .operator-photo { width: 120px; height: 120px; }
    .footer { flex-direction: column; gap: 0.5rem; text-align: center; }
}

/* ═══ Join form ═══ */
.join-form {
    max-width: 460px;
    margin: 0 auto;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    position: relative;
    z-index: 1;
}
.join-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.join-form .field { display: flex; flex-direction: column; gap: 0.4rem; }
.join-form label {
    font-family: var(--mono);
    font-size: 0.625rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-dim);
}
.join-form label span { text-transform: none; letter-spacing: 0; opacity: 0.7; }
.join-form input,
.join-form textarea {
    font-family: var(--font);
    font-size: 0.9375rem;
    color: var(--text);
    background: var(--surface);
    border: 1px solid var(--border-bright);
    padding: 0.85rem 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
    resize: vertical;
    width: 100%;
}
.join-form input::placeholder,
.join-form textarea::placeholder { color: var(--text-dim); }
.join-form input:focus,
.join-form textarea:focus {
    outline: none;
    border-color: var(--pink);
    box-shadow: 0 0 0 3px var(--pink-dim);
}
.join-form .cta-btn { justify-content: center; border: none; cursor: pointer; margin-top: 0.25rem; }
.join-form .cta-btn:disabled { opacity: 0.6; cursor: default; }
.form-msg {
    font-family: var(--mono);
    font-size: 0.75rem;
    letter-spacing: 0.03em;
    min-height: 1rem;
    text-align: center;
}
.form-msg.ok { color: var(--pink); }
.form-msg.err { color: var(--red); }
.form-alt {
    font-family: var(--mono);
    font-size: 0.6875rem;
    color: var(--text-dim);
    text-align: center;
    margin-top: 0.25rem;
}

/* ═══ Согласие на обработку ПД (152-ФЗ) ═══ */
.nd-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 4px 0 18px;
    font-size: 12.5px;
    line-height: 1.5;
    color: var(--text-muted);
    cursor: pointer;
}
.nd-consent input[type="checkbox"] {
    flex-shrink: 0;
    margin-top: 2px;
    width: 15px;
    height: 15px;
    accent-color: var(--pink);
    cursor: pointer;
}
