@font-face {
    font-family: "Vazir";
    src: url("Vazir-Medium.ttf"),
}

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

/* Background styling */
body,
html {
    font-family: "Vazir", 'Arial', sans-serif;
    height: 100%;
    background: linear-gradient(135deg, #d4d7f4, #e5e6f7);
    overflow: hidden;
}

.background {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url('background-image.jpg');
    background-size: cover;
    background-position: center;
}

.card {
    width: 90%;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(4px);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.mockup img {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
    height: 100%;
}

.text {
    height: 100%;
}

.text h2 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 10px;
}

.logo {
    max-width: 200px;
}

.text p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 20px;
}

.buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
}

button {
    padding: 10px 20px;
    font-size: 1rem;
    font-family: "Vazir", 'Arial', sans-serif;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.download {
    background: linear-gradient(-135deg, #b266ff, #8a4dff);
}

.web-version {
    background: linear-gradient(135deg, #b266ff, #8a4dff);
}

button:hover {
    opacity: 0.9;
}

@media (max-width: 768px) {
    .card {
        padding: 15px;
    }

    .mockup img {
        max-width: 300px;
    }

    .text h2 {
        font-size: 1.3rem;
    }

    .text p {
        font-size: 0.9rem;
    }

    button {
        font-size: 0.9rem;
        padding: 8px 15px;
    }
}

.mobile-mockup {
    display: none;
}

@media (max-width: 550px) {
    .mobile-mockup {
        display: block;

    }

    .mockup {
        display: none;
    }

    .card {
        flex-direction: column;
        height: 90%;
        align-items: center;
        justify-content: space-around;
        padding: 0px 0px 0px 0px;
    }
}

/* Support floating action button (FAB) */
.support-fab {
    position: fixed;
    right: 16px;
    bottom: 16px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #b266ff, #8a4dff);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    z-index: 1000;
    user-select: none;
    transition: transform 0.15s ease, opacity 0.2s ease;
}

.support-fab:hover {
    transform: translateY(-2px);
}

.support-fab__icon {
    font-size: 22px;
    line-height: 1;
}

/* Support panel */
.support-panel {
    position: fixed;
    right: 16px;
    bottom: 80px;
    width: 460px;
    height: 80vh;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.24);
    z-index: 1000;
    display: flex;
    flex-direction: column;
}

.support-panel__header {
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px 0 12px;
    background: rgba(138, 77, 255, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.support-panel__title {
    font-size: 0.95rem;
    color: #333333;
}

.support-panel__close {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    color: #333333;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    border-radius: 6px;
}

.support-panel__close:hover {
    background: rgba(0, 0, 0, 0.06);
}

.support-panel__iframe {
    width: 100%;
    height: calc(100% - 44px);
    border: 0;
}

@media (max-width: 550px) {
    .support-panel {
        right: 8%;
        left: 8%;
        width: auto;
        bottom: 80px;
        height: 80vh;
        border-radius: 12px;
    }
}