.analytics-hero {
    position: relative;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.75), rgba(30, 64, 175, 0.75)),
        url('../img/properties/luxury-pentahouse-2.jpg') center/cover no-repeat;
    color: #ffffff;
    border-radius: 0 0 2.5rem 2.5rem;
}

.analytics-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(30, 64, 175, 0.35), rgba(220, 38, 38, 0.25));
    mix-blend-mode: screen;
    pointer-events: none;
}

.analytics-hero .container {
    position: relative;
    z-index: 2;
}

.hero-eyebrow {
    letter-spacing: 0.2rem;
    font-size: 0.75rem;
    opacity: 0.85;
}

.hero-stats-card {
    background: rgba(15, 23, 42, 0.82);
    border: 1px solid rgba(148, 163, 184, 0.35);
    backdrop-filter: blur(12px);
}

.hero-stat {
    padding: 1rem;
    border-radius: 1.2rem;
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.25);
}

.hero-stat small {
    display: block;
    margin-top: 0.35rem;
}

.bg-soft {
    background-color: #f8fafc !important;
}

.shadow-soft {
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08) !important;
    border: 1px solid rgba(226, 232, 240, 0.6) !important;
    border-radius: 1.25rem !important;
}

.metric-card {
    border-radius: 1.25rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.metric-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
}

.metric-icon {
    width: 3.5rem;
    height: 3.5rem;
    display: grid;
    place-items: center;
    border-radius: 1rem;
    font-size: 1.6rem;
}

.metric-trend {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.metric-label {
    color: #64748b;
    font-size: 0.9rem;
}

.property-card {
    border: none;
    border-radius: 1.5rem;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.property-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.16);
}

.property-image-wrapper {
    position: relative;
}

.property-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.property-views-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    border-radius: 999px;
    font-weight: 600;
    padding: 0.35rem 0.85rem;
}

.property-meta {
    font-size: 0.85rem;
    color: #64748b;
}

.property-metric {
    font-size: 0.85rem;
    font-weight: 600;
}

.progress-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #0f172a;
}

.progress-subtext {
    font-size: 0.75rem;
    color: #64748b;
}

.search-badge {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    padding: 0.4rem 1rem;
    font-weight: 500;
    color: #1e293b;
}

.search-badge:hover {
    background: #e2e8f0;
    text-decoration: none;
}

.activity-feed {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.activity-item {
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.activity-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.activity-time {
    font-size: 0.75rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.activity-text {
    font-size: 0.9rem;
    color: #1e293b;
    font-weight: 500;
}

.cta-slab {
    border-radius: 2rem;
}

@media (max-width: 991.98px) {
    .analytics-hero {
        border-radius: 0;
    }

    .hero-stats-card {
        margin-top: 1rem;
    }
}
