.features {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.feature {
    width: 100%;
    min-height: 100vh;
    margin: 0;
    box-sizing: border-box;
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    background-color: #fff;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature.text-only {
    min-height: auto;
    padding: 80px 0;
}

.feature:last-child {
    border-bottom: none;
}

.featureContent {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
    margin: 0;
    padding: 0 40px;
    gap: 80px;
}

.text-only .featureContent {
    max-width: 800px;
}

.feature.left .featureContent {
    flex-direction: row;
}

.feature.right .featureContent {
    flex-direction: row-reverse;
}

.featureText {
    flex: 0 0 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.text-only .featureText {
    flex: 1;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.featureText h3 {
    margin: 0 0 20px 0;
    font-size: 36px;
    font-weight: 600;
}

.featureText p {
    margin: 0 0 30px 0;
    font-size: 18px;
    line-height: 1.6;
    opacity: 0.8;
}

.fa-stack {
    font-size: 24px;
    margin-bottom: 20px;
}

.text-only .fa-stack {
    margin: 0 auto 20px auto;
}

.downloadButtonsContainer {
    display: flex;
    gap: 12px;
    margin-top: auto;
}

.text-only .downloadButtonsContainer {
    justify-content: center;
}

.appStoreLink {
    display: block;
    transition: transform 0.2s ease;
}

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

/* Default size for feature section buttons */
.feature .appStore {
    height: 35px;
    width: auto;
}

/* Original size for header button */
.headerContainer .appStore,
.appInfo .appStore {
    height: 50px;
    width: auto;
    margin-top: 12px;
}

.featureScreenshot {
    flex: 0 0 360px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.screenshotLink {
    display: block;
    text-decoration: none;
}

.screenshot {
    display: block;
    width: 360px;
    height: 450px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    background-color: #fff;
}

.screenshotLink:hover .screenshot {
    transform: translateY(-10px);
}

@media only screen and (max-width: 992px) {
    .feature {
        min-height: auto;
        padding: 80px 0;
    }

    .feature.text-only {
        padding: 40px 0;
    }

    .featureContent {
        flex-direction: column !important;
        text-align: center;
        padding: 0 20px;
        gap: 40px;
    }

    .featureText {
        flex: 0 0 auto;
        width: 100%;
        max-width: 500px;
        padding: 0;
        margin: 0 auto;
        text-align: center;
        align-items: center;
    }

    .featureText h3 {
        font-size: 32px;
    }

    .featureText p {
        font-size: 16px;
    }

    .downloadButtonsContainer {
        justify-content: center;
    }

    .featureScreenshot {
        flex: 0 0 auto;
        width: 270px;
        margin: 0 auto;
    }

    .screenshot {
        width: 270px;
        height: 337.5px;
    }

    .fa-stack {
        margin: 0 auto 20px auto;
        font-size: 20px;
    }

    .appStore {
        height: 35px;
    }
} 