/* Feature Image-Text Block */
.feature-image-text {
    position: relative;
}

.feature-image-text-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.feature-image-text-reverse .feature-image-text-grid {
    direction: rtl;
}

.feature-image-text-reverse .feature-image-text-grid > * {
    direction: ltr;
}

.feature-image-text-media {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Phone Mockup */
.feature-image-text-phone {
    width: 260px;
    height: 540px;
    background: #1a1a1a;
    border-radius: 36px;
    padding: 10px;
    position: relative;
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.25),
        inset 0 0 0 2px rgba(255, 255, 255, 0.1);
}

.feature-image-text-phone-notch {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 24px;
    background: #1a1a1a;
    border-radius: 0 0 16px 16px;
    z-index: 10;
}

.feature-image-text-phone-screen {
    width: 100%;
    height: 100%;
    background-color: #fff;
    background-size: cover;
    background-position: center top;
    border-radius: 28px;
    overflow: hidden;
}

/* Laptop Mockup */
.feature-image-text-laptop {
    width: 100%;
    max-width: 500px;
    position: relative;
}

.feature-image-text-laptop-screen {
    width: 100%;
    padding-bottom: 62.5%;
    background-color: #f5f7f9;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    border-radius: 10px 10px 0 0;
    border: 10px solid #1a1a1a;
    border-bottom: none;
    box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.2);
}

.feature-image-text-laptop-base {
    width: 110%;
    height: 16px;
    background: linear-gradient(to bottom, #d4d4d4 0%, #a8a8a8 100%);
    border-radius: 0 0 10px 10px;
    margin-left: -5%;
    position: relative;
}

.feature-image-text-laptop-base::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 5px;
    background: #888;
    border-radius: 2.5px;
}

.feature-image-text-img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Placeholder Styling */
.feature-mockup-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0f4f7 0%, #e8eef2 100%) !important;
}

.feature-mockup-placeholder-icon {
    color: #a0b0c0;
    font-size: 48px;
}

.feature-image-text-placeholder {
    width: 100%;
    max-width: 400px;
    padding: 80px 40px;
    background: linear-gradient(135deg, #f0f4f7 0%, #e8eef2 100%);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: #a0b0c0;
    border: 2px dashed #c0d0e0;
}

.feature-image-text-placeholder i {
    font-size: 48px;
}

.feature-image-text-placeholder span {
    font-size: 14px;
    font-weight: 500;
}

/* Content */
.feature-image-text-content {
    padding: 20px 0;
}

.container h3.feature-image-text-title {
    font-size: 32px!important;
    font-weight: 700;
    color: #37556b;
    margin-bottom: 20px;
    line-height: 1.2!important;
    margin-top: 0!important;
}

.feature-image-text-description {
    font-size: 16px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 24px;
}

.feature-image-text-description p {
    margin-bottom: 12px!important;
    line-height: 1.6;!important;
    margin: inherit!important;

}

.feature-image-text-description p:last-child {
    margin-bottom: 0!important;
}

.feature-image-text-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
}

.feature-image-text-list-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
}

.feature-image-text-list-item:last-child {
    margin-bottom: 0;
}

.feature-image-text-list-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ea6463 0%, #f47776 100%);
    border-radius: 50%;
    color: white;
    font-size: 12px;
}

.feature-list-emoji {
    font-size: 14px;
    line-height: 1;
}

.feature-image-text-list-text {
    font-size: 15px;
    color: #555;
    line-height: 1.5;
    padding-top: 2px;
}

.feature-image-text-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    background: linear-gradient(135deg, #ea6463 0%, #f47776 100%);
    color: white;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(234, 100, 99, 0.3);
}

.feature-image-text-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(234, 100, 99, 0.4);
    color: white;
    text-decoration: none;
}

/* Responsive */
@media (max-width: 991px) {
    .feature-image-text-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .feature-image-text-reverse .feature-image-text-grid {
        direction: ltr;
    }

    .feature-image-text-media {
        order: -1;
    }

    .feature-image-text-title {
        font-size: 28px;
    }
}

@media (max-width: 576px) {
    .feature-image-text-title {
        font-size: 24px;
    }

    .feature-image-text-phone {
        width: 200px;
        height: 420px;
        border-radius: 28px;
        padding: 8px;
    }

    .feature-image-text-phone-notch {
        width: 80px;
        height: 20px;
    }

    .feature-image-text-phone-screen {
        border-radius: 22px;
    }
}
