﻿@font-face {
    font-family: 'matnha';
    src: url(../font/Kalameh-SemiBold[@mimvid].ttf);
}

@font-face {
    font-family: 'sartitr';
    src: url(../font/Anjoman-UltraBold[@mimvid].ttf);
}

.app-hero {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 60px 50px 0px 50px;
    direction: rtl;
    gap: 100px;
    flex-wrap: wrap;
}

.app-hero-text {
    flex: 1;
    padding: 20px;
    min-width: 300px;
}

    .app-hero-text h1 {
        font-size: 2rem;
        margin-bottom: 10px;
        font-family: 'sartitr';
    }

    .app-hero-text h3 {
        color: gray;
        margin-bottom: 20px;
        font-size: larger;
        font-family: 'sartitr';
    }

    .app-hero-text p {
        margin-bottom: 30px;
        text-align: justify;
        font-family: 'matnha';
    }

.app-buttons {
    display: flex;
    gap: 10px;
    font-family: 'matnha';
    flex-wrap: wrap;
}

.app-button {
    padding: 10px 20px;
    font-size: 1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.app-button-primary {
    background: #007bff;
    color: white;
}

.app-button-secondary {
    background: #e0e0e0;
}

.app-hero-img {
    flex: 1;
    padding: 20px;
    min-width: 300px;
    text-align: center;
}

    .app-hero-img img {
        max-width: 100%;
        height: auto;
    }

.app-info-section {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 30px;
    margin-top: -40px;
    text-align: end;
}

.app-info-text,
.app-info-heading {
    flex: 1;
    padding: 20px;
    min-width: 280px;
    text-align: right;
}

.app-paragraph {
    font-family: "matnha";
    direction: rtl;
}

.app-info-heading h2 {
    margin-bottom: 10px;
    font-family: 'sartitr';
}

.app-features-title {
    text-align: center;
    margin-bottom: 30px;
}

.app-features {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.app-feature-box {
    background: white;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.05);
}

.app-download-section {
    margin-top: 60px;
    background: #007bff;
    color: white;
    text-align: center;
    padding: 40px 20px;
    border-radius: 40px 40px 0px 0px;
}

    .app-download-section h2 {
        margin-bottom: 20px;
        font-family: 'sartitr';
    }

.app-download-button {
    padding: 12px 30px;
    font-size: 1rem;
    border: none;
    border-radius: 8px;
    background: white;
    color: #007bff;
    cursor: pointer;
}

/* ریسپانسیو برای صفحه‌های کوچکتر از 768px (موبایل) */
@media (max-width: 768px) {
    .app-hero {
        flex-direction: column;
        gap: 40px;
        padding: 40px 20px 0 20px;
    }
    .app-hero-text {
        flex: 1;
        padding: 50px 20px 0px 10px;
        min-width: 300px;
    }
    .app-hero-text h1 {
        font-size: 1.5rem;
    }

    .app-hero-text h3 {
        font-size: 1rem;
    }

    .app-buttons {
        justify-content: center;
    }

    .app-hero-img {
        text-align: center;
    }

        .app-hero-img img {
            max-width: 100%;
            height: auto;
            margin-top: -30px;
        }

    .app-info-section {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        margin-top: 0;
    }

    .app-info-text,
    .app-info-heading {
        text-align: center;
    }

    .app-features {
        grid-template-columns: 1fr;
    }

    .app-download-section {
        padding: 30px 15px;
    }

    .app-download-button {
        width: 100%;
        max-width: 250px;
    }
}

.section3 {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    text-align: center;
    background-color: white;
    gap: 20px;
}

.box1, .box2, .box3 {
    background: linear-gradient(145deg, #ffffff, #dcdcdc);
    padding: 2rem;
    border-radius: 16px;
    margin: 1rem;
    width: 30%;
    min-width: 280px;
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .box1:hover, .box2:hover, .box3:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 20px rgba(0,0,0,0.2);
    }

    .box1 h3, .box2 h3, .box3 h3 {
        color: #333;
    }

    .box1 p, .box2 p, .box3 p {
        color: #555;
        margin: 1rem 0;
    }

    .box1 button, .box2 button, .box3 button {
        margin-top: 1rem;
        padding: 0.6rem 1.2rem;
        background-color: #007bff;
        color: white;
        border: none;
        border-radius: 6px;
        cursor: pointer;
        font-size: 1rem;
        font-family: 'matnha';
        transition: all 0.3s ease;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

        .box1 button:hover,
        .box2 button:hover,
        .box3 button:hover {
            background-color: #e18900; /* رنگ آبی تیره‌تر */
            transform: translateY(-2px); /* کمی بالا بیاد */
            box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* سایه قوی‌تر */
        }


.input-group {
    margin-top: 1rem;
}

    .input-group input {
        padding: 0.5rem;
        border: 1px solid #ccc;
        border-radius: 6px;
        width: 80%;
        margin-bottom: 0.5rem;
    }

.price {
    margin-top: 0.5rem;
    font-weight: bold;
    color: #0a00e3;
    font-family: 'sartitr';
    font-size: x-large;
}
.summary-section {
    margin-top: 40px;
    padding: 20px;
    background-color: #f3f3f3;
    text-align: center;
    border-radius: 12px;
    margin-inline: auto;
    max-width: 970px;
    margin-bottom: 50px;
    margin-top: 10px;
}

    .summary-section h3 {
        margin-bottom: 10px;
        direction: rtl;
        font-family: 'sartitr';
    }

#grand-total {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 20px;
}

#final-purchase-btn {
    padding: 12px 24px;
    font-size: 1rem;
    background-color: rgba(33, 150, 243, 0.9); /* کمی شفاف */
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.4);
    backdrop-filter: blur(3px);
}

    #final-purchase-btn:hover {
        background-color: rgba(25, 118, 210, 1); /* رنگ کمی تیره‌تر */
        box-shadow: 0 6px 16px rgba(25, 118, 210, 0.6);
        transform: translateY(-2px);
    }
.summary-info {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background-color: #f5f5f5;
    border-radius: 8px;
    font-family: 'IRANSans', sans-serif;
    font-size: 1rem;
}

    .summary-info span {
        flex: 1;
        text-align: center;
        color: #333;
        font-weight: 500;
    }
