﻿
.stats-item {
    text-align: center;
    padding: 24px;
}

.stats-number {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
}

.stats-label {
    font-size: 1.1rem;
    color: var(--dark-color);
    opacity: 0.9;
    font-weight: 500;
}


.article-card h2 {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--dark-color);
    margin-top: 2.75rem;
    margin-bottom: 1.1rem;
    padding-bottom: 0.7rem;
    position: relative;
}

    .article-card h2::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 70px;
        height: 4px;
        background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
        border-radius: 2px;
    }

    .article-card h2:first-of-type {
        margin-top: 0;
    }

.article-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

    .article-card h3::before {
        content: '';
        display: inline-block;
        width: 6px;
        height: 6px;
        background: var(--accent-color);
        border-radius: 50%;
        box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.18);
    }

.article-card p {
    color: #3a4a5e;
    font-size: 0.98rem;
    margin-bottom: 1.15rem;
}

.article-card ul, .article-card ol {
    color: #3a4a5e;
    font-size: 0.98rem;
    margin-bottom: 1.25rem;
    padding-left: 1.4rem;
}

.article-card li {
    margin-bottom: 0.55rem;
}

    .article-card li strong {
        color: var(--dark-color);
    }

/* Steps */
ol.steps {
    list-style: none;
    padding-left: 0;
    counter-reset: stepcounter;
}

    ol.steps > li {
        position: relative;
        padding-left: 3.1rem;
        margin-bottom: 1.25rem;
        counter-increment: stepcounter;
    }

        ol.steps > li::before {
            content: counter(stepcounter);
            position: absolute;
            left: 0;
            top: 0;
            width: 2.15rem;
            height: 2.15rem;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: 0.9rem;
            box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
        }

/* UI path chips */
.ui-path {
    display: inline-block;
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.2);
    color: var(--primary-dark);
    font-family: 'SF Mono', Monaco, Consolas, monospace;
    font-size: 0.84rem;
    font-weight: 600;
    padding: 0.15rem 0.5rem;
    border-radius: 6px;
    white-space: nowrap;
}

/* Callouts */
.callout {
    border-radius: 14px;
    padding: 1.1rem 1.35rem;
    margin: 1.5rem 0;
    font-size: 0.95rem;
    border-left: 4px solid;
    backdrop-filter: blur(8px);
}

    .callout p {
        margin: 0;
        font-size: 0.95rem;
    }

    .callout .tag {
        display: inline-block;
        font-size: 0.7rem;
        font-weight: 800;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        margin-bottom: 0.4rem;
    }

    .callout.info {
        background: rgba(37, 99, 235, 0.08);
        border-color: var(--primary-color);
        color: #1e3a8a;
    }

        .callout.info .tag {
            color: var(--primary-color);
        }

    .callout.warn {
        background: rgba(245, 158, 11, 0.1);
        border-color: var(--warning-color);
        color: #78350f;
    }

        .callout.warn .tag {
            color: #b45309;
        }

/* Badges */
.badge-pill-custom {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.45rem 0.9rem;
    border-radius: 50px;
    border: 1px solid;
}

.badge-blue {
    background: rgba(37, 99, 235, 0.12);
    border-color: rgba(37, 99, 235, 0.25);
    color: var(--primary-dark);
}

.badge-orange {
    background: rgba(245, 158, 11, 0.12);
    border-color: rgba(245, 158, 11, 0.3);
    color: #b45309;
}

.badge-green {
    background: rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.3);
    color: #047857;
}

/* Stats inline */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 2rem 0 1rem;
}

.stat-box {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 16px;
    padding: 1.35rem 1rem;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

    .stat-box:hover {
        transform: translateY(-4px);
        box-shadow: 0 10px 30px rgba(31, 38, 135, 0.12);
    }

    .stat-box .num {
        font-size: 1.85rem;
        font-weight: 800;
        background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        line-height: 1.1;
    }

    .stat-box .lbl {
        font-size: 0.82rem;
        font-weight: 600;
        color: var(--gray-color);
        text-transform: uppercase;
        letter-spacing: 0.05em;
        margin-top: 0.35rem;
    }

@media (max-width: 576px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* Sidebar cards */
.side-card {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 18px;
    padding: 1.5rem 1.5rem;
    box-shadow: 0 8px 30px rgba(31, 38, 135, 0.08);
    margin-bottom: 1.5rem;
}

    .side-card h5 {
        font-size: 0.78rem;
        font-weight: 800;
        letter-spacing: 0.09em;
        text-transform: uppercase;
        color: var(--gray-color);
        margin-bottom: 1rem;
    }

    .side-card ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

        .side-card ul li {
            border-bottom: 1px solid rgba(15, 23, 42, 0.08);
            padding: 0.65rem 0;
            font-size: 0.9rem;
        }

            .side-card ul li:last-child {
                border-bottom: none;
                padding-bottom: 0;
            }

            .side-card ul li a {
                color: var(--primary-dark);
                text-decoration: none;
                font-weight: 600;
            }

                .side-card ul li a:hover {
                    color: var(--primary-color);
                }

.help-card {
    background: linear-gradient(150deg, var(--dark-color), var(--primary-dark));
    color: #fff;
    border: none;
}

    .help-card h5 {
        color: rgba(255, 255, 255, 0.7);
    }

    .help-card p {
        color: rgba(255, 255, 255, 0.85);
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .help-card .contact-row {
        display: flex;
        gap: 0.75rem;
        align-items: flex-start;
        font-size: 0.87rem;
        color: rgba(255, 255, 255, 0.9);
        margin-bottom: 0.85rem;
    }

        .help-card .contact-row i {
            width: 30px;
            height: 30px;
            border-radius: 8px;
            background: rgba(255, 255, 255, 0.12);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.85rem;
            flex-shrink: 0;
            color: #fff;
        }

        .help-card .contact-row strong {
            display: block;
            color: #fff;
            font-weight: 700;
            font-size: 0.82rem;
        }

    .help-card .btn-help {
        display: block;
        text-align: center;
        background: var(--primary-color);
        color: #fff;
        font-weight: 700;
        font-size: 0.9rem;
        padding: 0.7rem;
        border-radius: 50px;
        text-decoration: none;
        transition: all 0.3s ease;
        margin-top: 0.75rem;
    }

        .help-card .btn-help:hover {
            background: var(--primary-light);
            transform: translateY(-2px);
            box-shadow: 0 6px 16px rgba(37, 99, 235, 0.4);
        }
