/* Page specific styles */
















/* --- Main Section Container --- */
.stats-section-container {
    background-color: #000;
    color: #fff;
    padding: 60px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* --- Flexbox container for the category cards --- */
.category-grid-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1200px;
    /* Adjusted max-width for a 2-column layout */
    margin: 0 auto;
    justify-content: center;
}

/* --- Styling for each Category Card --- */
.category-card {
    padding: 40px;
    display: flex;
    flex-direction: column;
    /* Default (Mobile): Full width */
    width: 100%;
}

.category-title {
    padding-bottom: 40px;
    font-size: 50px;
    font-weight: 600;
    color: #ffffff;
    margin-top: 0;
    margin-bottom: 40px;
    line-height: 1.1;
    border-bottom: 4px solid #424242;
}

/* --- Grid for Stats (Responsive) --- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 50px 30px;
}

.stat-item {
    min-width: 0;
}

.stat-value-container {
    display: flex;
    align-items: baseline;
    line-height: 1;
}

/* --- Stat Typography (Responsive) --- */
.stat-number {
    font-size: clamp(40px, 5vw, 70px);
    font-weight: 200;
    color: #ffffff;
}

.stat-unit {
    font-size: clamp(20px, 2.5vw, 40px);
    font-weight: 300;
    color: #424242;
    margin-left: 8px;
    white-space: nowrap;
}

.stat-description {
    font-size: 14px;
    font-weight: 400;
    color: #cccccc;
    line-height: 1.4;
    margin-top: 8px;
    word-break: break-word;
}

.stat-number small {
    font-size: clamp(20px, 2.5vw, 40px);
    font-weight: 300;
    color: #cccccc;
    margin: 0 5px;
}

.stat-prefix-description {
    font-size: 16px;
    color: #cccccc;
    margin-bottom: 5px;
}

/* --- EXPLICIT BREAKPOINTS FOR HORIZONTAL LAYOUT --- */

/* Tablet and Desktop: Force 2 columns */
@media (min-width: 768px) {
    .category-card {
        width: calc(50% - 15px);
        /* width = 50% minus half the gap */
    }
}

/* REMOVED: The 1200px breakpoint for 3/4 columns is gone. */

/* Small Phones: stack stats inside cards */
@media (max-width: 480px) {

    /* This rule is inside the .stats-grid to ensure it is also responsive */
    .stats-grid {
        grid-template-columns: 1fr;
    }
}








/* --- Main Section Container --- */
.openr-link-section {
    position: relative;
    color: #fff;
    padding: 80px 20px;
    text-align: center;
    overflow: hidden;
}

.openr-link-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

/* --- Title Styling --- */
.openr-link-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    /* Responsive font size */
    font-weight: 700;
    line-height: 1.1;
    margin: 0 0 60px 0;
    /* Space below the title */
}

/* --- Grid for the Apps --- */
.apps-grid {
    display: flex;
    flex-wrap: wrap;
    /* Allows icons to wrap on smaller screens */
    justify-content: center;
    align-items: flex-start;
    gap: 20px 25px;
    /* Vertical and horizontal gap between icons */
}

/* --- Individual App Item --- */
.app-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 90px;
    /* Fixed width for each app container */
}

.app-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 22%;
    /* "Squircle" shape, similar to iOS icons */
    overflow: hidden;
    /* Ensures the image respects the border-radius */
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 12px;
    background-color: #fff;
    /* White background for icons that are not full-bleed */
}

.app-icon {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensures the image fills the container */
}

.app-name {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 1.3;
}