:root {
    --bg-color: #111113;
    --card-bg: #1C1C1F;
    --highlight-bg: #2A2A2C;
    --info-tag-bg: #2A2A2C;
    --border-color: #333333;
    --text-primary: #EAEAEA;
    --text-secondary: #888888;
    --accent-color: #E54545;
    --font-family: 'Inter', sans-serif;
    --header-height: 70px;
}

body::-webkit-scrollbar {
    width: 8px;
}

body::-webkit-scrollbar-track {
    background: var(--bg-color);
}

body::-webkit-scrollbar-thumb {
    background-color: var(--border-color);
    border-radius: 10px;
    border: 2px solid var(--bg-color);
}

body::-webkit-scrollbar-thumb:hover {
    background-color: var(--text-secondary);
}

html {
    scrollbar-width: thin;
    scrollbar-color: var(--border-color) var(--bg-color);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background-color: var(--bg-color); color: var(--text-primary); font-family: var(--font-family); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; padding-top: var(--header-height); }

#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    background-color: #0e0e0e;
}

.spoofer-animation {
    position: relative;
    height: 120px;
    margin-top: 24px;
    border-top: 1px solid #333333;
    padding-top: 24px;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.anim-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    width: 90px;
    text-align: center;
}

.anim-node svg {
    width: 40px;
    height: 40px;
    stroke-width: 2;
}

.anim-node span {
    font-size: 11px;
    font-weight: 500;
    color: #888888;
}

.anim-pc svg {
    stroke: #EAEAEA;
    animation: pc-flash 6s ease-in-out infinite;
}

.anim-monitor svg {
    stroke: #EAEAEA;
}

.anim-card .card-icon-wrapper {
    position: relative;
    width: 40px;
    height: 40px;
}

.anim-card .card-icon-wrapper svg {
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.3s ease-in-out;
}

.anim-card .original-card-icon {
    stroke: #EAEAEA;
    animation: card-icon-fade 6s ease-in-out infinite;
}

.anim-card .spoofed-card-icon {
    stroke: #E54545;
    opacity: 0;
    animation: spoofed-icon-fade 6s ease-in-out infinite;
}

.anim-card .card-text-wrapper {
    position: relative;
    height: 14px;
    width: 100%;
}

.anim-card .card-text-wrapper span {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    transition: opacity 0.3s ease-in-out;
}

.anim-card .original-card-text {
    animation: card-text-fade 6s ease-in-out infinite;
}

.anim-card .spoofed-card-text {
    opacity: 0;
    animation: spoofed-text-fade 6s ease-in-out infinite;
    color: #E54545;
}

.data-flow-path {
    position: absolute;
    top: 40%;
    height: 2px;
    transform: translateY(-50%);
    pointer-events: none;
}

.data-flow-path svg {
    width: 100%;
    height: 100%;
    stroke: #E54545;
    stroke-width: 2;
    fill: none;
    stroke-dasharray: 4 8;
}

.path-to-card {
    left: 52%;
    right: 10%;
    margin: 0 25px;
}
.path-to-card svg {
    animation: data-flow-to-card 6s ease-in-out infinite;
}

.path-to-pc {
    left: 10%;
    right: 52%;
    margin: 0 25px;
}
.path-to-pc svg {
    animation: data-flow-to-pc 6s ease-in-out infinite;
}

@keyframes data-flow-to-card {
    0%, 20%, 41%, 100% { opacity: 0; stroke-dashoffset: 150; }
    21% { opacity: 1; stroke-dashoffset: 150; }
    40% { opacity: 1; stroke-dashoffset: 0; }
}

@keyframes data-flow-to-pc {
    0%, 50%, 71%, 100% { opacity: 0; stroke-dashoffset: 150; }
    51% { opacity: 1; stroke-dashoffset: 150; }
    70% { opacity: 1; stroke-dashoffset: 0; }
}

@keyframes card-icon-fade { 0%, 39%, 90%, 100% { opacity: 1; } 40%, 89% { opacity: 0; } }
@keyframes spoofed-icon-fade { 0%, 39%, 90%, 100% { opacity: 0; } 40%, 89% { opacity: 1; } }
@keyframes card-text-fade { 0%, 39%, 90%, 100% { opacity: 1; } 40%, 89% { opacity: 0; } }
@keyframes spoofed-text-fade { 0%, 39%, 90%, 100% { opacity: 0; } 40%, 89% { opacity: 1; } }
@keyframes pc-flash { 0%, 70%, 75%, 100% { filter: none; } 71%, 73% { filter: drop-shadow(0 0 4px #EAEAEA); } }

.anim-status-text {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    font-size: 12px;
    color: #888888;
    font-style: italic;
}



/* --- ШАПКА И НАВИГАЦИЯ --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    background: rgba(17, 17, 19, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.3s;
}
.nav-container {
    max-width: 1300px;
    height: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
}
.main-nav ul {
    list-style: none;
    display: flex;
    gap: 40px;
}
.main-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s;
    position: relative;
    padding: 5px 0;
}
.main-nav a:hover { color: var(--text-primary); }
.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease-out;
}
.main-nav a:hover::after { width: 100%; }

.header-controls {
    display: flex;
    align-items: center;
    gap: 24px;
}
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 4px;
    background-color: var(--highlight-bg);
    padding: 4px;
    border-radius: 16px;
}
.lang-switcher button {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 12px;
    transition: background-color 0.3s, color 0.3s;
}
.lang-switcher button.active {
    background-color: var(--bg-color);
    color: var(--text-primary);
}
.lang-switcher span {
    color: var(--border-color);
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    width: 24px;
    height: 24px;
    cursor: pointer;
    position: relative;
    z-index: 1001;
}
.mobile-nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
    position: absolute;
    left: 0;
}
.mobile-nav-toggle span:nth-child(1) { top: 4px; }
.mobile-nav-toggle span:nth-child(2) { top: 11px; }
.mobile-nav-toggle span:nth-child(3) { top: 18px; }

body.nav-open .mobile-nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .mobile-nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .mobile-nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* --- Основной контейнер и секции --- */
.main-container { display: flex; flex-direction: column; align-items: center; }
.section { width: 100%; max-width: 1300px; padding: 40px 20px; }

/* Убираем растягивание на весь экран и выравнивание по центру высоты */
.hero-section { 
    padding-top: 80px; 
    padding-bottom: 40px;
}
.presentation-grid { display: grid; grid-template-columns: 320px 1fr 320px; gap: 20px; width: 100%; align-items: center; }

h1 { font-size: 52px; font-weight: 800; line-height: 1.1; }
h2 { font-size: 42px; font-weight: 700; text-align: center; margin-bottom: 48px; }
h2 .highlight { color: var(--accent-color); }
.section-subtitle { text-align: center; font-size: 18px; color: var(--text-secondary); max-width: 700px; margin: -32px auto 48px; line-height: 1.6; }
.info-column, .card-column { display: flex; flex-direction: column; }
.info-column { gap: 24px; }
.info-tag { background-color: var(--info-tag-bg); color: var(--text-secondary); padding: 6px 12px; border-radius: 16px; font-size: 14px; font-weight: 500; align-self: flex-start; }
.subtitle { font-size: 20px; color: var(--text-secondary); line-height: 1.5; }
.features-list { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
.feature-item { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid var(--border-color); border-radius: 12px; background-color: var(--card-bg); font-size: 15px; font-weight: 500; transition: transform 0.2s ease-out, box-shadow 0.2s ease-out, background-color 0.2s ease-out; }
.feature-item:hover { transform: translateX(5px); background-color: var(--highlight-bg); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25); }
.feature-item svg { color: var(--text-secondary); flex-shrink: 0; }
.price-block { background-color: var(--card-bg); border: 1px solid var(--border-color); border-radius: 12px; padding: 20px; margin-top: 0; }
.price-label { display: block; font-size: 14px; color: var(--text-secondary); margin-bottom: 4px; }
.price-value-container {
    display: flex;
    align-items: baseline;
    gap: 8px;
}
.price-value {
    font-size: 36px;
    font-weight: 700;
}
.alt-price {
    font-size: 24px;
    color: var(--text-secondary);
    font-weight: 500;
}

.card-column { align-self: stretch; }
.price-value { display: block; font-size: 36px; font-weight: 700; }
.price-value .alt-price { font-size: 24px; color: var(--text-secondary); font-weight: 500; }
.card-column { align-self: stretch; }
.spec-card { background-color: var(--card-bg); border: 1px solid var(--border-color); border-radius: 20px; padding: 24px; width: 100%; height: 100%; box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.05); display: flex; flex-direction: column; }
.spec-header { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.spec-icon-wrapper { background-color: var(--text-primary); color: var(--bg-color); width: 48px; height: 48px; border-radius: 12px; display: flex; justify-content: center; align-items: center; flex-shrink: 0; }
.spec-title { font-size: 18px; font-weight: 600; }

.spec-list-scrollable {
    flex-grow: 1;
    overflow-y: auto;
    max-height: 454px;
    padding-right: 10px;
    margin-right: -10px;
}
/* Стилизация скроллбара */
.spec-list-scrollable::-webkit-scrollbar { width: 6px; }
.spec-list-scrollable::-webkit-scrollbar-track { background: transparent; }
.spec-list-scrollable::-webkit-scrollbar-thumb { background-color: var(--border-color); border-radius: 10px; }
.spec-list-scrollable::-webkit-scrollbar-thumb:hover { background-color: var(--text-secondary); }

.spec-group-header {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    padding: 16px 0 8px 12px;
    letter-spacing: 0.5px;
}
.spec-group-header:first-child { padding-top: 0; }

.spec-item { cursor: pointer; display: flex; align-items: center; gap: 16px; padding: 12px; border-radius: 12px; border: 1px solid transparent; transition: background-color 0.3s, border-color 0.3s; }
.spec-item:hover { background-color: var(--highlight-bg); }
.spec-item.highlighted { background-color: var(--highlight-bg); border-color: var(--accent-color); }
.spec-item-icon { color: var(--text-secondary); }
.spec-item-text { display: flex; flex-direction: column; }
.main-spec { font-size: 16px; font-weight: 600; }
.sub-spec { font-size: 14px; color: var(--text-secondary); }
.spec-footer { margin-top: auto; padding-top: 24px; border-top: 1px solid var(--border-color); text-align: center; font-size: 14px; color: var(--text-secondary); }

.diagram-column-final { position: relative; height: 220px; }
.diagram-node { position: absolute; display: flex; flex-direction: column; align-items: center; gap: 8px; width: 80px; transform: translate(-50%, -50%); }
.diagram-icon { width: 60px; height: 60px; transition: filter 0.3s ease; filter: drop-shadow(0 0 8px var(--accent-color)); }
.diagram-icon svg { width: 100%; height: 100%; stroke: #fff; transition: stroke 0.3s ease; }
.diagram-label { font-size: 14px; color: var(--text-secondary); white-space: nowrap; }
.diagram-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    white-space: nowrap;
}
#capture-info-display { color: var(--accent-color); font-weight: 600; }
#node-pc { left: 15%; top: 50%; }
#node-card { left: 50%; top: 50%; }
#node-stream { left: 85%; top: 25%; cursor: pointer; }
#node-monitor { left: 85%; top: 75%; }

.naim-indicator {
    position: absolute;
    top: 27px;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--accent-color);
    font-weight: 700;
    font-size: 13px;
    text-shadow: 0 0 8px var(--accent-color);
    animation: naim-pulse 2.5s ease-in-out infinite;
    white-space: nowrap;
    z-index: 1;
    pointer-events: none;
}

@keyframes naim-pulse {
    0%, 100% {
        opacity: 0.7;
        transform: translate(-50%, -50%) scale(0.95);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.05);
    }
}

.connector-svg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.connector-base { fill: none; stroke: var(--border-color); stroke-width: 2; }
.connector-flow { fill: none; stroke: var(--accent-color); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 4 12; animation: flow var(--anim-duration, 2s) linear infinite; }
@keyframes flow { to { stroke-dashoffset: -16; } }
.advantage-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.advantage-text p { color: var(--text-secondary); line-height: 1.7; font-size: 16px; }
.advantage-text p + p { margin-top: 16px; }
.advantage-text strong { color: var(--text-primary); font-weight: 600; }
.advantage-image { background-color: var(--card-bg); border: 1px solid var(--border-color); border-radius: 20px; padding: 20px; }
.advantage-image img, .advantage-image video {
    width: 100%;
    display: block;
    border-radius: 12px;
}
.spoofer-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.spoofer-card { background-color: var(--card-bg); border: 1px solid var(--border-color); border-radius: 20px; padding: 32px; display: flex; flex-direction: column; }
.spoofer-card.highlighted { border-color: var(--accent-color); box-shadow: 0 0 25px rgba(229, 69, 69, 0.15); }
.spoofer-card h3 { font-size: 24px; margin-bottom: 12px; display: flex; align-items: center; gap: 12px; }
.spoofer-card p { color: var(--text-secondary); line-height: 1.6; flex-grow: 1; }
.spoofer-card .icon-cross { color: #E54545; }
.spoofer-card .icon-check { color: #4CAF50; }
.tech-specs-container { background-color: var(--card-bg); border: 1px solid var(--border-color); border-radius: 20px; padding: 32px; }
.tech-specs-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 32px; }
.tech-spec-item { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid var(--border-color); }
.tech-specs-list li:nth-last-child(-n+2) { border-bottom: none; }
.spec-name { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--text-secondary); }
.spec-name svg { width: 18px; height: 18px; flex-shrink: 0; stroke: var(--text-secondary); }
.spec-value { font-size: 15px; font-weight: 600; color: var(--text-primary); text-align: right; }
.ports-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; align-items: flex-start; }
.ports-grid h3 { margin-bottom: 24px; }
.ports-image-wrapper { background-color: var(--card-bg); border: 1px solid var(--border-color); border-radius: 20px; padding: 20px; }
.ports-image-wrapper img { width: 100%; display: block; border-radius: 12px; }
.ports-image-wrapper p { text-align: center; margin-top: 16px; color: var(--text-secondary); font-style: italic; }
.box-contents-list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.box-contents-list li { display: flex; align-items: center; gap: 16px; background-color: var(--card-bg); border: 1px solid var(--border-color); border-radius: 12px; padding: 16px; font-size: 16px; font-weight: 500; }
.box-contents-list svg { color: var(--accent-color); flex-shrink: 0; }
.footer { text-align: center; padding: 40px 20px; border-top: 1px solid var(--border-color); color: var(--text-secondary); }
.footer a { color: var(--text-secondary); text-decoration: none; transition: color 0.3s; }
.footer a:hover { color: var(--text-primary); }
.animate-item { opacity: 0; animation: fadeInUp 0.6s ease-out forwards; animation-delay: var(--delay, 0s); }
.scroll-animate { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.scroll-animate.visible { opacity: 1; transform: translateY(0); }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* --- АДАПТИВНОСТЬ --- */
@media (max-width: 1200px) { .presentation-grid { grid-template-columns: 1fr; gap: 40px; } .diagram-column-final { grid-column: 1 / -1; order: 2; } .info-column { order: 1; } .card-column { order: 3; } }
@media (max-width: 992px) { h1 { font-size: 44px; } h2 { font-size: 36px; } .advantage-grid, .ports-grid { grid-template-columns: 1fr; } .ports-grid { gap: 20px; } .advantage-image { order: -1; margin-bottom: 20px; } .tech-specs-list { grid-template-columns: 1fr; } .tech-specs-list li:nth-last-child(-n+2) { border-bottom: 1px solid var(--border-color); } .tech-specs-list li:last-child { border-bottom: none; } }

@media (max-width: 768px) {
    .section { padding: 60px 15px; }
    .presentation-grid { grid-template-columns: 1fr; }
    .diagram-column-final { transform: scale(0.8); margin: -20px 0; }
    h1 { font-size: 38px; }
    h2 { font-size: 30px; }
    .spoofer-grid { grid-template-columns: 1fr; }
    
    /* Стили для мобильной навигации */
    .mobile-nav-toggle { display: block; }
    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background: rgba(17, 17, 19, 0.98);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        display: flex;
        justify-content: center;
        align-items: center;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    }
    body.nav-open .main-nav {
        transform: translateX(0);
    }
    .main-nav ul {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    .main-nav a {
        font-size: 24px;
        font-weight: 600;
        color: var(--text-primary);
    }
    .main-nav a:hover::after { width: 0; }
}


.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    align-items: start;
}

.product-image-container {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.product-image-container img, .product-image-container video {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 12px;
    object-fit: cover;
}

.product-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 32px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card h3 {
    font-size: 24px;
    margin-bottom: 24px;
}

.features-list-alt {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.features-list-alt li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    line-height: 1.5;
}

.features-list-alt svg {
    color: var(--accent-color);
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

.pricing-list {
    list-style: none;
    flex-grow: 1;
    margin-bottom: 24px;
}

.pricing-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 16px;
}

.pricing-list li:first-child {
    padding-top: 0;
}
.pricing-list li:last-child {
    border-bottom: none;
}


.pricing-list .duration {
    color: var(--text-secondary);
}

.pricing-list .price {
    font-weight: 600;
}

.buy-button {
    display: block;
    width: 100%;
    padding: 16px;
    background-color: var(--accent-color);
    color: var(--text-primary);
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    border-radius: 12px;
    transition: background-color 0.3s, transform 0.2s;
    margin-top: auto;
}

.buy-button:hover {
    background-color: #d43d3d;
    transform: translateY(-2px);
}

.neuralpc-content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.neuralpc-info h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.neuralpc-info p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
}

.setup-note {
    background-color: var(--highlight-bg);
    border-left: 3px solid var(--accent-color);
    padding: 16px;
    border-radius: 0 8px 8px 0;
    font-size: 15px;
}

.setup-note strong {
    color: var(--text-primary);
    font-weight: 600;
}

.neuralpc-content-wrapper .tech-specs-container {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 32px;
}

.neuralpc-content-wrapper .price-block {
    margin-top: 0;
}

.spec-footnotes {
    padding: 16px 0 0;
    font-size: 13px;
    color: var(--text-secondary);
    border-top: 1px solid var(--border-color);
    margin-top: 16px;
}
.spec-footnotes p {
    margin: 0;
}

@media (max-width: 992px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
}