/* Features Page Specific Styles */

.features-hero {
    background: linear-gradient(135deg, var(--alvyo-light) 0%, #ffffff 100%);
    padding-top: 120px;
    margin-bottom: 2rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--alvyo-primary);
    position: relative;
    padding-bottom: 1rem;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--alvyo-primary);
    border-radius: 2px;
}

.feature-card {
    background: #fff;
    border-radius: 15px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.08);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border-color: var(--alvyo-primary);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--alvyo-primary);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--alvyo-dark);
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
}

.feature-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--alvyo-secondary);
}

.feature-list li:before {
    content: '✓';
    color: var(--alvyo-primary);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.features-cta {
    background: linear-gradient(135deg, var(--alvyo-primary) 0%, #1745c0 100%);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .features-hero {
        padding-top: 80px;
    }

    .section-title {
        font-size: 2rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

/* Animation Classes */
.feature-card {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Side Navigation Styles */
.features-nav {
    position: sticky;
    top: 100px; /* Adjust based on header height */
    height: calc(100vh - 100px);
    overflow-y: auto;
}

.features-nav-wrapper {
    padding: 1rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.features-nav .nav-link {
    color: var(--alvyo-dark);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.features-nav .nav-link:hover {
    background: rgba(28, 80, 216, 0.05);
    color: var(--alvyo-primary);
}

.features-nav .nav-link.active {
    background: var(--alvyo-primary);
    color: #fff;
}

/* Feature Sections */
.feature-section {
    padding: 2rem 0;
    margin-bottom: 3rem;
}

.feature-section:not(:last-child) {
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .features-nav {
        position: relative;
        top: 0;
        height: auto;
        margin-bottom: 2rem;
    }

    .features-nav-wrapper {
        padding: 1rem;
    }

    .features-nav .nav {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 1rem;
    }

    .features-nav .nav-item {
        flex: 0 0 auto;
        margin-right: 0.5rem;
    }
}


/* Stagger animation delay for feature cards */
.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
