/* Landing stat cards */
.landing-stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    padding: 1rem;
    text-align: center;
    color: white;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.landing-stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}




/* Responsive styles */
@media (min-width: 640px) {
    .landing-stat-card {
        padding: 1.5rem;
    }
}

@media (max-height: 800px) {
    .h-24 {
        height: 6rem;
    }
    .h-40 {
        height: 8rem;
    }
    .text-4xl {
        font-size: 2rem;
    }
    .text-5xl {
        font-size: 2.5rem;
    }
    .md\:text-7xl {
        font-size: 4rem;
    }
    .landing-stat-card {
        padding: 0.75rem;
    }
    .mb-12 {
        margin-bottom: 2rem;
    }
    .mb-8 {
        margin-bottom: 1.5rem;
    }
    .mb-6 {
        margin-bottom: 1rem;
    }
}

/* Tooltip styles */
.tooltip-container {
    position: relative;
    display: inline-block;
}

.tooltip {
    visibility: hidden;
    position: absolute;
    top: 125%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 16px;
    white-space: normal;
    width: 50vw;
    max-width: 300px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 20;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.tooltip::after {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent rgba(0, 0, 0, 0.8) transparent;
}

.tooltip-container:hover .tooltip {
    visibility: visible;
    opacity: 1;
}

@media (max-width: 640px) {
    .tooltip {
        font-size: 14px;
        padding: 10px 14px;
        width: 70vw;
        max-width: 250px;
        top: 110%;
    }
}

@media (max-width: 380px) {
    .tooltip {
        font-size: 13px;
        padding: 8px 12px;
        width: 80vw;
        max-width: 200px;
    }
}
