/* Features Page Styles */
.features-page-hero {
    padding: 120px 0 60px;
    background: linear-gradient(to bottom right, rgba(13, 11, 157, 0.05), rgba(67, 97, 238, 0.05));
    position: relative;
    overflow: hidden;
}

.features-page-hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(67, 97, 238, 0.1), rgba(58, 191, 248, 0.1));
    filter: blur(60px);
    z-index: 0;
}

.features-page-hero h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
}

.features-page-hero p {
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
    position: relative;
    z-index: 1;
}

/* Features section adjustments */
.features-section {
    padding: 80px 0;
    position: relative;
}

.features-section:nth-child(even) {
    background-color: #f8f9fe;
}

.features-section:nth-child(odd) {
    background-color: #ffffff;
}

/* Features grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-item {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(67, 97, 238, 0.08);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.feature-icon-large {
    width: 70px;
    height: 70px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    background-color: rgba(13, 11, 157, 0.06);
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon-large {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.feature-item h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.feature-item p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Feature highlight section */
.feature-highlight {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.feature-highlight-image {
    position: relative;
}

.feature-highlight-image img {
    max-width: 100%;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-highlight-content h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 24px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-highlight-content p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.6;
}

.feature-bullet {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.bullet-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    flex-shrink: 0;
}

.bullet-content h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.bullet-content p {
    font-size: 16px;
    margin-bottom: 0;
}

/* CTA section */
.features-cta-section {
    padding: 80px 0;
    background: linear-gradient(to right, rgba(13, 11, 157, 0.02), rgba(67, 97, 238, 0.05));
    position: relative;
}

.cta-box {
    background: white;
    border-radius: 24px;
    padding: 60px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-color), var(--tertiary-color));
    border-radius: 24px 24px 0 0;
}

.cta-box h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-box p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.cta-button {
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    display: inline-block;
}

.cta-button:first-child {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 10px 20px rgba(67, 97, 238, 0.2);
}

.cta-button.secondary {
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    border: 1px solid rgba(67, 97, 238, 0.2);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(67, 97, 238, 0.25);
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .feature-highlight {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .feature-highlight-image {
        order: 2;
    }
    
    .feature-highlight-content {
        order: 1;
    }
    
    .cta-box {
        padding: 40px 30px;
    }
}

@media (max-width: 768px) {
    .features-page-hero {
        padding: 100px 0 50px;
    }
    
    .features-page-hero h1 {
        font-size: 36px;
    }
    
    .features-page-hero p {
        font-size: 18px;
    }
    
    .feature-highlight-content h2 {
        font-size: 28px;
    }
    
    .cta-box h2 {
        font-size: 28px;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .features-page-hero h1 {
        font-size: 32px;
    }
    
    .feature-item {
        padding: 24px;
    }
    
    .cta-box {
        padding: 30px 20px;
    }
}