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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    min-height: 100vh;
    color: #fff;
}

header {
    text-align: center;
    padding: 40px 20px;
}

header h1 {
    font-size: 2.5rem;
    font-weight: 300;
    letter-spacing: 8px;
    background: linear-gradient(90deg, #00d4ff, #7b2cbf);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

header p {
    margin-top: 10px;
    color: #888;
    font-size: 0.9rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.section {
    margin-bottom: 60px;
}

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

.section-title h2 {
    font-size: 1.5rem;
    font-weight: 300;
    color: #00d4ff;
    margin-bottom: 8px;
}

.section-title p {
    color: #666;
    font-size: 0.85rem;
}

.agent-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 35px;
    justify-items: center;
}

.agent-card {
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
    position: relative;
}

.agent-card:hover {
    transform: translateY(-10px);
}

.agent-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 15px;
    border: 3px solid;
    border-color: #00d4ff;
    position: relative;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
}

.agent-card.human .agent-avatar { border-color: #00d4ff; }
.agent-card.ai .agent-avatar { border-color: #ff6b6b; }
.agent-card.human:hover .agent-avatar { box-shadow: 0 0 30px rgba(0, 212, 255, 0.5); }
.agent-card.ai:hover .agent-avatar { box-shadow: 0 0 30px rgba(255, 107, 107, 0.5); }

.agent-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.agent-type-badge {
    position: absolute;
    top: 0;
    right: -5px;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.agent-card.human .agent-type-badge {
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    color: #fff;
}

.agent-card.ai .agent-type-badge {
    background: linear-gradient(135deg, #ff6b6b, #ee5a5a);
    color: #fff;
}

.agent-name {
    font-size: 0.95rem;
    color: #fff;
    margin-bottom: 5px;
    font-weight: 500;
}

.agent-role {
    font-size: 0.75rem;
    color: #888;
}

.agent-price {
    margin-top: 8px;
    font-size: 0.85rem;
    color: #00d4ff;
    font-weight: 600;
}

.filter-bar {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 20px;
    border-radius: 20px;
    border: 1px solid #333;
    background: transparent;
    color: #888;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.85rem;
}

.filter-btn:hover, .filter-btn.active {
    border-color: #00d4ff;
    color: #00d4ff;
    background: rgba(0, 212, 255, 0.1);
}

footer {
    text-align: center;
    padding: 40px 20px;
    color: #555;
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    header h1 {
        font-size: 1.8rem;
        letter-spacing: 4px;
    }

    .agent-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 25px;
    }

    .agent-avatar {
        width: 90px;
        height: 90px;
    }
}
