﻿/* ====================== APP SECTION LAYOUT ========================= */
.app-section {
    position: relative;
    padding: 0;
}

.app-bg-wrapper {
    background: var(--np-grey-hot-bg);
    padding-top: 100px;
    padding-bottom: 120px;
    position: relative;
}
/* ====================== END APP SECTION LAYOUT ========================= */



/* ====================== APP INNER WRAPPER ========================= */
.app-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
}
/* ====================== END INNER WRAPPER ========================= */



/* ====================== LEFT COLUMN ========================= */
.app-left {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.app-title {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: var(--fs-3xl);
    font-weight: 900;
    font-family: var(--font-header);
}

.app-title-icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.app-title-accent {
    color: var(--np-accent1);
}

.app-description {
    font-size: var(--fs-xl);
    color: var(--np-dark);
}

.app-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: var(--fs-xl);
    color: var(--np-dark);
    font-weight: 500;
}
/* ====================== END LEFT COLUMN ========================= */



/* ====================== STORE BUTTONS ========================= */
.app-store-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-top: 10px;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #000;
    padding: 12px 20px;
    border-radius: 12px;
    box-shadow: 0 5px 4px rgba(0,0,0,0.08);
    text-decoration: none;
    color: #fff !important;
    min-width: 180px;
    transition: transform .25s ease, box-shadow .25s ease;
}

    .store-btn:hover {
        transform: translateY(-4px);
        box-shadow: 0 4px 8px rgba(0,0,0,0.35);
        text-decoration: none;
    }

.store-icon {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

.store-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.store-top {
    font-size: var(--fs-md);
    opacity: 0.8;
    text-transform: uppercase;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.store-bottom {
    font-size: var(--fs-xxl);
    font-weight: 700;
    margin-top: 1px;
}
/* ====================== END STORE BUTTONS ========================= */



/* ====================== RIGHT COLUMN (APP CARD) ========================= */
.app-right {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
}

.app-bg-image {
    position: absolute;
    top: -80px; 
    right: 0;
    width: 100%;
    height: 100%;
    background-image: url('/images/newDesign/aboutPage/downloadApp/app-bg.svg');
    background-repeat: no-repeat;
    background-size: contain; 
    background-position: center right;
    z-index: 1;
    pointer-events: none;
}

.app-card {
    position: relative;
    z-index: 2;
    background: var(--np-hover-bg);
    border: 3px solid var(--np-accent1);
    border-radius: 16px;
    padding: 35px 40px;
    width: 65%;
    margin-right: auto;
    margin-top: auto;
    box-shadow: 0 5px 4px rgba(0,0,0,0.08);
    transition: transform .25s ease, box-shadow .25s ease;
    text-align: center;
}

    .app-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 4px 8px rgba(0,0,0,0.30);
    }

.app-logo-box {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: var(--np-white-hot);
    border: 3px solid var(--np-accent1);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

    .app-logo-box img {
        width: 42px;
        height: 26px;
        object-fit: contain;
    }

.app-card-header {
    display: flex;
    flex-direction: column;
    align-items: center; 
    gap: 14px;
    margin-bottom: 20px;
}

.app-card-title {
    font-family: var(--font-header);
    font-size: var(--fs-xl);
    color: var(--np-accent1);
    margin-bottom: 14px;
}

.app-card-subtitle {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-size: var(--fs-md);
}

.app-card-stats {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px; 
    width: 100%;
}

.app-card-stat {
    width: 100%; 
    background: var(--np-white-hot);
    border: 2px solid var(--np-accent1);
    border-radius: 12px;
    padding: 12px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: var(--fs-sm);
}

.stat-bold{
    font-weight: 700;
}

.stat-dark-red {
    color: var(--np-accent1);
}

.stat-green {
    color: var(--np-green);
}
/* ====================== END RIGHT COLUMN ========================= */



/* ====================== RESPONSIVE ========================= */
@media (max-width: 900px) {
    .app-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .app-card {
        margin: 0 auto;
        width: 100%;
    }

    .app-store-buttons {
        justify-content: center;
    }
}
/* ====================== END RESPONSIVE ========================= */
