
.violations-section {
            padding: 60px 0;
        }
        .violations-grid {
            display: grid;
            grid-template-columns: repeat(5, 1fr);
            gap: 16px;
            align-items: stretch;
        }
        .violation-card {
            background: rgba(255, 255, 255, 0.02);
            border: 1px solid rgba(255, 255, 255, 0.04);
            border-radius: 12px;
            padding: 24px 20px 20px;
            text-align: center;
            transition: all 0.3s ease;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: flex-start;
            height: 100%;
            min-height: 200px;
        }
        .violation-card:hover {
            background: rgba(255, 255, 255, 0.04);
            border-color: rgba(34, 197, 94, 0.08);
        }
        .violation-card .violation-icon {
            font-size: 2rem;
            margin-bottom: 10px;
            color: #22c55e;
            flex-shrink: 0;
        }
        .violation-card h3 {
            font-size: 0.85rem;
            color: #eaeef5;
            margin-bottom: 6px;
            font-weight: 600;
            flex-shrink: 0;
        }
        .violation-card p {
            font-size: 0.75rem;
            color: #8a94a6;
            margin-bottom: 10px;
            line-height: 1.5;
            flex: 1;
            max-width: 100%;
        }
        .violation-card .violation-fine {
            display: inline-block;
            font-family: 'Fira Code', monospace;
            font-size: 0.8rem;
            font-weight: 700;
            padding: 4px 14px;
            border-radius: 20px;
            flex-shrink: 0;
            margin-top: auto;
        }
        .violation-card.critical .violation-fine {
            background: rgba(239, 68, 68, 0.12);
            color: #ef4444;
            border: 1px solid rgba(239, 68, 68, 0.15);
        }
        .violation-card.high .violation-fine {
            background: rgba(249, 115, 22, 0.12);
            color: #f97316;
            border: 1px solid rgba(249, 115, 22, 0.15);
        }
        .violation-card.medium .violation-fine {
            background: rgba(251, 191, 36, 0.12);
            color: #fbbf24;
            border: 1px solid rgba(251, 191, 36, 0.15);
        }

        /* Секция уязвимостей */
        .vuln-section {
            padding: 60px 0;
        }
        .vuln-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 16px;
            align-items: stretch;
        }
        .vuln-card {
            background: rgba(255, 255, 255, 0.02);
            border: 1px solid rgba(255, 255, 255, 0.04);
            border-radius: 12px;
            padding: 24px 20px 20px;
            text-align: center;
            transition: all 0.3s ease;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: flex-start;
            height: 100%;
            min-height: 200px;
        }
        .vuln-card:hover {
            background: rgba(255, 255, 255, 0.04);
            border-color: rgba(34, 197, 94, 0.08);
        }
        .vuln-card .vuln-icon {
            font-size: 2rem;
            margin-bottom: 10px;
            color: #22c55e;
            flex-shrink: 0;
        }
        .vuln-card h3 {
            font-size: 0.85rem;
            color: #eaeef5;
            margin-bottom: 6px;
            font-weight: 600;
            flex-shrink: 0;
        }
        .vuln-card p {
            font-size: 0.75rem;
            color: #8a94a6;
            margin-bottom: 10px;
            line-height: 1.5;
            flex: 1;
            max-width: 100%;
        }
        .vuln-tag {
            display: inline-block;
            font-size: 0.5rem;
            font-weight: 600;
            padding: 2px 12px;
            border-radius: 20px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            flex-shrink: 0;
            margin-top: auto;
        }
        .vuln-tag.critical {
            background: rgba(239, 68, 68, 0.12);
            color: #ef4444;
            border: 1px solid rgba(239, 68, 68, 0.15);
        }
        .vuln-tag.danger {
            background: rgba(249, 115, 22, 0.12);
            color: #f97316;
            border: 1px solid rgba(249, 115, 22, 0.15);
        }
        .vuln-tag.warning {
            background: rgba(251, 191, 36, 0.12);
            color: #fbbf24;
            border: 1px solid rgba(251, 191, 36, 0.15);
        }

        /* Секция цепной реакции */
        .chain-section {
            padding: 60px 0;
        }
        .chain-flow {
            display: flex;
            align-items: stretch;
            justify-content: center;
            flex-wrap: wrap;
            gap: 4px 8px;
            margin-bottom: 32px;
        }
        .chain-step {
            background: rgba(255, 255, 255, 0.02);
            border: 1px solid rgba(255, 255, 255, 0.04);
            border-radius: 12px;
            padding: 18px 20px;
            min-width: 80px;
            flex: 1 1 auto;
            max-width: 140px;
            text-align: center;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }
        .chain-step .step-num {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 28px;
            height: 28px;
            border-radius: 50%;
            background: rgba(34, 197, 94, 0.1);
            color: #22c55e;
            font-size: 0.7rem;
            font-weight: 700;
            margin-bottom: 7px;
            flex-shrink: 0;
        }
        .chain-step .step-text {
            font-size: 0.6rem;
            color: #8a94a6;
            line-height: 1.3;
            font-weight: 500;
        }
        .chain-step .step-desc {
            font-size: 0.5rem;
            color: #4a536b;
            margin-top: 2px;
        }
       .chain-arrow {
    display: flex;
    align-items: center;
    gap: 2px;
    flex-shrink: 0;
    padding: 0 6px;
    color: #2a3345;
}
.chain-arrow .arrow-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 0.6;
}
.chain-arrow .arrow-icon i {
    font-size: 0.4rem;
    margin: 0;
}
.chain-arrow .arrow-icon i:first-child {
    transform: translateY(2px);
}
.chain-arrow .arrow-icon i:last-child {
    transform: translateY(-2px);
}
        .consequences-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    align-items: stretch;
}

.consequence-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    padding: 20px 24px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.consequence-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(239, 68, 68, 0.08);
}

.consequence-card .consequence-fine {
    display: block;
    font-family: 'Fira Code', monospace;
    font-size: 1.2rem;
    font-weight: 700;
    color: #ef4444;
    margin-bottom: 4px;
}

.consequence-card p {
    font-size: 0.65rem;
    color: #8a94a6;
    line-height: 1.5;
}

        /* ===== АДАПТИВ ===== */
        @media (max-width: 1024px) {
            .violations-grid {
                grid-template-columns: repeat(3, 1fr);
            }
            .vuln-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            .consequences-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 768px) {
            .violations-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            .vuln-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            .consequences-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            
            /* Цепочка — вертикально */
            .chain-flow {
                flex-direction: column;
                align-items: center;
                gap: 0;
            }
            .chain-step {
                max-width: 200px;
                width: 100%;
                padding: 14px 20px;
                border-radius: 10px;
            }
            .chain-arrow {
                transform: rotate(90deg);
                padding: 2px 0;
                font-size: 0.8rem;
            }
            .chain-step .step-desc {
                display: block;
            }
        }

        @media (max-width: 480px) {
            .violations-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            .vuln-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            .consequences-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            .violations-section,
            .vuln-section,
            .chain-section {
                padding: 40px 0;
            }
            .chain-step {
                max-width: 180px;
                padding: 12px 16px;
            }
        }

        /* ===== ПЕРЕОПРЕДЕЛЕНИЕ ДЛЯ БЛОКА "ЧТО ПРОВЕРЯЕМ" ===== */
        .grid-5 {
            display: grid;
            grid-template-columns: repeat(6, 1fr);
            gap: 16px;
            align-items: stretch;
        }
        @media (max-width: 1024px) {
            .grid-5 {
                grid-template-columns: repeat(3, 1fr);
            }
        }
        @media (max-width: 768px) {
            .grid-5 {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        @media (max-width: 480px) {
            .grid-5 {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        /* ===== СВЕТЛАЯ ТЕМА (автоматически с 6:00 до 18:00) ===== */
body.light-theme {
    background: #f0f2f5;
    color: #1a1a2e;
}

body.light-theme .header {
    border-bottom-color: rgba(0, 0, 0, 0.06);
}

body.light-theme .logo {
    color: #1a1a2e;
}
body.light-theme .logo span {
    color: #6a7a8a;
}

body.light-theme .hero h1 {
    color: #1a1a2e;
}
body.light-theme .hero p {
    color: #4a4a6a;
}

body.light-theme .audit-hero-block {
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(0, 0, 0, 0.06);
}
body.light-theme .audit-hero-block h2 {
    color: #1a1a2e;
}
body.light-theme .audit-hero-block h2 span {
    color: #22c55e;
}

body.light-theme .audit-input-row input {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 0, 0, 0.1);
    color: #1a1a2e;
}
body.light-theme .audit-input-row input::placeholder {
    color: #8a8aaa;
}

body.light-theme .section-title {
    color: #1a1a2e;
}
body.light-theme .section-subtitle {
    color: #4a4a6a;
}

body.light-theme .card {
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(0, 0, 0, 0.06);
}
body.light-theme .card:hover {
    background: rgba(255, 255, 255, 0.8);
}
body.light-theme .card h3 {
    color: #1a1a2e;
}
body.light-theme .card p {
    color: #4a4a6a;
}
body.light-theme .card .tag {
    background: rgba(34, 197, 94, 0.08);
    color: #1a6a3a;
}

body.light-theme .violation-card {
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(0, 0, 0, 0.06);
}
body.light-theme .violation-card:hover {
    background: rgba(255, 255, 255, 0.8);
}
body.light-theme .violation-card .violation-icon {
    color: #22c55e;
}
body.light-theme .violation-card h3 {
    color: #1a1a2e;
}
body.light-theme .violation-card p {
    color: #4a4a6a;
}

body.light-theme .vuln-card {
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(0, 0, 0, 0.06);
}
body.light-theme .vuln-card:hover {
    background: rgba(255, 255, 255, 0.8);
}
body.light-theme .vuln-card .vuln-icon {
    color: #22c55e;
}
body.light-theme .vuln-card h3 {
    color: #1a1a2e;
}
body.light-theme .vuln-card p {
    color: #4a4a6a;
}

body.light-theme .chain-step {
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(0, 0, 0, 0.06);
}
body.light-theme .chain-step .step-text {
    color: #4a4a6a;
}
body.light-theme .chain-step .step-desc {
    color: #8a8aaa;
}
body.light-theme .chain-arrow {
    color: #c0c0d0;
}

body.light-theme .consequence-card {
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(0, 0, 0, 0.06);
}
body.light-theme .consequence-card:hover {
    background: rgba(255, 255, 255, 0.8);
}
body.light-theme .consequence-card p {
    color: #4a4a6a;
}


body.light-theme .login-btn {
    background: rgba(34, 197, 94, 0.08);
    border-color: rgba(34, 197, 94, 0.15);
    color: #1a1a2e;
}
body.light-theme .login-btn:hover {
    background: rgba(34, 197, 94, 0.15);
}

body.light-theme .audit-hints {
    color: #6a7a8a;
}

body.light-theme .modal-content {
    background: #f0f2f5 !important;
    color: #1a1a2e !important;
}
body.light-theme .modal-content div[style*="color:"] {
    color: #1a1a2e !important;
}

/* Кнопка входа в светлой теме */
body.light-theme .login-btn {
    background: rgba(34, 197, 94, 0.08);
    border-color: rgba(34, 197, 94, 0.15);
    color: #1a1a2e;
}
body.light-theme .login-btn:hover {
    background: rgba(34, 197, 94, 0.15);
}

/* Модалки в светлой теме */
body.light-theme .modal {
    background: #f0f2f5 !important;
    border-color: rgba(0, 0, 0, 0.06) !important;
}
body.light-theme .modal-header h2 {
    color: #1a1a2e !important;
}
body.light-theme .modal-close {
    color: #6a7a8a !important;
}
body.light-theme .modal-close:hover {
    color: #1a1a2e !important;
}
body.light-theme .login-welcome h3 {
    color: #1a1a2e !important;
}
body.light-theme .login-welcome p {
    color: #4a4a6a !important;
}
body.light-theme .login-info span {
    color: #4a4a6a !important;
}
body.light-theme .benefit-item span {
    color: #4a4a6a !important;
}

/* About popup светлая тема */
body.light-theme .about-popup {
    background: #f0f2f5 !important;
    border-color: rgba(0, 0, 0, 0.06) !important;
}
body.light-theme .about-popup-close {
    color: #6a7a8a !important;
}
body.light-theme .about-popup-close:hover {
    color: #1a1a2e !important;
}
body.light-theme .about-title h2 {
    color: #1a1a2e !important;
}
body.light-theme .about-title .sub {
    color: #6a7a8a !important;
}
body.light-theme .about-mission p {
    color: #4a4a6a !important;
}
body.light-theme .about-feature .text strong {
    color: #1a1a2e !important;
}
body.light-theme .about-feature .text {
    color: #4a4a6a !important;
}
body.light-theme .about-owner-title {
    color: #1a1a2e !important;
}
body.light-theme .about-owner-item .label {
    color: #8a8aaa !important;
}
body.light-theme .about-owner-item .value {
    color: #1a1a2e !important;
}
body.light-theme .about-divider {
    border-color: rgba(0, 0, 0, 0.06) !important;
}

/* Тёмная */
.header {
    background: #0a120e;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.header .container.header-inner {
    background: transparent;
}

/* Светлая */
body.light-theme .header {
    background: #f0f2f5;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
body.light-theme .header .container.header-inner {
    background: transparent;
}

/* ============================================================
   СЕКЦИЯ «КАК ЭТО РАБОТАЕТ»
   ============================================================ */
.hiw-section {
    padding: 80px 0;
    background: transparent;
    position: relative;
}

.hiw-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 40px 0 40px;
    position: relative;
}

.hiw-step {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 14px;
    padding: 26px 22px;
    position: relative;
    transition: border-color 0.2s, transform 0.2s, background 0.2s;
}

.hiw-step:hover {
    border-color: rgba(34, 197, 94, 0.35);
    transform: translateY(-2px);
    background: rgba(34, 197, 94, 0.04);
}

.hiw-step-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #0a120e;
    font-weight: 800;
    font-size: 1.05rem;
    margin-bottom: 16px;
    box-shadow: 0 8px 20px -8px rgba(34, 197, 94, 0.6);
    font-family: 'Fira Code', monospace;
}

.hiw-step-title {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px;
    letter-spacing: -0.01em;
}

.hiw-step-text {
    font-size: 0.82rem;
    color: #8aa89a;
    line-height: 1.55;
    margin: 0;
}

.hiw-cta {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.hiw-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 10px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #0a120e;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 10px 30px -10px rgba(34, 197, 94, 0.5);
    font-family: inherit;
}

.hiw-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 36px -10px rgba(34, 197, 94, 0.7);
}

.hiw-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    border-radius: 10px;
    background: transparent;
    color: #8aa89a;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.04);
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
    font-family: inherit;
}

.hiw-btn-ghost:hover {
    border-color: rgba(34, 197, 94, 0.4);
    color: #fff;
    background: rgba(34, 197, 94, 0.04);
}

/* ============================================================
   СВЕТЛАЯ ТЕМА для секции «Как это работает»
   ============================================================ */
body.light-theme .hiw-step {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.06);
}

body.light-theme .hiw-step:hover {
    border-color: rgba(34, 197, 94, 0.3);
    background: #f0fdf4;
}

body.light-theme .hiw-step-title {
    color: #0a120e;
}

body.light-theme .hiw-step-text {
    color: #64748b;
}

body.light-theme .hiw-step-num {
    color: #ffffff;
    box-shadow: 0 8px 20px -8px rgba(34, 197, 94, 0.5);
}

body.light-theme .hiw-btn-ghost {
    color: #64748b;
    border-color: rgba(0, 0, 0, 0.1);
}

body.light-theme .hiw-btn-ghost:hover {
    color: #0a120e;
    border-color: rgba(34, 197, 94, 0.4);
    background: rgba(34, 197, 94, 0.06);
}

/* ============================================================
   АДАПТИВ
   ============================================================ */
@media (max-width: 860px) {
    .hiw-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
}

@media (max-width: 520px) {
    .hiw-section {
        padding: 60px 0;
    }
    .hiw-steps {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .hiw-step {
        padding: 20px 18px;
    }
    .hiw-cta {
        flex-direction: column;
    }
    .hiw-btn-primary,
    .hiw-btn-ghost {
        width: 100%;
        justify-content: center;
    }
}