/**
 * Home Page - Feature Showcases
 * Clean, modern, responsive grid
 */

.home-features-page {
    padding: 2rem 1rem;
    max-width: 1400px;
    margin: 0 auto;
    min-height: calc(100vh - 200px);
}

/* Header */
.features-header {
    text-align: center;
    margin-bottom: 3rem;
}

.features-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.features-title i {
    color: #667eea;
}

.features-subtitle {
    font-size: 1.1rem;
    color: #718096;
    margin: 0;
}

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

/* Feature Card */
.feature-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(102, 126, 234, 0.2);
    border-color: #667eea;
}

.feature-card:hover::before {
    transform: scaleY(1);
}

/* Header row with icon on left and arrow on right */
.feature-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

.feature-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(102, 126, 234, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.6;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.feature-card:hover .feature-arrow {
    opacity: 1;
    background: rgba(102, 126, 234, 0.2);
    transform: translateX(4px);
}

.feature-arrow i {
    color: #667eea;
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-arrow i {
    transform: translateX(2px);
}

.feature-content {
    flex: 1;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2d3748;
    margin: 0 0 0.75rem 0;
}

.feature-description {
    font-size: 0.9rem;
    color: #718096;
    line-height: 1.6;
    margin: 0;
}

/* Empty State */
.no-features {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    color: #a0aec0;
}

.no-features i {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: block;
}

.no-features p {
    font-size: 1.1rem;
    margin: 0;
}

/* Responsive */
@media (max-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .home-features-page {
        padding: 5px;
        margin: 0;
    }
    
    .features-header {
        margin-bottom: 5px;
        margin-top: 5px;
        margin-left: 0;
        margin-right: 0;
    }
    
    .features-title {
        font-size: 1.5rem;
        flex-direction: column;
        gap: 5px;
        margin-bottom: 5px;
        margin-top: 0;
        margin-left: 0;
        margin-right: 0;
    }
    
    .features-subtitle {
        font-size: 1rem;
        margin: 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 5px;
        margin: 5px 0;
    }
    
    .feature-card {
        padding: 1rem;
        margin: 0;
    }
    
    .feature-header-row {
        margin-bottom: 5px;
        margin-top: 0;
        margin-left: 0;
        margin-right: 0;
    }
    
    .feature-icon {
        width: 56px;
        height: 56px;
        margin: 0;
    }
    
    .feature-icon i {
        font-size: 1.75rem;
    }
    
    .feature-arrow {
        width: 36px;
        height: 36px;
        margin: 0;
    }
    
    .feature-arrow i {
        font-size: 1rem;
    }
    
    .feature-title {
        font-size: 1.1rem;
        margin: 0 0 5px 0;
    }
    
    .feature-description {
        font-size: 0.85rem;
        margin: 0;
    }
    
    .no-features {
        padding: 2rem 1rem;
        margin: 5px 0;
    }
    
    .no-features i {
        margin-bottom: 5px;
    }
    
    .no-features p {
        margin: 0;
    }
}
