.site-footer {
    background: #f8fafc;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    color: #1d1d1f;
}

.site-footer-inner {
    max-width: 1040px;
    margin: 0 auto;
    padding: 48px 24px 40px;
}

.site-footer-grid {
    display: grid;
    gap: 36px;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .site-footer-grid {
        grid-template-columns: 1.4fr 1fr 1fr;
        gap: 40px;
    }
}

.site-footer-brand {
    max-width: 420px;
}

.site-footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    text-decoration: none;
    color: inherit;
}

.site-footer-logo-mark {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #0066cc;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.site-footer-logo-mark svg {
    width: 22px;
    height: 22px;
}

.site-footer-logo-text {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #1d1d1f;
}

.site-footer-desc {
    font-size: 14px;
    line-height: 1.6;
    color: #6e6e73;
    margin: 0 0 20px;
}

.site-footer-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    max-width: 280px;
}

.site-footer-stat {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    padding: 14px 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.site-footer-stat strong {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1d1d1f;
    letter-spacing: -0.02em;
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
}

.site-footer-stat span {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: #6e6e73;
}

.site-footer-col h3 {
    font-size: 14px;
    font-weight: 600;
    color: #1d1d1f;
    margin: 0 0 14px;
    letter-spacing: -0.01em;
}

.site-footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.site-footer-links a {
    font-size: 14px;
    color: #6e6e73;
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-footer-links a:hover {
    color: #0066cc;
}

.site-footer-badge {
    margin-top: 20px;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.site-footer-badge-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 4px;
}

.site-footer-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    flex-shrink: 0;
}

.site-footer-badge p {
    margin: 0;
    font-size: 12px;
    color: #6e6e73;
}

.site-footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    background: #fff;
}

.site-footer-bottom-inner {
    max-width: 1040px;
    margin: 0 auto;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    text-align: center;
}

@media (min-width: 768px) {
    .site-footer-bottom-inner {
        flex-direction: row;
        justify-content: space-between;
        text-align: right;
    }
}

.site-footer-copy {
    font-size: 13px;
    color: #6e6e73;
    line-height: 1.35;
}

.site-footer-copy p {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.site-footer-copy p > span {
    display: block;
}

.site-footer-copy a {
    color: #0066cc;
    text-decoration: none;
    font-weight: 500;
}

.site-footer-copy a:hover {
    text-decoration: underline;
}

.site-footer-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 16px;
    justify-content: center;
}

.site-footer-trust span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 500;
    color: #6e6e73;
    background: #f8fafc;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 980px;
    padding: 6px 12px;
}

.site-footer-trust svg {
    width: 14px;
    height: 14px;
    color: #0066cc;
    flex-shrink: 0;
}

#back-to-top {
    position: fixed;
    bottom: 24px;
    left: 24px;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: #0066cc;
    color: #fff;
    box-shadow: 0 4px 16px rgba(0, 102, 204, 0.35);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease, background 0.2s ease;
    z-index: 30;
}

[dir="rtl"] #back-to-top {
    left: auto;
    right: 24px;
}

#back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#back-to-top:hover {
    background: #005bb5;
}

#back-to-top svg {
    width: 20px;
    height: 20px;
}

[data-live-stat] {
    font-variant-numeric: tabular-nums;
    display: inline-block;
    color: inherit;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

@keyframes live-stat-glow {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    35% {
        opacity: 0.82;
        transform: translateY(-1px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.live-stat-pulse {
    animation: live-stat-glow 1.1s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (prefers-reduced-motion: reduce) {
    [data-live-stat],
    .live-stat-pulse {
        animation: none !important;
        transition: none !important;
    }
}
