/* Feature CRMs Page Styles */

/* Hero Section */
.crm-hero {
    background: linear-gradient(135deg, #005a73 0%, #0077a0 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.crm-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.crm-hero .subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Hero Description Box */
.hero-description {
    max-width: 800px;
    margin: 1.5rem auto;
    padding: 1.5rem;
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.hero-description p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

/* Stats Section */
.crm-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    display: block;
    color: white;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Breadcrumb */
.breadcrumb {
    padding: 1rem 0;
    color: #666;
}

.breadcrumb a {
    color: #005a73;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Feature Info Box */
.feature-info-box {
    background: #f0f7ff;
    border: 1px solid #d0e5ff;
    border-radius: 8px;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
}

.feature-info-content {
    display: flex;
    align-items: start;
    gap: 1rem;
}

.feature-info-icon {
    font-size: 1.5rem;
    color: #005a73;
}

.feature-info-text h3 {
    margin: 0 0 0.5rem 0;
    color: #005a73;
    font-size: 1.1rem;
}

.feature-info-text p {
    margin: 0;
    color: #333;
    line-height: 1.6;
}

/* Filter Section */
.filter-section {
    background: #f8f9fa;
    padding: 2rem 0;
    margin-bottom: 3rem;
}

.filter-container {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.search-box {
    flex: 1;
    min-width: 250px;
    padding: 0.75rem 1.5rem;
    border: 2px solid #ddd;
    border-radius: 25px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.search-box:focus {
    outline: none;
    border-color: #005a73;
}

.filter-btn {
    padding: 0.5rem 1.5rem;
    border: 2px solid #005a73;
    background: white;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #005a73;
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background: #005a73;
    color: white;
}

/* CRM Grid */
.crm-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

/* CRM Cards */
.crm-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.crm-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.crm-header {
    padding: 1.5rem;
    background: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
}

.crm-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.crm-name {
    font-size: 1.25rem;
    font-weight: bold;
    color: #333;
    text-decoration: none;
}

.crm-name:hover {
    color: #005a73;
}

.crm-vendor {
    color: #666;
    font-size: 0.9rem;
}

.crm-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stars {
    color: #ffc107;
}

.rating-count {
    color: #666;
    font-size: 0.8rem;
}

.crm-body {
    padding: 1.5rem;
}

.crm-description {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.feature-highlight {
    background: #fff3cd;
    color: #856404;
    padding: 0.75rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.feature-highlight strong {
    color: #533f03;
}

.crm-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.feature-tag {
    background: #e9ecef;
    color: #495057;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.85rem;
}

.crm-footer {
    padding: 1.5rem;
    background: #f8f9fa;
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.crm-price {
    font-size: 1.25rem;
    font-weight: bold;
    color: #005a73;
}

.price-free {
    color: #28a745;
}

.btn-details {
    background: #005a73;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-details:hover {
    background: #004a5c;
    transform: translateY(-1px);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem;
}

.empty-state h3 {
    color: #666;
    margin-bottom: 1rem;
}

.empty-state p {
    margin-bottom: 2rem;
}

.suggestions-box {
    background: #f5f5f5;
    padding: 1.5rem;
    border-radius: 8px;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.suggestions-box h4 {
    margin: 0 0 0.5rem 0;
}

.suggestions-box p {
    margin: 0;
}

.suggestion-tags {
    margin-top: 1rem;
}

.suggestion-tag {
    margin: 0.25rem;
    display: inline-block;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* Badges */
.badge-featured {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ffc107;
    color: #333;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
}

.badge-partner {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #28a745;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .crm-hero h1 {
        font-size: 2rem;
    }
    
    .crm-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .filter-container {
        flex-direction: column;
        width: 100%;
    }
    
    .search-box {
        width: 100%;
    }
    
    .crm-grid {
        grid-template-columns: 1fr;
    }
    
    .crm-footer {
        flex-direction: column;
        gap: 1rem;
    }
}