:root {
    --main-color: #7209b7;
    --accent-color: #1097c1;
    --text-light: #ffffff;
    --text-muted-light: rgba(255, 255, 255, 0.8);
    --dark-overlay: rgba(30, 30, 60, 0.6);
    --card-bg-gradient: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    --shadow-light: 0 8px 24px 0 rgba(31, 38, 135, 0.2);
    /* Reduced shadow for lighter feel */
    --shadow-hover: 0 10px 28px rgba(31, 38, 135, 0.3);
    /* Reduced shadow for lighter feel */
    --border-light: 1px solid rgba(255, 255, 255, 0.15);
    /* Slightly less opaque border */
}

@font-face {
    font-family: 'Vazirmatn';
    src: url('./fonts/Vazirmatn.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: 'Vazirmatn', sans-serif;
    background-color: #333;
    background-image: url('./images/background.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--text-light);
}



.overlay {
    background: var(--dark-overlay);
    backdrop-filter: blur(10px);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.logo {
    height: 55px;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.hero {
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-logo {
    width: 200px;
    height: 200px;
    border-radius: 30px;
    object-fit: cover;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.7);
    background-color: rgba(0, 0, 0, 0.4);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hero-logo:hover {
    transform: scale(1.08) rotate(2deg);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.9);
}

.hero h1 {
    font-size: 3.8rem;
    margin-top: 20px;
    color: var(--text-light);
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.5);
}

.hero h2 {
    font-size: 1.7rem;
    color: var(--text-muted-light);
    margin-bottom: 15px;
}

.hero p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 30px auto;
    color: var(--text-muted-light);
}

.section {
    padding: 80px 0;
}

.section h2 {
    font-size: 2.8rem;
    margin-bottom: 4rem;
    color: var(--text-light);
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.blur-card {
    background: var(--card-bg-gradient);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-light);
    /* Lighter shadow */
    backdrop-filter: blur(12px);
    /* Slightly less blur */
    border: var(--border-light);
    /* Lighter border */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* Faster transition */
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.blur-card:hover {
    transform: translateY(-5px) scale(1.01);
    /* Lighter movement */
    box-shadow: var(--shadow-hover);
    /* Lighter shadow on hover */
}

.feature-icon,
.download-icon {
    height: 100px;
    margin-bottom: 1.5rem;
    object-fit: contain;
    /* Ensures aspect ratio is maintained */
    width: auto;
    /* Allow natural width */
}

.blur-card h4 {
    font-size: 1.7rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.blur-card p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-muted-light);
}

.btn-primary-custom {
    background: linear-gradient(135deg, var(--accent-color), #42d1f5);
    color: var(--text-light);
    font-weight: bold;
    padding: 0.8rem 1.8rem;
    font-size: 1.15rem;
    border: none;
    border-radius: 50px;
    box-shadow: 0 6px 20px rgba(16, 151, 193, 0.4);
    transition: all 0.3s ease-in-out;
}

.btn-primary-custom:hover {
    background: linear-gradient(135deg, #3bc5e0, #1dbdd3);
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(16, 151, 193, 0.6);
    color: #ffffff;
}

.btn-secondary-custom {
    color: #333;
    background-color: #ffffff;
    border-radius: 50px;
    font-weight: 600;
    padding: 0.8rem 1.8rem;
    font-size: 1.15rem;
    transition: all 0.3s ease-in-out;
}

.btn-secondary-custom:hover {
    background-color: #f0f0f0;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
    color: #222;
}

footer {
    background: rgba(0, 0, 0, 0.4);
    padding: 25px;
    font-size: 0.95rem;
    direction: ltr;
    margin-top: auto;
    color: var(--text-muted-light);
}

.screenshot-section {
    padding: 60px 0;
    overflow: hidden;
}

.screenshot-slider {
    display: flex;
    animation: scroll-left 40s linear infinite;
    padding: 20px 0;
    white-space: nowrap;
}

.screenshot-slider img {
    flex-shrink: 0;
    width: auto;
    height: 450px;
    object-fit: contain;
    margin: 0 15px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
    max-width: 400px;
}

.screenshot-slider img:hover {
    transform: translateY(-5px) scale(1.02);
}

@keyframes scroll-left {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-50%);
    }
}

.download-card {
    position: relative;
    overflow: hidden;
    padding-bottom: 2rem;
}

.download-card h4 {
    color: var(--text-light);
}

.download-card p.text-muted {
    color: var(--text-muted-light) !important;
}

.app-store-badge {
    max-width: 180px;
    height: auto;
    transition: transform 0.3s ease;
}

.app-store-badge:hover {
    transform: scale(1.05);
}

.download-link {
    display: inline-block;
}

.telegram-section {
    padding-top: 40px;
    padding-bottom: 100px;
}

.telegram-section h2 {
    color: var(--text-light);
}

.telegram-section p.lead {
    color: var(--text-muted-light);
}

.btn-telegram {
    background: linear-gradient(to right, #0088cc, #005c99);
    border: none;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(0, 136, 204, 0.6);
    font-size: 1.3rem;
    font-weight: bold;
    transition: all 0.3s ease;
    color: var(--text-light);
}

.btn-telegram:hover {
    transform: scale(1.03) translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 136, 204, 0.8);
    background: linear-gradient(to right, #0099e6, #006eb3);
}

@media (max-width: 992px) {
    .hero h1 {
        font-size: 3rem;
    }

    .hero h2 {
        font-size: 1.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .screenshot-slider img {
        height: 380px;
        max-width: 350px;
    }

    .section h2 {
        font-size: 2.2rem;
    }

    .blur-card {
        padding: 2rem;
    }

    .blur-card h4 {
        font-size: 1.5rem;
    }

    .blur-card p {
        font-size: 1rem;
    }

    .btn-primary-custom,
    .btn-secondary-custom,
    .btn-telegram {
        padding: 0.7rem 1.4rem;
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .logo {
        height: 50px;
    }

    .hero {
        padding: 80px 0 50px 0;
    }

    .hero-logo {
        width: 160px;
        height: 160px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

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

    .hero p {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .screenshot-slider img {
        height: 280px;
        max-width: 280px;
    }

    .section {
        padding: 60px 0;
    }

    .section h2 {
        font-size: 2rem;
        margin-bottom: 3rem;
    }

    .feature-icon,
    .download-icon {
        height: 80px;
    }

    .blur-card {
        padding: 1.8rem;
    }

    .blur-card h4 {
        font-size: 1.3rem;
    }

    .blur-card p {
        font-size: 0.95rem;
    }

    .download-card .d-flex {
        flex-direction: row !important;
        justify-content: center !important;
        flex-wrap: wrap;
    }

    .app-store-badge {
        max-width: 160px;
    }

    .btn-telegram {
        font-size: 1.1rem;
        padding: 0.6rem 1.2rem;
    }

    .background-glows::before {
        width: 120px;
        height: 120px;
        filter: blur(50px);
    }

    .background-glows::after {
        width: 150px;
        height: 150px;
        filter: blur(60px);
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 60px 0 40px 0;
    }

    .logo {
        height: 45px;
    }

    .hero-logo {
        width: 140px;
        height: 140px;
        border-radius: 25px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero h2 {
        font-size: 1.1rem;
    }

    .hero p {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

    .screenshot-slider {
        animation-duration: 30s;
        padding: 15px 0;
    }

    .screenshot-slider img {
        height: 220px;
        max-width: 200px;
    }

    .section {
        padding: 40px 0;
    }

    .section h2 {
        font-size: 1.8rem;
        margin-bottom: 2.5rem;
    }

    .feature-icon,
    .download-icon {
        height: 70px;
        margin-bottom: 1rem;
    }

    .blur-card {
        padding: 1.5rem;
    }

    .blur-card h4 {
        font-size: 1.2rem;
    }

    .blur-card p {
        font-size: 0.9rem;
    }

    .btn-primary-custom,
    .btn-secondary-custom,
    .btn-telegram {
        padding: 0.6rem 1.1rem;
        font-size: 0.95rem;
    }

    .telegram-section {
        padding-bottom: 60px;
    }

    .download-card .d-flex {
        gap: 10px !important;
    }

    .app-store-badge {
        max-width: 140px;
    }

    .background-glows::before {
        width: 90px;
        height: 90px;
        filter: blur(35px);
    }

    .background-glows::after {
        width: 110px;
        height: 110px;
        filter: blur(45px);
    }
}