/**
 * Features Section Block Styles
 *
 * @package NeoFinances
 */

.neo-features-section {
    background-color: var(--neo-white);
}

/* Gradient background variant */
.neo-features-section.neo-section-gradient {
    background: var(--neo-gradient-hero);
}

.neo-features-section .neo-section-header {
    max-width: 56rem;
    margin: 0 auto 4rem;
}

.neo-features-section .neo-section-title {
    font-size: var(--neo-font-size-3xl);
    font-weight: 700;
    color: var(--neo-primary-dark);
    margin-bottom: 1.5rem;
    text-align: center;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .neo-features-section .neo-section-title {
        font-size: var(--neo-font-size-4xl);
    }
}

@media (min-width: 1024px) {
    .neo-features-section .neo-section-title {
        font-size: var(--neo-font-size-5xl);
    }
}

/* White text on gradient */
.neo-features-section.neo-section-gradient .neo-section-title,
.neo-features-section .neo-section-title.text-white {
    color: var(--neo-white);
}

.neo-features-section .neo-section-subtitle {
    font-size: var(--neo-font-size-lg);
    color: var(--neo-text-muted);
    max-width: 48rem;
    margin: 0 auto;
    text-align: center;
    line-height: 1.7;
}

/* White text on gradient */
.neo-features-section.neo-section-gradient .neo-section-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

/* Features Grid - 2 columns max like Next.js */
.neo-features-grid {
    display: grid;
    gap: 2rem;
    max-width: 64rem;
    margin: 0 auto 2rem;
}

@media (min-width: 768px) {
    .neo-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Feature Card */
.neo-feature-card {
    background-color: var(--neo-white);
    border-radius: var(--neo-radius-2xl);
    padding: 2rem;
    box-shadow: var(--neo-shadow-xl);
    transition: all 0.3s ease;
}

.neo-feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--neo-shadow-2xl);
}

/* Icon - gradient background like Next.js */
.neo-feature-icon {
    width: 4rem;
    height: 4rem;
    border-radius: var(--neo-radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.neo-feature-icon .neo-icon {
    width: 2rem;
    height: 2rem;
    color: var(--neo-white);
}

/* Icon style variants with gradients */
.neo-feature-icon-blue {
    background: linear-gradient(to bottom right, #51b3da, #bceff5);
}

.neo-feature-icon-green {
    background: linear-gradient(to bottom right, #51b3da, #4facba);
}

.neo-feature-icon-orange {
    background: linear-gradient(to bottom right, #f97316, #fbbf24);
}

.neo-feature-icon-purple {
    background: linear-gradient(to bottom right, #8b5cf6, #a78bfa);
}

/* Title */
.neo-feature-card .neo-feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #295980 !important;
    margin-bottom: 1rem;
}

/* Description */
.neo-feature-card .neo-feature-description {
    font-size: 1rem;
    color: #295980 !important;
    line-height: 1.7;
    margin: 0;
}

/* CTA */
.neo-section-cta {
    text-align: center;
    margin-top: 3rem;
}

.neo-features-cta {
    text-align: center;
    margin-top: 3rem;
}
