@import url(../../grid.css);

:root {
    --blue-color: #007aff;
    --bg-color: rgb(236, 236, 236);
    --section-color: #d9d9d9;
    --secondary-color: #282828;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    list-style: none;
}

@font-face {
    font-family: "bakh regular";
    src: url(../../font/yekan\ bakh\ en\ 04\ regular.ttf);
}

@font-face {
    font-family: "bakh medium";
    src: url(../../font/yekan\ bakh\ en\ 05\ medium.ttf);
}

@font-face {
    font-family: "bakh bold";
    src: url(../../font/yekan\ bakh\ en\ 06\ bold\ .ttf);
}

@font-face {
    font-family: "bakh heavy";
    src: url(../../font/yekan\ bakh\ en\ 07\ heavy.ttf);
}

.f-br { font-family: "bakh regular"; }
.f-bm { font-family: "bakh medium"; }
.f-bb { font-family: "bakh bold"; }
.f-bh { font-family: "bakh heavy"; }

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    background: linear-gradient(135deg, #0064d0 0%, #004795 100%);
    min-height: 100vh;
    direction: rtl;
}

.container {
    width: 100%;
    max-width: 1200px;
    padding: 0 3rem;
    margin: 0 auto;
}

.download {
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 2rem 0;
    overflow: hidden;
}

.download-content {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 2.5rem;
    padding: 3rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.download-info {
    flex: 1;
    color: white;
}

.download-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.download-description {
    font-size: 1.6rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.platforms-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.platform-section {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 1.2rem;
    display: flex;
    flex-direction: column;
}

.platform-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: white;
    opacity: 0.95;
    text-align: center;
}

.download-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    flex: 1;
}

.download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1rem 1.5rem;
    border-radius: 1rem;
    font-size: 1.4rem;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
}

.download-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.pwa-btn {
    background: white;
    color: #5a0fc8 ;
}

.pwa-btn:hover {
    background: white;
    transform: translateY(-2px);
}

.android-btn {
    background: #3DDC84;
}

.android-btn:hover {
    background: #2bc46f;
    transform: translateY(-2px);
}

.ios-btn {
    background: #000000;
}

.ios-btn:hover {
    background: #333333;
    transform: translateY(-2px);
}

.pulse:hover {
    animation: pulse 0.7s;
    box-shadow: 0 0 0 1rem transparent;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }
}

.download-features {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 1.2rem;
}

.features-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.features-list {
    font-size: 1.4rem;
    line-height: 2.2rem;
}

.features-list li {
    padding: 0.5rem 0;
    padding-right: 2rem;
    position: relative;
}

.features-list li::before {
    content: "✓";
    position: absolute;
    right: 0;
    color: #3DDC84;
    font-weight: bold;
}

.download-image {
    flex: 0.8;
    display: flex;
    justify-content: center;
    align-items: center;
}

.download-image figure {
    margin: 0;
}

.download-image img {
    max-width: 100%;
    max-height: 70vh;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
}

@media screen and (max-width: 992px) {
    .download {
        height: auto;
        min-height: 100vh;
        overflow: visible;
    }
    
    .platforms-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .download-content {
        flex-direction: column;
    }
    
    .download-image {
        flex: 1;
    }
}

@media screen and (max-width: 768px) {
    html {
        font-size: 50%;
    }
    
    .download-content {
        flex-direction: column;
        padding: 3rem;
    }
    
    .download-title {
        font-size: 4rem;
        text-align: center;
    }
    
    .download-description {
        text-align: center;
    }
    
    .download-buttons {
        width: 100%;
    }
    
    .download-btn {
        width: 100%;
    }
    
    .platform-section {
        padding: 1.5rem;
    }
}

@media screen and (max-width: 576px) {
    .download-content {
        padding: 2rem;
    }
    
    .download-title {
        font-size: 3.5rem;
    }
}
