@font-face {
    font-family: IRANSANS;
    src: url("font/IRANSansWeb_Light.woff");
}

* {
    font-family: IRANSANS;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
}

/* Hero Section */
.hero-section {
    background-image: url("image/jbifufig.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    min-height: 600px;
    padding: 40px 20px;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    padding: 20px;
}

.hero-content img.logo {
    width: 80px;
    height: 80px;
    margin-bottom: 16px;
}

.hero-content h1 {
    font-size: clamp(32px, 5vw, 62px);
    margin: 8px 0;
}

.hero-content h2 {
    font-size: clamp(24px, 3vw, 36px);
    margin-bottom: 16px;
}

.hero-content p {
    font-size: clamp(14px, 2vw, 18px);
    margin: 16px 0 24px;
}

.phone-image {
    max-width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
}

/* Download Buttons */
.download-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    align-items: center;
    margin-top: 24px;
}

.btn-download {
    border: none;
    padding: 14px 24px;
    border-radius: 8px;
    background-color: rgba(247, 71, 7, 0.904);
    font-size: clamp(14px, 2vw, 16px);
    color: aliceblue;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.2s, box-shadow 0.2s;
    white-space: nowrap;
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    color: aliceblue;
}

.btn-download.direct {
    background-color: rgb(10, 99, 10);
}

/* Features Section */
.features-section {
    
}

.feature-card {
    padding: 15px 30px;
    text-align: center;
}

.feature-card h2 {
    color: rgba(247, 71, 7, 0.904);
    font-size: clamp(20px, 3vw, 28px);
}

.feature-card p {
    font-size: clamp(14px, 2vw, 16px);
    line-height: 1.8;
    margin-bottom: 0px;
}

.feature-card img {
    max-width: 80px;
    height: auto;
}

/* Exercise Image */
.exercise-section {
    padding: 20px 20px;
    text-align: center;
}

.exercise-section img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

/* App Features Section */
.app-features-section {
    padding: 30px 20px;
}

.app-features-section h1 {
    font-size: clamp(24px, 4vw, 42px);
    line-height: 1.5;
    margin-bottom: 24px;
}

.app-features-section h2 {
    font-size: clamp(20px, 3vw, 32px);
    text-align: center;
    margin-bottom: 16px;
}

.app-features-section p {
    font-size: clamp(14px, 2vw, 16px);
    line-height: 1.8;
    text-align: center;
    margin-bottom: 40px;
}

.phone-mockup {
    max-width: 100%;
    height: auto;
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    margin-bottom: 20px;
}

.feature-item h6 {
    margin: 0;
    font-size: clamp(14px, 2vw, 18px);
}

.feature-item img {
    width: 40px;
    height: 40px;
}

/* Newsletter Section */
.newsletter-section {
    background: lightcoral;
    padding: 40px 20px;
    text-align: center;
}

.newsletter-section h3 {
    color: white;
    font-size: clamp(20px, 3vw, 28px);
    margin-bottom: 20px;
}

.newsletter-section span {
    color: white;
    font-size: clamp(14px, 2vw, 16px);
    display: inline-block;
}

/* Footer */
.footer {
    background: lightgray;
    padding: 60px 40px;
}

.footer img.logo {
    max-width: 80px;
    margin-bottom: 24px;
}

.footer-menu {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 0;
    margin: 24px 0;
}

.footer-menu li {
    font-size: clamp(12px, 2vw, 14px);
    cursor: pointer;
}

.footer p {
    text-align: center;
    font-size: clamp(12px, 2vw, 14px);
    margin: 16px 0;
}

.footer .enamad {
    max-width: 120px;
    margin-top: 24px;
}

@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
    }

    .hero-section .row {
        flex-direction: column-reverse;
    }

    .phone-image {
        max-height: 350px;
        margin-bottom: 20px;
    }

    .download-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn-download {
        width: 100%;
        max-width: 300px;
    }

    .app-features-section h1 {
        text-align: center;
    }

    .app-features-section .row {
        flex-direction: column-reverse;
    }

    .app-features-section .mt-4 .row {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .feature-item {
        flex-direction: column-reverse;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .footer .text-center {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 80px;
    }

    .footer .text-center .logo,
    .footer .text-center .enamad {
        margin: 0;
    }

    .footer-menu {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px 20px;
        justify-items: center;
        max-width: 400px;
        margin: 24px auto;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .hero-content h1 {
        font-size: 48px;
    }

    .feature-card {
        padding: 20px 15px;
    }
}

@media (min-width: 769px) {
    .features-section .row {
        display: flex;
        justify-content: center;
        gap: 20px;
        max-width: 1200px;
        margin: 0 auto;
    }

    .features-section .row .col-lg-4:nth-child(3) {
        flex: 0 0 auto;
        width: 33.333%;
        margin: 0 auto;
    }

    .feature-card {
        margin-bottom: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .app-features-section h1 {
        text-align: center;
    }

    .app-features-section h2 {
        text-align: center;
    }

    .app-features-section p {
        text-align: center;
    }

    .app-features-section .phone-mockup {
        display: block;
        margin: 0 auto 30px;
    }

    .app-features-section .mt-4 {
        display: flex;
        justify-content: center;
        gap: 30px;
    }

    .app-features-section .mt-4 .row {
        display: flex;
        gap: 30px;
    }

    .app-features-section .feature-item {
        flex-direction: column-reverse;
        justify-content: center;
        text-align: center;
    }

    .footer .text-center {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 40px;
    }

    .footer .text-center .logo,
    .footer .text-center .enamad {
        margin: 0;
    }
}
