/* Competitive Features Section Styles */

.competitive-features-section {
    padding: 60px 40px;
    animation: fadeIn 0.8s ease;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    /* Temporarily commented out for flex/grid main layout control if needed */
    /* display: flex; flex-direction: column; align-items: center; */
}

/* Header */
.comp-header-container {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.comp-header {
    background: linear-gradient(0deg, #1B8B61 0%, #2EF1A8 100%);
    /* Greenish gradient similar to ref */
    padding: 12px 50px;
    border-radius: 40px;
    font-size: 1.6rem;
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    text-align: center;
    min-width: 250px;
    color: white;
    font-family: 'Cairo', sans-serif;
}

/* Content Wrapper */
.comp-content-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

/* Features Card (Glassmorphism) */
.comp-features-card {
    flex: 1;
    background: #FFFFFF1A;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 30px;
    padding: 50px;
    /* backdrop-filter: blur(10px); */
    /* -webkit-backdrop-filter: blur(10px); */
    /* box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5); */
    position: relative;
}

.comp-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.comp-col {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Items */
.comp-item {
    display: flex;
    align-items: baseline;
    /* Align to right for RTL look */
    gap: 20px;
    /* text-align: right; */
}

/* Content Text */
.comp-item-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.comp-item-title {
    color: #2EF1A8;
    /* Neon Green */
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0;
    font-family: 'Cairo', sans-serif;
}

.comp-item-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    margin: 0;
    font-family: 'Cairo', sans-serif;
}

/* Radio Circle Icon */
.comp-item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.radio-circle {
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.radio-circle::after {
    content: '';
    width: 10px;
    height: 10px;
    background-color: white;
    border-radius: 50%;
    box-shadow: 0 0 8px white;
}

/* Image Wrapper */
.comp-image-wrapper {
    flex: 0.8;
    display: flex;
    justify-content: center;
    align-items: center;
}

.comp-main-image {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.6));
    border-radius: 20px;
    /* Slight radius if needed */
}

/* Responsive */
@media (max-width: 1024px) {
    .comp-content-wrapper {
        flex-direction: column-reverse;
        /* Image on top stacked or bottom? Let's check visually usually stacked */
        gap: 40px;
    }

    .comp-image-wrapper {
        flex: unset;
        width: 100%;
        max-width: 500px;
    }

    .comp-features-card {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .comp-features-grid {
        grid-template-columns: 1fr;
    }

    .comp-item {
        /* justify-content: center; */
        /* Center align on mobile */
        text-align: center;
        /* flex-direction: column-reverse; */
        /* Title/desc above icon? */
    }

    .comp-item-content {
        align-items: center;
    }

    .comp-header {
        font-size: 1.2rem;
        padding: 10px 30px;
    }

    .competitive-features-section {
        padding: 40px 20px;
    }
}

@media (max-width: 500px) {
    .comp-features-card {
        padding: 20px !important;
    }

    .competitive-features-section {
        padding: 40px 10px !important;
    }
}