* {
    box-sizing:border-box;
}


html {
    scroll-behavior:smooth;
}


body {
    margin:0;

    background:
        #080b11;

    color:
        #f3f4f6;

    font-family:
        Inter,
        Arial,
        Helvetica,
        sans-serif;

    line-height:1.5;
}


a {
    color:inherit;
}

/* ================================================== */
/* SECURITY VISUALIZATIONS */
/* ================================================== */

.security-chart-container {
    margin: 32px 0;
    padding: 24px;
    background: #1d1f24;
    border-radius: 12px;
    border: 1px solid #333842;
}

.security-chart-container h2 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 20px;
    color: #f3f4f6;
}

.security-chart {
    height: 300px;
    position: relative;
}

.threat-distribution-container {
    margin: 32px 0;
    padding: 24px;
    background: #1d1f24;
    border-radius: 12px;
    border: 1px solid #333842;
}

.threat-distribution-container h2 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 20px;
    color: #f3f4f6;
}

.threat-distribution-chart {
    height: 250px;
    position: relative;
    margin-bottom: 20px;
}

.threat-distribution-legend {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 3px;
}

.legend-color.low {
    background: #384152;
}

.legend-color.medium {
    background: #665500;
}

.legend-color.high {
    background: #6d1e1e;
}

.legend-color.critical {
    background: #8c0000;
}


/* ================================================== */
/* ENHANCED SECURITY TEMPLATES */
/* ================================================== */

.threat-summary-container {
    margin: 24px 0;
}

.threat-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.threat-card {
    padding: 24px;
    background: #1d1f24;
    border-radius: 12px;
    border: 1px solid #333842;
    text-align: center;
}

.card-label {
    font-size: 14px;
    opacity: 0.7;
    margin-bottom: 8px;
}

.score {
    font-size: 32px;
    font-weight: 700;
    margin: 8px 0;
}

.score-label {
    font-size: 12px;
    opacity: 0.7;
    margin-top: 8px;
}

.threat-level {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    margin-top: 8px;
}

.threat-low {
    background: #384152;
}

.threat-medium {
    background: #665500;
}

.threat-high {
    background: #6d1e1e;
}

.threat-critical {
    background: #8c0000;
}

.ip-details-container {
    margin: 32px 0;
}

.ip-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.ip-detail-card {
    padding: 24px;
    background: #1d1f24;
    border-radius: 12px;
    border: 1px solid #333842;
}

.ip-detail-card h3 {
    margin-top: 0;
    margin-bottom: 16px;
    font-size: 18px;
    color: #f3f4f6;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    font-size: 14px;
    opacity: 0.7;
}

.detail-value {
    font-weight: 600;
    text-align: right;
}

.threat-visualization {
    margin: 32px 0;
    padding: 24px;
    background: #1d1f24;
    border-radius: 12px;
    border: 1px solid #333842;
}

.threat-visualization h2 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 20px;
    color: #f3f4f6;
}

.threat-timeline-chart {
    height: 300px;
    position: relative;
}

/* ================================================== */
/* EXISTING SECURITY STYLES */
/* ================================================== */

.security-summary {
    display: grid;
    grid-template-columns:
        repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.security-card {
    padding: 18px;
    border-radius: 10px;
    background: #1d1f24;
    border: 1px solid #333842;
}

.security-card-label {
    font-size: 13px;
    opacity: 0.7;
    margin-bottom: 8px;
}

.security-card-value {
    font-size: 28px;
    font-weight: 700;
}

.severity-badge {
    display: inline-block;
    padding: 5px 9px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
}

.severity-low {
    background: #384152;
}

.severity-medium {
    background: #665500;
}

.severity-high {
    background: #6d1e1e;
}

.severity-critical {
    background: #8c0000;
}

.security-path {
    max-width: 420px;
    overflow-wrap: anywhere;
}


.site-header {
    position:sticky;
    top:0;
    z-index:100;

    background:
        rgba(8,11,17,.93);

    border-bottom:
        1px solid #1f2937;

    backdrop-filter:
        blur(14px);
}


.nav-container {
    width:min(
        1400px,
        calc(100% - 40px)
    );

    min-height:72px;

    margin:auto;

    display:flex;
    align-items:center;

    gap:32px;
}


.brand {
    display:flex;
    align-items:center;
    margin-right:auto;
    text-decoration:none;
}

.header-logo {
    display: block;
    width: 190px;
    height: 58px;
    object-fit: contain;
    object-position: center;
}


.brand-text strong {
    font-size:19px;
}


.brand-text span {
    color:#00aaff;

    font-size:13px;
    font-weight:700;
}