/* features section styles */
.features_section {
    padding-top: 2.5rem;
    padding-right: 2rem;
    padding-bottom: 5rem;
    padding-left: 2rem;
    box-sizing: border-box;
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-bottom: 0;
    z-index: 2;
}

.features_content {
    max-width: var(--container-width);
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.features_intro {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.features_tagline {
    font-size: 1.2rem;
    color: var(--accent-color);
    font-weight: 500;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.features_heading {
    font-size: 2.5rem;
    color: var(--text_color);
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
    margin-top: 1rem;
}

.features_subheading {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    color: var(--text_color);
    line-height: 1.4;
}

.features_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature_card {
    background-color: rgba(17, 17, 17, 0.98);
    border-radius: 8px;
    padding: 2rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

[data-theme="light"] .feature_card {
    background-color: var(--block_background);
    box-shadow: var(--block_shadow);
}

.feature_card:hover {
    box-shadow: 0 8px 30px rgba(109, 58, 255, 0.15);
    border-color: rgba(109, 58, 255, 0.3);
}

.feature_icon {
    width: 50px;
    height: 50px;
    margin-bottom: 1.5rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

[data-theme="light"] .standard_icon {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(0);
}

.feature_icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--accent-color);
    opacity: 0.1;
    border-radius: 8px;
    transform: rotate(10deg);
}

.feature_title {
    font-size: 1.5rem;
    color: var(--text_color);
    margin-bottom: 1rem;
    font-weight: 600;
    margin-top: 10px;
}

.feature_description {
    color: var(--text_color);
    font-size: 1rem;
    line-height: 1.6;
    flex-grow: 1;
    margin-top: 8px;
    margin-bottom: 8px;
}

.feature_list {
    margin-top: 1rem;
    list-style: none;
    padding: 0;
}

.feature_list li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: flex-start;
}

.feature_list li::before {
    content: '•';
    color: var(--accent-color);
    margin-right: 0.5rem;
}

/* media queries for features section */
@media (max-width: 767px) {
    .features_section {
        padding-top: 10px;
    }

    .features_grid {
        grid-template-columns: 1fr;
    }
    
    .features_heading {
        font-size: 2rem;
    }

    .feature_card .feature_list {
        margin-bottom: 0;
    }

    .features_subheading {
        font-size: 18px;
        line-height: 160%;
    }
}
