* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 40px;
}

.header {
    text-align: center;
    margin-bottom: 40px;
}

.header h1 {
    font-size: 32px;
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: 700;
}

.subtitle {
    font-size: 16px;
    color: #7f8c8d;
}

.search-section {
    margin-bottom: 30px;
}

.search-box {
    width: 100%;
    padding: 14px 18px;
    font-size: 16px;
    border: 2px solid #ecf0f1;
    border-radius: 8px;
    outline: none;
    transition: all 0.3s ease;
}

.search-box:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.search-box::placeholder {
    color: #95a5a6;
}

.filters-section {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #ecf0f1;
}

.filter-group {
    margin-bottom: 20px;
}

.filter-group:last-child {
    margin-bottom: 0;
}

.filter-label {
    display: block;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 14px;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-btn {
    padding: 8px 16px;
    border: 2px solid #ecf0f1;
    background: white;
    color: #2c3e50;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
}

.filter-btn:hover {
    border-color: #3498db;
    color: #3498db;
    background-color: #f0f8ff;
}

.filter-btn.active {
    background: #3498db;
    color: white;
    border-color: #3498db;
}

.results-section {
    margin-top: 30px;
}

.result-count {
    font-size: 14px;
    color: #7f8c8d;
    margin-bottom: 20px;
    font-weight: 600;
}

.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.service-card {
    background: white;
    border: 1px solid #ecf0f1;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
    border-color: #3498db;
}

.service-card-title {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
}

.service-card-desc {
    font-size: 14px;
    color: #7f8c8d;
    margin-bottom: 15px;
    line-height: 1.6;
    flex-grow: 1;
}

.service-card-meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.meta-badge {
    display: inline-block;
    padding: 4px 10px;
    background: #ecf0f1;
    color: #2c3e50;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.meta-badge.category {
    background: #e8f4f8;
    color: #3498db;
}

.meta-badge.target {
    background: #f0e8f8;
    color: #9b59b6;
}

.service-link {
    display: inline-block;
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.3s ease;
    margin-top: auto;
}

.service-link:hover {
    color: #2980b9;
    text-decoration: underline;
}

.no-results {
    text-align: center;
    padding: 60px 20px;
    color: #95a5a6;
    font-size: 16px;
}

@media (max-width: 768px) {
    .container {
        padding: 20px;
    }

    .header h1 {
        font-size: 24px;
    }

    .header {
        margin-bottom: 30px;
    }

    .services-list {
        grid-template-columns: 1fr;
    }

    .filter-buttons {
        justify-content: flex-start;
    }

    .filter-btn {
        padding: 6px 12px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 15px;
        border-radius: 8px;
    }

    .header h1 {
        font-size: 20px;
    }

    .subtitle {
        font-size: 14px;
    }

    .search-box {
        padding: 12px 14px;
        font-size: 14px;
    }

    .service-card-title {
        font-size: 16px;
    }

    .service-card-desc {
        font-size: 13px;
    }
}
